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