12345678910 |
- import{a as al,aH as ll,aB as sl,r as J,_ as et,f as ri,q as dl,W as ul,w as cl,aj as je,at as fl,c as X,o as j,b as l,S as f,K as b,P as M,Q as ie,u as ye,M as Ve,J as Ce,R as We,a9 as He,L as Bo,G as xt,T as Ji,Y as vl,F as pl,a7 as Wi}from"./vue.D1BjjNmv.js";import{b as ml,C as gl,U as It}from"./api.C1hncXp-.js";import{r as tt,a3 as hl,g as yl,a4 as bl,c as Sl,E as V,X as pt,U as fn,a5 as El,a6 as Hi,Y as Yi,a7 as ai,a8 as xl,a9 as Xi,Z as Zi}from"./index.CPl_s255.js";import{g as Il}from"./pcaData.5HEg6BqW.js";import Cl from"./QuestionBankForm.BMWfBVjZ.js";import{A as Al}from"./api.Caev0pf1.js";import{_ as wl}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.CfqO4x61.js";import"./BlankAnswerEditor.C4I2efc6.js";const qi="/assets/sheng.BKW1Im68.png",Ol="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";function Tl(a){return tt({url:"/api/system/competency/list",method:"get",params:{...a,tenant_id:1}})}function so(a){return tt({url:"/api/system/interview_question/list",method:"get",params:{...a,tenant_id:1}})}function Dl(a){return tt({url:"/api/system/interview_question/ai_generated",method:"post",data:{...a,tenant_id:1},timeout:0})}function _i(a){return tt({url:"/api/system/interview_question/draft_list",method:"get",params:{...a,tenant_id:1}})}function Pl(a){return tt({url:"/api/system/interview_question/confirm_draft",method:"post",data:{...a,tenant_id:1},timeout:0})}function Rl(a){return tt({url:"/api/system/digital_human/",method:"get",params:{...a,tenant_id:1}})}function li(a){return tt({url:"/api/system/job_config/list",method:"post",data:{...a,tenant_id:1}})}function kt(a){return tt({url:`/api/system/job_config/detail/${a.id}`,method:"put",data:{...a,tenant_id:1}})}function Vn(a){return tt({url:`/api/system/job_config/position/detail/${a}`,method:"get"})}function er(a){return tt({url:"api/system/job/add_question",method:"post",data:{...a,tenant_id:"1"}})}function si(a){return tt({url:"/api/system/digital_human/generate_opening_video",method:"post",data:{...a,tenant_id:"1"},timeout:0})}function tr(a){return tt({url:"/api/system/digital_human/generate_question_videos",method:"post",data:{...a,tenant_id:"1",force_regenerate:!0},timeout:0})}function Vl(a){return tt({url:"/api/system/job/batch_delete_questions",method:"post",data:{...a,tenant_id:"1"}})}function nr(a){return tt({url:"/competency/generate_from_position/",method:"post",data:{...a,tenant_id:"1"},timeout:0})}function Ul(a){return tt({url:"/competency/save_position_tags/",method:"post",data:{...a,tenant_id:"1"}})}function Kl(a){return tt({url:"/api/system/competency/list",method:"get",params:{...a,tenant_id:"1"}})}function Ml(a){return tt({url:"/api/system/job/questions",method:"get",params:{...a,tenant_id:1}})}function Bl(a){return tt({url:"/api/system/competency/create",method:"post",data:{...a,tenant_id:1}})}function kl(a){return tt({url:"/api/system/competency/batch_bind",method:"post",data:{...a,tenant_id:1}})}var gr={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function or(a,i){var o=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);i&&(d=d.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),o.push.apply(o,d)}return o}function Nt(a){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{};i%2?or(Object(o),!0).forEach(function(d){jl(a,d,o[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):or(Object(o)).forEach(function(d){Object.defineProperty(a,d,Object.getOwnPropertyDescriptor(o,d))})}return a}function zo(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?zo=function(i){return typeof i}:zo=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},zo(a)}function jl(a,i,o){return i in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}function Dt(){return Dt=Object.assign||function(a){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(a[d]=o[d])}return a},Dt.apply(this,arguments)}function Nl(a,i){if(a==null)return{};var o={},d=Object.keys(a),n,c;for(c=0;c<d.length;c++)n=d[c],!(i.indexOf(n)>=0)&&(o[n]=a[n]);return o}function Fl(a,i){if(a==null)return{};var o=Nl(a,i),d,n;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);for(n=0;n<c.length;n++)d=c[n],!(i.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(a,d)&&(o[d]=a[d])}return o}function Ll(a){return Ql(a)||zl(a)||Gl(a)||$l()}function Ql(a){if(Array.isArray(a))return bi(a)}function zl(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function Gl(a,i){if(a){if(typeof a=="string")return bi(a,i);var o=Object.prototype.toString.call(a).slice(8,-1);if(o==="Object"&&a.constructor&&(o=a.constructor.name),o==="Map"||o==="Set")return Array.from(a);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return bi(a,i)}}function bi(a,i){(i==null||i>a.length)&&(i=a.length);for(var o=0,d=new Array(i);o<i;o++)d[o]=a[o];return d}function $l(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Jl="1.14.0";function zt(a){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(a)}var Gt=zt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),xo=zt(/Edge/i),ir=zt(/firefox/i),ho=zt(/safari/i)&&!zt(/chrome/i)&&!zt(/android/i),hr=zt(/iP(ad|od|hone)/i),Wl=zt(/chrome/i)&&zt(/android/i),yr={capture:!1,passive:!1};function be(a,i,o){a.addEventListener(i,o,!Gt&&yr)}function ge(a,i,o){a.removeEventListener(i,o,!Gt&&yr)}function Ho(a,i){if(i){if(i[0]===">"&&(i=i.substring(1)),a)try{if(a.matches)return a.matches(i);if(a.msMatchesSelector)return a.msMatchesSelector(i);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(i)}catch{return!1}return!1}}function Hl(a){return a.host&&a!==document&&a.host.nodeType?a.host:a.parentNode}function Kt(a,i,o,d){if(a){o=o||document;do{if(i!=null&&(i[0]===">"?a.parentNode===o&&Ho(a,i):Ho(a,i))||d&&a===o)return a;if(a===o)break}while(a=Hl(a))}return null}var rr=/\s+/g;function Qe(a,i,o){if(a&&i)if(a.classList)a.classList[o?"add":"remove"](i);else{var d=(" "+a.className+" ").replace(rr," ").replace(" "+i+" "," ");a.className=(d+(o?" "+i:"")).replace(rr," ")}}function te(a,i,o){var d=a&&a.style;if(d){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(a,""):a.currentStyle&&(o=a.currentStyle),i===void 0?o:o[i];!(i in d)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),d[i]=o+(typeof o=="string"?"":"px")}}function gn(a,i){var o="";if(typeof a=="string")o=a;else do{var d=te(a,"transform");d&&d!=="none"&&(o=d+" "+o)}while(!i&&(a=a.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function br(a,i,o){if(a){var d=a.getElementsByTagName(i),n=0,c=d.length;if(o)for(;n<c;n++)o(d[n],n);return d}return[]}function jt(){var a=document.scrollingElement;return a||document.documentElement}function Fe(a,i,o,d,n){if(!(!a.getBoundingClientRect&&a!==window)){var c,t,r,s,u,m,g;if(a!==window&&a.parentNode&&a!==jt()?(c=a.getBoundingClientRect(),t=c.top,r=c.left,s=c.bottom,u=c.right,m=c.height,g=c.width):(t=0,r=0,s=window.innerHeight,u=window.innerWidth,m=window.innerHeight,g=window.innerWidth),(i||o)&&a!==window&&(n=n||a.parentNode,!Gt))do if(n&&n.getBoundingClientRect&&(te(n,"transform")!=="none"||o&&te(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(te(n,"border-top-width")),r-=h.left+parseInt(te(n,"border-left-width")),s=t+c.height,u=r+c.width;break}while(n=n.parentNode);if(d&&a!==window){var y=gn(n||a),S=y&&y.a,E=y&&y.d;y&&(t/=E,r/=S,g/=S,m/=E,s=t+m,u=r+g)}return{top:t,left:r,bottom:s,right:u,width:g,height:m}}}function ar(a,i,o){for(var d=nn(a,!0),n=Fe(a)[i];d;){var c=Fe(d)[o],t=void 0;if(t=n>=c,!t)return d;if(d===jt())break;d=nn(d,!1)}return!1}function jn(a,i,o,d){for(var n=0,c=0,t=a.children;c<t.length;){if(t[c].style.display!=="none"&&t[c]!==de.ghost&&(d||t[c]!==de.dragged)&&Kt(t[c],o.draggable,a,!1)){if(n===i)return t[c];n++}c++}return null}function Ci(a,i){for(var o=a.lastElementChild;o&&(o===de.ghost||te(o,"display")==="none"||i&&!Ho(o,i));)o=o.previousElementSibling;return o||null}function $e(a,i){var o=0;if(!a||!a.parentNode)return-1;for(;a=a.previousElementSibling;)a.nodeName.toUpperCase()!=="TEMPLATE"&&a!==de.clone&&(!i||Ho(a,i))&&o++;return o}function lr(a){var i=0,o=0,d=jt();if(a)do{var n=gn(a),c=n.a,t=n.d;i+=a.scrollLeft*c,o+=a.scrollTop*t}while(a!==d&&(a=a.parentNode));return[i,o]}function Yl(a,i){for(var o in a)if(a.hasOwnProperty(o)){for(var d in i)if(i.hasOwnProperty(d)&&i[d]===a[o][d])return Number(o)}return-1}function nn(a,i){if(!a||!a.getBoundingClientRect)return jt();var o=a,d=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=te(o);if(o.clientWidth<o.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return jt();if(d||i)return o;d=!0}}while(o=o.parentNode);return jt()}function Xl(a,i){if(a&&i)for(var o in i)i.hasOwnProperty(o)&&(a[o]=i[o]);return a}function di(a,i){return Math.round(a.top)===Math.round(i.top)&&Math.round(a.left)===Math.round(i.left)&&Math.round(a.height)===Math.round(i.height)&&Math.round(a.width)===Math.round(i.width)}var yo;function Sr(a,i){return function(){if(!yo){var o=arguments,d=this;o.length===1?a.call(d,o[0]):a.apply(d,o),yo=setTimeout(function(){yo=void 0},i)}}}function Zl(){clearTimeout(yo),yo=void 0}function Er(a,i,o){a.scrollLeft+=i,a.scrollTop+=o}function Ai(a){var i=window.Polymer,o=window.jQuery||window.Zepto;return i&&i.dom?i.dom(a).cloneNode(!0):o?o(a).clone(!0)[0]:a.cloneNode(!0)}function sr(a,i){te(a,"position","absolute"),te(a,"top",i.top),te(a,"left",i.left),te(a,"width",i.width),te(a,"height",i.height)}function ui(a){te(a,"position",""),te(a,"top",""),te(a,"left",""),te(a,"width",""),te(a,"height","")}var ft="Sortable"+new Date().getTime();function ql(){var a=[],i;return{captureAnimationState:function(){if(a=[],!!this.options.animation){var d=[].slice.call(this.el.children);d.forEach(function(n){if(!(te(n,"display")==="none"||n===de.ghost)){a.push({target:n,rect:Fe(n)});var c=Nt({},a[a.length-1].rect);if(n.thisAnimationDuration){var t=gn(n,!0);t&&(c.top-=t.f,c.left-=t.e)}n.fromRect=c}})}},addAnimationState:function(d){a.push(d)},removeAnimationState:function(d){a.splice(Yl(a,{target:d}),1)},animateAll:function(d){var n=this;if(!this.options.animation){clearTimeout(i),typeof d=="function"&&d();return}var c=!1,t=0;a.forEach(function(r){var s=0,u=r.target,m=u.fromRect,g=Fe(u),h=u.prevFromRect,y=u.prevToRect,S=r.rect,E=gn(u,!0);E&&(g.top-=E.f,g.left-=E.e),u.toRect=g,u.thisAnimationDuration&&di(h,g)&&!di(m,g)&&(S.top-g.top)/(S.left-g.left)===(m.top-g.top)/(m.left-g.left)&&(s=es(S,h,y,n.options)),di(g,m)||(u.prevFromRect=m,u.prevToRect=g,s||(s=n.options.animation),n.animate(u,S,g,s)),s&&(c=!0,t=Math.max(t,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(i),c?i=setTimeout(function(){typeof d=="function"&&d()},t):typeof d=="function"&&d(),a=[]},animate:function(d,n,c,t){if(t){te(d,"transition",""),te(d,"transform","");var r=gn(this.el),s=r&&r.a,u=r&&r.d,m=(n.left-c.left)/(s||1),g=(n.top-c.top)/(u||1);d.animatingX=!!m,d.animatingY=!!g,te(d,"transform","translate3d("+m+"px,"+g+"px,0)"),this.forRepaintDummy=_l(d),te(d,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),te(d,"transform","translate3d(0,0,0)"),typeof d.animated=="number"&&clearTimeout(d.animated),d.animated=setTimeout(function(){te(d,"transition",""),te(d,"transform",""),d.animated=!1,d.animatingX=!1,d.animatingY=!1},t)}}}}function _l(a){return a.offsetWidth}function es(a,i,o,d){return Math.sqrt(Math.pow(i.top-a.top,2)+Math.pow(i.left-a.left,2))/Math.sqrt(Math.pow(i.top-o.top,2)+Math.pow(i.left-o.left,2))*d.animation}var Un=[],ci={initializeByDefault:!0},Io={mount:function(i){for(var o in ci)ci.hasOwnProperty(o)&&!(o in i)&&(i[o]=ci[o]);Un.forEach(function(d){if(d.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),Un.push(i)},pluginEvent:function(i,o,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var c=i+"Global";Un.forEach(function(t){o[t.pluginName]&&(o[t.pluginName][c]&&o[t.pluginName][c](Nt({sortable:o},d)),o.options[t.pluginName]&&o[t.pluginName][i]&&o[t.pluginName][i](Nt({sortable:o},d)))})},initializePlugins:function(i,o,d,n){Un.forEach(function(r){var s=r.pluginName;if(!(!i.options[s]&&!r.initializeByDefault)){var u=new r(i,o,i.options);u.sortable=i,u.options=i.options,i[s]=u,Dt(d,u.defaults)}});for(var c in i.options)if(i.options.hasOwnProperty(c)){var t=this.modifyOption(i,c,i.options[c]);typeof t<"u"&&(i.options[c]=t)}},getEventProperties:function(i,o){var d={};return Un.forEach(function(n){typeof n.eventProperties=="function"&&Dt(d,n.eventProperties.call(o[n.pluginName],i))}),d},modifyOption:function(i,o,d){var n;return Un.forEach(function(c){i[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[o]=="function"&&(n=c.optionListeners[o].call(i[c.pluginName],d))}),n}};function vo(a){var i=a.sortable,o=a.rootEl,d=a.name,n=a.targetEl,c=a.cloneEl,t=a.toEl,r=a.fromEl,s=a.oldIndex,u=a.newIndex,m=a.oldDraggableIndex,g=a.newDraggableIndex,h=a.originalEvent,y=a.putSortable,S=a.extraEventProperties;if(i=i||o&&o[ft],!!i){var E,x=i.options,O="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!Gt&&!xo?E=new CustomEvent(d,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(d,!0,!0)),E.to=t||o,E.from=r||o,E.item=n||o,E.clone=c,E.oldIndex=s,E.newIndex=u,E.oldDraggableIndex=m,E.newDraggableIndex=g,E.originalEvent=h,E.pullMode=y?y.lastPutMode:void 0;var A=Nt(Nt({},S),Io.getEventProperties(d,i));for(var P in A)E[P]=A[P];o&&o.dispatchEvent(E),x[O]&&x[O].call(i,E)}}var ts=["evt"],bt=function(i,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,c=Fl(d,ts);Io.pluginEvent.bind(de)(i,o,Nt({dragEl:W,parentEl:ze,ghostEl:pe,rootEl:Ne,nextEl:mn,lastDownEl:Go,cloneEl:Ge,cloneHidden:tn,dragStarted:po,putSortable:lt,activeSortable:de.active,originalEvent:n,oldIndex:kn,oldDraggableIndex:bo,newIndex:At,newDraggableIndex:en,hideGhostForTarget:Ar,unhideGhostForTarget:wr,cloneNowHidden:function(){tn=!0},cloneNowShown:function(){tn=!1},dispatchSortableEvent:function(r){mt({sortable:o,name:r,originalEvent:n})}},c))};function mt(a){vo(Nt({putSortable:lt,cloneEl:Ge,targetEl:W,rootEl:Ne,oldIndex:kn,oldDraggableIndex:bo,newIndex:At,newDraggableIndex:en},a))}var W,ze,pe,Ne,mn,Go,Ge,tn,kn,At,bo,en,ko,lt,Bn=!1,Yo=!1,Xo=[],vn,Vt,fi,vi,dr,ur,po,Kn,So,Eo=!1,jo=!1,$o,ct,pi=[],Si=!1,Zo=[],_o=typeof document<"u",No=hr,cr=xo||Gt?"cssFloat":"float",ns=_o&&!Wl&&!hr&&"draggable"in document.createElement("div"),xr=function(){if(_o){if(Gt)return!1;var a=document.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"}}(),Ir=function(i,o){var d=te(i),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),c=jn(i,0,o),t=jn(i,1,o),r=c&&te(c),s=t&&te(t),u=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+Fe(c).width,m=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+Fe(t).width;if(d.display==="flex")return d.flexDirection==="column"||d.flexDirection==="column-reverse"?"vertical":"horizontal";if(d.display==="grid")return d.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&r.float&&r.float!=="none"){var g=r.float==="left"?"left":"right";return t&&(s.clear==="both"||s.clear===g)?"vertical":"horizontal"}return c&&(r.display==="block"||r.display==="flex"||r.display==="table"||r.display==="grid"||u>=n&&d[cr]==="none"||t&&d[cr]==="none"&&u+m>n)?"vertical":"horizontal"},os=function(i,o,d){var n=d?i.left:i.top,c=d?i.right:i.bottom,t=d?i.width:i.height,r=d?o.left:o.top,s=d?o.right:o.bottom,u=d?o.width:o.height;return n===r||c===s||n+t/2===r+u/2},is=function(i,o){var d;return Xo.some(function(n){var c=n[ft].options.emptyInsertThreshold;if(!(!c||Ci(n))){var t=Fe(n),r=i>=t.left-c&&i<=t.right+c,s=o>=t.top-c&&o<=t.bottom+c;if(r&&s)return d=n}}),d},Cr=function(i){function o(c,t){return function(r,s,u,m){var g=r.options.group.name&&s.options.group.name&&r.options.group.name===s.options.group.name;if(c==null&&(t||g))return!0;if(c==null||c===!1)return!1;if(t&&c==="clone")return c;if(typeof c=="function")return o(c(r,s,u,m),t)(r,s,u,m);var h=(t?r:s).options.group.name;return c===!0||typeof c=="string"&&c===h||c.join&&c.indexOf(h)>-1}}var d={},n=i.group;(!n||zo(n)!="object")&&(n={name:n}),d.name=n.name,d.checkPull=o(n.pull,!0),d.checkPut=o(n.put),d.revertClone=n.revertClone,i.group=d},Ar=function(){!xr&&pe&&te(pe,"display","none")},wr=function(){!xr&&pe&&te(pe,"display","")};_o&&document.addEventListener("click",function(a){if(Yo)return a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.stopImmediatePropagation&&a.stopImmediatePropagation(),Yo=!1,!1},!0);var pn=function(i){if(W){i=i.touches?i.touches[0]:i;var o=is(i.clientX,i.clientY);if(o){var d={};for(var n in i)i.hasOwnProperty(n)&&(d[n]=i[n]);d.target=d.rootEl=o,d.preventDefault=void 0,d.stopPropagation=void 0,o[ft]._onDragOver(d)}}},rs=function(i){W&&W.parentNode[ft]._isOutsideThisEl(i.target)};function de(a,i){if(!(a&&a.nodeType&&a.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(a));this.el=a,this.options=i=Dt({},i),a[ft]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(a.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ir(a,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,r){t.setData("Text",r.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:de.supportPointer!==!1&&"PointerEvent"in window&&!ho,emptyInsertThreshold:5};Io.initializePlugins(this,a,o);for(var d in o)!(d in i)&&(i[d]=o[d]);Cr(i);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=i.forceFallback?!1:ns,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?be(a,"pointerdown",this._onTapStart):(be(a,"mousedown",this._onTapStart),be(a,"touchstart",this._onTapStart)),this.nativeDraggable&&(be(a,"dragover",this),be(a,"dragenter",this)),Xo.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),Dt(this,ql())}de.prototype={constructor:de,_isOutsideThisEl:function(i){!this.el.contains(i)&&i!==this.el&&(Kn=null)},_getDirection:function(i,o){return typeof this.options.direction=="function"?this.options.direction.call(this,i,o,W):this.options.direction},_onTapStart:function(i){if(i.cancelable){var o=this,d=this.el,n=this.options,c=n.preventOnFilter,t=i.type,r=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,s=(r||i).target,u=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||s,m=n.filter;if(vs(d),!W&&!(/mousedown|pointerdown/.test(t)&&i.button!==0||n.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&ho&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=Kt(s,n.draggable,d,!1),!(s&&s.animated)&&Go!==s)){if(kn=$e(s),bo=$e(s,n.draggable),typeof m=="function"){if(m.call(this,i,s,this)){mt({sortable:o,rootEl:u,name:"filter",targetEl:s,toEl:d,fromEl:d}),bt("filter",o,{evt:i}),c&&i.cancelable&&i.preventDefault();return}}else if(m&&(m=m.split(",").some(function(g){if(g=Kt(u,g.trim(),d,!1),g)return mt({sortable:o,rootEl:g,name:"filter",targetEl:s,fromEl:d,toEl:d}),bt("filter",o,{evt:i}),!0}),m)){c&&i.cancelable&&i.preventDefault();return}n.handle&&!Kt(u,n.handle,d,!1)||this._prepareDragStart(i,r,s)}}},_prepareDragStart:function(i,o,d){var n=this,c=n.el,t=n.options,r=c.ownerDocument,s;if(d&&!W&&d.parentNode===c){var u=Fe(d);if(Ne=c,W=d,ze=W.parentNode,mn=W.nextSibling,Go=d,ko=t.group,de.dragged=W,vn={target:W,clientX:(o||i).clientX,clientY:(o||i).clientY},dr=vn.clientX-u.left,ur=vn.clientY-u.top,this._lastX=(o||i).clientX,this._lastY=(o||i).clientY,W.style["will-change"]="all",s=function(){if(bt("delayEnded",n,{evt:i}),de.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!ir&&n.nativeDraggable&&(W.draggable=!0),n._triggerDragStart(i,o),mt({sortable:n,name:"choose",originalEvent:i}),Qe(W,t.chosenClass,!0)},t.ignore.split(",").forEach(function(m){br(W,m.trim(),mi)}),be(r,"dragover",pn),be(r,"mousemove",pn),be(r,"touchmove",pn),be(r,"mouseup",n._onDrop),be(r,"touchend",n._onDrop),be(r,"touchcancel",n._onDrop),ir&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),bt("delayStart",this,{evt:i}),t.delay&&(!t.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(xo||Gt))){if(de.eventCanceled){this._onDrop();return}be(r,"mouseup",n._disableDelayedDrag),be(r,"touchend",n._disableDelayedDrag),be(r,"touchcancel",n._disableDelayedDrag),be(r,"mousemove",n._delayedDragTouchMoveHandler),be(r,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&be(r,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(s,t.delay)}else s()}},_delayedDragTouchMoveHandler:function(i){var o=i.touches?i.touches[0]:i;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){W&&mi(W),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;ge(i,"mouseup",this._disableDelayedDrag),ge(i,"touchend",this._disableDelayedDrag),ge(i,"touchcancel",this._disableDelayedDrag),ge(i,"mousemove",this._delayedDragTouchMoveHandler),ge(i,"touchmove",this._delayedDragTouchMoveHandler),ge(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,o){o=o||i.pointerType=="touch"&&i,!this.nativeDraggable||o?this.options.supportPointer?be(document,"pointermove",this._onTouchMove):o?be(document,"touchmove",this._onTouchMove):be(document,"mousemove",this._onTouchMove):(be(W,"dragend",this),be(Ne,"dragstart",this._onDragStart));try{document.selection?Jo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,o){if(Bn=!1,Ne&&W){bt("dragStarted",this,{evt:o}),this.nativeDraggable&&be(document,"dragover",rs);var d=this.options;!i&&Qe(W,d.dragClass,!1),Qe(W,d.ghostClass,!0),de.active=this,i&&this._appendGhost(),mt({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Vt){this._lastX=Vt.clientX,this._lastY=Vt.clientY,Ar();for(var i=document.elementFromPoint(Vt.clientX,Vt.clientY),o=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(Vt.clientX,Vt.clientY),i!==o);)o=i;if(W.parentNode[ft]._isOutsideThisEl(i),o)do{if(o[ft]){var d=void 0;if(d=o[ft]._onDragOver({clientX:Vt.clientX,clientY:Vt.clientY,target:i,rootEl:o}),d&&!this.options.dragoverBubble)break}i=o}while(o=o.parentNode);wr()}},_onTouchMove:function(i){if(vn){var o=this.options,d=o.fallbackTolerance,n=o.fallbackOffset,c=i.touches?i.touches[0]:i,t=pe&&gn(pe,!0),r=pe&&t&&t.a,s=pe&&t&&t.d,u=No&&ct&&lr(ct),m=(c.clientX-vn.clientX+n.x)/(r||1)+(u?u[0]-pi[0]:0)/(r||1),g=(c.clientY-vn.clientY+n.y)/(s||1)+(u?u[1]-pi[1]:0)/(s||1);if(!de.active&&!Bn){if(d&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<d)return;this._onDragStart(i,!0)}if(pe){t?(t.e+=m-(fi||0),t.f+=g-(vi||0)):t={a:1,b:0,c:0,d:1,e:m,f:g};var h="matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.e,",").concat(t.f,")");te(pe,"webkitTransform",h),te(pe,"mozTransform",h),te(pe,"msTransform",h),te(pe,"transform",h),fi=m,vi=g,Vt=c}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!pe){var i=this.options.fallbackOnBody?document.body:Ne,o=Fe(W,!0,No,!0,i),d=this.options;if(No){for(ct=i;te(ct,"position")==="static"&&te(ct,"transform")==="none"&&ct!==document;)ct=ct.parentNode;ct!==document.body&&ct!==document.documentElement?(ct===document&&(ct=jt()),o.top+=ct.scrollTop,o.left+=ct.scrollLeft):ct=jt(),pi=lr(ct)}pe=W.cloneNode(!0),Qe(pe,d.ghostClass,!1),Qe(pe,d.fallbackClass,!0),Qe(pe,d.dragClass,!0),te(pe,"transition",""),te(pe,"transform",""),te(pe,"box-sizing","border-box"),te(pe,"margin",0),te(pe,"top",o.top),te(pe,"left",o.left),te(pe,"width",o.width),te(pe,"height",o.height),te(pe,"opacity","0.8"),te(pe,"position",No?"absolute":"fixed"),te(pe,"zIndex","100000"),te(pe,"pointerEvents","none"),de.ghost=pe,i.appendChild(pe),te(pe,"transform-origin",dr/parseInt(pe.style.width)*100+"% "+ur/parseInt(pe.style.height)*100+"%")}},_onDragStart:function(i,o){var d=this,n=i.dataTransfer,c=d.options;if(bt("dragStart",this,{evt:i}),de.eventCanceled){this._onDrop();return}bt("setupClone",this),de.eventCanceled||(Ge=Ai(W),Ge.draggable=!1,Ge.style["will-change"]="",this._hideClone(),Qe(Ge,this.options.chosenClass,!1),de.clone=Ge),d.cloneId=Jo(function(){bt("clone",d),!de.eventCanceled&&(d.options.removeCloneOnHide||Ne.insertBefore(Ge,W),d._hideClone(),mt({sortable:d,name:"clone"}))}),!o&&Qe(W,c.dragClass,!0),o?(Yo=!0,d._loopId=setInterval(d._emulateDragOver,50)):(ge(document,"mouseup",d._onDrop),ge(document,"touchend",d._onDrop),ge(document,"touchcancel",d._onDrop),n&&(n.effectAllowed="move",c.setData&&c.setData.call(d,n,W)),be(document,"drop",d),te(W,"transform","translateZ(0)")),Bn=!0,d._dragStartId=Jo(d._dragStarted.bind(d,o,i)),be(document,"selectstart",d),po=!0,ho&&te(document.body,"user-select","none")},_onDragOver:function(i){var o=this.el,d=i.target,n,c,t,r=this.options,s=r.group,u=de.active,m=ko===s,g=r.sort,h=lt||u,y,S=this,E=!1;if(Si)return;function x(Ee,Oe){bt(Ee,S,Nt({evt:i,isOwner:m,axis:y?"vertical":"horizontal",revert:t,dragRect:n,targetRect:c,canSort:g,fromSortable:h,target:d,completed:A,onMove:function(Ue,Ke){return Fo(Ne,o,W,n,Ue,Fe(Ue),i,Ke)},changed:P},Oe))}function O(){x("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function A(Ee){return x("dragOverCompleted",{insertion:Ee}),Ee&&(m?u._hideClone():u._showClone(S),S!==h&&(Qe(W,lt?lt.options.ghostClass:u.options.ghostClass,!1),Qe(W,r.ghostClass,!0)),lt!==S&&S!==de.active?lt=S:S===de.active&<&&(lt=null),h===S&&(S._ignoreWhileAnimating=d),S.animateAll(function(){x("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(d===W&&!W.animated||d===o&&!d.animated)&&(Kn=null),!r.dragoverBubble&&!i.rootEl&&d!==document&&(W.parentNode[ft]._isOutsideThisEl(i.target),!Ee&&pn(i)),!r.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),E=!0}function P(){At=$e(W),en=$e(W,r.draggable),mt({sortable:S,name:"change",toEl:o,newIndex:At,newDraggableIndex:en,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),d=Kt(d,r.draggable,o,!0),x("dragOver"),de.eventCanceled)return E;if(W.contains(i.target)||d.animated&&d.animatingX&&d.animatingY||S._ignoreWhileAnimating===d)return A(!1);if(Yo=!1,u&&!r.disabled&&(m?g||(t=ze!==Ne):lt===this||(this.lastPutMode=ko.checkPull(this,u,W,i))&&s.checkPut(this,u,W,i))){if(y=this._getDirection(i,d)==="vertical",n=Fe(W),x("dragOverValid"),de.eventCanceled)return E;if(t)return ze=Ne,O(),this._hideClone(),x("revert"),de.eventCanceled||(mn?Ne.insertBefore(W,mn):Ne.appendChild(W)),A(!0);var R=Ci(o,r.draggable);if(!R||ds(i,y,this)&&!R.animated){if(R===W)return A(!1);if(R&&o===i.target&&(d=R),d&&(c=Fe(d)),Fo(Ne,o,W,n,d,c,i,!!d)!==!1)return O(),o.appendChild(W),ze=o,P(),A(!0)}else if(R&&ss(i,y,this)){var B=jn(o,0,r,!0);if(B===W)return A(!1);if(d=B,c=Fe(d),Fo(Ne,o,W,n,d,c,i,!1)!==!1)return O(),o.insertBefore(W,B),ze=o,P(),A(!0)}else if(d.parentNode===o){c=Fe(d);var U=0,Q,q=W.parentNode!==o,k=!os(W.animated&&W.toRect||n,d.animated&&d.toRect||c,y),Y=y?"top":"left",Z=ar(d,"top","top")||ar(W,"top","top"),ae=Z?Z.scrollTop:void 0;Kn!==d&&(Q=c[Y],Eo=!1,jo=!k&&r.invertSwap||q),U=us(i,d,c,y,k?1:r.swapThreshold,r.invertedSwapThreshold==null?r.swapThreshold:r.invertedSwapThreshold,jo,Kn===d);var L;if(U!==0){var T=$e(W);do T-=U,L=ze.children[T];while(L&&(te(L,"display")==="none"||L===pe))}if(U===0||L===d)return A(!1);Kn=d,So=U;var ue=d.nextElementSibling,H=!1;H=U===1;var ne=Fo(Ne,o,W,n,d,c,i,H);if(ne!==!1)return(ne===1||ne===-1)&&(H=ne===1),Si=!0,setTimeout(ls,30),O(),H&&!ue?o.appendChild(W):d.parentNode.insertBefore(W,H?ue:d),Z&&Er(Z,0,ae-Z.scrollTop),ze=W.parentNode,Q!==void 0&&!jo&&($o=Math.abs(Q-Fe(d)[Y])),P(),A(!0)}if(o.contains(W))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ge(document,"mousemove",this._onTouchMove),ge(document,"touchmove",this._onTouchMove),ge(document,"pointermove",this._onTouchMove),ge(document,"dragover",pn),ge(document,"mousemove",pn),ge(document,"touchmove",pn)},_offUpEvents:function(){var i=this.el.ownerDocument;ge(i,"mouseup",this._onDrop),ge(i,"touchend",this._onDrop),ge(i,"pointerup",this._onDrop),ge(i,"touchcancel",this._onDrop),ge(document,"selectstart",this)},_onDrop:function(i){var o=this.el,d=this.options;if(At=$e(W),en=$e(W,d.draggable),bt("drop",this,{evt:i}),ze=W&&W.parentNode,At=$e(W),en=$e(W,d.draggable),de.eventCanceled){this._nulling();return}Bn=!1,jo=!1,Eo=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ei(this.cloneId),Ei(this._dragStartId),this.nativeDraggable&&(ge(document,"drop",this),ge(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ho&&te(document.body,"user-select",""),te(W,"transform",""),i&&(po&&(i.cancelable&&i.preventDefault(),!d.dropBubble&&i.stopPropagation()),pe&&pe.parentNode&&pe.parentNode.removeChild(pe),(Ne===ze||lt&<.lastPutMode!=="clone")&&Ge&&Ge.parentNode&&Ge.parentNode.removeChild(Ge),W&&(this.nativeDraggable&&ge(W,"dragend",this),mi(W),W.style["will-change"]="",po&&!Bn&&Qe(W,lt?lt.options.ghostClass:this.options.ghostClass,!1),Qe(W,this.options.chosenClass,!1),mt({sortable:this,name:"unchoose",toEl:ze,newIndex:null,newDraggableIndex:null,originalEvent:i}),Ne!==ze?(At>=0&&(mt({rootEl:ze,name:"add",toEl:ze,fromEl:Ne,originalEvent:i}),mt({sortable:this,name:"remove",toEl:ze,originalEvent:i}),mt({rootEl:ze,name:"sort",toEl:ze,fromEl:Ne,originalEvent:i}),mt({sortable:this,name:"sort",toEl:ze,originalEvent:i})),lt&<.save()):At!==kn&&At>=0&&(mt({sortable:this,name:"update",toEl:ze,originalEvent:i}),mt({sortable:this,name:"sort",toEl:ze,originalEvent:i})),de.active&&((At==null||At===-1)&&(At=kn,en=bo),mt({sortable:this,name:"end",toEl:ze,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){bt("nulling",this),Ne=W=ze=pe=mn=Ge=Go=tn=vn=Vt=po=At=en=kn=bo=Kn=So=lt=ko=de.dragged=de.ghost=de.clone=de.active=null,Zo.forEach(function(i){i.checked=!0}),Zo.length=fi=vi=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":W&&(this._onDragOver(i),as(i));break;case"selectstart":i.preventDefault();break}},toArray:function(){for(var i=[],o,d=this.el.children,n=0,c=d.length,t=this.options;n<c;n++)o=d[n],Kt(o,t.draggable,this.el,!1)&&i.push(o.getAttribute(t.dataIdAttr)||fs(o));return i},sort:function(i,o){var d={},n=this.el;this.toArray().forEach(function(c,t){var r=n.children[t];Kt(r,this.options.draggable,n,!1)&&(d[c]=r)},this),o&&this.captureAnimationState(),i.forEach(function(c){d[c]&&(n.removeChild(d[c]),n.appendChild(d[c]))}),o&&this.animateAll()},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,o){return Kt(i,o||this.options.draggable,this.el,!1)},option:function(i,o){var d=this.options;if(o===void 0)return d[i];var n=Io.modifyOption(this,i,o);typeof n<"u"?d[i]=n:d[i]=o,i==="group"&&Cr(d)},destroy:function(){bt("destroy",this);var i=this.el;i[ft]=null,ge(i,"mousedown",this._onTapStart),ge(i,"touchstart",this._onTapStart),ge(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(ge(i,"dragover",this),ge(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Xo.splice(Xo.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!tn){if(bt("hideClone",this),de.eventCanceled)return;te(Ge,"display","none"),this.options.removeCloneOnHide&&Ge.parentNode&&Ge.parentNode.removeChild(Ge),tn=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(tn){if(bt("showClone",this),de.eventCanceled)return;W.parentNode==Ne&&!this.options.group.revertClone?Ne.insertBefore(Ge,W):mn?Ne.insertBefore(Ge,mn):Ne.appendChild(Ge),this.options.group.revertClone&&this.animate(W,Ge),te(Ge,"display",""),tn=!1}}};function as(a){a.dataTransfer&&(a.dataTransfer.dropEffect="move"),a.cancelable&&a.preventDefault()}function Fo(a,i,o,d,n,c,t,r){var s,u=a[ft],m=u.options.onMove,g;return window.CustomEvent&&!Gt&&!xo?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=i,s.from=a,s.dragged=o,s.draggedRect=d,s.related=n||i,s.relatedRect=c||Fe(i),s.willInsertAfter=r,s.originalEvent=t,a.dispatchEvent(s),m&&(g=m.call(u,s,t)),g}function mi(a){a.draggable=!1}function ls(){Si=!1}function ss(a,i,o){var d=Fe(jn(o.el,0,o.options,!0)),n=10;return i?a.clientX<d.left-n||a.clientY<d.top&&a.clientX<d.right:a.clientY<d.top-n||a.clientY<d.bottom&&a.clientX<d.left}function ds(a,i,o){var d=Fe(Ci(o.el,o.options.draggable)),n=10;return i?a.clientX>d.right+n||a.clientX<=d.right&&a.clientY>d.bottom&&a.clientX>=d.left:a.clientX>d.right&&a.clientY>d.top||a.clientX<=d.right&&a.clientY>d.bottom+n}function us(a,i,o,d,n,c,t,r){var s=d?a.clientY:a.clientX,u=d?o.height:o.width,m=d?o.top:o.left,g=d?o.bottom:o.right,h=!1;if(!t){if(r&&$o<u*n){if(!Eo&&(So===1?s>m+u*c/2:s<g-u*c/2)&&(Eo=!0),Eo)h=!0;else if(So===1?s<m+$o:s>g-$o)return-So}else if(s>m+u*(1-n)/2&&s<g-u*(1-n)/2)return cs(i)}return h=h||t,h&&(s<m+u*c/2||s>g-u*c/2)?s>m+u/2?1:-1:0}function cs(a){return $e(W)<$e(a)?1:-1}function fs(a){for(var i=a.tagName+a.className+a.src+a.href+a.textContent,o=i.length,d=0;o--;)d+=i.charCodeAt(o);return d.toString(36)}function vs(a){Zo.length=0;for(var i=a.getElementsByTagName("input"),o=i.length;o--;){var d=i[o];d.checked&&Zo.push(d)}}function Jo(a){return setTimeout(a,0)}function Ei(a){return clearTimeout(a)}_o&&be(document,"touchmove",function(a){(de.active||Bn)&&a.cancelable&&a.preventDefault()});de.utils={on:be,off:ge,css:te,find:br,is:function(i,o){return!!Kt(i,o,i,!1)},extend:Xl,throttle:Sr,closest:Kt,toggleClass:Qe,clone:Ai,index:$e,nextTick:Jo,cancelNextTick:Ei,detectDirection:Ir,getChild:jn};de.get=function(a){return a[ft]};de.mount=function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];i[0].constructor===Array&&(i=i[0]),i.forEach(function(d){if(!d.prototype||!d.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(d));d.utils&&(de.utils=Nt(Nt({},de.utils),d.utils)),Io.mount(d)})};de.create=function(a,i){return new de(a,i)};de.version=Jl;var Ze=[],mo,xi,Ii=!1,gi,hi,qo,go;function ps(){function a(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return a.prototype={dragStarted:function(o){var d=o.originalEvent;this.sortable.nativeDraggable?be(document,"dragover",this._handleAutoScroll):this.options.supportPointer?be(document,"pointermove",this._handleFallbackAutoScroll):d.touches?be(document,"touchmove",this._handleFallbackAutoScroll):be(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var d=o.originalEvent;!this.options.dragOverBubble&&!d.rootEl&&this._handleAutoScroll(d)},drop:function(){this.sortable.nativeDraggable?ge(document,"dragover",this._handleAutoScroll):(ge(document,"pointermove",this._handleFallbackAutoScroll),ge(document,"touchmove",this._handleFallbackAutoScroll),ge(document,"mousemove",this._handleFallbackAutoScroll)),fr(),Wo(),Zl()},nulling:function(){qo=xi=mo=Ii=go=gi=hi=null,Ze.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,d){var n=this,c=(o.touches?o.touches[0]:o).clientX,t=(o.touches?o.touches[0]:o).clientY,r=document.elementFromPoint(c,t);if(qo=o,d||this.options.forceAutoScrollFallback||xo||Gt||ho){yi(o,this.options,r,d);var s=nn(r,!0);Ii&&(!go||c!==gi||t!==hi)&&(go&&fr(),go=setInterval(function(){var u=nn(document.elementFromPoint(c,t),!0);u!==s&&(s=u,Wo()),yi(o,n.options,u,d)},10),gi=c,hi=t)}else{if(!this.options.bubbleScroll||nn(r,!0)===jt()){Wo();return}yi(o,this.options,nn(r,!1),!1)}}},Dt(a,{pluginName:"scroll",initializeByDefault:!0})}function Wo(){Ze.forEach(function(a){clearInterval(a.pid)}),Ze=[]}function fr(){clearInterval(go)}var yi=Sr(function(a,i,o,d){if(i.scroll){var n=(a.touches?a.touches[0]:a).clientX,c=(a.touches?a.touches[0]:a).clientY,t=i.scrollSensitivity,r=i.scrollSpeed,s=jt(),u=!1,m;xi!==o&&(xi=o,Wo(),mo=i.scroll,m=i.scrollFn,mo===!0&&(mo=nn(o,!0)));var g=0,h=mo;do{var y=h,S=Fe(y),E=S.top,x=S.bottom,O=S.left,A=S.right,P=S.width,R=S.height,B=void 0,U=void 0,Q=y.scrollWidth,q=y.scrollHeight,k=te(y),Y=y.scrollLeft,Z=y.scrollTop;y===s?(B=P<Q&&(k.overflowX==="auto"||k.overflowX==="scroll"||k.overflowX==="visible"),U=R<q&&(k.overflowY==="auto"||k.overflowY==="scroll"||k.overflowY==="visible")):(B=P<Q&&(k.overflowX==="auto"||k.overflowX==="scroll"),U=R<q&&(k.overflowY==="auto"||k.overflowY==="scroll"));var ae=B&&(Math.abs(A-n)<=t&&Y+P<Q)-(Math.abs(O-n)<=t&&!!Y),L=U&&(Math.abs(x-c)<=t&&Z+R<q)-(Math.abs(E-c)<=t&&!!Z);if(!Ze[g])for(var T=0;T<=g;T++)Ze[T]||(Ze[T]={});(Ze[g].vx!=ae||Ze[g].vy!=L||Ze[g].el!==y)&&(Ze[g].el=y,Ze[g].vx=ae,Ze[g].vy=L,clearInterval(Ze[g].pid),(ae!=0||L!=0)&&(u=!0,Ze[g].pid=setInterval((function(){d&&this.layer===0&&de.active._onTouchMove(qo);var ue=Ze[this.layer].vy?Ze[this.layer].vy*r:0,H=Ze[this.layer].vx?Ze[this.layer].vx*r:0;typeof m=="function"&&m.call(de.dragged.parentNode[ft],H,ue,a,qo,Ze[this.layer].el)!=="continue"||Er(Ze[this.layer].el,H,ue)}).bind({layer:g}),24))),g++}while(i.bubbleScroll&&h!==s&&(h=nn(h,!1)));Ii=u}},30),Or=function(i){var o=i.originalEvent,d=i.putSortable,n=i.dragEl,c=i.activeSortable,t=i.dispatchSortableEvent,r=i.hideGhostForTarget,s=i.unhideGhostForTarget;if(o){var u=d||c;r();var m=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,g=document.elementFromPoint(m.clientX,m.clientY);s(),u&&!u.el.contains(g)&&(t("spill"),this.onSpill({dragEl:n,putSortable:d}))}};function wi(){}wi.prototype={startIndex:null,dragStart:function(i){var o=i.oldDraggableIndex;this.startIndex=o},onSpill:function(i){var o=i.dragEl,d=i.putSortable;this.sortable.captureAnimationState(),d&&d.captureAnimationState();var n=jn(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(o,n):this.sortable.el.appendChild(o),this.sortable.animateAll(),d&&d.animateAll()},drop:Or};Dt(wi,{pluginName:"revertOnSpill"});function Oi(){}Oi.prototype={onSpill:function(i){var o=i.dragEl,d=i.putSortable,n=d||this.sortable;n.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),n.animateAll()},drop:Or};Dt(Oi,{pluginName:"removeOnSpill"});var Tt;function ms(){function a(){this.defaults={swapClass:"sortable-swap-highlight"}}return a.prototype={dragStart:function(o){var d=o.dragEl;Tt=d},dragOverValid:function(o){var d=o.completed,n=o.target,c=o.onMove,t=o.activeSortable,r=o.changed,s=o.cancel;if(t.options.swap){var u=this.sortable.el,m=this.options;if(n&&n!==u){var g=Tt;c(n)!==!1?(Qe(n,m.swapClass,!0),Tt=n):Tt=null,g&&g!==Tt&&Qe(g,m.swapClass,!1)}r(),d(!0),s()}},drop:function(o){var d=o.activeSortable,n=o.putSortable,c=o.dragEl,t=n||this.sortable,r=this.options;Tt&&Qe(Tt,r.swapClass,!1),Tt&&(r.swap||n&&n.options.swap)&&c!==Tt&&(t.captureAnimationState(),t!==d&&d.captureAnimationState(),gs(c,Tt),t.animateAll(),t!==d&&d.animateAll())},nulling:function(){Tt=null}},Dt(a,{pluginName:"swap",eventProperties:function(){return{swapItem:Tt}}})}function gs(a,i){var o=a.parentNode,d=i.parentNode,n,c;!o||!d||o.isEqualNode(i)||d.isEqualNode(a)||(n=$e(a),c=$e(i),o.isEqualNode(d)&&n<c&&c++,o.insertBefore(i,o.children[n]),d.insertBefore(a,d.children[c]))}var ce=[],Ct=[],uo,Ut,co=!1,St=!1,Mn=!1,Pe,fo,Lo;function hs(){function a(i){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));i.options.supportPointer?be(document,"pointerup",this._deselectMultiDrag):(be(document,"mouseup",this._deselectMultiDrag),be(document,"touchend",this._deselectMultiDrag)),be(document,"keydown",this._checkKeyDown),be(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,c){var t="";ce.length&&Ut===i?ce.forEach(function(r,s){t+=(s?", ":"")+r.textContent}):t=c.textContent,n.setData("Text",t)}}}return a.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var d=o.dragEl;Pe=d},delayEnded:function(){this.isMultiDrag=~ce.indexOf(Pe)},setupClone:function(o){var d=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var c=0;c<ce.length;c++)Ct.push(Ai(ce[c])),Ct[c].sortableIndex=ce[c].sortableIndex,Ct[c].draggable=!1,Ct[c].style["will-change"]="",Qe(Ct[c],this.options.selectedClass,!1),ce[c]===Pe&&Qe(Ct[c],this.options.chosenClass,!1);d._hideClone(),n()}},clone:function(o){var d=o.sortable,n=o.rootEl,c=o.dispatchSortableEvent,t=o.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ce.length&&Ut===d&&(vr(!0,n),c("clone"),t()))},showClone:function(o){var d=o.cloneNowShown,n=o.rootEl,c=o.cancel;this.isMultiDrag&&(vr(!1,n),Ct.forEach(function(t){te(t,"display","")}),d(),Lo=!1,c())},hideClone:function(o){var d=this;o.sortable;var n=o.cloneNowHidden,c=o.cancel;this.isMultiDrag&&(Ct.forEach(function(t){te(t,"display","none"),d.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),Lo=!0,c())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&Ut&&Ut.multiDrag._deselectMultiDrag(),ce.forEach(function(d){d.sortableIndex=$e(d)}),ce=ce.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),Mn=!0},dragStarted:function(o){var d=this,n=o.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ce.forEach(function(t){t!==Pe&&te(t,"position","absolute")});var c=Fe(Pe,!1,!0,!0);ce.forEach(function(t){t!==Pe&&sr(t,c)}),St=!0,co=!0}n.animateAll(function(){St=!1,co=!1,d.options.animation&&ce.forEach(function(t){ui(t)}),d.options.sort&&Qo()})}},dragOver:function(o){var d=o.target,n=o.completed,c=o.cancel;St&&~ce.indexOf(d)&&(n(!1),c())},revert:function(o){var d=o.fromSortable,n=o.rootEl,c=o.sortable,t=o.dragRect;ce.length>1&&(ce.forEach(function(r){c.addAnimationState({target:r,rect:St?Fe(r):t}),ui(r),r.fromRect=t,d.removeAnimationState(r)}),St=!1,ys(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(o){var d=o.sortable,n=o.isOwner,c=o.insertion,t=o.activeSortable,r=o.parentEl,s=o.putSortable,u=this.options;if(c){if(n&&t._hideClone(),co=!1,u.animation&&ce.length>1&&(St||!n&&!t.options.sort&&!s)){var m=Fe(Pe,!1,!0,!0);ce.forEach(function(h){h!==Pe&&(sr(h,m),r.appendChild(h))}),St=!0}if(!n)if(St||Qo(),ce.length>1){var g=Lo;t._showClone(d),t.options.animation&&!Lo&&g&&Ct.forEach(function(h){t.addAnimationState({target:h,rect:fo}),h.fromRect=fo,h.thisAnimationDuration=null})}else t._showClone(d)}},dragOverAnimationCapture:function(o){var d=o.dragRect,n=o.isOwner,c=o.activeSortable;if(ce.forEach(function(r){r.thisAnimationDuration=null}),c.options.animation&&!n&&c.multiDrag.isMultiDrag){fo=Dt({},d);var t=gn(Pe,!0);fo.top-=t.f,fo.left-=t.e}},dragOverAnimationComplete:function(){St&&(St=!1,Qo())},drop:function(o){var d=o.originalEvent,n=o.rootEl,c=o.parentEl,t=o.sortable,r=o.dispatchSortableEvent,s=o.oldIndex,u=o.putSortable,m=u||this.sortable;if(d){var g=this.options,h=c.children;if(!Mn)if(g.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Qe(Pe,g.selectedClass,!~ce.indexOf(Pe)),~ce.indexOf(Pe))ce.splice(ce.indexOf(Pe),1),uo=null,vo({sortable:t,rootEl:n,name:"deselect",targetEl:Pe});else{if(ce.push(Pe),vo({sortable:t,rootEl:n,name:"select",targetEl:Pe}),d.shiftKey&&uo&&t.el.contains(uo)){var y=$e(uo),S=$e(Pe);if(~y&&~S&&y!==S){var E,x;for(S>y?(x=y,E=S):(x=S,E=y+1);x<E;x++)~ce.indexOf(h[x])||(Qe(h[x],g.selectedClass,!0),ce.push(h[x]),vo({sortable:t,rootEl:n,name:"select",targetEl:h[x]}))}}else uo=Pe;Ut=m}if(Mn&&this.isMultiDrag){if(St=!1,(c[ft].options.sort||c!==n)&&ce.length>1){var O=Fe(Pe),A=$e(Pe,":not(."+this.options.selectedClass+")");if(!co&&g.animation&&(Pe.thisAnimationDuration=null),m.captureAnimationState(),!co&&(g.animation&&(Pe.fromRect=O,ce.forEach(function(R){if(R.thisAnimationDuration=null,R!==Pe){var B=St?Fe(R):O;R.fromRect=B,m.addAnimationState({target:R,rect:B})}})),Qo(),ce.forEach(function(R){h[A]?c.insertBefore(R,h[A]):c.appendChild(R),A++}),s===$e(Pe))){var P=!1;ce.forEach(function(R){if(R.sortableIndex!==$e(R)){P=!0;return}}),P&&r("update")}ce.forEach(function(R){ui(R)}),m.animateAll()}Ut=m}(n===c||u&&u.lastPutMode!=="clone")&&Ct.forEach(function(R){R.parentNode&&R.parentNode.removeChild(R)})}},nullingGlobal:function(){this.isMultiDrag=Mn=!1,Ct.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ge(document,"pointerup",this._deselectMultiDrag),ge(document,"mouseup",this._deselectMultiDrag),ge(document,"touchend",this._deselectMultiDrag),ge(document,"keydown",this._checkKeyDown),ge(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof Mn<"u"&&Mn)&&Ut===this.sortable&&!(o&&Kt(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;ce.length;){var d=ce[0];Qe(d,this.options.selectedClass,!1),ce.shift(),vo({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:d})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Dt(a,{pluginName:"multiDrag",utils:{select:function(o){var d=o.parentNode[ft];!d||!d.options.multiDrag||~ce.indexOf(o)||(Ut&&Ut!==d&&(Ut.multiDrag._deselectMultiDrag(),Ut=d),Qe(o,d.options.selectedClass,!0),ce.push(o))},deselect:function(o){var d=o.parentNode[ft],n=ce.indexOf(o);!d||!d.options.multiDrag||!~n||(Qe(o,d.options.selectedClass,!1),ce.splice(n,1))}},eventProperties:function(){var o=this,d=[],n=[];return ce.forEach(function(c){d.push({multiDragElement:c,index:c.sortableIndex});var t;St&&c!==Pe?t=-1:St?t=$e(c,":not(."+o.options.selectedClass+")"):t=$e(c),n.push({multiDragElement:c,index:t})}),{items:Ll(ce),clones:[].concat(Ct),oldIndicies:d,newIndicies:n}},optionListeners:{multiDragKey:function(o){return o=o.toLowerCase(),o==="ctrl"?o="Control":o.length>1&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}}})}function ys(a,i){ce.forEach(function(o,d){var n=i.children[o.sortableIndex+(a?Number(d):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function vr(a,i){Ct.forEach(function(o,d){var n=i.children[o.sortableIndex+(a?Number(d):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function Qo(){ce.forEach(function(a){a!==Pe&&a.parentNode&&a.parentNode.removeChild(a)})}de.mount(new ps);de.mount(Oi,wi);const bs=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:hs,Sortable:de,Swap:ms,default:de},Symbol.toStringTag,{value:"Module"})),Ss=hl(bs);(function(a,i){(function(d,n){a.exports=n(bl,Ss)})(typeof self<"u"?self:Sl,function(o,d){return function(n){var c={};function t(r){if(c[r])return c[r].exports;var s=c[r]={i:r,l:!1,exports:{}};return n[r].call(s.exports,s,s.exports,t),s.l=!0,s.exports}return t.m=n,t.c=c,t.d=function(r,s,u){t.o(r,s)||Object.defineProperty(r,s,{enumerable:!0,get:u})},t.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},t.t=function(r,s){if(s&1&&(r=t(r)),s&8||s&4&&typeof r=="object"&&r&&r.__esModule)return r;var u=Object.create(null);if(t.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:r}),s&2&&typeof r!="string")for(var m in r)t.d(u,m,(function(g){return r[g]}).bind(null,m));return u},t.n=function(r){var s=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(s,"a",s),s},t.o=function(r,s){return Object.prototype.hasOwnProperty.call(r,s)},t.p="",t(t.s="fb15")}({"00ee":function(n,c,t){var r=t("b622"),s=r("toStringTag"),u={};u[s]="z",n.exports=String(u)==="[object z]"},"0366":function(n,c,t){var r=t("1c0b");n.exports=function(s,u,m){if(r(s),u===void 0)return s;switch(m){case 0:return function(){return s.call(u)};case 1:return function(g){return s.call(u,g)};case 2:return function(g,h){return s.call(u,g,h)};case 3:return function(g,h,y){return s.call(u,g,h,y)}}return function(){return s.apply(u,arguments)}}},"057f":function(n,c,t){var r=t("fc6a"),s=t("241c").f,u={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(h){try{return s(h)}catch{return m.slice()}};n.exports.f=function(y){return m&&u.call(y)=="[object Window]"?g(y):s(r(y))}},"06cf":function(n,c,t){var r=t("83ab"),s=t("d1e7"),u=t("5c6c"),m=t("fc6a"),g=t("c04e"),h=t("5135"),y=t("0cfb"),S=Object.getOwnPropertyDescriptor;c.f=r?S:function(x,O){if(x=m(x),O=g(O,!0),y)try{return S(x,O)}catch{}if(h(x,O))return u(!s.f.call(x,O),x[O])}},"0cfb":function(n,c,t){var r=t("83ab"),s=t("d039"),u=t("cc12");n.exports=!r&&!s(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,c,t){var r=t("23e7"),s=t("d58f").left,u=t("a640"),m=t("ae40"),g=u("reduce"),h=m("reduce",{1:0});r({target:"Array",proto:!0,forced:!g||!h},{reduce:function(S){return s(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,c,t){var r=t("c6b6"),s=t("9263");n.exports=function(u,m){var g=u.exec;if(typeof g=="function"){var h=g.call(u,m);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(r(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return s.call(u,m)}},"159b":function(n,c,t){var r=t("da84"),s=t("fdbc"),u=t("17c2"),m=t("9112");for(var g in s){var h=r[g],y=h&&h.prototype;if(y&&y.forEach!==u)try{m(y,"forEach",u)}catch{y.forEach=u}}},"17c2":function(n,c,t){var r=t("b727").forEach,s=t("a640"),u=t("ae40"),m=s("forEach"),g=u("forEach");n.exports=!m||!g?function(y){return r(this,y,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,c,t){var r=t("d066");n.exports=r("document","documentElement")},"1c0b":function(n,c){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,c,t){var r=t("b622"),s=r("iterator"),u=!1;try{var m=0,g={next:function(){return{done:!!m++}},return:function(){u=!0}};g[s]=function(){return this},Array.from(g,function(){throw 2})}catch{}n.exports=function(h,y){if(!y&&!u)return!1;var S=!1;try{var E={};E[s]=function(){return{next:function(){return{done:S=!0}}}},h(E)}catch{}return S}},"1d80":function(n,c){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,c,t){var r=t("d039"),s=t("b622"),u=t("2d00"),m=s("species");n.exports=function(g){return u>=51||!r(function(){var h=[],y=h.constructor={};return y[m]=function(){return{foo:1}},h[g](Boolean).foo!==1})}},"23cb":function(n,c,t){var r=t("a691"),s=Math.max,u=Math.min;n.exports=function(m,g){var h=r(m);return h<0?s(h+g,0):u(h,g)}},"23e7":function(n,c,t){var r=t("da84"),s=t("06cf").f,u=t("9112"),m=t("6eeb"),g=t("ce4e"),h=t("e893"),y=t("94ca");n.exports=function(S,E){var x=S.target,O=S.global,A=S.stat,P,R,B,U,Q,q;if(O?R=r:A?R=r[x]||g(x,{}):R=(r[x]||{}).prototype,R)for(B in E){if(Q=E[B],S.noTargetGet?(q=s(R,B),U=q&&q.value):U=R[B],P=y(O?B:x+(A?".":"#")+B,S.forced),!P&&U!==void 0){if(typeof Q==typeof U)continue;h(Q,U)}(S.sham||U&&U.sham)&&u(Q,"sham",!0),m(R,B,Q,S)}}},"241c":function(n,c,t){var r=t("ca84"),s=t("7839"),u=s.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(g){return r(g,u)}},"25f0":function(n,c,t){var r=t("6eeb"),s=t("825a"),u=t("d039"),m=t("ad6d"),g="toString",h=RegExp.prototype,y=h[g],S=u(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),E=y.name!=g;(S||E)&&r(RegExp.prototype,g,function(){var O=s(this),A=String(O.source),P=O.flags,R=String(P===void 0&&O instanceof RegExp&&!("flags"in h)?m.call(O):P);return"/"+A+"/"+R},{unsafe:!0})},"2ca0":function(n,c,t){var r=t("23e7"),s=t("06cf").f,u=t("50c4"),m=t("5a34"),g=t("1d80"),h=t("ab13"),y=t("c430"),S="".startsWith,E=Math.min,x=h("startsWith"),O=!y&&!x&&!!function(){var A=s(String.prototype,"startsWith");return A&&!A.writable}();r({target:"String",proto:!0,forced:!O&&!x},{startsWith:function(P){var R=String(g(this));m(P);var B=u(E(arguments.length>1?arguments[1]:void 0,R.length)),U=String(P);return S?S.call(R,U,B):R.slice(B,B+U.length)===U}})},"2d00":function(n,c,t){var r=t("da84"),s=t("342f"),u=r.process,m=u&&u.versions,g=m&&m.v8,h,y;g?(h=g.split("."),y=h[0]+h[1]):s&&(h=s.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=s.match(/Chrome\/(\d+)/),h&&(y=h[1]))),n.exports=y&&+y},"342f":function(n,c,t){var r=t("d066");n.exports=r("navigator","userAgent")||""},"35a1":function(n,c,t){var r=t("f5df"),s=t("3f8c"),u=t("b622"),m=u("iterator");n.exports=function(g){if(g!=null)return g[m]||g["@@iterator"]||s[r(g)]}},"37e8":function(n,c,t){var r=t("83ab"),s=t("9bf2"),u=t("825a"),m=t("df75");n.exports=r?Object.defineProperties:function(h,y){u(h);for(var S=m(y),E=S.length,x=0,O;E>x;)s.f(h,O=S[x++],y[O]);return h}},"3bbe":function(n,c,t){var r=t("861d");n.exports=function(s){if(!r(s)&&s!==null)throw TypeError("Can't set "+String(s)+" as a prototype");return s}},"3ca3":function(n,c,t){var r=t("6547").charAt,s=t("69f3"),u=t("7dd0"),m="String Iterator",g=s.set,h=s.getterFor(m);u(String,"String",function(y){g(this,{type:m,string:String(y),index:0})},function(){var S=h(this),E=S.string,x=S.index,O;return x>=E.length?{value:void 0,done:!0}:(O=r(E,x),S.index+=O.length,{value:O,done:!1})})},"3f8c":function(n,c){n.exports={}},4160:function(n,c,t){var r=t("23e7"),s=t("17c2");r({target:"Array",proto:!0,forced:[].forEach!=s},{forEach:s})},"428f":function(n,c,t){var r=t("da84");n.exports=r},"44ad":function(n,c,t){var r=t("d039"),s=t("c6b6"),u="".split;n.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(m){return s(m)=="String"?u.call(m,""):Object(m)}:Object},"44d2":function(n,c,t){var r=t("b622"),s=t("7c73"),u=t("9bf2"),m=r("unscopables"),g=Array.prototype;g[m]==null&&u.f(g,m,{configurable:!0,value:s(null)}),n.exports=function(h){g[m][h]=!0}},"44e7":function(n,c,t){var r=t("861d"),s=t("c6b6"),u=t("b622"),m=u("match");n.exports=function(g){var h;return r(g)&&((h=g[m])!==void 0?!!h:s(g)=="RegExp")}},4930:function(n,c,t){var r=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},"4d64":function(n,c,t){var r=t("fc6a"),s=t("50c4"),u=t("23cb"),m=function(g){return function(h,y,S){var E=r(h),x=s(E.length),O=u(S,x),A;if(g&&y!=y){for(;x>O;)if(A=E[O++],A!=A)return!0}else for(;x>O;O++)if((g||O in E)&&E[O]===y)return g||O||0;return!g&&-1}};n.exports={includes:m(!0),indexOf:m(!1)}},"4de4":function(n,c,t){var r=t("23e7"),s=t("b727").filter,u=t("1dde"),m=t("ae40"),g=u("filter"),h=m("filter");r({target:"Array",proto:!0,forced:!g||!h},{filter:function(S){return s(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,c,t){var r=t("0366"),s=t("7b0b"),u=t("9bdd"),m=t("e95a"),g=t("50c4"),h=t("8418"),y=t("35a1");n.exports=function(E){var x=s(E),O=typeof this=="function"?this:Array,A=arguments.length,P=A>1?arguments[1]:void 0,R=P!==void 0,B=y(x),U=0,Q,q,k,Y,Z,ae;if(R&&(P=r(P,A>2?arguments[2]:void 0,2)),B!=null&&!(O==Array&&m(B)))for(Y=B.call(x),Z=Y.next,q=new O;!(k=Z.call(Y)).done;U++)ae=R?u(Y,P,[k.value,U],!0):k.value,h(q,U,ae);else for(Q=g(x.length),q=new O(Q);Q>U;U++)ae=R?P(x[U],U):x[U],h(q,U,ae);return q.length=U,q}},"4fad":function(n,c,t){var r=t("23e7"),s=t("6f53").entries;r({target:"Object",stat:!0},{entries:function(m){return s(m)}})},"50c4":function(n,c,t){var r=t("a691"),s=Math.min;n.exports=function(u){return u>0?s(r(u),9007199254740991):0}},5135:function(n,c){var t={}.hasOwnProperty;n.exports=function(r,s){return t.call(r,s)}},5319:function(n,c,t){var r=t("d784"),s=t("825a"),u=t("7b0b"),m=t("50c4"),g=t("a691"),h=t("1d80"),y=t("8aa5"),S=t("14c3"),E=Math.max,x=Math.min,O=Math.floor,A=/\$([$&'`]|\d\d?|<[^>]*>)/g,P=/\$([$&'`]|\d\d?)/g,R=function(B){return B===void 0?B:String(B)};r("replace",2,function(B,U,Q,q){var k=q.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,Y=q.REPLACE_KEEPS_$0,Z=k?"$":"$0";return[function(T,ue){var H=h(this),ne=T==null?void 0:T[B];return ne!==void 0?ne.call(T,H,ue):U.call(String(H),T,ue)},function(L,T){if(!k&&Y||typeof T=="string"&&T.indexOf(Z)===-1){var ue=Q(U,L,this,T);if(ue.done)return ue.value}var H=s(L),ne=String(this),Ee=typeof T=="function";Ee||(T=String(T));var Oe=H.global;if(Oe){var Ye=H.unicode;H.lastIndex=0}for(var Ue=[];;){var Ke=S(H,ne);if(Ke===null||(Ue.push(Ke),!Oe))break;var we=String(Ke[0]);we===""&&(H.lastIndex=y(ne,m(H.lastIndex),Ye))}for(var Xe="",Te=0,Ae=0;Ae<Ue.length;Ae++){Ke=Ue[Ae];for(var Re=String(Ke[0]),st=E(x(g(Ke.index),ne.length),0),ot=[],dt=1;dt<Ke.length;dt++)ot.push(R(Ke[dt]));var ut=Ke.groups;if(Ee){var Mt=[Re].concat(ot,st,ne);ut!==void 0&&Mt.push(ut);var qe=String(T.apply(void 0,Mt))}else qe=ae(Re,ne,st,ot,ut,T);st>=Te&&(Xe+=ne.slice(Te,st)+qe,Te=st+Re.length)}return Xe+ne.slice(Te)}];function ae(L,T,ue,H,ne,Ee){var Oe=ue+L.length,Ye=H.length,Ue=P;return ne!==void 0&&(ne=u(ne),Ue=A),U.call(Ee,Ue,function(Ke,we){var Xe;switch(we.charAt(0)){case"$":return"$";case"&":return L;case"`":return T.slice(0,ue);case"'":return T.slice(Oe);case"<":Xe=ne[we.slice(1,-1)];break;default:var Te=+we;if(Te===0)return Ke;if(Te>Ye){var Ae=O(Te/10);return Ae===0?Ke:Ae<=Ye?H[Ae-1]===void 0?we.charAt(1):H[Ae-1]+we.charAt(1):Ke}Xe=H[Te-1]}return Xe===void 0?"":Xe})}})},5692:function(n,c,t){var r=t("c430"),s=t("c6cd");(n.exports=function(u,m){return s[u]||(s[u]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,c,t){var r=t("d066"),s=t("241c"),u=t("7418"),m=t("825a");n.exports=r("Reflect","ownKeys")||function(h){var y=s.f(m(h)),S=u.f;return S?y.concat(S(h)):y}},"5a34":function(n,c,t){var r=t("44e7");n.exports=function(s){if(r(s))throw TypeError("The method doesn't accept regular expressions");return s}},"5c6c":function(n,c){n.exports=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}}},"5db7":function(n,c,t){var r=t("23e7"),s=t("a2bf"),u=t("7b0b"),m=t("50c4"),g=t("1c0b"),h=t("65f0");r({target:"Array",proto:!0},{flatMap:function(S){var E=u(this),x=m(E.length),O;return g(S),O=h(E,0),O.length=s(O,E,E,x,0,1,S,arguments.length>1?arguments[1]:void 0),O}})},6547:function(n,c,t){var r=t("a691"),s=t("1d80"),u=function(m){return function(g,h){var y=String(s(g)),S=r(h),E=y.length,x,O;return S<0||S>=E?m?"":void 0:(x=y.charCodeAt(S),x<55296||x>56319||S+1===E||(O=y.charCodeAt(S+1))<56320||O>57343?m?y.charAt(S):x:m?y.slice(S,S+2):(x-55296<<10)+(O-56320)+65536)}};n.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(n,c,t){var r=t("861d"),s=t("e8b5"),u=t("b622"),m=u("species");n.exports=function(g,h){var y;return s(g)&&(y=g.constructor,typeof y=="function"&&(y===Array||s(y.prototype))?y=void 0:r(y)&&(y=y[m],y===null&&(y=void 0))),new(y===void 0?Array:y)(h===0?0:h)}},"69f3":function(n,c,t){var r=t("7f9a"),s=t("da84"),u=t("861d"),m=t("9112"),g=t("5135"),h=t("f772"),y=t("d012"),S=s.WeakMap,E,x,O,A=function(k){return O(k)?x(k):E(k,{})},P=function(k){return function(Y){var Z;if(!u(Y)||(Z=x(Y)).type!==k)throw TypeError("Incompatible receiver, "+k+" required");return Z}};if(r){var R=new S,B=R.get,U=R.has,Q=R.set;E=function(k,Y){return Q.call(R,k,Y),Y},x=function(k){return B.call(R,k)||{}},O=function(k){return U.call(R,k)}}else{var q=h("state");y[q]=!0,E=function(k,Y){return m(k,q,Y),Y},x=function(k){return g(k,q)?k[q]:{}},O=function(k){return g(k,q)}}n.exports={set:E,get:x,has:O,enforce:A,getterFor:P}},"6eeb":function(n,c,t){var r=t("da84"),s=t("9112"),u=t("5135"),m=t("ce4e"),g=t("8925"),h=t("69f3"),y=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(x,O,A,P){var R=P?!!P.unsafe:!1,B=P?!!P.enumerable:!1,U=P?!!P.noTargetGet:!1;if(typeof A=="function"&&(typeof O=="string"&&!u(A,"name")&&s(A,"name",O),S(A).source=E.join(typeof O=="string"?O:"")),x===r){B?x[O]=A:m(O,A);return}else R?!U&&x[O]&&(B=!0):delete x[O];B?x[O]=A:s(x,O,A)})(Function.prototype,"toString",function(){return typeof this=="function"&&y(this).source||g(this)})},"6f53":function(n,c,t){var r=t("83ab"),s=t("df75"),u=t("fc6a"),m=t("d1e7").f,g=function(h){return function(y){for(var S=u(y),E=s(S),x=E.length,O=0,A=[],P;x>O;)P=E[O++],(!r||m.call(S,P))&&A.push(h?[P,S[P]]:S[P]);return A}};n.exports={entries:g(!0),values:g(!1)}},"73d9":function(n,c,t){var r=t("44d2");r("flatMap")},7418:function(n,c){c.f=Object.getOwnPropertySymbols},"746f":function(n,c,t){var r=t("428f"),s=t("5135"),u=t("e538"),m=t("9bf2").f;n.exports=function(g){var h=r.Symbol||(r.Symbol={});s(h,g)||m(h,g,{value:u.f(g)})}},7839:function(n,c){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,c,t){var r=t("1d80");n.exports=function(s){return Object(r(s))}},"7c73":function(n,c,t){var r=t("825a"),s=t("37e8"),u=t("7839"),m=t("d012"),g=t("1be4"),h=t("cc12"),y=t("f772"),S=">",E="<",x="prototype",O="script",A=y("IE_PROTO"),P=function(){},R=function(k){return E+O+S+k+E+"/"+O+S},B=function(k){k.write(R("")),k.close();var Y=k.parentWindow.Object;return k=null,Y},U=function(){var k=h("iframe"),Y="java"+O+":",Z;return k.style.display="none",g.appendChild(k),k.src=String(Y),Z=k.contentWindow.document,Z.open(),Z.write(R("document.F=Object")),Z.close(),Z.F},Q,q=function(){try{Q=document.domain&&new ActiveXObject("htmlfile")}catch{}q=Q?B(Q):U();for(var k=u.length;k--;)delete q[x][u[k]];return q()};m[A]=!0,n.exports=Object.create||function(Y,Z){var ae;return Y!==null?(P[x]=r(Y),ae=new P,P[x]=null,ae[A]=Y):ae=q(),Z===void 0?ae:s(ae,Z)}},"7dd0":function(n,c,t){var r=t("23e7"),s=t("9ed3"),u=t("e163"),m=t("d2bb"),g=t("d44e"),h=t("9112"),y=t("6eeb"),S=t("b622"),E=t("c430"),x=t("3f8c"),O=t("ae93"),A=O.IteratorPrototype,P=O.BUGGY_SAFARI_ITERATORS,R=S("iterator"),B="keys",U="values",Q="entries",q=function(){return this};n.exports=function(k,Y,Z,ae,L,T,ue){s(Z,Y,ae);var H=function(Ae){if(Ae===L&&Ue)return Ue;if(!P&&Ae in Oe)return Oe[Ae];switch(Ae){case B:return function(){return new Z(this,Ae)};case U:return function(){return new Z(this,Ae)};case Q:return function(){return new Z(this,Ae)}}return function(){return new Z(this)}},ne=Y+" Iterator",Ee=!1,Oe=k.prototype,Ye=Oe[R]||Oe["@@iterator"]||L&&Oe[L],Ue=!P&&Ye||H(L),Ke=Y=="Array"&&Oe.entries||Ye,we,Xe,Te;if(Ke&&(we=u(Ke.call(new k)),A!==Object.prototype&&we.next&&(!E&&u(we)!==A&&(m?m(we,A):typeof we[R]!="function"&&h(we,R,q)),g(we,ne,!0,!0),E&&(x[ne]=q))),L==U&&Ye&&Ye.name!==U&&(Ee=!0,Ue=function(){return Ye.call(this)}),(!E||ue)&&Oe[R]!==Ue&&h(Oe,R,Ue),x[Y]=Ue,L)if(Xe={values:H(U),keys:T?Ue:H(B),entries:H(Q)},ue)for(Te in Xe)(P||Ee||!(Te in Oe))&&y(Oe,Te,Xe[Te]);else r({target:Y,proto:!0,forced:P||Ee},Xe);return Xe}},"7f9a":function(n,c,t){var r=t("da84"),s=t("8925"),u=r.WeakMap;n.exports=typeof u=="function"&&/native code/.test(s(u))},"825a":function(n,c,t){var r=t("861d");n.exports=function(s){if(!r(s))throw TypeError(String(s)+" is not an object");return s}},"83ab":function(n,c,t){var r=t("d039");n.exports=!r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,c,t){var r=t("c04e"),s=t("9bf2"),u=t("5c6c");n.exports=function(m,g,h){var y=r(g);y in m?s.f(m,y,u(0,h)):m[y]=h}},"861d":function(n,c){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,c,t){var r,s,u;(function(m,g){s=[],r=g,u=typeof r=="function"?r.apply(c,s):r,u!==void 0&&(n.exports=u)})(typeof self<"u"?self:this,function(){function m(){var g=Object.getOwnPropertyDescriptor(document,"currentScript");if(!g&&"currentScript"in document&&document.currentScript||g&&g.get!==m&&document.currentScript)return document.currentScript;try{throw new Error}catch(Q){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,y=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(Q.stack)||y.exec(Q.stack),E=S&&S[1]||!1,x=S&&S[2]||!1,O=document.location.href.replace(document.location.hash,""),A,P,R,B=document.getElementsByTagName("script");E===O&&(A=document.documentElement.outerHTML,P=new RegExp("(?:[^\\n]+?\\n){0,"+(x-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),R=A.replace(P,"$1").trim());for(var U=0;U<B.length;U++)if(B[U].readyState==="interactive"||B[U].src===E||E===O&&B[U].innerHTML&&B[U].innerHTML.trim()===R)return B[U];return null}}return m})},8925:function(n,c,t){var r=t("c6cd"),s=Function.toString;typeof r.inspectSource!="function"&&(r.inspectSource=function(u){return s.call(u)}),n.exports=r.inspectSource},"8aa5":function(n,c,t){var r=t("6547").charAt;n.exports=function(s,u,m){return u+(m?r(s,u).length:1)}},"8bbf":function(n,c){n.exports=o},"90e3":function(n,c){var t=0,r=Math.random();n.exports=function(s){return"Symbol("+String(s===void 0?"":s)+")_"+(++t+r).toString(36)}},9112:function(n,c,t){var r=t("83ab"),s=t("9bf2"),u=t("5c6c");n.exports=r?function(m,g,h){return s.f(m,g,u(1,h))}:function(m,g,h){return m[g]=h,m}},9263:function(n,c,t){var r=t("ad6d"),s=t("9f7f"),u=RegExp.prototype.exec,m=String.prototype.replace,g=u,h=function(){var x=/a/,O=/b*/g;return u.call(x,"a"),u.call(O,"a"),x.lastIndex!==0||O.lastIndex!==0}(),y=s.UNSUPPORTED_Y||s.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||y;E&&(g=function(O){var A=this,P,R,B,U,Q=y&&A.sticky,q=r.call(A),k=A.source,Y=0,Z=O;return Q&&(q=q.replace("y",""),q.indexOf("g")===-1&&(q+="g"),Z=String(O).slice(A.lastIndex),A.lastIndex>0&&(!A.multiline||A.multiline&&O[A.lastIndex-1]!==`
- `)&&(k="(?: "+k+")",Z=" "+Z,Y++),R=new RegExp("^(?:"+k+")",q)),S&&(R=new RegExp("^"+k+"$(?!\\s)",q)),h&&(P=A.lastIndex),B=u.call(Q?R:A,Z),Q?B?(B.input=B.input.slice(Y),B[0]=B[0].slice(Y),B.index=A.lastIndex,A.lastIndex+=B[0].length):A.lastIndex=0:h&&B&&(A.lastIndex=A.global?B.index+B[0].length:P),S&&B&&B.length>1&&m.call(B[0],R,function(){for(U=1;U<arguments.length-2;U++)arguments[U]===void 0&&(B[U]=void 0)}),B}),n.exports=g},"94ca":function(n,c,t){var r=t("d039"),s=/#|\.prototype\./,u=function(S,E){var x=g[m(S)];return x==y?!0:x==h?!1:typeof E=="function"?r(E):!!E},m=u.normalize=function(S){return String(S).replace(s,".").toLowerCase()},g=u.data={},h=u.NATIVE="N",y=u.POLYFILL="P";n.exports=u},"99af":function(n,c,t){var r=t("23e7"),s=t("d039"),u=t("e8b5"),m=t("861d"),g=t("7b0b"),h=t("50c4"),y=t("8418"),S=t("65f0"),E=t("1dde"),x=t("b622"),O=t("2d00"),A=x("isConcatSpreadable"),P=9007199254740991,R="Maximum allowed index exceeded",B=O>=51||!s(function(){var k=[];return k[A]=!1,k.concat()[0]!==k}),U=E("concat"),Q=function(k){if(!m(k))return!1;var Y=k[A];return Y!==void 0?!!Y:u(k)},q=!B||!U;r({target:"Array",proto:!0,forced:q},{concat:function(Y){var Z=g(this),ae=S(Z,0),L=0,T,ue,H,ne,Ee;for(T=-1,H=arguments.length;T<H;T++)if(Ee=T===-1?Z:arguments[T],Q(Ee)){if(ne=h(Ee.length),L+ne>P)throw TypeError(R);for(ue=0;ue<ne;ue++,L++)ue in Ee&&y(ae,L,Ee[ue])}else{if(L>=P)throw TypeError(R);y(ae,L++,Ee)}return ae.length=L,ae}})},"9bdd":function(n,c,t){var r=t("825a");n.exports=function(s,u,m,g){try{return g?u(r(m)[0],m[1]):u(m)}catch(y){var h=s.return;throw h!==void 0&&r(h.call(s)),y}}},"9bf2":function(n,c,t){var r=t("83ab"),s=t("0cfb"),u=t("825a"),m=t("c04e"),g=Object.defineProperty;c.f=r?g:function(y,S,E){if(u(y),S=m(S,!0),u(E),s)try{return g(y,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(y[S]=E.value),y}},"9ed3":function(n,c,t){var r=t("ae93").IteratorPrototype,s=t("7c73"),u=t("5c6c"),m=t("d44e"),g=t("3f8c"),h=function(){return this};n.exports=function(y,S,E){var x=S+" Iterator";return y.prototype=s(r,{next:u(1,E)}),m(y,x,!1,!0),g[x]=h,y}},"9f7f":function(n,c,t){var r=t("d039");function s(u,m){return RegExp(u,m)}c.UNSUPPORTED_Y=r(function(){var u=s("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),c.BROKEN_CARET=r(function(){var u=s("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(n,c,t){var r=t("e8b5"),s=t("50c4"),u=t("0366"),m=function(g,h,y,S,E,x,O,A){for(var P=E,R=0,B=O?u(O,A,3):!1,U;R<S;){if(R in y){if(U=B?B(y[R],R,h):y[R],x>0&&r(U))P=m(g,h,U,s(U.length),P,x-1)-1;else{if(P>=9007199254740991)throw TypeError("Exceed the acceptable array length");g[P]=U}P++}R++}return P};n.exports=m},a352:function(n,c){n.exports=d},a434:function(n,c,t){var r=t("23e7"),s=t("23cb"),u=t("a691"),m=t("50c4"),g=t("7b0b"),h=t("65f0"),y=t("8418"),S=t("1dde"),E=t("ae40"),x=S("splice"),O=E("splice",{ACCESSORS:!0,0:0,1:2}),A=Math.max,P=Math.min,R=9007199254740991,B="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!x||!O},{splice:function(Q,q){var k=g(this),Y=m(k.length),Z=s(Q,Y),ae=arguments.length,L,T,ue,H,ne,Ee;if(ae===0?L=T=0:ae===1?(L=0,T=Y-Z):(L=ae-2,T=P(A(u(q),0),Y-Z)),Y+L-T>R)throw TypeError(B);for(ue=h(k,T),H=0;H<T;H++)ne=Z+H,ne in k&&y(ue,H,k[ne]);if(ue.length=T,L<T){for(H=Z;H<Y-T;H++)ne=H+T,Ee=H+L,ne in k?k[Ee]=k[ne]:delete k[Ee];for(H=Y;H>Y-T+L;H--)delete k[H-1]}else if(L>T)for(H=Y-T;H>Z;H--)ne=H+T-1,Ee=H+L-1,ne in k?k[Ee]=k[ne]:delete k[Ee];for(H=0;H<L;H++)k[H+Z]=arguments[H+2];return k.length=Y-T+L,ue}})},a4d3:function(n,c,t){var r=t("23e7"),s=t("da84"),u=t("d066"),m=t("c430"),g=t("83ab"),h=t("4930"),y=t("fdbf"),S=t("d039"),E=t("5135"),x=t("e8b5"),O=t("861d"),A=t("825a"),P=t("7b0b"),R=t("fc6a"),B=t("c04e"),U=t("5c6c"),Q=t("7c73"),q=t("df75"),k=t("241c"),Y=t("057f"),Z=t("7418"),ae=t("06cf"),L=t("9bf2"),T=t("d1e7"),ue=t("9112"),H=t("6eeb"),ne=t("5692"),Ee=t("f772"),Oe=t("d012"),Ye=t("90e3"),Ue=t("b622"),Ke=t("e538"),we=t("746f"),Xe=t("d44e"),Te=t("69f3"),Ae=t("b727").forEach,Re=Ee("hidden"),st="Symbol",ot="prototype",dt=Ue("toPrimitive"),ut=Te.set,Mt=Te.getterFor(st),qe=Object[ot],_e=s.Symbol,Ft=u("JSON","stringify"),wt=ae.f,Ot=L.f,hn=Y.f,Nn=T.f,Et=ne("symbols"),Bt=ne("op-symbols"),$t=ne("string-to-symbol-registry"),on=ne("symbol-to-string-registry"),rn=ne("wks"),an=s.QObject,ln=!an||!an[ot]||!an[ot].findChild,sn=g&&S(function(){return Q(Ot({},"a",{get:function(){return Ot(this,"a",{value:7}).a}})).a!=7})?function(se,$,re){var he=wt(qe,$);he&&delete qe[$],Ot(se,$,re),he&&se!==qe&&Ot(qe,$,he)}:Ot,Jt=function(se,$){var re=Et[se]=Q(_e[ot]);return ut(re,{type:st,tag:se,description:$}),g||(re.description=$),re},w=y?function(se){return typeof se=="symbol"}:function(se){return Object(se)instanceof _e},C=function($,re,he){$===qe&&C(Bt,re,he),A($);var Se=B(re,!0);return A(he),E(Et,Se)?(he.enumerable?(E($,Re)&&$[Re][Se]&&($[Re][Se]=!1),he=Q(he,{enumerable:U(0,!1)})):(E($,Re)||Ot($,Re,U(1,{})),$[Re][Se]=!0),sn($,Se,he)):Ot($,Se,he)},D=function($,re){A($);var he=R(re),Se=q(he).concat(xe(he));return Ae(Se,function(it){(!g||ee.call(he,it))&&C($,it,he[it])}),$},N=function($,re){return re===void 0?Q($):D(Q($),re)},ee=function($){var re=B($,!0),he=Nn.call(this,re);return this===qe&&E(Et,re)&&!E(Bt,re)?!1:he||!E(this,re)||!E(Et,re)||E(this,Re)&&this[Re][re]?he:!0},le=function($,re){var he=R($),Se=B(re,!0);if(!(he===qe&&E(Et,Se)&&!E(Bt,Se))){var it=wt(he,Se);return it&&E(Et,Se)&&!(E(he,Re)&&he[Re][Se])&&(it.enumerable=!0),it}},fe=function($){var re=hn(R($)),he=[];return Ae(re,function(Se){!E(Et,Se)&&!E(Oe,Se)&&he.push(Se)}),he},xe=function($){var re=$===qe,he=hn(re?Bt:R($)),Se=[];return Ae(he,function(it){E(Et,it)&&(!re||E(qe,it))&&Se.push(Et[it])}),Se};if(h||(_e=function(){if(this instanceof _e)throw TypeError("Symbol is not a constructor");var $=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),re=Ye($),he=function(Se){this===qe&&he.call(Bt,Se),E(this,Re)&&E(this[Re],re)&&(this[Re][re]=!1),sn(this,re,U(1,Se))};return g&&ln&&sn(qe,re,{configurable:!0,set:he}),Jt(re,$)},H(_e[ot],"toString",function(){return Mt(this).tag}),H(_e,"withoutSetter",function(se){return Jt(Ye(se),se)}),T.f=ee,L.f=C,ae.f=le,k.f=Y.f=fe,Z.f=xe,Ke.f=function(se){return Jt(Ue(se),se)},g&&(Ot(_e[ot],"description",{configurable:!0,get:function(){return Mt(this).description}}),m||H(qe,"propertyIsEnumerable",ee,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:_e}),Ae(q(rn),function(se){we(se)}),r({target:st,stat:!0,forced:!h},{for:function(se){var $=String(se);if(E($t,$))return $t[$];var re=_e($);return $t[$]=re,on[re]=$,re},keyFor:function($){if(!w($))throw TypeError($+" is not a symbol");if(E(on,$))return on[$]},useSetter:function(){ln=!0},useSimple:function(){ln=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!g},{create:N,defineProperty:C,defineProperties:D,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:fe,getOwnPropertySymbols:xe}),r({target:"Object",stat:!0,forced:S(function(){Z.f(1)})},{getOwnPropertySymbols:function($){return Z.f(P($))}}),Ft){var Le=!h||S(function(){var se=_e();return Ft([se])!="[null]"||Ft({a:se})!="{}"||Ft(Object(se))!="{}"});r({target:"JSON",stat:!0,forced:Le},{stringify:function($,re,he){for(var Se=[$],it=1,Fn;arguments.length>it;)Se.push(arguments[it++]);if(Fn=re,!(!O(re)&&$===void 0||w($)))return x(re)||(re=function(Co,yn){if(typeof Fn=="function"&&(yn=Fn.call(this,Co,yn)),!w(yn))return yn}),Se[1]=re,Ft.apply(null,Se)}})}_e[ot][dt]||ue(_e[ot],dt,_e[ot].valueOf),Xe(_e,st),Oe[Re]=!0},a630:function(n,c,t){var r=t("23e7"),s=t("4df4"),u=t("1c7e"),m=!u(function(g){Array.from(g)});r({target:"Array",stat:!0,forced:m},{from:s})},a640:function(n,c,t){var r=t("d039");n.exports=function(s,u){var m=[][s];return!!m&&r(function(){m.call(null,u||function(){throw 1},1)})}},a691:function(n,c){var t=Math.ceil,r=Math.floor;n.exports=function(s){return isNaN(s=+s)?0:(s>0?r:t)(s)}},ab13:function(n,c,t){var r=t("b622"),s=r("match");n.exports=function(u){var m=/./;try{"/./"[u](m)}catch{try{return m[s]=!1,"/./"[u](m)}catch{}}return!1}},ac1f:function(n,c,t){var r=t("23e7"),s=t("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==s},{exec:s})},ad6d:function(n,c,t){var r=t("825a");n.exports=function(){var s=r(this),u="";return s.global&&(u+="g"),s.ignoreCase&&(u+="i"),s.multiline&&(u+="m"),s.dotAll&&(u+="s"),s.unicode&&(u+="u"),s.sticky&&(u+="y"),u}},ae40:function(n,c,t){var r=t("83ab"),s=t("d039"),u=t("5135"),m=Object.defineProperty,g={},h=function(y){throw y};n.exports=function(y,S){if(u(g,y))return g[y];S||(S={});var E=[][y],x=u(S,"ACCESSORS")?S.ACCESSORS:!1,O=u(S,0)?S[0]:h,A=u(S,1)?S[1]:void 0;return g[y]=!!E&&!s(function(){if(x&&!r)return!0;var P={length:-1};x?m(P,1,{enumerable:!0,get:h}):P[1]=1,E.call(P,O,A)})}},ae93:function(n,c,t){var r=t("e163"),s=t("9112"),u=t("5135"),m=t("b622"),g=t("c430"),h=m("iterator"),y=!1,S=function(){return this},E,x,O;[].keys&&(O=[].keys(),"next"in O?(x=r(r(O)),x!==Object.prototype&&(E=x)):y=!0),E==null&&(E={}),!g&&!u(E,h)&&s(E,h,S),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:y}},b041:function(n,c,t){var r=t("00ee"),s=t("f5df");n.exports=r?{}.toString:function(){return"[object "+s(this)+"]"}},b0c0:function(n,c,t){var r=t("83ab"),s=t("9bf2").f,u=Function.prototype,m=u.toString,g=/^\s*function ([^ (]*)/,h="name";r&&!(h in u)&&s(u,h,{configurable:!0,get:function(){try{return m.call(this).match(g)[1]}catch{return""}}})},b622:function(n,c,t){var r=t("da84"),s=t("5692"),u=t("5135"),m=t("90e3"),g=t("4930"),h=t("fdbf"),y=s("wks"),S=r.Symbol,E=h?S:S&&S.withoutSetter||m;n.exports=function(x){return u(y,x)||(g&&u(S,x)?y[x]=S[x]:y[x]=E("Symbol."+x)),y[x]}},b64b:function(n,c,t){var r=t("23e7"),s=t("7b0b"),u=t("df75"),m=t("d039"),g=m(function(){u(1)});r({target:"Object",stat:!0,forced:g},{keys:function(y){return u(s(y))}})},b727:function(n,c,t){var r=t("0366"),s=t("44ad"),u=t("7b0b"),m=t("50c4"),g=t("65f0"),h=[].push,y=function(S){var E=S==1,x=S==2,O=S==3,A=S==4,P=S==6,R=S==5||P;return function(B,U,Q,q){for(var k=u(B),Y=s(k),Z=r(U,Q,3),ae=m(Y.length),L=0,T=q||g,ue=E?T(B,ae):x?T(B,0):void 0,H,ne;ae>L;L++)if((R||L in Y)&&(H=Y[L],ne=Z(H,L,k),S)){if(E)ue[L]=ne;else if(ne)switch(S){case 3:return!0;case 5:return H;case 6:return L;case 2:h.call(ue,H)}else if(A)return!1}return P?-1:O||A?A:ue}};n.exports={forEach:y(0),map:y(1),filter:y(2),some:y(3),every:y(4),find:y(5),findIndex:y(6)}},c04e:function(n,c,t){var r=t("861d");n.exports=function(s,u){if(!r(s))return s;var m,g;if(u&&typeof(m=s.toString)=="function"&&!r(g=m.call(s))||typeof(m=s.valueOf)=="function"&&!r(g=m.call(s))||!u&&typeof(m=s.toString)=="function"&&!r(g=m.call(s)))return g;throw TypeError("Can't convert object to primitive value")}},c430:function(n,c){n.exports=!1},c6b6:function(n,c){var t={}.toString;n.exports=function(r){return t.call(r).slice(8,-1)}},c6cd:function(n,c,t){var r=t("da84"),s=t("ce4e"),u="__core-js_shared__",m=r[u]||s(u,{});n.exports=m},c740:function(n,c,t){var r=t("23e7"),s=t("b727").findIndex,u=t("44d2"),m=t("ae40"),g="findIndex",h=!0,y=m(g);g in[]&&Array(1)[g](function(){h=!1}),r({target:"Array",proto:!0,forced:h||!y},{findIndex:function(E){return s(this,E,arguments.length>1?arguments[1]:void 0)}}),u(g)},c8ba:function(n,c){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}n.exports=t},c975:function(n,c,t){var r=t("23e7"),s=t("4d64").indexOf,u=t("a640"),m=t("ae40"),g=[].indexOf,h=!!g&&1/[1].indexOf(1,-0)<0,y=u("indexOf"),S=m("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:h||!y||!S},{indexOf:function(x){return h?g.apply(this,arguments)||0:s(this,x,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,c,t){var r=t("5135"),s=t("fc6a"),u=t("4d64").indexOf,m=t("d012");n.exports=function(g,h){var y=s(g),S=0,E=[],x;for(x in y)!r(m,x)&&r(y,x)&&E.push(x);for(;h.length>S;)r(y,x=h[S++])&&(~u(E,x)||E.push(x));return E}},caad:function(n,c,t){var r=t("23e7"),s=t("4d64").includes,u=t("44d2"),m=t("ae40"),g=m("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:!g},{includes:function(y){return s(this,y,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(n,c,t){var r=t("da84"),s=t("861d"),u=r.document,m=s(u)&&s(u.createElement);n.exports=function(g){return m?u.createElement(g):{}}},ce4e:function(n,c,t){var r=t("da84"),s=t("9112");n.exports=function(u,m){try{s(r,u,m)}catch{r[u]=m}return m}},d012:function(n,c){n.exports={}},d039:function(n,c){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,c,t){var r=t("428f"),s=t("da84"),u=function(m){return typeof m=="function"?m:void 0};n.exports=function(m,g){return arguments.length<2?u(r[m])||u(s[m]):r[m]&&r[m][g]||s[m]&&s[m][g]}},d1e7:function(n,c,t){var r={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,u=s&&!r.call({1:2},1);c.f=u?function(g){var h=s(this,g);return!!h&&h.enumerable}:r},d28b:function(n,c,t){var r=t("746f");r("iterator")},d2bb:function(n,c,t){var r=t("825a"),s=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,m={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(m,[]),u=m instanceof Array}catch{}return function(y,S){return r(y),s(S),u?g.call(y,S):y.__proto__=S,y}}():void 0)},d3b7:function(n,c,t){var r=t("00ee"),s=t("6eeb"),u=t("b041");r||s(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(n,c,t){var r=t("9bf2").f,s=t("5135"),u=t("b622"),m=u("toStringTag");n.exports=function(g,h,y){g&&!s(g=y?g:g.prototype,m)&&r(g,m,{configurable:!0,value:h})}},d58f:function(n,c,t){var r=t("1c0b"),s=t("7b0b"),u=t("44ad"),m=t("50c4"),g=function(h){return function(y,S,E,x){r(S);var O=s(y),A=u(O),P=m(O.length),R=h?P-1:0,B=h?-1:1;if(E<2)for(;;){if(R in A){x=A[R],R+=B;break}if(R+=B,h?R<0:P<=R)throw TypeError("Reduce of empty array with no initial value")}for(;h?R>=0:P>R;R+=B)R in A&&(x=S(x,A[R],R,O));return x}};n.exports={left:g(!1),right:g(!0)}},d784:function(n,c,t){t("ac1f");var r=t("6eeb"),s=t("d039"),u=t("b622"),m=t("9263"),g=t("9112"),h=u("species"),y=!s(function(){var A=/./;return A.exec=function(){var P=[];return P.groups={a:"7"},P},"".replace(A,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=u("replace"),x=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),O=!s(function(){var A=/(?:)/,P=A.exec;A.exec=function(){return P.apply(this,arguments)};var R="ab".split(A);return R.length!==2||R[0]!=="a"||R[1]!=="b"});n.exports=function(A,P,R,B){var U=u(A),Q=!s(function(){var L={};return L[U]=function(){return 7},""[A](L)!=7}),q=Q&&!s(function(){var L=!1,T=/a/;return A==="split"&&(T={},T.constructor={},T.constructor[h]=function(){return T},T.flags="",T[U]=/./[U]),T.exec=function(){return L=!0,null},T[U](""),!L});if(!Q||!q||A==="replace"&&!(y&&S&&!x)||A==="split"&&!O){var k=/./[U],Y=R(U,""[A],function(L,T,ue,H,ne){return T.exec===m?Q&&!ne?{done:!0,value:k.call(T,ue,H)}:{done:!0,value:L.call(ue,T,H)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:x}),Z=Y[0],ae=Y[1];r(String.prototype,A,Z),r(RegExp.prototype,U,P==2?function(L,T){return ae.call(L,this,T)}:function(L){return ae.call(L,this)})}B&&g(RegExp.prototype[U],"sham",!0)}},d81d:function(n,c,t){var r=t("23e7"),s=t("b727").map,u=t("1dde"),m=t("ae40"),g=u("map"),h=m("map");r({target:"Array",proto:!0,forced:!g||!h},{map:function(S){return s(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,c,t){(function(r){var s=function(u){return u&&u.Math==Math&&u};n.exports=s(typeof globalThis=="object"&&globalThis)||s(typeof window=="object"&&window)||s(typeof self=="object"&&self)||s(typeof r=="object"&&r)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,c,t){var r=t("23e7"),s=t("83ab"),u=t("56ef"),m=t("fc6a"),g=t("06cf"),h=t("8418");r({target:"Object",stat:!0,sham:!s},{getOwnPropertyDescriptors:function(S){for(var E=m(S),x=g.f,O=u(E),A={},P=0,R,B;O.length>P;)B=x(E,R=O[P++]),B!==void 0&&h(A,R,B);return A}})},dbf1:function(n,c,t){(function(r){t.d(c,"a",function(){return u});function s(){return typeof window<"u"?window.console:r.console}var u=s()}).call(this,t("c8ba"))},ddb0:function(n,c,t){var r=t("da84"),s=t("fdbc"),u=t("e260"),m=t("9112"),g=t("b622"),h=g("iterator"),y=g("toStringTag"),S=u.values;for(var E in s){var x=r[E],O=x&&x.prototype;if(O){if(O[h]!==S)try{m(O,h,S)}catch{O[h]=S}if(O[y]||m(O,y,E),s[E]){for(var A in u)if(O[A]!==u[A])try{m(O,A,u[A])}catch{O[A]=u[A]}}}}},df75:function(n,c,t){var r=t("ca84"),s=t("7839");n.exports=Object.keys||function(m){return r(m,s)}},e01a:function(n,c,t){var r=t("23e7"),s=t("83ab"),u=t("da84"),m=t("5135"),g=t("861d"),h=t("9bf2").f,y=t("e893"),S=u.Symbol;if(s&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},x=function(){var U=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Q=this instanceof x?new S(U):U===void 0?S():S(U);return U===""&&(E[Q]=!0),Q};y(x,S);var O=x.prototype=S.prototype;O.constructor=x;var A=O.toString,P=String(S("test"))=="Symbol(test)",R=/^Symbol\((.*)\)[^)]+$/;h(O,"description",{configurable:!0,get:function(){var U=g(this)?this.valueOf():this,Q=A.call(U);if(m(E,U))return"";var q=P?Q.slice(7,-1):Q.replace(R,"$1");return q===""?void 0:q}}),r({global:!0,forced:!0},{Symbol:x})}},e163:function(n,c,t){var r=t("5135"),s=t("7b0b"),u=t("f772"),m=t("e177"),g=u("IE_PROTO"),h=Object.prototype;n.exports=m?Object.getPrototypeOf:function(y){return y=s(y),r(y,g)?y[g]:typeof y.constructor=="function"&&y instanceof y.constructor?y.constructor.prototype:y instanceof Object?h:null}},e177:function(n,c,t){var r=t("d039");n.exports=!r(function(){function s(){}return s.prototype.constructor=null,Object.getPrototypeOf(new s)!==s.prototype})},e260:function(n,c,t){var r=t("fc6a"),s=t("44d2"),u=t("3f8c"),m=t("69f3"),g=t("7dd0"),h="Array Iterator",y=m.set,S=m.getterFor(h);n.exports=g(Array,"Array",function(E,x){y(this,{type:h,target:r(E),index:0,kind:x})},function(){var E=S(this),x=E.target,O=E.kind,A=E.index++;return!x||A>=x.length?(E.target=void 0,{value:void 0,done:!0}):O=="keys"?{value:A,done:!1}:O=="values"?{value:x[A],done:!1}:{value:[A,x[A]],done:!1}},"values"),u.Arguments=u.Array,s("keys"),s("values"),s("entries")},e439:function(n,c,t){var r=t("23e7"),s=t("d039"),u=t("fc6a"),m=t("06cf").f,g=t("83ab"),h=s(function(){m(1)}),y=!g||h;r({target:"Object",stat:!0,forced:y,sham:!g},{getOwnPropertyDescriptor:function(E,x){return m(u(E),x)}})},e538:function(n,c,t){var r=t("b622");c.f=r},e893:function(n,c,t){var r=t("5135"),s=t("56ef"),u=t("06cf"),m=t("9bf2");n.exports=function(g,h){for(var y=s(h),S=m.f,E=u.f,x=0;x<y.length;x++){var O=y[x];r(g,O)||S(g,O,E(h,O))}}},e8b5:function(n,c,t){var r=t("c6b6");n.exports=Array.isArray||function(u){return r(u)=="Array"}},e95a:function(n,c,t){var r=t("b622"),s=t("3f8c"),u=r("iterator"),m=Array.prototype;n.exports=function(g){return g!==void 0&&(s.Array===g||m[u]===g)}},f5df:function(n,c,t){var r=t("00ee"),s=t("c6b6"),u=t("b622"),m=u("toStringTag"),g=s(function(){return arguments}())=="Arguments",h=function(y,S){try{return y[S]}catch{}};n.exports=r?s:function(y){var S,E,x;return y===void 0?"Undefined":y===null?"Null":typeof(E=h(S=Object(y),m))=="string"?E:g?s(S):(x=s(S))=="Object"&&typeof S.callee=="function"?"Arguments":x}},f772:function(n,c,t){var r=t("5692"),s=t("90e3"),u=r("keys");n.exports=function(m){return u[m]||(u[m]=s(m))}},fb15:function(n,c,t){if(t.r(c),typeof window<"u"){var r=window.document.currentScript;{var s=t("8875");r=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var u=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(t.p=u[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function m(w,C,D){return C in w?Object.defineProperty(w,C,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[C]=D,w}function g(w,C){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(w);C&&(N=N.filter(function(ee){return Object.getOwnPropertyDescriptor(w,ee).enumerable})),D.push.apply(D,N)}return D}function h(w){for(var C=1;C<arguments.length;C++){var D=arguments[C]!=null?arguments[C]:{};C%2?g(Object(D),!0).forEach(function(N){m(w,N,D[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):g(Object(D)).forEach(function(N){Object.defineProperty(w,N,Object.getOwnPropertyDescriptor(D,N))})}return w}function y(w){if(Array.isArray(w))return w}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function S(w,C){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(w)))){var D=[],N=!0,ee=!1,le=void 0;try{for(var fe=w[Symbol.iterator](),xe;!(N=(xe=fe.next()).done)&&(D.push(xe.value),!(C&&D.length===C));N=!0);}catch(Le){ee=!0,le=Le}finally{try{!N&&fe.return!=null&&fe.return()}finally{if(ee)throw le}}return D}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(w,C){(C==null||C>w.length)&&(C=w.length);for(var D=0,N=new Array(C);D<C;D++)N[D]=w[D];return N}function x(w,C){if(w){if(typeof w=="string")return E(w,C);var D=Object.prototype.toString.call(w).slice(8,-1);if(D==="Object"&&w.constructor&&(D=w.constructor.name),D==="Map"||D==="Set")return Array.from(w);if(D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D))return E(w,C)}}function O(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A(w,C){return y(w)||S(w,C)||x(w,C)||O()}function P(w){if(Array.isArray(w))return E(w)}function R(w){if(typeof Symbol<"u"&&Symbol.iterator in Object(w))return Array.from(w)}function B(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(w){return P(w)||R(w)||x(w)||B()}var Q=t("a352"),q=t.n(Q);function k(w){w.parentElement!==null&&w.parentElement.removeChild(w)}function Y(w,C,D){var N=D===0?w.children[0]:w.children[D-1].nextSibling;w.insertBefore(C,N)}var Z=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function ae(w){var C=Object.create(null);return function(N){var ee=C[N];return ee||(C[N]=w(N))}}var L=/-(\w)/g,T=ae(function(w){return w.replace(L,function(C,D){return D.toUpperCase()})});t("5db7"),t("73d9");var ue=["Start","Add","Remove","Update","End"],H=["Choose","Unchoose","Sort","Filter","Clone"],ne=["Move"],Ee=[ne,ue,H].flatMap(function(w){return w}).map(function(w){return"on".concat(w)}),Oe={manage:ne,manageAndEmit:ue,emit:H};function Ye(w){return Ee.indexOf(w)!==-1}t("caad"),t("2ca0");var Ue=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Ke(w){return Ue.includes(w)}function we(w){return["transition-group","TransitionGroup"].includes(w)}function Xe(w){return["id","class","role","style"].includes(w)||w.startsWith("data-")||w.startsWith("aria-")||w.startsWith("on")}function Te(w){return w.reduce(function(C,D){var N=A(D,2),ee=N[0],le=N[1];return C[ee]=le,C},{})}function Ae(w){var C=w.$attrs,D=w.componentData,N=D===void 0?{}:D,ee=Te(Object.entries(C).filter(function(le){var fe=A(le,2),xe=fe[0];return fe[1],Xe(xe)}));return h(h({},ee),N)}function Re(w){var C=w.$attrs,D=w.callBackBuilder,N=Te(st(C));Object.entries(D).forEach(function(le){var fe=A(le,2),xe=fe[0],Le=fe[1];Oe[xe].forEach(function(se){N["on".concat(se)]=Le(se)})});var ee="[data-draggable]".concat(N.draggable||"");return h(h({},N),{},{draggable:ee})}function st(w){return Object.entries(w).filter(function(C){var D=A(C,2),N=D[0];return D[1],!Xe(N)}).map(function(C){var D=A(C,2),N=D[0],ee=D[1];return[T(N),ee]}).filter(function(C){var D=A(C,2),N=D[0];return D[1],!Ye(N)})}t("c740");function ot(w,C){if(!(w instanceof C))throw new TypeError("Cannot call a class as a function")}function dt(w,C){for(var D=0;D<C.length;D++){var N=C[D];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(w,N.key,N)}}function ut(w,C,D){return C&&dt(w.prototype,C),w}var Mt=function(C){var D=C.el;return D},qe=function(C,D){return C.__draggable_context=D},_e=function(C){return C.__draggable_context},Ft=function(){function w(C){var D=C.nodes,N=D.header,ee=D.default,le=D.footer,fe=C.root,xe=C.realList;ot(this,w),this.defaultNodes=ee,this.children=[].concat(U(N),U(ee),U(le)),this.externalComponent=fe.externalComponent,this.rootTransition=fe.transition,this.tag=fe.tag,this.realList=xe}return ut(w,[{key:"render",value:function(D,N){var ee=this.tag,le=this.children,fe=this._isRootComponent,xe=fe?{default:function(){return le}}:le;return D(ee,N,xe)}},{key:"updated",value:function(){var D=this.defaultNodes,N=this.realList;D.forEach(function(ee,le){qe(Mt(ee),{element:N[le],index:le})})}},{key:"getUnderlyingVm",value:function(D){return _e(D)}},{key:"getVmIndexFromDomIndex",value:function(D,N){var ee=this.defaultNodes,le=ee.length,fe=N.children,xe=fe.item(D);if(xe===null)return le;var Le=_e(xe);if(Le)return Le.index;if(le===0)return 0;var se=Mt(ee[0]),$=U(fe).findIndex(function(re){return re===se});return D<$?0:le}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),w}(),wt=t("8bbf");function Ot(w,C){var D=w[C];return D?D():[]}function hn(w){var C=w.$slots,D=w.realList,N=w.getKey,ee=D||[],le=["header","footer"].map(function(re){return Ot(C,re)}),fe=A(le,2),xe=fe[0],Le=fe[1],se=C.item;if(!se)throw new Error("draggable element must have an item slot");var $=ee.flatMap(function(re,he){return se({element:re,index:he}).map(function(Se){return Se.key=N(re),Se.props=h(h({},Se.props||{}),{},{"data-draggable":!0}),Se})});if($.length!==ee.length)throw new Error("Item slot must have only one child");return{header:xe,footer:Le,default:$}}function Nn(w){var C=we(w),D=!Ke(w)&&!C;return{transition:C,externalComponent:D,tag:D?Object(wt.resolveComponent)(w):C?wt.TransitionGroup:w}}function Et(w){var C=w.$slots,D=w.tag,N=w.realList,ee=w.getKey,le=hn({$slots:C,realList:N,getKey:ee}),fe=Nn(D);return new Ft({nodes:le,root:fe,realList:N})}function Bt(w,C){var D=this;Object(wt.nextTick)(function(){return D.$emit(w.toLowerCase(),C)})}function $t(w){var C=this;return function(D,N){if(C.realList!==null)return C["onDrag".concat(w)](D,N)}}function on(w){var C=this,D=$t.call(this,w);return function(N,ee){D.call(C,N,ee),Bt.call(C,w,N)}}var rn=null,an={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(C){return C}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},ln=["update:modelValue","change"].concat(U([].concat(U(Oe.manageAndEmit),U(Oe.emit)).map(function(w){return w.toLowerCase()}))),sn=Object(wt.defineComponent)({name:"draggable",inheritAttrs:!1,props:an,emits:ln,data:function(){return{error:!1}},render:function(){try{this.error=!1;var C=this.$slots,D=this.$attrs,N=this.tag,ee=this.componentData,le=this.realList,fe=this.getKey,xe=Et({$slots:C,tag:N,realList:le,getKey:fe});this.componentStructure=xe;var Le=Ae({$attrs:D,componentData:ee});return xe.render(wt.h,Le)}catch(se){return this.error=!0,Object(wt.h)("pre",{style:{color:"red"}},se.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&Z.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var C=this;if(!this.error){var D=this.$attrs,N=this.$el,ee=this.componentStructure;ee.updated();var le=Re({$attrs:D,callBackBuilder:{manageAndEmit:function(Le){return on.call(C,Le)},emit:function(Le){return Bt.bind(C,Le)},manage:function(Le){return $t.call(C,Le)}}}),fe=N.nodeType===1?N:N.parentElement;this._sortable=new q.a(fe,le),this.targetDomElement=fe,fe.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var C=this.list;return C||this.modelValue},getKey:function(){var C=this.itemKey;return typeof C=="function"?C:function(D){return D[C]}}},watch:{$attrs:{handler:function(C){var D=this._sortable;D&&st(C).forEach(function(N){var ee=A(N,2),le=ee[0],fe=ee[1];D.option(le,fe)})},deep:!0}},methods:{getUnderlyingVm:function(C){return this.componentStructure.getUnderlyingVm(C)||null},getUnderlyingPotencialDraggableComponent:function(C){return C.__draggable_component__},emitChanges:function(C){var D=this;Object(wt.nextTick)(function(){return D.$emit("change",C)})},alterList:function(C){if(this.list){C(this.list);return}var D=U(this.modelValue);C(D),this.$emit("update:modelValue",D)},spliceList:function(){var C=arguments,D=function(ee){return ee.splice.apply(ee,U(C))};this.alterList(D)},updatePosition:function(C,D){var N=function(le){return le.splice(D,0,le.splice(C,1)[0])};this.alterList(N)},getRelatedContextFromMoveEvent:function(C){var D=C.to,N=C.related,ee=this.getUnderlyingPotencialDraggableComponent(D);if(!ee)return{component:ee};var le=ee.realList,fe={list:le,component:ee};if(D!==N&&le){var xe=ee.getUnderlyingVm(N)||{};return h(h({},xe),fe)}return fe},getVmIndexFromDomIndex:function(C){return this.componentStructure.getVmIndexFromDomIndex(C,this.targetDomElement)},onDragStart:function(C){this.context=this.getUnderlyingVm(C.item),C.item._underlying_vm_=this.clone(this.context.element),rn=C.item},onDragAdd:function(C){var D=C.item._underlying_vm_;if(D!==void 0){k(C.item);var N=this.getVmIndexFromDomIndex(C.newIndex);this.spliceList(N,0,D);var ee={element:D,newIndex:N};this.emitChanges({added:ee})}},onDragRemove:function(C){if(Y(this.$el,C.item,C.oldIndex),C.pullMode==="clone"){k(C.clone);return}var D=this.context,N=D.index,ee=D.element;this.spliceList(N,1);var le={element:ee,oldIndex:N};this.emitChanges({removed:le})},onDragUpdate:function(C){k(C.item),Y(C.from,C.item,C.oldIndex);var D=this.context.index,N=this.getVmIndexFromDomIndex(C.newIndex);this.updatePosition(D,N);var ee={element:this.context.element,oldIndex:D,newIndex:N};this.emitChanges({moved:ee})},computeFutureIndex:function(C,D){if(!C.element)return 0;var N=U(D.to.children).filter(function(xe){return xe.style.display!=="none"}),ee=N.indexOf(D.related),le=C.component.getVmIndexFromDomIndex(ee),fe=N.indexOf(rn)!==-1;return fe||!D.willInsertAfter?le:le+1},onDragMove:function(C,D){var N=this.move,ee=this.realList;if(!N||!ee)return!0;var le=this.getRelatedContextFromMoveEvent(C),fe=this.computeFutureIndex(le,C),xe=h(h({},this.context),{},{futureIndex:fe}),Le=h(h({},C),{},{relatedContext:le,draggedContext:xe});return N(Le,D)},onDragEnd:function(){rn=null}}}),Jt=sn;c.default=Jt},fb6a:function(n,c,t){var r=t("23e7"),s=t("861d"),u=t("e8b5"),m=t("23cb"),g=t("50c4"),h=t("fc6a"),y=t("8418"),S=t("b622"),E=t("1dde"),x=t("ae40"),O=E("slice"),A=x("slice",{ACCESSORS:!0,0:0,1:2}),P=S("species"),R=[].slice,B=Math.max;r({target:"Array",proto:!0,forced:!O||!A},{slice:function(Q,q){var k=h(this),Y=g(k.length),Z=m(Q,Y),ae=m(q===void 0?Y:q,Y),L,T,ue;if(u(k)&&(L=k.constructor,typeof L=="function"&&(L===Array||u(L.prototype))?L=void 0:s(L)&&(L=L[P],L===null&&(L=void 0)),L===Array||L===void 0))return R.call(k,Z,ae);for(T=new(L===void 0?Array:L)(B(ae-Z,0)),ue=0;Z<ae;Z++,ue++)Z in k&&y(T,ue,k[Z]);return T.length=ue,T}})},fc6a:function(n,c,t){var r=t("44ad"),s=t("1d80");n.exports=function(u){return r(s(u))}},fdbc:function(n,c){n.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(n,c,t){var r=t("4930");n.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(gr);var Es=gr.exports;const pr=yl(Es);function mr(a,i){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary"].forEach(n=>{i[n]&&(a[n].visible=i[n].visible,a[n].required=i[n].required)}),["family_member","education","work_experience"].forEach(n=>{i[n]&&(a[n].visible=i[n].visible,Object.keys(i[n].fields).forEach(c=>{a[n].fields[c]&&(a[n].fields[c].visible=i[n].fields[c].visible,a[n].fields[c].required=i[n].fields[c].required)}))})}const xs={class:"position-detail-container"},Is={class:"header-container"},Cs={class:"header-actions"},As={class:"detail-content"},ws={class:"detail-item"},Os={key:0,class:"detail-value"},Ts={key:1,class:"title-edit-container"},Ds={class:"title-edit-actions"},Ps={class:"detail-item"},Rs={key:0,class:"detail-value"},Vs={key:1,class:"title-edit-container"},Us={class:"title-edit-actions"},Ks={class:"detail-item"},Ms={key:0,class:"detail-value"},Bs={key:1,class:"title-edit-container"},ks={class:"title-edit-actions"},js={class:"detail-item"},Ns={key:0,class:"detail-value"},Fs={key:1,class:"title-edit-container"},Ls={class:"title-edit-actions"},Qs={class:"detail-item"},zs={key:0,class:"detail-value"},Gs={key:1,class:"title-edit-container"},$s={class:"title-edit-actions"},Js={class:"detail-item"},Ws={key:0,class:"detail-value"},Hs={key:1,class:"title-edit-container"},Ys={class:"title-edit-actions"},Xs={class:"detail-item"},Zs={class:"detail-value"},qs={class:"detail-item"},_s={key:0,class:"detail-value"},ed={key:1,class:"title-edit-container"},td={class:"title-edit-actions"},nd={class:"detail-item"},od=["innerHTML"],id={key:2,class:"title-edit-container"},rd={class:"title-edit-actions"},ad={class:"detail-item"},ld=["innerHTML"],sd={key:2,class:"title-edit-container"},dd={class:"title-edit-actions"},ud={class:"detail-item"},cd={key:0,class:"detail-value"},fd={key:1,class:"title-edit-container"},vd={class:"title-edit-actions"},pd={class:"status-cards"},md={class:"status-switch"},gd={class:"status-text"},hd={class:"section-title"},yd={class:"usage-content"},bd={key:0,class:"usage-value"},Sd={key:1,class:"title-edit-container"},Ed={class:"title-edit-actions"},xd={class:"section-title"},Id={class:"process-steps"},Cd={class:"step-number"},Ad={class:"step-content"},wd={class:"step-title"},Od={class:"section-title"},Td={class:"process-dialog-content"},Dd={key:0,class:"add-process-btn-top"},Pd={class:"process-number"},Rd={class:"process-edit-content"},Vd={class:"process-edit-desc"},Ud={class:"process-edit-btn"},Kd=["onClick"],Md={class:"dialog-footer"},Bd={class:"ai-video-steps"},kd={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},jd={class:"ai-video-options"},Nd={class:"recommended-dimensions"},Fd={class:"dimension-grid"},Ld={class:"ability-label"},Qd={class:"optional-dimensions"},zd={class:"header-row"},Gd={class:"right_btn"},$d={class:"dimension-grid"},Jd={class:"ability-label"},Wd={class:"custom-dimensions"},Hd={class:"dimension-form"},Yd={class:"dimension-row"},Xd={class:"dimension-input"},Zd={class:"dimension-input"},qd={class:"dimension-actions"},_d={key:1,class:"ai-video-content"},eu={class:"interview-settings"},tu={class:"interview-header"},nu={class:"interview-actions"},ou={class:"question-switches"},iu={class:"switch-item"},ru={class:"switch-item"},au={class:"interview-duration"},lu={class:"duration-value"},su={class:"interview-content"},du={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},uu={key:0,class:"no-questions"},cu={key:1,class:"question-list"},fu={class:"question-card"},vu={class:"question-header"},pu={class:"question-title"},mu={class:"title-content"},gu={class:"question-content"},hu={class:"question-number"},yu={style:{color:"#0017ab"}},bu={class:"question-tags"},Su={key:0,class:"more-tags-indicator"},Eu={class:"question-actions",style:{"margin-top":"0px"}},xu={class:"question-info"},Iu={class:"info-item"},Cu={key:0,class:"question-actions"},Au={class:"answer-limit"},wu={class:"answer-limit"},Ou={key:1,class:"question-actions"},Tu={class:"answer-limit"},Du={class:"multi-dimension-questions"},Pu={class:"dimension-list"},Ru={class:"dimension-header"},Vu={class:"dimension-info"},Uu={class:"ability-name"},Ku=["onClick"],Mu={key:2,class:"ai-video-content"},Bu={class:"system-settings"},ku={class:"setting-section"},ju={style:{display:"flex","align-items":"flex-start"}},Nu={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},Fu=["src"],Lu={class:"interviewer-avatars"},Qu=["onClick"],zu={class:"avatar-wrapper"},Gu=["src","alt"],$u=["title"],Ju={class:"setting-item",style:{border:"none"}},Wu={class:"setting-options"},Hu={class:"interview-settings"},Yu={class:"setting-item"},Xu={class:"setting-item"},Zu={class:"setting-options"},qu={class:"setting-item"},_u={class:"drawer-footer"},ec={class:"video-lecture-form"},tc={class:"form-item"},nc={class:"upload-area"},oc={class:"form-item"},ic={class:"dialog-footer"},rc={class:"ai-chat-content"},ac={class:"chat-settings"},lc={class:"chat-actions"},sc={class:"chat-questions"},dc={key:0,class:"empty-questions"},uc={key:1,class:"question-list"},cc={class:"question-card"},fc={class:"question-header"},vc={class:"question-title"},pc={class:"question-number"},mc={class:"question-actions"},gc={class:"weight-control"},hc={class:"answer-limit"},yc={class:"question-info"},bc={class:"info-item"},Sc={class:"info-item"},Ec={class:"info-item"},xc={class:"drawer-footer"},Ic={class:"question-form"},Cc={class:"form-item"},Ac={class:"form-item"},wc={class:"form-item"},Oc={class:"competency-config"},Tc={class:"tag-name"},Dc={class:"form-tip"},Pc={class:"form-item"},Rc={class:"form-item"},Vc={key:0,class:"form-item"},Uc=["onClick"],Kc={style:{display:"flex","justify-content":"space-between","margin-top":"10px"}},Mc={class:"form-item"},Bc={class:"form-item"},kc={class:"form-item"},jc={class:"form-item"},Nc={class:"dialog-footer"},Fc={class:"question-select-content"},Lc={class:"search-bar"},Qc={class:"search-inputs"},zc={class:"question-lists"},Gc={class:"pagination-container"},$c={class:"dialog-footer"},Jc={class:"data-collection-form"},Wc={class:"field-config-panel"},Hc={class:"field-config-list"},Yc={class:"field-config-item"},Xc={class:"field-label"},Zc={class:"field-config-item"},qc={class:"field-label"},_c={class:"field-config-item sub-field"},ef={class:"field-label"},tf={class:"field-config-item"},nf={class:"field-label"},of={class:"field-config-item sub-field"},rf={class:"field-label"},af={class:"field-config-item"},lf={class:"field-label"},sf={class:"field-config-item"},df={class:"field-label"},uf={class:"field-config-item sub-field"},cf={class:"field-label"},ff={class:"dialog-footer"},vf={class:"resume-collection-form"},pf={class:"form-item"},mf={class:"dialog-footer"},gf={class:"code-test-form"},hf={class:"form-item"},yf={class:"form-item"},bf={class:"switch-label"},Sf={class:"form-item"},Ef={class:"test-paper-selector"},xf={key:0,class:"empty-paper"},If={key:1,class:"selected-paper"},Cf={class:"paper-info"},Af={class:"paper-title"},wf={class:"paper-meta"},Of={class:"paper-actions"},Tf={class:"dialog-footer"},Df={class:"typing-test-form"},Pf={class:"form-item"},Rf={class:"article-selection"},Vf={class:"form-item"},Uf={class:"form-item"},Kf={class:"time-input-container"},Mf={class:"form-item"},Bf={class:"upload-area"},kf={class:"form-item"},jf={class:"form-item"},Nf={class:"form-item"},Ff={class:"form-item"},Lf={class:"criteria-options"},Qf={class:"dialog-footer"},zf={class:"interview-settings-content"},Gf={class:"settings-section"},$f={class:"setting-item"},Jf={class:"setting-item"},Wf={class:"setting-item"},Hf={class:"setting-item"},Yf={class:"setting-item"},Xf={class:"settings-section"},Zf={class:"setting-item"},qf={class:"setting-info"},_f={class:"setting-desc-container"},ev={class:"setting-item"},tv={class:"setting-info"},nv={key:0,class:"setting-desc-container"},ov={class:"setting-desc"},iv={key:1,class:"desc-edit-container"},rv={class:"desc-edit-actions"},av={class:"setting-item"},lv={class:"setting-info"},sv={key:0,class:"setting-desc-container"},dv={class:"setting-desc"},uv={key:1,class:"desc-edit-container"},cv={class:"desc-edit-actions"},fv={class:"setting-item"},vv={class:"setting-info"},pv={key:0,class:"setting-desc-container"},mv={class:"setting-desc"},gv={key:1,class:"desc-edit-container"},hv={class:"desc-edit-actions"},yv={class:"dialog-footer"},bv={class:"question-select-content"},Sv={class:"search-bar"},Ev={class:"search-inputs"},xv={class:"question-lists"},Iv={class:"pagination-container"},Cv={class:"dialog-footer"},Av={class:"candidate-questions-form"},wv={class:"form-item"},Ov={class:"form-item"},Tv={class:"form-item"},Dv={class:"dialog-footer"},Pv=al({__name:"index",setup(a){const i=ll(),o=sl(),d=J(o.query.id),n=J(!1),c=J(!1),t=et({title:"",job_category:"",job_type_display:"",city:"",location:[],location_str:"",address_detail:"",benefits:[],requirements:"",job_type:0,salary_range:"",department:"",end_date:"",description:"",work_experience_required:"",education_required:"",competency_tags:[],options:[],status:0}),r=et([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"常识问题",description:"常识问题",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理问题",description:"心理问题",active:!0,type:"psychological_problem",visible:!0},{id:7,name:"候选人提问",description:"时长5分钟,最多3个问题",active:!0,type:"candidate_questions",visible:!0,config:{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}},{id:3,name:"已通过",description:"已通过",active:!0,type:"passed",visible:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1,type:"rejected",visible:!0}]),s=J(!1),u=[{label:"AI考察",value:"ai_video"},{label:"视频宣讲",value:"video_presentation"},{label:"资料收集",value:"data_collection"},{label:"简历收集",value:"resume_collection"},{label:"候选人提问",value:"candidate_questions"},{label:"心理问题",value:"psychological_problem"},{label:"常识问题",value:"common_sense"}],m=J(!1),g=v=>{gt.pageSize=v,so({page:gt.page,limit:gt.pageSize,question_form:Je.question_form}).then(e=>{e.data&&(gt.value=e.data.items,Yt.page=e.data.page,Yt.pageSize=e.data.limit,no.value=e.data.total)})},h=v=>{gt.page=v,so({page:gt.page,limit:gt.pageSize,question_form:Je.question_form}).then(e=>{e.data&&(gt.value=e.data.items,Yt.page=e.data.page,Yt.pageSize=e.data.limit,no.value=e.data.total)})},y=async()=>{const v=Ht.value.map(e=>e.id);if(console.log("selectedQuestionIds",v),v.length===0){V.warning("请至少选择一个问题");return}try{await er({position_id:o.query.id,question_id:v,duration:60,tenant_id:"1"});const e=gt.value.filter(F=>F.selected);Ht.value.push(...e),V.success("问题添加成功"),m.value=!1}catch(e){console.error("添加问题失败:",e),V.error("添加问题失败,请重试")}},S=()=>{wn.value=!0,nr({position_id:o.query.id}).then(v=>{v.data.forEach(e=>{e.selected=!1}),Pt.value=v.data,console.log("res",v),wn.value=!1}).catch(v=>{console.log("err",v),wn.value=!1})},E=Il(),x=v=>{if(console.log("地址选择变化:",v),v&&Array.isArray(v)&&v.length>0){const[e,F,I]=v,K=E.find(me=>me.code===e);let z;K&&K.children&&(z=K.children.find(me=>me.code===F),z&&z.children&&z.children.find(me=>me.code===I))}},O=(v,e)=>{},A=J(-1),P=J(!1),R=et({top:"0px",left:"0px"}),B=J(!1),U=et({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),Q=J(1),q=J([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);et({min:0,max:100,minScore:0,maxScore:0});const k=v=>{console.log(v)};J("standard"),J(!1);const Y=J(!1),Z=et({title:"",videoFile:null,description:"",broadcastType:"required"}),ae=J(!1);J(15),J(5);const L=J(!1),T=et({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""}),ue=v=>v.map(e=>e.id),H=J([]),ne=J([{label:"后端开发",value:"backend"},{label:"前端开发",value:"frontend"},{label:"产品经理",value:"product_manager"},{label:"项目经理",value:"project_manager"},{label:"测试工程师",value:"test_engineer"}]),Ee=J([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),Oe=J([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),Ye=()=>{Object.assign(T,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""})},Ue=()=>{L.value=!1,Ye()},Ke=async()=>{if(!T.content){V.error("请输入题目内容");return}if(Ya())try{const v={id:T.id,content:T.content,competency_tags:T.competency_tags,options:T.options,weight:T.weight,level:T.level,question_form:T.question_form,position:T.position,category:T.category,suggestedDuration:T.suggestedDuration,scoring_reference:T.scoring_reference};console.log(v),L.value=!1,Ye()}catch(v){console.error("添加问题失败:",v),V.error("添加问题失败,请重试")}},we=J(!1),Xe=et({isRequired:!1,questions:[]});J([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const Te=J(!1),Ae=et({title:"简历收集",isRequired:!0,steps:4}),Re=()=>{Te.value=!0},st=()=>{Te.value=!1,Object.assign(Ae,{title:"简历收集",isRequired:!0,steps:4})},ot=()=>{const v={id:Date.now(),name:Ae.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Ae}};r.splice(A.value,0,v),Te.value=!1,V.success("简历收集步骤已添加"),st()},dt=J(!1),ut=et({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Mt=async()=>{try{const v=o.query.id;if(!v){V.error("职位ID不存在");return}const e=Array.isArray(v)?v[0]:v,F=v,I=await ml(v);if(I&&I.data){Object.assign(t,I.data),H.value=I.data.competency_tags;const K=await Vn(v);K&&K.data&&(Me.value=K.data.id,K.data.enable_psychological_test!==void 0&&(ut.enableScoreQuestions=K.data.enable_psychological_test),K.data.enable_color_blind_test!==void 0&&(ut.enableColorBlindQuestions=K.data.enable_color_blind_test)),n.value=t.status===1}}catch(v){console.error("获取职位详情失败:",v),V.error("获取职位详情失败")}},qe=()=>{i.push("/position/list")},_e=()=>{i.push("/position/list")},Ft=()=>{V.success("分享链接已复制到剪贴板")},wt=async v=>{const e=o.query.id;try{const F=v?1:0;if(v){const I=await gl({position_id:e,tenant_id:1});if(I.code===2e3){const{is_all_completed:K,total_questions:z}=I.data;if(!K||z<=0){V.warning(`无法开启职位,原因:${z<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),n.value=!v;return}}else{V.error("检查视频状态失败,请稍后重试"),n.value=!v;return}}await It({id:e,status:F}),t.status=F,V.success(`职位已${v?"开启":"关闭"}`)}catch(F){console.error("修改状态失败:",F),V.error("修改状态失败"),n.value=!v}},Ot=()=>{s.value=!0},hn=()=>{s.value=!1,V.success("招聘流程已更新")},Nn=()=>{s.value=!1},Et=(v,e)=>{v.type=="ai_video"&&(B.value=!1),v.type=="ai_chat"&&(ae.value=!1),v.type=="ai_video"&&kt({id:Me.value,enable_open_questions:!1}).then(F=>{F.code==2e3?V.success("删除成功"):V.error("删除失败")}),v.type=="psychological_problem"&&kt({id:Me.value,enable_scoring_questions:!1}).then(F=>{F.code==2e3?V.success("删除成功"):V.error("删除失败")}),v.type=="common_sense"&&kt({id:Me.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(F=>{F.code==2e3?V.success("删除成功"):V.error("删除失败")}),r.splice(e,1)},Bt=v=>({0:"未发布",1:"已发布",2:"已结束"})[v]||"未知状态",$t=v=>({0:"info",1:"success",2:"danger"})[v]||"info",on=v=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[v]||"未知",rn=(v,e)=>{A.value=v,P.value=!0;const F=e.currentTarget,I=F.closest(".process-dialog-content");if(I){const K=F.getBoundingClientRect(),z=I.getBoundingClientRect(),me=K.bottom-z.top+5,_=K.left-z.left;R.top=`${me}px`,R.left=`${_}px`}e.stopPropagation()},an=async(v,e)=>{if(v==="ai_video"&&kt({id:Me.value,enable_open_questions:!0}).then(K=>{K.code==2e3?(r[2].visible=!0,P.value=!1):V.error("更新配置失败")}),v==="common_sense"&&kt({id:Me.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(K=>{K.code==2e3?(r[3].visible=!0,console.log("recruitmentProcess",r),P.value=!1):V.error("更新配置失败")}),v==="psychological_problem"&&kt({id:Me.value,enable_scoring_questions:!0}).then(K=>{K.code==2e3?(r[4].visible=!0,P.value=!1):V.error("更新配置失败")}),v==="post_render_questions"){nl.value=!0,P.value=!1;return}if(r.find(K=>!!(K.type&&K.type===v||K.name===e))){V.warning(`"${e}"步骤已存在,不能重复添加`),P.value=!1;return}if(v==="ai_chat"){ae.value=!0,P.value=!1;return}if(v==="video_presentation"){D(),P.value=!1;return}if(v==="data_collection"){const K=await Vn(o.query.id);K&&K.data?(Me.value=K.data.id,mr(G,K.data.profile_fields_config),we.value=!0,P.value=!1):(we.value=!0,P.value=!1);return}if(v==="resume_collection"){Re(),P.value=!1;return}if(v==="code_test"){Pr(),P.value=!1;return}if(v==="typing_test"){Qn.value=!0,P.value=!1;return}if(v==="candidate_questions"){On.value=!0,P.value=!1;return}const I={id:Date.now(),name:e,description:e,active:!0,type:v,visible:!0};console.log("newStep",I),r.splice(A.value,0,I),P.value=!1},ln=async()=>{if(Q.value<3){if(Q.value===1){const v=Pt.value.filter(e=>e.selected);if(v.length===0){V.warning("请至少选择一个胜任力考核维度");return}try{q.value=v.map(e=>({label:e.name,value:e.name.toLowerCase().replace(/\s+/g,"_"),id:e.id,description:e.description||"",level:"CC",expanded:!1,isNew:!0}))}catch(e){console.error("处理胜任力标签失败:",e),V.error("处理胜任力标签失败");return}}if(Q.value===2){if($.value.length===0){V.warning("请至少添加一个面试题目");return}try{await Sa()}catch(v){console.error("保存题目失败:",v),V.error("保存题目失败");return}}if(Q.value===3){const v=Ea();if(!v.isValid){v.messages.forEach(F=>{V.warning(F)});return}const e=Ca();console.log("完整的面试配置:",e)}Q.value++}else Jt()},sn=()=>{Q.value>1&&Q.value--},Jt=async()=>{var K;if(!vt.value||!vt.value.id){V.warning("请选择面试官形象");return}const v={id:vt.value.id,name:vt.value.name,avatar_url:vt.value.avatar_url||vt.value.image},e=ni(),F={enableScoreQuestions:ut.enableScoreQuestions,enableColorBlindQuestions:ut.enableColorBlindQuestions};try{if(await It({id:o.query.id,status:0}),t.status=0,n.value=!1,Me.value==0){const z=await li({position_id:o.query.id,digital_human_id:vt.value.id});if(z.code==2e3){V.success("配置保存成功");try{const me={config_id:((K=z.data)==null?void 0:K.id)||z.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await si(me),console.log("开场白生成成功"),B.value=!1,Q.value=1,await new Promise(ve=>setTimeout(ve,4e3))):console.log("无开场白配置,跳过开场白生成"),await tr(me),V.success("视频开始生成")}catch(me){console.error("获取开场白和视频失败:",me),V.warning("视频生成中,请稍后")}}else V.error("配置保存失败")}else if((await kt({id:Me.value,digital_human_id:vt.value.id})).code==2e3){V.success("配置保存成功");try{const me={config_id:Me.value};console.log("开始生成开场白..."),await si(me),console.log("开场白生成成功"),B.value=!1,Q.value=1,console.log("等待4秒后开始生成视频..."),await Oa(4e3),console.log("开始生成视频..."),await tr(me),console.log("视频生成请求已发送"),V.success("视频开始生成")}catch(me){console.error("获取开场白和视频失败:",me),V.warning("视频生成中,请稍后")}}else V.error("配置保存失败")}catch(z){console.error("更新职位状态失败:",z),V.error("更新职位状态失败");return}console.log("保存时选中的面试官:",v),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",F);const I={id:Date.now(),name:"AI考察",description:`已选择${q.value.length}项能力测评`,active:!0,type:"ai_video",abilities:q.value.map(z=>z.value),interviewer:v,settings:e};r.splice(A.value,0,I),B.value=!1,Q.value=1,V.success("AI考察步骤已添加")},w=()=>{B.value=!1,Q.value=1},C=v=>{},D=()=>{Y.value=!0},N=()=>{Y.value=!1,Object.assign(Z,{title:"",videoFile:null,description:"",broadcastType:"required"})},ee=()=>{const v={id:Date.now(),name:Z.title||"视频宣讲",description:Z.description||"视频宣讲",active:!0,type:"video_presentation",config:{...Z}};r.splice(A.value,0,v),Y.value=!1,V.success("视频宣讲步骤已添加"),N()},le=()=>{const v={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};r.splice(A.value,0,v),ae.value=!1,V.success("AI实时对话步骤已添加")},fe=()=>{ae.value=!1},xe=()=>{if(!De.title.trim()){V.warning("请输入环节名称");return}if(De.duration<=0){V.warning("提问时长必须大于0分钟");return}if(De.maxQuestions<=0){V.warning("最多提问数量必须大于0");return}if(ao.value>=0){const v=r[ao.value];v.name=De.title,v.description=`时长${De.duration}分钟,最多${De.maxQuestions}个问题`,v.config={...De},V.success("候选人提问环节已更新")}else{const v={id:Date.now(),name:De.title,description:`时长${De.duration}分钟,最多${De.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...De}};r.splice(A.value,0,v),V.success("候选人提问环节已添加")}On.value=!1,se()},Le=()=>{On.value=!1,se()},se=()=>{ao.value=-1,Object.assign(De,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},$=J([]),re=ri(()=>$.value.reduce((v,e)=>{switch(e.question_form){case 0:return v+60;case 1:return v+30;case 2:return v+30;default:return v+30}},0)),he=ri(()=>{const v=re.value;if(v<60)return`${v}秒`;const e=Math.floor(v/60),F=v%60;return F>0?`${e}分${F}秒`:`${e}分钟`}),Se=()=>{L.value=!0},it=()=>{Mo.value={question:"",question_form:null,competency_tags:[],position_types:[],category_id:null,tags:[],recommended_duration:60,status:1,is_required_correct:!1,is_system:!1,sort:1,options:[],scoring_reference:"",blank_answer_template:[]},Mi.value=!1,to.value=!0},Fn=async v=>{try{const e=await Al({...v,tenant_id:1});if(e&&e.code===2e3){if(V.success("题目创建成功"),console.log(e),e.data){const F={id:e.data.id||e.data,title:v.question,question_form:v.question_form,question_form_name:yn(v.question_form),scoring_reference:v.scoring_reference||"",competency_tags:v.competency_tags||[],options:v.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected"};$.value.push(F)}to.value=!1}else V.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),V.error("题目创建失败,请重试")}},Co=()=>{to.value=!1,Mo.value={}},yn=v=>({0:"开放问题",1:"单选题",2:"多选题",3:"色盲题",4:"得分题",5:"判断题",6:"填空题"})[v]||"未知类型",Ti=v=>{const e=$.value[v];console.log(e),Object.assign(T,e),L.value=!0,el()},Di=v=>{Zi.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{$.value.splice(v,1),V.success("删除成功")})},Tr=()=>{we.value=!1,Object.assign(Xe,{isRequired:!1,questions:[]})};dl(()=>{Mt(),Vi(),Aa(),Dr()}),ul(()=>{Ki()});const Dr=async()=>{try{const v=o.query.id;if(v){const e=await Vn(v);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(ut.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(ut.enableColorBlindQuestions=e.data.enable_color_blind_test),r[2].visible=e.data.question_form_switches.enable_open_questions,r[3].visible=e.data.question_form_switches.enable_single_choice||e.data.question_form_switches.enable_multiple_choice||e.data.question_form_switches.enable_image_choice||e.data.question_form_switches.enable_fill_blank,r[4].visible=e.data.question_form_switches.enable_scoring_questions)}}catch(v){console.error("初始化配置状态失败:",v)}},Ln=J(!1),rt=et({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Pr=()=>{Ln.value=!0},Pi=()=>{Ln.value=!1,Object.assign(rt,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},Rr=()=>{if(!rt.selectedPaper){V.warning("请添加考试试卷");return}const v={id:Date.now(),name:rt.title,description:`${rt.selectedPaper.title}`,active:!0,type:"code_test",config:{...rt}};r.splice(A.value,0,v),Ln.value=!1,V.success("代码笔试步骤已添加"),Pi()},Vr=()=>{rt.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},Ur=()=>{V.info("查看试卷功能开发中")},Kr=()=>{V.info("更换试卷功能开发中")},Mr=()=>{rt.selectedPaper=null},Qn=J(!1),nt=et({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),Ri=()=>{Qn.value=!1,Object.assign(nt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},Br=()=>{const v={id:Date.now(),name:nt.title,description:`打字测试 ${nt.duration}分钟`,active:!0,type:"typing_test",config:{...nt}};r.splice(A.value,0,v),Qn.value=!1,V.success("打字测试步骤已添加"),Ri()},Ao=J(!1),bn=J(""),kr=()=>{bn.value=t.title,Ao.value=!0},jr=()=>{Ao.value=!1},Nr=async()=>{if(!bn.value.trim()){V.warning("职位名称不能为空");return}try{const v=o.query.id;await It({id:v,title:bn.value.trim()}),t.title=bn.value.trim(),Ao.value=!1,V.success("职位名称已更新")}catch(v){console.error("更新职位名称失败:",v),V.error("更新职位名称失败")}},wo=J(!1),Lt=J(""),Fr=()=>{if(!t.location)Lt.value="";else if(Array.isArray(t.location))Lt.value=t.location;else if(typeof t.location=="string")try{const e=t.location.replace(/[\[\]']/g,"").split(",").map(z=>z.trim()),F=E.find(z=>z.name===e[0]);let I,K;F&&F.children&&(I=F.children.find(z=>z.name===e[1]),I&&I.children&&(K=I.children.find(z=>z.name===e[2]))),Lt.value=[F==null?void 0:F.code,I==null?void 0:I.code,K==null?void 0:K.code].filter(Boolean)}catch(v){console.error("解析地址失败:",v),Lt.value=""}wo.value=!0},Lr=()=>{wo.value=!1},Qr=async()=>{try{const v=o.query.id,e=[];if(Lt.value&&Array.isArray(Lt.value)){const[F,I,K]=Lt.value,z=E.find(ve=>ve.code===F);let me,_;z&&(e.push(z.name),z.children&&(me=z.children.find(ve=>ve.code===I),me&&(e.push(me.name),me.children&&(_=me.children.find(ve=>ve.code===K),_&&e.push(_.name)))))}await It({id:v,location:e}),t.location=e,wo.value=!1,V.success("工作地点已更新")}catch(v){console.error("更新工作地点失败:",v),V.error("更新工作地点失败")}},Oo=J(!1),zn=J(""),zr=()=>{zn.value=t.salary_range||"",Oo.value=!0},Gr=()=>{Oo.value=!1},$r=async()=>{try{const v=o.query.id;await It({id:v,salary_range:zn.value.trim()}),t.salary_range=zn.value.trim(),Oo.value=!1,V.success("职位薪资已更新")}catch(v){console.error("更新职位薪资失败:",v),V.error("更新职位薪资失败")}},To=J(!1),Gn=J(""),Jr=()=>{Gn.value=t.work_experience_required||"",To.value=!0},Wr=()=>{To.value=!1},Hr=async()=>{try{const v=o.query.id;await It({id:v,work_experience_required:Gn.value}),t.work_experience_required=Gn.value,To.value=!1,V.success("工作经验已更新")}catch(v){console.error("更新工作经验失败:",v),V.error("更新工作经验失败")}},Do=J(!1),$n=J(""),Yr=()=>{$n.value=t.education_required||"",Do.value=!0},Xr=()=>{Do.value=!1},Zr=async()=>{try{const v=o.query.id;await It({id:v,education_required:$n.value}),t.education_required=$n.value,Do.value=!1,V.success("学历要求已更新")}catch(v){console.error("更新学历要求失败:",v),V.error("更新学历要求失败")}},Po=J(!1),Jn=J(""),qr=()=>{Jn.value=t.department||"",Po.value=!0},_r=()=>{Po.value=!1},ea=async()=>{try{const v=o.query.id;await It({id:v,department:Jn.value.trim()}),t.department=Jn.value.trim(),Po.value=!1,V.success("所属部门已更新")}catch(v){console.error("更新所属部门失败:",v),V.error("更新所属部门失败")}},Ro=J(!1),Wn=J(""),ta=()=>{Wn.value=t.end_date||"",Ro.value=!0},na=()=>{Ro.value=!1},oa=async()=>{try{const v=o.query.id;await It({id:v,end_date:Wn.value}),t.end_date=Wn.value,Ro.value=!1,V.success("截止日期已更新")}catch(v){console.error("更新截止日期失败:",v),V.error("更新截止日期失败")}},Hn=J(!1),Yn=J(""),ia=()=>{Yn.value=t.requirements||"",Hn.value=!0},ra=()=>{Hn.value=!1},aa=async()=>{try{const v=o.query.id;await It({id:v,requirements:Yn.value}),t.requirements=Yn.value,Hn.value=!1,V.success("职位要求已更新")}catch(v){console.error("更新职位要求失败:",v),V.error("更新职位要求失败")}},Xn=J(!1),Zn=J(""),la=()=>{Zn.value=t.description||"",Xn.value=!0},sa=()=>{Xn.value=!1},da=async()=>{try{const v=o.query.id;await It({id:v,description:Zn.value}),t.description=Zn.value,Xn.value=!1,V.success("职位描述已更新")}catch(v){console.error("更新职位描述失败:",v),V.error("更新职位描述失败")}},Sn=J(!1),qn=J(0),ua=()=>{qn.value=t.job_type||0,Sn.value=!0},ca=()=>{Sn.value=!1},fa=async()=>{try{const v=o.query.id;await It({id:v,job_type:qn.value}),t.job_type=qn.value,Sn.value=!1,V.success("职位性质已更新")}catch(v){console.error("更新职位性质失败:",v),V.error("更新职位性质失败")}},Pt=J([]),Vo=J(!1),En=J([]),Vi=async()=>{try{const v=await Tl({page:1,pageSize:1e3});v&&v.data}catch(v){console.error("获取能力标签列表失败:",v),V.error("获取能力标签列表失败")}},va=async()=>{var v;await Vi(),En.value=((v=t.competency_tags)==null?void 0:v.map(e=>e.id))||[],H.value.forEach(e=>{e.selected=En.value.includes(e.id)}),Vo.value=!0},pa=()=>{Vo.value=!1},ma=async()=>{try{const v=o.query.id;await It({id:v,competency_tags:En.value}),t.competency_tags=H.value.filter(e=>En.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Vo.value=!1,V.success("能力标签已更新")}catch(v){console.error("更新能力标签失败:",v),V.error("更新能力标签失败")}},ga=J(null),Me=J(0),Uo=async v=>{if(v.name==="资料收集"){const e=await Vn(o.query.id);e&&e.data?(Me.value=e.data.id,mr(G,e.data.profile_fields_config),we.value=!0,P.value=!1):(we.value=!0,P.value=!1);return}if(v.name==="AI考察"){if(v.action==="delete"){await tl();return}const e=await Vn(o.query.id);wn.value=!0,ga.value=v,B.value=!0,Q.value=1;try{const F=await _i({position_id:o.query.id,page:1,limit:20});F&&F.data&&F.data.dataList&&($.value=F.data.dataList.map(K=>(K.content=K.question,K.title=K.question,K.competency_tags=K.competency_tag_info,K.source="ai_generated",K)));const I=await Kl({position_id:o.query.id,page:1,limit:50});if(console.log("existingTags",I),I&&I.data&&I.data.items.length>0)I.data.items.forEach(K=>{K.importance=1,K.selected=!1,t.latest_competency_snapshot&&Array.isArray(t.latest_competency_snapshot)&&(K.selected=t.latest_competency_snapshot.some(z=>z.id===K.id))}),Pt.value=I.data.items;else{const K=await nr({position_id:o.query.id});if(K&&K.data){K.data.forEach(z=>{z.selected=!1}),Pt.value=K.data;try{await Ul({position_id:o.query.id,tags:Pt.value}),V.success("胜任力标签保存成功")}catch(z){console.error("保存胜任力标签失败:",z),V.error("胜任力标签保存失败")}}}e&&e.data&&(Me.value=e.data.id)}catch(F){console.error("获取或生成能力标签失败:",F),V.error("获取或生成能力标签失败")}finally{wn.value=!1}Object.keys(U).forEach(F=>{U[F]=!1})}v.name==="常识问题"&&so({page:1,limit:20}).then(e=>{e.data&&(gt.value=e.data.items,Yt.page=e.data.page,Yt.pageSize=e.data.limit,no.value=e.data.total,m.value=!0)}),v.name==="心理问题"&&so({page:1,limit:30,question_form:4}).then(e=>{e.data&&(Je.question_form=4,gt.value=e.data.items,Yt.page=e.data.page,Yt.pageSize=e.data.limit,no.value=e.data.total,m.value=!0)})},Wt=J(""),xn=J(""),ha=J(!1),ya=async()=>{if(!Wt.value.trim()){V.warning("请输入维度名称");return}if(Pt.value.find(e=>e.name===Wt.value.trim())){V.warning("该维度名称已存在,请重新输入");return}try{const e=await Bl({name:Wt.value.trim(),description:xn.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const F=e.data.id;await kl({tag_ids:[F],position_ids:[d.value]});const I={id:F,name:Wt.value.trim(),description:xn.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Pt.value.push(I),ha.value,Wt.value="",xn.value="",console.log("添加新维度成功:",I),console.log("当前备选维度列表:",Pt.value)}catch(e){console.error("添加自定义维度失败:",e),V.error("添加自定义维度失败,请重试")}},at=et({keepVideo:!1,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),ei=J([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),vt=J(ei.value[0]),ti=J(""),ba=v=>{vt.value=v,console.log("选中的面试官信息:",{id:v.id,name:v.name,avatar_url:v.avatar_url||v.image}),ti.value=v.avatar_url,V.success(`已选择面试官:${v.name}`)},Sa=async()=>{const v=$.value.filter(F=>F.source==="ai_generated"),e=$.value.filter(F=>F.source==="custom_selected");if(console.log("AI生成的题目:",v),console.log("自定义选择的题目:",e),v.length>0&&(await Pl({draft_ids:v.map(F=>F.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const F={position_id:o.query.id,question_id:{question_id:e},duration:60,tenant_id:1};console.log("自定义选择的题目需要调用专门的接口处理");const I=await er(F);I&&I.code===2e3?V.success("自定义选择的题目已保存"):V.error("自定义选择的题目保存失败")}},ni=()=>{const v={keepVideo:at.keepVideo,interruptionMode:at.interruptionMode,followUpStyle:at.followUpStyle,smartFollowUp:at.smartFollowUp};return console.log("当前面试设置:",v),v},_n=(v,e)=>{switch(console.log(`面试设置 ${v} 已更改为:`,e),v){case"keepVideo":console.log("回答视频保留设置:",e?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",e==="previous"?"从上一问重新作答":"从当前问题作答");break;case"followUpStyle":console.log("追问风格:",e);break;case"smartFollowUp":console.log("智慧追问设置:",e?"开启":"关闭");break}},Ea=()=>{const v=ni(),e={isValid:!0,messages:[]};return v.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},xa=v=>{c.value=!0,console.log("开始拖拽题目:",v)},Ia=v=>{c.value=!1,console.log("拖拽结束:",v),console.log("当前题目顺序:",$.value),V.success("题目顺序已更新")},Ca=()=>({interviewer:{id:vt.value.id,name:vt.value.name,avatar_url:vt.value.avatar_url||vt.value.image},settings:ni(),questionSettings:{enableScoreQuestions:ut.enableScoreQuestions,enableColorBlindQuestions:ut.enableColorBlindQuestions},abilities:q.value,questions:$.value,currentStep:Q.value}),Aa=async()=>{const v=await Rl({page:1,pageSize:1e3});v&&v.data&&(ei.value=v.data)},Ui=(v,e)=>{e?eo.value.push({name:v.name,description:v.description||"暂无描述"}):eo.value=eo.value.filter(F=>F.name!==v.name)},wa=v=>{Zi.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=q.value[v];q.value.splice(v,1),eo.value=eo.value.filter(I=>I.name!==e.label);const F=Pt.value.find(I=>I.name===e.label);F&&(F.selected=!1),V.success("胜任力标签已删除")}).catch(()=>{})},eo=J([]),Oa=v=>new Promise(e=>setTimeout(e,v));let Qt=null;const Ta=async(v,e=300,F=2e3)=>{let I=0;Qt={cancelled:!1};const K=Qt;return new Promise((z,me)=>{const _=async()=>{try{if(K.cancelled){console.log("轮询已被取消"),z(null);return}I++,console.log(`第${I}次轮询获取草稿列表...`);const ve=await _i(v);if(K.cancelled){console.log("轮询已被取消"),z(null);return}if(ve&&ve.data&&ve.data.dataList&&ve.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Qt=null,z(ve);return}if(I>=e){console.log("轮询达到最大次数,停止轮询"),Qt=null,z(ve);return}setTimeout(_,F)}catch(ve){if(console.error(`第${I}次轮询失败:`,ve),K.cancelled){console.log("轮询已被取消"),z(null);return}I<e?setTimeout(_,F):(Qt=null,me(ve))}};_()})},Ki=()=>{Qt&&(Qt.cancelled=!0,Qt=null,console.log("轮询已被手动取消"))},Da=()=>{Ki(),dt.value=!1,V.info("已取消AI自动组题")},Ko=J(!1),dn=J(""),gt=J([]),Ht=J([]),to=J(!1),Mo=J({}),Mi=J(!1),Bi=J(0),no=J(0),Je=et({page:1,pageSize:10,keyword:"",question_form:null}),Yt=et({page:1,limit:20,keyword:"",question_form:null}),oi=async()=>{try{const v={...Je,keyword:dn.value,...Je.question_form!==null&&{question_form:Je.question_form}},e=await so(v);e&&e.data&&(gt.value=e.data.items,Bi.value=e.data.total)}catch(v){console.error("获取题目列表失败:",v),V.error("获取题目列表失败")}},Xt=()=>{Je.page=1,oi()},Pa=v=>{Je.pageSize=v,oi()},Ra=v=>{Je.page=v,oi()},ki=v=>{Ht.value=v},ji=()=>{Ko.value=!1,Ht.value=[],dn.value=""},Va=()=>{if(Ht.value.length===0){V.warning("请至少选择一个题目");return}console.log(Ht.value);const v=Ht.value.map(e=>({id:e.id||Date.now(),title:e.question||e.title,ability:e.ability||"未设置",content:e.content||e.question,target:e.target||"未设置",competency_tags:e.competency_tags||[],question_form_name:e.question_form_name,scoring_reference:e.scoring_reference,question_form:e.question_form,is_required_correct:e.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:e.options||[],source:"custom_selected"}));$.value.push(...v),Ko.value=!1,Ht.value=[],dn.value=""},G=et({name:{visible:!0,label:"姓名",required:!0},gender:{visible:!0,label:"性别",required:!0},three_period:{visible:!0,label:"是否为三期",required:!0},phone:{visible:!0,label:"手机号",required:!0},id_card:{visible:!0,label:"身份证号",required:!0},ethnicity:{visible:!0,label:"民族",required:!0},height:{visible:!0,label:"身高(cm)",required:!1},weight:{visible:!0,label:"体重(kg)",required:!1},current_address:{visible:!0,label:"现居住地址",required:!0},household_location:{visible:!0,label:"户口所在地",required:!1},marital_status:{visible:!0,label:"婚育状况",required:!1},expected_salary:{visible:!0,label:"期望薪资(元/月)",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace_address:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},is_emergency_contact:{visible:!0,label:"是否为紧急联系人",required:!1}}},education:{visible:!0,label:"教育经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},school_name:{visible:!0,label:"学校名称",required:!0},major:{visible:!0,label:"专业",required:!0},degree:{visible:!0,label:"学历",required:!0}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},employee_count:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_salary:{visible:!0,label:"月总收入",required:!0},supervisor:{visible:!0,label:"直接领导",required:!0},supervisor_phone:{visible:!0,label:"领导电话",required:!0}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}}),Ua=async()=>{try{const v={position_id:o.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",require_basic_info:!0,profile_fields_config:{name:{required:G.name.required,visible:G.name.visible},phone:{required:G.phone.required,visible:G.phone.visible},id_card:{required:G.id_card.required,visible:G.id_card.visible},gender:{required:G.gender.required,visible:G.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:G.ethnicity.required,visible:G.ethnicity.visible},height:{required:G.height.required,visible:G.height.visible},weight:{required:G.weight.required,visible:G.weight.visible},marital_status:{required:G.marital_status.required,visible:G.marital_status.visible}},require_education_info:G.education.visible,education_fields_config:{school_name:{required:G.education.fields.school_name.required,visible:G.education.fields.school_name.visible},major:{required:G.education.fields.major.required,visible:G.education.fields.major.visible},degree:{required:G.education.fields.degree.required,visible:G.education.fields.degree.visible},start_date:{required:G.education.fields.start_time.required,visible:G.education.fields.start_time.visible},end_date:{required:G.education.fields.end_time.required,visible:G.education.fields.end_time.visible}},require_work_experience:G.work_experience.visible,work_experience_fields_config:{company_name:{required:G.work_experience.fields.company_name.required,visible:G.work_experience.fields.company_name.visible},position:{required:G.work_experience.fields.position.required,visible:G.work_experience.fields.position.visible},department:{required:G.work_experience.fields.department.required,visible:G.work_experience.fields.department.visible},start_date:{required:G.work_experience.fields.start_time.required,visible:G.work_experience.fields.start_time.visible},end_date:{required:G.work_experience.fields.end_time.required,visible:G.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0}},require_family_info:G.family_member.visible,family_fields_config:{relation:{required:G.family_member.fields.relation.required,visible:G.family_member.fields.relation.visible},name:{required:G.family_member.fields.name.required,visible:G.family_member.fields.name.visible},workplace:{required:G.family_member.fields.workplace_address.required,visible:G.family_member.fields.workplace_address.visible},position:{required:G.family_member.fields.position.required,visible:G.family_member.fields.position.visible},phone:{required:G.family_member.fields.phone.required,visible:G.family_member.fields.phone.visible}},require_training_info:G.training_fields_config.visible,require_professional_skills:G.require_professional_skills.visible,enable_posture_check:!0,posture_check_config:{required_photos:["front","side","back"],instructions:"请按照提示上传您的全身照片,确保光线充足,背景简洁"},interview_duration_minutes:45,enable_video_recording:!0,enable_face_recognition:!0,scoring_method:"hybrid",auto_analysis_enabled:!0,custom_welcome_message:"欢迎参加咖啡师岗位的面试,请放松心情,准备好开始面试吧!",custom_instructions:"本次面试共有10个问题,每个问题有60秒的回答时间,请简洁明了地表达您的观点。",notification_config:{send_email:!0,send_sms:!1,notify_hr:!0,completion_message:"感谢您完成面试,我们将在3个工作日内给您回复。"},is_active:!0,is_template:!1};Me.value==0||(v.id=Me.value),Me.value==0?(await li(v)).code==2e3?(V.success("配置保存成功"),we.value=!1,P.value=!1):V.error("配置保存失败"):(await kt(v)).code==2e3?(V.success("配置保存成功"),we.value=!1,P.value=!1):V.error("配置保存失败")}catch(v){console.error("保存配置失败:",v),V.error("配置保存失败")}},Ka=()=>({name:G.name,gender:G.gender,three_period:G.three_period,phone:G.phone,id_card:G.id_card,ethnicity:G.ethnicity,height:G.height,weight:G.weight,current_address:G.current_address,household_location:G.household_location,marital_status:G.marital_status,expected_salary:G.expected_salary}),Ma=()=>({skills:G.require_professional_skills,training:G.training_fields_config}),oo=J(!1),Be=et({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),In=J(!1),io=J(!1),ro=J(!1),Zt=J(""),Cn=J(""),An=J(""),Ba=()=>{oo.value=!1,In.value=!1,io.value=!1,ro.value=!1,Object.assign(Be,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},ka=()=>{console.log("保存面试设置:",Be),V.success("面试设置已保存"),oo.value=!1},ja=()=>{Vn(o.query.id).then(v=>{oo.value=!0,Me.value=v.data.id,Be.beforeStartText=v.data.digital_human_opening_speech})},Na=()=>{Zt.value=Be.beforeStartText,In.value=!0},Fa=()=>{In.value=!1,Zt.value=""},La=async()=>{var v;if(!Zt.value.trim()){V.warning("开始前提示内容不能为空");return}Be.beforeStartText=Zt.value.trim();try{let e;if(console.log(Me.value),Me.value==0)e=await li({position_id:o.query.id,digital_human_opening_speech:Zt.value.trim()}),e.code===2e3?(Me.value=((v=e.data)==null?void 0:v.id)||e.data,V.success("开始前提示内容已创建"),In.value=!1):V.error("开始前提示内容创建失败");else if(e=await kt({id:Me.value,digital_human_opening_speech:Zt.value.trim()}),e.code===2e3){V.success("开始前提示内容已更新"),In.value=!1;try{const F={config_id:Me.value};await si(F),console.log("开场白生成成功")}catch(F){console.error("获取开场白失败:",F),V.warning("开场白生成中,请稍后")}}else V.error("开始前提示内容更新失败")}catch(e){console.error("保存开始前提示内容失败:",e),V.error("保存失败,请重试")}},Qa=()=>{Cn.value=Be.afterStartText,io.value=!0},za=()=>{io.value=!1,Cn.value=""},Ga=()=>{if(!Cn.value.trim()){V.warning("开始后提醒内容不能为空");return}Be.afterStartText=Cn.value.trim(),io.value=!1,V.success("开始后提醒内容已更新")},$a=()=>{An.value=Be.disclaimerText,ro.value=!0},Ja=()=>{ro.value=!1,An.value=""},Wa=()=>{if(!An.value.trim()){V.warning("免责声明内容不能为空");return}Be.disclaimerText=An.value.trim(),ro.value=!1,V.success("免责声明内容已更新")},un=et({openQuestionsCount:5,choiceQuestionsCount:10}),Ni=()=>{console.log("题目数量已更新:",un)},Fi=async()=>{try{dt.value=!0;const v=q.value.map(I=>I.id);if(v.length===0){V.warning("请先选择能力标签");return}const e={position_id:o.query.id,competency_tag_ids:v,open_questions_count:un.openQuestionsCount,choice_questions_count:un.choiceQuestionsCount,auto_save:!0,tenant_id:1},F=await Dl(e);if(F&&F.data){const I=await Ta({tenant_id:1,page:1,limit:30,position_id:o.query.id});if(console.log(I),I===null){console.log("轮询被取消,停止处理");return}if(I&&I.data&&I.data.dataList){const K=I.data.dataList.map(z=>({id:z.id||Date.now(),title:z.question||z.title,ability:z.ability||"未设置",content:z.content||z.question,target:z.target||"未设置",competency_tags:z.competency_tag_info||[],question_form_name:z.question_form_name,scoring_reference:z.scoring_reference,question_form:z.question_form,is_required_correct:z.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:z.options||[],source:"ai_generated"}));$.value=K,V.success(`已成功生成${K.length}个面试题目`)}else V.warning("AI生成题目中,请稍后再试")}}catch(v){console.error("AI自动组题失败:",v),V.error("AI自动组题失败,请重试")}finally{dt.value=!1}},Ha=v=>{if(T.competency_tags=[],v.length>0){const e=Math.floor(100/v.length),F=100%v.length;T.competency_tags=v.map((I,K)=>{const z=H.value.find(me=>me.id===I);return{id:I,name:z?z.name:`标签${I}`,weight:e+(K<F?1:0)}})}},Ya=()=>T.competency_tags.length===0?(V.warning("请至少选择一个胜任力标签"),!1):T.weight<=0||T.weight>100?(V.warning("权重必须在1-100之间"),!1):!0,Xa=v=>{switch(T.type=v,v){case"open":T.suggestedDuration=120;break;case"single":case"multiple":T.suggestedDuration=60;break;case"fill":T.suggestedDuration=30;break;case"self":T.suggestedDuration=180;break;default:T.suggestedDuration=60}},wn=J(!1),On=J(!1),ao=J(-1),De=et({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),Za=(v,e)=>{ao.value=e,v.config?Object.assign(De,v.config):(De.title=v.name,De.description=v.description||"候选人可以向面试官提问关于公司、职位或团队的问题",De.duration=5,De.maxQuestions=3,De.isRequired=v.active,De.allowSkip=!1,De.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),On.value=!0},qa=(v,e)=>{switch(v.type){case"ai_video":Uo(v);break;case"candidate_questions":Za(v,e);break;case"data_collection":Uo(v);break;case"resume_collection":Uo(v);break;default:Uo(v);break}},_a=(v,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const F=T.competency_tags;F[v].weight;const I=Math.round(e);if(F[v].weight=I,F.length===1){F[0].weight=100;return}const K=F.filter((me,_)=>_!==v),z=K.reduce((me,_)=>me+_.weight,0);if(z===0){const me=100-I,_=Math.floor(me/K.length),ve=me%K.length;K.forEach((ht,cn)=>{const yt=F.findIndex(ke=>ke.id===ht.id);F[yt].weight=_+(cn<ve?1:0)})}else{const me=100-I;if(me>0){K.forEach(ve=>{const ht=F.findIndex(yt=>yt.id===ve.id),cn=ve.weight/z;F[ht].weight=Math.round(me*cn)});const _=ii();if(_!==100){const ve=100-_,ht=K.reduce((yt,ke)=>ke.weight>yt.weight?ke:yt),cn=F.findIndex(yt=>yt.id===ht.id);F[cn].weight+=ve}}else K.forEach(_=>{const ve=F.findIndex(ht=>ht.id===_.id);F[ve].weight=0})}},ii=()=>T.competency_tags.reduce((e,F)=>e+(F.weight||0),0),el=()=>{const v=T.competency_tags;if(v.length===0)return;const e=Math.floor(100/v.length),F=100%v.length;v.forEach((I,K)=>{I.weight=e+(K<F?1:0)})},Li=ri({get:()=>ue(T.competency_tags),set:v=>{T.competency_tags=v,Ha(v)}}),tl=async()=>{try{const v=await Ml({position_id:o.query.id,tenant_id:1,is_ai_generated:!0});v&&v.data&&v.data.length>0&&(await Vl({position_id:o.query.id,question_id:v.data.map(e=>e.id),tenant_id:1}),Me.value>0&&await kt({id:Me.value,enable_ai_questions:!1}),V.success("AI考察问题已删除"))}catch(v){console.error("删除AI考察问题失败:",v),V.error("删除AI考察问题失败")}};cl(()=>G.question_form_switches.enable_open_questions,v=>{v?r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),J(!1),J(!1);const nl=J(!1);return(v,e)=>{const F=je("page-header"),I=je("el-button"),K=je("el-icon"),z=je("el-input"),me=je("el-cascader"),_=je("el-option"),ve=je("el-select"),ht=je("el-tag"),cn=je("el-date-picker"),yt=je("el-card"),ke=je("el-switch"),Rt=je("el-dialog"),Tn=je("el-checkbox"),ol=je("Refresh"),Dn=je("el-input-number"),lo=je("el-radio"),Qi=je("el-upload"),Pn=je("el-tooltip"),Rn=je("el-table-column"),zi=je("el-table"),Gi=je("el-pagination"),qt=je("el-col"),_t=je("el-row"),il=je("el-radio-group"),$i=fl("loading");return j(),X("div",xs,[l("div",Is,[f(F,{title:"测试",onBack:qe}),l("div",Cs,[f(I,{type:"primary",onClick:_e},{default:b(()=>e[92]||(e[92]=[M("保存")])),_:1}),f(I,{onClick:Ft},{default:b(()=>e[93]||(e[93]=[M("分享职位")])),_:1})])]),l("div",As,[f(yt,{class:"detail-card"},{default:b(()=>[e[125]||(e[125]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"职位详情")],-1)),l("div",ws,[e[96]||(e[96]=l("div",{class:"detail-label"},"职位名称",-1)),Ao.value?(j(),X("div",Ts,[f(z,{modelValue:bn.value,"onUpdate:modelValue":e[0]||(e[0]=p=>bn.value=p),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),l("div",Ds,[f(I,{size:"small",onClick:jr},{default:b(()=>e[94]||(e[94]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:Nr},{default:b(()=>e[95]||(e[95]=[M("保存")])),_:1})])])):(j(),X("div",Os,[M(ie(t.title)+" ",1),f(I,{type:"text",class:"edit-title-btn",onClick:kr},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))]),l("div",Ps,[e[99]||(e[99]=l("div",{class:"detail-label"},"工作地点",-1)),wo.value?(j(),X("div",Vs,[f(me,{modelValue:Lt.value,"onUpdate:modelValue":e[1]||(e[1]=p=>Lt.value=p),options:ye(E),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:x},null,8,["modelValue","options"]),l("div",Us,[f(I,{size:"small",onClick:Lr},{default:b(()=>e[97]||(e[97]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:Qr},{default:b(()=>e[98]||(e[98]=[M("保存")])),_:1})])])):(j(),X("div",Rs,[M(ie((()=>{if(!t.location)return"暂无";if(Array.isArray(t.location))return t.location.join(",");if(typeof t.location=="string")try{return t.location.replace(/[\[\]']/g,"").split(",").map(oe=>oe.trim()).join(",")}catch{return t.location}return t.location})())+" ",1),f(I,{type:"text",class:"edit-title-btn",onClick:Fr},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))]),l("div",Ks,[e[102]||(e[102]=l("div",{class:"detail-label"},"职位薪资",-1)),Oo.value?(j(),X("div",Bs,[f(z,{modelValue:zn.value,"onUpdate:modelValue":e[2]||(e[2]=p=>zn.value=p),placeholder:"请输入职位薪资",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),l("div",ks,[f(I,{size:"small",onClick:Gr},{default:b(()=>e[100]||(e[100]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:$r},{default:b(()=>e[101]||(e[101]=[M("保存")])),_:1})])])):(j(),X("div",Ms,[M(ie(t.salary_range||"暂无")+" ",1),f(I,{type:"text",class:"edit-title-btn",onClick:zr},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))]),l("div",js,[e[105]||(e[105]=l("div",{class:"detail-label"},"工作经验",-1)),To.value?(j(),X("div",Fs,[f(ve,{modelValue:Gn.value,"onUpdate:modelValue":e[3]||(e[3]=p=>Gn.value=p),placeholder:"请选择工作经验",style:{width:"100%"}},{default:b(()=>[f(_,{label:"不限",value:"不限"}),f(_,{label:"应届毕业生",value:"应届毕业生"}),f(_,{label:"1年以下",value:"1年以下"}),f(_,{label:"1-3年",value:"1-3年"}),f(_,{label:"3-5年",value:"3-5年"}),f(_,{label:"5-10年",value:"5-10年"}),f(_,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),l("div",Ls,[f(I,{size:"small",onClick:Wr},{default:b(()=>e[103]||(e[103]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:Hr},{default:b(()=>e[104]||(e[104]=[M("保存")])),_:1})])])):(j(),X("div",Ns,[M(ie(t.work_experience_required||"暂无")+" ",1),f(I,{type:"text",class:"edit-title-btn",onClick:Jr},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))]),l("div",Qs,[e[108]||(e[108]=l("div",{class:"detail-label"},"学历要求",-1)),Do.value?(j(),X("div",Gs,[f(ve,{modelValue:$n.value,"onUpdate:modelValue":e[4]||(e[4]=p=>$n.value=p),placeholder:"请选择学历要求",style:{width:"100%"}},{default:b(()=>[f(_,{label:"不限",value:"不限"}),f(_,{label:"高中",value:"高中"}),f(_,{label:"大专",value:"大专"}),f(_,{label:"本科",value:"本科"}),f(_,{label:"硕士",value:"硕士"}),f(_,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),l("div",$s,[f(I,{size:"small",onClick:Xr},{default:b(()=>e[106]||(e[106]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:Zr},{default:b(()=>e[107]||(e[107]=[M("保存")])),_:1})])])):(j(),X("div",zs,[M(ie(t.education_required||"暂无")+" ",1),f(I,{type:"text",class:"edit-title-btn",onClick:Yr},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))]),l("div",Js,[e[111]||(e[111]=l("div",{class:"detail-label"},"所属部门",-1)),Po.value?(j(),X("div",Hs,[f(z,{modelValue:Jn.value,"onUpdate:modelValue":e[5]||(e[5]=p=>Jn.value=p),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),l("div",Ys,[f(I,{size:"small",onClick:_r},{default:b(()=>e[109]||(e[109]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:ea},{default:b(()=>e[110]||(e[110]=[M("保存")])),_:1})])])):(j(),X("div",Ws,[M(ie(t.department||"暂无")+" ",1),f(I,{type:"text",class:"edit-title-btn",onClick:qr},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))]),l("div",Xs,[e[112]||(e[112]=l("div",{class:"detail-label"},"职位状态",-1)),l("div",Zs,[f(ht,{type:$t(t.status)},{default:b(()=>[M(ie(Bt(t.status)),1)]),_:1},8,["type"])])]),l("div",qs,[e[115]||(e[115]=l("div",{class:"detail-label"},"截止日期",-1)),Ro.value?(j(),X("div",ed,[f(cn,{modelValue:Wn.value,"onUpdate:modelValue":e[6]||(e[6]=p=>Wn.value=p),type:"date",placeholder:"请选择截止日期",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",style:{width:"100%"}},null,8,["modelValue"]),l("div",td,[f(I,{size:"small",onClick:na},{default:b(()=>e[113]||(e[113]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:oa},{default:b(()=>e[114]||(e[114]=[M("保存")])),_:1})])])):(j(),X("div",_s,[M(ie(t.end_date||"暂无")+" ",1),f(I,{type:"text",class:"edit-title-btn",onClick:ta},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))]),l("div",nd,[e[118]||(e[118]=l("div",{class:"detail-label"},"职位要求",-1)),Hn.value?Ve("",!0):(j(),X("div",{key:0,class:"detail-value html-content",innerHTML:t.requirements},null,8,od)),Hn.value?(j(),X("div",id,[f(z,{modelValue:Yn.value,"onUpdate:modelValue":e[7]||(e[7]=p=>Yn.value=p),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),l("div",rd,[f(I,{size:"small",onClick:ra},{default:b(()=>e[116]||(e[116]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:aa},{default:b(()=>e[117]||(e[117]=[M("保存")])),_:1})])])):(j(),Ce(I,{key:1,type:"text",class:"edit-title-btn",onClick:ia},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1}))]),e[126]||(e[126]=l("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),l("div",ad,[e[121]||(e[121]=l("div",{class:"detail-label"},"职位描述",-1)),Xn.value?Ve("",!0):(j(),X("div",{key:0,class:"detail-value html-content",innerHTML:t.description},null,8,ld)),Xn.value?(j(),X("div",sd,[f(z,{modelValue:Zn.value,"onUpdate:modelValue":e[8]||(e[8]=p=>Zn.value=p),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),l("div",dd,[f(I,{size:"small",onClick:sa},{default:b(()=>e[119]||(e[119]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:da},{default:b(()=>e[120]||(e[120]=[M("保存")])),_:1})])])):(j(),Ce(I,{key:1,type:"text",class:"edit-title-btn",onClick:la},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1}))]),l("div",ud,[e[124]||(e[124]=l("div",{class:"detail-label"},"能力标签",-1)),Vo.value?(j(),X("div",fd,[f(ve,{modelValue:En.value,"onUpdate:modelValue":e[9]||(e[9]=p=>En.value=p),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:b(()=>[(j(!0),X(We,null,He(H.value,p=>(j(),Ce(_,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),l("div",vd,[f(I,{size:"small",onClick:pa},{default:b(()=>e[122]||(e[122]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:ma},{default:b(()=>e[123]||(e[123]=[M("保存")])),_:1})])])):(j(),X("div",cd,[(j(!0),X(We,null,He(t.competency_tags,p=>(j(),Ce(ht,{key:p.id,effect:"plain",class:"competency-tag"},{default:b(()=>[M(ie(p.name),1)]),_:2},1024))),128)),f(I,{type:"text",class:"edit-title-btn",onClick:va},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))])]),_:1}),l("div",pd,[f(yt,{class:"status-card"},{default:b(()=>[e[127]||(e[127]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"职位状态")],-1)),l("div",md,[f(ke,{modelValue:n.value,"onUpdate:modelValue":e[10]||(e[10]=p=>n.value=p),"inactive-text":"",onChange:wt},null,8,["modelValue"]),l("span",gd,ie(n.value?"已启用":"待启用"),1)])]),_:1}),f(yt,{class:"status-card"},{default:b(()=>[l("div",hd,[e[129]||(e[129]=l("div",{class:"section-line"},null,-1)),e[130]||(e[130]=l("span",null,"职位性质",-1)),Sn.value?Ve("",!0):(j(),Ce(I,{key:0,type:"text",class:"edit-btn",onClick:ua},{default:b(()=>e[128]||(e[128]=[M("编辑")])),_:1}))]),l("div",yd,[Sn.value?Ve("",!0):(j(),X("div",bd,ie(on(t.job_type)),1)),Sn.value?(j(),X("div",Sd,[f(ve,{modelValue:qn.value,"onUpdate:modelValue":e[11]||(e[11]=p=>qn.value=p),placeholder:"请选择职位性质",style:{width:"100%"}},{default:b(()=>[f(_,{label:"全职",value:0}),f(_,{label:"兼职",value:1}),f(_,{label:"实习",value:2}),f(_,{label:"其他",value:3})]),_:1},8,["modelValue"]),l("div",Ed,[f(I,{size:"small",onClick:ca},{default:b(()=>e[131]||(e[131]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:fa},{default:b(()=>e[132]||(e[132]=[M("保存")])),_:1})])])):Ve("",!0)])]),_:1}),f(yt,{class:"status-card"},{default:b(()=>[l("div",xd,[e[134]||(e[134]=l("div",{class:"section-line"},null,-1)),e[135]||(e[135]=l("span",null,"招聘流程",-1)),f(I,{type:"text",class:"edit-btn",onClick:Ot},{default:b(()=>e[133]||(e[133]=[M("设置流程")])),_:1})]),l("div",Id,[(j(!0),X(We,null,He(r,(p,oe)=>Bo((j(),X("div",{key:p.id,class:xt(["process-step",{disabled:!p.active}])},[l("div",Cd,ie(oe+1),1),l("div",Ad,[l("div",wd,ie(p.name),1)])],2)),[[Ji,p.visible]])),128))])]),_:1}),f(yt,{class:"status-card"},{default:b(()=>[l("div",Od,[e[137]||(e[137]=l("div",{class:"section-line"},null,-1)),e[138]||(e[138]=l("span",null,"面试设置",-1)),f(I,{type:"text",class:"edit-btn",onClick:ja},{default:b(()=>e[136]||(e[136]=[M("编辑")])),_:1})])]),_:1})])]),f(Rt,{title:"设置招聘流程",modelValue:s.value,"onUpdate:modelValue":e[14]||(e[14]=p=>s.value=p),width:"500px","close-on-click-modal":!1},{footer:b(()=>[l("span",Md,[f(I,{onClick:Nn},{default:b(()=>e[142]||(e[142]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:hn},{default:b(()=>e[143]||(e[143]=[M("确定")])),_:1})])]),default:b(()=>[l("div",Td,[(j(!0),X(We,null,He(r,(p,oe)=>Bo((j(),X("div",{key:p.id},[oe<r.length-1?(j(),X("div",Dd,[f(I,{type:"text",onClick:Ie=>rn(oe,Ie)},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(fn))]),_:1})]),_:2},1032,["onClick"])])):Ve("",!0),l("div",{class:xt(["process-edit-item",{highlight:p.active}])},[l("div",Pd,ie(oe+1),1),l("div",Rd,[l("div",null,ie(p.name),1),l("div",Vd,ie(p.description),1)]),l("div",Ud,[f(I,{type:"info",size:"small",plain:"",onClick:Ie=>qa(p,oe)},{default:b(()=>e[139]||(e[139]=[M(" 修改 ")])),_:2},1032,["onClick"]),f(I,{type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ie=>Et(p,oe)},{default:b(()=>e[140]||(e[140]=[M(" 删除 ")])),_:2},1032,["onClick"])])],2)])),[[Ji,p.visible]])),128)),e[141]||(e[141]=l("div",{class:"add-process-btn"},null,-1))]),P.value?(j(),X("div",{key:0,class:"process-options-menu",style:pl({top:R.top,left:R.left}),onClick:e[13]||(e[13]=vl(()=>{},["stop"]))},[l("div",{class:"close-btn",onClick:e[12]||(e[12]=p=>P.value=!1)},[f(K,null,{default:b(()=>[f(ye(El))]),_:1})]),(j(),X(We,null,He(u,p=>l("div",{key:p.value,class:"process-option-item",onClick:oe=>an(p.value,p.label)},ie(p.label),9,Kd)),64))],4)):Ve("",!0)]),_:1},8,["modelValue"]),f(ye(ai),{title:"AI考察",modelValue:B.value,"onUpdate:modelValue":e[33]||(e[33]=p=>B.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:b(()=>[l("div",_u,[Q.value>1?(j(),Ce(I,{key:0,size:"small",onClick:sn},{default:b(()=>e[184]||(e[184]=[M("上一步")])),_:1})):Ve("",!0),f(I,{onClick:w,size:"small"},{default:b(()=>e[185]||(e[185]=[M("取消")])),_:1}),Q.value<3?(j(),Ce(I,{key:1,type:"primary",size:"small",onClick:ln,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:b(()=>e[186]||(e[186]=[M("下一步")])),_:1})):(j(),Ce(I,{key:2,type:"success",onClick:Jt,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:b(()=>e[187]||(e[187]=[M("新增")])),_:1}))])]),default:b(()=>[l("div",Bd,[l("div",{class:xt(["step-item",{active:Q.value===1}]),onClick:e[15]||(e[15]=p=>C(1))},[e[144]||(e[144]=l("div",{class:"step-number"},"1",-1)),l("div",{class:xt(["step-title",{"active-title":Q.value===1}])},"考察能力",2)],2),l("div",{class:xt(["step-line",{"active-line":Q.value>=2}])},null,2),l("div",{class:xt(["step-item",{active:Q.value===2}]),onClick:e[16]||(e[16]=p=>C(2))},[e[145]||(e[145]=l("div",{class:"step-number"},"2",-1)),l("div",{class:xt(["step-title",{"active-title":Q.value===2}])},"面试题目",2)],2),l("div",{class:xt(["step-line",{"active-line":Q.value>=3}])},null,2),l("div",{class:xt(["step-item",{active:Q.value===3}]),onClick:e[17]||(e[17]=p=>C(3))},[e[146]||(e[146]=l("div",{class:"step-number"},"3",-1)),l("div",{class:xt(["step-title",{"active-title":Q.value===3}])},"系统设置",2)],2)]),Q.value===1?Bo((j(),X("div",kd,[l("div",jd,[e[153]||(e[153]=l("div",{class:"ai-video-options-header"},[l("div",{class:"ai-video-options-header-title"},[l("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的新智能能力加入到该职位的考察能力列表中。")])],-1)),l("div",Nd,[l("div",Fd,[(j(!0),X(We,null,He(Pt.value.slice(0,10),p=>(j(),Ce(Tn,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":oe=>p.selected=oe,onChange:oe=>Ui(p,oe),class:"custom-checkbox"},{default:b(()=>[l("div",Ld,[l("span",null,ie(p.name),1),e[147]||(e[147]=l("img",{src:qi,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",Qd,[l("div",zd,[e[149]||(e[149]=l("h3",{style:{color:"#808080"}},"备选考核维度",-1)),l("div",Gd,[f(I,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:S},{default:b(()=>e[148]||(e[148]=[M("重新生成")])),_:1})])]),l("div",$d,[(j(!0),X(We,null,He(Pt.value.slice(10,50),p=>(j(),Ce(Tn,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":oe=>p.selected=oe,onChange:oe=>Ui(p,oe),class:"custom-checkbox"},{default:b(()=>[l("div",Jd,[l("span",null,ie(p.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),l("div",Wd,[e[152]||(e[152]=l("h3",{style:{color:"#808080"}},"自定义维度",-1)),l("div",Hd,[l("div",Yd,[l("div",Xd,[f(z,{style:{width:"150px"},modelValue:Wt.value,"onUpdate:modelValue":e[18]||(e[18]=p=>Wt.value=p),placeholder:"请输入维度名称"},null,8,["modelValue"])]),l("div",Zd,[e[150]||(e[150]=l("div",{class:"input-label"},"特征描述:",-1)),f(z,{modelValue:xn.value,"onUpdate:modelValue":e[19]||(e[19]=p=>xn.value=p),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),l("div",qd,[f(I,{type:"primary",onClick:ya},{default:b(()=>e[151]||(e[151]=[M("添加")])),_:1})])])])])])),[[$i,wn.value]]):Ve("",!0),Q.value===2?(j(),X("div",_d,[l("div",eu,[l("div",tu,[l("div",nu,[f(I,{plain:"",class:"custom-btn",onClick:it},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(fn))]),_:1}),e[154]||(e[154]=M(" 自定义题目 "))]),_:1}),f(I,{plain:"",class:"custom-btn"},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(Hi))]),_:1}),e[155]||(e[155]=M(" 导入题目 "))]),_:1}),$.value.length>0?(j(),Ce(I,{key:0,type:"primary",plain:"",class:"custom-btn",loading:dt.value,onClick:Fi},{default:b(()=>[f(K,null,{default:b(()=>[f(ol)]),_:1}),e[156]||(e[156]=M(" 重新生成 "))]),_:1},8,["loading"])):Ve("",!0),l("div",ou,[l("div",iu,[e[157]||(e[157]=l("span",{class:"switch-label"},"开放题数量",-1)),f(Dn,{modelValue:un.openQuestionsCount,"onUpdate:modelValue":e[20]||(e[20]=p=>un.openQuestionsCount=p),min:1,max:10,size:"small",onChange:Ni},null,8,["modelValue"])]),l("div",ru,[e[158]||(e[158]=l("span",{class:"switch-label"},"选择题数量",-1)),f(Dn,{modelValue:un.choiceQuestionsCount,"onUpdate:modelValue":e[21]||(e[21]=p=>un.choiceQuestionsCount=p),min:1,max:20,size:"small",onChange:Ni},null,8,["modelValue"])])])]),l("div",au,[e[159]||(e[159]=l("span",null,"预计面试时长: ",-1)),l("span",lu,ie(he.value),1),e[160]||(e[160]=l("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),l("div",su,[Bo((j(),X("div",du,[$.value.length===0?(j(),X("div",uu,[e[163]||(e[163]=l("p",null,"暂无题目",-1)),e[164]||(e[164]=l("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[165]||(e[165]=l("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),f(I,{type:"success",class:"auto-generate-btn",loading:dt.value,onClick:Fi},{default:b(()=>e[161]||(e[161]=[M(" AI自动组题 ")])),_:1},8,["loading"]),dt.value&&ye(Qt)?(j(),Ce(I,{key:0,type:"warning",plain:"",size:"small",onClick:Da,style:{"margin-left":"10px"}},{default:b(()=>e[162]||(e[162]=[M(" 取消生成 ")])),_:1})):Ve("",!0)])):(j(),X("div",cu,[f(ye(pr),{modelValue:$.value,"onUpdate:modelValue":e[22]||(e[22]=p=>$.value=p),"item-key":"id",handle:".drag-handle",onStart:xa,onEnd:Ia,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:b(({element:p})=>[l("div",fu,[e[169]||(e[169]=l("div",{class:"drag-handle"},[l("img",{src:Ol,alt:"",class:"dorp"})],-1)),l("div",vu,[l("div",pu,[l("div",mu,[l("div",gu,[l("span",hu,"题目"+ie($.value.indexOf(p)+1),1),l("span",null,[l("span",yu,ie("「"+p.question_form_name+"」"),1),M(ie(p.title),1)])]),l("div",bu,[(j(!0),X(We,null,He((p.competency_tag_info||p.competency_tags||[]).slice(0,2),(oe,Ie)=>(j(),Ce(ht,{key:oe.id,effect:"plain",class:"competency-tag",size:"small"},{default:b(()=>[M(ie(oe.name),1)]),_:2},1024))),128)),(p.competency_tag_info||p.competency_tags||[]).length>2?(j(),X("span",Su," +"+ie((p.competency_tag_info||p.competency_tags||[]).length-2),1)):Ve("",!0)])])]),l("div",Eu,[f(I,{type:"text",onClick:oe=>Ti($.value.indexOf(p))},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:2},1032,["onClick"]),f(I,{type:"text",onClick:oe=>Di($.value.indexOf(p))},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(Yi))]),_:1})]),_:2},1032,["onClick"])])]),l("div",xu,[l("div",Iu,[l("span",null,ie(p.scoring_reference),1)])]),p.question_form==0?(j(),X("div",Cu,[l("div",Au,[f(ke,{style:{"margin-top":"0px"},modelValue:p.enable_follow_up,"onUpdate:modelValue":oe=>p.enable_follow_up=oe,onChange:k},null,8,["modelValue","onUpdate:modelValue"]),e[166]||(e[166]=l("span",{class:"answer-label"},"回答不充分追问",-1))]),l("div",wu,[e[167]||(e[167]=l("span",{class:"answer-label"},"追问轮数",-1)),f(ve,{modelValue:p.maxAnswers,"onUpdate:modelValue":oe=>p.maxAnswers=oe,size:"small",placeholder:"请选择"},{default:b(()=>[f(_,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Ve("",!0),p.question_form==1?(j(),X("div",Ou,[l("div",Tu,[e[168]||(e[168]=l("span",{class:"answer-label"},"是否为红线题:",-1)),f(ve,{modelValue:p.is_required_correct,"onUpdate:modelValue":oe=>p.is_required_correct=oe,onChange:oe=>O(p.id,p.is_required_correct),size:"small",placeholder:"请选择"},{default:b(()=>[f(_,{label:"是",value:!0}),f(_,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):Ve("",!0)])]),_:1},8,["modelValue"])]))])),[[$i,dt.value]]),l("div",Du,[e[172]||(e[172]=l("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),l("div",Pu,[(j(!0),X(We,null,He(q.value,(p,oe)=>(j(),X("div",{key:p.value,class:"dimension-item"},[l("div",Ru,[l("div",Vu,[l("span",Uu,ie(p.label),1),e[170]||(e[170]=l("img",{src:qi,alt:"",class:"sheng"},null,-1))])]),l("div",{class:"dimension-content",onClick:Ie=>wa(oe),title:"点击删除此胜任力标签"},e[171]||(e[171]=[l("div",{class:"ability-description"},ie("—"),-1)]),8,Ku)]))),128))])])])])])):Ve("",!0),Q.value===3?(j(),X("div",Mu,[l("div",Bu,[l("div",ku,[e[183]||(e[183]=l("div",{class:"section-header"},"请选择面试官形象",-1)),l("div",ju,[l("div",Nu,[ti.value?(j(),X("img",{key:0,src:ti.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,Fu)):Ve("",!0)]),l("div",null,[l("div",Lu,[(j(!0),X(We,null,He(ei.value,p=>(j(),X("div",{key:p.id,class:xt(["avatar-item",{active:vt.value.id===p.id}]),onClick:oe=>ba(p)},[l("div",zu,[l("div",{class:xt(["avatar-circle",{selected:vt.value.id===p.id}])},[l("img",{src:p.avatar_url||p.image,alt:p.name},null,8,Gu)],2),l("div",{class:"avatar-name",title:p.name},ie(p.name),9,$u)])],10,Qu))),128))]),l("div",Ju,[e[173]||(e[173]=l("div",{class:"setting-label"},"「追问风格」",-1)),l("div",Wu,[f(ve,{modelValue:at.followUpStyle,"onUpdate:modelValue":e[23]||(e[23]=p=>at.followUpStyle=p),placeholder:"请选择",onChange:e[24]||(e[24]=p=>_n("followUpStyle",at.followUpStyle))},{default:b(()=>[f(_,{label:"温和",value:"1"}),f(_,{label:"严厉",value:"2"}),f(_,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[174]||(e[174]=l("div",{class:"setting-desc"},null,-1))])])]),l("div",Hu,[l("div",Yu,[e[175]||(e[175]=l("div",{class:"setting-label"},[l("p",null,"「回答视频保留」")],-1)),e[176]||(e[176]=l("div",{class:"setting-desc"},[l("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),f(ke,{modelValue:at.keepVideo,"onUpdate:modelValue":e[25]||(e[25]=p=>at.keepVideo=p),onChange:e[26]||(e[26]=p=>_n("keepVideo",p))},null,8,["modelValue"])]),l("div",Xu,[e[179]||(e[179]=l("div",{class:"setting-label"},[l("p",null,"「中断后作答限制」")],-1)),l("div",Zu,[f(lo,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[27]||(e[27]=p=>at.interruptionMode=p),label:"current",onChange:e[28]||(e[28]=p=>_n("interruptionMode",at.interruptionMode))},{default:b(()=>e[177]||(e[177]=[M(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),f(lo,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[29]||(e[29]=p=>at.interruptionMode=p),label:"previous",onChange:e[30]||(e[30]=p=>_n("interruptionMode",at.interruptionMode))},{default:b(()=>e[178]||(e[178]=[M(" 从头作答 ")])),_:1},8,["modelValue"])]),e[180]||(e[180]=l("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),l("div",qu,[e[181]||(e[181]=l("div",{class:"setting-label"},[l("p",null,"「智慧追问」")],-1)),e[182]||(e[182]=l("div",{class:"setting-desc"},[l("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),f(ke,{modelValue:at.smartFollowUp,"onUpdate:modelValue":e[31]||(e[31]=p=>at.smartFollowUp=p),onChange:e[32]||(e[32]=p=>_n("smartFollowUp",p))},null,8,["modelValue"])])])])])])):Ve("",!0)]),_:1},8,["modelValue"]),f(Rt,{title:"新增视频宣讲",modelValue:Y.value,"onUpdate:modelValue":e[35]||(e[35]=p=>Y.value=p),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:b(()=>[l("span",ic,[f(I,{onClick:N},{default:b(()=>e[191]||(e[191]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:ee},{default:b(()=>e[192]||(e[192]=[M("确认")])),_:1})])]),default:b(()=>[l("div",ec,[l("div",tc,[e[189]||(e[189]=l("div",{class:"form-label"},"上传视频",-1)),f(Qi,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:b(()=>[l("div",nc,[f(K,null,{default:b(()=>[f(ye(fn))]),_:1}),e[188]||(e[188]=l("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),l("div",oc,[e[190]||(e[190]=l("div",{class:"form-label"},"视频简介",-1)),f(z,{modelValue:Z.description,"onUpdate:modelValue":e[34]||(e[34]=p=>Z.description=p),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),f(ye(ai),{title:"AI实时对话",modelValue:ae.value,"onUpdate:modelValue":e[37]||(e[37]=p=>ae.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:b(()=>[l("div",xc,[f(I,{onClick:fe},{default:b(()=>e[203]||(e[203]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:le},{default:b(()=>e[204]||(e[204]=[M("确认")])),_:1})])]),default:b(()=>[l("div",rc,[l("div",ac,[e[202]||(e[202]=l("div",{class:"section-title"},[l("div",{class:"section-line"}),l("span",null,"对话设置")],-1)),l("div",lc,[f(I,{type:"primary",plain:"",onClick:Se},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(fn))]),_:1}),e[193]||(e[193]=M(" 添加问题 "))]),_:1}),f(I,{type:"success",plain:"",onClick:it},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(Hi))]),_:1}),e[194]||(e[194]=M(" 导入问题 "))]),_:1})]),l("div",sc,[$.value.length===0?(j(),X("div",dc,e[195]||(e[195]=[l("p",null,"暂无问题",-1),l("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(j(),X("div",uc,[f(ye(pr),{modelValue:$.value,"onUpdate:modelValue":e[36]||(e[36]=p=>$.value=p),"item-key":"id",handle:".drag-handle"},{item:b(({element:p,index:oe})=>[M(ie(p)+" ",1),l("div",cc,[l("div",fc,[l("div",vc,[l("span",pc,"题目"+ie(oe+1),1),l("span",null,ie(p.question),1)]),l("div",mc,[l("div",gc,[e[197]||(e[197]=l("span",{class:"weight-label"},"权重占比:",-1)),f(Dn,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:b(()=>e[196]||(e[196]=[M("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),l("div",hc,[e[198]||(e[198]=l("span",{class:"answer-label"},"最多回答次数",-1)),f(ve,{modelValue:p.maxAnswers,"onUpdate:modelValue":Ie=>p.maxAnswers=Ie,size:"small",placeholder:"请选择"},{default:b(()=>[f(_,{label:"1次",value:1}),f(_,{label:"2次",value:2}),f(_,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),f(I,{type:"text",onClick:Ie=>Ti(oe)},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:2},1032,["onClick"]),f(I,{type:"text",onClick:Ie=>Di(oe)},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(Yi))]),_:1})]),_:2},1032,["onClick"])])]),l("div",yc,[l("div",bc,[e[199]||(e[199]=l("span",{class:"info-label"},"考察能力:",-1)),l("span",null,ie(p.ability),1)]),l("div",Sc,[e[200]||(e[200]=l("span",{class:"info-label"},"面试内容:",-1)),l("span",null,ie(p.content),1)]),l("div",Ec,[e[201]||(e[201]=l("span",{class:"info-label"},"对话目标:",-1)),l("span",null,ie(p.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),f(Rt,{title:"编辑问题",modelValue:L.value,"onUpdate:modelValue":e[48]||(e[48]=p=>L.value=p),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:b(()=>[l("span",Nc,[f(I,{onClick:Ue},{default:b(()=>e[231]||(e[231]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:Ke},{default:b(()=>e[232]||(e[232]=[M("确认")])),_:1})])]),default:b(()=>[l("div",Ic,[l("div",Cc,[e[205]||(e[205]=l("div",{class:"form-label"},[M(" 题目内容"),l("span",{class:"required"},"*")],-1)),f(z,{modelValue:T.content,"onUpdate:modelValue":e[38]||(e[38]=p=>T.content=p),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),l("div",Ac,[e[206]||(e[206]=l("div",{class:"form-label"},"胜任力标签",-1)),f(ve,{modelValue:Li.value,"onUpdate:modelValue":e[39]||(e[39]=p=>Li.value=p),placeholder:"请选择胜任力标签",class:"full-width",multiple:""},{default:b(()=>[(j(!0),X(We,null,He(H.value,p=>(j(),Ce(_,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[207]||(e[207]=l("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),l("div",wc,[e[213]||(e[213]=l("div",{class:"form-label"}," 胜任力配置 ",-1)),l("div",Oc,[e[209]||(e[209]=l("div",{class:"config-row"},[l("span",{class:"config-label"},"标签"),l("span",{class:"config-label"},"权重")],-1)),(j(!0),X(We,null,He(T.competency_tags,(p,oe)=>(j(),X("div",{class:"config-row",key:p.id},[l("span",Tc,ie(p.name),1),f(Dn,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,"controls-position":"right",onChange:Ie=>_a(oe,Ie)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[208]||(e[208]=M(" % "))]))),128))]),l("div",Dc,[e[210]||(e[210]=M(" 配置各个胜任力标签的权重,总和需要100% ")),l("span",{class:xt(["weight-sum",{"weight-error":ii()!==100}])}," (当前总计: "+ie(ii())+"%) ",3),e[211]||(e[211]=l("br",null,null,-1)),f(K,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:b(()=>[f(ye(xl))]),_:1}),e[212]||(e[212]=l("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),l("div",Pc,[e[214]||(e[214]=l("div",{class:"form-label"},"题目形式",-1)),f(ve,{modelValue:T.type,"onUpdate:modelValue":e[40]||(e[40]=p=>T.type=p),placeholder:"开放问题",class:"full-width",onChange:Xa},{default:b(()=>[f(_,{label:"开放问题",value:"open"}),f(_,{label:"单选题",value:"single"}),f(_,{label:"多选题",value:"multiple"}),f(_,{label:"填空题",value:"fill"}),f(_,{label:"自言语",value:"self"})]),_:1},8,["modelValue"]),e[215]||(e[215]=l("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),l("div",Rc,[e[216]||(e[216]=l("div",{class:"form-label"},"适用职位",-1)),f(ve,{modelValue:T.position,"onUpdate:modelValue":e[41]||(e[41]=p=>T.position=p),placeholder:"请选择适用职位类型",class:"full-width",multiple:""},{default:b(()=>[(j(!0),X(We,null,He(ne.value,p=>(j(),Ce(_,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[217]||(e[217]=l("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),T.question_form===1||T.question_form===2?(j(),X("div",Vc,[e[221]||(e[221]=l("div",{class:"form-label"},"选项",-1)),l("div",null,[e[220]||(e[220]=l("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[l("span",{style:{flex:"1"}},"选项内容"),l("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(j(!0),X(We,null,He(T.options,(p,oe)=>(j(),X("div",{key:oe,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[f(z,{modelValue:p.text,"onUpdate:modelValue":Ie=>p.text=Ie,placeholder:"请输入选项内容",style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),f(Pn,{content:"设置为正确答案",placement:"top",effect:"light"},{default:b(()=>[l("div",{onClick:()=>{T.question_form===1?T.options.forEach((Ie,rl)=>{Ie.is_correct=rl===oe}):p.is_correct=!p.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[T.question_form===1?(j(),Ce(lo,{key:0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(j(),Ce(Tn,{key:1,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie},null,8,["modelValue","onUpdate:modelValue"]))],8,Uc)]),_:2},1024)]))),128)),l("div",Kc,[f(I,{type:"primary",onClick:e[42]||(e[42]=()=>{T.options||(T.options=[]);const p=T.options.length>0?Math.max(...T.options.map(oe=>oe.sort||0))+1:1;T.options.push({option_text:"",is_correct:!1,sort:p})})},{default:b(()=>e[218]||(e[218]=[M(" 添加选项 ")])),_:1}),T.options&&T.options.length>2?(j(),Ce(I,{key:0,type:"danger",onClick:e[43]||(e[43]=()=>{T.options.pop()})},{default:b(()=>e[219]||(e[219]=[M(" 删除最后一项 ")])),_:1})):Ve("",!0)])]),e[222]||(e[222]=l("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):Ve("",!0),l("div",Mc,[e[223]||(e[223]=l("div",{class:"form-label"},"分类",-1)),f(ve,{modelValue:T.category,"onUpdate:modelValue":e[44]||(e[44]=p=>T.category=p),placeholder:"请选择题目分类",class:"full-width"},{default:b(()=>[(j(!0),X(We,null,He(Ee.value,p=>(j(),Ce(_,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[224]||(e[224]=l("div",{class:"form-tip"},"选择题目所属分类",-1))]),l("div",Bc,[e[225]||(e[225]=l("div",{class:"form-label"},"标签",-1)),f(ve,{modelValue:T.tags,"onUpdate:modelValue":e[45]||(e[45]=p=>T.tags=p),placeholder:"请选择标签",class:"full-width",multiple:""},{default:b(()=>[(j(!0),X(We,null,He(Oe.value,p=>(j(),Ce(_,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[226]||(e[226]=l("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),l("div",kc,[e[227]||(e[227]=l("div",{class:"form-label"},"建议时长(秒)",-1)),f(Dn,{modelValue:T.suggestedDuration,"onUpdate:modelValue":e[46]||(e[46]=p=>T.suggestedDuration=p),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width"},null,8,["modelValue"]),e[228]||(e[228]=l("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),l("div",jc,[e[229]||(e[229]=l("div",{class:"form-label"},"评价标准",-1)),f(z,{modelValue:T.scoring_reference,"onUpdate:modelValue":e[47]||(e[47]=p=>T.scoring_reference=p),type:"textarea",rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[230]||(e[230]=l("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),f(Rt,{title:"选择题目",modelValue:Ko.value,"onUpdate:modelValue":e[53]||(e[53]=p=>Ko.value=p),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:b(()=>[l("span",$c,[f(I,{onClick:ji},{default:b(()=>e[233]||(e[233]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:Va,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:b(()=>e[234]||(e[234]=[M("确定")])),_:1})])]),default:b(()=>[l("div",Fc,[l("div",Lc,[l("div",Qc,[f(z,{modelValue:dn.value,"onUpdate:modelValue":e[49]||(e[49]=p=>dn.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Xt,onKeyup:Wi(Xt,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:b(()=>[f(I,{onClick:Xt},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(Xi))]),_:1})]),_:1})]),_:1},8,["modelValue"]),f(ve,{modelValue:Je.question_form,"onUpdate:modelValue":e[50]||(e[50]=p=>Je.question_form=p),placeholder:"题目类型",clearable:"",onChange:Xt,style:{width:"120px"}},{default:b(()=>[f(_,{label:"开放问题",value:0}),f(_,{label:"单选题",value:1})]),_:1},8,["modelValue"])])]),l("div",zc,[f(zi,{data:gt.value,style:{width:"100%"},onSelectionChange:ki},{default:b(()=>[f(Rn,{type:"selection",width:"55"}),f(Rn,{prop:"question",label:"题目标题"}),f(Rn,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),l("div",Gc,[f(Gi,{"current-page":Je.page,"onUpdate:currentPage":e[51]||(e[51]=p=>Je.page=p),"page-size":Je.pageSize,"onUpdate:pageSize":e[52]||(e[52]=p=>Je.pageSize=p),total:Bi.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:Pa,onCurrentChange:Ra},null,8,["current-page","page-size","total"])])])])]),_:1},8,["modelValue"]),f(Rt,{title:"创建自定义题目",modelValue:to.value,"onUpdate:modelValue":e[55]||(e[55]=p=>to.value=p),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":Co},{default:b(()=>[f(Cl,{modelValue:Mo.value,"onUpdate:modelValue":e[54]||(e[54]=p=>Mo.value=p),"is-edit":Mi.value,onSubmit:Fn,onCancel:Co},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),f(Rt,{title:"资料收集",modelValue:we.value,"onUpdate:modelValue":e[59]||(e[59]=p=>we.value=p),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:b(()=>[l("span",ff,[f(I,{onClick:Tr},{default:b(()=>e[244]||(e[244]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:Ua},{default:b(()=>e[245]||(e[245]=[M("确认")])),_:1})])]),default:b(()=>[l("div",Jc,[l("div",Wc,[e[243]||(e[243]=l("div",{class:"panel-header"},[l("h3",null,"字段显示配置")],-1)),l("div",Hc,[e[238]||(e[238]=l("div",{class:"section-title"},"基本信息",-1)),f(_t,{gutter:20},{default:b(()=>[(j(!0),X(We,null,He(Ka(),(p,oe)=>(j(),Ce(qt,{span:8,key:oe},{default:b(()=>[l("div",Yc,[l("span",Xc,ie(p.label),1),f(Pn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(ke,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[239]||(e[239]=l("div",{class:"section-title"},"家庭成员信息",-1)),f(_t,{gutter:20},{default:b(()=>[f(qt,{span:24},{default:b(()=>[l("div",Zc,[l("span",qc,[M(ie(G.family_member.label)+" ",1),G.family_member.visible?(j(),Ce(ht,{key:0,size:"small",type:"success"},{default:b(()=>e[235]||(e[235]=[M("已启用")])),_:1})):Ve("",!0)]),f(ke,{modelValue:G.family_member.visible,"onUpdate:modelValue":e[56]||(e[56]=p=>G.family_member.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.family_member.visible?(j(),Ce(_t,{key:0,gutter:20},{default:b(()=>[(j(!0),X(We,null,He(G.family_member.fields,(p,oe)=>(j(),Ce(qt,{span:8,key:oe},{default:b(()=>[l("div",_c,[l("span",ef,ie(p.label),1),f(Pn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(ke,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Ve("",!0),e[240]||(e[240]=l("div",{class:"section-title"},"教育经历",-1)),f(_t,{gutter:20},{default:b(()=>[f(qt,{span:24},{default:b(()=>[l("div",tf,[l("span",nf,[M(ie(G.education.label)+" ",1),G.education.visible?(j(),Ce(ht,{key:0,size:"small",type:"success"},{default:b(()=>e[236]||(e[236]=[M("已启用")])),_:1})):Ve("",!0)]),f(ke,{modelValue:G.education.visible,"onUpdate:modelValue":e[57]||(e[57]=p=>G.education.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.education.visible?(j(),Ce(_t,{key:1,gutter:20},{default:b(()=>[(j(!0),X(We,null,He(G.education.fields,(p,oe)=>(j(),Ce(qt,{span:8,key:oe},{default:b(()=>[l("div",of,[l("span",rf,ie(p.label),1),f(Pn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(ke,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Ve("",!0),e[241]||(e[241]=l("div",{class:"section-title"},"专业技能",-1)),f(_t,{gutter:20},{default:b(()=>[(j(!0),X(We,null,He(Ma(),(p,oe)=>(j(),Ce(qt,{span:8,key:oe},{default:b(()=>[l("div",af,[l("span",lf,ie(p.label),1),f(Pn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(ke,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[242]||(e[242]=l("div",{class:"section-title"},"工作经历",-1)),f(_t,{gutter:20},{default:b(()=>[f(qt,{span:24},{default:b(()=>[l("div",sf,[l("span",df,[M(ie(G.work_experience.label)+" ",1),G.work_experience.visible?(j(),Ce(ht,{key:0,size:"small",type:"success"},{default:b(()=>e[237]||(e[237]=[M("已启用")])),_:1})):Ve("",!0)]),f(ke,{modelValue:G.work_experience.visible,"onUpdate:modelValue":e[58]||(e[58]=p=>G.work_experience.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),G.work_experience.visible?(j(),Ce(_t,{key:2,gutter:20},{default:b(()=>[(j(!0),X(We,null,He(G.work_experience.fields,(p,oe)=>(j(),Ce(qt,{span:8,key:oe},{default:b(()=>[l("div",uf,[l("span",cf,ie(p.label),1),f(Pn,{content:"切换显示/隐藏",placement:"top"},{default:b(()=>[f(ke,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Ve("",!0)])])])]),_:1},8,["modelValue"]),f(Rt,{title:"简历收集",modelValue:Te.value,"onUpdate:modelValue":e[61]||(e[61]=p=>Te.value=p),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:b(()=>[l("span",mf,[f(I,{onClick:st},{default:b(()=>e[247]||(e[247]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:ot},{default:b(()=>e[248]||(e[248]=[M("确认")])),_:1})])]),default:b(()=>[l("div",vf,[l("div",pf,[e[246]||(e[246]=l("div",{class:"form-label"},"步骤名称",-1)),f(z,{modelValue:Ae.title,"onUpdate:modelValue":e[60]||(e[60]=p=>Ae.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),f(Rt,{title:"添加代码笔试步骤",modelValue:Ln.value,"onUpdate:modelValue":e[64]||(e[64]=p=>Ln.value=p),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:b(()=>[l("span",Tf,[f(I,{onClick:Pi},{default:b(()=>e[257]||(e[257]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:Rr},{default:b(()=>e[258]||(e[258]=[M("确认")])),_:1})])]),default:b(()=>[l("div",gf,[l("div",hf,[e[249]||(e[249]=l("div",{class:"form-label"},"步骤名称",-1)),f(z,{modelValue:rt.title,"onUpdate:modelValue":e[62]||(e[62]=p=>rt.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",yf,[e[250]||(e[250]=l("div",{class:"form-label"},"自动评判试卷",-1)),f(ke,{modelValue:rt.autoJudge,"onUpdate:modelValue":e[63]||(e[63]=p=>rt.autoJudge=p)},null,8,["modelValue"]),l("span",bf,ie(rt.autoJudge?"开启":"关闭"),1)]),l("div",Sf,[e[256]||(e[256]=l("div",{class:"form-label"},"添加考试试卷",-1)),l("div",Ef,[rt.selectedPaper?(j(),X("div",If,[l("div",Cf,[l("div",Af,ie(rt.selectedPaper.title),1),l("div",wf,[l("span",null,ie(rt.selectedPaper.questionCount)+"道题",1),l("span",null,ie(rt.selectedPaper.duration)+"分钟",1),l("span",null,ie(rt.selectedPaper.difficulty),1)])]),l("div",Of,[f(I,{type:"text",onClick:Ur},{default:b(()=>e[253]||(e[253]=[M("查看")])),_:1}),f(I,{type:"text",onClick:Kr},{default:b(()=>e[254]||(e[254]=[M("更换")])),_:1}),f(I,{type:"text",onClick:Mr},{default:b(()=>e[255]||(e[255]=[M("删除")])),_:1})])])):(j(),X("div",xf,[f(I,{type:"primary",plain:"",onClick:Vr},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(fn))]),_:1}),e[251]||(e[251]=M(" 添加考卷 "))]),_:1}),e[252]||(e[252]=l("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),f(ye(ai),{title:"添加打字测试步骤",modelValue:Qn.value,"onUpdate:modelValue":e[72]||(e[72]=p=>Qn.value=p),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:b(()=>[l("span",Qf,[f(I,{onClick:Ri},{default:b(()=>e[275]||(e[275]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:Br},{default:b(()=>e[276]||(e[276]=[M("保存")])),_:1})])]),default:b(()=>[l("div",Df,[l("div",Pf,[e[260]||(e[260]=l("div",{class:"form-label"},"选择文章",-1)),l("div",Rf,[f(I,{type:"primary",size:"small",class:"add-article-btn"},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(fn))]),_:1}),e[259]||(e[259]=M(" 添加文章 "))]),_:1})])]),l("div",Vf,[e[263]||(e[263]=l("div",{class:"form-label"},"候选人选择文章方式",-1)),f(il,{modelValue:nt.selectionMode,"onUpdate:modelValue":e[65]||(e[65]=p=>nt.selectionMode=p)},{default:b(()=>[f(lo,{label:"random"},{default:b(()=>e[261]||(e[261]=[M("随机抽取")])),_:1}),f(lo,{label:"self"},{default:b(()=>e[262]||(e[262]=[M("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),l("div",Uf,[e[265]||(e[265]=l("div",{class:"form-label"},"测试时间",-1)),l("div",Kf,[f(z,{modelValue:nt.duration,"onUpdate:modelValue":e[66]||(e[66]=p=>nt.duration=p),class:"time-input"},null,8,["modelValue"]),e[264]||(e[264]=l("span",{class:"time-unit"},"分钟",-1))])]),l("div",Mf,[e[267]||(e[267]=l("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),f(Qi,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:b(()=>[l("div",Bf,[f(K,null,{default:b(()=>[f(ye(fn))]),_:1}),e[266]||(e[266]=l("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),l("div",kf,[e[268]||(e[268]=l("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),f(z,{modelValue:nt.notes,"onUpdate:modelValue":e[67]||(e[67]=p=>nt.notes=p),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),l("div",jf,[e[269]||(e[269]=l("div",{class:"form-label"},"测试页面标题",-1)),f(z,{modelValue:nt.pageTitle,"onUpdate:modelValue":e[68]||(e[68]=p=>nt.pageTitle=p),placeholder:"测试页面标题"},null,8,["modelValue"])]),l("div",Nf,[e[271]||(e[271]=l("div",{class:"form-label"},"视频监控",-1)),f(Tn,{modelValue:nt.videoMonitoring,"onUpdate:modelValue":e[69]||(e[69]=p=>nt.videoMonitoring=p)},{default:b(()=>e[270]||(e[270]=[M("视频监控")])),_:1},8,["modelValue"])]),l("div",Ff,[e[274]||(e[274]=l("div",{class:"form-label"},"通过标准",-1)),l("div",Lf,[f(Tn,{modelValue:nt.passCriteria.speed,"onUpdate:modelValue":e[70]||(e[70]=p=>nt.passCriteria.speed=p)},{default:b(()=>e[272]||(e[272]=[M("速度")])),_:1},8,["modelValue"]),f(Tn,{modelValue:nt.passCriteria.accuracy,"onUpdate:modelValue":e[71]||(e[71]=p=>nt.passCriteria.accuracy=p)},{default:b(()=>e[273]||(e[273]=[M("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),f(Rt,{title:"面试设置",modelValue:oo.value,"onUpdate:modelValue":e[82]||(e[82]=p=>oo.value=p),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:b(()=>[l("span",yv,[f(I,{onClick:Ba},{default:b(()=>e[296]||(e[296]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:ka},{default:b(()=>e[297]||(e[297]=[M("完成")])),_:1})])]),default:b(()=>[l("div",zf,[l("div",Gf,[e[283]||(e[283]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"防作弊设置")],-1)),l("div",$f,[e[277]||(e[277]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「人脸一致性检测」"),l("p",{class:"setting-desc"},"该强调,非本人操作人脸可视化提醒和警示,默认开启")],-1)),f(ke,{modelValue:Be.faceConsistency,"onUpdate:modelValue":e[73]||(e[73]=p=>Be.faceConsistency=p),disabled:!0},null,8,["modelValue"])]),l("div",Jf,[e[278]||(e[278]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),l("p",{class:"setting-desc"},"该强调,非本人前来体验截屏录屏以上行为,为防止提醒")],-1)),f(ke,{modelValue:Be.preventScreenshot,"onUpdate:modelValue":e[74]||(e[74]=p=>Be.preventScreenshot=p),disabled:!0},null,8,["modelValue"])]),l("div",Wf,[e[280]||(e[280]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 切 屏 预 制 」"),l("p",{class:"setting-desc"},"该强调,非本人前使用切屏处理用页面,为防作弊警示")],-1)),f(ke,{modelValue:Be.screenSwitchAlert,"onUpdate:modelValue":e[75]||(e[75]=p=>Be.screenSwitchAlert=p),disabled:!0},{default:b(()=>e[279]||(e[279]=[l("span",{class:"switch-desc"},"切屏超过 2 次关闭,作答本关面试",-1)])),_:1},8,["modelValue"])]),l("div",Hf,[e[281]||(e[281]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 情 绪 识 别」"),l("p",{class:"setting-desc"},"该现已,条件较差以及入侵过程中的作弊,条件等好等")],-1)),f(ke,{modelValue:Be.positionDetection,"onUpdate:modelValue":e[76]||(e[76]=p=>Be.positionDetection=p)},null,8,["modelValue"])]),l("div",Yf,[e[282]||(e[282]=l("div",{class:"setting-info"},[l("span",{class:"setting-name"},"「 眼 动 检 测 」"),l("p",{class:"setting-desc"},"视实检测候选人的眼动频率进行分析,页面等较等")],-1)),f(ke,{modelValue:Be.eyeMovementDetection,"onUpdate:modelValue":e[77]||(e[77]=p=>Be.eyeMovementDetection=p)},null,8,["modelValue"])])]),l("div",Xf,[e[295]||(e[295]=l("div",{class:"section-header"},[l("span",{class:"section-title"},"其他设置")],-1)),l("div",Zf,[l("div",qf,[e[285]||(e[285]=l("span",{class:"setting-name"},"重复面试",-1)),l("div",_f,[e[284]||(e[284]=l("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),f(ke,{modelValue:Be.reviewInterview,"onUpdate:modelValue":e[78]||(e[78]=p=>Be.reviewInterview=p)},null,8,["modelValue"])])])]),l("div",ev,[l("div",tv,[e[288]||(e[288]=l("span",{class:"setting-name"},"开场词",-1)),In.value?(j(),X("div",iv,[f(z,{modelValue:Zt.value,"onUpdate:modelValue":e[79]||(e[79]=p=>Zt.value=p),type:"textarea",rows:"2",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),l("div",rv,[f(I,{size:"small",onClick:Fa},{default:b(()=>e[286]||(e[286]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:La},{default:b(()=>e[287]||(e[287]=[M("保存")])),_:1})])])):(j(),X("div",nv,[l("p",ov,ie(Be.beforeStartText),1),f(I,{type:"text",class:"edit-desc-btn",onClick:Na},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))])]),l("div",av,[l("div",lv,[e[291]||(e[291]=l("span",{class:"setting-name"},"开始后提醒",-1)),io.value?(j(),X("div",uv,[f(z,{modelValue:Cn.value,"onUpdate:modelValue":e[80]||(e[80]=p=>Cn.value=p),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),l("div",cv,[f(I,{size:"small",onClick:za},{default:b(()=>e[289]||(e[289]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:Ga},{default:b(()=>e[290]||(e[290]=[M("保存")])),_:1})])])):(j(),X("div",sv,[l("p",dv,ie(Be.afterStartText),1),f(I,{type:"text",class:"edit-desc-btn",onClick:Qa},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))])]),l("div",fv,[l("div",vv,[e[294]||(e[294]=l("span",{class:"setting-name"},"结束语",-1)),ro.value?(j(),X("div",gv,[f(z,{modelValue:An.value,"onUpdate:modelValue":e[81]||(e[81]=p=>An.value=p),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),l("div",hv,[f(I,{size:"small",onClick:Ja},{default:b(()=>e[292]||(e[292]=[M("取消")])),_:1}),f(I,{size:"small",type:"primary",onClick:Wa},{default:b(()=>e[293]||(e[293]=[M("保存")])),_:1})])])):(j(),X("div",pv,[l("p",mv,ie(Be.disclaimerText),1),f(I,{type:"text",class:"edit-desc-btn",onClick:$a},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(pt))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),f(Rt,{title:"选择题目",modelValue:m.value,"onUpdate:modelValue":e[87]||(e[87]=p=>m.value=p),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:b(()=>[l("span",Cv,[f(I,{onClick:ji},{default:b(()=>e[298]||(e[298]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:y,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:b(()=>e[299]||(e[299]=[M("确定")])),_:1})])]),default:b(()=>[l("div",bv,[l("div",Sv,[l("div",Ev,[f(z,{modelValue:dn.value,"onUpdate:modelValue":e[83]||(e[83]=p=>dn.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Xt,onKeyup:Wi(Xt,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:b(()=>[f(I,{onClick:Xt},{default:b(()=>[f(K,null,{default:b(()=>[f(ye(Xi))]),_:1})]),_:1})]),_:1},8,["modelValue"]),f(ve,{modelValue:Je.question_form,"onUpdate:modelValue":e[84]||(e[84]=p=>Je.question_form=p),placeholder:"题目类型",clearable:"",onChange:Xt,style:{width:"120px"}},{default:b(()=>[f(_,{label:"开放问题",value:0}),f(_,{label:"单选题",value:1}),f(_,{label:"多选题",value:2}),f(_,{label:"看图选答案",value:3}),f(_,{label:"得分题",value:4}),f(_,{label:"追加型开放问题",value:5}),f(_,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),l("div",xv,[f(zi,{data:gt.value,style:{width:"100%"},onSelectionChange:ki},{default:b(()=>[f(Rn,{type:"selection",width:"55"}),f(Rn,{prop:"question",label:"题目标题"}),f(Rn,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),l("div",Iv,[f(Gi,{"current-page":Je.page,"onUpdate:currentPage":e[85]||(e[85]=p=>Je.page=p),"page-size":Je.pageSize,"onUpdate:pageSize":e[86]||(e[86]=p=>Je.pageSize=p),total:no.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:g,onCurrentChange:h},null,8,["current-page","page-size","total"])])])])]),_:1},8,["modelValue"]),f(Rt,{title:ao.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:On.value,"onUpdate:modelValue":e[91]||(e[91]=p=>On.value=p),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:b(()=>[l("span",Dv,[f(I,{onClick:Le},{default:b(()=>e[306]||(e[306]=[M("取消")])),_:1}),f(I,{type:"primary",onClick:xe},{default:b(()=>e[307]||(e[307]=[M("确认")])),_:1})])]),default:b(()=>[l("div",Av,[l("div",wv,[e[300]||(e[300]=l("div",{class:"form-label"},[M(" 环节名称"),l("span",{class:"required"},"*")],-1)),f(z,{modelValue:De.title,"onUpdate:modelValue":e[88]||(e[88]=p=>De.title=p),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),l("div",Ov,[e[301]||(e[301]=l("div",{class:"form-label"},[M(" 提问时长"),l("span",{class:"required"},"*")],-1)),f(Dn,{modelValue:De.duration,"onUpdate:modelValue":e[89]||(e[89]=p=>De.duration=p),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[302]||(e[302]=l("span",{class:"form-unit"},"分钟",-1)),e[303]||(e[303]=l("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),l("div",Tv,[e[304]||(e[304]=l("div",{class:"form-label"},"环节描述",-1)),f(z,{modelValue:De.description,"onUpdate:modelValue":e[90]||(e[90]=p=>De.description=p),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),e[305]||(e[305]=l("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"])])}}}),Fv=wl(Pv,[["__scopeId","data-v-91cd54e2"]]);export{Fv as default};
|