12345678910 |
- import{a as Sa,aH as Ea,aB as xa,r as W,_ as qe,q as Ia,W as Ca,aj as Be,at as Aa,c as H,o as j,b as d,S as p,K as E,P as B,Q as ie,u as Ee,M as Xe,J as Te,R as We,a9 as He,G as bt,Y as wa,F as Oa,L as Er,a7 as Ta}from"./vue.D1BjjNmv.js";import{a as Da,U as xt}from"./api.DIJQI_dZ.js";import{r as et,a1 as Pa,g as Ra,a2 as Va,c as Ka,E as U,V as st,T as bn,a3 as xr,X as Ir,a4 as ko,a5 as Ua,Y as Cr}from"./index.DgK4n6EP.js";import{g as Ma}from"./pcaData.5HEg6BqW.js";import{_ as Ba}from"./_plugin-vue_export-helper.DlAUqK2U.js";const Qo="/assets/sheng.BKW1Im68.png",Na="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";function ja(a){return et({url:"/api/system/competency/list",method:"get",params:{...a,tenant_id:1}})}function Jn(a){return et({url:"/api/system/interview_question/list",method:"get",params:{...a,tenant_id:1}})}function Fa(a){return et({url:"/api/system/interview_question/ai_generated",method:"post",data:{...a,tenant_id:1},timeout:0})}function La(a){return et({url:`/api/system/interview_question/draft_list?tenant_id=${a.tenant_id}&position_id=${a.position_id}`,method:"get"})}function ka(a){return et({url:"/api/system/interview_question/confirm_draft",method:"post",data:{...a,tenant_id:1}})}function Qa(a){return et({url:"/api/system/digital_human/",method:"get",params:{...a,tenant_id:1}})}function en(a){return et({url:"/api/system/job_config/list",method:"post",data:{...a,tenant_id:1}})}function tn(a){return et({url:`/api/system/job_config/detail/${a.id}`,method:"put",data:{...a,tenant_id:1}})}function Sn(a){return et({url:`/api/system/job_config/position/detail/${a}`,method:"get"})}function Ga(a){return et({url:"api/system/job/add_question",method:"post",data:{...a,tenant_id:"1"}})}function Go(a){return et({url:"/api/system/digital_human/generate_opening_video",method:"post",data:{...a,tenant_id:"1"},timeout:0})}function Ar(a){return et({url:"/api/system/digital_human/generate_question_videos",method:"post",data:{...a,tenant_id:"1",force_regenerate:!0},timeout:0})}function wr(a){return et({url:"api/system/job/add_question",method:"post",data:{...a,tenant_id:"1"}})}function Or(a){return et({url:"/api/system/job/batch_delete_questions",method:"post",data:{...a,tenant_id:"1"}})}function za(a){return et({url:"/api/system/interview_question/update",method:"put",data:{...a,tenant_id:"1"}})}function Tr(a){return et({url:"/competency/generate_from_position/",method:"post",data:{...a,tenant_id:"1"},timeout:0})}function $a(a){return et({url:"/competency/save_position_tags/",method:"post",data:{...a,tenant_id:"1"}})}var Qr={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function Dr(a,r){var o=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);r&&(s=s.filter(function(n){return Object.getOwnPropertyDescriptor(a,n).enumerable})),o.push.apply(o,s)}return o}function Rt(a){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?Dr(Object(o),!0).forEach(function(s){Ja(a,s,o[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(o)):Dr(Object(o)).forEach(function(s){Object.defineProperty(a,s,Object.getOwnPropertyDescriptor(o,s))})}return a}function Ao(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ao=function(r){return typeof r}:Ao=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ao(a)}function Ja(a,r,o){return r in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,a}function Et(){return Et=Object.assign||function(a){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(a[s]=o[s])}return a},Et.apply(this,arguments)}function Wa(a,r){if(a==null)return{};var o={},s=Object.keys(a),n,c;for(c=0;c<s.length;c++)n=s[c],!(r.indexOf(n)>=0)&&(o[n]=a[n]);return o}function Ha(a,r){if(a==null)return{};var o=Wa(a,r),s,n;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(a);for(n=0;n<c.length;n++)s=c[n],!(r.indexOf(s)>=0)&&Object.prototype.propertyIsEnumerable.call(a,s)&&(o[s]=a[s])}return o}function Ya(a){return Xa(a)||Za(a)||qa(a)||_a()}function Xa(a){if(Array.isArray(a))return er(a)}function Za(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function qa(a,r){if(a){if(typeof a=="string")return er(a,r);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 er(a,r)}}function er(a,r){(r==null||r>a.length)&&(r=a.length);for(var o=0,s=new Array(r);o<r;o++)s[o]=a[o];return s}function _a(){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 el="1.14.0";function Ft(a){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(a)}var Lt=Ft(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),io=Ft(/Edge/i),Pr=Ft(/firefox/i),eo=Ft(/safari/i)&&!Ft(/chrome/i)&&!Ft(/android/i),Gr=Ft(/iP(ad|od|hone)/i),tl=Ft(/chrome/i)&&Ft(/android/i),zr={capture:!1,passive:!1};function ye(a,r,o){a.addEventListener(r,o,!Lt&&zr)}function me(a,r,o){a.removeEventListener(r,o,!Lt&&zr)}function Po(a,r){if(r){if(r[0]===">"&&(r=r.substring(1)),a)try{if(a.matches)return a.matches(r);if(a.msMatchesSelector)return a.msMatchesSelector(r);if(a.webkitMatchesSelector)return a.webkitMatchesSelector(r)}catch{return!1}return!1}}function nl(a){return a.host&&a!==document&&a.host.nodeType?a.host:a.parentNode}function At(a,r,o,s){if(a){o=o||document;do{if(r!=null&&(r[0]===">"?a.parentNode===o&&Po(a,r):Po(a,r))||s&&a===o)return a;if(a===o)break}while(a=nl(a))}return null}var Rr=/\s+/g;function Ne(a,r,o){if(a&&r)if(a.classList)a.classList[o?"add":"remove"](r);else{var s=(" "+a.className+" ").replace(Rr," ").replace(" "+r+" "," ");a.className=(s+(o?" "+r:"")).replace(Rr," ")}}function te(a,r,o){var s=a&&a.style;if(s){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(a,""):a.currentStyle&&(o=a.currentStyle),r===void 0?o:o[r];!(r in s)&&r.indexOf("webkit")===-1&&(r="-webkit-"+r),s[r]=o+(typeof o=="string"?"":"px")}}function an(a,r){var o="";if(typeof a=="string")o=a;else do{var s=te(a,"transform");s&&s!=="none"&&(o=s+" "+o)}while(!r&&(a=a.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function $r(a,r,o){if(a){var s=a.getElementsByTagName(r),n=0,c=s.length;if(o)for(;n<c;n++)o(s[n],n);return s}return[]}function Pt(){var a=document.scrollingElement;return a||document.documentElement}function Ue(a,r,o,s,n){if(!(!a.getBoundingClientRect&&a!==window)){var c,e,i,l,u,v,f;if(a!==window&&a.parentNode&&a!==Pt()?(c=a.getBoundingClientRect(),e=c.top,i=c.left,l=c.bottom,u=c.right,v=c.height,f=c.width):(e=0,i=0,l=window.innerHeight,u=window.innerWidth,v=window.innerHeight,f=window.innerWidth),(r||o)&&a!==window&&(n=n||a.parentNode,!Lt))do if(n&&n.getBoundingClientRect&&(te(n,"transform")!=="none"||o&&te(n,"position")!=="static")){var g=n.getBoundingClientRect();e-=g.top+parseInt(te(n,"border-top-width")),i-=g.left+parseInt(te(n,"border-left-width")),l=e+c.height,u=i+c.width;break}while(n=n.parentNode);if(s&&a!==window){var h=an(n||a),y=h&&h.a,S=h&&h.d;h&&(e/=S,i/=y,f/=y,v/=S,l=e+v,u=i+f)}return{top:e,left:i,bottom:l,right:u,width:f,height:v}}}function Vr(a,r,o){for(var s=Ht(a,!0),n=Ue(a)[r];s;){var c=Ue(s)[o],e=void 0;if(e=n>=c,!e)return s;if(s===Pt())break;s=Ht(s,!1)}return!1}function wn(a,r,o,s){for(var n=0,c=0,e=a.children;c<e.length;){if(e[c].style.display!=="none"&&e[c]!==ae.ghost&&(s||e[c]!==ae.dragged)&&At(e[c],o.draggable,a,!1)){if(n===r)return e[c];n++}c++}return null}function ir(a,r){for(var o=a.lastElementChild;o&&(o===ae.ghost||te(o,"display")==="none"||r&&!Po(o,r));)o=o.previousElementSibling;return o||null}function ke(a,r){var o=0;if(!a||!a.parentNode)return-1;for(;a=a.previousElementSibling;)a.nodeName.toUpperCase()!=="TEMPLATE"&&a!==ae.clone&&(!r||Po(a,r))&&o++;return o}function Kr(a){var r=0,o=0,s=Pt();if(a)do{var n=an(a),c=n.a,e=n.d;r+=a.scrollLeft*c,o+=a.scrollTop*e}while(a!==s&&(a=a.parentNode));return[r,o]}function ol(a,r){for(var o in a)if(a.hasOwnProperty(o)){for(var s in r)if(r.hasOwnProperty(s)&&r[s]===a[o][s])return Number(o)}return-1}function Ht(a,r){if(!a||!a.getBoundingClientRect)return Pt();var o=a,s=!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 Pt();if(s||r)return o;s=!0}}while(o=o.parentNode);return Pt()}function rl(a,r){if(a&&r)for(var o in r)r.hasOwnProperty(o)&&(a[o]=r[o]);return a}function zo(a,r){return Math.round(a.top)===Math.round(r.top)&&Math.round(a.left)===Math.round(r.left)&&Math.round(a.height)===Math.round(r.height)&&Math.round(a.width)===Math.round(r.width)}var to;function Jr(a,r){return function(){if(!to){var o=arguments,s=this;o.length===1?a.call(s,o[0]):a.apply(s,o),to=setTimeout(function(){to=void 0},r)}}}function il(){clearTimeout(to),to=void 0}function Wr(a,r,o){a.scrollLeft+=r,a.scrollTop+=o}function ar(a){var r=window.Polymer,o=window.jQuery||window.Zepto;return r&&r.dom?r.dom(a).cloneNode(!0):o?o(a).clone(!0)[0]:a.cloneNode(!0)}function Ur(a,r){te(a,"position","absolute"),te(a,"top",r.top),te(a,"left",r.left),te(a,"width",r.width),te(a,"height",r.height)}function $o(a){te(a,"position",""),te(a,"top",""),te(a,"left",""),te(a,"width",""),te(a,"height","")}var rt="Sortable"+new Date().getTime();function al(){var a=[],r;return{captureAnimationState:function(){if(a=[],!!this.options.animation){var s=[].slice.call(this.el.children);s.forEach(function(n){if(!(te(n,"display")==="none"||n===ae.ghost)){a.push({target:n,rect:Ue(n)});var c=Rt({},a[a.length-1].rect);if(n.thisAnimationDuration){var e=an(n,!0);e&&(c.top-=e.f,c.left-=e.e)}n.fromRect=c}})}},addAnimationState:function(s){a.push(s)},removeAnimationState:function(s){a.splice(ol(a,{target:s}),1)},animateAll:function(s){var n=this;if(!this.options.animation){clearTimeout(r),typeof s=="function"&&s();return}var c=!1,e=0;a.forEach(function(i){var l=0,u=i.target,v=u.fromRect,f=Ue(u),g=u.prevFromRect,h=u.prevToRect,y=i.rect,S=an(u,!0);S&&(f.top-=S.f,f.left-=S.e),u.toRect=f,u.thisAnimationDuration&&zo(g,f)&&!zo(v,f)&&(y.top-f.top)/(y.left-f.left)===(v.top-f.top)/(v.left-f.left)&&(l=sl(y,g,h,n.options)),zo(f,v)||(u.prevFromRect=v,u.prevToRect=f,l||(l=n.options.animation),n.animate(u,y,f,l)),l&&(c=!0,e=Math.max(e,l),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},l),u.thisAnimationDuration=l)}),clearTimeout(r),c?r=setTimeout(function(){typeof s=="function"&&s()},e):typeof s=="function"&&s(),a=[]},animate:function(s,n,c,e){if(e){te(s,"transition",""),te(s,"transform","");var i=an(this.el),l=i&&i.a,u=i&&i.d,v=(n.left-c.left)/(l||1),f=(n.top-c.top)/(u||1);s.animatingX=!!v,s.animatingY=!!f,te(s,"transform","translate3d("+v+"px,"+f+"px,0)"),this.forRepaintDummy=ll(s),te(s,"transition","transform "+e+"ms"+(this.options.easing?" "+this.options.easing:"")),te(s,"transform","translate3d(0,0,0)"),typeof s.animated=="number"&&clearTimeout(s.animated),s.animated=setTimeout(function(){te(s,"transition",""),te(s,"transform",""),s.animated=!1,s.animatingX=!1,s.animatingY=!1},e)}}}}function ll(a){return a.offsetWidth}function sl(a,r,o,s){return Math.sqrt(Math.pow(r.top-a.top,2)+Math.pow(r.left-a.left,2))/Math.sqrt(Math.pow(r.top-o.top,2)+Math.pow(r.left-o.left,2))*s.animation}var En=[],Jo={initializeByDefault:!0},ao={mount:function(r){for(var o in Jo)Jo.hasOwnProperty(o)&&!(o in r)&&(r[o]=Jo[o]);En.forEach(function(s){if(s.pluginName===r.pluginName)throw"Sortable: Cannot mount plugin ".concat(r.pluginName," more than once")}),En.push(r)},pluginEvent:function(r,o,s){var n=this;this.eventCanceled=!1,s.cancel=function(){n.eventCanceled=!0};var c=r+"Global";En.forEach(function(e){o[e.pluginName]&&(o[e.pluginName][c]&&o[e.pluginName][c](Rt({sortable:o},s)),o.options[e.pluginName]&&o[e.pluginName][r]&&o[e.pluginName][r](Rt({sortable:o},s)))})},initializePlugins:function(r,o,s,n){En.forEach(function(i){var l=i.pluginName;if(!(!r.options[l]&&!i.initializeByDefault)){var u=new i(r,o,r.options);u.sortable=r,u.options=r.options,r[l]=u,Et(s,u.defaults)}});for(var c in r.options)if(r.options.hasOwnProperty(c)){var e=this.modifyOption(r,c,r.options[c]);typeof e<"u"&&(r.options[c]=e)}},getEventProperties:function(r,o){var s={};return En.forEach(function(n){typeof n.eventProperties=="function"&&Et(s,n.eventProperties.call(o[n.pluginName],r))}),s},modifyOption:function(r,o,s){var n;return En.forEach(function(c){r[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[o]=="function"&&(n=c.optionListeners[o].call(r[c.pluginName],s))}),n}};function Xn(a){var r=a.sortable,o=a.rootEl,s=a.name,n=a.targetEl,c=a.cloneEl,e=a.toEl,i=a.fromEl,l=a.oldIndex,u=a.newIndex,v=a.oldDraggableIndex,f=a.newDraggableIndex,g=a.originalEvent,h=a.putSortable,y=a.extraEventProperties;if(r=r||o&&o[rt],!!r){var S,x=r.options,A="on"+s.charAt(0).toUpperCase()+s.substr(1);window.CustomEvent&&!Lt&&!io?S=new CustomEvent(s,{bubbles:!0,cancelable:!0}):(S=document.createEvent("Event"),S.initEvent(s,!0,!0)),S.to=e||o,S.from=i||o,S.item=n||o,S.clone=c,S.oldIndex=l,S.newIndex=u,S.oldDraggableIndex=v,S.newDraggableIndex=f,S.originalEvent=g,S.pullMode=h?h.lastPutMode:void 0;var O=Rt(Rt({},y),ao.getEventProperties(s,r));for(var T in O)S[T]=O[T];o&&o.dispatchEvent(S),x[A]&&x[A].call(r,S)}}var dl=["evt"],ct=function(r,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=s.evt,c=Ha(s,dl);ao.pluginEvent.bind(ae)(r,o,Rt({dragEl:Q,parentEl:Fe,ghostEl:pe,rootEl:Ke,nextEl:rn,lastDownEl:wo,cloneEl:Le,cloneHidden:Wt,dragStarted:Zn,putSortable:_e,activeSortable:ae.active,originalEvent:n,oldIndex:An,oldDraggableIndex:no,newIndex:mt,newDraggableIndex:Jt,hideGhostForTarget:Zr,unhideGhostForTarget:qr,cloneNowHidden:function(){Wt=!0},cloneNowShown:function(){Wt=!1},dispatchSortableEvent:function(i){dt({sortable:o,name:i,originalEvent:n})}},c))};function dt(a){Xn(Rt({putSortable:_e,cloneEl:Le,targetEl:Q,rootEl:Ke,oldIndex:An,oldDraggableIndex:no,newIndex:mt,newDraggableIndex:Jt},a))}var Q,Fe,pe,Ke,rn,wo,Le,Wt,An,mt,no,Jt,bo,_e,Cn=!1,Ro=!1,Vo=[],nn,It,Wo,Ho,Mr,Br,Zn,xn,oo,ro=!1,So=!1,Oo,ot,Yo=[],tr=!1,Ko=[],Mo=typeof document<"u",Eo=Gr,Nr=io||Lt?"cssFloat":"float",ul=Mo&&!tl&&!Gr&&"draggable"in document.createElement("div"),Hr=function(){if(Mo){if(Lt)return!1;var a=document.createElement("x");return a.style.cssText="pointer-events:auto",a.style.pointerEvents==="auto"}}(),Yr=function(r,o){var s=te(r),n=parseInt(s.width)-parseInt(s.paddingLeft)-parseInt(s.paddingRight)-parseInt(s.borderLeftWidth)-parseInt(s.borderRightWidth),c=wn(r,0,o),e=wn(r,1,o),i=c&&te(c),l=e&&te(e),u=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+Ue(c).width,v=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Ue(e).width;if(s.display==="flex")return s.flexDirection==="column"||s.flexDirection==="column-reverse"?"vertical":"horizontal";if(s.display==="grid")return s.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&i.float&&i.float!=="none"){var f=i.float==="left"?"left":"right";return e&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return c&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||u>=n&&s[Nr]==="none"||e&&s[Nr]==="none"&&u+v>n)?"vertical":"horizontal"},cl=function(r,o,s){var n=s?r.left:r.top,c=s?r.right:r.bottom,e=s?r.width:r.height,i=s?o.left:o.top,l=s?o.right:o.bottom,u=s?o.width:o.height;return n===i||c===l||n+e/2===i+u/2},fl=function(r,o){var s;return Vo.some(function(n){var c=n[rt].options.emptyInsertThreshold;if(!(!c||ir(n))){var e=Ue(n),i=r>=e.left-c&&r<=e.right+c,l=o>=e.top-c&&o<=e.bottom+c;if(i&&l)return s=n}}),s},Xr=function(r){function o(c,e){return function(i,l,u,v){var f=i.options.group.name&&l.options.group.name&&i.options.group.name===l.options.group.name;if(c==null&&(e||f))return!0;if(c==null||c===!1)return!1;if(e&&c==="clone")return c;if(typeof c=="function")return o(c(i,l,u,v),e)(i,l,u,v);var g=(e?i:l).options.group.name;return c===!0||typeof c=="string"&&c===g||c.join&&c.indexOf(g)>-1}}var s={},n=r.group;(!n||Ao(n)!="object")&&(n={name:n}),s.name=n.name,s.checkPull=o(n.pull,!0),s.checkPut=o(n.put),s.revertClone=n.revertClone,r.group=s},Zr=function(){!Hr&&pe&&te(pe,"display","none")},qr=function(){!Hr&&pe&&te(pe,"display","")};Mo&&document.addEventListener("click",function(a){if(Ro)return a.preventDefault(),a.stopPropagation&&a.stopPropagation(),a.stopImmediatePropagation&&a.stopImmediatePropagation(),Ro=!1,!1},!0);var on=function(r){if(Q){r=r.touches?r.touches[0]:r;var o=fl(r.clientX,r.clientY);if(o){var s={};for(var n in r)r.hasOwnProperty(n)&&(s[n]=r[n]);s.target=s.rootEl=o,s.preventDefault=void 0,s.stopPropagation=void 0,o[rt]._onDragOver(s)}}},vl=function(r){Q&&Q.parentNode[rt]._isOutsideThisEl(r.target)};function ae(a,r){if(!(a&&a.nodeType&&a.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(a));this.el=a,this.options=r=Et({},r),a[rt]=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 Yr(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(e,i){e.setData("Text",i.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:ae.supportPointer!==!1&&"PointerEvent"in window&&!eo,emptyInsertThreshold:5};ao.initializePlugins(this,a,o);for(var s in o)!(s in r)&&(r[s]=o[s]);Xr(r);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=r.forceFallback?!1:ul,this.nativeDraggable&&(this.options.touchStartThreshold=1),r.supportPointer?ye(a,"pointerdown",this._onTapStart):(ye(a,"mousedown",this._onTapStart),ye(a,"touchstart",this._onTapStart)),this.nativeDraggable&&(ye(a,"dragover",this),ye(a,"dragenter",this)),Vo.push(this.el),r.store&&r.store.get&&this.sort(r.store.get(this)||[]),Et(this,al())}ae.prototype={constructor:ae,_isOutsideThisEl:function(r){!this.el.contains(r)&&r!==this.el&&(xn=null)},_getDirection:function(r,o){return typeof this.options.direction=="function"?this.options.direction.call(this,r,o,Q):this.options.direction},_onTapStart:function(r){if(r.cancelable){var o=this,s=this.el,n=this.options,c=n.preventOnFilter,e=r.type,i=r.touches&&r.touches[0]||r.pointerType&&r.pointerType==="touch"&&r,l=(i||r).target,u=r.target.shadowRoot&&(r.path&&r.path[0]||r.composedPath&&r.composedPath()[0])||l,v=n.filter;if(El(s),!Q&&!(/mousedown|pointerdown/.test(e)&&r.button!==0||n.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&eo&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=At(l,n.draggable,s,!1),!(l&&l.animated)&&wo!==l)){if(An=ke(l),no=ke(l,n.draggable),typeof v=="function"){if(v.call(this,r,l,this)){dt({sortable:o,rootEl:u,name:"filter",targetEl:l,toEl:s,fromEl:s}),ct("filter",o,{evt:r}),c&&r.cancelable&&r.preventDefault();return}}else if(v&&(v=v.split(",").some(function(f){if(f=At(u,f.trim(),s,!1),f)return dt({sortable:o,rootEl:f,name:"filter",targetEl:l,fromEl:s,toEl:s}),ct("filter",o,{evt:r}),!0}),v)){c&&r.cancelable&&r.preventDefault();return}n.handle&&!At(u,n.handle,s,!1)||this._prepareDragStart(r,i,l)}}},_prepareDragStart:function(r,o,s){var n=this,c=n.el,e=n.options,i=c.ownerDocument,l;if(s&&!Q&&s.parentNode===c){var u=Ue(s);if(Ke=c,Q=s,Fe=Q.parentNode,rn=Q.nextSibling,wo=s,bo=e.group,ae.dragged=Q,nn={target:Q,clientX:(o||r).clientX,clientY:(o||r).clientY},Mr=nn.clientX-u.left,Br=nn.clientY-u.top,this._lastX=(o||r).clientX,this._lastY=(o||r).clientY,Q.style["will-change"]="all",l=function(){if(ct("delayEnded",n,{evt:r}),ae.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!Pr&&n.nativeDraggable&&(Q.draggable=!0),n._triggerDragStart(r,o),dt({sortable:n,name:"choose",originalEvent:r}),Ne(Q,e.chosenClass,!0)},e.ignore.split(",").forEach(function(v){$r(Q,v.trim(),Xo)}),ye(i,"dragover",on),ye(i,"mousemove",on),ye(i,"touchmove",on),ye(i,"mouseup",n._onDrop),ye(i,"touchend",n._onDrop),ye(i,"touchcancel",n._onDrop),Pr&&this.nativeDraggable&&(this.options.touchStartThreshold=4,Q.draggable=!0),ct("delayStart",this,{evt:r}),e.delay&&(!e.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(io||Lt))){if(ae.eventCanceled){this._onDrop();return}ye(i,"mouseup",n._disableDelayedDrag),ye(i,"touchend",n._disableDelayedDrag),ye(i,"touchcancel",n._disableDelayedDrag),ye(i,"mousemove",n._delayedDragTouchMoveHandler),ye(i,"touchmove",n._delayedDragTouchMoveHandler),e.supportPointer&&ye(i,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(l,e.delay)}else l()}},_delayedDragTouchMoveHandler:function(r){var o=r.touches?r.touches[0]:r;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(){Q&&Xo(Q),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var r=this.el.ownerDocument;me(r,"mouseup",this._disableDelayedDrag),me(r,"touchend",this._disableDelayedDrag),me(r,"touchcancel",this._disableDelayedDrag),me(r,"mousemove",this._delayedDragTouchMoveHandler),me(r,"touchmove",this._delayedDragTouchMoveHandler),me(r,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(r,o){o=o||r.pointerType=="touch"&&r,!this.nativeDraggable||o?this.options.supportPointer?ye(document,"pointermove",this._onTouchMove):o?ye(document,"touchmove",this._onTouchMove):ye(document,"mousemove",this._onTouchMove):(ye(Q,"dragend",this),ye(Ke,"dragstart",this._onDragStart));try{document.selection?To(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(r,o){if(Cn=!1,Ke&&Q){ct("dragStarted",this,{evt:o}),this.nativeDraggable&&ye(document,"dragover",vl);var s=this.options;!r&&Ne(Q,s.dragClass,!1),Ne(Q,s.ghostClass,!0),ae.active=this,r&&this._appendGhost(),dt({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(It){this._lastX=It.clientX,this._lastY=It.clientY,Zr();for(var r=document.elementFromPoint(It.clientX,It.clientY),o=r;r&&r.shadowRoot&&(r=r.shadowRoot.elementFromPoint(It.clientX,It.clientY),r!==o);)o=r;if(Q.parentNode[rt]._isOutsideThisEl(r),o)do{if(o[rt]){var s=void 0;if(s=o[rt]._onDragOver({clientX:It.clientX,clientY:It.clientY,target:r,rootEl:o}),s&&!this.options.dragoverBubble)break}r=o}while(o=o.parentNode);qr()}},_onTouchMove:function(r){if(nn){var o=this.options,s=o.fallbackTolerance,n=o.fallbackOffset,c=r.touches?r.touches[0]:r,e=pe&&an(pe,!0),i=pe&&e&&e.a,l=pe&&e&&e.d,u=Eo&&ot&&Kr(ot),v=(c.clientX-nn.clientX+n.x)/(i||1)+(u?u[0]-Yo[0]:0)/(i||1),f=(c.clientY-nn.clientY+n.y)/(l||1)+(u?u[1]-Yo[1]:0)/(l||1);if(!ae.active&&!Cn){if(s&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<s)return;this._onDragStart(r,!0)}if(pe){e?(e.e+=v-(Wo||0),e.f+=f-(Ho||0)):e={a:1,b:0,c:0,d:1,e:v,f};var g="matrix(".concat(e.a,",").concat(e.b,",").concat(e.c,",").concat(e.d,",").concat(e.e,",").concat(e.f,")");te(pe,"webkitTransform",g),te(pe,"mozTransform",g),te(pe,"msTransform",g),te(pe,"transform",g),Wo=v,Ho=f,It=c}r.cancelable&&r.preventDefault()}},_appendGhost:function(){if(!pe){var r=this.options.fallbackOnBody?document.body:Ke,o=Ue(Q,!0,Eo,!0,r),s=this.options;if(Eo){for(ot=r;te(ot,"position")==="static"&&te(ot,"transform")==="none"&&ot!==document;)ot=ot.parentNode;ot!==document.body&&ot!==document.documentElement?(ot===document&&(ot=Pt()),o.top+=ot.scrollTop,o.left+=ot.scrollLeft):ot=Pt(),Yo=Kr(ot)}pe=Q.cloneNode(!0),Ne(pe,s.ghostClass,!1),Ne(pe,s.fallbackClass,!0),Ne(pe,s.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",Eo?"absolute":"fixed"),te(pe,"zIndex","100000"),te(pe,"pointerEvents","none"),ae.ghost=pe,r.appendChild(pe),te(pe,"transform-origin",Mr/parseInt(pe.style.width)*100+"% "+Br/parseInt(pe.style.height)*100+"%")}},_onDragStart:function(r,o){var s=this,n=r.dataTransfer,c=s.options;if(ct("dragStart",this,{evt:r}),ae.eventCanceled){this._onDrop();return}ct("setupClone",this),ae.eventCanceled||(Le=ar(Q),Le.draggable=!1,Le.style["will-change"]="",this._hideClone(),Ne(Le,this.options.chosenClass,!1),ae.clone=Le),s.cloneId=To(function(){ct("clone",s),!ae.eventCanceled&&(s.options.removeCloneOnHide||Ke.insertBefore(Le,Q),s._hideClone(),dt({sortable:s,name:"clone"}))}),!o&&Ne(Q,c.dragClass,!0),o?(Ro=!0,s._loopId=setInterval(s._emulateDragOver,50)):(me(document,"mouseup",s._onDrop),me(document,"touchend",s._onDrop),me(document,"touchcancel",s._onDrop),n&&(n.effectAllowed="move",c.setData&&c.setData.call(s,n,Q)),ye(document,"drop",s),te(Q,"transform","translateZ(0)")),Cn=!0,s._dragStartId=To(s._dragStarted.bind(s,o,r)),ye(document,"selectstart",s),Zn=!0,eo&&te(document.body,"user-select","none")},_onDragOver:function(r){var o=this.el,s=r.target,n,c,e,i=this.options,l=i.group,u=ae.active,v=bo===l,f=i.sort,g=_e||u,h,y=this,S=!1;if(tr)return;function x(ve,Oe){ct(ve,y,Rt({evt:r,isOwner:v,axis:h?"vertical":"horizontal",revert:e,dragRect:n,targetRect:c,canSort:f,fromSortable:g,target:s,completed:O,onMove:function(Ie,Ve){return xo(Ke,o,Q,n,Ie,Ue(Ie),r,Ve)},changed:T},Oe))}function A(){x("dragOverAnimationCapture"),y.captureAnimationState(),y!==g&&g.captureAnimationState()}function O(ve){return x("dragOverCompleted",{insertion:ve}),ve&&(v?u._hideClone():u._showClone(y),y!==g&&(Ne(Q,_e?_e.options.ghostClass:u.options.ghostClass,!1),Ne(Q,i.ghostClass,!0)),_e!==y&&y!==ae.active?_e=y:y===ae.active&&_e&&(_e=null),g===y&&(y._ignoreWhileAnimating=s),y.animateAll(function(){x("dragOverAnimationComplete"),y._ignoreWhileAnimating=null}),y!==g&&(g.animateAll(),g._ignoreWhileAnimating=null)),(s===Q&&!Q.animated||s===o&&!s.animated)&&(xn=null),!i.dragoverBubble&&!r.rootEl&&s!==document&&(Q.parentNode[rt]._isOutsideThisEl(r.target),!ve&&on(r)),!i.dragoverBubble&&r.stopPropagation&&r.stopPropagation(),S=!0}function T(){mt=ke(Q),Jt=ke(Q,i.draggable),dt({sortable:y,name:"change",toEl:o,newIndex:mt,newDraggableIndex:Jt,originalEvent:r})}if(r.preventDefault!==void 0&&r.cancelable&&r.preventDefault(),s=At(s,i.draggable,o,!0),x("dragOver"),ae.eventCanceled)return S;if(Q.contains(r.target)||s.animated&&s.animatingX&&s.animatingY||y._ignoreWhileAnimating===s)return O(!1);if(Ro=!1,u&&!i.disabled&&(v?f||(e=Fe!==Ke):_e===this||(this.lastPutMode=bo.checkPull(this,u,Q,r))&&l.checkPut(this,u,Q,r))){if(h=this._getDirection(r,s)==="vertical",n=Ue(Q),x("dragOverValid"),ae.eventCanceled)return S;if(e)return Fe=Ke,A(),this._hideClone(),x("revert"),ae.eventCanceled||(rn?Ke.insertBefore(Q,rn):Ke.appendChild(Q)),O(!0);var P=ir(o,i.draggable);if(!P||hl(r,h,this)&&!P.animated){if(P===Q)return O(!1);if(P&&o===r.target&&(s=P),s&&(c=Ue(s)),xo(Ke,o,Q,n,s,c,r,!!s)!==!1)return A(),o.appendChild(Q),Fe=o,T(),O(!0)}else if(P&&gl(r,h,this)){var M=wn(o,0,i,!0);if(M===Q)return O(!1);if(s=M,c=Ue(s),xo(Ke,o,Q,n,s,c,r,!1)!==!1)return A(),o.insertBefore(Q,M),Fe=o,T(),O(!0)}else if(s.parentNode===o){c=Ue(s);var V=0,J,Y=Q.parentNode!==o,K=!cl(Q.animated&&Q.toRect||n,s.animated&&s.toRect||c,h),R=h?"top":"left",X=Vr(s,"top","top")||Vr(Q,"top","top"),se=X?X.scrollTop:void 0;xn!==s&&(J=c[R],ro=!1,So=!K&&i.invertSwap||Y),V=yl(r,s,c,h,K?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,So,xn===s);var L;if(V!==0){var G=ke(Q);do G-=V,L=Fe.children[G];while(L&&(te(L,"display")==="none"||L===pe))}if(V===0||L===s)return O(!1);xn=s,oo=V;var le=s.nextElementSibling,$=!1;$=V===1;var ne=xo(Ke,o,Q,n,s,c,r,$);if(ne!==!1)return(ne===1||ne===-1)&&($=ne===1),tr=!0,setTimeout(ml,30),A(),$&&!le?o.appendChild(Q):s.parentNode.insertBefore(Q,$?le:s),X&&Wr(X,0,se-X.scrollTop),Fe=Q.parentNode,J!==void 0&&!So&&(Oo=Math.abs(J-Ue(s)[R])),T(),O(!0)}if(o.contains(Q))return O(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){me(document,"mousemove",this._onTouchMove),me(document,"touchmove",this._onTouchMove),me(document,"pointermove",this._onTouchMove),me(document,"dragover",on),me(document,"mousemove",on),me(document,"touchmove",on)},_offUpEvents:function(){var r=this.el.ownerDocument;me(r,"mouseup",this._onDrop),me(r,"touchend",this._onDrop),me(r,"pointerup",this._onDrop),me(r,"touchcancel",this._onDrop),me(document,"selectstart",this)},_onDrop:function(r){var o=this.el,s=this.options;if(mt=ke(Q),Jt=ke(Q,s.draggable),ct("drop",this,{evt:r}),Fe=Q&&Q.parentNode,mt=ke(Q),Jt=ke(Q,s.draggable),ae.eventCanceled){this._nulling();return}Cn=!1,So=!1,ro=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),nr(this.cloneId),nr(this._dragStartId),this.nativeDraggable&&(me(document,"drop",this),me(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),eo&&te(document.body,"user-select",""),te(Q,"transform",""),r&&(Zn&&(r.cancelable&&r.preventDefault(),!s.dropBubble&&r.stopPropagation()),pe&&pe.parentNode&&pe.parentNode.removeChild(pe),(Ke===Fe||_e&&_e.lastPutMode!=="clone")&&Le&&Le.parentNode&&Le.parentNode.removeChild(Le),Q&&(this.nativeDraggable&&me(Q,"dragend",this),Xo(Q),Q.style["will-change"]="",Zn&&!Cn&&Ne(Q,_e?_e.options.ghostClass:this.options.ghostClass,!1),Ne(Q,this.options.chosenClass,!1),dt({sortable:this,name:"unchoose",toEl:Fe,newIndex:null,newDraggableIndex:null,originalEvent:r}),Ke!==Fe?(mt>=0&&(dt({rootEl:Fe,name:"add",toEl:Fe,fromEl:Ke,originalEvent:r}),dt({sortable:this,name:"remove",toEl:Fe,originalEvent:r}),dt({rootEl:Fe,name:"sort",toEl:Fe,fromEl:Ke,originalEvent:r}),dt({sortable:this,name:"sort",toEl:Fe,originalEvent:r})),_e&&_e.save()):mt!==An&&mt>=0&&(dt({sortable:this,name:"update",toEl:Fe,originalEvent:r}),dt({sortable:this,name:"sort",toEl:Fe,originalEvent:r})),ae.active&&((mt==null||mt===-1)&&(mt=An,Jt=no),dt({sortable:this,name:"end",toEl:Fe,originalEvent:r}),this.save()))),this._nulling()},_nulling:function(){ct("nulling",this),Ke=Q=Fe=pe=rn=Le=wo=Wt=nn=It=Zn=mt=Jt=An=no=xn=oo=_e=bo=ae.dragged=ae.ghost=ae.clone=ae.active=null,Ko.forEach(function(r){r.checked=!0}),Ko.length=Wo=Ho=0},handleEvent:function(r){switch(r.type){case"drop":case"dragend":this._onDrop(r);break;case"dragenter":case"dragover":Q&&(this._onDragOver(r),pl(r));break;case"selectstart":r.preventDefault();break}},toArray:function(){for(var r=[],o,s=this.el.children,n=0,c=s.length,e=this.options;n<c;n++)o=s[n],At(o,e.draggable,this.el,!1)&&r.push(o.getAttribute(e.dataIdAttr)||Sl(o));return r},sort:function(r,o){var s={},n=this.el;this.toArray().forEach(function(c,e){var i=n.children[e];At(i,this.options.draggable,n,!1)&&(s[c]=i)},this),o&&this.captureAnimationState(),r.forEach(function(c){s[c]&&(n.removeChild(s[c]),n.appendChild(s[c]))}),o&&this.animateAll()},save:function(){var r=this.options.store;r&&r.set&&r.set(this)},closest:function(r,o){return At(r,o||this.options.draggable,this.el,!1)},option:function(r,o){var s=this.options;if(o===void 0)return s[r];var n=ao.modifyOption(this,r,o);typeof n<"u"?s[r]=n:s[r]=o,r==="group"&&Xr(s)},destroy:function(){ct("destroy",this);var r=this.el;r[rt]=null,me(r,"mousedown",this._onTapStart),me(r,"touchstart",this._onTapStart),me(r,"pointerdown",this._onTapStart),this.nativeDraggable&&(me(r,"dragover",this),me(r,"dragenter",this)),Array.prototype.forEach.call(r.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Vo.splice(Vo.indexOf(this.el),1),this.el=r=null},_hideClone:function(){if(!Wt){if(ct("hideClone",this),ae.eventCanceled)return;te(Le,"display","none"),this.options.removeCloneOnHide&&Le.parentNode&&Le.parentNode.removeChild(Le),Wt=!0}},_showClone:function(r){if(r.lastPutMode!=="clone"){this._hideClone();return}if(Wt){if(ct("showClone",this),ae.eventCanceled)return;Q.parentNode==Ke&&!this.options.group.revertClone?Ke.insertBefore(Le,Q):rn?Ke.insertBefore(Le,rn):Ke.appendChild(Le),this.options.group.revertClone&&this.animate(Q,Le),te(Le,"display",""),Wt=!1}}};function pl(a){a.dataTransfer&&(a.dataTransfer.dropEffect="move"),a.cancelable&&a.preventDefault()}function xo(a,r,o,s,n,c,e,i){var l,u=a[rt],v=u.options.onMove,f;return window.CustomEvent&&!Lt&&!io?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=r,l.from=a,l.dragged=o,l.draggedRect=s,l.related=n||r,l.relatedRect=c||Ue(r),l.willInsertAfter=i,l.originalEvent=e,a.dispatchEvent(l),v&&(f=v.call(u,l,e)),f}function Xo(a){a.draggable=!1}function ml(){tr=!1}function gl(a,r,o){var s=Ue(wn(o.el,0,o.options,!0)),n=10;return r?a.clientX<s.left-n||a.clientY<s.top&&a.clientX<s.right:a.clientY<s.top-n||a.clientY<s.bottom&&a.clientX<s.left}function hl(a,r,o){var s=Ue(ir(o.el,o.options.draggable)),n=10;return r?a.clientX>s.right+n||a.clientX<=s.right&&a.clientY>s.bottom&&a.clientX>=s.left:a.clientX>s.right&&a.clientY>s.top||a.clientX<=s.right&&a.clientY>s.bottom+n}function yl(a,r,o,s,n,c,e,i){var l=s?a.clientY:a.clientX,u=s?o.height:o.width,v=s?o.top:o.left,f=s?o.bottom:o.right,g=!1;if(!e){if(i&&Oo<u*n){if(!ro&&(oo===1?l>v+u*c/2:l<f-u*c/2)&&(ro=!0),ro)g=!0;else if(oo===1?l<v+Oo:l>f-Oo)return-oo}else if(l>v+u*(1-n)/2&&l<f-u*(1-n)/2)return bl(r)}return g=g||e,g&&(l<v+u*c/2||l>f-u*c/2)?l>v+u/2?1:-1:0}function bl(a){return ke(Q)<ke(a)?1:-1}function Sl(a){for(var r=a.tagName+a.className+a.src+a.href+a.textContent,o=r.length,s=0;o--;)s+=r.charCodeAt(o);return s.toString(36)}function El(a){Ko.length=0;for(var r=a.getElementsByTagName("input"),o=r.length;o--;){var s=r[o];s.checked&&Ko.push(s)}}function To(a){return setTimeout(a,0)}function nr(a){return clearTimeout(a)}Mo&&ye(document,"touchmove",function(a){(ae.active||Cn)&&a.cancelable&&a.preventDefault()});ae.utils={on:ye,off:me,css:te,find:$r,is:function(r,o){return!!At(r,o,r,!1)},extend:rl,throttle:Jr,closest:At,toggleClass:Ne,clone:ar,index:ke,nextTick:To,cancelNextTick:nr,detectDirection:Yr,getChild:wn};ae.get=function(a){return a[rt]};ae.mount=function(){for(var a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];r[0].constructor===Array&&(r=r[0]),r.forEach(function(s){if(!s.prototype||!s.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(s));s.utils&&(ae.utils=Rt(Rt({},ae.utils),s.utils)),ao.mount(s)})};ae.create=function(a,r){return new ae(a,r)};ae.version=el;var Ge=[],qn,or,rr=!1,Zo,qo,Uo,_n;function xl(){function a(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this))}return a.prototype={dragStarted:function(o){var s=o.originalEvent;this.sortable.nativeDraggable?ye(document,"dragover",this._handleAutoScroll):this.options.supportPointer?ye(document,"pointermove",this._handleFallbackAutoScroll):s.touches?ye(document,"touchmove",this._handleFallbackAutoScroll):ye(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var s=o.originalEvent;!this.options.dragOverBubble&&!s.rootEl&&this._handleAutoScroll(s)},drop:function(){this.sortable.nativeDraggable?me(document,"dragover",this._handleAutoScroll):(me(document,"pointermove",this._handleFallbackAutoScroll),me(document,"touchmove",this._handleFallbackAutoScroll),me(document,"mousemove",this._handleFallbackAutoScroll)),jr(),Do(),il()},nulling:function(){Uo=or=qn=rr=_n=Zo=qo=null,Ge.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,s){var n=this,c=(o.touches?o.touches[0]:o).clientX,e=(o.touches?o.touches[0]:o).clientY,i=document.elementFromPoint(c,e);if(Uo=o,s||this.options.forceAutoScrollFallback||io||Lt||eo){_o(o,this.options,i,s);var l=Ht(i,!0);rr&&(!_n||c!==Zo||e!==qo)&&(_n&&jr(),_n=setInterval(function(){var u=Ht(document.elementFromPoint(c,e),!0);u!==l&&(l=u,Do()),_o(o,n.options,u,s)},10),Zo=c,qo=e)}else{if(!this.options.bubbleScroll||Ht(i,!0)===Pt()){Do();return}_o(o,this.options,Ht(i,!1),!1)}}},Et(a,{pluginName:"scroll",initializeByDefault:!0})}function Do(){Ge.forEach(function(a){clearInterval(a.pid)}),Ge=[]}function jr(){clearInterval(_n)}var _o=Jr(function(a,r,o,s){if(r.scroll){var n=(a.touches?a.touches[0]:a).clientX,c=(a.touches?a.touches[0]:a).clientY,e=r.scrollSensitivity,i=r.scrollSpeed,l=Pt(),u=!1,v;or!==o&&(or=o,Do(),qn=r.scroll,v=r.scrollFn,qn===!0&&(qn=Ht(o,!0)));var f=0,g=qn;do{var h=g,y=Ue(h),S=y.top,x=y.bottom,A=y.left,O=y.right,T=y.width,P=y.height,M=void 0,V=void 0,J=h.scrollWidth,Y=h.scrollHeight,K=te(h),R=h.scrollLeft,X=h.scrollTop;h===l?(M=T<J&&(K.overflowX==="auto"||K.overflowX==="scroll"||K.overflowX==="visible"),V=P<Y&&(K.overflowY==="auto"||K.overflowY==="scroll"||K.overflowY==="visible")):(M=T<J&&(K.overflowX==="auto"||K.overflowX==="scroll"),V=P<Y&&(K.overflowY==="auto"||K.overflowY==="scroll"));var se=M&&(Math.abs(O-n)<=e&&R+T<J)-(Math.abs(A-n)<=e&&!!R),L=V&&(Math.abs(x-c)<=e&&X+P<Y)-(Math.abs(S-c)<=e&&!!X);if(!Ge[f])for(var G=0;G<=f;G++)Ge[G]||(Ge[G]={});(Ge[f].vx!=se||Ge[f].vy!=L||Ge[f].el!==h)&&(Ge[f].el=h,Ge[f].vx=se,Ge[f].vy=L,clearInterval(Ge[f].pid),(se!=0||L!=0)&&(u=!0,Ge[f].pid=setInterval((function(){s&&this.layer===0&&ae.active._onTouchMove(Uo);var le=Ge[this.layer].vy?Ge[this.layer].vy*i:0,$=Ge[this.layer].vx?Ge[this.layer].vx*i:0;typeof v=="function"&&v.call(ae.dragged.parentNode[rt],$,le,a,Uo,Ge[this.layer].el)!=="continue"||Wr(Ge[this.layer].el,$,le)}).bind({layer:f}),24))),f++}while(r.bubbleScroll&&g!==l&&(g=Ht(g,!1)));rr=u}},30),_r=function(r){var o=r.originalEvent,s=r.putSortable,n=r.dragEl,c=r.activeSortable,e=r.dispatchSortableEvent,i=r.hideGhostForTarget,l=r.unhideGhostForTarget;if(o){var u=s||c;i();var v=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,f=document.elementFromPoint(v.clientX,v.clientY);l(),u&&!u.el.contains(f)&&(e("spill"),this.onSpill({dragEl:n,putSortable:s}))}};function lr(){}lr.prototype={startIndex:null,dragStart:function(r){var o=r.oldDraggableIndex;this.startIndex=o},onSpill:function(r){var o=r.dragEl,s=r.putSortable;this.sortable.captureAnimationState(),s&&s.captureAnimationState();var n=wn(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(o,n):this.sortable.el.appendChild(o),this.sortable.animateAll(),s&&s.animateAll()},drop:_r};Et(lr,{pluginName:"revertOnSpill"});function sr(){}sr.prototype={onSpill:function(r){var o=r.dragEl,s=r.putSortable,n=s||this.sortable;n.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),n.animateAll()},drop:_r};Et(sr,{pluginName:"removeOnSpill"});var St;function Il(){function a(){this.defaults={swapClass:"sortable-swap-highlight"}}return a.prototype={dragStart:function(o){var s=o.dragEl;St=s},dragOverValid:function(o){var s=o.completed,n=o.target,c=o.onMove,e=o.activeSortable,i=o.changed,l=o.cancel;if(e.options.swap){var u=this.sortable.el,v=this.options;if(n&&n!==u){var f=St;c(n)!==!1?(Ne(n,v.swapClass,!0),St=n):St=null,f&&f!==St&&Ne(f,v.swapClass,!1)}i(),s(!0),l()}},drop:function(o){var s=o.activeSortable,n=o.putSortable,c=o.dragEl,e=n||this.sortable,i=this.options;St&&Ne(St,i.swapClass,!1),St&&(i.swap||n&&n.options.swap)&&c!==St&&(e.captureAnimationState(),e!==s&&s.captureAnimationState(),Cl(c,St),e.animateAll(),e!==s&&s.animateAll())},nulling:function(){St=null}},Et(a,{pluginName:"swap",eventProperties:function(){return{swapItem:St}}})}function Cl(a,r){var o=a.parentNode,s=r.parentNode,n,c;!o||!s||o.isEqualNode(r)||s.isEqualNode(a)||(n=ke(a),c=ke(r),o.isEqualNode(s)&&n<c&&c++,o.insertBefore(r,o.children[n]),s.insertBefore(a,s.children[c]))}var ce=[],pt=[],Wn,Ct,Hn=!1,ft=!1,In=!1,De,Yn,Io;function Al(){function a(r){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));r.options.supportPointer?ye(document,"pointerup",this._deselectMultiDrag):(ye(document,"mouseup",this._deselectMultiDrag),ye(document,"touchend",this._deselectMultiDrag)),ye(document,"keydown",this._checkKeyDown),ye(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,c){var e="";ce.length&&Ct===r?ce.forEach(function(i,l){e+=(l?", ":"")+i.textContent}):e=c.textContent,n.setData("Text",e)}}}return a.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var s=o.dragEl;De=s},delayEnded:function(){this.isMultiDrag=~ce.indexOf(De)},setupClone:function(o){var s=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var c=0;c<ce.length;c++)pt.push(ar(ce[c])),pt[c].sortableIndex=ce[c].sortableIndex,pt[c].draggable=!1,pt[c].style["will-change"]="",Ne(pt[c],this.options.selectedClass,!1),ce[c]===De&&Ne(pt[c],this.options.chosenClass,!1);s._hideClone(),n()}},clone:function(o){var s=o.sortable,n=o.rootEl,c=o.dispatchSortableEvent,e=o.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||ce.length&&Ct===s&&(Fr(!0,n),c("clone"),e()))},showClone:function(o){var s=o.cloneNowShown,n=o.rootEl,c=o.cancel;this.isMultiDrag&&(Fr(!1,n),pt.forEach(function(e){te(e,"display","")}),s(),Io=!1,c())},hideClone:function(o){var s=this;o.sortable;var n=o.cloneNowHidden,c=o.cancel;this.isMultiDrag&&(pt.forEach(function(e){te(e,"display","none"),s.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)}),n(),Io=!0,c())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&Ct&&Ct.multiDrag._deselectMultiDrag(),ce.forEach(function(s){s.sortableIndex=ke(s)}),ce=ce.sort(function(s,n){return s.sortableIndex-n.sortableIndex}),In=!0},dragStarted:function(o){var s=this,n=o.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){ce.forEach(function(e){e!==De&&te(e,"position","absolute")});var c=Ue(De,!1,!0,!0);ce.forEach(function(e){e!==De&&Ur(e,c)}),ft=!0,Hn=!0}n.animateAll(function(){ft=!1,Hn=!1,s.options.animation&&ce.forEach(function(e){$o(e)}),s.options.sort&&Co()})}},dragOver:function(o){var s=o.target,n=o.completed,c=o.cancel;ft&&~ce.indexOf(s)&&(n(!1),c())},revert:function(o){var s=o.fromSortable,n=o.rootEl,c=o.sortable,e=o.dragRect;ce.length>1&&(ce.forEach(function(i){c.addAnimationState({target:i,rect:ft?Ue(i):e}),$o(i),i.fromRect=e,s.removeAnimationState(i)}),ft=!1,wl(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(o){var s=o.sortable,n=o.isOwner,c=o.insertion,e=o.activeSortable,i=o.parentEl,l=o.putSortable,u=this.options;if(c){if(n&&e._hideClone(),Hn=!1,u.animation&&ce.length>1&&(ft||!n&&!e.options.sort&&!l)){var v=Ue(De,!1,!0,!0);ce.forEach(function(g){g!==De&&(Ur(g,v),i.appendChild(g))}),ft=!0}if(!n)if(ft||Co(),ce.length>1){var f=Io;e._showClone(s),e.options.animation&&!Io&&f&&pt.forEach(function(g){e.addAnimationState({target:g,rect:Yn}),g.fromRect=Yn,g.thisAnimationDuration=null})}else e._showClone(s)}},dragOverAnimationCapture:function(o){var s=o.dragRect,n=o.isOwner,c=o.activeSortable;if(ce.forEach(function(i){i.thisAnimationDuration=null}),c.options.animation&&!n&&c.multiDrag.isMultiDrag){Yn=Et({},s);var e=an(De,!0);Yn.top-=e.f,Yn.left-=e.e}},dragOverAnimationComplete:function(){ft&&(ft=!1,Co())},drop:function(o){var s=o.originalEvent,n=o.rootEl,c=o.parentEl,e=o.sortable,i=o.dispatchSortableEvent,l=o.oldIndex,u=o.putSortable,v=u||this.sortable;if(s){var f=this.options,g=c.children;if(!In)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ne(De,f.selectedClass,!~ce.indexOf(De)),~ce.indexOf(De))ce.splice(ce.indexOf(De),1),Wn=null,Xn({sortable:e,rootEl:n,name:"deselect",targetEl:De});else{if(ce.push(De),Xn({sortable:e,rootEl:n,name:"select",targetEl:De}),s.shiftKey&&Wn&&e.el.contains(Wn)){var h=ke(Wn),y=ke(De);if(~h&&~y&&h!==y){var S,x;for(y>h?(x=h,S=y):(x=y,S=h+1);x<S;x++)~ce.indexOf(g[x])||(Ne(g[x],f.selectedClass,!0),ce.push(g[x]),Xn({sortable:e,rootEl:n,name:"select",targetEl:g[x]}))}}else Wn=De;Ct=v}if(In&&this.isMultiDrag){if(ft=!1,(c[rt].options.sort||c!==n)&&ce.length>1){var A=Ue(De),O=ke(De,":not(."+this.options.selectedClass+")");if(!Hn&&f.animation&&(De.thisAnimationDuration=null),v.captureAnimationState(),!Hn&&(f.animation&&(De.fromRect=A,ce.forEach(function(P){if(P.thisAnimationDuration=null,P!==De){var M=ft?Ue(P):A;P.fromRect=M,v.addAnimationState({target:P,rect:M})}})),Co(),ce.forEach(function(P){g[O]?c.insertBefore(P,g[O]):c.appendChild(P),O++}),l===ke(De))){var T=!1;ce.forEach(function(P){if(P.sortableIndex!==ke(P)){T=!0;return}}),T&&i("update")}ce.forEach(function(P){$o(P)}),v.animateAll()}Ct=v}(n===c||u&&u.lastPutMode!=="clone")&&pt.forEach(function(P){P.parentNode&&P.parentNode.removeChild(P)})}},nullingGlobal:function(){this.isMultiDrag=In=!1,pt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),me(document,"pointerup",this._deselectMultiDrag),me(document,"mouseup",this._deselectMultiDrag),me(document,"touchend",this._deselectMultiDrag),me(document,"keydown",this._checkKeyDown),me(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof In<"u"&&In)&&Ct===this.sortable&&!(o&&At(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;ce.length;){var s=ce[0];Ne(s,this.options.selectedClass,!1),ce.shift(),Xn({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:s})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Et(a,{pluginName:"multiDrag",utils:{select:function(o){var s=o.parentNode[rt];!s||!s.options.multiDrag||~ce.indexOf(o)||(Ct&&Ct!==s&&(Ct.multiDrag._deselectMultiDrag(),Ct=s),Ne(o,s.options.selectedClass,!0),ce.push(o))},deselect:function(o){var s=o.parentNode[rt],n=ce.indexOf(o);!s||!s.options.multiDrag||!~n||(Ne(o,s.options.selectedClass,!1),ce.splice(n,1))}},eventProperties:function(){var o=this,s=[],n=[];return ce.forEach(function(c){s.push({multiDragElement:c,index:c.sortableIndex});var e;ft&&c!==De?e=-1:ft?e=ke(c,":not(."+o.options.selectedClass+")"):e=ke(c),n.push({multiDragElement:c,index:e})}),{items:Ya(ce),clones:[].concat(pt),oldIndicies:s,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 wl(a,r){ce.forEach(function(o,s){var n=r.children[o.sortableIndex+(a?Number(s):0)];n?r.insertBefore(o,n):r.appendChild(o)})}function Fr(a,r){pt.forEach(function(o,s){var n=r.children[o.sortableIndex+(a?Number(s):0)];n?r.insertBefore(o,n):r.appendChild(o)})}function Co(){ce.forEach(function(a){a!==De&&a.parentNode&&a.parentNode.removeChild(a)})}ae.mount(new xl);ae.mount(sr,lr);const Ol=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Al,Sortable:ae,Swap:Il,default:ae},Symbol.toStringTag,{value:"Module"})),Tl=Pa(Ol);(function(a,r){(function(s,n){a.exports=n(Va,Tl)})(typeof self<"u"?self:Ka,function(o,s){return function(n){var c={};function e(i){if(c[i])return c[i].exports;var l=c[i]={i,l:!1,exports:{}};return n[i].call(l.exports,l,l.exports,e),l.l=!0,l.exports}return e.m=n,e.c=c,e.d=function(i,l,u){e.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:u})},e.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},e.t=function(i,l){if(l&1&&(i=e(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var u=Object.create(null);if(e.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var v in i)e.d(u,v,(function(f){return i[f]}).bind(null,v));return u},e.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return e.d(l,"a",l),l},e.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},e.p="",e(e.s="fb15")}({"00ee":function(n,c,e){var i=e("b622"),l=i("toStringTag"),u={};u[l]="z",n.exports=String(u)==="[object z]"},"0366":function(n,c,e){var i=e("1c0b");n.exports=function(l,u,v){if(i(l),u===void 0)return l;switch(v){case 0:return function(){return l.call(u)};case 1:return function(f){return l.call(u,f)};case 2:return function(f,g){return l.call(u,f,g)};case 3:return function(f,g,h){return l.call(u,f,g,h)}}return function(){return l.apply(u,arguments)}}},"057f":function(n,c,e){var i=e("fc6a"),l=e("241c").f,u={}.toString,v=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(g){try{return l(g)}catch{return v.slice()}};n.exports.f=function(h){return v&&u.call(h)=="[object Window]"?f(h):l(i(h))}},"06cf":function(n,c,e){var i=e("83ab"),l=e("d1e7"),u=e("5c6c"),v=e("fc6a"),f=e("c04e"),g=e("5135"),h=e("0cfb"),y=Object.getOwnPropertyDescriptor;c.f=i?y:function(x,A){if(x=v(x),A=f(A,!0),h)try{return y(x,A)}catch{}if(g(x,A))return u(!l.f.call(x,A),x[A])}},"0cfb":function(n,c,e){var i=e("83ab"),l=e("d039"),u=e("cc12");n.exports=!i&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,c,e){var i=e("23e7"),l=e("d58f").left,u=e("a640"),v=e("ae40"),f=u("reduce"),g=v("reduce",{1:0});i({target:"Array",proto:!0,forced:!f||!g},{reduce:function(y){return l(this,y,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,c,e){var i=e("c6b6"),l=e("9263");n.exports=function(u,v){var f=u.exec;if(typeof f=="function"){var g=f.call(u,v);if(typeof g!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return g}if(i(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,v)}},"159b":function(n,c,e){var i=e("da84"),l=e("fdbc"),u=e("17c2"),v=e("9112");for(var f in l){var g=i[f],h=g&&g.prototype;if(h&&h.forEach!==u)try{v(h,"forEach",u)}catch{h.forEach=u}}},"17c2":function(n,c,e){var i=e("b727").forEach,l=e("a640"),u=e("ae40"),v=l("forEach"),f=u("forEach");n.exports=!v||!f?function(h){return i(this,h,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,c,e){var i=e("d066");n.exports=i("document","documentElement")},"1c0b":function(n,c){n.exports=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(n,c,e){var i=e("b622"),l=i("iterator"),u=!1;try{var v=0,f={next:function(){return{done:!!v++}},return:function(){u=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}n.exports=function(g,h){if(!h&&!u)return!1;var y=!1;try{var S={};S[l]=function(){return{next:function(){return{done:y=!0}}}},g(S)}catch{}return y}},"1d80":function(n,c){n.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}},"1dde":function(n,c,e){var i=e("d039"),l=e("b622"),u=e("2d00"),v=l("species");n.exports=function(f){return u>=51||!i(function(){var g=[],h=g.constructor={};return h[v]=function(){return{foo:1}},g[f](Boolean).foo!==1})}},"23cb":function(n,c,e){var i=e("a691"),l=Math.max,u=Math.min;n.exports=function(v,f){var g=i(v);return g<0?l(g+f,0):u(g,f)}},"23e7":function(n,c,e){var i=e("da84"),l=e("06cf").f,u=e("9112"),v=e("6eeb"),f=e("ce4e"),g=e("e893"),h=e("94ca");n.exports=function(y,S){var x=y.target,A=y.global,O=y.stat,T,P,M,V,J,Y;if(A?P=i:O?P=i[x]||f(x,{}):P=(i[x]||{}).prototype,P)for(M in S){if(J=S[M],y.noTargetGet?(Y=l(P,M),V=Y&&Y.value):V=P[M],T=h(A?M:x+(O?".":"#")+M,y.forced),!T&&V!==void 0){if(typeof J==typeof V)continue;g(J,V)}(y.sham||V&&V.sham)&&u(J,"sham",!0),v(P,M,J,y)}}},"241c":function(n,c,e){var i=e("ca84"),l=e("7839"),u=l.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(f){return i(f,u)}},"25f0":function(n,c,e){var i=e("6eeb"),l=e("825a"),u=e("d039"),v=e("ad6d"),f="toString",g=RegExp.prototype,h=g[f],y=u(function(){return h.call({source:"a",flags:"b"})!="/a/b"}),S=h.name!=f;(y||S)&&i(RegExp.prototype,f,function(){var A=l(this),O=String(A.source),T=A.flags,P=String(T===void 0&&A instanceof RegExp&&!("flags"in g)?v.call(A):T);return"/"+O+"/"+P},{unsafe:!0})},"2ca0":function(n,c,e){var i=e("23e7"),l=e("06cf").f,u=e("50c4"),v=e("5a34"),f=e("1d80"),g=e("ab13"),h=e("c430"),y="".startsWith,S=Math.min,x=g("startsWith"),A=!h&&!x&&!!function(){var O=l(String.prototype,"startsWith");return O&&!O.writable}();i({target:"String",proto:!0,forced:!A&&!x},{startsWith:function(T){var P=String(f(this));v(T);var M=u(S(arguments.length>1?arguments[1]:void 0,P.length)),V=String(T);return y?y.call(P,V,M):P.slice(M,M+V.length)===V}})},"2d00":function(n,c,e){var i=e("da84"),l=e("342f"),u=i.process,v=u&&u.versions,f=v&&v.v8,g,h;f?(g=f.split("."),h=g[0]+g[1]):l&&(g=l.match(/Edge\/(\d+)/),(!g||g[1]>=74)&&(g=l.match(/Chrome\/(\d+)/),g&&(h=g[1]))),n.exports=h&&+h},"342f":function(n,c,e){var i=e("d066");n.exports=i("navigator","userAgent")||""},"35a1":function(n,c,e){var i=e("f5df"),l=e("3f8c"),u=e("b622"),v=u("iterator");n.exports=function(f){if(f!=null)return f[v]||f["@@iterator"]||l[i(f)]}},"37e8":function(n,c,e){var i=e("83ab"),l=e("9bf2"),u=e("825a"),v=e("df75");n.exports=i?Object.defineProperties:function(g,h){u(g);for(var y=v(h),S=y.length,x=0,A;S>x;)l.f(g,A=y[x++],h[A]);return g}},"3bbe":function(n,c,e){var i=e("861d");n.exports=function(l){if(!i(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(n,c,e){var i=e("6547").charAt,l=e("69f3"),u=e("7dd0"),v="String Iterator",f=l.set,g=l.getterFor(v);u(String,"String",function(h){f(this,{type:v,string:String(h),index:0})},function(){var y=g(this),S=y.string,x=y.index,A;return x>=S.length?{value:void 0,done:!0}:(A=i(S,x),y.index+=A.length,{value:A,done:!1})})},"3f8c":function(n,c){n.exports={}},4160:function(n,c,e){var i=e("23e7"),l=e("17c2");i({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(n,c,e){var i=e("da84");n.exports=i},"44ad":function(n,c,e){var i=e("d039"),l=e("c6b6"),u="".split;n.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(v){return l(v)=="String"?u.call(v,""):Object(v)}:Object},"44d2":function(n,c,e){var i=e("b622"),l=e("7c73"),u=e("9bf2"),v=i("unscopables"),f=Array.prototype;f[v]==null&&u.f(f,v,{configurable:!0,value:l(null)}),n.exports=function(g){f[v][g]=!0}},"44e7":function(n,c,e){var i=e("861d"),l=e("c6b6"),u=e("b622"),v=u("match");n.exports=function(f){var g;return i(f)&&((g=f[v])!==void 0?!!g:l(f)=="RegExp")}},4930:function(n,c,e){var i=e("d039");n.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},"4d64":function(n,c,e){var i=e("fc6a"),l=e("50c4"),u=e("23cb"),v=function(f){return function(g,h,y){var S=i(g),x=l(S.length),A=u(y,x),O;if(f&&h!=h){for(;x>A;)if(O=S[A++],O!=O)return!0}else for(;x>A;A++)if((f||A in S)&&S[A]===h)return f||A||0;return!f&&-1}};n.exports={includes:v(!0),indexOf:v(!1)}},"4de4":function(n,c,e){var i=e("23e7"),l=e("b727").filter,u=e("1dde"),v=e("ae40"),f=u("filter"),g=v("filter");i({target:"Array",proto:!0,forced:!f||!g},{filter:function(y){return l(this,y,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,c,e){var i=e("0366"),l=e("7b0b"),u=e("9bdd"),v=e("e95a"),f=e("50c4"),g=e("8418"),h=e("35a1");n.exports=function(S){var x=l(S),A=typeof this=="function"?this:Array,O=arguments.length,T=O>1?arguments[1]:void 0,P=T!==void 0,M=h(x),V=0,J,Y,K,R,X,se;if(P&&(T=i(T,O>2?arguments[2]:void 0,2)),M!=null&&!(A==Array&&v(M)))for(R=M.call(x),X=R.next,Y=new A;!(K=X.call(R)).done;V++)se=P?u(R,T,[K.value,V],!0):K.value,g(Y,V,se);else for(J=f(x.length),Y=new A(J);J>V;V++)se=P?T(x[V],V):x[V],g(Y,V,se);return Y.length=V,Y}},"4fad":function(n,c,e){var i=e("23e7"),l=e("6f53").entries;i({target:"Object",stat:!0},{entries:function(v){return l(v)}})},"50c4":function(n,c,e){var i=e("a691"),l=Math.min;n.exports=function(u){return u>0?l(i(u),9007199254740991):0}},5135:function(n,c){var e={}.hasOwnProperty;n.exports=function(i,l){return e.call(i,l)}},5319:function(n,c,e){var i=e("d784"),l=e("825a"),u=e("7b0b"),v=e("50c4"),f=e("a691"),g=e("1d80"),h=e("8aa5"),y=e("14c3"),S=Math.max,x=Math.min,A=Math.floor,O=/\$([$&'`]|\d\d?|<[^>]*>)/g,T=/\$([$&'`]|\d\d?)/g,P=function(M){return M===void 0?M:String(M)};i("replace",2,function(M,V,J,Y){var K=Y.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,R=Y.REPLACE_KEEPS_$0,X=K?"$":"$0";return[function(G,le){var $=g(this),ne=G==null?void 0:G[M];return ne!==void 0?ne.call(G,$,le):V.call(String($),G,le)},function(L,G){if(!K&&R||typeof G=="string"&&G.indexOf(X)===-1){var le=J(V,L,this,G);if(le.done)return le.value}var $=l(L),ne=String(this),ve=typeof G=="function";ve||(G=String(G));var Oe=$.global;if(Oe){var Me=$.unicode;$.lastIndex=0}for(var Ie=[];;){var Ve=y($,ne);if(Ve===null||(Ie.push(Ve),!Oe))break;var je=String(Ve[0]);je===""&&($.lastIndex=h(ne,v($.lastIndex),Me))}for(var Qe="",Ae=0,ge=0;ge<Ie.length;ge++){Ve=Ie[ge];for(var Pe=String(Ve[0]),it=S(x(f(Ve.index),ne.length),0),Ze=[],wt=1;wt<Ve.length;wt++)Ze.push(P(Ve[wt]));var Vt=Ve.groups;if(ve){var Ot=[Pe].concat(Ze,it,ne);Vt!==void 0&&Ot.push(Vt);var ze=String(G.apply(void 0,Ot))}else ze=se(Pe,ne,it,Ze,Vt,G);it>=Ae&&(Qe+=ne.slice(Ae,it)+ze,Ae=it+Pe.length)}return Qe+ne.slice(Ae)}];function se(L,G,le,$,ne,ve){var Oe=le+L.length,Me=$.length,Ie=T;return ne!==void 0&&(ne=u(ne),Ie=O),V.call(ve,Ie,function(Ve,je){var Qe;switch(je.charAt(0)){case"$":return"$";case"&":return L;case"`":return G.slice(0,le);case"'":return G.slice(Oe);case"<":Qe=ne[je.slice(1,-1)];break;default:var Ae=+je;if(Ae===0)return Ve;if(Ae>Me){var ge=A(Ae/10);return ge===0?Ve:ge<=Me?$[ge-1]===void 0?je.charAt(1):$[ge-1]+je.charAt(1):Ve}Qe=$[Ae-1]}return Qe===void 0?"":Qe})}})},5692:function(n,c,e){var i=e("c430"),l=e("c6cd");(n.exports=function(u,v){return l[u]||(l[u]=v!==void 0?v:{})})("versions",[]).push({version:"3.6.5",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,c,e){var i=e("d066"),l=e("241c"),u=e("7418"),v=e("825a");n.exports=i("Reflect","ownKeys")||function(g){var h=l.f(v(g)),y=u.f;return y?h.concat(y(g)):h}},"5a34":function(n,c,e){var i=e("44e7");n.exports=function(l){if(i(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(n,c){n.exports=function(e,i){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:i}}},"5db7":function(n,c,e){var i=e("23e7"),l=e("a2bf"),u=e("7b0b"),v=e("50c4"),f=e("1c0b"),g=e("65f0");i({target:"Array",proto:!0},{flatMap:function(y){var S=u(this),x=v(S.length),A;return f(y),A=g(S,0),A.length=l(A,S,S,x,0,1,y,arguments.length>1?arguments[1]:void 0),A}})},6547:function(n,c,e){var i=e("a691"),l=e("1d80"),u=function(v){return function(f,g){var h=String(l(f)),y=i(g),S=h.length,x,A;return y<0||y>=S?v?"":void 0:(x=h.charCodeAt(y),x<55296||x>56319||y+1===S||(A=h.charCodeAt(y+1))<56320||A>57343?v?h.charAt(y):x:v?h.slice(y,y+2):(x-55296<<10)+(A-56320)+65536)}};n.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(n,c,e){var i=e("861d"),l=e("e8b5"),u=e("b622"),v=u("species");n.exports=function(f,g){var h;return l(f)&&(h=f.constructor,typeof h=="function"&&(h===Array||l(h.prototype))?h=void 0:i(h)&&(h=h[v],h===null&&(h=void 0))),new(h===void 0?Array:h)(g===0?0:g)}},"69f3":function(n,c,e){var i=e("7f9a"),l=e("da84"),u=e("861d"),v=e("9112"),f=e("5135"),g=e("f772"),h=e("d012"),y=l.WeakMap,S,x,A,O=function(K){return A(K)?x(K):S(K,{})},T=function(K){return function(R){var X;if(!u(R)||(X=x(R)).type!==K)throw TypeError("Incompatible receiver, "+K+" required");return X}};if(i){var P=new y,M=P.get,V=P.has,J=P.set;S=function(K,R){return J.call(P,K,R),R},x=function(K){return M.call(P,K)||{}},A=function(K){return V.call(P,K)}}else{var Y=g("state");h[Y]=!0,S=function(K,R){return v(K,Y,R),R},x=function(K){return f(K,Y)?K[Y]:{}},A=function(K){return f(K,Y)}}n.exports={set:S,get:x,has:A,enforce:O,getterFor:T}},"6eeb":function(n,c,e){var i=e("da84"),l=e("9112"),u=e("5135"),v=e("ce4e"),f=e("8925"),g=e("69f3"),h=g.get,y=g.enforce,S=String(String).split("String");(n.exports=function(x,A,O,T){var P=T?!!T.unsafe:!1,M=T?!!T.enumerable:!1,V=T?!!T.noTargetGet:!1;if(typeof O=="function"&&(typeof A=="string"&&!u(O,"name")&&l(O,"name",A),y(O).source=S.join(typeof A=="string"?A:"")),x===i){M?x[A]=O:v(A,O);return}else P?!V&&x[A]&&(M=!0):delete x[A];M?x[A]=O:l(x,A,O)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||f(this)})},"6f53":function(n,c,e){var i=e("83ab"),l=e("df75"),u=e("fc6a"),v=e("d1e7").f,f=function(g){return function(h){for(var y=u(h),S=l(y),x=S.length,A=0,O=[],T;x>A;)T=S[A++],(!i||v.call(y,T))&&O.push(g?[T,y[T]]:y[T]);return O}};n.exports={entries:f(!0),values:f(!1)}},"73d9":function(n,c,e){var i=e("44d2");i("flatMap")},7418:function(n,c){c.f=Object.getOwnPropertySymbols},"746f":function(n,c,e){var i=e("428f"),l=e("5135"),u=e("e538"),v=e("9bf2").f;n.exports=function(f){var g=i.Symbol||(i.Symbol={});l(g,f)||v(g,f,{value:u.f(f)})}},7839:function(n,c){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,c,e){var i=e("1d80");n.exports=function(l){return Object(i(l))}},"7c73":function(n,c,e){var i=e("825a"),l=e("37e8"),u=e("7839"),v=e("d012"),f=e("1be4"),g=e("cc12"),h=e("f772"),y=">",S="<",x="prototype",A="script",O=h("IE_PROTO"),T=function(){},P=function(K){return S+A+y+K+S+"/"+A+y},M=function(K){K.write(P("")),K.close();var R=K.parentWindow.Object;return K=null,R},V=function(){var K=g("iframe"),R="java"+A+":",X;return K.style.display="none",f.appendChild(K),K.src=String(R),X=K.contentWindow.document,X.open(),X.write(P("document.F=Object")),X.close(),X.F},J,Y=function(){try{J=document.domain&&new ActiveXObject("htmlfile")}catch{}Y=J?M(J):V();for(var K=u.length;K--;)delete Y[x][u[K]];return Y()};v[O]=!0,n.exports=Object.create||function(R,X){var se;return R!==null?(T[x]=i(R),se=new T,T[x]=null,se[O]=R):se=Y(),X===void 0?se:l(se,X)}},"7dd0":function(n,c,e){var i=e("23e7"),l=e("9ed3"),u=e("e163"),v=e("d2bb"),f=e("d44e"),g=e("9112"),h=e("6eeb"),y=e("b622"),S=e("c430"),x=e("3f8c"),A=e("ae93"),O=A.IteratorPrototype,T=A.BUGGY_SAFARI_ITERATORS,P=y("iterator"),M="keys",V="values",J="entries",Y=function(){return this};n.exports=function(K,R,X,se,L,G,le){l(X,R,se);var $=function(ge){if(ge===L&&Ie)return Ie;if(!T&&ge in Oe)return Oe[ge];switch(ge){case M:return function(){return new X(this,ge)};case V:return function(){return new X(this,ge)};case J:return function(){return new X(this,ge)}}return function(){return new X(this)}},ne=R+" Iterator",ve=!1,Oe=K.prototype,Me=Oe[P]||Oe["@@iterator"]||L&&Oe[L],Ie=!T&&Me||$(L),Ve=R=="Array"&&Oe.entries||Me,je,Qe,Ae;if(Ve&&(je=u(Ve.call(new K)),O!==Object.prototype&&je.next&&(!S&&u(je)!==O&&(v?v(je,O):typeof je[P]!="function"&&g(je,P,Y)),f(je,ne,!0,!0),S&&(x[ne]=Y))),L==V&&Me&&Me.name!==V&&(ve=!0,Ie=function(){return Me.call(this)}),(!S||le)&&Oe[P]!==Ie&&g(Oe,P,Ie),x[R]=Ie,L)if(Qe={values:$(V),keys:G?Ie:$(M),entries:$(J)},le)for(Ae in Qe)(T||ve||!(Ae in Oe))&&h(Oe,Ae,Qe[Ae]);else i({target:R,proto:!0,forced:T||ve},Qe);return Qe}},"7f9a":function(n,c,e){var i=e("da84"),l=e("8925"),u=i.WeakMap;n.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(n,c,e){var i=e("861d");n.exports=function(l){if(!i(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(n,c,e){var i=e("d039");n.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,c,e){var i=e("c04e"),l=e("9bf2"),u=e("5c6c");n.exports=function(v,f,g){var h=i(f);h in v?l.f(v,h,u(0,g)):v[h]=g}},"861d":function(n,c){n.exports=function(e){return typeof e=="object"?e!==null:typeof e=="function"}},8875:function(n,c,e){var i,l,u;(function(v,f){l=[],i=f,u=typeof i=="function"?i.apply(c,l):i,u!==void 0&&(n.exports=u)})(typeof self<"u"?self:this,function(){function v(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==v&&document.currentScript)return document.currentScript;try{throw new Error}catch(J){var g=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,h=/@([^@]*):(\d+):(\d+)\s*$/ig,y=g.exec(J.stack)||h.exec(J.stack),S=y&&y[1]||!1,x=y&&y[2]||!1,A=document.location.href.replace(document.location.hash,""),O,T,P,M=document.getElementsByTagName("script");S===A&&(O=document.documentElement.outerHTML,T=new RegExp("(?:[^\\n]+?\\n){0,"+(x-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),P=O.replace(T,"$1").trim());for(var V=0;V<M.length;V++)if(M[V].readyState==="interactive"||M[V].src===S||S===A&&M[V].innerHTML&&M[V].innerHTML.trim()===P)return M[V];return null}}return v})},8925:function(n,c,e){var i=e("c6cd"),l=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(u){return l.call(u)}),n.exports=i.inspectSource},"8aa5":function(n,c,e){var i=e("6547").charAt;n.exports=function(l,u,v){return u+(v?i(l,u).length:1)}},"8bbf":function(n,c){n.exports=o},"90e3":function(n,c){var e=0,i=Math.random();n.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++e+i).toString(36)}},9112:function(n,c,e){var i=e("83ab"),l=e("9bf2"),u=e("5c6c");n.exports=i?function(v,f,g){return l.f(v,f,u(1,g))}:function(v,f,g){return v[f]=g,v}},9263:function(n,c,e){var i=e("ad6d"),l=e("9f7f"),u=RegExp.prototype.exec,v=String.prototype.replace,f=u,g=function(){var x=/a/,A=/b*/g;return u.call(x,"a"),u.call(A,"a"),x.lastIndex!==0||A.lastIndex!==0}(),h=l.UNSUPPORTED_Y||l.BROKEN_CARET,y=/()??/.exec("")[1]!==void 0,S=g||y||h;S&&(f=function(A){var O=this,T,P,M,V,J=h&&O.sticky,Y=i.call(O),K=O.source,R=0,X=A;return J&&(Y=Y.replace("y",""),Y.indexOf("g")===-1&&(Y+="g"),X=String(A).slice(O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&A[O.lastIndex-1]!==`
- `)&&(K="(?: "+K+")",X=" "+X,R++),P=new RegExp("^(?:"+K+")",Y)),y&&(P=new RegExp("^"+K+"$(?!\\s)",Y)),g&&(T=O.lastIndex),M=u.call(J?P:O,X),J?M?(M.input=M.input.slice(R),M[0]=M[0].slice(R),M.index=O.lastIndex,O.lastIndex+=M[0].length):O.lastIndex=0:g&&M&&(O.lastIndex=O.global?M.index+M[0].length:T),y&&M&&M.length>1&&v.call(M[0],P,function(){for(V=1;V<arguments.length-2;V++)arguments[V]===void 0&&(M[V]=void 0)}),M}),n.exports=f},"94ca":function(n,c,e){var i=e("d039"),l=/#|\.prototype\./,u=function(y,S){var x=f[v(y)];return x==h?!0:x==g?!1:typeof S=="function"?i(S):!!S},v=u.normalize=function(y){return String(y).replace(l,".").toLowerCase()},f=u.data={},g=u.NATIVE="N",h=u.POLYFILL="P";n.exports=u},"99af":function(n,c,e){var i=e("23e7"),l=e("d039"),u=e("e8b5"),v=e("861d"),f=e("7b0b"),g=e("50c4"),h=e("8418"),y=e("65f0"),S=e("1dde"),x=e("b622"),A=e("2d00"),O=x("isConcatSpreadable"),T=9007199254740991,P="Maximum allowed index exceeded",M=A>=51||!l(function(){var K=[];return K[O]=!1,K.concat()[0]!==K}),V=S("concat"),J=function(K){if(!v(K))return!1;var R=K[O];return R!==void 0?!!R:u(K)},Y=!M||!V;i({target:"Array",proto:!0,forced:Y},{concat:function(R){var X=f(this),se=y(X,0),L=0,G,le,$,ne,ve;for(G=-1,$=arguments.length;G<$;G++)if(ve=G===-1?X:arguments[G],J(ve)){if(ne=g(ve.length),L+ne>T)throw TypeError(P);for(le=0;le<ne;le++,L++)le in ve&&h(se,L,ve[le])}else{if(L>=T)throw TypeError(P);h(se,L++,ve)}return se.length=L,se}})},"9bdd":function(n,c,e){var i=e("825a");n.exports=function(l,u,v,f){try{return f?u(i(v)[0],v[1]):u(v)}catch(h){var g=l.return;throw g!==void 0&&i(g.call(l)),h}}},"9bf2":function(n,c,e){var i=e("83ab"),l=e("0cfb"),u=e("825a"),v=e("c04e"),f=Object.defineProperty;c.f=i?f:function(h,y,S){if(u(h),y=v(y,!0),u(S),l)try{return f(h,y,S)}catch{}if("get"in S||"set"in S)throw TypeError("Accessors not supported");return"value"in S&&(h[y]=S.value),h}},"9ed3":function(n,c,e){var i=e("ae93").IteratorPrototype,l=e("7c73"),u=e("5c6c"),v=e("d44e"),f=e("3f8c"),g=function(){return this};n.exports=function(h,y,S){var x=y+" Iterator";return h.prototype=l(i,{next:u(1,S)}),v(h,x,!1,!0),f[x]=g,h}},"9f7f":function(n,c,e){var i=e("d039");function l(u,v){return RegExp(u,v)}c.UNSUPPORTED_Y=i(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),c.BROKEN_CARET=i(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(n,c,e){var i=e("e8b5"),l=e("50c4"),u=e("0366"),v=function(f,g,h,y,S,x,A,O){for(var T=S,P=0,M=A?u(A,O,3):!1,V;P<y;){if(P in h){if(V=M?M(h[P],P,g):h[P],x>0&&i(V))T=v(f,g,V,l(V.length),T,x-1)-1;else{if(T>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[T]=V}T++}P++}return T};n.exports=v},a352:function(n,c){n.exports=s},a434:function(n,c,e){var i=e("23e7"),l=e("23cb"),u=e("a691"),v=e("50c4"),f=e("7b0b"),g=e("65f0"),h=e("8418"),y=e("1dde"),S=e("ae40"),x=y("splice"),A=S("splice",{ACCESSORS:!0,0:0,1:2}),O=Math.max,T=Math.min,P=9007199254740991,M="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!x||!A},{splice:function(J,Y){var K=f(this),R=v(K.length),X=l(J,R),se=arguments.length,L,G,le,$,ne,ve;if(se===0?L=G=0:se===1?(L=0,G=R-X):(L=se-2,G=T(O(u(Y),0),R-X)),R+L-G>P)throw TypeError(M);for(le=g(K,G),$=0;$<G;$++)ne=X+$,ne in K&&h(le,$,K[ne]);if(le.length=G,L<G){for($=X;$<R-G;$++)ne=$+G,ve=$+L,ne in K?K[ve]=K[ne]:delete K[ve];for($=R;$>R-G+L;$--)delete K[$-1]}else if(L>G)for($=R-G;$>X;$--)ne=$+G-1,ve=$+L-1,ne in K?K[ve]=K[ne]:delete K[ve];for($=0;$<L;$++)K[$+X]=arguments[$+2];return K.length=R-G+L,le}})},a4d3:function(n,c,e){var i=e("23e7"),l=e("da84"),u=e("d066"),v=e("c430"),f=e("83ab"),g=e("4930"),h=e("fdbf"),y=e("d039"),S=e("5135"),x=e("e8b5"),A=e("861d"),O=e("825a"),T=e("7b0b"),P=e("fc6a"),M=e("c04e"),V=e("5c6c"),J=e("7c73"),Y=e("df75"),K=e("241c"),R=e("057f"),X=e("7418"),se=e("06cf"),L=e("9bf2"),G=e("d1e7"),le=e("9112"),$=e("6eeb"),ne=e("5692"),ve=e("f772"),Oe=e("d012"),Me=e("90e3"),Ie=e("b622"),Ve=e("e538"),je=e("746f"),Qe=e("d44e"),Ae=e("69f3"),ge=e("b727").forEach,Pe=ve("hidden"),it="Symbol",Ze="prototype",wt=Ie("toPrimitive"),Vt=Ae.set,Ot=Ae.getterFor(it),ze=Object[Ze],$e=l.Symbol,Kt=u("JSON","stringify"),gt=se.f,ht=L.f,ln=R.f,On=G.f,vt=ne("symbols"),Tt=ne("op-symbols"),Ut=ne("string-to-symbol-registry"),Yt=ne("symbol-to-string-registry"),Mt=ne("wks"),Xt=l.QObject,kt=!Xt||!Xt[Ze]||!Xt[Ze].findChild,Zt=f&&y(function(){return J(ht({},"a",{get:function(){return ht(this,"a",{value:7}).a}})).a!=7})?function(q,ee,oe){var he=gt(ze,ee);he&&delete ze[ee],ht(q,ee,oe),he&&q!==ze&&ht(ze,ee,he)}:ht,qt=function(q,ee){var oe=vt[q]=J($e[Ze]);return Vt(oe,{type:it,tag:q,description:ee}),f||(oe.description=ee),oe},w=h?function(q){return typeof q=="symbol"}:function(q){return Object(q)instanceof $e},I=function(ee,oe,he){ee===ze&&I(Tt,oe,he),O(ee);var be=M(oe,!0);return O(he),S(vt,be)?(he.enumerable?(S(ee,Pe)&&ee[Pe][be]&&(ee[Pe][be]=!1),he=J(he,{enumerable:V(0,!1)})):(S(ee,Pe)||ht(ee,Pe,V(1,{})),ee[Pe][be]=!0),Zt(ee,be,he)):ht(ee,be,he)},D=function(ee,oe){O(ee);var he=P(oe),be=Y(he).concat(Se(he));return ge(be,function(tt){(!f||Z.call(he,tt))&&I(ee,tt,he[tt])}),ee},N=function(ee,oe){return oe===void 0?J(ee):D(J(ee),oe)},Z=function(ee){var oe=M(ee,!0),he=On.call(this,oe);return this===ze&&S(vt,oe)&&!S(Tt,oe)?!1:he||!S(this,oe)||!S(vt,oe)||S(this,Pe)&&this[Pe][oe]?he:!0},re=function(ee,oe){var he=P(ee),be=M(oe,!0);if(!(he===ze&&S(vt,be)&&!S(Tt,be))){var tt=gt(he,be);return tt&&S(vt,be)&&!(S(he,Pe)&&he[Pe][be])&&(tt.enumerable=!0),tt}},fe=function(ee){var oe=ln(P(ee)),he=[];return ge(oe,function(be){!S(vt,be)&&!S(Oe,be)&&he.push(be)}),he},Se=function(ee){var oe=ee===ze,he=ln(oe?Tt:P(ee)),be=[];return ge(he,function(tt){S(vt,tt)&&(!oe||S(ze,tt))&&be.push(vt[tt])}),be};if(g||($e=function(){if(this instanceof $e)throw TypeError("Symbol is not a constructor");var ee=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),oe=Me(ee),he=function(be){this===ze&&he.call(Tt,be),S(this,Pe)&&S(this[Pe],oe)&&(this[Pe][oe]=!1),Zt(this,oe,V(1,be))};return f&&kt&&Zt(ze,oe,{configurable:!0,set:he}),qt(oe,ee)},$($e[Ze],"toString",function(){return Ot(this).tag}),$($e,"withoutSetter",function(q){return qt(Me(q),q)}),G.f=Z,L.f=I,se.f=re,K.f=R.f=fe,X.f=Se,Ve.f=function(q){return qt(Ie(q),q)},f&&(ht($e[Ze],"description",{configurable:!0,get:function(){return Ot(this).description}}),v||$(ze,"propertyIsEnumerable",Z,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!g,sham:!g},{Symbol:$e}),ge(Y(Mt),function(q){je(q)}),i({target:it,stat:!0,forced:!g},{for:function(q){var ee=String(q);if(S(Ut,ee))return Ut[ee];var oe=$e(ee);return Ut[ee]=oe,Yt[oe]=ee,oe},keyFor:function(ee){if(!w(ee))throw TypeError(ee+" is not a symbol");if(S(Yt,ee))return Yt[ee]},useSetter:function(){kt=!0},useSimple:function(){kt=!1}}),i({target:"Object",stat:!0,forced:!g,sham:!f},{create:N,defineProperty:I,defineProperties:D,getOwnPropertyDescriptor:re}),i({target:"Object",stat:!0,forced:!g},{getOwnPropertyNames:fe,getOwnPropertySymbols:Se}),i({target:"Object",stat:!0,forced:y(function(){X.f(1)})},{getOwnPropertySymbols:function(ee){return X.f(T(ee))}}),Kt){var we=!g||y(function(){var q=$e();return Kt([q])!="[null]"||Kt({a:q})!="{}"||Kt(Object(q))!="{}"});i({target:"JSON",stat:!0,forced:we},{stringify:function(ee,oe,he){for(var be=[ee],tt=1,Tn;arguments.length>tt;)be.push(arguments[tt++]);if(Tn=oe,!(!A(oe)&&ee===void 0||w(ee)))return x(oe)||(oe=function(Bo,Dt){if(typeof Tn=="function"&&(Dt=Tn.call(this,Bo,Dt)),!w(Dt))return Dt}),be[1]=oe,Kt.apply(null,be)}})}$e[Ze][wt]||le($e[Ze],wt,$e[Ze].valueOf),Qe($e,it),Oe[Pe]=!0},a630:function(n,c,e){var i=e("23e7"),l=e("4df4"),u=e("1c7e"),v=!u(function(f){Array.from(f)});i({target:"Array",stat:!0,forced:v},{from:l})},a640:function(n,c,e){var i=e("d039");n.exports=function(l,u){var v=[][l];return!!v&&i(function(){v.call(null,u||function(){throw 1},1)})}},a691:function(n,c){var e=Math.ceil,i=Math.floor;n.exports=function(l){return isNaN(l=+l)?0:(l>0?i:e)(l)}},ab13:function(n,c,e){var i=e("b622"),l=i("match");n.exports=function(u){var v=/./;try{"/./"[u](v)}catch{try{return v[l]=!1,"/./"[u](v)}catch{}}return!1}},ac1f:function(n,c,e){var i=e("23e7"),l=e("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(n,c,e){var i=e("825a");n.exports=function(){var l=i(this),u="";return l.global&&(u+="g"),l.ignoreCase&&(u+="i"),l.multiline&&(u+="m"),l.dotAll&&(u+="s"),l.unicode&&(u+="u"),l.sticky&&(u+="y"),u}},ae40:function(n,c,e){var i=e("83ab"),l=e("d039"),u=e("5135"),v=Object.defineProperty,f={},g=function(h){throw h};n.exports=function(h,y){if(u(f,h))return f[h];y||(y={});var S=[][h],x=u(y,"ACCESSORS")?y.ACCESSORS:!1,A=u(y,0)?y[0]:g,O=u(y,1)?y[1]:void 0;return f[h]=!!S&&!l(function(){if(x&&!i)return!0;var T={length:-1};x?v(T,1,{enumerable:!0,get:g}):T[1]=1,S.call(T,A,O)})}},ae93:function(n,c,e){var i=e("e163"),l=e("9112"),u=e("5135"),v=e("b622"),f=e("c430"),g=v("iterator"),h=!1,y=function(){return this},S,x,A;[].keys&&(A=[].keys(),"next"in A?(x=i(i(A)),x!==Object.prototype&&(S=x)):h=!0),S==null&&(S={}),!f&&!u(S,g)&&l(S,g,y),n.exports={IteratorPrototype:S,BUGGY_SAFARI_ITERATORS:h}},b041:function(n,c,e){var i=e("00ee"),l=e("f5df");n.exports=i?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(n,c,e){var i=e("83ab"),l=e("9bf2").f,u=Function.prototype,v=u.toString,f=/^\s*function ([^ (]*)/,g="name";i&&!(g in u)&&l(u,g,{configurable:!0,get:function(){try{return v.call(this).match(f)[1]}catch{return""}}})},b622:function(n,c,e){var i=e("da84"),l=e("5692"),u=e("5135"),v=e("90e3"),f=e("4930"),g=e("fdbf"),h=l("wks"),y=i.Symbol,S=g?y:y&&y.withoutSetter||v;n.exports=function(x){return u(h,x)||(f&&u(y,x)?h[x]=y[x]:h[x]=S("Symbol."+x)),h[x]}},b64b:function(n,c,e){var i=e("23e7"),l=e("7b0b"),u=e("df75"),v=e("d039"),f=v(function(){u(1)});i({target:"Object",stat:!0,forced:f},{keys:function(h){return u(l(h))}})},b727:function(n,c,e){var i=e("0366"),l=e("44ad"),u=e("7b0b"),v=e("50c4"),f=e("65f0"),g=[].push,h=function(y){var S=y==1,x=y==2,A=y==3,O=y==4,T=y==6,P=y==5||T;return function(M,V,J,Y){for(var K=u(M),R=l(K),X=i(V,J,3),se=v(R.length),L=0,G=Y||f,le=S?G(M,se):x?G(M,0):void 0,$,ne;se>L;L++)if((P||L in R)&&($=R[L],ne=X($,L,K),y)){if(S)le[L]=ne;else if(ne)switch(y){case 3:return!0;case 5:return $;case 6:return L;case 2:g.call(le,$)}else if(O)return!1}return T?-1:A||O?O:le}};n.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6)}},c04e:function(n,c,e){var i=e("861d");n.exports=function(l,u){if(!i(l))return l;var v,f;if(u&&typeof(v=l.toString)=="function"&&!i(f=v.call(l))||typeof(v=l.valueOf)=="function"&&!i(f=v.call(l))||!u&&typeof(v=l.toString)=="function"&&!i(f=v.call(l)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(n,c){n.exports=!1},c6b6:function(n,c){var e={}.toString;n.exports=function(i){return e.call(i).slice(8,-1)}},c6cd:function(n,c,e){var i=e("da84"),l=e("ce4e"),u="__core-js_shared__",v=i[u]||l(u,{});n.exports=v},c740:function(n,c,e){var i=e("23e7"),l=e("b727").findIndex,u=e("44d2"),v=e("ae40"),f="findIndex",g=!0,h=v(f);f in[]&&Array(1)[f](function(){g=!1}),i({target:"Array",proto:!0,forced:g||!h},{findIndex:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}}),u(f)},c8ba:function(n,c){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch{typeof window=="object"&&(e=window)}n.exports=e},c975:function(n,c,e){var i=e("23e7"),l=e("4d64").indexOf,u=e("a640"),v=e("ae40"),f=[].indexOf,g=!!f&&1/[1].indexOf(1,-0)<0,h=u("indexOf"),y=v("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:g||!h||!y},{indexOf:function(x){return g?f.apply(this,arguments)||0:l(this,x,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,c,e){var i=e("5135"),l=e("fc6a"),u=e("4d64").indexOf,v=e("d012");n.exports=function(f,g){var h=l(f),y=0,S=[],x;for(x in h)!i(v,x)&&i(h,x)&&S.push(x);for(;g.length>y;)i(h,x=g[y++])&&(~u(S,x)||S.push(x));return S}},caad:function(n,c,e){var i=e("23e7"),l=e("4d64").includes,u=e("44d2"),v=e("ae40"),f=v("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!f},{includes:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(n,c,e){var i=e("da84"),l=e("861d"),u=i.document,v=l(u)&&l(u.createElement);n.exports=function(f){return v?u.createElement(f):{}}},ce4e:function(n,c,e){var i=e("da84"),l=e("9112");n.exports=function(u,v){try{l(i,u,v)}catch{i[u]=v}return v}},d012:function(n,c){n.exports={}},d039:function(n,c){n.exports=function(e){try{return!!e()}catch{return!0}}},d066:function(n,c,e){var i=e("428f"),l=e("da84"),u=function(v){return typeof v=="function"?v:void 0};n.exports=function(v,f){return arguments.length<2?u(i[v])||u(l[v]):i[v]&&i[v][f]||l[v]&&l[v][f]}},d1e7:function(n,c,e){var i={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,u=l&&!i.call({1:2},1);c.f=u?function(f){var g=l(this,f);return!!g&&g.enumerable}:i},d28b:function(n,c,e){var i=e("746f");i("iterator")},d2bb:function(n,c,e){var i=e("825a"),l=e("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,v={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(v,[]),u=v instanceof Array}catch{}return function(h,y){return i(h),l(y),u?f.call(h,y):h.__proto__=y,h}}():void 0)},d3b7:function(n,c,e){var i=e("00ee"),l=e("6eeb"),u=e("b041");i||l(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(n,c,e){var i=e("9bf2").f,l=e("5135"),u=e("b622"),v=u("toStringTag");n.exports=function(f,g,h){f&&!l(f=h?f:f.prototype,v)&&i(f,v,{configurable:!0,value:g})}},d58f:function(n,c,e){var i=e("1c0b"),l=e("7b0b"),u=e("44ad"),v=e("50c4"),f=function(g){return function(h,y,S,x){i(y);var A=l(h),O=u(A),T=v(A.length),P=g?T-1:0,M=g?-1:1;if(S<2)for(;;){if(P in O){x=O[P],P+=M;break}if(P+=M,g?P<0:T<=P)throw TypeError("Reduce of empty array with no initial value")}for(;g?P>=0:T>P;P+=M)P in O&&(x=y(x,O[P],P,A));return x}};n.exports={left:f(!1),right:f(!0)}},d784:function(n,c,e){e("ac1f");var i=e("6eeb"),l=e("d039"),u=e("b622"),v=e("9263"),f=e("9112"),g=u("species"),h=!l(function(){var O=/./;return O.exec=function(){var T=[];return T.groups={a:"7"},T},"".replace(O,"$<a>")!=="7"}),y=function(){return"a".replace(/./,"$0")==="$0"}(),S=u("replace"),x=function(){return/./[S]?/./[S]("a","$0")==="":!1}(),A=!l(function(){var O=/(?:)/,T=O.exec;O.exec=function(){return T.apply(this,arguments)};var P="ab".split(O);return P.length!==2||P[0]!=="a"||P[1]!=="b"});n.exports=function(O,T,P,M){var V=u(O),J=!l(function(){var L={};return L[V]=function(){return 7},""[O](L)!=7}),Y=J&&!l(function(){var L=!1,G=/a/;return O==="split"&&(G={},G.constructor={},G.constructor[g]=function(){return G},G.flags="",G[V]=/./[V]),G.exec=function(){return L=!0,null},G[V](""),!L});if(!J||!Y||O==="replace"&&!(h&&y&&!x)||O==="split"&&!A){var K=/./[V],R=P(V,""[O],function(L,G,le,$,ne){return G.exec===v?J&&!ne?{done:!0,value:K.call(G,le,$)}:{done:!0,value:L.call(le,G,$)}:{done:!1}},{REPLACE_KEEPS_$0:y,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:x}),X=R[0],se=R[1];i(String.prototype,O,X),i(RegExp.prototype,V,T==2?function(L,G){return se.call(L,this,G)}:function(L){return se.call(L,this)})}M&&f(RegExp.prototype[V],"sham",!0)}},d81d:function(n,c,e){var i=e("23e7"),l=e("b727").map,u=e("1dde"),v=e("ae40"),f=u("map"),g=v("map");i({target:"Array",proto:!0,forced:!f||!g},{map:function(y){return l(this,y,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,c,e){(function(i){var l=function(u){return u&&u.Math==Math&&u};n.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof i=="object"&&i)||Function("return this")()}).call(this,e("c8ba"))},dbb4:function(n,c,e){var i=e("23e7"),l=e("83ab"),u=e("56ef"),v=e("fc6a"),f=e("06cf"),g=e("8418");i({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(y){for(var S=v(y),x=f.f,A=u(S),O={},T=0,P,M;A.length>T;)M=x(S,P=A[T++]),M!==void 0&&g(O,P,M);return O}})},dbf1:function(n,c,e){(function(i){e.d(c,"a",function(){return u});function l(){return typeof window<"u"?window.console:i.console}var u=l()}).call(this,e("c8ba"))},ddb0:function(n,c,e){var i=e("da84"),l=e("fdbc"),u=e("e260"),v=e("9112"),f=e("b622"),g=f("iterator"),h=f("toStringTag"),y=u.values;for(var S in l){var x=i[S],A=x&&x.prototype;if(A){if(A[g]!==y)try{v(A,g,y)}catch{A[g]=y}if(A[h]||v(A,h,S),l[S]){for(var O in u)if(A[O]!==u[O])try{v(A,O,u[O])}catch{A[O]=u[O]}}}}},df75:function(n,c,e){var i=e("ca84"),l=e("7839");n.exports=Object.keys||function(v){return i(v,l)}},e01a:function(n,c,e){var i=e("23e7"),l=e("83ab"),u=e("da84"),v=e("5135"),f=e("861d"),g=e("9bf2").f,h=e("e893"),y=u.Symbol;if(l&&typeof y=="function"&&(!("description"in y.prototype)||y().description!==void 0)){var S={},x=function(){var V=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),J=this instanceof x?new y(V):V===void 0?y():y(V);return V===""&&(S[J]=!0),J};h(x,y);var A=x.prototype=y.prototype;A.constructor=x;var O=A.toString,T=String(y("test"))=="Symbol(test)",P=/^Symbol\((.*)\)[^)]+$/;g(A,"description",{configurable:!0,get:function(){var V=f(this)?this.valueOf():this,J=O.call(V);if(v(S,V))return"";var Y=T?J.slice(7,-1):J.replace(P,"$1");return Y===""?void 0:Y}}),i({global:!0,forced:!0},{Symbol:x})}},e163:function(n,c,e){var i=e("5135"),l=e("7b0b"),u=e("f772"),v=e("e177"),f=u("IE_PROTO"),g=Object.prototype;n.exports=v?Object.getPrototypeOf:function(h){return h=l(h),i(h,f)?h[f]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?g:null}},e177:function(n,c,e){var i=e("d039");n.exports=!i(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(n,c,e){var i=e("fc6a"),l=e("44d2"),u=e("3f8c"),v=e("69f3"),f=e("7dd0"),g="Array Iterator",h=v.set,y=v.getterFor(g);n.exports=f(Array,"Array",function(S,x){h(this,{type:g,target:i(S),index:0,kind:x})},function(){var S=y(this),x=S.target,A=S.kind,O=S.index++;return!x||O>=x.length?(S.target=void 0,{value:void 0,done:!0}):A=="keys"?{value:O,done:!1}:A=="values"?{value:x[O],done:!1}:{value:[O,x[O]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},e439:function(n,c,e){var i=e("23e7"),l=e("d039"),u=e("fc6a"),v=e("06cf").f,f=e("83ab"),g=l(function(){v(1)}),h=!f||g;i({target:"Object",stat:!0,forced:h,sham:!f},{getOwnPropertyDescriptor:function(S,x){return v(u(S),x)}})},e538:function(n,c,e){var i=e("b622");c.f=i},e893:function(n,c,e){var i=e("5135"),l=e("56ef"),u=e("06cf"),v=e("9bf2");n.exports=function(f,g){for(var h=l(g),y=v.f,S=u.f,x=0;x<h.length;x++){var A=h[x];i(f,A)||y(f,A,S(g,A))}}},e8b5:function(n,c,e){var i=e("c6b6");n.exports=Array.isArray||function(u){return i(u)=="Array"}},e95a:function(n,c,e){var i=e("b622"),l=e("3f8c"),u=i("iterator"),v=Array.prototype;n.exports=function(f){return f!==void 0&&(l.Array===f||v[u]===f)}},f5df:function(n,c,e){var i=e("00ee"),l=e("c6b6"),u=e("b622"),v=u("toStringTag"),f=l(function(){return arguments}())=="Arguments",g=function(h,y){try{return h[y]}catch{}};n.exports=i?l:function(h){var y,S,x;return h===void 0?"Undefined":h===null?"Null":typeof(S=g(y=Object(h),v))=="string"?S:f?l(y):(x=l(y))=="Object"&&typeof y.callee=="function"?"Arguments":x}},f772:function(n,c,e){var i=e("5692"),l=e("90e3"),u=i("keys");n.exports=function(v){return u[v]||(u[v]=l(v))}},fb15:function(n,c,e){if(e.r(c),typeof window<"u"){var i=window.document.currentScript;{var l=e("8875");i=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var u=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(e.p=u[1])}e("99af"),e("4de4"),e("4160"),e("c975"),e("d81d"),e("a434"),e("159b"),e("a4d3"),e("e439"),e("dbb4"),e("b64b");function v(w,I,D){return I in w?Object.defineProperty(w,I,{value:D,enumerable:!0,configurable:!0,writable:!0}):w[I]=D,w}function f(w,I){var D=Object.keys(w);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(w);I&&(N=N.filter(function(Z){return Object.getOwnPropertyDescriptor(w,Z).enumerable})),D.push.apply(D,N)}return D}function g(w){for(var I=1;I<arguments.length;I++){var D=arguments[I]!=null?arguments[I]:{};I%2?f(Object(D),!0).forEach(function(N){v(w,N,D[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(D)):f(Object(D)).forEach(function(N){Object.defineProperty(w,N,Object.getOwnPropertyDescriptor(D,N))})}return w}function h(w){if(Array.isArray(w))return w}e("e01a"),e("d28b"),e("e260"),e("d3b7"),e("3ca3"),e("ddb0");function y(w,I){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(w)))){var D=[],N=!0,Z=!1,re=void 0;try{for(var fe=w[Symbol.iterator](),Se;!(N=(Se=fe.next()).done)&&(D.push(Se.value),!(I&&D.length===I));N=!0);}catch(we){Z=!0,re=we}finally{try{!N&&fe.return!=null&&fe.return()}finally{if(Z)throw re}}return D}}e("a630"),e("fb6a"),e("b0c0"),e("25f0");function S(w,I){(I==null||I>w.length)&&(I=w.length);for(var D=0,N=new Array(I);D<I;D++)N[D]=w[D];return N}function x(w,I){if(w){if(typeof w=="string")return S(w,I);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 S(w,I)}}function A(){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 O(w,I){return h(w)||y(w,I)||x(w,I)||A()}function T(w){if(Array.isArray(w))return S(w)}function P(w){if(typeof Symbol<"u"&&Symbol.iterator in Object(w))return Array.from(w)}function M(){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 V(w){return T(w)||P(w)||x(w)||M()}var J=e("a352"),Y=e.n(J);function K(w){w.parentElement!==null&&w.parentElement.removeChild(w)}function R(w,I,D){var N=D===0?w.children[0]:w.children[D-1].nextSibling;w.insertBefore(I,N)}var X=e("dbf1");e("13d5"),e("4fad"),e("ac1f"),e("5319");function se(w){var I=Object.create(null);return function(N){var Z=I[N];return Z||(I[N]=w(N))}}var L=/-(\w)/g,G=se(function(w){return w.replace(L,function(I,D){return D.toUpperCase()})});e("5db7"),e("73d9");var le=["Start","Add","Remove","Update","End"],$=["Choose","Unchoose","Sort","Filter","Clone"],ne=["Move"],ve=[ne,le,$].flatMap(function(w){return w}).map(function(w){return"on".concat(w)}),Oe={manage:ne,manageAndEmit:le,emit:$};function Me(w){return ve.indexOf(w)!==-1}e("caad"),e("2ca0");var Ie=["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 Ve(w){return Ie.includes(w)}function je(w){return["transition-group","TransitionGroup"].includes(w)}function Qe(w){return["id","class","role","style"].includes(w)||w.startsWith("data-")||w.startsWith("aria-")||w.startsWith("on")}function Ae(w){return w.reduce(function(I,D){var N=O(D,2),Z=N[0],re=N[1];return I[Z]=re,I},{})}function ge(w){var I=w.$attrs,D=w.componentData,N=D===void 0?{}:D,Z=Ae(Object.entries(I).filter(function(re){var fe=O(re,2),Se=fe[0];return fe[1],Qe(Se)}));return g(g({},Z),N)}function Pe(w){var I=w.$attrs,D=w.callBackBuilder,N=Ae(it(I));Object.entries(D).forEach(function(re){var fe=O(re,2),Se=fe[0],we=fe[1];Oe[Se].forEach(function(q){N["on".concat(q)]=we(q)})});var Z="[data-draggable]".concat(N.draggable||"");return g(g({},N),{},{draggable:Z})}function it(w){return Object.entries(w).filter(function(I){var D=O(I,2),N=D[0];return D[1],!Qe(N)}).map(function(I){var D=O(I,2),N=D[0],Z=D[1];return[G(N),Z]}).filter(function(I){var D=O(I,2),N=D[0];return D[1],!Me(N)})}e("c740");function Ze(w,I){if(!(w instanceof I))throw new TypeError("Cannot call a class as a function")}function wt(w,I){for(var D=0;D<I.length;D++){var N=I[D];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(w,N.key,N)}}function Vt(w,I,D){return I&&wt(w.prototype,I),w}var Ot=function(I){var D=I.el;return D},ze=function(I,D){return I.__draggable_context=D},$e=function(I){return I.__draggable_context},Kt=function(){function w(I){var D=I.nodes,N=D.header,Z=D.default,re=D.footer,fe=I.root,Se=I.realList;Ze(this,w),this.defaultNodes=Z,this.children=[].concat(V(N),V(Z),V(re)),this.externalComponent=fe.externalComponent,this.rootTransition=fe.transition,this.tag=fe.tag,this.realList=Se}return Vt(w,[{key:"render",value:function(D,N){var Z=this.tag,re=this.children,fe=this._isRootComponent,Se=fe?{default:function(){return re}}:re;return D(Z,N,Se)}},{key:"updated",value:function(){var D=this.defaultNodes,N=this.realList;D.forEach(function(Z,re){ze(Ot(Z),{element:N[re],index:re})})}},{key:"getUnderlyingVm",value:function(D){return $e(D)}},{key:"getVmIndexFromDomIndex",value:function(D,N){var Z=this.defaultNodes,re=Z.length,fe=N.children,Se=fe.item(D);if(Se===null)return re;var we=$e(Se);if(we)return we.index;if(re===0)return 0;var q=Ot(Z[0]),ee=V(fe).findIndex(function(oe){return oe===q});return D<ee?0:re}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),w}(),gt=e("8bbf");function ht(w,I){var D=w[I];return D?D():[]}function ln(w){var I=w.$slots,D=w.realList,N=w.getKey,Z=D||[],re=["header","footer"].map(function(oe){return ht(I,oe)}),fe=O(re,2),Se=fe[0],we=fe[1],q=I.item;if(!q)throw new Error("draggable element must have an item slot");var ee=Z.flatMap(function(oe,he){return q({element:oe,index:he}).map(function(be){return be.key=N(oe),be.props=g(g({},be.props||{}),{},{"data-draggable":!0}),be})});if(ee.length!==Z.length)throw new Error("Item slot must have only one child");return{header:Se,footer:we,default:ee}}function On(w){var I=je(w),D=!Ve(w)&&!I;return{transition:I,externalComponent:D,tag:D?Object(gt.resolveComponent)(w):I?gt.TransitionGroup:w}}function vt(w){var I=w.$slots,D=w.tag,N=w.realList,Z=w.getKey,re=ln({$slots:I,realList:N,getKey:Z}),fe=On(D);return new Kt({nodes:re,root:fe,realList:N})}function Tt(w,I){var D=this;Object(gt.nextTick)(function(){return D.$emit(w.toLowerCase(),I)})}function Ut(w){var I=this;return function(D,N){if(I.realList!==null)return I["onDrag".concat(w)](D,N)}}function Yt(w){var I=this,D=Ut.call(this,w);return function(N,Z){D.call(I,N,Z),Tt.call(I,w,N)}}var Mt=null,Xt={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(I){return I}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},kt=["update:modelValue","change"].concat(V([].concat(V(Oe.manageAndEmit),V(Oe.emit)).map(function(w){return w.toLowerCase()}))),Zt=Object(gt.defineComponent)({name:"draggable",inheritAttrs:!1,props:Xt,emits:kt,data:function(){return{error:!1}},render:function(){try{this.error=!1;var I=this.$slots,D=this.$attrs,N=this.tag,Z=this.componentData,re=this.realList,fe=this.getKey,Se=vt({$slots:I,tag:N,realList:re,getKey:fe});this.componentStructure=Se;var we=ge({$attrs:D,componentData:Z});return Se.render(gt.h,we)}catch(q){return this.error=!0,Object(gt.h)("pre",{style:{color:"red"}},q.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&X.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var I=this;if(!this.error){var D=this.$attrs,N=this.$el,Z=this.componentStructure;Z.updated();var re=Pe({$attrs:D,callBackBuilder:{manageAndEmit:function(we){return Yt.call(I,we)},emit:function(we){return Tt.bind(I,we)},manage:function(we){return Ut.call(I,we)}}}),fe=N.nodeType===1?N:N.parentElement;this._sortable=new Y.a(fe,re),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 I=this.list;return I||this.modelValue},getKey:function(){var I=this.itemKey;return typeof I=="function"?I:function(D){return D[I]}}},watch:{$attrs:{handler:function(I){var D=this._sortable;D&&it(I).forEach(function(N){var Z=O(N,2),re=Z[0],fe=Z[1];D.option(re,fe)})},deep:!0}},methods:{getUnderlyingVm:function(I){return this.componentStructure.getUnderlyingVm(I)||null},getUnderlyingPotencialDraggableComponent:function(I){return I.__draggable_component__},emitChanges:function(I){var D=this;Object(gt.nextTick)(function(){return D.$emit("change",I)})},alterList:function(I){if(this.list){I(this.list);return}var D=V(this.modelValue);I(D),this.$emit("update:modelValue",D)},spliceList:function(){var I=arguments,D=function(Z){return Z.splice.apply(Z,V(I))};this.alterList(D)},updatePosition:function(I,D){var N=function(re){return re.splice(D,0,re.splice(I,1)[0])};this.alterList(N)},getRelatedContextFromMoveEvent:function(I){var D=I.to,N=I.related,Z=this.getUnderlyingPotencialDraggableComponent(D);if(!Z)return{component:Z};var re=Z.realList,fe={list:re,component:Z};if(D!==N&&re){var Se=Z.getUnderlyingVm(N)||{};return g(g({},Se),fe)}return fe},getVmIndexFromDomIndex:function(I){return this.componentStructure.getVmIndexFromDomIndex(I,this.targetDomElement)},onDragStart:function(I){this.context=this.getUnderlyingVm(I.item),I.item._underlying_vm_=this.clone(this.context.element),Mt=I.item},onDragAdd:function(I){var D=I.item._underlying_vm_;if(D!==void 0){K(I.item);var N=this.getVmIndexFromDomIndex(I.newIndex);this.spliceList(N,0,D);var Z={element:D,newIndex:N};this.emitChanges({added:Z})}},onDragRemove:function(I){if(R(this.$el,I.item,I.oldIndex),I.pullMode==="clone"){K(I.clone);return}var D=this.context,N=D.index,Z=D.element;this.spliceList(N,1);var re={element:Z,oldIndex:N};this.emitChanges({removed:re})},onDragUpdate:function(I){K(I.item),R(I.from,I.item,I.oldIndex);var D=this.context.index,N=this.getVmIndexFromDomIndex(I.newIndex);this.updatePosition(D,N);var Z={element:this.context.element,oldIndex:D,newIndex:N};this.emitChanges({moved:Z})},computeFutureIndex:function(I,D){if(!I.element)return 0;var N=V(D.to.children).filter(function(Se){return Se.style.display!=="none"}),Z=N.indexOf(D.related),re=I.component.getVmIndexFromDomIndex(Z),fe=N.indexOf(Mt)!==-1;return fe||!D.willInsertAfter?re:re+1},onDragMove:function(I,D){var N=this.move,Z=this.realList;if(!N||!Z)return!0;var re=this.getRelatedContextFromMoveEvent(I),fe=this.computeFutureIndex(re,I),Se=g(g({},this.context),{},{futureIndex:fe}),we=g(g({},I),{},{relatedContext:re,draggedContext:Se});return N(we,D)},onDragEnd:function(){Mt=null}}}),qt=Zt;c.default=qt},fb6a:function(n,c,e){var i=e("23e7"),l=e("861d"),u=e("e8b5"),v=e("23cb"),f=e("50c4"),g=e("fc6a"),h=e("8418"),y=e("b622"),S=e("1dde"),x=e("ae40"),A=S("slice"),O=x("slice",{ACCESSORS:!0,0:0,1:2}),T=y("species"),P=[].slice,M=Math.max;i({target:"Array",proto:!0,forced:!A||!O},{slice:function(J,Y){var K=g(this),R=f(K.length),X=v(J,R),se=v(Y===void 0?R:Y,R),L,G,le;if(u(K)&&(L=K.constructor,typeof L=="function"&&(L===Array||u(L.prototype))?L=void 0:l(L)&&(L=L[T],L===null&&(L=void 0)),L===Array||L===void 0))return P.call(K,X,se);for(G=new(L===void 0?Array:L)(M(se-X,0)),le=0;X<se;X++,le++)X in K&&h(G,le,K[X]);return G.length=le,G}})},fc6a:function(n,c,e){var i=e("44ad"),l=e("1d80");n.exports=function(u){return i(l(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,e){var i=e("4930");n.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Qr);var Dl=Qr.exports;const Lr=Ra(Dl);function kr(a,r){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary"].forEach(n=>{r[n]&&(a[n].visible=r[n].visible,a[n].required=r[n].required)}),["family_member","education","work_experience"].forEach(n=>{r[n]&&(a[n].visible=r[n].visible,Object.keys(r[n].fields).forEach(c=>{a[n].fields[c]&&(a[n].fields[c].visible=r[n].fields[c].visible,a[n].fields[c].required=r[n].fields[c].required)}))})}const Pl={class:"position-detail-container"},Rl={class:"header-container"},Vl={class:"header-actions"},Kl={class:"detail-content"},Ul={class:"detail-item"},Ml={key:0,class:"detail-value"},Bl={key:1,class:"title-edit-container"},Nl={class:"title-edit-actions"},jl={class:"detail-item"},Fl={key:0,class:"detail-value"},Ll={key:1,class:"title-edit-container"},kl={class:"title-edit-actions"},Ql={class:"detail-item"},Gl={key:0,class:"detail-value"},zl={key:1,class:"title-edit-container"},$l={class:"title-edit-actions"},Jl={class:"detail-item"},Wl={key:0,class:"detail-value"},Hl={key:1,class:"title-edit-container"},Yl={class:"title-edit-actions"},Xl={class:"detail-item"},Zl={key:0,class:"detail-value"},ql={key:1,class:"title-edit-container"},_l={class:"title-edit-actions"},es={class:"detail-item"},ts={key:0,class:"detail-value"},ns={key:1,class:"title-edit-container"},os={class:"title-edit-actions"},rs={class:"detail-item"},is={class:"detail-value"},as={class:"detail-item"},ls={key:0,class:"detail-value"},ss={key:1,class:"title-edit-container"},ds={class:"title-edit-actions"},us={class:"detail-item"},cs=["innerHTML"],fs={key:2,class:"title-edit-container"},vs={class:"title-edit-actions"},ps={class:"detail-item"},ms=["innerHTML"],gs={key:2,class:"title-edit-container"},hs={class:"title-edit-actions"},ys={class:"detail-item"},bs={key:0,class:"detail-value"},Ss={key:1,class:"title-edit-container"},Es={class:"title-edit-actions"},xs={class:"status-cards"},Is={class:"status-switch"},Cs={class:"status-text"},As={class:"section-title"},ws={class:"section-title"},Os={class:"process-steps"},Ts={class:"step-number"},Ds={class:"step-content"},Ps={class:"step-title"},Rs={class:"section-title"},Vs={class:"process-dialog-content"},Ks={key:0,class:"add-process-btn-top"},Us={class:"process-number"},Ms={class:"process-edit-content"},Bs={class:"process-edit-desc"},Ns={class:"process-edit-btn"},js=["onClick"],Fs={class:"dialog-footer"},Ls={class:"ai-video-steps"},ks={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},Qs={class:"ai-video-options"},Gs={class:"ai-video-options-header"},zs={class:"right_btn"},$s={class:"recommended-dimensions"},Js={class:"dimension-grid"},Ws={class:"ability-label"},Hs={class:"optional-dimensions"},Ys={class:"dimension-grid"},Xs={class:"ability-label"},Zs={class:"custom-dimensions"},qs={class:"dimension-form"},_s={class:"dimension-row"},ed={class:"dimension-input"},td={class:"dimension-input"},nd={class:"dimension-actions"},od={key:1,class:"ai-video-content"},rd={class:"interview-settings"},id={class:"interview-header"},ad={class:"interview-actions"},ld={class:"question-switches"},sd={class:"switch-item"},dd={class:"switch-item"},ud={class:"switch-item"},cd={class:"switch-item"},fd={class:"interview-content"},vd={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},pd={key:0,class:"no-questions"},md={key:1,class:"question-list"},gd={class:"question-card"},hd={class:"question-header"},yd={class:"question-title"},bd={class:"title-content"},Sd={class:"question-content"},Ed={class:"question-number"},xd={style:{color:"#0017ab"}},Id={class:"question-tags"},Cd={key:0,class:"more-tags-indicator"},Ad={class:"question-actions",style:{"margin-top":"0px"}},wd={class:"question-info"},Od={class:"info-item"},Td={key:0,class:"question-actions"},Dd={class:"answer-limit"},Pd={class:"answer-limit"},Rd={key:1,class:"question-actions"},Vd={class:"answer-limit"},Kd={class:"multi-dimension-questions"},Ud={class:"dimension-list"},Md={class:"dimension-header"},Bd={class:"dimension-info"},Nd={class:"ability-name"},jd=["onClick"],Fd={key:2,class:"ai-video-content"},Ld={class:"system-settings"},kd={class:"setting-section"},Qd={style:{display:"flex","align-items":"flex-start"}},Gd={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px"}},zd=["src"],$d={class:"interviewer-avatars"},Jd=["onClick"],Wd={class:"avatar-wrapper"},Hd=["src","alt"],Yd=["title"],Xd={class:"interview-settings"},Zd={class:"setting-item"},qd={class:"setting-item"},_d={class:"setting-options"},eu={class:"setting-item"},tu={class:"drawer-footer"},nu={class:"video-lecture-form"},ou={class:"form-item"},ru={class:"upload-area"},iu={class:"form-item"},au={class:"form-item"},lu={class:"dialog-footer"},su={class:"ai-chat-content"},du={class:"chat-settings"},uu={class:"chat-actions"},cu={class:"chat-questions"},fu={key:0,class:"empty-questions"},vu={key:1,class:"question-list"},pu={class:"question-card"},mu={class:"question-header"},gu={class:"question-title"},hu={class:"question-number"},yu={class:"question-actions"},bu={class:"weight-control"},Su={class:"answer-limit"},Eu={class:"question-info"},xu={class:"info-item"},Iu={class:"info-item"},Cu={class:"info-item"},Au={class:"drawer-footer"},wu={class:"question-form"},Ou={class:"form-item"},Tu={class:"form-item"},Du={class:"form-item"},Pu={class:"competency-config"},Ru={class:"config-row"},Vu={class:"form-item"},Ku={class:"form-item"},Uu={class:"form-item"},Mu={class:"form-item"},Bu={class:"form-item"},Nu={class:"dialog-footer"},ju={class:"question-select-content"},Fu={class:"search-bar"},Lu={class:"search-inputs"},ku={class:"question-lists"},Qu={class:"pagination-container"},Gu={class:"dialog-footer"},zu={class:"data-collection-form"},$u={class:"field-config-panel"},Ju={class:"field-config-list"},Wu={class:"field-config-item"},Hu={class:"field-label"},Yu={class:"field-config-item"},Xu={class:"field-label"},Zu={class:"field-config-item sub-field"},qu={class:"field-label"},_u={class:"field-config-item"},ec={class:"field-label"},tc={class:"field-config-item sub-field"},nc={class:"field-label"},oc={class:"field-config-item"},rc={class:"field-label"},ic={class:"field-config-item"},ac={class:"field-label"},lc={class:"field-config-item sub-field"},sc={class:"field-label"},dc={class:"dialog-footer"},uc={class:"resume-collection-form"},cc={class:"form-item"},fc={class:"dialog-footer"},vc={class:"code-test-form"},pc={class:"form-item"},mc={class:"form-item"},gc={class:"switch-label"},hc={class:"form-item"},yc={class:"test-paper-selector"},bc={key:0,class:"empty-paper"},Sc={key:1,class:"selected-paper"},Ec={class:"paper-info"},xc={class:"paper-title"},Ic={class:"paper-meta"},Cc={class:"paper-actions"},Ac={class:"dialog-footer"},wc={class:"typing-test-form"},Oc={class:"form-item"},Tc={class:"article-selection"},Dc={class:"form-item"},Pc={class:"form-item"},Rc={class:"time-input-container"},Vc={class:"form-item"},Kc={class:"upload-area"},Uc={class:"form-item"},Mc={class:"form-item"},Bc={class:"form-item"},Nc={class:"form-item"},jc={class:"criteria-options"},Fc={class:"dialog-footer"},Lc={class:"interview-settings-content"},kc={class:"settings-section"},Qc={class:"setting-item"},Gc={class:"setting-info"},zc={class:"setting-item"},$c={class:"setting-info"},Jc={key:0,class:"setting-desc-container"},Wc={class:"setting-desc"},Hc={key:1,class:"desc-edit-container"},Yc={class:"desc-edit-actions"},Xc={class:"setting-item"},Zc={class:"setting-info"},qc={key:0,class:"setting-desc-container"},_c={class:"setting-desc"},ef={key:1,class:"desc-edit-container"},tf={class:"desc-edit-actions"},nf={class:"setting-item"},of={class:"setting-info"},rf={key:0,class:"setting-desc-container"},af={class:"setting-desc"},lf={key:1,class:"desc-edit-container"},sf={class:"desc-edit-actions"},df={class:"dialog-footer"},uf=Sa({__name:"index",setup(a){const r=Ea(),o=xa(),s=W(o.params.id),n=W(!1),c=W(!1),e=qe({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:[],status:0}),i=qe([{id:5,name:"资料收集",description:"资料收集",active:!0},{id:2,name:"AI视频",description:"AI视频",active:!0},{id:1,name:"待核验",description:"待核验",active:!0},{id:3,name:"已通过",description:"已通过",active:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1}]),l=W(!1),u=[{label:"AI视频",value:"ai_video"},{label:"视频宣讲",value:"video_presentation"},{label:"AI实时对话",value:"ai_chat"},{label:"资料收集",value:"data_collection"},{label:"简历收集",value:"resume_collection"}],v=()=>{pn.value=!0,Tr({position_id:s.value}).then(b=>{b.data.forEach(t=>{t.selected=!1}),Nt.value=b.data,console.log("res",b),pn.value=!1}).catch(b=>{console.log("err",b),pn.value=!1})},f=Ma(),g=b=>{if(console.log("地址选择变化:",b),b&&Array.isArray(b)&&b.length>0){const[t,F,C]=b,_=f.find(Re=>Re.code===t);let z;_&&_.children&&(z=_.children.find(Re=>Re.code===F),z&&z.children&&z.children.find(Re=>Re.code===C))}},h=(b,t)=>{za({id:b,is_required_correct:t}).then(F=>{console.log("res",F)})},y=W(-1),S=W(!1),x=qe({top:"0px",left:"0px"}),A=W(!1),O=qe({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),T=W(1),P=W([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);qe({min:0,max:100,minScore:0,maxScore:0});const M=b=>{console.log(b)};W("standard"),W(!1);const V=W(!1),J=qe({title:"",videoFile:null,description:"",broadcastType:"required"}),Y=W(!1);W(15),W(5);const K=W(!1),R=qe({content:"",competencyTags:[],weight:100,level:1,type:"open",position:[],category:"",tags:[],suggestedDuration:60}),X=W([{label:"时间管理",value:"time_management"},{label:"沟通能力",value:"communication"},{label:"团队协作",value:"teamwork"},{label:"问题解决",value:"problem_solving"},{label:"抗压能力",value:"pressure_resistance"}]),se=W([{label:"后端开发",value:"backend"},{label:"前端开发",value:"frontend"},{label:"产品经理",value:"product_manager"},{label:"项目经理",value:"project_manager"},{label:"测试工程师",value:"test_engineer"}]),L=W([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),G=W([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),le=()=>{Object.assign(R,{content:"",competencyTags:[],weight:100,level:1,type:"open",position:[],category:"",tags:[],suggestedDuration:60})},$=()=>{K.value=!1,le()},ne=async()=>{if(!R.content){U.error("请输入题目内容");return}if(ma()){if(!R.type){U.error("请选择题目形式");return}if(R.position.length===0){U.error("请选择适用职位");return}if(!R.category){U.error("请选择题目分类");return}if(R.suggestedDuration<=0){U.error("请设置有效的建议时长");return}try{const b={content:R.content,competencyTags:R.competencyTags,weight:R.weight,level:R.level,type:R.type,position:R.position,category:R.category,tags:R.tags,suggestedDuration:R.suggestedDuration};K.value=!1,le(),U.success("问题添加成功")}catch(b){console.error("添加问题失败:",b),U.error("添加问题失败,请重试")}}},ve=W(!1),Oe=qe({isRequired:!1,questions:[]});W([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const Me=W(!1),Ie=qe({title:"简历收集",isRequired:!0,steps:4}),Ve=()=>{Me.value=!0},je=()=>{Me.value=!1,Object.assign(Ie,{title:"简历收集",isRequired:!0,steps:4})},Qe=()=>{const b={id:Date.now(),name:Ie.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Ie}};i.splice(y.value,0,b),Me.value=!1,U.success("简历收集步骤已添加"),je()},Ae=W(!1),ge=qe({enableScoreQuestions:!1,enableColorBlindQuestions:!1}),Pe=async()=>{try{const b=o.query.id;if(!b){U.error("职位ID不存在");return}const t=Array.isArray(b)?b[0]:b,F=b,C=await Da(b);if(C&&C.data){Object.assign(e,C.data);const _=await Sn(b);_&&_.data&&(Ce.value=_.data.id,_.data.enable_psychological_test!==void 0&&(ge.enableScoreQuestions=_.data.enable_psychological_test),_.data.enable_color_blind_test!==void 0&&(ge.enableColorBlindQuestions=_.data.enable_color_blind_test)),n.value=e.status===1}}catch(b){console.error("获取职位详情失败:",b),U.error("获取职位详情失败")}},it=()=>{r.push("/position/list")},Ze=()=>{r.push("/position/list")},wt=()=>{U.success("分享链接已复制到剪贴板")},Vt=async b=>{const t=o.query.id;try{const F=b?1:0;await xt({id:t,status:F}),e.status=F,U.success(`职位已${b?"开启":"关闭"}`)}catch(F){console.error("修改状态失败:",F),U.error("修改状态失败"),n.value=!b}},Ot=()=>{U.info("编辑职位用途功能开发中")},ze=()=>{l.value=!0},$e=()=>{l.value=!1,U.success("招聘流程已更新")},Kt=()=>{l.value=!1},gt=b=>{i.splice(b,1)},ht=b=>({0:"未发布",1:"已发布",2:"已结束"})[b]||"未知状态",ln=b=>({0:"info",1:"success",2:"danger"})[b]||"info",On=async(b,t)=>{if(b==="ai_video"){A.value=!0,S.value=!1;return}if(b==="ai_chat"){Y.value=!0,S.value=!1;return}if(b==="video_presentation"){Xt(),S.value=!1;return}if(b==="data_collection"){const C=await Sn(o.query.id);C&&C.data?(Ce.value=C.data.id,kr(k,C.data.profile_fields_config),ve.value=!0,S.value=!1):(ve.value=!0,S.value=!1);return}if(b==="resume_collection"){Ve(),S.value=!1;return}if(b==="code_test"){ee(),S.value=!1;return}if(b==="typing_test"){Dt.value=!0,S.value=!1;return}if(i.length>=6){U.warning("最多只能添加6个流程步骤");return}const F={id:Date.now(),name:t,description:t,active:!0,type:b};i.splice(y.value,0,F),S.value=!1},vt=async()=>{if(T.value<3){if(T.value===1){const b=Nt.value.filter(t=>t.selected);if(b.length===0){U.warning("请至少选择一个胜任力考核维度");return}try{const t=b.map(F=>({name:F.name,description:F.description,importance:F.importance}));await $a({position_id:o.query.id,tenant_id:"1",tags:t}),P.value=b.map(F=>({label:F.name,value:F.name.toLowerCase().replace(/\s+/g,"_"),description:F.description,level:"CC",expanded:!1,isNew:!0}))}catch(t){console.error("保存胜任力标签失败:",t),U.error("保存胜任力标签失败");return}}if(T.value===2){if(I.value.length===0){U.warning("请至少添加一个面试题目");return}try{await Mi()}catch(b){console.error("保存题目失败:",b),U.error("保存题目失败");return}}if(T.value===3){const b=Bi();if(!b.isValid){b.messages.forEach(F=>{U.warning(F)});return}const t=Fi();console.log("完整的面试配置:",t)}T.value++}else Ut()},Tt=()=>{T.value>1&&T.value--},Ut=async()=>{var _;if(!lt.value||!lt.value.id){U.warning("请选择面试官形象");return}const b={id:lt.value.id,name:lt.value.name,avatar_url:lt.value.avatar_url||lt.value.image},t=Fo(),F={enableScoreQuestions:ge.enableScoreQuestions,enableColorBlindQuestions:ge.enableColorBlindQuestions};if(Ce.value==0){const z=await en({position_id:o.query.id,digital_human_id:lt.value.id});if(z.code==2e3){U.success("配置保存成功");try{const Re={config_id:((_=z.data)==null?void 0:_.id)||z.data};t.beforeStartText&&t.beforeStartText.trim()!==""?(await Go(Re),console.log("开场白生成成功"),A.value=!1,T.value=1,await new Promise(xe=>setTimeout(xe,4e3))):console.log("无开场白配置,跳过开场白生成"),await Ar(Re),U.success("视频开始生成")}catch(Re){console.error("获取开场白和视频失败:",Re),U.warning("视频生成中,请稍后")}}else U.error("配置保存失败")}else if((await tn({id:Ce.value,digital_human_id:lt.value.id})).code==2e3){U.success("配置保存成功");try{const Re={config_id:Ce.value};console.log("开始生成开场白..."),await Go(Re),console.log("开场白生成成功"),A.value=!1,T.value=1,console.log("等待4秒后开始生成视频..."),await Qi(4e3),console.log("开始生成视频..."),await Ar(Re),console.log("视频生成请求已发送"),U.success("视频开始生成")}catch(Re){console.error("获取开场白和视频失败:",Re),U.warning("视频生成中,请稍后")}}else U.error("配置保存失败");console.log("保存时选中的面试官:",b),console.log("保存时的面试设置:",t),console.log("保存时的题目设置:",F);const C={id:Date.now(),name:"AI视频",description:`已选择${P.value.length}项能力测评`,active:!0,type:"ai_video",abilities:P.value.map(z=>z.value),interviewer:b,settings:t};i.splice(y.value,0,C),A.value=!1,T.value=1,U.success("AI视频步骤已添加")},Yt=()=>{A.value=!1,T.value=1},Mt=b=>{},Xt=()=>{V.value=!0},kt=()=>{V.value=!1,Object.assign(J,{title:"",videoFile:null,description:"",broadcastType:"required"})},Zt=()=>{const b={id:Date.now(),name:J.title||"视频宣讲",description:J.description||"视频宣讲",active:!0,type:"video_presentation",config:{...J}};i.splice(y.value,0,b),V.value=!1,U.success("视频宣讲步骤已添加"),kt()},qt=()=>{const b={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};i.splice(y.value,0,b),Y.value=!1,U.success("AI实时对话步骤已添加")},w=()=>{Y.value=!1},I=W([]),D=()=>{K.value=!0},N=()=>{Fn.value=!0,ho()},Z=b=>{const t=I.value[b];Object.assign(R,t),K.value=!0},re=b=>{Cr.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{I.value.splice(b,1),U.success("删除成功")})},fe=()=>{ve.value=!1,Object.assign(Oe,{isRequired:!1,questions:[]})};Ia(()=>{Pe(),Ti(),Li(),Se()}),Ca(()=>{pr()});const Se=async()=>{try{const b=o.query.id;if(b){const t=await Sn(b);t&&t.data&&(t.data.enable_psychological_test!==void 0&&(ge.enableScoreQuestions=t.data.enable_psychological_test),t.data.enable_color_blind_test!==void 0&&(ge.enableColorBlindQuestions=t.data.enable_color_blind_test))}}catch(b){console.error("初始化配置状态失败:",b)}},we=W(!1),q=qe({title:"代码笔试",autoJudge:!0,selectedPaper:null}),ee=()=>{we.value=!0},oe=()=>{we.value=!1,Object.assign(q,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},he=()=>{if(!q.selectedPaper){U.warning("请添加考试试卷");return}const b={id:Date.now(),name:q.title,description:`${q.selectedPaper.title}`,active:!0,type:"code_test",config:{...q}};i.splice(y.value,0,b),we.value=!1,U.success("代码笔试步骤已添加"),oe()},be=()=>{q.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},tt=()=>{U.info("查看试卷功能开发中")},Tn=()=>{U.info("更换试卷功能开发中")},Bo=()=>{q.selectedPaper=null},Dt=W(!1),Ye=qe({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),dr=()=>{Dt.value=!1,Object.assign(Ye,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},ei=()=>{const b={id:Date.now(),name:Ye.title,description:`打字测试 ${Ye.duration}分钟`,active:!0,type:"typing_test",config:{...Ye}};i.splice(y.value,0,b),Dt.value=!1,U.success("打字测试步骤已添加"),dr()},lo=W(!1),sn=W(""),ti=()=>{sn.value=e.title,lo.value=!0},ni=()=>{lo.value=!1},oi=async()=>{if(!sn.value.trim()){U.warning("职位名称不能为空");return}try{const b=o.query.id;await xt({id:b,title:sn.value.trim()}),e.title=sn.value.trim(),lo.value=!1,U.success("职位名称已更新")}catch(b){console.error("更新职位名称失败:",b),U.error("更新职位名称失败")}},so=W(!1),Bt=W(""),ri=()=>{if(!e.location)Bt.value="";else if(Array.isArray(e.location))Bt.value=e.location;else if(typeof e.location=="string")try{const t=e.location.replace(/[\[\]']/g,"").split(",").map(z=>z.trim()),F=f.find(z=>z.name===t[0]);let C,_;F&&F.children&&(C=F.children.find(z=>z.name===t[1]),C&&C.children&&(_=C.children.find(z=>z.name===t[2]))),Bt.value=[F==null?void 0:F.code,C==null?void 0:C.code,_==null?void 0:_.code].filter(Boolean)}catch(b){console.error("解析地址失败:",b),Bt.value=""}so.value=!0},ii=()=>{so.value=!1},ai=async()=>{try{const b=o.query.id,t=[];if(Bt.value&&Array.isArray(Bt.value)){const[F,C,_]=Bt.value,z=f.find(xe=>xe.code===F);let Re,de;z&&(t.push(z.name),z.children&&(Re=z.children.find(xe=>xe.code===C),Re&&(t.push(Re.name),Re.children&&(de=Re.children.find(xe=>xe.code===_),de&&t.push(de.name)))))}await xt({id:b,location:t}),e.location=t,so.value=!1,U.success("工作地点已更新")}catch(b){console.error("更新工作地点失败:",b),U.error("更新工作地点失败")}},uo=W(!1),Dn=W(""),li=()=>{Dn.value=e.salary_range||"",uo.value=!0},si=()=>{uo.value=!1},di=async()=>{try{const b=o.query.id;await xt({id:b,salary_range:Dn.value.trim()}),e.salary_range=Dn.value.trim(),uo.value=!1,U.success("职位薪资已更新")}catch(b){console.error("更新职位薪资失败:",b),U.error("更新职位薪资失败")}},co=W(!1),Pn=W(""),ui=()=>{Pn.value=e.work_experience_required||"",co.value=!0},ci=()=>{co.value=!1},fi=async()=>{try{const b=o.query.id;await xt({id:b,work_experience_required:Pn.value}),e.work_experience_required=Pn.value,co.value=!1,U.success("工作经验已更新")}catch(b){console.error("更新工作经验失败:",b),U.error("更新工作经验失败")}},fo=W(!1),Rn=W(""),vi=()=>{Rn.value=e.education_required||"",fo.value=!0},pi=()=>{fo.value=!1},mi=async()=>{try{const b=o.query.id;await xt({id:b,education_required:Rn.value}),e.education_required=Rn.value,fo.value=!1,U.success("学历要求已更新")}catch(b){console.error("更新学历要求失败:",b),U.error("更新学历要求失败")}},vo=W(!1),Vn=W(""),gi=()=>{Vn.value=e.department||"",vo.value=!0},hi=()=>{vo.value=!1},yi=async()=>{try{const b=o.query.id;await xt({id:b,department:Vn.value.trim()}),e.department=Vn.value.trim(),vo.value=!1,U.success("所属部门已更新")}catch(b){console.error("更新所属部门失败:",b),U.error("更新所属部门失败")}},po=W(!1),Kn=W(""),bi=()=>{Kn.value=e.end_date||"",po.value=!0},Si=()=>{po.value=!1},Ei=async()=>{try{const b=o.query.id;await xt({id:b,end_date:Kn.value}),e.end_date=Kn.value,po.value=!1,U.success("截止日期已更新")}catch(b){console.error("更新截止日期失败:",b),U.error("更新截止日期失败")}},Un=W(!1),Mn=W(""),xi=()=>{Mn.value=e.requirements||"",Un.value=!0},Ii=()=>{Un.value=!1},Ci=async()=>{try{const b=o.query.id;await xt({id:b,requirements:Mn.value}),e.requirements=Mn.value,Un.value=!1,U.success("职位要求已更新")}catch(b){console.error("更新职位要求失败:",b),U.error("更新职位要求失败")}},Bn=W(!1),Nn=W(""),Ai=()=>{Nn.value=e.description||"",Bn.value=!0},wi=()=>{Bn.value=!1},Oi=async()=>{try{const b=o.query.id;await xt({id:b,description:Nn.value}),e.description=Nn.value,Bn.value=!1,U.success("职位描述已更新")}catch(b){console.error("更新职位描述失败:",b),U.error("更新职位描述失败")}},Nt=W([]),mo=W(!1),jn=W([]),Ti=async()=>{try{const b=await ja({page:1,pageSize:1e3});b&&b.data}catch(b){console.error("获取能力标签列表失败:",b),U.error("获取能力标签列表失败")}},Di=()=>{var b;jn.value=((b=e.competency_tags)==null?void 0:b.map(t=>t.id))||[],mo.value=!0},Pi=()=>{mo.value=!1},Ri=async()=>{try{const b=o.query.id;await xt({id:b,competency_tags:jn.value}),e.competency_tags=Nt.value.filter(t=>jn.value.includes(t.id)),mo.value=!1,U.success("能力标签已更新")}catch(b){console.error("更新能力标签失败:",b),U.error("更新能力标签失败")}},Vi=W(null),Ce=W(0),Ki=async b=>{if(b.name==="资料收集"){const t=await Sn(o.query.id);t&&t.data?(Ce.value=t.data.id,kr(k,t.data.profile_fields_config),ve.value=!0,S.value=!1):(ve.value=!0,S.value=!1);return}if(b.name==="AI视频"){const t=await Sn(o.query.id);pn.value=!0,Vi.value=b,A.value=!0,T.value=1;try{const F=await Tr({position_id:o.query.id});console.log("response2",F),t&&t.data&&(Ce.value=t.data.id),F&&F.data&&(F.data.forEach(C=>{C.selected=!1}),Nt.value=F.data)}catch(F){console.error("生成能力标签失败:",F),U.error("生成能力标签失败")}finally{pn.value=!1}Object.keys(O).forEach(F=>{O[F]=!1})}},ur=W(""),cr=W(""),fr=W(!1),at=qe({keepVideo:!1,interruptionMode:"",smartFollowUp:!1}),No=W([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),lt=W(No.value[0]),jo=W(""),Ui=b=>{lt.value=b,console.log("选中的面试官信息:",{id:b.id,name:b.name,avatar_url:b.avatar_url||b.image}),jo.value=b.avatar_url,U.success(`已选择面试官:${b.name}`)},Mi=async()=>{const b=I.value.filter(F=>F.source==="ai_generated"),t=I.value.filter(F=>F.source==="custom_selected");if(console.log("AI生成的题目:",b),console.log("自定义选择的题目:",t),b.length>0&&(await ka({draft_ids:b.map(F=>F.id)}),console.log("AI生成的题目已保存到草稿")),t.length>0){const F={position_id:o.query.id,question_id:{question_id:t},duration:60,tenant_id:1};console.log("自定义选择的题目需要调用专门的接口处理");const C=await Ga(F);C&&C.code===2e3?U.success("自定义选择的题目已保存"):U.error("自定义选择的题目保存失败")}},Fo=()=>{const b={keepVideo:at.keepVideo,interruptionMode:at.interruptionMode,smartFollowUp:at.smartFollowUp};return console.log("当前面试设置:",b),b},go=(b,t)=>{switch(console.log(`面试设置 ${b} 已更改为:`,t),b){case"keepVideo":console.log("回答视频保留设置:",t?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",t==="previous"?"从上一问重新作答":"从当前问题作答");break;case"smartFollowUp":console.log("智慧追问设置:",t?"开启":"关闭");break}},Bi=()=>{const b=Fo(),t={isValid:!0,messages:[]};return b.interruptionMode===""&&(t.isValid=!1,t.messages.push("请选择中断后作答限制模式")),t},Ni=b=>{c.value=!0,console.log("开始拖拽题目:",b)},ji=b=>{c.value=!1,console.log("拖拽结束:",b),console.log("当前题目顺序:",I.value),U.success("题目顺序已更新")},Fi=()=>({interviewer:{id:lt.value.id,name:lt.value.name,avatar_url:lt.value.avatar_url||lt.value.image},settings:Fo(),questionSettings:{enableScoreQuestions:ge.enableScoreQuestions,enableColorBlindQuestions:ge.enableColorBlindQuestions},abilities:P.value,questions:I.value,currentStep:T.value}),Li=async()=>{const b=await Qa({page:1,pageSize:1e3});b&&b.data&&(No.value=b.data)},vr=(b,t)=>{t?dn.value.push({name:b.name,description:b.description||"暂无描述"}):dn.value=dn.value.filter(F=>F.name!==b.name)},ki=b=>{Cr.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const t=P.value[b];P.value.splice(b,1),dn.value=dn.value.filter(C=>C.name!==t.label);const F=Nt.value.find(C=>C.name===t.label);F&&(F.selected=!1),U.success("胜任力标签已删除")}).catch(()=>{})},dn=W([]),Qi=b=>new Promise(t=>setTimeout(t,b));let jt=null;const Gi=async(b,t=30,F=2e3)=>{let C=0;jt={cancelled:!1};const _=jt;return new Promise((z,Re)=>{const de=async()=>{try{if(_.cancelled){console.log("轮询已被取消"),z(null);return}C++,console.log(`第${C}次轮询获取草稿列表...`);const xe=await La(b);if(_.cancelled){console.log("轮询已被取消"),z(null);return}if(xe&&xe.data&&xe.data.dataList&&xe.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),jt=null,z(xe);return}if(C>=t){console.log("轮询达到最大次数,停止轮询"),jt=null,z(xe);return}setTimeout(de,F)}catch(xe){if(console.error(`第${C}次轮询失败:`,xe),_.cancelled){console.log("轮询已被取消"),z(null);return}C<t?setTimeout(de,F):(jt=null,Re(xe))}};de()})},pr=()=>{jt&&(jt.cancelled=!0,jt=null,console.log("轮询已被手动取消"))},zi=()=>{pr(),Ae.value=!1,U.info("已取消AI自动组题")},$i=async b=>{var t;if(console.log("得分题开关状态:",b?"开启":"关闭"),b){const F=await Jn({page:1,limit:1e3,question_form:4,tenant_id:1});console.log(F),F&&F.data?wr({position_id:o.query.id,question_id:{question_id:F.data.items.map(C=>C.id)},tenant_id:1}).then(async C=>{var _;if(C.code===2e3){try{if(Ce.value>0)await tn({id:Ce.value,enable_psychological_test:!0}),console.log("配置中的enable_psychological_test字段已更新为true");else{const z=await en({position_id:o.query.id,enable_psychological_test:!0,tenant_id:1});z&&z.code===2e3&&(Ce.value=((_=z.data)==null?void 0:_.id)||z.data,console.log("配置创建成功,enable_psychological_test字段已设置为true"))}}catch(z){console.error("更新enable_psychological_test字段失败:",z)}U.success("得分题功能已开启")}else U.error("得分题功能开启失败")}):U.error("获取题目列表失败")}else try{const F=await Jn({page:1,limit:1e3,question_form:4,tenant_id:1});if(F&&F.data){if(await Or({position_id:o.query.id,question_id:F.data.items.map(C=>C.id),tenant_id:1}),Ce.value>0)await tn({id:Ce.value,enable_psychological_test:!1}),console.log("配置中的enable_psychological_test字段已更新为false");else{const C=await en({position_id:o.query.id,enable_psychological_test:!1,tenant_id:1});C&&C.code===2e3&&(Ce.value=((t=C.data)==null?void 0:t.id)||C.data,console.log("配置创建成功,enable_psychological_test字段已设置为false"))}U.info("得分题功能已关闭")}}catch(F){console.error("关闭得分题功能失败:",F),U.error("关闭得分题功能失败")}},Ji=async b=>{var t;if(console.log("色盲题开关状态:",b?"开启":"关闭"),b){const F=await Jn({page:1,limit:1e3,question_form:3,tenant_id:1});console.log(F),F&&F.data?wr({position_id:o.query.id,question_id:{question_id:F.data.items.map(C=>C.id)},tenant_id:1}).then(async C=>{var _;if(C.code===2e3){try{if(Ce.value>0)await tn({id:Ce.value,enable_color_blind_test:!0}),console.log("配置中的enable_color_blind_test字段已更新为true");else{const z=await en({position_id:o.query.id,enable_color_blind_test:!0,tenant_id:1});z&&z.code===2e3&&(Ce.value=((_=z.data)==null?void 0:_.id)||z.data,console.log("配置创建成功,enable_color_blind_test字段已设置为true"))}}catch(z){console.error("更新enable_color_blind_test字段失败:",z)}U.success("色盲题功能已开启")}else U.error("色盲题功能开启失败")}):U.error("获取色盲题目列表失败")}else try{const F=await Jn({page:1,limit:1e3,question_form:3,tenant_id:1});if(F&&F.data){if(await Or({position_id:o.query.id,question_id:F.data.items.map(C=>C.id),tenant_id:1}),Ce.value>0)await tn({id:Ce.value,enable_color_blind_test:!1}),console.log("配置中的enable_color_blind_test字段已更新为false");else{const C=await en({position_id:o.query.id,enable_color_blind_test:!1,tenant_id:1});C&&C.code===2e3&&(Ce.value=((t=C.data)==null?void 0:t.id)||C.data,console.log("配置创建成功,enable_color_blind_test字段已设置为false"))}U.info("色盲题功能已关闭")}}catch(F){console.error("关闭色盲题功能失败:",F),U.error("关闭色盲题功能失败")}},Fn=W(!1),Ln=W(""),mr=W([]),un=W([]),gr=W(0),yt=qe({page:1,pageSize:10,keyword:"",question_form:null}),ho=async()=>{try{const b={...yt,keyword:Ln.value,...yt.question_form!==null&&{question_form:yt.question_form}},t=await Jn(b);t&&t.data&&(mr.value=t.data.items,gr.value=t.data.total)}catch(b){console.error("获取题目列表失败:",b),U.error("获取题目列表失败")}},yo=()=>{yt.page=1,ho()},Wi=b=>{yt.pageSize=b,ho()},Hi=b=>{yt.page=b,ho()},Yi=b=>{un.value=b},Xi=()=>{Fn.value=!1,un.value=[],Ln.value=""},Zi=()=>{if(un.value.length===0){U.warning("请至少选择一个题目");return}console.log(un.value);const b=un.value.map(t=>({id:t.id||Date.now(),title:t.question||t.title,ability:t.ability||"未设置",content:t.content||t.question,target:t.target||"未设置",competency_tags:t.competency_tags||[],question_form_name:t.question_form_name,scoring_reference:t.scoring_reference,question_form:t.question_form,is_required_correct:t.is_required_correct,weight:100,maxAnswers:1,source:"custom_selected"}));I.value.push(...b),Fn.value=!1,un.value=[],Ln.value=""},k=qe({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}}},skills:{visible:!0,label:"专业技能",required:!0},training:{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}}}}),qi=async()=>{try{const b={position_id:o.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,require_basic_info:!0,profile_fields_config:{name:{required:k.name.required,visible:k.name.visible},phone:{required:k.phone.required,visible:k.phone.visible},id_card:{required:k.id_card.required,visible:k.id_card.visible},gender:{required:k.gender.required,visible:k.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:k.ethnicity.required,visible:k.ethnicity.visible},height:{required:k.height.required,visible:k.height.visible},weight:{required:k.weight.required,visible:k.weight.visible},marital_status:{required:k.marital_status.required,visible:k.marital_status.visible}},require_education_info:k.education.visible,education_fields_config:{school_name:{required:k.education.fields.school_name.required,visible:k.education.fields.school_name.visible},major:{required:k.education.fields.major.required,visible:k.education.fields.major.visible},degree:{required:k.education.fields.degree.required,visible:k.education.fields.degree.visible},start_date:{required:k.education.fields.start_time.required,visible:k.education.fields.start_time.visible},end_date:{required:k.education.fields.end_time.required,visible:k.education.fields.end_time.visible}},require_work_experience:k.work_experience.visible,work_experience_fields_config:{company_name:{required:k.work_experience.fields.company_name.required,visible:k.work_experience.fields.company_name.visible},position:{required:k.work_experience.fields.position.required,visible:k.work_experience.fields.position.visible},department:{required:k.work_experience.fields.department.required,visible:k.work_experience.fields.department.visible},start_date:{required:k.work_experience.fields.start_time.required,visible:k.work_experience.fields.start_time.visible},end_date:{required:k.work_experience.fields.end_time.required,visible:k.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:k.family_member.visible,family_fields_config:{relation:{required:k.family_member.fields.relation.required,visible:k.family_member.fields.relation.visible},name:{required:k.family_member.fields.name.required,visible:k.family_member.fields.name.visible},workplace:{required:k.family_member.fields.workplace_address.required,visible:k.family_member.fields.workplace_address.visible},position:{required:k.family_member.fields.position.required,visible:k.family_member.fields.position.visible},phone:{required:k.family_member.fields.phone.required,visible:k.family_member.fields.phone.visible}},require_training_info:!1,training_fields_config:{training_name:{required:!0,visible:!0},institution:{required:!0,visible:!0},start_date:{required:!0,visible:!0},end_date:{required:!1,visible:!0},certificate:{required:!1,visible:!0}},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};Ce.value==0||(b.id=Ce.value),Ce.value==0?(await en(b)).code==2e3?(U.success("配置保存成功"),ve.value=!1,S.value=!1):U.error("配置保存失败"):(await tn(b)).code==2e3?(U.success("配置保存成功"),ve.value=!1,S.value=!1):U.error("配置保存失败")}catch(b){console.error("保存配置失败:",b),U.error("配置保存失败")}},_i=()=>({name:k.name,gender:k.gender,three_period:k.three_period,phone:k.phone,id_card:k.id_card,ethnicity:k.ethnicity,height:k.height,weight:k.weight,current_address:k.current_address,household_location:k.household_location,marital_status:k.marital_status,expected_salary:k.expected_salary}),ea=()=>({skills:k.skills,training:k.training}),kn=W(!1),ut=qe({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),cn=W(!1),Qn=W(!1),Gn=W(!1),Qt=W(""),fn=W(""),vn=W(""),ta=()=>{kn.value=!1,cn.value=!1,Qn.value=!1,Gn.value=!1,Object.assign(ut,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},na=()=>{console.log("保存面试设置:",ut),U.success("面试设置已保存"),kn.value=!1},oa=()=>{Sn(o.query.id).then(b=>{kn.value=!0,Ce.value=b.data.id,ut.beforeStartText=b.data.digital_human_opening_speech})},ra=()=>{Qt.value=ut.beforeStartText,cn.value=!0},ia=()=>{cn.value=!1,Qt.value=""},aa=async()=>{var b;if(!Qt.value.trim()){U.warning("开始前提示内容不能为空");return}ut.beforeStartText=Qt.value.trim();try{let t;if(console.log(Ce.value),Ce.value==0)t=await en({position_id:o.query.id,digital_human_opening_speech:Qt.value.trim()}),t.code===2e3?(Ce.value=((b=t.data)==null?void 0:b.id)||t.data,U.success("开始前提示内容已创建"),cn.value=!1):U.error("开始前提示内容创建失败");else if(t=await tn({id:Ce.value,digital_human_opening_speech:Qt.value.trim()}),t.code===2e3){U.success("开始前提示内容已更新"),cn.value=!1;try{const F={config_id:Ce.value};await Go(F),console.log("开场白生成成功")}catch(F){console.error("获取开场白失败:",F),U.warning("开场白生成中,请稍后")}}else U.error("开始前提示内容更新失败")}catch(t){console.error("保存开始前提示内容失败:",t),U.error("保存失败,请重试")}},la=()=>{fn.value=ut.afterStartText,Qn.value=!0},sa=()=>{Qn.value=!1,fn.value=""},da=()=>{if(!fn.value.trim()){U.warning("开始后提醒内容不能为空");return}ut.afterStartText=fn.value.trim(),Qn.value=!1,U.success("开始后提醒内容已更新")},ua=()=>{vn.value=ut.disclaimerText,Gn.value=!0},ca=()=>{Gn.value=!1,vn.value=""},fa=()=>{if(!vn.value.trim()){U.warning("免责声明内容不能为空");return}ut.disclaimerText=vn.value.trim(),Gn.value=!1,U.success("免责声明内容已更新")},_t=qe({openQuestionsCount:5,choiceQuestionsCount:10}),hr=()=>{console.log("题目数量已更新:",_t)},va=async()=>{try{Ae.value=!0;const b=dn.value.map(C=>{const _=Nt.value.find(z=>z.name===C.name);return _?_.id:null}).filter(C=>C!==null);if(b.length===0){U.warning("请先选择能力标签");return}const t={position_id:o.query.id,competency_tag_ids:b,open_questions_count:_t.openQuestionsCount,choice_questions_count:_t.choiceQuestionsCount,auto_save:!0,tenant_id:1},F=await Fa(t);if(F&&F.data){const C=await Gi({tenant_id:1,position_id:o.query.id});if(console.log(C),C===null){console.log("轮询被取消,停止处理");return}if(C&&C.data&&C.data.dataList){const _=C.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_tags||[],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,source:"ai_generated"}));I.value=_,U.success(`已成功生成${_.length}个面试题目`)}else U.warning("AI生成题目中,请稍后再试")}}catch(b){console.error("AI自动组题失败:",b),U.error("AI自动组题失败,请重试")}finally{Ae.value=!1}},pa=b=>{R.competencyTags=b,b.length===1&&(R.weight=100)},ma=()=>R.competencyTags.length===0?(U.warning("请至少选择一个胜任力标签"),!1):R.weight<=0||R.weight>100?(U.warning("权重必须在1-100之间"),!1):R.level<1||R.level>5?(U.warning("级别必须在1-5之间"),!1):!0,ga=b=>{switch(R.type=b,b){case"open":R.suggestedDuration=120;break;case"single":case"multiple":R.suggestedDuration=60;break;case"fill":R.suggestedDuration=30;break;case"self":R.suggestedDuration=180;break;default:R.suggestedDuration=60}},pn=W(!1);return(b,t)=>{const F=Be("page-header"),C=Be("el-button"),_=Be("el-icon"),z=Be("el-input"),Re=Be("el-cascader"),de=Be("el-option"),xe=Be("el-select"),mn=Be("el-tag"),ha=Be("el-date-picker"),zn=Be("el-card"),nt=Be("el-switch"),Gt=Be("el-dialog"),gn=Be("el-checkbox"),hn=Be("el-input-number"),yn=Be("el-radio"),yr=Be("el-upload"),br=Be("el-radio-group"),Lo=Be("el-table-column"),ya=Be("el-table"),ba=Be("el-pagination"),$n=Be("el-tooltip"),zt=Be("el-col"),$t=Be("el-row"),Sr=Aa("loading");return j(),H("div",Pl,[d("div",Rl,[p(F,{title:"测试",onBack:it}),d("div",Vl,[p(C,{type:"primary",onClick:Ze},{default:E(()=>t[76]||(t[76]=[B("保存")])),_:1}),p(C,{onClick:wt},{default:E(()=>t[77]||(t[77]=[B("分享职位")])),_:1})])]),d("div",Kl,[p(zn,{class:"detail-card"},{default:E(()=>[t[109]||(t[109]=d("div",{class:"section-title"},[d("div",{class:"section-line"}),d("span",null,"职位详情")],-1)),d("div",Ul,[t[80]||(t[80]=d("div",{class:"detail-label"},"职位名称",-1)),lo.value?(j(),H("div",Bl,[p(z,{modelValue:sn.value,"onUpdate:modelValue":t[0]||(t[0]=m=>sn.value=m),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),d("div",Nl,[p(C,{size:"small",onClick:ni},{default:E(()=>t[78]||(t[78]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:oi},{default:E(()=>t[79]||(t[79]=[B("保存")])),_:1})])])):(j(),H("div",Ml,[B(ie(e.title)+" ",1),p(C,{type:"text",class:"edit-title-btn",onClick:ti},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))]),d("div",jl,[t[83]||(t[83]=d("div",{class:"detail-label"},"工作地点",-1)),so.value?(j(),H("div",Ll,[p(Re,{modelValue:Bt.value,"onUpdate:modelValue":t[1]||(t[1]=m=>Bt.value=m),options:Ee(f),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:g},null,8,["modelValue","options"]),d("div",kl,[p(C,{size:"small",onClick:ii},{default:E(()=>t[81]||(t[81]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:ai},{default:E(()=>t[82]||(t[82]=[B("保存")])),_:1})])])):(j(),H("div",Fl,[B(ie((()=>{if(!e.location)return"暂无";if(Array.isArray(e.location))return e.location.join(",");if(typeof e.location=="string")try{return e.location.replace(/[\[\]']/g,"").split(",").map(ue=>ue.trim()).join(",")}catch{return e.location}return e.location})())+" ",1),p(C,{type:"text",class:"edit-title-btn",onClick:ri},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))]),d("div",Ql,[t[86]||(t[86]=d("div",{class:"detail-label"},"职位薪资",-1)),uo.value?(j(),H("div",zl,[p(z,{modelValue:Dn.value,"onUpdate:modelValue":t[2]||(t[2]=m=>Dn.value=m),placeholder:"请输入职位薪资",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),d("div",$l,[p(C,{size:"small",onClick:si},{default:E(()=>t[84]||(t[84]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:di},{default:E(()=>t[85]||(t[85]=[B("保存")])),_:1})])])):(j(),H("div",Gl,[B(ie(e.salary_range||"暂无")+" ",1),p(C,{type:"text",class:"edit-title-btn",onClick:li},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))]),d("div",Jl,[t[89]||(t[89]=d("div",{class:"detail-label"},"工作经验",-1)),co.value?(j(),H("div",Hl,[p(xe,{modelValue:Pn.value,"onUpdate:modelValue":t[3]||(t[3]=m=>Pn.value=m),placeholder:"请选择工作经验",style:{width:"100%"}},{default:E(()=>[p(de,{label:"不限",value:"不限"}),p(de,{label:"应届毕业生",value:"应届毕业生"}),p(de,{label:"1年以下",value:"1年以下"}),p(de,{label:"1-3年",value:"1-3年"}),p(de,{label:"3-5年",value:"3-5年"}),p(de,{label:"5-10年",value:"5-10年"}),p(de,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),d("div",Yl,[p(C,{size:"small",onClick:ci},{default:E(()=>t[87]||(t[87]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:fi},{default:E(()=>t[88]||(t[88]=[B("保存")])),_:1})])])):(j(),H("div",Wl,[B(ie(e.work_experience_required||"暂无")+" ",1),p(C,{type:"text",class:"edit-title-btn",onClick:ui},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))]),d("div",Xl,[t[92]||(t[92]=d("div",{class:"detail-label"},"学历要求",-1)),fo.value?(j(),H("div",ql,[p(xe,{modelValue:Rn.value,"onUpdate:modelValue":t[4]||(t[4]=m=>Rn.value=m),placeholder:"请选择学历要求",style:{width:"100%"}},{default:E(()=>[p(de,{label:"不限",value:"不限"}),p(de,{label:"高中",value:"高中"}),p(de,{label:"大专",value:"大专"}),p(de,{label:"本科",value:"本科"}),p(de,{label:"硕士",value:"硕士"}),p(de,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),d("div",_l,[p(C,{size:"small",onClick:pi},{default:E(()=>t[90]||(t[90]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:mi},{default:E(()=>t[91]||(t[91]=[B("保存")])),_:1})])])):(j(),H("div",Zl,[B(ie(e.education_required||"暂无")+" ",1),p(C,{type:"text",class:"edit-title-btn",onClick:vi},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))]),d("div",es,[t[95]||(t[95]=d("div",{class:"detail-label"},"所属部门",-1)),vo.value?(j(),H("div",ns,[p(z,{modelValue:Vn.value,"onUpdate:modelValue":t[5]||(t[5]=m=>Vn.value=m),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),d("div",os,[p(C,{size:"small",onClick:hi},{default:E(()=>t[93]||(t[93]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:yi},{default:E(()=>t[94]||(t[94]=[B("保存")])),_:1})])])):(j(),H("div",ts,[B(ie(e.department||"暂无")+" ",1),p(C,{type:"text",class:"edit-title-btn",onClick:gi},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))]),d("div",rs,[t[96]||(t[96]=d("div",{class:"detail-label"},"职位状态",-1)),d("div",is,[p(mn,{type:ln(e.status)},{default:E(()=>[B(ie(ht(e.status)),1)]),_:1},8,["type"])])]),d("div",as,[t[99]||(t[99]=d("div",{class:"detail-label"},"截止日期",-1)),po.value?(j(),H("div",ss,[p(ha,{modelValue:Kn.value,"onUpdate:modelValue":t[6]||(t[6]=m=>Kn.value=m),type:"date",placeholder:"请选择截止日期",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",style:{width:"100%"}},null,8,["modelValue"]),d("div",ds,[p(C,{size:"small",onClick:Si},{default:E(()=>t[97]||(t[97]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:Ei},{default:E(()=>t[98]||(t[98]=[B("保存")])),_:1})])])):(j(),H("div",ls,[B(ie(e.end_date||"暂无")+" ",1),p(C,{type:"text",class:"edit-title-btn",onClick:bi},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))]),d("div",us,[t[102]||(t[102]=d("div",{class:"detail-label"},"职位要求",-1)),Un.value?Xe("",!0):(j(),H("div",{key:0,class:"detail-value html-content",innerHTML:e.requirements},null,8,cs)),Un.value?(j(),H("div",fs,[p(z,{modelValue:Mn.value,"onUpdate:modelValue":t[7]||(t[7]=m=>Mn.value=m),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),d("div",vs,[p(C,{size:"small",onClick:Ii},{default:E(()=>t[100]||(t[100]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:Ci},{default:E(()=>t[101]||(t[101]=[B("保存")])),_:1})])])):(j(),Te(C,{key:1,type:"text",class:"edit-title-btn",onClick:xi},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1}))]),t[110]||(t[110]=d("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),d("div",ps,[t[105]||(t[105]=d("div",{class:"detail-label"},"职位描述",-1)),Bn.value?Xe("",!0):(j(),H("div",{key:0,class:"detail-value html-content",innerHTML:e.description},null,8,ms)),Bn.value?(j(),H("div",gs,[p(z,{modelValue:Nn.value,"onUpdate:modelValue":t[8]||(t[8]=m=>Nn.value=m),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),d("div",hs,[p(C,{size:"small",onClick:wi},{default:E(()=>t[103]||(t[103]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:Oi},{default:E(()=>t[104]||(t[104]=[B("保存")])),_:1})])])):(j(),Te(C,{key:1,type:"text",class:"edit-title-btn",onClick:Ai},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1}))]),d("div",ys,[t[108]||(t[108]=d("div",{class:"detail-label"},"能力标签",-1)),mo.value?(j(),H("div",Ss,[p(xe,{modelValue:jn.value,"onUpdate:modelValue":t[9]||(t[9]=m=>jn.value=m),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:E(()=>[(j(!0),H(We,null,He(Nt.value,m=>(j(),Te(de,{key:m.id,label:m.name,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),d("div",Es,[p(C,{size:"small",onClick:Pi},{default:E(()=>t[106]||(t[106]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:Ri},{default:E(()=>t[107]||(t[107]=[B("保存")])),_:1})])])):(j(),H("div",bs,[(j(!0),H(We,null,He(e.competency_tags,m=>(j(),Te(mn,{key:m.id,effect:"plain",class:"competency-tag"},{default:E(()=>[B(ie(m.name),1)]),_:2},1024))),128)),p(C,{type:"text",class:"edit-title-btn",onClick:Di},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))])]),_:1}),d("div",xs,[p(zn,{class:"status-card"},{default:E(()=>[t[111]||(t[111]=d("div",{class:"section-title"},[d("div",{class:"section-line"}),d("span",null,"职位状态")],-1)),d("div",Is,[p(nt,{modelValue:n.value,"onUpdate:modelValue":t[10]||(t[10]=m=>n.value=m),"inactive-text":"",onChange:Vt},null,8,["modelValue"]),d("span",Cs,ie(n.value?"开启职位":"关闭职位"),1)])]),_:1}),p(zn,{class:"status-card"},{default:E(()=>[d("div",As,[t[113]||(t[113]=d("div",{class:"section-line"},null,-1)),t[114]||(t[114]=d("span",null,"职位性质",-1)),p(C,{type:"text",class:"edit-btn",onClick:Ot},{default:E(()=>t[112]||(t[112]=[B("编辑")])),_:1})]),t[115]||(t[115]=d("div",{class:"usage-content"},[d("div",{class:"usage-label"},"职位用途"),d("div",{class:"usage-value"},"正式招聘")],-1))]),_:1}),p(zn,{class:"status-card"},{default:E(()=>[d("div",ws,[t[117]||(t[117]=d("div",{class:"section-line"},null,-1)),t[118]||(t[118]=d("span",null,"招聘流程",-1)),p(C,{type:"text",class:"edit-btn",onClick:ze},{default:E(()=>t[116]||(t[116]=[B("设置流程")])),_:1})]),d("div",Os,[(j(!0),H(We,null,He(i,(m,ue)=>(j(),H("div",{key:m.id,class:bt(["process-step",{disabled:!m.active}])},[d("div",Ts,ie(ue+1),1),d("div",Ds,[d("div",Ps,ie(m.name),1)])],2))),128))])]),_:1}),p(zn,{class:"status-card"},{default:E(()=>[d("div",Rs,[t[120]||(t[120]=d("div",{class:"section-line"},null,-1)),t[121]||(t[121]=d("span",null,"面试设置",-1)),p(C,{type:"text",class:"edit-btn",onClick:oa},{default:E(()=>t[119]||(t[119]=[B("编辑")])),_:1})])]),_:1})])]),p(Gt,{title:"设置招聘流程",modelValue:l.value,"onUpdate:modelValue":t[12]||(t[12]=m=>l.value=m),width:"500px","close-on-click-modal":!1},{footer:E(()=>[d("span",Fs,[p(C,{onClick:Kt},{default:E(()=>t[125]||(t[125]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:$e},{default:E(()=>t[126]||(t[126]=[B("确定")])),_:1})])]),default:E(()=>[d("div",Vs,[(j(!0),H(We,null,He(i,(m,ue)=>(j(),H("div",{key:m.id},[(j(),H("div",Ks)),d("div",{class:bt(["process-edit-item",{highlight:m.active}])},[d("div",Us,ie(ue+1),1),d("div",Ms,[d("div",null,ie(m.name),1),d("div",Bs,ie(m.description),1)]),d("div",Ns,[p(C,{type:"info",size:"small",plain:"",onClick:Je=>Ki(m)},{default:E(()=>t[122]||(t[122]=[B(" 修改 ")])),_:2},1032,["onClick"]),p(C,{type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Je=>gt(ue)},{default:E(()=>t[123]||(t[123]=[B(" 删除 ")])),_:2},1032,["onClick"])])],2)]))),128)),t[124]||(t[124]=d("div",{class:"add-process-btn"},null,-1))]),S.value?(j(),H("div",{key:0,class:"process-options-menu",style:Oa({top:x.top,left:x.left}),onClick:t[11]||(t[11]=wa(()=>{},["stop"]))},[(j(),H(We,null,He(u,m=>d("div",{key:m.value,class:"process-option-item",onClick:ue=>On(m.value,m.label)},ie(m.label),9,js)),64))],4)):Xe("",!0)]),_:1},8,["modelValue"]),p(Ee(ko),{title:"AI视频",modelValue:A.value,"onUpdate:modelValue":t[33]||(t[33]=m=>A.value=m),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:E(()=>[d("div",tu,[T.value>1?(j(),Te(C,{key:0,size:"small",onClick:Tt},{default:E(()=>t[167]||(t[167]=[B("上一步")])),_:1})):Xe("",!0),p(C,{onClick:Yt,size:"small"},{default:E(()=>t[168]||(t[168]=[B("取消")])),_:1}),T.value<3?(j(),Te(C,{key:1,type:"primary",size:"small",onClick:vt,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:E(()=>t[169]||(t[169]=[B("下一步")])),_:1})):(j(),Te(C,{key:2,type:"success",onClick:Ut,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:E(()=>t[170]||(t[170]=[B("新增")])),_:1}))])]),default:E(()=>[d("div",Ls,[d("div",{class:bt(["step-item",{active:T.value===1}]),onClick:t[13]||(t[13]=m=>Mt(1))},[t[127]||(t[127]=d("div",{class:"step-number"},"1",-1)),d("div",{class:bt(["step-title",{"active-title":T.value===1}])},"考察能力",2)],2),d("div",{class:bt(["step-line",{"active-line":T.value>=2}])},null,2),d("div",{class:bt(["step-item",{active:T.value===2}]),onClick:t[14]||(t[14]=m=>Mt(2))},[t[128]||(t[128]=d("div",{class:"step-number"},"2",-1)),d("div",{class:bt(["step-title",{"active-title":T.value===2}])},"面试题目",2)],2),d("div",{class:bt(["step-line",{"active-line":T.value>=3}])},null,2),d("div",{class:bt(["step-item",{active:T.value===3}]),onClick:t[15]||(t[15]=m=>Mt(3))},[t[129]||(t[129]=d("div",{class:"step-number"},"3",-1)),d("div",{class:bt(["step-title",{"active-title":T.value===3}])},"系统设置",2)],2)]),T.value===1?Er((j(),H("div",ks,[d("div",Qs,[d("div",Gs,[t[131]||(t[131]=d("div",{class:"ai-video-options-header-title"},[d("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的新智能能力加入到该职位的考察能力列表中。")],-1)),d("div",zs,[p(C,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:v},{default:E(()=>t[130]||(t[130]=[B("重新生成")])),_:1})])]),d("div",$s,[d("div",Js,[(j(!0),H(We,null,He(Nt.value.slice(0,10),m=>(j(),Te(gn,{key:m.id,modelValue:m.selected,"onUpdate:modelValue":ue=>m.selected=ue,onChange:ue=>vr(m,ue),class:"custom-checkbox"},{default:E(()=>[d("div",Ws,[d("span",null,ie(m.name),1),t[132]||(t[132]=d("img",{src:Qo,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),d("div",Hs,[t[134]||(t[134]=d("h3",{style:{color:"#808080"}},"备选考核维度",-1)),d("div",Ys,[(j(!0),H(We,null,He(Nt.value.slice(10,20),m=>(j(),Te(gn,{key:m.id,modelValue:m.selected,"onUpdate:modelValue":ue=>m.selected=ue,onChange:ue=>vr(m,ue),class:"custom-checkbox"},{default:E(()=>[d("div",Xs,[d("span",null,ie(m.name),1),t[133]||(t[133]=d("img",{src:Qo,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),d("div",Zs,[t[137]||(t[137]=d("h3",{style:{color:"#808080"}},"自定义维度",-1)),d("div",qs,[d("div",_s,[d("div",ed,[p(z,{style:{width:"150px"},modelValue:ur.value,"onUpdate:modelValue":t[16]||(t[16]=m=>ur.value=m),placeholder:"请输入维度名称"},null,8,["modelValue"])]),d("div",td,[t[135]||(t[135]=d("div",{class:"input-label"},"特征描述:",-1)),p(z,{modelValue:cr.value,"onUpdate:modelValue":t[17]||(t[17]=m=>cr.value=m),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),d("div",nd,[p(gn,{modelValue:fr.value,"onUpdate:modelValue":t[18]||(t[18]=m=>fr.value=m),class:"custom-checkbox"},{default:E(()=>t[136]||(t[136]=[d("div",{class:"ability-label"},[d("span",null,"继续新增")],-1)])),_:1},8,["modelValue"])])])])])])),[[Sr,pn.value]]):Xe("",!0),T.value===2?(j(),H("div",od,[d("div",rd,[d("div",id,[d("div",ad,[p(C,{plain:"",class:"custom-btn",onClick:N},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(bn))]),_:1}),t[138]||(t[138]=B(" 自定义题目 "))]),_:1}),p(C,{plain:"",class:"custom-btn"},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(xr))]),_:1}),t[139]||(t[139]=B(" 导入题目 "))]),_:1}),d("div",ld,[d("div",sd,[t[140]||(t[140]=d("span",{class:"switch-label"},"开放题数量",-1)),p(hn,{modelValue:_t.openQuestionsCount,"onUpdate:modelValue":t[19]||(t[19]=m=>_t.openQuestionsCount=m),min:1,max:20,size:"small",onChange:hr},null,8,["modelValue"])]),d("div",dd,[t[141]||(t[141]=d("span",{class:"switch-label"},"选择题数量",-1)),p(hn,{modelValue:_t.choiceQuestionsCount,"onUpdate:modelValue":t[20]||(t[20]=m=>_t.choiceQuestionsCount=m),min:1,max:20,size:"small",onChange:hr},null,8,["modelValue"])]),d("div",ud,[t[142]||(t[142]=d("span",{class:"switch-label"},"得分题",-1)),p(nt,{style:{"margin-top":"0px"},modelValue:ge.enableScoreQuestions,"onUpdate:modelValue":t[21]||(t[21]=m=>ge.enableScoreQuestions=m),onChange:$i},null,8,["modelValue"])]),d("div",cd,[t[143]||(t[143]=d("span",{class:"switch-label"},"色盲题",-1)),p(nt,{style:{"margin-top":"0px"},modelValue:ge.enableColorBlindQuestions,"onUpdate:modelValue":t[22]||(t[22]=m=>ge.enableColorBlindQuestions=m),onChange:Ji},null,8,["modelValue"])])])]),t[144]||(t[144]=d("div",{class:"interview-duration"},[d("span",null,"预计面试时长: "),d("span",{class:"duration-value"},"0秒"),d("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序")],-1))]),d("div",fd,[Er((j(),H("div",vd,[I.value.length===0?(j(),H("div",pd,[t[147]||(t[147]=d("p",null,"暂无题目",-1)),t[148]||(t[148]=d("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),t[149]||(t[149]=d("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),p(C,{type:"success",class:"auto-generate-btn",loading:Ae.value,onClick:va},{default:E(()=>t[145]||(t[145]=[B(" AI自动组题 ")])),_:1},8,["loading"]),Ae.value&&Ee(jt)?(j(),Te(C,{key:0,type:"warning",plain:"",size:"small",onClick:zi,style:{"margin-left":"10px"}},{default:E(()=>t[146]||(t[146]=[B(" 取消生成 ")])),_:1})):Xe("",!0)])):(j(),H("div",md,[p(Ee(Lr),{modelValue:I.value,"onUpdate:modelValue":t[23]||(t[23]=m=>I.value=m),"item-key":"id",handle:".drag-handle",onStart:Ni,onEnd:ji,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:E(({element:m})=>[d("div",gd,[t[153]||(t[153]=d("div",{class:"drag-handle"},[d("img",{src:Na,alt:"",class:"dorp"})],-1)),d("div",hd,[d("div",yd,[d("div",bd,[d("div",Sd,[d("span",Ed,"题目"+ie(I.value.indexOf(m)+1),1),d("span",null,[d("span",xd,ie("「"+m.question_form_name+"」"),1),B(ie(m.title),1)])]),d("div",Id,[(j(!0),H(We,null,He((m.competency_tags||[]).slice(0,2),(ue,Je)=>(j(),Te(mn,{key:ue.id,effect:"plain",class:"competency-tag",size:"small"},{default:E(()=>[B(ie(ue.name),1)]),_:2},1024))),128)),(m.competency_tags||[]).length>2?(j(),H("span",Cd," +"+ie((m.competency_tags||[]).length-2),1)):Xe("",!0)])])]),d("div",Ad,[p(C,{type:"text",onClick:ue=>Z(I.value.indexOf(m))},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:2},1032,["onClick"]),p(C,{type:"text",onClick:ue=>re(I.value.indexOf(m))},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(Ir))]),_:1})]),_:2},1032,["onClick"])])]),d("div",wd,[d("div",Od,[d("span",null,ie(m.scoring_reference),1)])]),m.question_form==0?(j(),H("div",Td,[d("div",Dd,[p(nt,{style:{"margin-top":"0px"},modelValue:m.enable_follow_up,"onUpdate:modelValue":ue=>m.enable_follow_up=ue,onChange:M},null,8,["modelValue","onUpdate:modelValue"]),t[150]||(t[150]=d("span",{class:"answer-label"},"回答不充分追问",-1))]),d("div",Pd,[t[151]||(t[151]=d("span",{class:"answer-label"},"追问轮数",-1)),p(xe,{modelValue:m.maxAnswers,"onUpdate:modelValue":ue=>m.maxAnswers=ue,size:"small",placeholder:"请选择"},{default:E(()=>[p(de,{label:"1次",value:1}),p(de,{label:"2次",value:2}),p(de,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Xe("",!0),m.question_form==1?(j(),H("div",Rd,[d("div",Vd,[t[152]||(t[152]=d("span",{class:"answer-label"},"是否为红线题:",-1)),p(xe,{modelValue:m.is_required_correct,"onUpdate:modelValue":ue=>m.is_required_correct=ue,onChange:ue=>h(m.id,m.is_required_correct),size:"small",placeholder:"请选择"},{default:E(()=>[p(de,{label:"是",value:!0}),p(de,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):Xe("",!0)])]),_:1},8,["modelValue"])]))])),[[Sr,Ae.value]]),d("div",Kd,[t[156]||(t[156]=d("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),d("div",Ud,[(j(!0),H(We,null,He(P.value,(m,ue)=>(j(),H("div",{key:m.value,class:"dimension-item"},[d("div",Md,[d("div",Bd,[d("span",Nd,ie(m.label),1),t[154]||(t[154]=d("img",{src:Qo,alt:"",class:"sheng"},null,-1))])]),d("div",{class:"dimension-content",onClick:Je=>ki(ue),title:"点击删除此胜任力标签"},t[155]||(t[155]=[d("div",{class:"ability-description"},ie("—"),-1)]),8,jd)]))),128))])])])])])):Xe("",!0),T.value===3?(j(),H("div",Fd,[d("div",Ld,[d("div",kd,[t[166]||(t[166]=d("div",{class:"section-header"},"请选择面试官形象",-1)),d("div",Qd,[d("div",Gd,[jo.value?(j(),H("img",{key:0,src:jo.value,alt:"",style:{width:"100%",height:"100%"}},null,8,zd)):Xe("",!0)]),d("div",null,[d("div",$d,[(j(!0),H(We,null,He(No.value,m=>(j(),H("div",{key:m.id,class:bt(["avatar-item",{active:lt.value.id===m.id}]),onClick:ue=>Ui(m)},[d("div",Wd,[d("div",{class:bt(["avatar-circle",{selected:lt.value.id===m.id}])},[d("img",{src:m.avatar_url||m.image,alt:m.name},null,8,Hd)],2),d("div",{class:"avatar-name",title:m.name},ie(m.name),9,Yd)])],10,Jd))),128))]),d("div",null,[t[157]||(t[157]=B("追问风格: ")),p(xe,{modelValue:at.interruptionMode,"onUpdate:modelValue":t[24]||(t[24]=m=>at.interruptionMode=m),placeholder:"请选择"},{default:E(()=>[p(de,{label:"温和",value:"1"}),p(de,{label:"严厉",value:"2"}),p(de,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])])])]),d("div",Xd,[d("div",Zd,[t[158]||(t[158]=d("div",{class:"setting-label"},"「回答视频保留」",-1)),t[159]||(t[159]=d("div",{class:"setting-desc"},"选取后,将在报告中展示候选人的回答视频",-1)),p(nt,{modelValue:at.keepVideo,"onUpdate:modelValue":t[25]||(t[25]=m=>at.keepVideo=m),onChange:t[26]||(t[26]=m=>go("keepVideo",m))},null,8,["modelValue"])]),d("div",qd,[t[162]||(t[162]=d("div",{class:"setting-label"},"「中断后作答限制」",-1)),d("div",_d,[p(yn,{modelValue:at.interruptionMode,"onUpdate:modelValue":t[27]||(t[27]=m=>at.interruptionMode=m),label:"current",onChange:t[28]||(t[28]=m=>go("interruptionMode",at.interruptionMode))},{default:E(()=>t[160]||(t[160]=[B(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),p(yn,{modelValue:at.interruptionMode,"onUpdate:modelValue":t[29]||(t[29]=m=>at.interruptionMode=m),label:"previous",onChange:t[30]||(t[30]=m=>go("interruptionMode",at.interruptionMode))},{default:E(()=>t[161]||(t[161]=[B(" 从头作答 ")])),_:1},8,["modelValue"])]),t[163]||(t[163]=d("div",{class:"setting-desc"},null,-1))]),d("div",eu,[t[164]||(t[164]=d("div",{class:"setting-label"},"「智慧追问」",-1)),t[165]||(t[165]=d("div",{class:"setting-desc"},"* 追问将结合候选人资料情况,综合分析发问",-1)),p(nt,{modelValue:at.smartFollowUp,"onUpdate:modelValue":t[31]||(t[31]=m=>at.smartFollowUp=m),onChange:t[32]||(t[32]=m=>go("smartFollowUp",m))},null,8,["modelValue"])])])])])])):Xe("",!0)]),_:1},8,["modelValue"]),p(Gt,{title:"新增视频宣讲",modelValue:V.value,"onUpdate:modelValue":t[36]||(t[36]=m=>V.value=m),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:E(()=>[d("span",lu,[p(C,{onClick:kt},{default:E(()=>t[177]||(t[177]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:Zt},{default:E(()=>t[178]||(t[178]=[B("确认")])),_:1})])]),default:E(()=>[d("div",nu,[d("div",ou,[t[172]||(t[172]=d("div",{class:"form-label"},"上传视频",-1)),p(yr,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:E(()=>[d("div",ru,[p(_,null,{default:E(()=>[p(Ee(bn))]),_:1}),t[171]||(t[171]=d("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),d("div",iu,[t[173]||(t[173]=d("div",{class:"form-label"},"视频简介",-1)),p(z,{modelValue:J.description,"onUpdate:modelValue":t[34]||(t[34]=m=>J.description=m),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])]),d("div",au,[t[176]||(t[176]=d("div",{class:"form-label"},"播放设置",-1)),p(br,{modelValue:J.broadcastType,"onUpdate:modelValue":t[35]||(t[35]=m=>J.broadcastType=m)},{default:E(()=>[p(yn,{label:"required"},{default:E(()=>t[174]||(t[174]=[B("必须看完")])),_:1}),p(yn,{label:"optional"},{default:E(()=>t[175]||(t[175]=[B("看过即可")])),_:1})]),_:1},8,["modelValue"])])])]),_:1},8,["modelValue"]),p(Ee(ko),{title:"AI实时对话",modelValue:Y.value,"onUpdate:modelValue":t[38]||(t[38]=m=>Y.value=m),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:E(()=>[d("div",Au,[p(C,{onClick:w},{default:E(()=>t[189]||(t[189]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:qt},{default:E(()=>t[190]||(t[190]=[B("确认")])),_:1})])]),default:E(()=>[d("div",su,[d("div",du,[t[188]||(t[188]=d("div",{class:"section-title"},[d("div",{class:"section-line"}),d("span",null,"对话设置")],-1)),d("div",uu,[p(C,{type:"primary",plain:"",onClick:D},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(bn))]),_:1}),t[179]||(t[179]=B(" 添加问题 "))]),_:1}),p(C,{type:"success",plain:"",onClick:N},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(xr))]),_:1}),t[180]||(t[180]=B(" 导入问题 "))]),_:1})]),d("div",cu,[I.value.length===0?(j(),H("div",fu,t[181]||(t[181]=[d("p",null,"暂无问题",-1),d("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(j(),H("div",vu,[p(Ee(Lr),{modelValue:I.value,"onUpdate:modelValue":t[37]||(t[37]=m=>I.value=m),"item-key":"id",handle:".drag-handle"},{item:E(({element:m,index:ue})=>[B(ie(m)+" ",1),d("div",pu,[d("div",mu,[d("div",gu,[d("span",hu,"题目"+ie(ue+1),1),d("span",null,ie(m.question),1)]),d("div",yu,[d("div",bu,[t[183]||(t[183]=d("span",{class:"weight-label"},"权重占比:",-1)),p(hn,{modelValue:m.weight,"onUpdate:modelValue":Je=>m.weight=Je,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:E(()=>t[182]||(t[182]=[B("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),d("div",Su,[t[184]||(t[184]=d("span",{class:"answer-label"},"最多回答次数",-1)),p(xe,{modelValue:m.maxAnswers,"onUpdate:modelValue":Je=>m.maxAnswers=Je,size:"small",placeholder:"请选择"},{default:E(()=>[p(de,{label:"1次",value:1}),p(de,{label:"2次",value:2}),p(de,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),p(C,{type:"text",onClick:Je=>Z(ue)},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:2},1032,["onClick"]),p(C,{type:"text",onClick:Je=>re(ue)},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(Ir))]),_:1})]),_:2},1032,["onClick"])])]),d("div",Eu,[d("div",xu,[t[185]||(t[185]=d("span",{class:"info-label"},"考察能力:",-1)),d("span",null,ie(m.ability),1)]),d("div",Iu,[t[186]||(t[186]=d("span",{class:"info-label"},"面试内容:",-1)),d("span",null,ie(m.content),1)]),d("div",Cu,[t[187]||(t[187]=d("span",{class:"info-label"},"对话目标:",-1)),d("span",null,ie(m.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),p(Gt,{title:"编辑问题",modelValue:K.value,"onUpdate:modelValue":t[48]||(t[48]=m=>K.value=m),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:E(()=>[d("span",Nu,[p(C,{onClick:$},{default:E(()=>t[209]||(t[209]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:ne},{default:E(()=>t[210]||(t[210]=[B("确认")])),_:1})])]),default:E(()=>[d("div",wu,[d("div",Ou,[t[191]||(t[191]=d("div",{class:"form-label"},[B(" 题目内容"),d("span",{class:"required"},"*")],-1)),p(z,{modelValue:R.content,"onUpdate:modelValue":t[39]||(t[39]=m=>R.content=m),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),d("div",Tu,[t[192]||(t[192]=d("div",{class:"form-label"},"胜任力标签",-1)),p(xe,{modelValue:R.competencyTags,"onUpdate:modelValue":t[40]||(t[40]=m=>R.competencyTags=m),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",onChange:pa},{default:E(()=>[(j(!0),H(We,null,He(X.value,m=>(j(),Te(de,{key:m.value,label:m.label,value:m.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),t[193]||(t[193]=d("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),d("div",Du,[t[197]||(t[197]=d("div",{class:"form-label"}," 胜任力配置 ",-1)),d("div",Pu,[t[196]||(t[196]=d("div",{class:"config-row"},[d("span",{class:"config-label"},"标签"),d("span",{class:"config-label"},"权重"),d("span",{class:"config-label"},"级别")],-1)),d("div",Ru,[t[194]||(t[194]=d("span",{class:"tag-name"},"时间管理",-1)),p(hn,{modelValue:R.weight,"onUpdate:modelValue":t[41]||(t[41]=m=>R.weight=m),min:0,max:100,step:1,"controls-position":"right"},null,8,["modelValue"]),t[195]||(t[195]=B(" % ")),p(hn,{modelValue:R.level,"onUpdate:modelValue":t[42]||(t[42]=m=>R.level=m),min:1,max:5,step:1,"controls-position":"right"},null,8,["modelValue"])])]),t[198]||(t[198]=d("div",{class:"form-tip"},"配置各个胜任力标签的权重,总和需要100%",-1))]),d("div",Vu,[t[199]||(t[199]=d("div",{class:"form-label"},"题目形式",-1)),p(xe,{modelValue:R.type,"onUpdate:modelValue":t[43]||(t[43]=m=>R.type=m),placeholder:"开放问题",class:"full-width",onChange:ga},{default:E(()=>[p(de,{label:"开放问题",value:"open"}),p(de,{label:"单选题",value:"single"}),p(de,{label:"多选题",value:"multiple"}),p(de,{label:"填空题",value:"fill"}),p(de,{label:"自言语",value:"self"})]),_:1},8,["modelValue"]),t[200]||(t[200]=d("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),d("div",Ku,[t[201]||(t[201]=d("div",{class:"form-label"},"适用职位",-1)),p(xe,{modelValue:R.position,"onUpdate:modelValue":t[44]||(t[44]=m=>R.position=m),placeholder:"请选择适用职位类型",class:"full-width",multiple:""},{default:E(()=>[(j(!0),H(We,null,He(se.value,m=>(j(),Te(de,{key:m.value,label:m.label,value:m.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),t[202]||(t[202]=d("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),d("div",Uu,[t[203]||(t[203]=d("div",{class:"form-label"},"分类",-1)),p(xe,{modelValue:R.category,"onUpdate:modelValue":t[45]||(t[45]=m=>R.category=m),placeholder:"请选择题目分类",class:"full-width"},{default:E(()=>[(j(!0),H(We,null,He(L.value,m=>(j(),Te(de,{key:m.value,label:m.label,value:m.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),t[204]||(t[204]=d("div",{class:"form-tip"},"选择题目所属分类",-1))]),d("div",Mu,[t[205]||(t[205]=d("div",{class:"form-label"},"标签",-1)),p(xe,{modelValue:R.tags,"onUpdate:modelValue":t[46]||(t[46]=m=>R.tags=m),placeholder:"请选择标签",class:"full-width",multiple:""},{default:E(()=>[(j(!0),H(We,null,He(G.value,m=>(j(),Te(de,{key:m.value,label:m.label,value:m.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),t[206]||(t[206]=d("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),d("div",Bu,[t[207]||(t[207]=d("div",{class:"form-label"},"建议时长(秒)",-1)),p(hn,{modelValue:R.suggestedDuration,"onUpdate:modelValue":t[47]||(t[47]=m=>R.suggestedDuration=m),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width"},null,8,["modelValue"]),t[208]||(t[208]=d("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))])])]),_:1},8,["modelValue"]),p(Gt,{title:"选择题目",modelValue:Fn.value,"onUpdate:modelValue":t[53]||(t[53]=m=>Fn.value=m),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:E(()=>[d("span",Gu,[p(C,{onClick:Xi},{default:E(()=>t[211]||(t[211]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:Zi,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:E(()=>t[212]||(t[212]=[B("确定")])),_:1})])]),default:E(()=>[d("div",ju,[d("div",Fu,[d("div",Lu,[p(z,{modelValue:Ln.value,"onUpdate:modelValue":t[49]||(t[49]=m=>Ln.value=m),placeholder:"请输入关键词搜索题目",clearable:"",onClear:yo,onKeyup:Ta(yo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:E(()=>[p(C,{onClick:yo},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(Ua))]),_:1})]),_:1})]),_:1},8,["modelValue"]),p(xe,{modelValue:yt.question_form,"onUpdate:modelValue":t[50]||(t[50]=m=>yt.question_form=m),placeholder:"题目类型",clearable:"",onChange:yo,style:{width:"120px"}},{default:E(()=>[p(de,{label:"开放问题",value:0}),p(de,{label:"单选题",value:1})]),_:1},8,["modelValue"])])]),d("div",ku,[p(ya,{data:mr.value,style:{width:"100%"},onSelectionChange:Yi},{default:E(()=>[p(Lo,{type:"selection",width:"55"}),p(Lo,{prop:"question",label:"题目标题"}),p(Lo,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),d("div",Qu,[p(ba,{"current-page":yt.page,"onUpdate:currentPage":t[51]||(t[51]=m=>yt.page=m),"page-size":yt.pageSize,"onUpdate:pageSize":t[52]||(t[52]=m=>yt.pageSize=m),total:gr.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:Wi,onCurrentChange:Hi},null,8,["current-page","page-size","total"])])])])]),_:1},8,["modelValue"]),p(Gt,{title:"资料收集",modelValue:ve.value,"onUpdate:modelValue":t[57]||(t[57]=m=>ve.value=m),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:E(()=>[d("span",dc,[p(C,{onClick:fe},{default:E(()=>t[222]||(t[222]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:qi},{default:E(()=>t[223]||(t[223]=[B("确认")])),_:1})])]),default:E(()=>[d("div",zu,[d("div",$u,[t[221]||(t[221]=d("div",{class:"panel-header"},[d("h3",null,"字段显示配置")],-1)),d("div",Ju,[t[216]||(t[216]=d("div",{class:"section-title"},"基本信息",-1)),p($t,{gutter:20},{default:E(()=>[(j(!0),H(We,null,He(_i(),(m,ue)=>(j(),Te(zt,{span:8,key:ue},{default:E(()=>[d("div",Wu,[d("span",Hu,ie(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:E(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":Je=>m.visible=Je,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),t[217]||(t[217]=d("div",{class:"section-title"},"家庭成员信息",-1)),p($t,{gutter:20},{default:E(()=>[p(zt,{span:24},{default:E(()=>[d("div",Yu,[d("span",Xu,[B(ie(k.family_member.label)+" ",1),k.family_member.visible?(j(),Te(mn,{key:0,size:"small",type:"success"},{default:E(()=>t[213]||(t[213]=[B("已启用")])),_:1})):Xe("",!0)]),p(nt,{modelValue:k.family_member.visible,"onUpdate:modelValue":t[54]||(t[54]=m=>k.family_member.visible=m),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),k.family_member.visible?(j(),Te($t,{key:0,gutter:20},{default:E(()=>[(j(!0),H(We,null,He(k.family_member.fields,(m,ue)=>(j(),Te(zt,{span:8,key:ue},{default:E(()=>[d("div",Zu,[d("span",qu,ie(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:E(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":Je=>m.visible=Je,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Xe("",!0),t[218]||(t[218]=d("div",{class:"section-title"},"教育经历",-1)),p($t,{gutter:20},{default:E(()=>[p(zt,{span:24},{default:E(()=>[d("div",_u,[d("span",ec,[B(ie(k.education.label)+" ",1),k.education.visible?(j(),Te(mn,{key:0,size:"small",type:"success"},{default:E(()=>t[214]||(t[214]=[B("已启用")])),_:1})):Xe("",!0)]),p(nt,{modelValue:k.education.visible,"onUpdate:modelValue":t[55]||(t[55]=m=>k.education.visible=m),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),k.education.visible?(j(),Te($t,{key:1,gutter:20},{default:E(()=>[(j(!0),H(We,null,He(k.education.fields,(m,ue)=>(j(),Te(zt,{span:8,key:ue},{default:E(()=>[d("div",tc,[d("span",nc,ie(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:E(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":Je=>m.visible=Je,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Xe("",!0),t[219]||(t[219]=d("div",{class:"section-title"},"专业技能",-1)),p($t,{gutter:20},{default:E(()=>[(j(!0),H(We,null,He(ea(),(m,ue)=>(j(),Te(zt,{span:8,key:ue},{default:E(()=>[d("div",oc,[d("span",rc,ie(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:E(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":Je=>m.visible=Je,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),t[220]||(t[220]=d("div",{class:"section-title"},"工作经历",-1)),p($t,{gutter:20},{default:E(()=>[p(zt,{span:24},{default:E(()=>[d("div",ic,[d("span",ac,[B(ie(k.work_experience.label)+" ",1),k.work_experience.visible?(j(),Te(mn,{key:0,size:"small",type:"success"},{default:E(()=>t[215]||(t[215]=[B("已启用")])),_:1})):Xe("",!0)]),p(nt,{modelValue:k.work_experience.visible,"onUpdate:modelValue":t[56]||(t[56]=m=>k.work_experience.visible=m),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),k.work_experience.visible?(j(),Te($t,{key:2,gutter:20},{default:E(()=>[(j(!0),H(We,null,He(k.work_experience.fields,(m,ue)=>(j(),Te(zt,{span:8,key:ue},{default:E(()=>[d("div",lc,[d("span",sc,ie(m.label),1),p($n,{content:"切换显示/隐藏",placement:"top"},{default:E(()=>[p(nt,{modelValue:m.visible,"onUpdate:modelValue":Je=>m.visible=Je,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Xe("",!0)])])])]),_:1},8,["modelValue"]),p(Gt,{title:"简历收集",modelValue:Me.value,"onUpdate:modelValue":t[59]||(t[59]=m=>Me.value=m),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:E(()=>[d("span",fc,[p(C,{onClick:je},{default:E(()=>t[225]||(t[225]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:Qe},{default:E(()=>t[226]||(t[226]=[B("确认")])),_:1})])]),default:E(()=>[d("div",uc,[d("div",cc,[t[224]||(t[224]=d("div",{class:"form-label"},"步骤名称",-1)),p(z,{modelValue:Ie.title,"onUpdate:modelValue":t[58]||(t[58]=m=>Ie.title=m),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(Gt,{title:"添加代码笔试步骤",modelValue:we.value,"onUpdate:modelValue":t[62]||(t[62]=m=>we.value=m),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:E(()=>[d("span",Ac,[p(C,{onClick:oe},{default:E(()=>t[235]||(t[235]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:he},{default:E(()=>t[236]||(t[236]=[B("确认")])),_:1})])]),default:E(()=>[d("div",vc,[d("div",pc,[t[227]||(t[227]=d("div",{class:"form-label"},"步骤名称",-1)),p(z,{modelValue:q.title,"onUpdate:modelValue":t[60]||(t[60]=m=>q.title=m),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),d("div",mc,[t[228]||(t[228]=d("div",{class:"form-label"},"自动评判试卷",-1)),p(nt,{modelValue:q.autoJudge,"onUpdate:modelValue":t[61]||(t[61]=m=>q.autoJudge=m)},null,8,["modelValue"]),d("span",gc,ie(q.autoJudge?"开启":"关闭"),1)]),d("div",hc,[t[234]||(t[234]=d("div",{class:"form-label"},"添加考试试卷",-1)),d("div",yc,[q.selectedPaper?(j(),H("div",Sc,[d("div",Ec,[d("div",xc,ie(q.selectedPaper.title),1),d("div",Ic,[d("span",null,ie(q.selectedPaper.questionCount)+"道题",1),d("span",null,ie(q.selectedPaper.duration)+"分钟",1),d("span",null,ie(q.selectedPaper.difficulty),1)])]),d("div",Cc,[p(C,{type:"text",onClick:tt},{default:E(()=>t[231]||(t[231]=[B("查看")])),_:1}),p(C,{type:"text",onClick:Tn},{default:E(()=>t[232]||(t[232]=[B("更换")])),_:1}),p(C,{type:"text",onClick:Bo},{default:E(()=>t[233]||(t[233]=[B("删除")])),_:1})])])):(j(),H("div",bc,[p(C,{type:"primary",plain:"",onClick:be},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(bn))]),_:1}),t[229]||(t[229]=B(" 添加考卷 "))]),_:1}),t[230]||(t[230]=d("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),p(Ee(ko),{title:"添加打字测试步骤",modelValue:Dt.value,"onUpdate:modelValue":t[70]||(t[70]=m=>Dt.value=m),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:E(()=>[d("span",Fc,[p(C,{onClick:dr},{default:E(()=>t[253]||(t[253]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:ei},{default:E(()=>t[254]||(t[254]=[B("保存")])),_:1})])]),default:E(()=>[d("div",wc,[d("div",Oc,[t[238]||(t[238]=d("div",{class:"form-label"},"选择文章",-1)),d("div",Tc,[p(C,{type:"primary",size:"small",class:"add-article-btn"},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(bn))]),_:1}),t[237]||(t[237]=B(" 添加文章 "))]),_:1})])]),d("div",Dc,[t[241]||(t[241]=d("div",{class:"form-label"},"候选人选择文章方式",-1)),p(br,{modelValue:Ye.selectionMode,"onUpdate:modelValue":t[63]||(t[63]=m=>Ye.selectionMode=m)},{default:E(()=>[p(yn,{label:"random"},{default:E(()=>t[239]||(t[239]=[B("随机抽取")])),_:1}),p(yn,{label:"self"},{default:E(()=>t[240]||(t[240]=[B("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),d("div",Pc,[t[243]||(t[243]=d("div",{class:"form-label"},"测试时间",-1)),d("div",Rc,[p(z,{modelValue:Ye.duration,"onUpdate:modelValue":t[64]||(t[64]=m=>Ye.duration=m),class:"time-input"},null,8,["modelValue"]),t[242]||(t[242]=d("span",{class:"time-unit"},"分钟",-1))])]),d("div",Vc,[t[245]||(t[245]=d("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),p(yr,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:E(()=>[d("div",Kc,[p(_,null,{default:E(()=>[p(Ee(bn))]),_:1}),t[244]||(t[244]=d("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),d("div",Uc,[t[246]||(t[246]=d("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),p(z,{modelValue:Ye.notes,"onUpdate:modelValue":t[65]||(t[65]=m=>Ye.notes=m),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),d("div",Mc,[t[247]||(t[247]=d("div",{class:"form-label"},"测试页面标题",-1)),p(z,{modelValue:Ye.pageTitle,"onUpdate:modelValue":t[66]||(t[66]=m=>Ye.pageTitle=m),placeholder:"测试页面标题"},null,8,["modelValue"])]),d("div",Bc,[t[249]||(t[249]=d("div",{class:"form-label"},"视频监控",-1)),p(gn,{modelValue:Ye.videoMonitoring,"onUpdate:modelValue":t[67]||(t[67]=m=>Ye.videoMonitoring=m)},{default:E(()=>t[248]||(t[248]=[B("视频监控")])),_:1},8,["modelValue"])]),d("div",Nc,[t[252]||(t[252]=d("div",{class:"form-label"},"通过标准",-1)),d("div",jc,[p(gn,{modelValue:Ye.passCriteria.speed,"onUpdate:modelValue":t[68]||(t[68]=m=>Ye.passCriteria.speed=m)},{default:E(()=>t[250]||(t[250]=[B("速度")])),_:1},8,["modelValue"]),p(gn,{modelValue:Ye.passCriteria.accuracy,"onUpdate:modelValue":t[69]||(t[69]=m=>Ye.passCriteria.accuracy=m)},{default:E(()=>t[251]||(t[251]=[B("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),p(Gt,{title:"面试设置",modelValue:kn.value,"onUpdate:modelValue":t[75]||(t[75]=m=>kn.value=m),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:E(()=>[d("span",df,[p(C,{onClick:ta},{default:E(()=>t[268]||(t[268]=[B("取消")])),_:1}),p(C,{type:"primary",onClick:na},{default:E(()=>t[269]||(t[269]=[B("完成")])),_:1})])]),default:E(()=>[d("div",Lc,[t[267]||(t[267]=d("div",{class:"settings-section"},[d("div",{class:"section-header"},[d("span",{class:"section-title"},"防作弊设置")]),d("div",{class:"setting-item"},[d("div",{class:"setting-info"},[d("span",{class:"setting-name"},"「人脸一致性检测」"),d("p",{class:"setting-desc"},"该强调,非本人操作人脸可视化提醒和警示,默认开启")])]),d("div",{class:"setting-item"},[d("div",{class:"setting-info"},[d("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),d("p",{class:"setting-desc"},"该强调,非本人前来体验截屏录屏以上行为,为防止提醒")])]),d("div",{class:"setting-item"},[d("div",{class:"setting-info"},[d("span",{class:"setting-name"},"「 切 屏 预 制 」"),d("p",{class:"setting-desc"},"该强调,非本人前使用切屏处理用页面,为防作弊警示")])]),d("div",{class:"setting-item"},[d("div",{class:"setting-info"},[d("span",{class:"setting-name"},"「 情 绪 识 别」"),d("p",{class:"setting-desc"},"该现已,条件较差以及入侵过程中的作弊,条件等好等")])]),d("div",{class:"setting-item"},[d("div",{class:"setting-info"},[d("span",{class:"setting-name"},"「 眼 动 检 测 」"),d("p",{class:"setting-desc"},"视实检测候选人的眼动频率进行分析,页面等较等")])])],-1)),d("div",kc,[t[266]||(t[266]=d("div",{class:"section-header"},[d("span",{class:"section-title"},"其他设置")],-1)),d("div",Qc,[d("div",Gc,[t[255]||(t[255]=d("span",{class:"setting-name"},"复习面试",-1)),t[256]||(t[256]=d("p",{class:"setting-desc"},"选取后,将允许面试者进行重复面试",-1)),p(nt,{modelValue:ut.reviewInterview,"onUpdate:modelValue":t[71]||(t[71]=m=>ut.reviewInterview=m)},null,8,["modelValue"])])]),d("div",zc,[d("div",$c,[t[259]||(t[259]=d("span",{class:"setting-name"},"开场词",-1)),cn.value?(j(),H("div",Hc,[p(z,{modelValue:Qt.value,"onUpdate:modelValue":t[72]||(t[72]=m=>Qt.value=m),type:"textarea",rows:"2",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),d("div",Yc,[p(C,{size:"small",onClick:ia},{default:E(()=>t[257]||(t[257]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:aa},{default:E(()=>t[258]||(t[258]=[B("保存")])),_:1})])])):(j(),H("div",Jc,[d("p",Wc,ie(ut.beforeStartText),1),p(C,{type:"text",class:"edit-desc-btn",onClick:ra},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))])]),d("div",Xc,[d("div",Zc,[t[262]||(t[262]=d("span",{class:"setting-name"},"开始后提醒",-1)),Qn.value?(j(),H("div",ef,[p(z,{modelValue:fn.value,"onUpdate:modelValue":t[73]||(t[73]=m=>fn.value=m),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),d("div",tf,[p(C,{size:"small",onClick:sa},{default:E(()=>t[260]||(t[260]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:da},{default:E(()=>t[261]||(t[261]=[B("保存")])),_:1})])])):(j(),H("div",qc,[d("p",_c,ie(ut.afterStartText),1),p(C,{type:"text",class:"edit-desc-btn",onClick:la},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))])]),d("div",nf,[d("div",of,[t[265]||(t[265]=d("span",{class:"setting-name"},"结束语",-1)),Gn.value?(j(),H("div",lf,[p(z,{modelValue:vn.value,"onUpdate:modelValue":t[74]||(t[74]=m=>vn.value=m),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),d("div",sf,[p(C,{size:"small",onClick:ca},{default:E(()=>t[263]||(t[263]=[B("取消")])),_:1}),p(C,{size:"small",type:"primary",onClick:fa},{default:E(()=>t[264]||(t[264]=[B("保存")])),_:1})])])):(j(),H("div",rf,[d("p",af,ie(ut.disclaimerText),1),p(C,{type:"text",class:"edit-desc-btn",onClick:ua},{default:E(()=>[p(_,null,{default:E(()=>[p(Ee(st))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"])])}}}),gf=Ba(uf,[["__scopeId","data-v-ffff4b2f"]]);export{gf as default};
|