12345678910 |
- import{a as Ql,r as Q,aH as Gl,aB as zl,_ as _e,f as fi,q as $l,W as Jl,w as aa,aj as Pe,at as Wl,c as X,o as K,b as r,S as p,K as y,P as k,Q as se,u as pe,M as Te,J as we,R as Ye,a9 as Xe,L as Qo,G as Ot,T as ra,Y as Hl,F as Yl,a7 as Xl,t as la}from"./vue.D1BjjNmv.js";import{b as ql,c as Zl,C as _l,U as Tt}from"./api._i-iUJEo.js";import{ab as es,g as ts,ac as ns,c as os,E as R,a1 as ht,$ as bn,ad as is,ae as sa,C as da,af as vi,ag as as,A as rs,S as Zt,F as ua}from"./index.DA9-hodf.js";import{G as Mn,a as ls,b as ss,Q as ds,c as _t,A as pi,d as ca,e as mi,U as yt,D as fa,C as gi,f as hi,g as va,h as us,i as cs,B as fs,S as vs,j as ps,k as pa,l as ms,m as gs,n as hs,o as ys}from"./QuestionBankForm.CkDSxbD6.js";import{g as bs}from"./pcaData.5HEg6BqW.js";import Ss from"./BlankAnswerEditor.C84NgMQM.js";import{A as Es}from"./api.Deswd3Oe.js";import xs from"./treeList.BWhSabU5.js";import{G as ma,a as ga,b as ha}from"./api.BLV0j-BJ.js";import{_ as Is}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.e0gHieJV.js";const ya="/assets/sheng.BKW1Im68.png",Cs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";var Ua={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function ba(u,o){var i=Object.keys(u);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(u);o&&(d=d.filter(function(n){return Object.getOwnPropertyDescriptor(u,n).enumerable})),i.push.apply(i,d)}return i}function Wt(u){for(var o=1;o<arguments.length;o++){var i=arguments[o]!=null?arguments[o]:{};o%2?ba(Object(i),!0).forEach(function(d){As(u,d,i[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(i)):ba(Object(i)).forEach(function(d){Object.defineProperty(u,d,Object.getOwnPropertyDescriptor(i,d))})}return u}function Yo(u){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Yo=function(o){return typeof o}:Yo=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Yo(u)}function As(u,o,i){return o in u?Object.defineProperty(u,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):u[o]=i,u}function kt(){return kt=Object.assign||function(u){for(var o=1;o<arguments.length;o++){var i=arguments[o];for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(u[d]=i[d])}return u},kt.apply(this,arguments)}function ws(u,o){if(u==null)return{};var i={},d=Object.keys(u),n,s;for(s=0;s<d.length;s++)n=d[s],!(o.indexOf(n)>=0)&&(i[n]=u[n]);return i}function Os(u,o){if(u==null)return{};var i=ws(u,o),d,n;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);for(n=0;n<s.length;n++)d=s[n],!(o.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(u,d)&&(i[d]=u[d])}return i}function Ts(u){return Ds(u)||Ps(u)||Rs(u)||Vs()}function Ds(u){if(Array.isArray(u))return Ti(u)}function Ps(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function Rs(u,o){if(u){if(typeof u=="string")return Ti(u,o);var i=Object.prototype.toString.call(u).slice(8,-1);if(i==="Object"&&u.constructor&&(i=u.constructor.name),i==="Map"||i==="Set")return Array.from(u);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ti(u,o)}}function Ti(u,o){(o==null||o>u.length)&&(o=u.length);for(var i=0,d=new Array(o);i<o;i++)d[i]=u[i];return d}function Vs(){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 Us="1.14.0";function en(u){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(u)}var tn=en(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ao=en(/Edge/i),Sa=en(/firefox/i),So=en(/safari/i)&&!en(/chrome/i)&&!en(/android/i),ka=en(/iP(ad|od|hone)/i),ks=en(/chrome/i)&&en(/android/i),Ka={capture:!1,passive:!1};function Ee(u,o,i){u.addEventListener(o,i,!tn&&Ka)}function ye(u,o,i){u.removeEventListener(o,i,!tn&&Ka)}function ei(u,o){if(o){if(o[0]===">"&&(o=o.substring(1)),u)try{if(u.matches)return u.matches(o);if(u.msMatchesSelector)return u.msMatchesSelector(o);if(u.webkitMatchesSelector)return u.webkitMatchesSelector(o)}catch{return!1}return!1}}function Ks(u){return u.host&&u!==document&&u.host.nodeType?u.host:u.parentNode}function Nt(u,o,i,d){if(u){i=i||document;do{if(o!=null&&(o[0]===">"?u.parentNode===i&&ei(u,o):ei(u,o))||d&&u===i)return u;if(u===i)break}while(u=Ks(u))}return null}var Ea=/\s+/g;function ze(u,o,i){if(u&&o)if(u.classList)u.classList[i?"add":"remove"](o);else{var d=(" "+u.className+" ").replace(Ea," ").replace(" "+o+" "," ");u.className=(d+(i?" "+o:"")).replace(Ea," ")}}function oe(u,o,i){var d=u&&u.style;if(d){if(i===void 0)return document.defaultView&&document.defaultView.getComputedStyle?i=document.defaultView.getComputedStyle(u,""):u.currentStyle&&(i=u.currentStyle),o===void 0?i:i[o];!(o in d)&&o.indexOf("webkit")===-1&&(o="-webkit-"+o),d[o]=i+(typeof i=="string"?"":"px")}}function In(u,o){var i="";if(typeof u=="string")i=u;else do{var d=oe(u,"transform");d&&d!=="none"&&(i=d+" "+i)}while(!o&&(u=u.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(i)}function Ma(u,o,i){if(u){var d=u.getElementsByTagName(o),n=0,s=d.length;if(i)for(;n<s;n++)i(d[n],n);return d}return[]}function Jt(){var u=document.scrollingElement;return u||document.documentElement}function je(u,o,i,d,n){if(!(!u.getBoundingClientRect&&u!==window)){var s,t,a,l,c,v,m;if(u!==window&&u.parentNode&&u!==Jt()?(s=u.getBoundingClientRect(),t=s.top,a=s.left,l=s.bottom,c=s.right,v=s.height,m=s.width):(t=0,a=0,l=window.innerHeight,c=window.innerWidth,v=window.innerHeight,m=window.innerWidth),(o||i)&&u!==window&&(n=n||u.parentNode,!tn))do if(n&&n.getBoundingClientRect&&(oe(n,"transform")!=="none"||i&&oe(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(oe(n,"border-top-width")),a-=h.left+parseInt(oe(n,"border-left-width")),l=t+s.height,c=a+s.width;break}while(n=n.parentNode);if(d&&u!==window){var b=In(n||u),S=b&&b.a,E=b&&b.d;b&&(t/=E,a/=S,m/=S,v/=E,l=t+v,c=a+m)}return{top:t,left:a,bottom:l,right:c,width:m,height:v}}}function xa(u,o,i){for(var d=un(u,!0),n=je(u)[o];d;){var s=je(d)[i],t=void 0;if(t=n>=s,!t)return d;if(d===Jt())break;d=un(d,!1)}return!1}function Qn(u,o,i,d){for(var n=0,s=0,t=u.children;s<t.length;){if(t[s].style.display!=="none"&&t[s]!==fe.ghost&&(d||t[s]!==fe.dragged)&&Nt(t[s],i.draggable,u,!1)){if(n===o)return t[s];n++}s++}return null}function Ui(u,o){for(var i=u.lastElementChild;i&&(i===fe.ghost||oe(i,"display")==="none"||o&&!ei(i,o));)i=i.previousElementSibling;return i||null}function We(u,o){var i=0;if(!u||!u.parentNode)return-1;for(;u=u.previousElementSibling;)u.nodeName.toUpperCase()!=="TEMPLATE"&&u!==fe.clone&&(!o||ei(u,o))&&i++;return i}function Ia(u){var o=0,i=0,d=Jt();if(u)do{var n=In(u),s=n.a,t=n.d;o+=u.scrollLeft*s,i+=u.scrollTop*t}while(u!==d&&(u=u.parentNode));return[o,i]}function Ms(u,o){for(var i in u)if(u.hasOwnProperty(i)){for(var d in o)if(o.hasOwnProperty(d)&&o[d]===u[i][d])return Number(i)}return-1}function un(u,o){if(!u||!u.getBoundingClientRect)return Jt();var i=u,d=!1;do if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var n=oe(i);if(i.clientWidth<i.scrollWidth&&(n.overflowX=="auto"||n.overflowX=="scroll")||i.clientHeight<i.scrollHeight&&(n.overflowY=="auto"||n.overflowY=="scroll")){if(!i.getBoundingClientRect||i===document.body)return Jt();if(d||o)return i;d=!0}}while(i=i.parentNode);return Jt()}function Ns(u,o){if(u&&o)for(var i in o)o.hasOwnProperty(i)&&(u[i]=o[i]);return u}function yi(u,o){return Math.round(u.top)===Math.round(o.top)&&Math.round(u.left)===Math.round(o.left)&&Math.round(u.height)===Math.round(o.height)&&Math.round(u.width)===Math.round(o.width)}var Eo;function Na(u,o){return function(){if(!Eo){var i=arguments,d=this;i.length===1?u.call(d,i[0]):u.apply(d,i),Eo=setTimeout(function(){Eo=void 0},o)}}}function Bs(){clearTimeout(Eo),Eo=void 0}function Ba(u,o,i){u.scrollLeft+=o,u.scrollTop+=i}function ki(u){var o=window.Polymer,i=window.jQuery||window.Zepto;return o&&o.dom?o.dom(u).cloneNode(!0):i?i(u).clone(!0)[0]:u.cloneNode(!0)}function Ca(u,o){oe(u,"position","absolute"),oe(u,"top",o.top),oe(u,"left",o.left),oe(u,"width",o.width),oe(u,"height",o.height)}function bi(u){oe(u,"position",""),oe(u,"top",""),oe(u,"left",""),oe(u,"width",""),oe(u,"height","")}var vt="Sortable"+new Date().getTime();function Fs(){var u=[],o;return{captureAnimationState:function(){if(u=[],!!this.options.animation){var d=[].slice.call(this.el.children);d.forEach(function(n){if(!(oe(n,"display")==="none"||n===fe.ghost)){u.push({target:n,rect:je(n)});var s=Wt({},u[u.length-1].rect);if(n.thisAnimationDuration){var t=In(n,!0);t&&(s.top-=t.f,s.left-=t.e)}n.fromRect=s}})}},addAnimationState:function(d){u.push(d)},removeAnimationState:function(d){u.splice(Ms(u,{target:d}),1)},animateAll:function(d){var n=this;if(!this.options.animation){clearTimeout(o),typeof d=="function"&&d();return}var s=!1,t=0;u.forEach(function(a){var l=0,c=a.target,v=c.fromRect,m=je(c),h=c.prevFromRect,b=c.prevToRect,S=a.rect,E=In(c,!0);E&&(m.top-=E.f,m.left-=E.e),c.toRect=m,c.thisAnimationDuration&&yi(h,m)&&!yi(v,m)&&(S.top-m.top)/(S.left-m.left)===(v.top-m.top)/(v.left-m.left)&&(l=Ls(S,h,b,n.options)),yi(m,v)||(c.prevFromRect=v,c.prevToRect=m,l||(l=n.options.animation),n.animate(c,S,m,l)),l&&(s=!0,t=Math.max(t,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(o),s?o=setTimeout(function(){typeof d=="function"&&d()},t):typeof d=="function"&&d(),u=[]},animate:function(d,n,s,t){if(t){oe(d,"transition",""),oe(d,"transform","");var a=In(this.el),l=a&&a.a,c=a&&a.d,v=(n.left-s.left)/(l||1),m=(n.top-s.top)/(c||1);d.animatingX=!!v,d.animatingY=!!m,oe(d,"transform","translate3d("+v+"px,"+m+"px,0)"),this.forRepaintDummy=js(d),oe(d,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),oe(d,"transform","translate3d(0,0,0)"),typeof d.animated=="number"&&clearTimeout(d.animated),d.animated=setTimeout(function(){oe(d,"transition",""),oe(d,"transform",""),d.animated=!1,d.animatingX=!1,d.animatingY=!1},t)}}}}function js(u){return u.offsetWidth}function Ls(u,o,i,d){return Math.sqrt(Math.pow(o.top-u.top,2)+Math.pow(o.left-u.left,2))/Math.sqrt(Math.pow(o.top-i.top,2)+Math.pow(o.left-i.left,2))*d.animation}var Nn=[],Si={initializeByDefault:!0},wo={mount:function(o){for(var i in Si)Si.hasOwnProperty(i)&&!(i in o)&&(o[i]=Si[i]);Nn.forEach(function(d){if(d.pluginName===o.pluginName)throw"Sortable: Cannot mount plugin ".concat(o.pluginName," more than once")}),Nn.push(o)},pluginEvent:function(o,i,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var s=o+"Global";Nn.forEach(function(t){i[t.pluginName]&&(i[t.pluginName][s]&&i[t.pluginName][s](Wt({sortable:i},d)),i.options[t.pluginName]&&i[t.pluginName][o]&&i[t.pluginName][o](Wt({sortable:i},d)))})},initializePlugins:function(o,i,d,n){Nn.forEach(function(a){var l=a.pluginName;if(!(!o.options[l]&&!a.initializeByDefault)){var c=new a(o,i,o.options);c.sortable=o,c.options=o.options,o[l]=c,kt(d,c.defaults)}});for(var s in o.options)if(o.options.hasOwnProperty(s)){var t=this.modifyOption(o,s,o.options[s]);typeof t<"u"&&(o.options[s]=t)}},getEventProperties:function(o,i){var d={};return Nn.forEach(function(n){typeof n.eventProperties=="function"&&kt(d,n.eventProperties.call(i[n.pluginName],o))}),d},modifyOption:function(o,i,d){var n;return Nn.forEach(function(s){o[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[i]=="function"&&(n=s.optionListeners[i].call(o[s.pluginName],d))}),n}};function go(u){var o=u.sortable,i=u.rootEl,d=u.name,n=u.targetEl,s=u.cloneEl,t=u.toEl,a=u.fromEl,l=u.oldIndex,c=u.newIndex,v=u.oldDraggableIndex,m=u.newDraggableIndex,h=u.originalEvent,b=u.putSortable,S=u.extraEventProperties;if(o=o||i&&i[vt],!!o){var E,I=o.options,w="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!tn&&!Ao?E=new CustomEvent(d,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(d,!0,!0)),E.to=t||i,E.from=a||i,E.item=n||i,E.clone=s,E.oldIndex=l,E.newIndex=c,E.oldDraggableIndex=v,E.newDraggableIndex=m,E.originalEvent=h,E.pullMode=b?b.lastPutMode:void 0;var T=Wt(Wt({},S),wo.getEventProperties(d,o));for(var N in T)E[N]=T[N];i&&i.dispatchEvent(E),I[w]&&I[w].call(o,E)}}var Qs=["evt"],Et=function(o,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,s=Os(d,Qs);wo.pluginEvent.bind(fe)(o,i,Wt({dragEl:W,parentEl:$e,ghostEl:he,rootEl:Fe,nextEl:xn,lastDownEl:Xo,cloneEl:Je,cloneHidden:dn,dragStarted:ho,putSortable:dt,activeSortable:fe.active,originalEvent:n,oldIndex:Ln,oldDraggableIndex:xo,newIndex:Pt,newDraggableIndex:sn,hideGhostForTarget:Qa,unhideGhostForTarget:Ga,cloneNowHidden:function(){dn=!0},cloneNowShown:function(){dn=!1},dispatchSortableEvent:function(a){bt({sortable:i,name:a,originalEvent:n})}},s))};function bt(u){go(Wt({putSortable:dt,cloneEl:Je,targetEl:W,rootEl:Fe,oldIndex:Ln,oldDraggableIndex:xo,newIndex:Pt,newDraggableIndex:sn},u))}var W,$e,he,Fe,xn,Xo,Je,dn,Ln,Pt,xo,sn,Go,dt,jn=!1,ti=!1,ni=[],Sn,Kt,Ei,xi,Aa,wa,ho,Bn,Io,Co=!1,zo=!1,qo,ft,Ii=[],Di=!1,oi=[],ai=typeof document<"u",$o=ka,Oa=Ao||tn?"cssFloat":"float",Gs=ai&&!ks&&!ka&&"draggable"in document.createElement("div"),Fa=function(){if(ai){if(tn)return!1;var u=document.createElement("x");return u.style.cssText="pointer-events:auto",u.style.pointerEvents==="auto"}}(),ja=function(o,i){var d=oe(o),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),s=Qn(o,0,i),t=Qn(o,1,i),a=s&&oe(s),l=t&&oe(t),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+je(s).width,v=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+je(t).width;if(d.display==="flex")return d.flexDirection==="column"||d.flexDirection==="column-reverse"?"vertical":"horizontal";if(d.display==="grid")return d.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return t&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=n&&d[Oa]==="none"||t&&d[Oa]==="none"&&c+v>n)?"vertical":"horizontal"},zs=function(o,i,d){var n=d?o.left:o.top,s=d?o.right:o.bottom,t=d?o.width:o.height,a=d?i.left:i.top,l=d?i.right:i.bottom,c=d?i.width:i.height;return n===a||s===l||n+t/2===a+c/2},$s=function(o,i){var d;return ni.some(function(n){var s=n[vt].options.emptyInsertThreshold;if(!(!s||Ui(n))){var t=je(n),a=o>=t.left-s&&o<=t.right+s,l=i>=t.top-s&&i<=t.bottom+s;if(a&&l)return d=n}}),d},La=function(o){function i(s,t){return function(a,l,c,v){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(t||m))return!0;if(s==null||s===!1)return!1;if(t&&s==="clone")return s;if(typeof s=="function")return i(s(a,l,c,v),t)(a,l,c,v);var h=(t?a:l).options.group.name;return s===!0||typeof s=="string"&&s===h||s.join&&s.indexOf(h)>-1}}var d={},n=o.group;(!n||Yo(n)!="object")&&(n={name:n}),d.name=n.name,d.checkPull=i(n.pull,!0),d.checkPut=i(n.put),d.revertClone=n.revertClone,o.group=d},Qa=function(){!Fa&&he&&oe(he,"display","none")},Ga=function(){!Fa&&he&&oe(he,"display","")};ai&&document.addEventListener("click",function(u){if(ti)return u.preventDefault(),u.stopPropagation&&u.stopPropagation(),u.stopImmediatePropagation&&u.stopImmediatePropagation(),ti=!1,!1},!0);var En=function(o){if(W){o=o.touches?o.touches[0]:o;var i=$s(o.clientX,o.clientY);if(i){var d={};for(var n in o)o.hasOwnProperty(n)&&(d[n]=o[n]);d.target=d.rootEl=i,d.preventDefault=void 0,d.stopPropagation=void 0,i[vt]._onDragOver(d)}}},Js=function(o){W&&W.parentNode[vt]._isOutsideThisEl(o.target)};function fe(u,o){if(!(u&&u.nodeType&&u.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(u));this.el=u,this.options=o=kt({},o),u[vt]=this;var i={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(u.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return ja(u,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,a){t.setData("Text",a.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:fe.supportPointer!==!1&&"PointerEvent"in window&&!So,emptyInsertThreshold:5};wo.initializePlugins(this,u,i);for(var d in i)!(d in o)&&(o[d]=i[d]);La(o);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=o.forceFallback?!1:Gs,this.nativeDraggable&&(this.options.touchStartThreshold=1),o.supportPointer?Ee(u,"pointerdown",this._onTapStart):(Ee(u,"mousedown",this._onTapStart),Ee(u,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ee(u,"dragover",this),Ee(u,"dragenter",this)),ni.push(this.el),o.store&&o.store.get&&this.sort(o.store.get(this)||[]),kt(this,Fs())}fe.prototype={constructor:fe,_isOutsideThisEl:function(o){!this.el.contains(o)&&o!==this.el&&(Bn=null)},_getDirection:function(o,i){return typeof this.options.direction=="function"?this.options.direction.call(this,o,i,W):this.options.direction},_onTapStart:function(o){if(o.cancelable){var i=this,d=this.el,n=this.options,s=n.preventOnFilter,t=o.type,a=o.touches&&o.touches[0]||o.pointerType&&o.pointerType==="touch"&&o,l=(a||o).target,c=o.target.shadowRoot&&(o.path&&o.path[0]||o.composedPath&&o.composedPath()[0])||l,v=n.filter;if(ed(d),!W&&!(/mousedown|pointerdown/.test(t)&&o.button!==0||n.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&So&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Nt(l,n.draggable,d,!1),!(l&&l.animated)&&Xo!==l)){if(Ln=We(l),xo=We(l,n.draggable),typeof v=="function"){if(v.call(this,o,l,this)){bt({sortable:i,rootEl:c,name:"filter",targetEl:l,toEl:d,fromEl:d}),Et("filter",i,{evt:o}),s&&o.cancelable&&o.preventDefault();return}}else if(v&&(v=v.split(",").some(function(m){if(m=Nt(c,m.trim(),d,!1),m)return bt({sortable:i,rootEl:m,name:"filter",targetEl:l,fromEl:d,toEl:d}),Et("filter",i,{evt:o}),!0}),v)){s&&o.cancelable&&o.preventDefault();return}n.handle&&!Nt(c,n.handle,d,!1)||this._prepareDragStart(o,a,l)}}},_prepareDragStart:function(o,i,d){var n=this,s=n.el,t=n.options,a=s.ownerDocument,l;if(d&&!W&&d.parentNode===s){var c=je(d);if(Fe=s,W=d,$e=W.parentNode,xn=W.nextSibling,Xo=d,Go=t.group,fe.dragged=W,Sn={target:W,clientX:(i||o).clientX,clientY:(i||o).clientY},Aa=Sn.clientX-c.left,wa=Sn.clientY-c.top,this._lastX=(i||o).clientX,this._lastY=(i||o).clientY,W.style["will-change"]="all",l=function(){if(Et("delayEnded",n,{evt:o}),fe.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!Sa&&n.nativeDraggable&&(W.draggable=!0),n._triggerDragStart(o,i),bt({sortable:n,name:"choose",originalEvent:o}),ze(W,t.chosenClass,!0)},t.ignore.split(",").forEach(function(v){Ma(W,v.trim(),Ci)}),Ee(a,"dragover",En),Ee(a,"mousemove",En),Ee(a,"touchmove",En),Ee(a,"mouseup",n._onDrop),Ee(a,"touchend",n._onDrop),Ee(a,"touchcancel",n._onDrop),Sa&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),Et("delayStart",this,{evt:o}),t.delay&&(!t.delayOnTouchOnly||i)&&(!this.nativeDraggable||!(Ao||tn))){if(fe.eventCanceled){this._onDrop();return}Ee(a,"mouseup",n._disableDelayedDrag),Ee(a,"touchend",n._disableDelayedDrag),Ee(a,"touchcancel",n._disableDelayedDrag),Ee(a,"mousemove",n._delayedDragTouchMoveHandler),Ee(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&Ee(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(l,t.delay)}else l()}},_delayedDragTouchMoveHandler:function(o){var i=o.touches?o.touches[0]:o;Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){W&&Ci(W),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var o=this.el.ownerDocument;ye(o,"mouseup",this._disableDelayedDrag),ye(o,"touchend",this._disableDelayedDrag),ye(o,"touchcancel",this._disableDelayedDrag),ye(o,"mousemove",this._delayedDragTouchMoveHandler),ye(o,"touchmove",this._delayedDragTouchMoveHandler),ye(o,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(o,i){i=i||o.pointerType=="touch"&&o,!this.nativeDraggable||i?this.options.supportPointer?Ee(document,"pointermove",this._onTouchMove):i?Ee(document,"touchmove",this._onTouchMove):Ee(document,"mousemove",this._onTouchMove):(Ee(W,"dragend",this),Ee(Fe,"dragstart",this._onDragStart));try{document.selection?Zo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(o,i){if(jn=!1,Fe&&W){Et("dragStarted",this,{evt:i}),this.nativeDraggable&&Ee(document,"dragover",Js);var d=this.options;!o&&ze(W,d.dragClass,!1),ze(W,d.ghostClass,!0),fe.active=this,o&&this._appendGhost(),bt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(Kt){this._lastX=Kt.clientX,this._lastY=Kt.clientY,Qa();for(var o=document.elementFromPoint(Kt.clientX,Kt.clientY),i=o;o&&o.shadowRoot&&(o=o.shadowRoot.elementFromPoint(Kt.clientX,Kt.clientY),o!==i);)i=o;if(W.parentNode[vt]._isOutsideThisEl(o),i)do{if(i[vt]){var d=void 0;if(d=i[vt]._onDragOver({clientX:Kt.clientX,clientY:Kt.clientY,target:o,rootEl:i}),d&&!this.options.dragoverBubble)break}o=i}while(i=i.parentNode);Ga()}},_onTouchMove:function(o){if(Sn){var i=this.options,d=i.fallbackTolerance,n=i.fallbackOffset,s=o.touches?o.touches[0]:o,t=he&&In(he,!0),a=he&&t&&t.a,l=he&&t&&t.d,c=$o&&ft&&Ia(ft),v=(s.clientX-Sn.clientX+n.x)/(a||1)+(c?c[0]-Ii[0]:0)/(a||1),m=(s.clientY-Sn.clientY+n.y)/(l||1)+(c?c[1]-Ii[1]:0)/(l||1);if(!fe.active&&!jn){if(d&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<d)return;this._onDragStart(o,!0)}if(he){t?(t.e+=v-(Ei||0),t.f+=m-(xi||0)):t={a:1,b:0,c:0,d:1,e:v,f:m};var h="matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.e,",").concat(t.f,")");oe(he,"webkitTransform",h),oe(he,"mozTransform",h),oe(he,"msTransform",h),oe(he,"transform",h),Ei=v,xi=m,Kt=s}o.cancelable&&o.preventDefault()}},_appendGhost:function(){if(!he){var o=this.options.fallbackOnBody?document.body:Fe,i=je(W,!0,$o,!0,o),d=this.options;if($o){for(ft=o;oe(ft,"position")==="static"&&oe(ft,"transform")==="none"&&ft!==document;)ft=ft.parentNode;ft!==document.body&&ft!==document.documentElement?(ft===document&&(ft=Jt()),i.top+=ft.scrollTop,i.left+=ft.scrollLeft):ft=Jt(),Ii=Ia(ft)}he=W.cloneNode(!0),ze(he,d.ghostClass,!1),ze(he,d.fallbackClass,!0),ze(he,d.dragClass,!0),oe(he,"transition",""),oe(he,"transform",""),oe(he,"box-sizing","border-box"),oe(he,"margin",0),oe(he,"top",i.top),oe(he,"left",i.left),oe(he,"width",i.width),oe(he,"height",i.height),oe(he,"opacity","0.8"),oe(he,"position",$o?"absolute":"fixed"),oe(he,"zIndex","100000"),oe(he,"pointerEvents","none"),fe.ghost=he,o.appendChild(he),oe(he,"transform-origin",Aa/parseInt(he.style.width)*100+"% "+wa/parseInt(he.style.height)*100+"%")}},_onDragStart:function(o,i){var d=this,n=o.dataTransfer,s=d.options;if(Et("dragStart",this,{evt:o}),fe.eventCanceled){this._onDrop();return}Et("setupClone",this),fe.eventCanceled||(Je=ki(W),Je.draggable=!1,Je.style["will-change"]="",this._hideClone(),ze(Je,this.options.chosenClass,!1),fe.clone=Je),d.cloneId=Zo(function(){Et("clone",d),!fe.eventCanceled&&(d.options.removeCloneOnHide||Fe.insertBefore(Je,W),d._hideClone(),bt({sortable:d,name:"clone"}))}),!i&&ze(W,s.dragClass,!0),i?(ti=!0,d._loopId=setInterval(d._emulateDragOver,50)):(ye(document,"mouseup",d._onDrop),ye(document,"touchend",d._onDrop),ye(document,"touchcancel",d._onDrop),n&&(n.effectAllowed="move",s.setData&&s.setData.call(d,n,W)),Ee(document,"drop",d),oe(W,"transform","translateZ(0)")),jn=!0,d._dragStartId=Zo(d._dragStarted.bind(d,i,o)),Ee(document,"selectstart",d),ho=!0,So&&oe(document.body,"user-select","none")},_onDragOver:function(o){var i=this.el,d=o.target,n,s,t,a=this.options,l=a.group,c=fe.active,v=Go===l,m=a.sort,h=dt||c,b,S=this,E=!1;if(Di)return;function I(be,Oe){Et(be,S,Wt({evt:o,isOwner:v,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:s,canSort:m,fromSortable:h,target:d,completed:T,onMove:function(Re,Z){return Jo(Fe,i,W,n,Re,je(Re),o,Z)},changed:N},Oe))}function w(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function T(be){return I("dragOverCompleted",{insertion:be}),be&&(v?c._hideClone():c._showClone(S),S!==h&&(ze(W,dt?dt.options.ghostClass:c.options.ghostClass,!1),ze(W,a.ghostClass,!0)),dt!==S&&S!==fe.active?dt=S:S===fe.active&&dt&&(dt=null),h===S&&(S._ignoreWhileAnimating=d),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(d===W&&!W.animated||d===i&&!d.animated)&&(Bn=null),!a.dragoverBubble&&!o.rootEl&&d!==document&&(W.parentNode[vt]._isOutsideThisEl(o.target),!be&&En(o)),!a.dragoverBubble&&o.stopPropagation&&o.stopPropagation(),E=!0}function N(){Pt=We(W),sn=We(W,a.draggable),bt({sortable:S,name:"change",toEl:i,newIndex:Pt,newDraggableIndex:sn,originalEvent:o})}if(o.preventDefault!==void 0&&o.cancelable&&o.preventDefault(),d=Nt(d,a.draggable,i,!0),I("dragOver"),fe.eventCanceled)return E;if(W.contains(o.target)||d.animated&&d.animatingX&&d.animatingY||S._ignoreWhileAnimating===d)return T(!1);if(ti=!1,c&&!a.disabled&&(v?m||(t=$e!==Fe):dt===this||(this.lastPutMode=Go.checkPull(this,c,W,o))&&l.checkPut(this,c,W,o))){if(b=this._getDirection(o,d)==="vertical",n=je(W),I("dragOverValid"),fe.eventCanceled)return E;if(t)return $e=Fe,w(),this._hideClone(),I("revert"),fe.eventCanceled||(xn?Fe.insertBefore(W,xn):Fe.appendChild(W)),T(!0);var V=Ui(i,a.draggable);if(!V||Xs(o,b,this)&&!V.animated){if(V===W)return T(!1);if(V&&i===o.target&&(d=V),d&&(s=je(d)),Jo(Fe,i,W,n,d,s,o,!!d)!==!1)return w(),i.appendChild(W),$e=i,N(),T(!0)}else if(V&&Ys(o,b,this)){var F=Qn(i,0,a,!0);if(F===W)return T(!1);if(d=F,s=je(d),Jo(Fe,i,W,n,d,s,o,!1)!==!1)return w(),i.insertBefore(W,F),$e=i,N(),T(!0)}else if(d.parentNode===i){s=je(d);var U=0,_,te=W.parentNode!==i,M=!zs(W.animated&&W.toRect||n,d.animated&&d.toRect||s,b),J=b?"top":"left",z=xa(d,"top","top")||xa(W,"top","top"),ce=z?z.scrollTop:void 0;Bn!==d&&(_=s[J],Co=!1,zo=!M&&a.invertSwap||te),U=qs(o,d,s,b,M?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,zo,Bn===d);var G;if(U!==0){var Y=We(W);do Y-=U,G=$e.children[Y];while(G&&(oe(G,"display")==="none"||G===he))}if(U===0||G===d)return T(!1);Bn=d,Io=U;var q=d.nextElementSibling,H=!1;H=U===1;var ae=Jo(Fe,i,W,n,d,s,o,H);if(ae!==!1)return(ae===1||ae===-1)&&(H=ae===1),Di=!0,setTimeout(Hs,30),w(),H&&!q?i.appendChild(W):d.parentNode.insertBefore(W,H?q:d),z&&Ba(z,0,ce-z.scrollTop),$e=W.parentNode,_!==void 0&&!zo&&(qo=Math.abs(_-je(d)[J])),N(),T(!0)}if(i.contains(W))return T(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ye(document,"mousemove",this._onTouchMove),ye(document,"touchmove",this._onTouchMove),ye(document,"pointermove",this._onTouchMove),ye(document,"dragover",En),ye(document,"mousemove",En),ye(document,"touchmove",En)},_offUpEvents:function(){var o=this.el.ownerDocument;ye(o,"mouseup",this._onDrop),ye(o,"touchend",this._onDrop),ye(o,"pointerup",this._onDrop),ye(o,"touchcancel",this._onDrop),ye(document,"selectstart",this)},_onDrop:function(o){var i=this.el,d=this.options;if(Pt=We(W),sn=We(W,d.draggable),Et("drop",this,{evt:o}),$e=W&&W.parentNode,Pt=We(W),sn=We(W,d.draggable),fe.eventCanceled){this._nulling();return}jn=!1,zo=!1,Co=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Pi(this.cloneId),Pi(this._dragStartId),this.nativeDraggable&&(ye(document,"drop",this),ye(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),So&&oe(document.body,"user-select",""),oe(W,"transform",""),o&&(ho&&(o.cancelable&&o.preventDefault(),!d.dropBubble&&o.stopPropagation()),he&&he.parentNode&&he.parentNode.removeChild(he),(Fe===$e||dt&&dt.lastPutMode!=="clone")&&Je&&Je.parentNode&&Je.parentNode.removeChild(Je),W&&(this.nativeDraggable&&ye(W,"dragend",this),Ci(W),W.style["will-change"]="",ho&&!jn&&ze(W,dt?dt.options.ghostClass:this.options.ghostClass,!1),ze(W,this.options.chosenClass,!1),bt({sortable:this,name:"unchoose",toEl:$e,newIndex:null,newDraggableIndex:null,originalEvent:o}),Fe!==$e?(Pt>=0&&(bt({rootEl:$e,name:"add",toEl:$e,fromEl:Fe,originalEvent:o}),bt({sortable:this,name:"remove",toEl:$e,originalEvent:o}),bt({rootEl:$e,name:"sort",toEl:$e,fromEl:Fe,originalEvent:o}),bt({sortable:this,name:"sort",toEl:$e,originalEvent:o})),dt&&dt.save()):Pt!==Ln&&Pt>=0&&(bt({sortable:this,name:"update",toEl:$e,originalEvent:o}),bt({sortable:this,name:"sort",toEl:$e,originalEvent:o})),fe.active&&((Pt==null||Pt===-1)&&(Pt=Ln,sn=xo),bt({sortable:this,name:"end",toEl:$e,originalEvent:o}),this.save()))),this._nulling()},_nulling:function(){Et("nulling",this),Fe=W=$e=he=xn=Je=Xo=dn=Sn=Kt=ho=Pt=sn=Ln=xo=Bn=Io=dt=Go=fe.dragged=fe.ghost=fe.clone=fe.active=null,oi.forEach(function(o){o.checked=!0}),oi.length=Ei=xi=0},handleEvent:function(o){switch(o.type){case"drop":case"dragend":this._onDrop(o);break;case"dragenter":case"dragover":W&&(this._onDragOver(o),Ws(o));break;case"selectstart":o.preventDefault();break}},toArray:function(){for(var o=[],i,d=this.el.children,n=0,s=d.length,t=this.options;n<s;n++)i=d[n],Nt(i,t.draggable,this.el,!1)&&o.push(i.getAttribute(t.dataIdAttr)||_s(i));return o},sort:function(o,i){var d={},n=this.el;this.toArray().forEach(function(s,t){var a=n.children[t];Nt(a,this.options.draggable,n,!1)&&(d[s]=a)},this),i&&this.captureAnimationState(),o.forEach(function(s){d[s]&&(n.removeChild(d[s]),n.appendChild(d[s]))}),i&&this.animateAll()},save:function(){var o=this.options.store;o&&o.set&&o.set(this)},closest:function(o,i){return Nt(o,i||this.options.draggable,this.el,!1)},option:function(o,i){var d=this.options;if(i===void 0)return d[o];var n=wo.modifyOption(this,o,i);typeof n<"u"?d[o]=n:d[o]=i,o==="group"&&La(d)},destroy:function(){Et("destroy",this);var o=this.el;o[vt]=null,ye(o,"mousedown",this._onTapStart),ye(o,"touchstart",this._onTapStart),ye(o,"pointerdown",this._onTapStart),this.nativeDraggable&&(ye(o,"dragover",this),ye(o,"dragenter",this)),Array.prototype.forEach.call(o.querySelectorAll("[draggable]"),function(i){i.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),ni.splice(ni.indexOf(this.el),1),this.el=o=null},_hideClone:function(){if(!dn){if(Et("hideClone",this),fe.eventCanceled)return;oe(Je,"display","none"),this.options.removeCloneOnHide&&Je.parentNode&&Je.parentNode.removeChild(Je),dn=!0}},_showClone:function(o){if(o.lastPutMode!=="clone"){this._hideClone();return}if(dn){if(Et("showClone",this),fe.eventCanceled)return;W.parentNode==Fe&&!this.options.group.revertClone?Fe.insertBefore(Je,W):xn?Fe.insertBefore(Je,xn):Fe.appendChild(Je),this.options.group.revertClone&&this.animate(W,Je),oe(Je,"display",""),dn=!1}}};function Ws(u){u.dataTransfer&&(u.dataTransfer.dropEffect="move"),u.cancelable&&u.preventDefault()}function Jo(u,o,i,d,n,s,t,a){var l,c=u[vt],v=c.options.onMove,m;return window.CustomEvent&&!tn&&!Ao?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=o,l.from=u,l.dragged=i,l.draggedRect=d,l.related=n||o,l.relatedRect=s||je(o),l.willInsertAfter=a,l.originalEvent=t,u.dispatchEvent(l),v&&(m=v.call(c,l,t)),m}function Ci(u){u.draggable=!1}function Hs(){Di=!1}function Ys(u,o,i){var d=je(Qn(i.el,0,i.options,!0)),n=10;return o?u.clientX<d.left-n||u.clientY<d.top&&u.clientX<d.right:u.clientY<d.top-n||u.clientY<d.bottom&&u.clientX<d.left}function Xs(u,o,i){var d=je(Ui(i.el,i.options.draggable)),n=10;return o?u.clientX>d.right+n||u.clientX<=d.right&&u.clientY>d.bottom&&u.clientX>=d.left:u.clientX>d.right&&u.clientY>d.top||u.clientX<=d.right&&u.clientY>d.bottom+n}function qs(u,o,i,d,n,s,t,a){var l=d?u.clientY:u.clientX,c=d?i.height:i.width,v=d?i.top:i.left,m=d?i.bottom:i.right,h=!1;if(!t){if(a&&qo<c*n){if(!Co&&(Io===1?l>v+c*s/2:l<m-c*s/2)&&(Co=!0),Co)h=!0;else if(Io===1?l<v+qo:l>m-qo)return-Io}else if(l>v+c*(1-n)/2&&l<m-c*(1-n)/2)return Zs(o)}return h=h||t,h&&(l<v+c*s/2||l>m-c*s/2)?l>v+c/2?1:-1:0}function Zs(u){return We(W)<We(u)?1:-1}function _s(u){for(var o=u.tagName+u.className+u.src+u.href+u.textContent,i=o.length,d=0;i--;)d+=o.charCodeAt(i);return d.toString(36)}function ed(u){oi.length=0;for(var o=u.getElementsByTagName("input"),i=o.length;i--;){var d=o[i];d.checked&&oi.push(d)}}function Zo(u){return setTimeout(u,0)}function Pi(u){return clearTimeout(u)}ai&&Ee(document,"touchmove",function(u){(fe.active||jn)&&u.cancelable&&u.preventDefault()});fe.utils={on:Ee,off:ye,css:oe,find:Ma,is:function(o,i){return!!Nt(o,i,o,!1)},extend:Ns,throttle:Na,closest:Nt,toggleClass:ze,clone:ki,index:We,nextTick:Zo,cancelNextTick:Pi,detectDirection:ja,getChild:Qn};fe.get=function(u){return u[vt]};fe.mount=function(){for(var u=arguments.length,o=new Array(u),i=0;i<u;i++)o[i]=arguments[i];o[0].constructor===Array&&(o=o[0]),o.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&&(fe.utils=Wt(Wt({},fe.utils),d.utils)),wo.mount(d)})};fe.create=function(u,o){return new fe(u,o)};fe.version=Us;var qe=[],yo,Ri,Vi=!1,Ai,wi,ii,bo;function td(){function u(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this))}return u.prototype={dragStarted:function(i){var d=i.originalEvent;this.sortable.nativeDraggable?Ee(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ee(document,"pointermove",this._handleFallbackAutoScroll):d.touches?Ee(document,"touchmove",this._handleFallbackAutoScroll):Ee(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(i){var d=i.originalEvent;!this.options.dragOverBubble&&!d.rootEl&&this._handleAutoScroll(d)},drop:function(){this.sortable.nativeDraggable?ye(document,"dragover",this._handleAutoScroll):(ye(document,"pointermove",this._handleFallbackAutoScroll),ye(document,"touchmove",this._handleFallbackAutoScroll),ye(document,"mousemove",this._handleFallbackAutoScroll)),Ta(),_o(),Bs()},nulling:function(){ii=Ri=yo=Vi=bo=Ai=wi=null,qe.length=0},_handleFallbackAutoScroll:function(i){this._handleAutoScroll(i,!0)},_handleAutoScroll:function(i,d){var n=this,s=(i.touches?i.touches[0]:i).clientX,t=(i.touches?i.touches[0]:i).clientY,a=document.elementFromPoint(s,t);if(ii=i,d||this.options.forceAutoScrollFallback||Ao||tn||So){Oi(i,this.options,a,d);var l=un(a,!0);Vi&&(!bo||s!==Ai||t!==wi)&&(bo&&Ta(),bo=setInterval(function(){var c=un(document.elementFromPoint(s,t),!0);c!==l&&(l=c,_o()),Oi(i,n.options,c,d)},10),Ai=s,wi=t)}else{if(!this.options.bubbleScroll||un(a,!0)===Jt()){_o();return}Oi(i,this.options,un(a,!1),!1)}}},kt(u,{pluginName:"scroll",initializeByDefault:!0})}function _o(){qe.forEach(function(u){clearInterval(u.pid)}),qe=[]}function Ta(){clearInterval(bo)}var Oi=Na(function(u,o,i,d){if(o.scroll){var n=(u.touches?u.touches[0]:u).clientX,s=(u.touches?u.touches[0]:u).clientY,t=o.scrollSensitivity,a=o.scrollSpeed,l=Jt(),c=!1,v;Ri!==i&&(Ri=i,_o(),yo=o.scroll,v=o.scrollFn,yo===!0&&(yo=un(i,!0)));var m=0,h=yo;do{var b=h,S=je(b),E=S.top,I=S.bottom,w=S.left,T=S.right,N=S.width,V=S.height,F=void 0,U=void 0,_=b.scrollWidth,te=b.scrollHeight,M=oe(b),J=b.scrollLeft,z=b.scrollTop;b===l?(F=N<_&&(M.overflowX==="auto"||M.overflowX==="scroll"||M.overflowX==="visible"),U=V<te&&(M.overflowY==="auto"||M.overflowY==="scroll"||M.overflowY==="visible")):(F=N<_&&(M.overflowX==="auto"||M.overflowX==="scroll"),U=V<te&&(M.overflowY==="auto"||M.overflowY==="scroll"));var ce=F&&(Math.abs(T-n)<=t&&J+N<_)-(Math.abs(w-n)<=t&&!!J),G=U&&(Math.abs(I-s)<=t&&z+V<te)-(Math.abs(E-s)<=t&&!!z);if(!qe[m])for(var Y=0;Y<=m;Y++)qe[Y]||(qe[Y]={});(qe[m].vx!=ce||qe[m].vy!=G||qe[m].el!==b)&&(qe[m].el=b,qe[m].vx=ce,qe[m].vy=G,clearInterval(qe[m].pid),(ce!=0||G!=0)&&(c=!0,qe[m].pid=setInterval((function(){d&&this.layer===0&&fe.active._onTouchMove(ii);var q=qe[this.layer].vy?qe[this.layer].vy*a:0,H=qe[this.layer].vx?qe[this.layer].vx*a:0;typeof v=="function"&&v.call(fe.dragged.parentNode[vt],H,q,u,ii,qe[this.layer].el)!=="continue"||Ba(qe[this.layer].el,H,q)}).bind({layer:m}),24))),m++}while(o.bubbleScroll&&h!==l&&(h=un(h,!1)));Vi=c}},30),za=function(o){var i=o.originalEvent,d=o.putSortable,n=o.dragEl,s=o.activeSortable,t=o.dispatchSortableEvent,a=o.hideGhostForTarget,l=o.unhideGhostForTarget;if(i){var c=d||s;a();var v=i.changedTouches&&i.changedTouches.length?i.changedTouches[0]:i,m=document.elementFromPoint(v.clientX,v.clientY);l(),c&&!c.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:d}))}};function Ki(){}Ki.prototype={startIndex:null,dragStart:function(o){var i=o.oldDraggableIndex;this.startIndex=i},onSpill:function(o){var i=o.dragEl,d=o.putSortable;this.sortable.captureAnimationState(),d&&d.captureAnimationState();var n=Qn(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(i,n):this.sortable.el.appendChild(i),this.sortable.animateAll(),d&&d.animateAll()},drop:za};kt(Ki,{pluginName:"revertOnSpill"});function Mi(){}Mi.prototype={onSpill:function(o){var i=o.dragEl,d=o.putSortable,n=d||this.sortable;n.captureAnimationState(),i.parentNode&&i.parentNode.removeChild(i),n.animateAll()},drop:za};kt(Mi,{pluginName:"removeOnSpill"});var Ut;function nd(){function u(){this.defaults={swapClass:"sortable-swap-highlight"}}return u.prototype={dragStart:function(i){var d=i.dragEl;Ut=d},dragOverValid:function(i){var d=i.completed,n=i.target,s=i.onMove,t=i.activeSortable,a=i.changed,l=i.cancel;if(t.options.swap){var c=this.sortable.el,v=this.options;if(n&&n!==c){var m=Ut;s(n)!==!1?(ze(n,v.swapClass,!0),Ut=n):Ut=null,m&&m!==Ut&&ze(m,v.swapClass,!1)}a(),d(!0),l()}},drop:function(i){var d=i.activeSortable,n=i.putSortable,s=i.dragEl,t=n||this.sortable,a=this.options;Ut&&ze(Ut,a.swapClass,!1),Ut&&(a.swap||n&&n.options.swap)&&s!==Ut&&(t.captureAnimationState(),t!==d&&d.captureAnimationState(),od(s,Ut),t.animateAll(),t!==d&&d.animateAll())},nulling:function(){Ut=null}},kt(u,{pluginName:"swap",eventProperties:function(){return{swapItem:Ut}}})}function od(u,o){var i=u.parentNode,d=o.parentNode,n,s;!i||!d||i.isEqualNode(o)||d.isEqualNode(u)||(n=We(u),s=We(o),i.isEqualNode(d)&&n<s&&s++,i.insertBefore(o,i.children[n]),d.insertBefore(u,d.children[s]))}var me=[],Dt=[],vo,Mt,po=!1,xt=!1,Fn=!1,ke,mo,Wo;function id(){function u(o){for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));o.options.supportPointer?Ee(document,"pointerup",this._deselectMultiDrag):(Ee(document,"mouseup",this._deselectMultiDrag),Ee(document,"touchend",this._deselectMultiDrag)),Ee(document,"keydown",this._checkKeyDown),Ee(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,s){var t="";me.length&&Mt===o?me.forEach(function(a,l){t+=(l?", ":"")+a.textContent}):t=s.textContent,n.setData("Text",t)}}}return u.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(i){var d=i.dragEl;ke=d},delayEnded:function(){this.isMultiDrag=~me.indexOf(ke)},setupClone:function(i){var d=i.sortable,n=i.cancel;if(this.isMultiDrag){for(var s=0;s<me.length;s++)Dt.push(ki(me[s])),Dt[s].sortableIndex=me[s].sortableIndex,Dt[s].draggable=!1,Dt[s].style["will-change"]="",ze(Dt[s],this.options.selectedClass,!1),me[s]===ke&&ze(Dt[s],this.options.chosenClass,!1);d._hideClone(),n()}},clone:function(i){var d=i.sortable,n=i.rootEl,s=i.dispatchSortableEvent,t=i.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||me.length&&Mt===d&&(Da(!0,n),s("clone"),t()))},showClone:function(i){var d=i.cloneNowShown,n=i.rootEl,s=i.cancel;this.isMultiDrag&&(Da(!1,n),Dt.forEach(function(t){oe(t,"display","")}),d(),Wo=!1,s())},hideClone:function(i){var d=this;i.sortable;var n=i.cloneNowHidden,s=i.cancel;this.isMultiDrag&&(Dt.forEach(function(t){oe(t,"display","none"),d.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),Wo=!0,s())},dragStartGlobal:function(i){i.sortable,!this.isMultiDrag&&Mt&&Mt.multiDrag._deselectMultiDrag(),me.forEach(function(d){d.sortableIndex=We(d)}),me=me.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),Fn=!0},dragStarted:function(i){var d=this,n=i.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){me.forEach(function(t){t!==ke&&oe(t,"position","absolute")});var s=je(ke,!1,!0,!0);me.forEach(function(t){t!==ke&&Ca(t,s)}),xt=!0,po=!0}n.animateAll(function(){xt=!1,po=!1,d.options.animation&&me.forEach(function(t){bi(t)}),d.options.sort&&Ho()})}},dragOver:function(i){var d=i.target,n=i.completed,s=i.cancel;xt&&~me.indexOf(d)&&(n(!1),s())},revert:function(i){var d=i.fromSortable,n=i.rootEl,s=i.sortable,t=i.dragRect;me.length>1&&(me.forEach(function(a){s.addAnimationState({target:a,rect:xt?je(a):t}),bi(a),a.fromRect=t,d.removeAnimationState(a)}),xt=!1,ad(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(i){var d=i.sortable,n=i.isOwner,s=i.insertion,t=i.activeSortable,a=i.parentEl,l=i.putSortable,c=this.options;if(s){if(n&&t._hideClone(),po=!1,c.animation&&me.length>1&&(xt||!n&&!t.options.sort&&!l)){var v=je(ke,!1,!0,!0);me.forEach(function(h){h!==ke&&(Ca(h,v),a.appendChild(h))}),xt=!0}if(!n)if(xt||Ho(),me.length>1){var m=Wo;t._showClone(d),t.options.animation&&!Wo&&m&&Dt.forEach(function(h){t.addAnimationState({target:h,rect:mo}),h.fromRect=mo,h.thisAnimationDuration=null})}else t._showClone(d)}},dragOverAnimationCapture:function(i){var d=i.dragRect,n=i.isOwner,s=i.activeSortable;if(me.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!n&&s.multiDrag.isMultiDrag){mo=kt({},d);var t=In(ke,!0);mo.top-=t.f,mo.left-=t.e}},dragOverAnimationComplete:function(){xt&&(xt=!1,Ho())},drop:function(i){var d=i.originalEvent,n=i.rootEl,s=i.parentEl,t=i.sortable,a=i.dispatchSortableEvent,l=i.oldIndex,c=i.putSortable,v=c||this.sortable;if(d){var m=this.options,h=s.children;if(!Fn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),ze(ke,m.selectedClass,!~me.indexOf(ke)),~me.indexOf(ke))me.splice(me.indexOf(ke),1),vo=null,go({sortable:t,rootEl:n,name:"deselect",targetEl:ke});else{if(me.push(ke),go({sortable:t,rootEl:n,name:"select",targetEl:ke}),d.shiftKey&&vo&&t.el.contains(vo)){var b=We(vo),S=We(ke);if(~b&&~S&&b!==S){var E,I;for(S>b?(I=b,E=S):(I=S,E=b+1);I<E;I++)~me.indexOf(h[I])||(ze(h[I],m.selectedClass,!0),me.push(h[I]),go({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else vo=ke;Mt=v}if(Fn&&this.isMultiDrag){if(xt=!1,(s[vt].options.sort||s!==n)&&me.length>1){var w=je(ke),T=We(ke,":not(."+this.options.selectedClass+")");if(!po&&m.animation&&(ke.thisAnimationDuration=null),v.captureAnimationState(),!po&&(m.animation&&(ke.fromRect=w,me.forEach(function(V){if(V.thisAnimationDuration=null,V!==ke){var F=xt?je(V):w;V.fromRect=F,v.addAnimationState({target:V,rect:F})}})),Ho(),me.forEach(function(V){h[T]?s.insertBefore(V,h[T]):s.appendChild(V),T++}),l===We(ke))){var N=!1;me.forEach(function(V){if(V.sortableIndex!==We(V)){N=!0;return}}),N&&a("update")}me.forEach(function(V){bi(V)}),v.animateAll()}Mt=v}(n===s||c&&c.lastPutMode!=="clone")&&Dt.forEach(function(V){V.parentNode&&V.parentNode.removeChild(V)})}},nullingGlobal:function(){this.isMultiDrag=Fn=!1,Dt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),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)},_deselectMultiDrag:function(i){if(!(typeof Fn<"u"&&Fn)&&Mt===this.sortable&&!(i&&Nt(i.target,this.options.draggable,this.sortable.el,!1))&&!(i&&i.button!==0))for(;me.length;){var d=me[0];ze(d,this.options.selectedClass,!1),me.shift(),go({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:d})}},_checkKeyDown:function(i){i.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(i){i.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},kt(u,{pluginName:"multiDrag",utils:{select:function(i){var d=i.parentNode[vt];!d||!d.options.multiDrag||~me.indexOf(i)||(Mt&&Mt!==d&&(Mt.multiDrag._deselectMultiDrag(),Mt=d),ze(i,d.options.selectedClass,!0),me.push(i))},deselect:function(i){var d=i.parentNode[vt],n=me.indexOf(i);!d||!d.options.multiDrag||!~n||(ze(i,d.options.selectedClass,!1),me.splice(n,1))}},eventProperties:function(){var i=this,d=[],n=[];return me.forEach(function(s){d.push({multiDragElement:s,index:s.sortableIndex});var t;xt&&s!==ke?t=-1:xt?t=We(s,":not(."+i.options.selectedClass+")"):t=We(s),n.push({multiDragElement:s,index:t})}),{items:Ts(me),clones:[].concat(Dt),oldIndicies:d,newIndicies:n}},optionListeners:{multiDragKey:function(i){return i=i.toLowerCase(),i==="ctrl"?i="Control":i.length>1&&(i=i.charAt(0).toUpperCase()+i.substr(1)),i}}})}function ad(u,o){me.forEach(function(i,d){var n=o.children[i.sortableIndex+(u?Number(d):0)];n?o.insertBefore(i,n):o.appendChild(i)})}function Da(u,o){Dt.forEach(function(i,d){var n=o.children[i.sortableIndex+(u?Number(d):0)];n?o.insertBefore(i,n):o.appendChild(i)})}function Ho(){me.forEach(function(u){u!==ke&&u.parentNode&&u.parentNode.removeChild(u)})}fe.mount(new td);fe.mount(Mi,Ki);const rd=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:id,Sortable:fe,Swap:nd,default:fe},Symbol.toStringTag,{value:"Module"})),ld=es(rd);(function(u,o){(function(d,n){u.exports=n(ns,ld)})(typeof self<"u"?self:os,function(i,d){return function(n){var s={};function t(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return n[a].call(l.exports,l,l.exports,t),l.l=!0,l.exports}return t.m=n,t.c=s,t.d=function(a,l,c){t.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},t.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,l){if(l&1&&(a=t(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var v in a)t.d(c,v,(function(m){return a[m]}).bind(null,v));return c},t.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(l,"a",l),l},t.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},t.p="",t(t.s="fb15")}({"00ee":function(n,s,t){var a=t("b622"),l=a("toStringTag"),c={};c[l]="z",n.exports=String(c)==="[object z]"},"0366":function(n,s,t){var a=t("1c0b");n.exports=function(l,c,v){if(a(l),c===void 0)return l;switch(v){case 0:return function(){return l.call(c)};case 1:return function(m){return l.call(c,m)};case 2:return function(m,h){return l.call(c,m,h)};case 3:return function(m,h,b){return l.call(c,m,h,b)}}return function(){return l.apply(c,arguments)}}},"057f":function(n,s,t){var a=t("fc6a"),l=t("241c").f,c={}.toString,v=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return l(h)}catch{return v.slice()}};n.exports.f=function(b){return v&&c.call(b)=="[object Window]"?m(b):l(a(b))}},"06cf":function(n,s,t){var a=t("83ab"),l=t("d1e7"),c=t("5c6c"),v=t("fc6a"),m=t("c04e"),h=t("5135"),b=t("0cfb"),S=Object.getOwnPropertyDescriptor;s.f=a?S:function(I,w){if(I=v(I),w=m(w,!0),b)try{return S(I,w)}catch{}if(h(I,w))return c(!l.f.call(I,w),I[w])}},"0cfb":function(n,s,t){var a=t("83ab"),l=t("d039"),c=t("cc12");n.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,s,t){var a=t("23e7"),l=t("d58f").left,c=t("a640"),v=t("ae40"),m=c("reduce"),h=v("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return l(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,s,t){var a=t("c6b6"),l=t("9263");n.exports=function(c,v){var m=c.exec;if(typeof m=="function"){var h=m.call(c,v);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,v)}},"159b":function(n,s,t){var a=t("da84"),l=t("fdbc"),c=t("17c2"),v=t("9112");for(var m in l){var h=a[m],b=h&&h.prototype;if(b&&b.forEach!==c)try{v(b,"forEach",c)}catch{b.forEach=c}}},"17c2":function(n,s,t){var a=t("b727").forEach,l=t("a640"),c=t("ae40"),v=l("forEach"),m=c("forEach");n.exports=!v||!m?function(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,s,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,s){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,s,t){var a=t("b622"),l=a("iterator"),c=!1;try{var v=0,m={next:function(){return{done:!!v++}},return:function(){c=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,b){if(!b&&!c)return!1;var S=!1;try{var E={};E[l]=function(){return{next:function(){return{done:S=!0}}}},h(E)}catch{}return S}},"1d80":function(n,s){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,s,t){var a=t("d039"),l=t("b622"),c=t("2d00"),v=l("species");n.exports=function(m){return c>=51||!a(function(){var h=[],b=h.constructor={};return b[v]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,s,t){var a=t("a691"),l=Math.max,c=Math.min;n.exports=function(v,m){var h=a(v);return h<0?l(h+m,0):c(h,m)}},"23e7":function(n,s,t){var a=t("da84"),l=t("06cf").f,c=t("9112"),v=t("6eeb"),m=t("ce4e"),h=t("e893"),b=t("94ca");n.exports=function(S,E){var I=S.target,w=S.global,T=S.stat,N,V,F,U,_,te;if(w?V=a:T?V=a[I]||m(I,{}):V=(a[I]||{}).prototype,V)for(F in E){if(_=E[F],S.noTargetGet?(te=l(V,F),U=te&&te.value):U=V[F],N=b(w?F:I+(T?".":"#")+F,S.forced),!N&&U!==void 0){if(typeof _==typeof U)continue;h(_,U)}(S.sham||U&&U.sham)&&c(_,"sham",!0),v(V,F,_,S)}}},"241c":function(n,s,t){var a=t("ca84"),l=t("7839"),c=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(m){return a(m,c)}},"25f0":function(n,s,t){var a=t("6eeb"),l=t("825a"),c=t("d039"),v=t("ad6d"),m="toString",h=RegExp.prototype,b=h[m],S=c(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),E=b.name!=m;(S||E)&&a(RegExp.prototype,m,function(){var w=l(this),T=String(w.source),N=w.flags,V=String(N===void 0&&w instanceof RegExp&&!("flags"in h)?v.call(w):N);return"/"+T+"/"+V},{unsafe:!0})},"2ca0":function(n,s,t){var a=t("23e7"),l=t("06cf").f,c=t("50c4"),v=t("5a34"),m=t("1d80"),h=t("ab13"),b=t("c430"),S="".startsWith,E=Math.min,I=h("startsWith"),w=!b&&!I&&!!function(){var T=l(String.prototype,"startsWith");return T&&!T.writable}();a({target:"String",proto:!0,forced:!w&&!I},{startsWith:function(N){var V=String(m(this));v(N);var F=c(E(arguments.length>1?arguments[1]:void 0,V.length)),U=String(N);return S?S.call(V,U,F):V.slice(F,F+U.length)===U}})},"2d00":function(n,s,t){var a=t("da84"),l=t("342f"),c=a.process,v=c&&c.versions,m=v&&v.v8,h,b;m?(h=m.split("."),b=h[0]+h[1]):l&&(h=l.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=l.match(/Chrome\/(\d+)/),h&&(b=h[1]))),n.exports=b&&+b},"342f":function(n,s,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,s,t){var a=t("f5df"),l=t("3f8c"),c=t("b622"),v=c("iterator");n.exports=function(m){if(m!=null)return m[v]||m["@@iterator"]||l[a(m)]}},"37e8":function(n,s,t){var a=t("83ab"),l=t("9bf2"),c=t("825a"),v=t("df75");n.exports=a?Object.defineProperties:function(h,b){c(h);for(var S=v(b),E=S.length,I=0,w;E>I;)l.f(h,w=S[I++],b[w]);return h}},"3bbe":function(n,s,t){var a=t("861d");n.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(n,s,t){var a=t("6547").charAt,l=t("69f3"),c=t("7dd0"),v="String Iterator",m=l.set,h=l.getterFor(v);c(String,"String",function(b){m(this,{type:v,string:String(b),index:0})},function(){var S=h(this),E=S.string,I=S.index,w;return I>=E.length?{value:void 0,done:!0}:(w=a(E,I),S.index+=w.length,{value:w,done:!1})})},"3f8c":function(n,s){n.exports={}},4160:function(n,s,t){var a=t("23e7"),l=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(n,s,t){var a=t("da84");n.exports=a},"44ad":function(n,s,t){var a=t("d039"),l=t("c6b6"),c="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(v){return l(v)=="String"?c.call(v,""):Object(v)}:Object},"44d2":function(n,s,t){var a=t("b622"),l=t("7c73"),c=t("9bf2"),v=a("unscopables"),m=Array.prototype;m[v]==null&&c.f(m,v,{configurable:!0,value:l(null)}),n.exports=function(h){m[v][h]=!0}},"44e7":function(n,s,t){var a=t("861d"),l=t("c6b6"),c=t("b622"),v=c("match");n.exports=function(m){var h;return a(m)&&((h=m[v])!==void 0?!!h:l(m)=="RegExp")}},4930:function(n,s,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,s,t){var a=t("fc6a"),l=t("50c4"),c=t("23cb"),v=function(m){return function(h,b,S){var E=a(h),I=l(E.length),w=c(S,I),T;if(m&&b!=b){for(;I>w;)if(T=E[w++],T!=T)return!0}else for(;I>w;w++)if((m||w in E)&&E[w]===b)return m||w||0;return!m&&-1}};n.exports={includes:v(!0),indexOf:v(!1)}},"4de4":function(n,s,t){var a=t("23e7"),l=t("b727").filter,c=t("1dde"),v=t("ae40"),m=c("filter"),h=v("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,s,t){var a=t("0366"),l=t("7b0b"),c=t("9bdd"),v=t("e95a"),m=t("50c4"),h=t("8418"),b=t("35a1");n.exports=function(E){var I=l(E),w=typeof this=="function"?this:Array,T=arguments.length,N=T>1?arguments[1]:void 0,V=N!==void 0,F=b(I),U=0,_,te,M,J,z,ce;if(V&&(N=a(N,T>2?arguments[2]:void 0,2)),F!=null&&!(w==Array&&v(F)))for(J=F.call(I),z=J.next,te=new w;!(M=z.call(J)).done;U++)ce=V?c(J,N,[M.value,U],!0):M.value,h(te,U,ce);else for(_=m(I.length),te=new w(_);_>U;U++)ce=V?N(I[U],U):I[U],h(te,U,ce);return te.length=U,te}},"4fad":function(n,s,t){var a=t("23e7"),l=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(v){return l(v)}})},"50c4":function(n,s,t){var a=t("a691"),l=Math.min;n.exports=function(c){return c>0?l(a(c),9007199254740991):0}},5135:function(n,s){var t={}.hasOwnProperty;n.exports=function(a,l){return t.call(a,l)}},5319:function(n,s,t){var a=t("d784"),l=t("825a"),c=t("7b0b"),v=t("50c4"),m=t("a691"),h=t("1d80"),b=t("8aa5"),S=t("14c3"),E=Math.max,I=Math.min,w=Math.floor,T=/\$([$&'`]|\d\d?|<[^>]*>)/g,N=/\$([$&'`]|\d\d?)/g,V=function(F){return F===void 0?F:String(F)};a("replace",2,function(F,U,_,te){var M=te.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,J=te.REPLACE_KEEPS_$0,z=M?"$":"$0";return[function(Y,q){var H=h(this),ae=Y==null?void 0:Y[F];return ae!==void 0?ae.call(Y,H,q):U.call(String(H),Y,q)},function(G,Y){if(!M&&J||typeof Y=="string"&&Y.indexOf(z)===-1){var q=_(U,G,this,Y);if(q.done)return q.value}var H=l(G),ae=String(this),be=typeof Y=="function";be||(Y=String(Y));var Oe=H.global;if(Oe){var Ne=H.unicode;H.lastIndex=0}for(var Re=[];;){var Z=S(H,ae);if(Z===null||(Re.push(Z),!Oe))break;var He=String(Z[0]);He===""&&(H.lastIndex=b(ae,v(H.lastIndex),Ne))}for(var Ke="",Le=0,Ve=0;Ve<Re.length;Ve++){Z=Re[Ve];for(var Me=String(Z[0]),pt=E(I(m(Z.index),ae.length),0),nt=[],Bt=1;Bt<Z.length;Bt++)nt.push(V(Z[Bt]));var ut=Z.groups;if(be){var St=[Me].concat(nt,pt,ae);ut!==void 0&&St.push(ut);var Qe=String(Y.apply(void 0,St))}else Qe=ce(Me,ae,pt,nt,ut,Y);pt>=Le&&(Ke+=ae.slice(Le,pt)+Qe,Le=pt+Me.length)}return Ke+ae.slice(Le)}];function ce(G,Y,q,H,ae,be){var Oe=q+G.length,Ne=H.length,Re=N;return ae!==void 0&&(ae=c(ae),Re=T),U.call(be,Re,function(Z,He){var Ke;switch(He.charAt(0)){case"$":return"$";case"&":return G;case"`":return Y.slice(0,q);case"'":return Y.slice(Oe);case"<":Ke=ae[He.slice(1,-1)];break;default:var Le=+He;if(Le===0)return Z;if(Le>Ne){var Ve=w(Le/10);return Ve===0?Z:Ve<=Ne?H[Ve-1]===void 0?He.charAt(1):H[Ve-1]+He.charAt(1):Z}Ke=H[Le-1]}return Ke===void 0?"":Ke})}})},5692:function(n,s,t){var a=t("c430"),l=t("c6cd");(n.exports=function(c,v){return l[c]||(l[c]=v!==void 0?v:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,s,t){var a=t("d066"),l=t("241c"),c=t("7418"),v=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var b=l.f(v(h)),S=c.f;return S?b.concat(S(h)):b}},"5a34":function(n,s,t){var a=t("44e7");n.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(n,s){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,s,t){var a=t("23e7"),l=t("a2bf"),c=t("7b0b"),v=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var E=c(this),I=v(E.length),w;return m(S),w=h(E,0),w.length=l(w,E,E,I,0,1,S,arguments.length>1?arguments[1]:void 0),w}})},6547:function(n,s,t){var a=t("a691"),l=t("1d80"),c=function(v){return function(m,h){var b=String(l(m)),S=a(h),E=b.length,I,w;return S<0||S>=E?v?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===E||(w=b.charCodeAt(S+1))<56320||w>57343?v?b.charAt(S):I:v?b.slice(S,S+2):(I-55296<<10)+(w-56320)+65536)}};n.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(n,s,t){var a=t("861d"),l=t("e8b5"),c=t("b622"),v=c("species");n.exports=function(m,h){var b;return l(m)&&(b=m.constructor,typeof b=="function"&&(b===Array||l(b.prototype))?b=void 0:a(b)&&(b=b[v],b===null&&(b=void 0))),new(b===void 0?Array:b)(h===0?0:h)}},"69f3":function(n,s,t){var a=t("7f9a"),l=t("da84"),c=t("861d"),v=t("9112"),m=t("5135"),h=t("f772"),b=t("d012"),S=l.WeakMap,E,I,w,T=function(M){return w(M)?I(M):E(M,{})},N=function(M){return function(J){var z;if(!c(J)||(z=I(J)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return z}};if(a){var V=new S,F=V.get,U=V.has,_=V.set;E=function(M,J){return _.call(V,M,J),J},I=function(M){return F.call(V,M)||{}},w=function(M){return U.call(V,M)}}else{var te=h("state");b[te]=!0,E=function(M,J){return v(M,te,J),J},I=function(M){return m(M,te)?M[te]:{}},w=function(M){return m(M,te)}}n.exports={set:E,get:I,has:w,enforce:T,getterFor:N}},"6eeb":function(n,s,t){var a=t("da84"),l=t("9112"),c=t("5135"),v=t("ce4e"),m=t("8925"),h=t("69f3"),b=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(I,w,T,N){var V=N?!!N.unsafe:!1,F=N?!!N.enumerable:!1,U=N?!!N.noTargetGet:!1;if(typeof T=="function"&&(typeof w=="string"&&!c(T,"name")&&l(T,"name",w),S(T).source=E.join(typeof w=="string"?w:"")),I===a){F?I[w]=T:v(w,T);return}else V?!U&&I[w]&&(F=!0):delete I[w];F?I[w]=T:l(I,w,T)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||m(this)})},"6f53":function(n,s,t){var a=t("83ab"),l=t("df75"),c=t("fc6a"),v=t("d1e7").f,m=function(h){return function(b){for(var S=c(b),E=l(S),I=E.length,w=0,T=[],N;I>w;)N=E[w++],(!a||v.call(S,N))&&T.push(h?[N,S[N]]:S[N]);return T}};n.exports={entries:m(!0),values:m(!1)}},"73d9":function(n,s,t){var a=t("44d2");a("flatMap")},7418:function(n,s){s.f=Object.getOwnPropertySymbols},"746f":function(n,s,t){var a=t("428f"),l=t("5135"),c=t("e538"),v=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});l(h,m)||v(h,m,{value:c.f(m)})}},7839:function(n,s){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,s,t){var a=t("1d80");n.exports=function(l){return Object(a(l))}},"7c73":function(n,s,t){var a=t("825a"),l=t("37e8"),c=t("7839"),v=t("d012"),m=t("1be4"),h=t("cc12"),b=t("f772"),S=">",E="<",I="prototype",w="script",T=b("IE_PROTO"),N=function(){},V=function(M){return E+w+S+M+E+"/"+w+S},F=function(M){M.write(V("")),M.close();var J=M.parentWindow.Object;return M=null,J},U=function(){var M=h("iframe"),J="java"+w+":",z;return M.style.display="none",m.appendChild(M),M.src=String(J),z=M.contentWindow.document,z.open(),z.write(V("document.F=Object")),z.close(),z.F},_,te=function(){try{_=document.domain&&new ActiveXObject("htmlfile")}catch{}te=_?F(_):U();for(var M=c.length;M--;)delete te[I][c[M]];return te()};v[T]=!0,n.exports=Object.create||function(J,z){var ce;return J!==null?(N[I]=a(J),ce=new N,N[I]=null,ce[T]=J):ce=te(),z===void 0?ce:l(ce,z)}},"7dd0":function(n,s,t){var a=t("23e7"),l=t("9ed3"),c=t("e163"),v=t("d2bb"),m=t("d44e"),h=t("9112"),b=t("6eeb"),S=t("b622"),E=t("c430"),I=t("3f8c"),w=t("ae93"),T=w.IteratorPrototype,N=w.BUGGY_SAFARI_ITERATORS,V=S("iterator"),F="keys",U="values",_="entries",te=function(){return this};n.exports=function(M,J,z,ce,G,Y,q){l(z,J,ce);var H=function(Ve){if(Ve===G&&Re)return Re;if(!N&&Ve in Oe)return Oe[Ve];switch(Ve){case F:return function(){return new z(this,Ve)};case U:return function(){return new z(this,Ve)};case _:return function(){return new z(this,Ve)}}return function(){return new z(this)}},ae=J+" Iterator",be=!1,Oe=M.prototype,Ne=Oe[V]||Oe["@@iterator"]||G&&Oe[G],Re=!N&&Ne||H(G),Z=J=="Array"&&Oe.entries||Ne,He,Ke,Le;if(Z&&(He=c(Z.call(new M)),T!==Object.prototype&&He.next&&(!E&&c(He)!==T&&(v?v(He,T):typeof He[V]!="function"&&h(He,V,te)),m(He,ae,!0,!0),E&&(I[ae]=te))),G==U&&Ne&&Ne.name!==U&&(be=!0,Re=function(){return Ne.call(this)}),(!E||q)&&Oe[V]!==Re&&h(Oe,V,Re),I[J]=Re,G)if(Ke={values:H(U),keys:Y?Re:H(F),entries:H(_)},q)for(Le in Ke)(N||be||!(Le in Oe))&&b(Oe,Le,Ke[Le]);else a({target:J,proto:!0,forced:N||be},Ke);return Ke}},"7f9a":function(n,s,t){var a=t("da84"),l=t("8925"),c=a.WeakMap;n.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(n,s,t){var a=t("861d");n.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(n,s,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,s,t){var a=t("c04e"),l=t("9bf2"),c=t("5c6c");n.exports=function(v,m,h){var b=a(m);b in v?l.f(v,b,c(0,h)):v[b]=h}},"861d":function(n,s){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,s,t){var a,l,c;(function(v,m){l=[],a=m,c=typeof a=="function"?a.apply(s,l):a,c!==void 0&&(n.exports=c)})(typeof self<"u"?self:this,function(){function v(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==v&&document.currentScript)return document.currentScript;try{throw new Error}catch(_){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(_.stack)||b.exec(_.stack),E=S&&S[1]||!1,I=S&&S[2]||!1,w=document.location.href.replace(document.location.hash,""),T,N,V,F=document.getElementsByTagName("script");E===w&&(T=document.documentElement.outerHTML,N=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),V=T.replace(N,"$1").trim());for(var U=0;U<F.length;U++)if(F[U].readyState==="interactive"||F[U].src===E||E===w&&F[U].innerHTML&&F[U].innerHTML.trim()===V)return F[U];return null}}return v})},8925:function(n,s,t){var a=t("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),n.exports=a.inspectSource},"8aa5":function(n,s,t){var a=t("6547").charAt;n.exports=function(l,c,v){return c+(v?a(l,c).length:1)}},"8bbf":function(n,s){n.exports=i},"90e3":function(n,s){var t=0,a=Math.random();n.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++t+a).toString(36)}},9112:function(n,s,t){var a=t("83ab"),l=t("9bf2"),c=t("5c6c");n.exports=a?function(v,m,h){return l.f(v,m,c(1,h))}:function(v,m,h){return v[m]=h,v}},9263:function(n,s,t){var a=t("ad6d"),l=t("9f7f"),c=RegExp.prototype.exec,v=String.prototype.replace,m=c,h=function(){var I=/a/,w=/b*/g;return c.call(I,"a"),c.call(w,"a"),I.lastIndex!==0||w.lastIndex!==0}(),b=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||b;E&&(m=function(w){var T=this,N,V,F,U,_=b&&T.sticky,te=a.call(T),M=T.source,J=0,z=w;return _&&(te=te.replace("y",""),te.indexOf("g")===-1&&(te+="g"),z=String(w).slice(T.lastIndex),T.lastIndex>0&&(!T.multiline||T.multiline&&w[T.lastIndex-1]!==`
- `)&&(M="(?: "+M+")",z=" "+z,J++),V=new RegExp("^(?:"+M+")",te)),S&&(V=new RegExp("^"+M+"$(?!\\s)",te)),h&&(N=T.lastIndex),F=c.call(_?V:T,z),_?F?(F.input=F.input.slice(J),F[0]=F[0].slice(J),F.index=T.lastIndex,T.lastIndex+=F[0].length):T.lastIndex=0:h&&F&&(T.lastIndex=T.global?F.index+F[0].length:N),S&&F&&F.length>1&&v.call(F[0],V,function(){for(U=1;U<arguments.length-2;U++)arguments[U]===void 0&&(F[U]=void 0)}),F}),n.exports=m},"94ca":function(n,s,t){var a=t("d039"),l=/#|\.prototype\./,c=function(S,E){var I=m[v(S)];return I==b?!0:I==h?!1:typeof E=="function"?a(E):!!E},v=c.normalize=function(S){return String(S).replace(l,".").toLowerCase()},m=c.data={},h=c.NATIVE="N",b=c.POLYFILL="P";n.exports=c},"99af":function(n,s,t){var a=t("23e7"),l=t("d039"),c=t("e8b5"),v=t("861d"),m=t("7b0b"),h=t("50c4"),b=t("8418"),S=t("65f0"),E=t("1dde"),I=t("b622"),w=t("2d00"),T=I("isConcatSpreadable"),N=9007199254740991,V="Maximum allowed index exceeded",F=w>=51||!l(function(){var M=[];return M[T]=!1,M.concat()[0]!==M}),U=E("concat"),_=function(M){if(!v(M))return!1;var J=M[T];return J!==void 0?!!J:c(M)},te=!F||!U;a({target:"Array",proto:!0,forced:te},{concat:function(J){var z=m(this),ce=S(z,0),G=0,Y,q,H,ae,be;for(Y=-1,H=arguments.length;Y<H;Y++)if(be=Y===-1?z:arguments[Y],_(be)){if(ae=h(be.length),G+ae>N)throw TypeError(V);for(q=0;q<ae;q++,G++)q in be&&b(ce,G,be[q])}else{if(G>=N)throw TypeError(V);b(ce,G++,be)}return ce.length=G,ce}})},"9bdd":function(n,s,t){var a=t("825a");n.exports=function(l,c,v,m){try{return m?c(a(v)[0],v[1]):c(v)}catch(b){var h=l.return;throw h!==void 0&&a(h.call(l)),b}}},"9bf2":function(n,s,t){var a=t("83ab"),l=t("0cfb"),c=t("825a"),v=t("c04e"),m=Object.defineProperty;s.f=a?m:function(b,S,E){if(c(b),S=v(S,!0),c(E),l)try{return m(b,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(b[S]=E.value),b}},"9ed3":function(n,s,t){var a=t("ae93").IteratorPrototype,l=t("7c73"),c=t("5c6c"),v=t("d44e"),m=t("3f8c"),h=function(){return this};n.exports=function(b,S,E){var I=S+" Iterator";return b.prototype=l(a,{next:c(1,E)}),v(b,I,!1,!0),m[I]=h,b}},"9f7f":function(n,s,t){var a=t("d039");function l(c,v){return RegExp(c,v)}s.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(n,s,t){var a=t("e8b5"),l=t("50c4"),c=t("0366"),v=function(m,h,b,S,E,I,w,T){for(var N=E,V=0,F=w?c(w,T,3):!1,U;V<S;){if(V in b){if(U=F?F(b[V],V,h):b[V],I>0&&a(U))N=v(m,h,U,l(U.length),N,I-1)-1;else{if(N>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[N]=U}N++}V++}return N};n.exports=v},a352:function(n,s){n.exports=d},a434:function(n,s,t){var a=t("23e7"),l=t("23cb"),c=t("a691"),v=t("50c4"),m=t("7b0b"),h=t("65f0"),b=t("8418"),S=t("1dde"),E=t("ae40"),I=S("splice"),w=E("splice",{ACCESSORS:!0,0:0,1:2}),T=Math.max,N=Math.min,V=9007199254740991,F="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!w},{splice:function(_,te){var M=m(this),J=v(M.length),z=l(_,J),ce=arguments.length,G,Y,q,H,ae,be;if(ce===0?G=Y=0:ce===1?(G=0,Y=J-z):(G=ce-2,Y=N(T(c(te),0),J-z)),J+G-Y>V)throw TypeError(F);for(q=h(M,Y),H=0;H<Y;H++)ae=z+H,ae in M&&b(q,H,M[ae]);if(q.length=Y,G<Y){for(H=z;H<J-Y;H++)ae=H+Y,be=H+G,ae in M?M[be]=M[ae]:delete M[be];for(H=J;H>J-Y+G;H--)delete M[H-1]}else if(G>Y)for(H=J-Y;H>z;H--)ae=H+Y-1,be=H+G-1,ae in M?M[be]=M[ae]:delete M[be];for(H=0;H<G;H++)M[H+z]=arguments[H+2];return M.length=J-Y+G,q}})},a4d3:function(n,s,t){var a=t("23e7"),l=t("da84"),c=t("d066"),v=t("c430"),m=t("83ab"),h=t("4930"),b=t("fdbf"),S=t("d039"),E=t("5135"),I=t("e8b5"),w=t("861d"),T=t("825a"),N=t("7b0b"),V=t("fc6a"),F=t("c04e"),U=t("5c6c"),_=t("7c73"),te=t("df75"),M=t("241c"),J=t("057f"),z=t("7418"),ce=t("06cf"),G=t("9bf2"),Y=t("d1e7"),q=t("9112"),H=t("6eeb"),ae=t("5692"),be=t("f772"),Oe=t("d012"),Ne=t("90e3"),Re=t("b622"),Z=t("e538"),He=t("746f"),Ke=t("d44e"),Le=t("69f3"),Ve=t("b727").forEach,Me=be("hidden"),pt="Symbol",nt="prototype",Bt=Re("toPrimitive"),ut=Le.set,St=Le.getterFor(pt),Qe=Object[nt],Ze=l.Symbol,Ft=c("JSON","stringify"),It=ce.f,et=G.f,Ct=J.f,Gn=Y.f,At=ae("symbols"),jt=ae("op-symbols"),nn=ae("string-to-symbol-registry"),cn=ae("symbol-to-string-registry"),fn=ae("wks"),vn=l.QObject,pn=!vn||!vn[nt]||!vn[nt].findChild,mn=m&&S(function(){return _(et({},"a",{get:function(){return et(this,"a",{value:7}).a}})).a!=7})?function(ve,ne,de){var Se=It(Qe,ne);Se&&delete Qe[ne],et(ve,ne,de),Se&&ve!==Qe&&et(Qe,ne,Se)}:et,gn=function(ve,ne){var de=At[ve]=_(Ze[nt]);return ut(de,{type:pt,tag:ve,description:ne}),m||(de.description=ne),de},A=b?function(ve){return typeof ve=="symbol"}:function(ve){return Object(ve)instanceof Ze},C=function(ne,de,Se){ne===Qe&&C(jt,de,Se),T(ne);var Ie=F(de,!0);return T(Se),E(At,Ie)?(Se.enumerable?(E(ne,Me)&&ne[Me][Ie]&&(ne[Me][Ie]=!1),Se=_(Se,{enumerable:U(0,!1)})):(E(ne,Me)||et(ne,Me,U(1,{})),ne[Me][Ie]=!0),mn(ne,Ie,Se)):et(ne,Ie,Se)},P=function(ne,de){T(ne);var Se=V(de),Ie=te(Se).concat(xe(Se));return Ve(Ie,function(ot){(!m||ee.call(Se,ot))&&C(ne,ot,Se[ot])}),ne},L=function(ne,de){return de===void 0?_(ne):P(_(ne),de)},ee=function(ne){var de=F(ne,!0),Se=Gn.call(this,de);return this===Qe&&E(At,de)&&!E(jt,de)?!1:Se||!E(this,de)||!E(At,de)||E(this,Me)&&this[Me][de]?Se:!0},ue=function(ne,de){var Se=V(ne),Ie=F(de,!0);if(!(Se===Qe&&E(At,Ie)&&!E(jt,Ie))){var ot=It(Se,Ie);return ot&&E(At,Ie)&&!(E(Se,Me)&&Se[Me][Ie])&&(ot.enumerable=!0),ot}},ge=function(ne){var de=Ct(V(ne)),Se=[];return Ve(de,function(Ie){!E(At,Ie)&&!E(Oe,Ie)&&Se.push(Ie)}),Se},xe=function(ne){var de=ne===Qe,Se=Ct(de?jt:V(ne)),Ie=[];return Ve(Se,function(ot){E(At,ot)&&(!de||E(Qe,ot))&&Ie.push(At[ot])}),Ie};if(h||(Ze=function(){if(this instanceof Ze)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),de=Ne(ne),Se=function(Ie){this===Qe&&Se.call(jt,Ie),E(this,Me)&&E(this[Me],de)&&(this[Me][de]=!1),mn(this,de,U(1,Ie))};return m&&pn&&mn(Qe,de,{configurable:!0,set:Se}),gn(de,ne)},H(Ze[nt],"toString",function(){return St(this).tag}),H(Ze,"withoutSetter",function(ve){return gn(Ne(ve),ve)}),Y.f=ee,G.f=C,ce.f=ue,M.f=J.f=ge,z.f=xe,Z.f=function(ve){return gn(Re(ve),ve)},m&&(et(Ze[nt],"description",{configurable:!0,get:function(){return St(this).description}}),v||H(Qe,"propertyIsEnumerable",ee,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Ze}),Ve(te(fn),function(ve){He(ve)}),a({target:pt,stat:!0,forced:!h},{for:function(ve){var ne=String(ve);if(E(nn,ne))return nn[ne];var de=Ze(ne);return nn[ne]=de,cn[de]=ne,de},keyFor:function(ne){if(!A(ne))throw TypeError(ne+" is not a symbol");if(E(cn,ne))return cn[ne]},useSetter:function(){pn=!0},useSimple:function(){pn=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:L,defineProperty:C,defineProperties:P,getOwnPropertyDescriptor:ue}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:ge,getOwnPropertySymbols:xe}),a({target:"Object",stat:!0,forced:S(function(){z.f(1)})},{getOwnPropertySymbols:function(ne){return z.f(N(ne))}}),Ft){var Be=!h||S(function(){var ve=Ze();return Ft([ve])!="[null]"||Ft({a:ve})!="{}"||Ft(Object(ve))!="{}"});a({target:"JSON",stat:!0,forced:Be},{stringify:function(ne,de,Se){for(var Ie=[ne],ot=1,Ce;arguments.length>ot;)Ie.push(arguments[ot++]);if(Ce=de,!(!w(de)&&ne===void 0||A(ne)))return I(de)||(de=function(ri,Cn){if(typeof Ce=="function"&&(Cn=Ce.call(this,ri,Cn)),!A(Cn))return Cn}),Ie[1]=de,Ft.apply(null,Ie)}})}Ze[nt][Bt]||q(Ze[nt],Bt,Ze[nt].valueOf),Ke(Ze,pt),Oe[Me]=!0},a630:function(n,s,t){var a=t("23e7"),l=t("4df4"),c=t("1c7e"),v=!c(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:v},{from:l})},a640:function(n,s,t){var a=t("d039");n.exports=function(l,c){var v=[][l];return!!v&&a(function(){v.call(null,c||function(){throw 1},1)})}},a691:function(n,s){var t=Math.ceil,a=Math.floor;n.exports=function(l){return isNaN(l=+l)?0:(l>0?a:t)(l)}},ab13:function(n,s,t){var a=t("b622"),l=a("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,t){var a=t("23e7"),l=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(n,s,t){var a=t("825a");n.exports=function(){var l=a(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,t){var a=t("83ab"),l=t("d039"),c=t("5135"),v=Object.defineProperty,m={},h=function(b){throw b};n.exports=function(b,S){if(c(m,b))return m[b];S||(S={});var E=[][b],I=c(S,"ACCESSORS")?S.ACCESSORS:!1,w=c(S,0)?S[0]:h,T=c(S,1)?S[1]:void 0;return m[b]=!!E&&!l(function(){if(I&&!a)return!0;var N={length:-1};I?v(N,1,{enumerable:!0,get:h}):N[1]=1,E.call(N,w,T)})}},ae93:function(n,s,t){var a=t("e163"),l=t("9112"),c=t("5135"),v=t("b622"),m=t("c430"),h=v("iterator"),b=!1,S=function(){return this},E,I,w;[].keys&&(w=[].keys(),"next"in w?(I=a(a(w)),I!==Object.prototype&&(E=I)):b=!0),E==null&&(E={}),!m&&!c(E,h)&&l(E,h,S),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:b}},b041:function(n,s,t){var a=t("00ee"),l=t("f5df");n.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(n,s,t){var a=t("83ab"),l=t("9bf2").f,c=Function.prototype,v=c.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in c)&&l(c,h,{configurable:!0,get:function(){try{return v.call(this).match(m)[1]}catch{return""}}})},b622:function(n,s,t){var a=t("da84"),l=t("5692"),c=t("5135"),v=t("90e3"),m=t("4930"),h=t("fdbf"),b=l("wks"),S=a.Symbol,E=h?S:S&&S.withoutSetter||v;n.exports=function(I){return c(b,I)||(m&&c(S,I)?b[I]=S[I]:b[I]=E("Symbol."+I)),b[I]}},b64b:function(n,s,t){var a=t("23e7"),l=t("7b0b"),c=t("df75"),v=t("d039"),m=v(function(){c(1)});a({target:"Object",stat:!0,forced:m},{keys:function(b){return c(l(b))}})},b727:function(n,s,t){var a=t("0366"),l=t("44ad"),c=t("7b0b"),v=t("50c4"),m=t("65f0"),h=[].push,b=function(S){var E=S==1,I=S==2,w=S==3,T=S==4,N=S==6,V=S==5||N;return function(F,U,_,te){for(var M=c(F),J=l(M),z=a(U,_,3),ce=v(J.length),G=0,Y=te||m,q=E?Y(F,ce):I?Y(F,0):void 0,H,ae;ce>G;G++)if((V||G in J)&&(H=J[G],ae=z(H,G,M),S)){if(E)q[G]=ae;else if(ae)switch(S){case 3:return!0;case 5:return H;case 6:return G;case 2:h.call(q,H)}else if(T)return!1}return N?-1:w||T?T:q}};n.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},c04e:function(n,s,t){var a=t("861d");n.exports=function(l,c){if(!a(l))return l;var v,m;if(c&&typeof(v=l.toString)=="function"&&!a(m=v.call(l))||typeof(v=l.valueOf)=="function"&&!a(m=v.call(l))||!c&&typeof(v=l.toString)=="function"&&!a(m=v.call(l)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,s){n.exports=!1},c6b6:function(n,s){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,s,t){var a=t("da84"),l=t("ce4e"),c="__core-js_shared__",v=a[c]||l(c,{});n.exports=v},c740:function(n,s,t){var a=t("23e7"),l=t("b727").findIndex,c=t("44d2"),v=t("ae40"),m="findIndex",h=!0,b=v(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!b},{findIndex:function(E){return l(this,E,arguments.length>1?arguments[1]:void 0)}}),c(m)},c8ba:function(n,s){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}n.exports=t},c975:function(n,s,t){var a=t("23e7"),l=t("4d64").indexOf,c=t("a640"),v=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,b=c("indexOf"),S=v("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!b||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:l(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,s,t){var a=t("5135"),l=t("fc6a"),c=t("4d64").indexOf,v=t("d012");n.exports=function(m,h){var b=l(m),S=0,E=[],I;for(I in b)!a(v,I)&&a(b,I)&&E.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~c(E,I)||E.push(I));return E}},caad:function(n,s,t){var a=t("23e7"),l=t("4d64").includes,c=t("44d2"),v=t("ae40"),m=v("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(b){return l(this,b,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(n,s,t){var a=t("da84"),l=t("861d"),c=a.document,v=l(c)&&l(c.createElement);n.exports=function(m){return v?c.createElement(m):{}}},ce4e:function(n,s,t){var a=t("da84"),l=t("9112");n.exports=function(c,v){try{l(a,c,v)}catch{a[c]=v}return v}},d012:function(n,s){n.exports={}},d039:function(n,s){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,s,t){var a=t("428f"),l=t("da84"),c=function(v){return typeof v=="function"?v:void 0};n.exports=function(v,m){return arguments.length<2?c(a[v])||c(l[v]):a[v]&&a[v][m]||l[v]&&l[v][m]}},d1e7:function(n,s,t){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);s.f=c?function(m){var h=l(this,m);return!!h&&h.enumerable}:a},d28b:function(n,s,t){var a=t("746f");a("iterator")},d2bb:function(n,s,t){var a=t("825a"),l=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,v={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(v,[]),c=v instanceof Array}catch{}return function(b,S){return a(b),l(S),c?m.call(b,S):b.__proto__=S,b}}():void 0)},d3b7:function(n,s,t){var a=t("00ee"),l=t("6eeb"),c=t("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(n,s,t){var a=t("9bf2").f,l=t("5135"),c=t("b622"),v=c("toStringTag");n.exports=function(m,h,b){m&&!l(m=b?m:m.prototype,v)&&a(m,v,{configurable:!0,value:h})}},d58f:function(n,s,t){var a=t("1c0b"),l=t("7b0b"),c=t("44ad"),v=t("50c4"),m=function(h){return function(b,S,E,I){a(S);var w=l(b),T=c(w),N=v(w.length),V=h?N-1:0,F=h?-1:1;if(E<2)for(;;){if(V in T){I=T[V],V+=F;break}if(V+=F,h?V<0:N<=V)throw TypeError("Reduce of empty array with no initial value")}for(;h?V>=0:N>V;V+=F)V in T&&(I=S(I,T[V],V,w));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,s,t){t("ac1f");var a=t("6eeb"),l=t("d039"),c=t("b622"),v=t("9263"),m=t("9112"),h=c("species"),b=!l(function(){var T=/./;return T.exec=function(){var N=[];return N.groups={a:"7"},N},"".replace(T,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=c("replace"),I=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),w=!l(function(){var T=/(?:)/,N=T.exec;T.exec=function(){return N.apply(this,arguments)};var V="ab".split(T);return V.length!==2||V[0]!=="a"||V[1]!=="b"});n.exports=function(T,N,V,F){var U=c(T),_=!l(function(){var G={};return G[U]=function(){return 7},""[T](G)!=7}),te=_&&!l(function(){var G=!1,Y=/a/;return T==="split"&&(Y={},Y.constructor={},Y.constructor[h]=function(){return Y},Y.flags="",Y[U]=/./[U]),Y.exec=function(){return G=!0,null},Y[U](""),!G});if(!_||!te||T==="replace"&&!(b&&S&&!I)||T==="split"&&!w){var M=/./[U],J=V(U,""[T],function(G,Y,q,H,ae){return Y.exec===v?_&&!ae?{done:!0,value:M.call(Y,q,H)}:{done:!0,value:G.call(q,Y,H)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),z=J[0],ce=J[1];a(String.prototype,T,z),a(RegExp.prototype,U,N==2?function(G,Y){return ce.call(G,this,Y)}:function(G){return ce.call(G,this)})}F&&m(RegExp.prototype[U],"sham",!0)}},d81d:function(n,s,t){var a=t("23e7"),l=t("b727").map,c=t("1dde"),v=t("ae40"),m=c("map"),h=v("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return l(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,s,t){(function(a){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 a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,s,t){var a=t("23e7"),l=t("83ab"),c=t("56ef"),v=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(S){for(var E=v(S),I=m.f,w=c(E),T={},N=0,V,F;w.length>N;)F=I(E,V=w[N++]),F!==void 0&&h(T,V,F);return T}})},dbf1:function(n,s,t){(function(a){t.d(s,"a",function(){return c});function l(){return typeof window<"u"?window.console:a.console}var c=l()}).call(this,t("c8ba"))},ddb0:function(n,s,t){var a=t("da84"),l=t("fdbc"),c=t("e260"),v=t("9112"),m=t("b622"),h=m("iterator"),b=m("toStringTag"),S=c.values;for(var E in l){var I=a[E],w=I&&I.prototype;if(w){if(w[h]!==S)try{v(w,h,S)}catch{w[h]=S}if(w[b]||v(w,b,E),l[E]){for(var T in c)if(w[T]!==c[T])try{v(w,T,c[T])}catch{w[T]=c[T]}}}}},df75:function(n,s,t){var a=t("ca84"),l=t("7839");n.exports=Object.keys||function(v){return a(v,l)}},e01a:function(n,s,t){var a=t("23e7"),l=t("83ab"),c=t("da84"),v=t("5135"),m=t("861d"),h=t("9bf2").f,b=t("e893"),S=c.Symbol;if(l&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},I=function(){var U=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),_=this instanceof I?new S(U):U===void 0?S():S(U);return U===""&&(E[_]=!0),_};b(I,S);var w=I.prototype=S.prototype;w.constructor=I;var T=w.toString,N=String(S("test"))=="Symbol(test)",V=/^Symbol\((.*)\)[^)]+$/;h(w,"description",{configurable:!0,get:function(){var U=m(this)?this.valueOf():this,_=T.call(U);if(v(E,U))return"";var te=N?_.slice(7,-1):_.replace(V,"$1");return te===""?void 0:te}}),a({global:!0,forced:!0},{Symbol:I})}},e163:function(n,s,t){var a=t("5135"),l=t("7b0b"),c=t("f772"),v=t("e177"),m=c("IE_PROTO"),h=Object.prototype;n.exports=v?Object.getPrototypeOf:function(b){return b=l(b),a(b,m)?b[m]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?h:null}},e177:function(n,s,t){var a=t("d039");n.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(n,s,t){var a=t("fc6a"),l=t("44d2"),c=t("3f8c"),v=t("69f3"),m=t("7dd0"),h="Array Iterator",b=v.set,S=v.getterFor(h);n.exports=m(Array,"Array",function(E,I){b(this,{type:h,target:a(E),index:0,kind:I})},function(){var E=S(this),I=E.target,w=E.kind,T=E.index++;return!I||T>=I.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:T,done:!1}:w=="values"?{value:I[T],done:!1}:{value:[T,I[T]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(n,s,t){var a=t("23e7"),l=t("d039"),c=t("fc6a"),v=t("06cf").f,m=t("83ab"),h=l(function(){v(1)}),b=!m||h;a({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(E,I){return v(c(E),I)}})},e538:function(n,s,t){var a=t("b622");s.f=a},e893:function(n,s,t){var a=t("5135"),l=t("56ef"),c=t("06cf"),v=t("9bf2");n.exports=function(m,h){for(var b=l(h),S=v.f,E=c.f,I=0;I<b.length;I++){var w=b[I];a(m,w)||S(m,w,E(h,w))}}},e8b5:function(n,s,t){var a=t("c6b6");n.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(n,s,t){var a=t("b622"),l=t("3f8c"),c=a("iterator"),v=Array.prototype;n.exports=function(m){return m!==void 0&&(l.Array===m||v[c]===m)}},f5df:function(n,s,t){var a=t("00ee"),l=t("c6b6"),c=t("b622"),v=c("toStringTag"),m=l(function(){return arguments}())=="Arguments",h=function(b,S){try{return b[S]}catch{}};n.exports=a?l:function(b){var S,E,I;return b===void 0?"Undefined":b===null?"Null":typeof(E=h(S=Object(b),v))=="string"?E:m?l(S):(I=l(S))=="Object"&&typeof S.callee=="function"?"Arguments":I}},f772:function(n,s,t){var a=t("5692"),l=t("90e3"),c=a("keys");n.exports=function(v){return c[v]||(c[v]=l(v))}},fb15:function(n,s,t){if(t.r(s),typeof window<"u"){var a=window.document.currentScript;{var l=t("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(t.p=c[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function v(A,C,P){return C in A?Object.defineProperty(A,C,{value:P,enumerable:!0,configurable:!0,writable:!0}):A[C]=P,A}function m(A,C){var P=Object.keys(A);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(A);C&&(L=L.filter(function(ee){return Object.getOwnPropertyDescriptor(A,ee).enumerable})),P.push.apply(P,L)}return P}function h(A){for(var C=1;C<arguments.length;C++){var P=arguments[C]!=null?arguments[C]:{};C%2?m(Object(P),!0).forEach(function(L){v(A,L,P[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(P)):m(Object(P)).forEach(function(L){Object.defineProperty(A,L,Object.getOwnPropertyDescriptor(P,L))})}return A}function b(A){if(Array.isArray(A))return A}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function S(A,C){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(A)))){var P=[],L=!0,ee=!1,ue=void 0;try{for(var ge=A[Symbol.iterator](),xe;!(L=(xe=ge.next()).done)&&(P.push(xe.value),!(C&&P.length===C));L=!0);}catch(Be){ee=!0,ue=Be}finally{try{!L&&ge.return!=null&&ge.return()}finally{if(ee)throw ue}}return P}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(A,C){(C==null||C>A.length)&&(C=A.length);for(var P=0,L=new Array(C);P<C;P++)L[P]=A[P];return L}function I(A,C){if(A){if(typeof A=="string")return E(A,C);var P=Object.prototype.toString.call(A).slice(8,-1);if(P==="Object"&&A.constructor&&(P=A.constructor.name),P==="Map"||P==="Set")return Array.from(A);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return E(A,C)}}function w(){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 T(A,C){return b(A)||S(A,C)||I(A,C)||w()}function N(A){if(Array.isArray(A))return E(A)}function V(A){if(typeof Symbol<"u"&&Symbol.iterator in Object(A))return Array.from(A)}function F(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(A){return N(A)||V(A)||I(A)||F()}var _=t("a352"),te=t.n(_);function M(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function J(A,C,P){var L=P===0?A.children[0]:A.children[P-1].nextSibling;A.insertBefore(C,L)}var z=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function ce(A){var C=Object.create(null);return function(L){var ee=C[L];return ee||(C[L]=A(L))}}var G=/-(\w)/g,Y=ce(function(A){return A.replace(G,function(C,P){return P.toUpperCase()})});t("5db7"),t("73d9");var q=["Start","Add","Remove","Update","End"],H=["Choose","Unchoose","Sort","Filter","Clone"],ae=["Move"],be=[ae,q,H].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),Oe={manage:ae,manageAndEmit:q,emit:H};function Ne(A){return be.indexOf(A)!==-1}t("caad"),t("2ca0");var Re=["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 Z(A){return Re.includes(A)}function He(A){return["transition-group","TransitionGroup"].includes(A)}function Ke(A){return["id","class","role","style"].includes(A)||A.startsWith("data-")||A.startsWith("aria-")||A.startsWith("on")}function Le(A){return A.reduce(function(C,P){var L=T(P,2),ee=L[0],ue=L[1];return C[ee]=ue,C},{})}function Ve(A){var C=A.$attrs,P=A.componentData,L=P===void 0?{}:P,ee=Le(Object.entries(C).filter(function(ue){var ge=T(ue,2),xe=ge[0];return ge[1],Ke(xe)}));return h(h({},ee),L)}function Me(A){var C=A.$attrs,P=A.callBackBuilder,L=Le(pt(C));Object.entries(P).forEach(function(ue){var ge=T(ue,2),xe=ge[0],Be=ge[1];Oe[xe].forEach(function(ve){L["on".concat(ve)]=Be(ve)})});var ee="[data-draggable]".concat(L.draggable||"");return h(h({},L),{},{draggable:ee})}function pt(A){return Object.entries(A).filter(function(C){var P=T(C,2),L=P[0];return P[1],!Ke(L)}).map(function(C){var P=T(C,2),L=P[0],ee=P[1];return[Y(L),ee]}).filter(function(C){var P=T(C,2),L=P[0];return P[1],!Ne(L)})}t("c740");function nt(A,C){if(!(A instanceof C))throw new TypeError("Cannot call a class as a function")}function Bt(A,C){for(var P=0;P<C.length;P++){var L=C[P];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(A,L.key,L)}}function ut(A,C,P){return C&&Bt(A.prototype,C),A}var St=function(C){var P=C.el;return P},Qe=function(C,P){return C.__draggable_context=P},Ze=function(C){return C.__draggable_context},Ft=function(){function A(C){var P=C.nodes,L=P.header,ee=P.default,ue=P.footer,ge=C.root,xe=C.realList;nt(this,A),this.defaultNodes=ee,this.children=[].concat(U(L),U(ee),U(ue)),this.externalComponent=ge.externalComponent,this.rootTransition=ge.transition,this.tag=ge.tag,this.realList=xe}return ut(A,[{key:"render",value:function(P,L){var ee=this.tag,ue=this.children,ge=this._isRootComponent,xe=ge?{default:function(){return ue}}:ue;return P(ee,L,xe)}},{key:"updated",value:function(){var P=this.defaultNodes,L=this.realList;P.forEach(function(ee,ue){Qe(St(ee),{element:L[ue],index:ue})})}},{key:"getUnderlyingVm",value:function(P){return Ze(P)}},{key:"getVmIndexFromDomIndex",value:function(P,L){var ee=this.defaultNodes,ue=ee.length,ge=L.children,xe=ge.item(P);if(xe===null)return ue;var Be=Ze(xe);if(Be)return Be.index;if(ue===0)return 0;var ve=St(ee[0]),ne=U(ge).findIndex(function(de){return de===ve});return P<ne?0:ue}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),It=t("8bbf");function et(A,C){var P=A[C];return P?P():[]}function Ct(A){var C=A.$slots,P=A.realList,L=A.getKey,ee=P||[],ue=["header","footer"].map(function(de){return et(C,de)}),ge=T(ue,2),xe=ge[0],Be=ge[1],ve=C.item;if(!ve)throw new Error("draggable element must have an item slot");var ne=ee.flatMap(function(de,Se){return ve({element:de,index:Se}).map(function(Ie){return Ie.key=L(de),Ie.props=h(h({},Ie.props||{}),{},{"data-draggable":!0}),Ie})});if(ne.length!==ee.length)throw new Error("Item slot must have only one child");return{header:xe,footer:Be,default:ne}}function Gn(A){var C=He(A),P=!Z(A)&&!C;return{transition:C,externalComponent:P,tag:P?Object(It.resolveComponent)(A):C?It.TransitionGroup:A}}function At(A){var C=A.$slots,P=A.tag,L=A.realList,ee=A.getKey,ue=Ct({$slots:C,realList:L,getKey:ee}),ge=Gn(P);return new Ft({nodes:ue,root:ge,realList:L})}function jt(A,C){var P=this;Object(It.nextTick)(function(){return P.$emit(A.toLowerCase(),C)})}function nn(A){var C=this;return function(P,L){if(C.realList!==null)return C["onDrag".concat(A)](P,L)}}function cn(A){var C=this,P=nn.call(this,A);return function(L,ee){P.call(C,L,ee),jt.call(C,A,L)}}var fn=null,vn={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}},pn=["update:modelValue","change"].concat(U([].concat(U(Oe.manageAndEmit),U(Oe.emit)).map(function(A){return A.toLowerCase()}))),mn=Object(It.defineComponent)({name:"draggable",inheritAttrs:!1,props:vn,emits:pn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var C=this.$slots,P=this.$attrs,L=this.tag,ee=this.componentData,ue=this.realList,ge=this.getKey,xe=At({$slots:C,tag:L,realList:ue,getKey:ge});this.componentStructure=xe;var Be=Ve({$attrs:P,componentData:ee});return xe.render(It.h,Be)}catch(ve){return this.error=!0,Object(It.h)("pre",{style:{color:"red"}},ve.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&z.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var C=this;if(!this.error){var P=this.$attrs,L=this.$el,ee=this.componentStructure;ee.updated();var ue=Me({$attrs:P,callBackBuilder:{manageAndEmit:function(Be){return cn.call(C,Be)},emit:function(Be){return jt.bind(C,Be)},manage:function(Be){return nn.call(C,Be)}}}),ge=L.nodeType===1?L:L.parentElement;this._sortable=new te.a(ge,ue),this.targetDomElement=ge,ge.__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(P){return P[C]}}},watch:{$attrs:{handler:function(C){var P=this._sortable;P&&pt(C).forEach(function(L){var ee=T(L,2),ue=ee[0],ge=ee[1];P.option(ue,ge)})},deep:!0}},methods:{getUnderlyingVm:function(C){return this.componentStructure.getUnderlyingVm(C)||null},getUnderlyingPotencialDraggableComponent:function(C){return C.__draggable_component__},emitChanges:function(C){var P=this;Object(It.nextTick)(function(){return P.$emit("change",C)})},alterList:function(C){if(this.list){C(this.list);return}var P=U(this.modelValue);C(P),this.$emit("update:modelValue",P)},spliceList:function(){var C=arguments,P=function(ee){return ee.splice.apply(ee,U(C))};this.alterList(P)},updatePosition:function(C,P){var L=function(ue){return ue.splice(P,0,ue.splice(C,1)[0])};this.alterList(L)},getRelatedContextFromMoveEvent:function(C){var P=C.to,L=C.related,ee=this.getUnderlyingPotencialDraggableComponent(P);if(!ee)return{component:ee};var ue=ee.realList,ge={list:ue,component:ee};if(P!==L&&ue){var xe=ee.getUnderlyingVm(L)||{};return h(h({},xe),ge)}return ge},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),fn=C.item},onDragAdd:function(C){var P=C.item._underlying_vm_;if(P!==void 0){M(C.item);var L=this.getVmIndexFromDomIndex(C.newIndex);this.spliceList(L,0,P);var ee={element:P,newIndex:L};this.emitChanges({added:ee})}},onDragRemove:function(C){if(J(this.$el,C.item,C.oldIndex),C.pullMode==="clone"){M(C.clone);return}var P=this.context,L=P.index,ee=P.element;this.spliceList(L,1);var ue={element:ee,oldIndex:L};this.emitChanges({removed:ue})},onDragUpdate:function(C){M(C.item),J(C.from,C.item,C.oldIndex);var P=this.context.index,L=this.getVmIndexFromDomIndex(C.newIndex);this.updatePosition(P,L);var ee={element:this.context.element,oldIndex:P,newIndex:L};this.emitChanges({moved:ee})},computeFutureIndex:function(C,P){if(!C.element)return 0;var L=U(P.to.children).filter(function(xe){return xe.style.display!=="none"}),ee=L.indexOf(P.related),ue=C.component.getVmIndexFromDomIndex(ee),ge=L.indexOf(fn)!==-1;return ge||!P.willInsertAfter?ue:ue+1},onDragMove:function(C,P){var L=this.move,ee=this.realList;if(!L||!ee)return!0;var ue=this.getRelatedContextFromMoveEvent(C),ge=this.computeFutureIndex(ue,C),xe=h(h({},this.context),{},{futureIndex:ge}),Be=h(h({},C),{},{relatedContext:ue,draggedContext:xe});return L(Be,P)},onDragEnd:function(){fn=null}}}),gn=mn;s.default=gn},fb6a:function(n,s,t){var a=t("23e7"),l=t("861d"),c=t("e8b5"),v=t("23cb"),m=t("50c4"),h=t("fc6a"),b=t("8418"),S=t("b622"),E=t("1dde"),I=t("ae40"),w=E("slice"),T=I("slice",{ACCESSORS:!0,0:0,1:2}),N=S("species"),V=[].slice,F=Math.max;a({target:"Array",proto:!0,forced:!w||!T},{slice:function(_,te){var M=h(this),J=m(M.length),z=v(_,J),ce=v(te===void 0?J:te,J),G,Y,q;if(c(M)&&(G=M.constructor,typeof G=="function"&&(G===Array||c(G.prototype))?G=void 0:l(G)&&(G=G[N],G===null&&(G=void 0)),G===Array||G===void 0))return V.call(M,z,ce);for(Y=new(G===void 0?Array:G)(F(ce-z,0)),q=0;z<ce;z++,q++)z in M&&b(Y,q,M[z]);return Y.length=q,Y}})},fc6a:function(n,s,t){var a=t("44ad"),l=t("1d80");n.exports=function(c){return a(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,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Ua);var sd=Ua.exports;const Pa=ts(sd);function Ra(u,o){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary","political_status"].forEach(n=>{o[n]&&(u[n].visible=o[n].visible,u[n].required=o[n].required)}),["family_member","education","work_experience"].forEach(n=>{o[n]&&(u[n].visible=o[n].visible,Object.keys(o[n].fields).forEach(s=>{u[n].fields[s]&&(u[n].fields[s].visible=o[n].fields[s].visible,u[n].fields[s].required=o[n].fields[s].required)}))})}const dd={class:"position-detail-container"},ud={class:"header-container"},cd={class:"header-actions"},fd={class:"detail-content"},vd={class:"detail-item"},pd={key:0,class:"detail-value"},md={key:1,class:"title-edit-container"},gd={class:"title-edit-actions"},hd={class:"detail-item"},yd={key:0,class:"detail-value"},bd={key:1,class:"title-edit-container"},Sd={class:"title-edit-actions"},Ed={class:"detail-item"},xd={key:0,class:"detail-value"},Id={key:1,class:"title-edit-container"},Cd={class:"salary-range-container"},Ad={class:"title-edit-actions"},wd={class:"detail-item"},Od={key:0,class:"detail-value"},Td={key:1,class:"title-edit-container"},Dd={class:"title-edit-actions"},Pd={class:"detail-item"},Rd={key:0,class:"detail-value"},Vd={key:1,class:"title-edit-container"},Ud={class:"title-edit-actions"},kd={class:"detail-item"},Kd={key:0,class:"detail-value"},Md={key:1,class:"title-edit-container"},Nd={class:"title-edit-actions"},Bd={class:"detail-item"},Fd={class:"detail-value"},jd={class:"detail-item"},Ld={key:0,class:"detail-value"},Qd={key:1,class:"title-edit-container"},Gd={class:"title-edit-actions"},zd={class:"detail-item"},$d=["innerHTML"],Jd={key:2,class:"title-edit-container"},Wd={class:"title-edit-actions"},Hd={class:"detail-item"},Yd=["innerHTML"],Xd={key:2,class:"title-edit-container"},qd={class:"title-edit-actions"},Zd={class:"detail-item"},_d={key:0,class:"detail-value"},eu={key:1,class:"title-edit-container"},tu={class:"title-edit-actions"},nu={class:"status-cards"},ou={class:"status-switch"},iu={class:"status-text"},au={class:"section-title"},ru={class:"usage-content"},lu={key:0,class:"usage-value"},su={key:1,class:"title-edit-container"},du={class:"title-edit-actions"},uu={class:"section-title"},cu={class:"process-steps"},fu={key:0,class:"step-number"},vu={class:"step-content"},pu={class:"step-title"},mu={class:"section-title"},gu={class:"process-dialog-content"},hu={key:0,class:"add-process-btn-top"},yu={key:0,class:"process-number"},bu={class:"process-edit-content"},Su={key:1,class:"process-edit-btn"},Eu=["onClick"],xu={class:"dialog-footer"},Iu={class:"ai-video-steps"},Cu={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},Au={class:"ai-video-options"},wu={class:"recommended-dimensions"},Ou={class:"dimension-grid"},Tu={class:"ability-label"},Du={class:"optional-dimensions"},Pu={class:"header-row"},Ru={class:"right_btn"},Vu={class:"dimension-grid"},Uu={class:"ability-label"},ku={class:"custom-dimensions"},Ku={class:"dimension-form"},Mu={class:"dimension-row"},Nu={class:"dimension-input"},Bu={class:"dimension-input"},Fu={class:"dimension-actions"},ju={key:1,class:"ai-video-content"},Lu={class:"interview-settings"},Qu={class:"interview-header"},Gu={class:"interview-actions"},zu={class:"question-switches"},$u={class:"switch-item"},Ju={class:"switch-item"},Wu={class:"interview-duration"},Hu={class:"duration-value"},Yu={class:"interview-content"},Xu={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},qu={key:0,class:"no-questions"},Zu={key:1,class:"question-list"},_u={class:"question-card"},ec={class:"question-header"},tc={class:"question-title"},nc={class:"title-content"},oc={class:"question-content"},ic={class:"question-number"},ac={style:{color:"#0017ab"}},rc={class:"question-tags"},lc={key:0,class:"more-tags-indicator"},sc={class:"question-actions",style:{"margin-top":"0px"}},dc={class:"question-info"},uc={class:"info-item"},cc={key:0,class:"question-actions"},fc={class:"answer-limit"},vc={class:"answer-limit"},pc={key:1,class:"question-actions"},mc={class:"answer-limit"},gc={class:"multi-dimension-questions"},hc={class:"dimension-list"},yc={class:"dimension-header"},bc={class:"dimension-info"},Sc={class:"ability-name"},Ec=["onClick"],xc={key:2,class:"ai-video-content"},Ic={class:"system-settings"},Cc={class:"setting-section"},Ac={style:{display:"flex","align-items":"flex-start"}},wc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},Oc=["src"],Tc={class:"interviewer-avatars"},Dc=["onClick"],Pc={class:"avatar-wrapper"},Rc=["src","alt"],Vc=["title"],Uc={class:"setting-item",style:{border:"none"}},kc={class:"setting-options"},Kc={class:"interview-settings"},Mc={class:"setting-item"},Nc={class:"setting-item"},Bc={class:"setting-options"},Fc={class:"setting-item"},jc={class:"drawer-footer"},Lc={class:"video-lecture-form"},Qc={class:"form-item"},Gc={class:"upload-area"},zc={class:"form-item"},$c={class:"dialog-footer"},Jc={class:"ai-chat-content"},Wc={class:"chat-settings"},Hc={class:"chat-actions"},Yc={class:"chat-questions"},Xc={key:0,class:"empty-questions"},qc={key:1,class:"question-list"},Zc={class:"question-card"},_c={class:"question-header"},ef={class:"question-title"},tf={class:"question-number"},nf={class:"question-actions"},of={class:"weight-control"},af={class:"answer-limit"},rf={class:"question-info"},lf={class:"info-item"},sf={class:"info-item"},df={class:"info-item"},uf={class:"drawer-footer"},cf={class:"question-form"},ff={class:"form-item"},vf={class:"form-item"},pf={class:"form-item"},mf={class:"competency-config"},gf={class:"tag-name"},hf={class:"form-tip"},yf={class:"form-item"},bf={class:"form-item"},Sf={key:0,class:"form-item"},Ef=["onClick"],xf={key:1,class:"form-item"},If={key:2},Cf=["src"],Af={class:"form-item"},wf={class:"form-item"},Of={class:"form-item"},Tf={class:"form-item"},Df={class:"dialog-footer"},Pf={class:"question-select-content"},Rf={class:"custom-tree-node"},Vf={class:"node-label",style:{display:"flex","align-items":"center"}},Uf={class:"ml-2"},kf={class:"dialog-footer"},Kf={class:"data-collection-form"},Mf={class:"field-config-panel"},Nf={class:"field-config-list"},Bf={class:"field-config-item"},Ff={class:"field-label"},jf={class:"field-config-item"},Lf={class:"field-label"},Qf={class:"field-config-item sub-field"},Gf={class:"field-label"},zf={class:"field-config-item"},$f={class:"field-label"},Jf={class:"field-config-item sub-field"},Wf={class:"field-label"},Hf={class:"field-config-item"},Yf={class:"field-label"},Xf={class:"field-config-item"},qf={class:"field-label"},Zf={class:"field-config-item sub-field"},_f={class:"field-label"},ev={class:"dialog-footer"},tv={class:"resume-collection-form"},nv={class:"form-item"},ov={class:"dialog-footer"},iv={class:"code-test-form"},av={class:"form-item"},rv={class:"form-item"},lv={class:"switch-label"},sv={class:"form-item"},dv={class:"test-paper-selector"},uv={key:0,class:"empty-paper"},cv={key:1,class:"selected-paper"},fv={class:"paper-info"},vv={class:"paper-title"},pv={class:"paper-meta"},mv={class:"paper-actions"},gv={class:"dialog-footer"},hv={class:"typing-test-form"},yv={class:"form-item"},bv={class:"article-selection"},Sv={class:"form-item"},Ev={class:"form-item"},xv={class:"time-input-container"},Iv={class:"form-item"},Cv={class:"upload-area"},Av={class:"form-item"},wv={class:"form-item"},Ov={class:"form-item"},Tv={class:"form-item"},Dv={class:"criteria-options"},Pv={class:"dialog-footer"},Rv={class:"interview-settings-content"},Vv={class:"settings-section"},Uv={class:"setting-item"},kv={class:"setting-item"},Kv={class:"setting-item"},Mv={class:"setting-item"},Nv={class:"settings-section"},Bv={class:"setting-item"},Fv={class:"setting-info"},jv={class:"setting-desc-container"},Lv={class:"setting-item"},Qv={class:"setting-info"},Gv={key:0,class:"setting-desc-container"},zv={class:"setting-desc"},$v={key:1,class:"desc-edit-container"},Jv={class:"desc-edit-actions"},Wv={class:"setting-item"},Hv={class:"setting-info"},Yv={key:0,class:"setting-desc-container"},Xv={class:"setting-desc"},qv={key:1,class:"desc-edit-container"},Zv={class:"desc-edit-actions"},_v={class:"setting-item"},ep={class:"setting-info"},tp={key:0,class:"setting-desc-container"},np={class:"setting-desc"},op={key:1,class:"desc-edit-container"},ip={class:"desc-edit-actions"},ap={class:"dialog-footer"},rp={class:"question-select-content"},lp={class:"document-box document-left-box"},sp={class:"search-bar"},dp={class:"search-inputs"},up={class:"question-lists"},cp={class:"pagination-container"},fp={class:"dialog-footer"},vp={class:"candidate-questions-form"},pp={class:"form-item"},mp={class:"form-item"},gp={class:"form-item"},hp={class:"dialog-footer"},yp={class:"dialog-footer"},bp={class:"selected-applications-preview"},Sp={class:"preview-title"},Ep={class:"preview-footer"},Va="position_field_config_cache",xp=Ql({__name:"index",setup(u){const o=(f,e)=>{try{const O={positionId:e,config:JSON.parse(JSON.stringify(f)),timestamp:Date.now()};localStorage.setItem(Va,JSON.stringify(O))}catch(O){console.error("保存字段配置到缓存失败:",O)}},i=f=>{try{const e=localStorage.getItem(Va);if(e){const O=JSON.parse(e);if(O.positionId===f&&Date.now()-O.timestamp<6048e5)return O.config}return null}catch(e){return console.error("读取字段配置缓存失败:",e),null}},d=Q(null),n=Gl(),s=zl(),t=Q(s.query.id),a=Q(!1),l=Q(!1),c=f=>m.slice(0,f+1).filter(e=>e.visible).length,v=_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:[],options:[],status:0}),m=_e([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"综合素质考察",description:"综合素质考察",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理测试",description:"心理测试",active:!0,type:"psychological_problem",visible:!0},{id:10,name:"肢体检测",description:"肢体检测",active:!0,type:"posture_check",visible:!0},{id:7,name:"候选人提问",description:"时长5分钟,最多3个问题",active:!0,type:"candidate_questions",visible:!0,config:{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}},{id:3,name:"已通过",description:"已通过",active:!0,type:"passed",visible:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1,type:"rejected",visible:!0}]),h=Q(!1),b=[{label:"视频宣讲",value:"video_presentation"},{label:"简历收集",value:"resume_collection"},{label:"资料收集",value:"data_collection"},{label:"AI考察",value:"ai_video"},{label:"综合素质考察",value:"common_sense"},{label:"心理测试",value:"psychological_problem"},{label:"候选人提问",value:"candidate_questions"},{label:"肢体检测",value:"posture_check"}],S=f=>(Rt.value.forEach(e=>{f.id==e.id&&(f.name=e.name)}),f.name),E=Q(!1),I=f=>{rt.pageSize=f,_t({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Qt.value=e.data.total)})},w=f=>{rt.page=f,_t({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Qt.value=e.data.total)})},T=async()=>{const f=Lt.value.map(e=>e.id);if(console.log("selectedQuestionIds",f),f.length===0){R.warning("请至少选择一个问题");return}try{await pi({position_id:s.query.id,question_id:f,duration:60,tenant_id:Zt.get("tenant_id")});const e=rt.value.filter(O=>O.selected);Lt.value.push(...e),R.success("问题添加成功"),E.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?R.warning("该题目已绑定,请选择其他题目"):R.error("添加问题失败,请重试")}},N=()=>{Un.value=!0,ca({position_id:s.query.id}).then(f=>{f.data.forEach(e=>{e.selected=!1}),Rt.value=f.data,console.log("res",f),Un.value=!1}).catch(f=>{console.log("err",f),Un.value=!1})},V=bs(),F=f=>{if(console.log("地址选择变化:",f),f&&Array.isArray(f)&&f.length>0){const[e,O,x]=f,D=V.find(re=>re.code===e);let B;D&&D.children&&(B=D.children.find(re=>re.code===O),B&&B.children&&B.children.find(re=>re.code===x))}},U=Q(!1),_=Q([]),te=async()=>{U.value=!0;try{const f=await mi({page:1,limit:100,job_id:s.query.id});f.data&&f.data.items&&(_.value=f.data.items)}catch(f){console.error("获取职位申请数据失败:",f),R.error("获取职位申请数据失败")}},M=(f,e)=>{},J=Q(-1),z=Q(!1),ce=_e({top:"0px",left:"0px"}),G=Q(!1),Y=_e({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),q=Q(1),H=Q([{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 ae=f=>{console.log(f)};Q("standard"),Q(!1);const be=Q(!1),Oe=_e({title:"",videoFile:null,description:"",broadcastType:"required"}),Ne=Q(!1);Q(15),Q(5);const Re=Q(!1),Z=_e({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:"",blank_answer_template:[]}),He=f=>f.map(e=>e.id),Ke=Q([]),Le=Q([]),Ve=Q([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),Me=Q([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),pt=()=>{Object.assign(Z,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:"",blank_answer_template:[]})},nt=async()=>{const f=await ql({page:1,page_size:50});console.log(f),Le.value=f.data.map(e=>({label:e.title,value:String(e.id)}))},Bt=()=>{Re.value=!1,pt()},ut=Q(!1);_e({isRequired:!1,questions:[]}),Q([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const St=Q(!1),Qe=_e({title:"简历收集",isRequired:!0,steps:4}),Ze=()=>{St.value=!0},Ft=()=>{St.value=!1,Object.assign(Qe,{title:"简历收集",isRequired:!0,steps:4})},It=()=>{const f={id:Date.now(),name:Qe.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Qe},visible:!0};m.splice(J.value,0,f),yt({id:De.value,require_resume_upload:!0}).then(e=>{e.code==2e3?m[0].visible=!0:R.error("删除失败")}),St.value=!1,R.success("简历收集步骤已添加"),Ft()},et=Q(!1),Ct=_e({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Gn=async()=>{try{const f=s.query.id;if(!f){R.error("职位ID不存在");return}const e=Array.isArray(f)?f[0]:f,O=f,x=await Zl(f);if(x&&x.data){Object.assign(v,x.data),Ke.value=x.data.competency_tags;const D=await Mn(f);D&&D.data&&(De.value=D.data.id,D.data.enable_psychological_test!==void 0&&(Ct.enableScoreQuestions=D.data.enable_psychological_test),D.data.enable_color_blind_test!==void 0&&(Ct.enableColorBlindQuestions=D.data.enable_color_blind_test)),a.value=v.status===1}}catch(f){console.error("获取职位详情失败:",f),R.error("获取职位详情失败")}},At=()=>{n.push("/position/list")},jt=()=>{n.push("/position/list")},nn=async f=>{const e=s.query.id;try{const O=f?1:0;if(f){const x=await _l({position_id:e,tenant_id:Zt.get("tenant_id")});if(x.code===2e3){const{is_all_completed:D,total_questions:B}=x.data;if(!D||B<=0){R.warning(`无法开启职位,原因:${B<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),a.value=!f;return}}else{R.error("检查视频状态失败,请稍后重试"),a.value=!f;return}}await Tt({id:e,status:O}),v.status=O,R.success(`职位已${f?"开启":"关闭"}`)}catch(O){console.error("修改状态失败:",O),R.error("修改状态失败"),a.value=!f}},cn=()=>{h.value=!0},fn=()=>{h.value=!1,R.success("招聘流程已更新")},vn=()=>{h.value=!1},pn=(f,e)=>{f.type=="ai_video"&&(G.value=!1),f.type=="ai_chat"&&(Ne.value=!1),f.type=="ai_video"&&yt({id:De.value,enable_open_questions:!1}).then(O=>{O.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="psychological_problem"&&yt({id:De.value,enable_scoring_questions:!1}).then(O=>{if(O.code==2e3){const x=Oo.value.filter(D=>D.question_form===4).map(D=>D.question_id).filter(D=>D!=null);x.length>0&&fa({position_id:s.query.id,question_id:x}),R.success("删除成功")}else R.error("删除失败")}),f.type=="common_sense"&&yt({id:De.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(O=>{if(O.code==2e3){R.success("删除成功");const x=Oo.value.filter(D=>D.question_form!==4&&D.question_form!==0).map(D=>D.question_id).filter(D=>D!=null);x.length>0&&fa({position_id:s.query.id,question_id:x})}else R.error("删除失败")}),f.type=="resume_collection"&&yt({id:De.value,require_resume_upload:!1}).then(O=>{O.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="posture_check"&&yt({id:De.value,enable_posture_check:!1}).then(O=>{if(O.code==2e3){R.success("删除成功");return}else R.error("删除失败")}),m.splice(e,1),console.log("recruitmentProcess",m)},mn=f=>({0:"未发布",1:"已发布",2:"已结束"})[f]||"未知状态",gn=f=>({0:"info",1:"success",2:"danger"})[f]||"info",A=f=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[f]||"未知",C=(f,e)=>{J.value=f,z.value=!0,console.log(f,e);const O=e.currentTarget,x=O.closest(".process-dialog-content");if(x){const D=O.getBoundingClientRect(),B=x.getBoundingClientRect(),re=D.bottom-B.top+5,$=D.left-B.left;ce.top=`${re}px`,ce.left=`${$}px`}e.stopPropagation()},P=async(f,e)=>{if(f==="ai_video"&&yt({id:De.value,enable_open_questions:!0}).then(D=>{D.code==2e3?(m[2].visible=!0,z.value=!1):R.error("更新配置失败")}),f==="common_sense"&&yt({id:De.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(D=>{D.code==2e3?(m[3].visible=!0,console.log("recruitmentProcess",m),z.value=!1):R.error("更新配置失败")}),f==="psychological_problem"&&yt({id:De.value,enable_scoring_questions:!0}).then(D=>{D.code==2e3?(m[4].visible=!0,z.value=!1):R.error("更新配置失败")}),f==="post_render_questions"){Il.value=!0,z.value=!1;return}if(f==="posture_check"&&yt({id:De.value,enable_posture_check:!0}).then(D=>{D.code==2e3?(console.log("recruitmentProcess",m),m[5].visible=!0,J.value=5):R.error("删除失败")}),m.find(D=>!!(D.type&&D.type===f||D.name===e))){z.value=!1;return}if(f==="ai_chat"){Ne.value=!0,z.value=!1;return}if(f==="video_presentation"){It(),z.value=!1;return}if(f==="data_collection"){const D=await Mn(s.query.id);D&&D.data?(De.value=D.data.id,Ra(j,D.data.profile_fields_config),ut.value=!0,z.value=!1):(ut.value=!0,z.value=!1);return}if(f==="resume_collection"){Ze(),z.value=!1;return}if(f==="posture_check"&&(z.value=!1),f==="code_test"){Xa(),z.value=!1;return}if(f==="typing_test"){$n.value=!0,z.value=!1;return}if(f==="candidate_questions"){kn.value=!0,z.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:f,visible:!0};console.log("newStep",x),m.splice(f==="posture_check"?5:J.value,0,x),z.value=!1},L=async()=>{if(q.value<3){if(q.value===1){const f=Rt.value.filter(e=>e.selected);if(f.length===0){R.warning("请至少选择一个胜任力考核维度");return}try{H.value=f.map(e=>({label:e.name,value:e.name.toLowerCase().replace(/\s+/g,"_"),id:e.id,description:e.description||"",level:"CC",expanded:!1,isNew:!0}))}catch(e){console.error("处理胜任力标签失败:",e),R.error("处理胜任力标签失败");return}}if(q.value===2){if(Ce.value.length===0){R.warning("请至少添加一个面试题目");return}try{await jr()}catch(f){console.error("保存题目失败:",f),R.error("保存题目失败");return}}if(q.value===3){const f=Lr();if(!f.isValid){f.messages.forEach(O=>{R.warning(O)});return}const e=zr();console.log("完整的面试配置:",e)}q.value++}else ue()},ee=()=>{q.value>1&&q.value--},ue=async()=>{var D;if(!mt.value||!mt.value.id){R.warning("请选择面试官形象");return}if(!No.value){R.warning("请选择面试官");return}const f={id:mt.value.id,name:mt.value.name,avatar_url:mt.value.avatar_url||mt.value.image},e=di(),O={enableScoreQuestions:Ct.enableScoreQuestions,enableColorBlindQuestions:Ct.enableColorBlindQuestions};try{if(await Tt({id:s.query.id,status:0}),v.status=0,a.value=!1,De.value==0){const B=await gi({position_id:s.query.id,digital_human_id:mt.value.id});if(B.code==2e3){R.success("配置保存成功");try{const re={config_id:((D=B.data)==null?void 0:D.id)||B.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await hi(re),console.log("开场白生成成功"),G.value=!1,q.value=1,await new Promise(ie=>setTimeout(ie,4e3))):console.log("无开场白配置,跳过开场白生成"),await va(re),R.success("视频开始生成")}catch(re){console.error("获取开场白和视频失败:",re),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}else if((await yt({id:De.value,digital_human_id:mt.value.id})).code==2e3){R.success("配置保存成功");try{const re={config_id:De.value};console.log("开始生成开场白..."),await hi(re),console.log("开场白生成成功"),G.value=!1,q.value=1,console.log("等待4秒后开始生成视频..."),await Wr(4e3),console.log("开始生成视频..."),await va(re),console.log("视频生成请求已发送"),R.success("视频开始生成")}catch(re){console.error("获取开场白和视频失败:",re),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}catch(B){console.error("更新职位状态失败:",B),R.error("更新职位状态失败");return}console.log("保存时选中的面试官:",f),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",O);const x={id:Date.now(),name:"AI考察",description:`已选择${H.value.length}项能力测评`,active:!0,type:"ai_video",abilities:H.value.map(B=>B.value),interviewer:f,settings:e};m.splice(J.value,0,x),G.value=!1,q.value=1,R.success("AI考察步骤已添加")},ge=()=>{G.value=!1,q.value=1},xe=f=>{},Be=()=>{be.value=!1,Object.assign(Oe,{title:"",videoFile:null,description:"",broadcastType:"required"})},ve=()=>{const f={id:Date.now(),name:Oe.title||"视频宣讲",description:Oe.description||"视频宣讲",active:!0,type:"video_presentation",config:{...Oe}};m.splice(J.value,0,f),be.value=!1,R.success("视频宣讲步骤已添加"),Be()},ne=()=>{const f={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};m.splice(J.value,0,f),Ne.value=!1,R.success("AI实时对话步骤已添加")},de=()=>{Ne.value=!1},Se=()=>{if(!Ue.title.trim()){R.warning("请输入环节名称");return}if(Ue.duration<=0){R.warning("提问时长必须大于0分钟");return}if(Ue.maxQuestions<=0){R.warning("最多提问数量必须大于0");return}if(co.value>=0){const f=m[co.value];f.name=Ue.title,f.description=`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,f.config={...Ue},R.success("候选人提问环节已更新")}else{const f={id:Date.now(),name:Ue.title,description:`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...Ue},visible:!0};m.splice(J.value,0,f),R.success("候选人提问环节已添加")}kn.value=!1,ot()},Ie=()=>{kn.value=!1,ot()},ot=()=>{co.value=-1,Object.assign(Ue,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},Ce=Q([]),ri=fi(()=>Ce.value.reduce((f,e)=>{switch(e.question_form){case 0:return f+60;case 1:return f+30;case 2:return f+30;default:return f+30}},0)),Cn=fi(()=>{const f=ri.value;if(f<60)return`${f}秒`;const e=Math.floor(f/60),O=f%60;return O>0?`${e}分${O}秒`:`${e}分钟`}),$a=()=>{Re.value=!0},Ni=()=>{Bo.value={question:"",question_form:0,competency_tags:[],position_types:[],category_id:null,tags:[],recommended_duration:60,status:1,is_required_correct:!1,is_system:!1,sort:1,options:[],scoring_reference:"",blank_answer_template:[]},Yi.value=!1,ro.value=!0},Ja=async f=>{try{const e=await Es({...f,tenant_id:Zt.get("tenant_id")});if(console.log(f),e&&e.code===2e3){if(R.success("题目创建成功"),console.log(e),e.data){const O={id:e.data.id||e.data,title:f.question,content:f.question,question_form:f.question_form,question_form_name:Fi(f.question_form),scoring_reference:f.scoring_reference||"",competency_tag_info:f.competency_tags||[],competency_tags:f.competency_tags||[],options:f.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected",question_image_url:f.question_image_url||""};Ce.value.push(O)}ro.value=!1}else R.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),R.error("题目创建失败,请重试")}},Bi=()=>{ro.value=!1,Bo.value={}},Fi=f=>({0:"开放问题",1:"单选题",2:"多选题",3:"识图题",4:"得分题",5:"判断题",6:"填空题"})[f]||"未知类型",ji=f=>{if(Ce.value[f].source!=="ai_generated")console.log(Ce.value[f].id),us(Ce.value[f].id).then(e=>{var O;if(console.log(e),e.code===2e3){const x={id:e.data.id,content:e.data.question,question_form:e.data.question_form,question_form_name:Fi(e.data.question_form),scoring_reference:e.data.scoring_reference,competency_tag_info:e.data.competency_tag_info,competency_tags:e.data.competency_tags,options:(O=e.data.options)==null?void 0:O.map(D=>({text:D.option_text,is_correct:D.is_correct,sort:D.sort})),enable_follow_up:e.data.enable_follow_up,maxAnswers:e.data.maxAnswers,weight:e.data.weight,question_image_url:e.data.question_image_url,blank_answer_template:e.data.blank_answer_template||[]};Object.assign(Z,x)}});else{const e=Ce.value[f];console.log(e),Object.assign(Z,e),console.log(Ce)}Re.value=!0,El()},Li=f=>{ua.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{Ce.value.splice(f,1),R.success("删除成功")})},Qi=()=>{window.location.reload()},Wa=()=>{no.value?(la(()=>{Object.assign(j,no.value)}),console.log(j)):(la(()=>{Object.assign(j,JSON.parse(JSON.stringify(Xi)))}),console.log("使用默认配置")),no.value=null,Ji.value=!0,ut.value=!1,Qi()},Oo=Q([]),Ha=async()=>{const f=await mi({page:1,limit:100,job_id:s.query.id});f.data&&f.data.items&&(Oo.value=f.data.items),console.log(Oo.value)};$l(()=>{Gn(),$i(),$r(),nt(),Ya(),Ha()}),Jl(()=>{Hi()});const Ya=async()=>{try{const f=s.query.id;if(f){const e=await Mn(f);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(Ct.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(Ct.enableColorBlindQuestions=e.data.enable_color_blind_test),Ge.positionDetection=e.data.enable_emotion_analysis,m[2].visible=e.data.question_form_switches.enable_open_questions,m[3].visible=e.data.question_form_switches.enable_single_choice||e.data.question_form_switches.enable_multiple_choice||e.data.question_form_switches.enable_image_choice||e.data.question_form_switches.enable_fill_blank,m[4].visible=e.data.question_form_switches.enable_scoring_questions,m[5].visible=e.data.enable_posture_check,m[0].visible=e.data.require_resume_upload)}}catch(f){console.error("初始化配置状态失败:",f)}},zn=Q(!1),it=_e({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Xa=()=>{zn.value=!0},Gi=()=>{zn.value=!1,Object.assign(it,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},qa=()=>{if(!it.selectedPaper){R.warning("请添加考试试卷");return}const f={id:Date.now(),name:it.title,description:`${it.selectedPaper.title}`,active:!0,type:"code_test",config:{...it}};m.splice(J.value,0,f),zn.value=!1,R.success("代码笔试步骤已添加"),Gi()},Za=()=>{it.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},_a=()=>{R.info("查看试卷功能开发中")},er=()=>{R.info("更换试卷功能开发中")},tr=()=>{it.selectedPaper=null},$n=Q(!1),tt=_e({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),zi=()=>{$n.value=!1,Object.assign(tt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},nr=()=>{const f={id:Date.now(),name:tt.title,description:`打字测试 ${tt.duration}分钟`,active:!0,type:"typing_test",config:{...tt}};m.splice(J.value,0,f),$n.value=!1,R.success("打字测试步骤已添加"),zi()},To=Q(!1),An=Q(""),or=()=>{An.value=v.title,To.value=!0},ir=()=>{To.value=!1},ar=async()=>{if(!An.value.trim()){R.warning("职位名称不能为空");return}try{const f=s.query.id;await Tt({id:f,title:An.value.trim()}),v.title=An.value.trim(),To.value=!1,R.success("职位名称已更新")}catch(f){console.error("更新职位名称失败:",f),R.error("更新职位名称失败")}},Do=Q(!1),Ht=Q(""),rr=()=>{if(!v.location)Ht.value="";else if(Array.isArray(v.location))Ht.value=v.location;else if(typeof v.location=="string")try{const e=v.location.replace(/[\[\]']/g,"").split(",").map(B=>B.trim()),O=V.find(B=>B.name===e[0]);let x,D;O&&O.children&&(x=O.children.find(B=>B.name===e[1]),x&&x.children&&(D=x.children.find(B=>B.name===e[2]))),Ht.value=[O==null?void 0:O.code,x==null?void 0:x.code,D==null?void 0:D.code].filter(Boolean)}catch(f){console.error("解析地址失败:",f),Ht.value=""}Do.value=!0},lr=()=>{Do.value=!1},sr=async()=>{try{const f=s.query.id,e=[];if(Ht.value&&Array.isArray(Ht.value)){const[O,x,D]=Ht.value,B=V.find(ie=>ie.code===O);let re,$;B&&(e.push(B.name),B.children&&(re=B.children.find(ie=>ie.code===x),re&&(e.push(re.name),re.children&&($=re.children.find(ie=>ie.code===D),$&&e.push($.name)))))}await Tt({id:f,location:e}),v.location=e,Do.value=!1,R.success("工作地点已更新")}catch(f){console.error("更新工作地点失败:",f),R.error("更新工作地点失败")}},Po=Q(!1),Jn=Q("月薪"),hn=Q(0),on=Q(0),dr=()=>{if(v.salary_range){const f=v.salary_range.split(" ");if(f.length>=2){Jn.value=f[0];const e=f[1].split("-");e.length===2&&(hn.value=parseInt(e[0])||0,on.value=parseInt(e[1])||0)}}else Jn.value="月薪",hn.value=0,on.value=0;Po.value=!0},ur=()=>{Po.value=!1},li=()=>{hn.value>on.value&&on.value!==0&&(hn.value=on.value)},cr=async()=>{try{const f=s.query.id,e=`${Jn.value} ${hn.value}-${on.value}`;await Tt({id:f,salary_range:e}),v.salary_range=e,Po.value=!1,R.success("职位薪资已更新")}catch(f){console.error("更新职位薪资失败:",f),R.error("更新职位薪资失败")}},Ro=Q(!1),Wn=Q(""),fr=()=>{Wn.value=v.work_experience_required||"",Ro.value=!0},vr=()=>{Ro.value=!1},pr=async()=>{try{const f=s.query.id;await Tt({id:f,work_experience_required:Wn.value}),v.work_experience_required=Wn.value,Ro.value=!1,R.success("工作经验已更新")}catch(f){console.error("更新工作经验失败:",f),R.error("更新工作经验失败")}},Vo=Q(!1),Hn=Q(""),mr=()=>{Hn.value=v.education_required||"",Vo.value=!0},gr=()=>{Vo.value=!1},hr=async()=>{try{const f=s.query.id;await Tt({id:f,education_required:Hn.value}),v.education_required=Hn.value,Vo.value=!1,R.success("学历要求已更新")}catch(f){console.error("更新学历要求失败:",f),R.error("更新学历要求失败")}},Uo=Q(!1),Yn=Q(""),yr=()=>{Yn.value=v.department||"",Uo.value=!0},br=()=>{Uo.value=!1},Sr=async()=>{try{const f=s.query.id;await Tt({id:f,department:Yn.value.trim()}),v.department=Yn.value.trim(),Uo.value=!1,R.success("所属部门已更新")}catch(f){console.error("更新所属部门失败:",f),R.error("更新所属部门失败")}},ko=Q(!1),Xn=Q(""),Er=()=>{Xn.value=v.end_date||"",ko.value=!0},xr=()=>{ko.value=!1},Ir=async()=>{try{const f=s.query.id;await Tt({id:f,end_date:Xn.value}),v.end_date=Xn.value,ko.value=!1,R.success("截止日期已更新")}catch(f){console.error("更新截止日期失败:",f),R.error("更新截止日期失败")}},qn=Q(!1),Zn=Q(""),Cr=()=>{Zn.value=v.requirements||"",qn.value=!0},Ar=()=>{qn.value=!1},wr=async()=>{try{const f=s.query.id;await Tt({id:f,requirements:Zn.value}),v.requirements=Zn.value,qn.value=!1,R.success("职位要求已更新")}catch(f){console.error("更新职位要求失败:",f),R.error("更新职位要求失败")}},_n=Q(!1),eo=Q(""),Or=()=>{eo.value=v.description||"",_n.value=!0},Tr=()=>{_n.value=!1},Dr=async()=>{try{const f=s.query.id;await Tt({id:f,description:eo.value}),v.description=eo.value,_n.value=!1,R.success("职位描述已更新")}catch(f){console.error("更新职位描述失败:",f),R.error("更新职位描述失败")}},wn=Q(!1),to=Q(0),Pr=()=>{to.value=v.job_type||0,wn.value=!0},Rr=()=>{wn.value=!1},Vr=async()=>{try{const f=s.query.id;await Tt({id:f,job_type:to.value}),v.job_type=to.value,wn.value=!1,R.success("职位性质已更新")}catch(f){console.error("更新职位性质失败:",f),R.error("更新职位性质失败")}},Rt=Q([]),Ko=Q(!1),On=Q([]),$i=async()=>{try{const f=await ls({page:1,pageSize:1e3});f&&f.data&&(Ke.value=f.data.items.map(e=>({id:e.id,name:e.name,selected:!1})))}catch(f){console.error("获取能力标签列表失败:",f),R.error("获取能力标签列表失败")}},Ur=async()=>{var f;await $i(),On.value=((f=v.competency_tags)==null?void 0:f.map(e=>e.id))||[],Ke.value.forEach(e=>{e.selected=On.value.includes(e.id)}),Ko.value=!0},kr=()=>{Ko.value=!1},Kr=async()=>{try{const f=s.query.id;await Tt({id:f,competency_tags:On.value}),v.competency_tags=Ke.value.filter(e=>On.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Ko.value=!1,R.success("能力标签已更新")}catch(f){console.error("更新能力标签失败:",f),R.error("更新能力标签失败")}},Mr=Q(null),De=Q(0),no=Q(null),Ji=Q(!1),Mo=async f=>{if(f.name==="资料收集"){const e=await Mn(s.query.id);e&&e.data&&(De.value=e.data.id,no.value=JSON.parse(JSON.stringify(j)),console.log(no.value),Ra(j,e.data.profile_fields_config),ut.value=!0,z.value=!1);return}if(f.name==="AI考察"){if(f.action==="delete"){await xl();return}const e=await Mn(s.query.id);Un.value=!0,Mr.value=f,G.value=!0,q.value=1;try{const O=await pa({position_id:s.query.id,page:1,limit:20});O&&O.data&&O.data.dataList&&(Ce.value=O.data.dataList.map(B=>(B.content=B.question,B.title=B.question,B.competency_tags=B.competency_tag_info,B.source="ai_generated",B)));const x=await mi({job_id:s.query.id,page:1,limit:50});if(x&&x.data){const B=x.data.items.filter(ie=>ie.question_form!==4&&ie.question_form!==5).map(ie=>(ie.content=ie.question,ie.title=ie.question,ie.source="selected_application",ie.id=ie.question_id,ie)),re=new Set(Ce.value.map(ie=>ie.content)),$=B.filter(ie=>!re.has(ie.content));Ce.value=[...Ce.value,...$],console.log("chatQuestions",Ce.value)}const D=await ms({position_id:s.query.id,page:1,limit:50});if(console.log("existingTags",D),D&&D.data&&D.data.items.length>0)D.data.items.forEach(B=>{B.importance=1,B.selected=!1,v.latest_competency_snapshot&&Array.isArray(v.latest_competency_snapshot)&&(B.selected=v.latest_competency_snapshot.some(re=>re.id===B.id))}),Rt.value=D.data.items;else{const B=await ca({position_id:s.query.id});if(B&&B.data){B.data.forEach(re=>{re.selected=!1}),Rt.value=B.data;try{await gs({position_id:s.query.id,tags:Rt.value}),R.success("胜任力标签保存成功")}catch(re){console.error("保存胜任力标签失败:",re),R.error("胜任力标签保存失败")}}}e&&e.data&&(De.value=e.data.id)}catch(O){console.error("获取或生成能力标签失败:",O),R.error("获取或生成能力标签失败")}finally{Un.value=!1}Object.keys(Y).forEach(O=>{Y[O]=!1})}f.name==="综合素质考察"&&_t({page:1,limit:20}).then(e=>{e.data&&(rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Qt.value=e.data.total,Pl(),E.value=!0)}),f.name==="心理测试"&&_t({page:1,limit:30,question_form:4}).then(e=>{e.data&&(lt.question_form=4,rt.value=e.data.items,ct.page=e.data.page,ct.pageSize=e.data.limit,Qt.value=e.data.total,Ul(),Dn.value=!0)})},an=Q(""),Tn=Q(""),Nr=Q(!1),Br=async()=>{if(!an.value.trim()){R.warning("请输入维度名称");return}if(Rt.value.find(e=>e.name===an.value.trim())){R.warning("该维度名称已存在,请重新输入");return}try{const e=await cs({name:an.value.trim(),description:Tn.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const O=e.data.id;await fs({tag_ids:[O],position_ids:[t.value]});const x={id:O,name:an.value.trim(),description:Tn.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Rt.value.push(x),Nr.value,an.value="",Tn.value="",console.log("添加新维度成功:",x),console.log("当前备选维度列表:",Rt.value)}catch(e){console.error("添加自定义维度失败:",e),R.error("添加自定义维度失败,请重试")}},at=_e({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),si=Q([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),mt=Q(si.value[0]),No=Q(""),Fr=f=>{mt.value=f,console.log("选中的面试官信息:",{id:f.id,name:f.name,avatar_url:f.avatar_url||f.image}),No.value=f.avatar_url,R.success(`已选择面试官:${f.name}`)},jr=async()=>{const f=Ce.value.filter(O=>O.source==="ai_generated"),e=Ce.value.filter(O=>O.source==="custom_selected");if(console.log("AI生成的题目:",f),console.log("自定义选择的题目:",e),f.length>0&&(await vs({draft_ids:f.map(O=>O.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const O={position_id:s.query.id,question_id:{question_id:e},duration:60,tenant_id:Zt.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const x=await pi(O);x&&x.code===2e3?R.success("自定义选择的题目已保存"):R.error("自定义选择的题目保存失败")}},di=()=>{const f={keepVideo:at.keepVideo,interruptionMode:at.interruptionMode,followUpStyle:at.followUpStyle,smartFollowUp:at.smartFollowUp};return console.log("当前面试设置:",f),f},oo=(f,e)=>{switch(console.log(`面试设置 ${f} 已更改为:`,e),f){case"keepVideo":console.log("回答视频保留设置:",e?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",e==="previous"?"从上一问重新作答":"从当前问题作答");break;case"followUpStyle":console.log("追问风格:",e);break;case"smartFollowUp":console.log("智慧追问设置:",e?"开启":"关闭");break}},Lr=()=>{const f=di(),e={isValid:!0,messages:[]};return f.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Qr=f=>{l.value=!0,console.log("开始拖拽题目:",f)},Gr=f=>{l.value=!1,console.log("拖拽结束:",f),console.log("当前题目顺序:",Ce.value),R.success("题目顺序已更新")},zr=()=>({interviewer:{id:mt.value.id,name:mt.value.name,avatar_url:mt.value.avatar_url||mt.value.image},settings:di(),questionSettings:{enableScoreQuestions:Ct.enableScoreQuestions,enableColorBlindQuestions:Ct.enableColorBlindQuestions},abilities:H.value,questions:Ce.value,currentStep:q.value}),$r=async()=>{const f=await ss({page:1,pageSize:1e3});f&&f.data&&(si.value=f.data)},Wi=(f,e)=>{e?io.value.push({name:f.name,description:f.description||"暂无描述"}):io.value=io.value.filter(O=>O.name!==f.name)},Jr=f=>{ua.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=H.value[f];H.value.splice(f,1),io.value=io.value.filter(x=>x.name!==e.label);const O=Rt.value.find(x=>x.name===e.label);O&&(O.selected=!1),R.success("胜任力标签已删除")}).catch(()=>{})},io=Q([]),Wr=f=>new Promise(e=>setTimeout(e,f));let Yt=null;const Hr=async(f,e=300,O=2e3)=>{let x=0;Yt={cancelled:!1};const D=Yt;return new Promise((B,re)=>{const $=async()=>{try{if(D.cancelled){console.log("轮询已被取消"),B(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const ie=await pa(f);if(D.cancelled){console.log("轮询已被取消"),B(null);return}if(ie&&ie.data&&ie.data.dataList&&ie.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Yt=null,B(ie);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Yt=null,B(ie);return}setTimeout($,O)}catch(ie){if(console.error(`第${x}次轮询失败:`,ie),D.cancelled){console.log("轮询已被取消"),B(null);return}x<e?setTimeout($,O):(Yt=null,re(ie))}};$()})},Hi=()=>{Yt&&(Yt.cancelled=!0,Yt=null,console.log("轮询已被手动取消"))},Yr=()=>{Hi(),et.value=!1,R.info("已取消AI自动组题")},Dn=Q(!1),ao=Q(""),rt=Q([]),Lt=Q([]),ro=Q(!1),Bo=Q({}),Yi=Q(!1);Q(0);const Qt=Q(0),lt=_e({page:1,pageSize:10,keyword:"",question_form:null}),ct=_e({page:1,limit:20,keyword:"",question_form:null}),Xr=async()=>{try{const f={...lt,keyword:ao.value,...lt.question_form!==null&&{question_form:lt.question_form}},e=await _t(f);e&&e.data&&(console.log(e.data),rt.value=e.data.items,Qt.value=e.data.total)}catch(f){console.error("获取题目列表失败:",f),R.error("获取题目列表失败")}},Fo=()=>{lt.page=1,Xr()},qr=f=>{Lt.value=f},Zr=()=>{Dn.value=!1,Lt.value=[],ao.value=""},_r=async()=>{if(Lt.value.length===0){R.warning("请至少选择一个题目");return}try{const f=Lt.value.map(O=>O.id);await pi({position_id:s.query.id,question_id:f,duration:60,tenant_id:Zt.get("tenant_id")});const e=Lt.value.map(O=>({id:O.id,title:O.question||O.title,ability:O.ability||"未设置",content:O.content||O.question,target:O.target||"未设置",competency_tags:O.competency_tags||[],question_form_name:O.question_form_name,scoring_reference:O.scoring_reference,question_form:O.question_form,is_required_correct:O.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:O.options||[],source:"custom_selected"}));Ce.value.push(...e),Dn.value=!1,Lt.value=[],ao.value="",R.success("题目添加成功")}catch(f){console.error("添加题目失败:",f),Dn.value=!1,f.code===4e3?R.warning("该题目已绑定,请选择其他题目"):R.error("添加题目失败,请重试")}},Xi={name:{visible:!0,label:"姓名",required:!0},gender:{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},political_status:{visible:!0,label:"政治面貌",required:!1},family_member:{visible:!0,label:"家庭成员",fields:{relation:{visible:!0,label:"称谓",required:!0},name:{visible:!0,label:"姓名",required:!0},workplace:{visible:!0,label:"工作单位/家庭地址",required:!1},position:{visible:!0,label:"职务",required:!1},phone:{visible:!0,label:"联系电话",required:!0},family_contact_person:{visible:!0,label:"是否为紧急联系人",required:!1}}},education:{visible:!0,label:"教育经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},school_name:{visible:!0,label:"学校名称",required:!0},major:{visible:!0,label:"专业",required:!0},degree:{visible:!0,label:"学历",required:!0}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},company_size:{visible:!0,label:"单位人数",required:!0},department:{visible:!0,label:"任职部门",required:!0},position:{visible:!0,label:"担任职务",required:!0},monthly_income:{visible:!0,label:"月总收入",required:!0},direct_supervisor:{visible:!0,label:"直接领导",required:!0},supervisor_phone:{visible:!0,label:"领导电话",required:!0}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}},j=_e(()=>{const f=i(s.query.id);return f?(console.log("从缓存加载字段配置"),f):(console.log("使用默认字段配置"),JSON.parse(JSON.stringify(Xi)))})(),el=async()=>{try{const f={position_id:s.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",require_basic_info:!0,profile_fields_config:{name:{required:j.name.required,visible:j.name.visible},phone:{required:j.phone.required,visible:j.phone.visible},id_card:{required:j.id_card.required,visible:j.id_card.visible},gender:{required:j.gender.required,visible:j.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:j.political_status.required,visible:j.political_status.visible},ethnicity:{required:j.ethnicity.required,visible:j.ethnicity.visible},height:{required:j.height.required,visible:j.height.visible},weight:{required:j.weight.required,visible:j.weight.visible},marital_status:{required:j.marital_status.required,visible:j.marital_status.visible},expected_salary:{required:j.expected_salary.required,visible:j.expected_salary.visible},household_location:{required:j.household_location.required,visible:j.household_location.visible}},require_education_info:j.education.visible,education_fields_config:{school_name:{required:j.education.fields.school_name.required,visible:j.education.fields.school_name.visible},major:{required:j.education.fields.major.required,visible:j.education.fields.major.visible},degree:{required:j.education.fields.degree.required,visible:j.education.fields.degree.visible},start_date:{required:j.education.fields.start_time.required,visible:j.education.fields.start_time.visible},end_date:{required:j.education.fields.end_time.required,visible:j.education.fields.end_time.visible}},require_work_experience:j.work_experience.visible,work_experience_fields_config:{company_name:{required:j.work_experience.fields.company_name.required,visible:j.work_experience.fields.company_name.visible},position:{required:j.work_experience.fields.position.required,visible:j.work_experience.fields.position.visible},department:{required:j.work_experience.fields.department.required,visible:j.work_experience.fields.department.visible},start_date:{required:j.work_experience.fields.start_time.required,visible:j.work_experience.fields.start_time.visible},end_date:{required:j.work_experience.fields.end_time.required,visible:j.work_experience.fields.end_time.visible},job_description:{required:!0,visible:!0},achievements:{required:!1,visible:!0},resignation_reason:{required:!1,visible:!0},company_size:{required:j.work_experience.fields.company_size.required,visible:j.work_experience.fields.company_size.visible},monthly_income:{required:j.work_experience.fields.monthly_income.required,visible:j.work_experience.fields.monthly_income.visible},supervisor_phone:{required:j.work_experience.fields.supervisor_phone.required,visible:j.work_experience.fields.supervisor_phone.visible}},require_family_info:j.family_member.visible,family_fields_config:{relation:{required:j.family_member.fields.relation.required,visible:j.family_member.fields.relation.visible},name:{required:j.family_member.fields.name.required,visible:j.family_member.fields.name.visible},workplace:{required:j.family_member.fields.workplace.required,visible:j.family_member.fields.workplace.visible},position:{required:j.family_member.fields.position.required,visible:j.family_member.fields.position.visible},phone:{required:j.family_member.fields.phone.required,visible:j.family_member.fields.phone.visible},family_contact_person:{required:j.family_member.fields.family_contact_person.required,visible:j.family_member.fields.family_contact_person.visible}},require_training_info:j.training_fields_config.visible,require_professional_skills:j.require_professional_skills.visible,enable_posture_check:!0,posture_check_config:{required_photos:["front","side","back"],instructions:"请按照提示上传您的全身照片,确保光线充足,背景简洁"},interview_duration_minutes:45,enable_video_recording:!0,enable_face_recognition:!0,scoring_method:"hybrid",auto_analysis_enabled:!0,custom_welcome_message:"欢迎参加咖啡师岗位的面试,请放松心情,准备好开始面试吧!",custom_instructions:"本次面试共有10个问题,每个问题有60秒的回答时间,请简洁明了地表达您的观点。",notification_config:{send_email:!0,send_sms:!1,notify_hr:!0,completion_message:"感谢您完成面试,我们将在3个工作日内给您回复。"},is_active:!0,is_template:!1};De.value==0||(f.id=De.value),De.value==0?(await gi(f)).code==2e3?(R.success("配置保存成功"),o(j,s.query.id),ut.value=!1,z.value=!1):R.error("配置保存失败"):(await yt(f)).code==2e3?(R.success("配置保存成功"),o(j,s.query.id),ut.value=!1,z.value=!1):R.error("配置保存失败")}catch(f){console.error("保存配置失败:",f),R.error("配置保存失败")}},tl=()=>({name:j.name,id_card:j.id_card,phone:j.phone,gender:j.gender,ethnicity:j.ethnicity,height:j.height,weight:j.weight,current_address:j.current_address,household_location:j.household_location,marital_status:j.marital_status,expected_salary:j.expected_salary,political_status:j.political_status}),nl=()=>({skills:j.require_professional_skills,training:j.training_fields_config}),lo=Q(!1),Ge=_e({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Pn=Q(!1),so=Q(!1),uo=Q(!1),rn=Q(""),Rn=Q(""),Vn=Q(""),ol=()=>{lo.value=!1,Pn.value=!1,so.value=!1,uo.value=!1,Object.assign(Ge,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},il=async()=>{let f;f=await yt({id:De.value,enable_emotion_analysis:Ge.positionDetection}),f.code==2e3||R.error("配置保存失败")},al=()=>{il(),R.success("面试设置已保存"),lo.value=!1},rl=()=>{Mn(s.query.id).then(f=>{lo.value=!0,De.value=f.data.id,Ge.beforeStartText=f.data.digital_human_opening_speech})},ll=()=>{rn.value=Ge.beforeStartText,Pn.value=!0},sl=()=>{Pn.value=!1,rn.value="",Qi()},dl=async()=>{var f;if(!rn.value.trim()){R.warning("开始前提示内容不能为空");return}Ge.beforeStartText=rn.value.trim();try{let e;if(console.log(De.value),De.value==0)e=await gi({position_id:s.query.id,digital_human_opening_speech:rn.value.trim()}),e.code===2e3?(De.value=((f=e.data)==null?void 0:f.id)||e.data,R.success("开场词提示内容已创建"),Pn.value=!1):R.error("开场词提示内容创建失败");else if(e=await yt({id:De.value,digital_human_opening_speech:rn.value.trim()}),e.code===2e3){R.success("开场词提示内容已更新"),Pn.value=!1;try{const O={config_id:De.value};await hi(O),console.log("开场词生成成功")}catch(O){console.error("获取开场词失败:",O),R.warning("开场词生成中,请稍后")}}else R.error("开场词提示内容更新失败")}catch(e){console.error("保存开场词提示内容失败:",e),R.error("保存失败,请重试")}},ul=()=>{Rn.value=Ge.afterStartText,so.value=!0},cl=()=>{so.value=!1,Rn.value=""},fl=()=>{if(!Rn.value.trim()){R.warning("开始后提醒内容不能为空");return}Ge.afterStartText=Rn.value.trim(),so.value=!1,R.success("开始后提醒内容已更新")},vl=()=>{Vn.value=Ge.disclaimerText,uo.value=!0},pl=()=>{uo.value=!1,Vn.value=""},ml=()=>{if(!Vn.value.trim()){R.warning("内容不能为空");return}Ge.disclaimerText=Vn.value.trim(),uo.value=!1,R.success("内容已更新")},yn=_e({openQuestionsCount:5,choiceQuestionsCount:10}),qi=()=>{console.log("题目数量已更新:",yn)},Zi=async()=>{try{et.value=!0;const f=H.value.map(x=>x.id);if(f.length===0){R.warning("请先选择能力标签");return}const e={position_id:s.query.id,competency_tag_ids:f,open_questions_count:yn.openQuestionsCount,choice_questions_count:yn.choiceQuestionsCount,auto_save:!0,tenant_id:Zt.get("tenant_id")},O=await ps(e);if(O&&O.data){const x=await Hr({tenant_id:Zt.get("tenant_id"),page:1,limit:30,position_id:s.query.id});if(console.log(x),x===null){console.log("轮询被取消,停止处理");return}if(x&&x.data&&x.data.dataList){const D=x.data.dataList.map(B=>({id:B.id||Date.now(),title:B.question||B.title,ability:B.ability||"未设置",content:B.content||B.question,target:B.target||"未设置",competency_tags:B.competency_tag_info||[],question_form_name:B.question_form_name,scoring_reference:B.scoring_reference,question_form:B.question_form,is_required_correct:B.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:B.options||[],source:"ai_generated"}));Ce.value=D,R.success(`已成功生成${D.length}个面试题目`)}else R.warning("AI生成题目中,请稍后再试")}}catch(f){console.error("AI自动组题失败:",f),R.error("AI自动组题失败,请重试")}finally{et.value=!1}},gl=f=>{if(Z.competency_tags=[],f.length>0){const e=Math.floor(100/f.length),O=100%f.length;Z.competency_tags=f.map((x,D)=>{const B=Ke.value.find(re=>re.id===x);return{id:x,name:B?B.name:`标签${x}`,weight:e+(D<O?1:0)}})}},hl=f=>{switch(Z.type=f,f){case"open":Z.suggestedDuration=120;break;case"single":case"multiple":Z.suggestedDuration=60;break;case"fill":Z.suggestedDuration=30;break;case"self":Z.suggestedDuration=180;break;default:Z.suggestedDuration=60}},Un=Q(!1),kn=Q(!1),co=Q(-1),Ue=_e({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),yl=(f,e)=>{co.value=e,f.config?Object.assign(Ue,f.config):(Ue.title=f.name,Ue.description=f.description||"候选人可以向面试官提问关于公司、职位或团队的问题",Ue.duration=5,Ue.maxQuestions=3,Ue.isRequired=f.active,Ue.allowSkip=!1,Ue.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),kn.value=!0},bl=(f,e)=>{switch(f.type){case"ai_video":Mo(f);break;case"candidate_questions":yl(f,e);break;case"data_collection":Mo(f);break;case"resume_collection":Mo(f);break;default:Mo(f);break}},Sl=(f,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const O=Z.competency_tags;O[f].weight;const x=Math.round(e);if(O[f].weight=x,O.length===1){O[0].weight=100;return}const D=O.filter((re,$)=>$!==f),B=D.reduce((re,$)=>re+$.weight,0);if(B===0){const re=100-x,$=Math.floor(re/D.length),ie=re%D.length;D.forEach((st,Vt)=>{const Gt=O.findIndex(zt=>zt.id===st.id);O[Gt].weight=$+(Vt<ie?1:0)})}else{const re=100-x;if(re>0){D.forEach(ie=>{const st=O.findIndex(Gt=>Gt.id===ie.id),Vt=ie.weight/B;O[st].weight=Math.round(re*Vt)});const $=ui();if($!==100){const ie=100-$,st=D.reduce((Gt,zt)=>zt.weight>Gt.weight?zt:Gt),Vt=O.findIndex(Gt=>Gt.id===st.id);O[Vt].weight+=ie}}else D.forEach($=>{const ie=O.findIndex(st=>st.id===$.id);O[ie].weight=0})}},ui=()=>Z.competency_tags.reduce((e,O)=>e+(O.weight||0),0),El=()=>{const f=Z.competency_tags;if(f.length===0)return;const e=Math.floor(100/f.length),O=100%f.length;f.forEach((x,D)=>{x.weight=e+(D<O?1:0)})},_i=fi({get:()=>He(Z.competency_tags),set:f=>{Z.competency_tags=f,gl(f)}}),xl=async()=>{try{const f=await hs({position_id:s.query.id,tenant_id:Zt.get("tenant_id"),is_ai_generated:!0});f&&f.data&&f.data.length>0&&(await ys({position_id:s.query.id,question_id:f.data.map(e=>e.id),tenant_id:Zt.get("tenant_id")}),De.value>0&&await yt({id:De.value,enable_ai_questions:!1}),R.success("AI考察问题已删除"))}catch(f){console.error("删除AI考察问题失败:",f),R.error("删除AI考察问题失败")}};aa(()=>j.question_form_switches.enable_open_questions,f=>{f?m.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):m.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),aa(j,f=>{Ji.value&&(d.value&&clearTimeout(d.value),d.value=setTimeout(()=>{o(f,s.query.id),console.log("字段配置已自动保存到本地缓存")},1e3))},{deep:!0}),Q(!1),Q(!1);const Il=Q(!1),jo=Q(!1),ln=Q({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),Cl=()=>{jo.value=!1},Al=async()=>{try{await saveProcessConfig({position_id:s.params.id,process_type:"posture_check",config:ln.value}),R.success("配置保存成功"),jo.value=!1}catch(f){console.error("保存肢体检测配置失败:",f),R.error("配置保存失败")}},ea=Q([]),wl=Q(),Ol=f=>{console.log(f);const{firstLevel:e,secondLevel:O,currentNode:x}=f;O?_t({page:1,limit:20,question_tags:O.id.replace("tag_",""),question_form:lt.question_form}).then(D=>{D.data&&(rt.value=D.data.items,ct.page=D.data.page,ct.pageSize=D.data.limit,Qt.value=D.data.total)}):e&&_t({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:lt.question_form}).then(D=>{D.data&&(rt.value=D.data.items,ct.page=D.data.page,ct.pageSize=D.data.limit,Qt.value=D.data.total)})},Tl=f=>{console.log(f)},Dl=f=>{console.log(f)},Pl=()=>{ma({page:1,limit:100}).then(f=>{console.log("ret",f),f.data,ga({page:1,limit:100}).then(e=>{console.log("res",e);const O=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","心理测试1","心理测试"].includes(x.name));ha({}).then(x=>{console.log("res",x);const D=x.data.items,B=[...O.map(re=>({id:`category_${re.id}`,title:re.name,children:D.filter($=>$.category_id===re.id).map($=>({id:`tag_${$.id}`,title:$.name,chinese_explanation:$.chinese_explanation||""}))}))];ea.value=B})})})},ta=Q([]),Rl={children:"children",label:"title"},Vl=async f=>{try{if(f.id.startsWith("category_")){const e=f.id.replace("category_",""),O=await _t({page:1,limit:1e3,question_category:e,question_form:lt.question_form});if(O&&O.data){rt.value=O.data.items,ct.page=O.data.page,ct.pageSize=O.data.limit,Qt.value=O.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const D=x.querySelector(".el-checkbox");D&&D.__vueParentComponent.emit("change",!0)}Lt.value=O.data.items}}else if(f.id.startsWith("tag_")){const e=f.id.replace("tag_",""),O=await _t({page:1,limit:1e3,question_tags:e,question_form:lt.question_form});if(O&&O.data){rt.value=O.data.items,ct.page=O.data.page,ct.pageSize=O.data.limit,Qt.value=O.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const D=x.querySelector(".el-checkbox");D&&D.__vueParentComponent.emit("change",!0)}Lt.value=O.data.items}}}catch(e){console.error("获取题目列表失败:",e),R.error("获取题目列表失败")}},Ul=()=>{ma({page:1,limit:100}).then(f=>{console.log("ret",f),f.data,ga({page:1,limit:100}).then(e=>{console.log("res",e);const O=e.data.items.filter(x=>["心理测试"].includes(x.name));ha({}).then(x=>{console.log("res",x);const D=x.data.items,B=[...O.map(re=>({id:`category_${re.id}`,title:re.name,children:D.filter($=>$.category_id===re.id).map($=>({id:`tag_${$.id}`,title:$.name,chinese_explanation:$.chinese_explanation||""}))}))];ta.value=B})})})};return(f,e)=>{const O=Pe("page-header"),x=Pe("el-button"),D=Pe("el-icon"),B=Pe("el-input"),re=Pe("el-cascader"),$=Pe("el-option"),ie=Pe("el-select"),st=Pe("el-input-number"),Vt=Pe("el-tag"),Gt=Pe("el-date-picker"),zt=Pe("el-card"),gt=Pe("el-switch"),wt=Pe("el-dialog"),Xt=Pe("el-checkbox"),kl=Pe("Refresh"),fo=Pe("el-radio"),na=Pe("el-upload"),Kn=Pe("el-tooltip"),Kl=Pe("Folder"),Ml=Pe("el-tree"),$t=Pe("el-col"),qt=Pe("el-row"),Nl=Pe("el-radio-group"),Lo=Pe("el-table-column"),oa=Pe("el-table"),Bl=Pe("el-pagination"),ci=Pe("el-form-item"),Fl=Pe("el-checkbox-group"),jl=Pe("el-form"),ia=Wl("loading");return K(),X("div",dd,[r("div",ud,[p(O,{title:"测试",onBack:At}),r("div",cd,[p(x,{type:"primary",onClick:jt},{default:y(()=>e[90]||(e[90]=[k("保存")])),_:1})])]),r("div",fd,[p(zt,{class:"detail-card"},{default:y(()=>[e[123]||(e[123]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位详情")],-1)),r("div",vd,[e[93]||(e[93]=r("div",{class:"detail-label"},"职位名称",-1)),To.value?(K(),X("div",md,[p(B,{modelValue:An.value,"onUpdate:modelValue":e[0]||(e[0]=g=>An.value=g),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),r("div",gd,[p(x,{size:"small",onClick:ir},{default:y(()=>e[91]||(e[91]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:ar},{default:y(()=>e[92]||(e[92]=[k("保存")])),_:1})])])):(K(),X("div",pd,[k(se(v.title)+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:or},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))]),r("div",hd,[e[96]||(e[96]=r("div",{class:"detail-label"},"工作地点",-1)),Do.value?(K(),X("div",bd,[p(re,{modelValue:Ht.value,"onUpdate:modelValue":e[1]||(e[1]=g=>Ht.value=g),options:pe(V),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:F},null,8,["modelValue","options"]),r("div",Sd,[p(x,{size:"small",onClick:lr},{default:y(()=>e[94]||(e[94]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:sr},{default:y(()=>e[95]||(e[95]=[k("保存")])),_:1})])])):(K(),X("div",yd,[k(se((()=>{if(!v.location)return"暂无";if(Array.isArray(v.location))return v.location.join(",");if(typeof v.location=="string")try{return v.location.replace(/[\[\]']/g,"").split(",").map(le=>le.trim()).join(",")}catch{return v.location}return v.location})())+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:rr},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))]),r("div",Ed,[e[100]||(e[100]=r("div",{class:"detail-label"},"职位薪资",-1)),Po.value?(K(),X("div",Id,[r("div",Cd,[p(ie,{modelValue:Jn.value,"onUpdate:modelValue":e[2]||(e[2]=g=>Jn.value=g),placeholder:"薪资类型",class:"salary-type-select",onChange:li},{default:y(()=>[p($,{label:"月薪",value:"月薪"}),p($,{label:"年薪",value:"年薪"}),p($,{label:"日薪",value:"日薪"}),p($,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),p(st,{modelValue:hn.value,"onUpdate:modelValue":e[3]||(e[3]=g=>hn.value=g),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:li},null,8,["modelValue"]),e[97]||(e[97]=r("span",{class:"salary-separator"},"-",-1)),p(st,{modelValue:on.value,"onUpdate:modelValue":e[4]||(e[4]=g=>on.value=g),placeholder:"最高薪资",class:"salary-input","controls-position":"right",type:"number",min:"0",onInput:li},null,8,["modelValue"])]),r("div",Ad,[p(x,{size:"small",onClick:ur},{default:y(()=>e[98]||(e[98]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:cr},{default:y(()=>e[99]||(e[99]=[k("保存")])),_:1})])])):(K(),X("div",xd,[k(se(v.salary_range||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:dr},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))]),r("div",wd,[e[103]||(e[103]=r("div",{class:"detail-label"},"工作经验",-1)),Ro.value?(K(),X("div",Td,[p(ie,{modelValue:Wn.value,"onUpdate:modelValue":e[5]||(e[5]=g=>Wn.value=g),placeholder:"请选择工作经验",style:{width:"100%"}},{default:y(()=>[p($,{label:"不限",value:"不限"}),p($,{label:"应届毕业生",value:"应届毕业生"}),p($,{label:"1年以下",value:"1年以下"}),p($,{label:"1-3年",value:"1-3年"}),p($,{label:"3-5年",value:"3-5年"}),p($,{label:"5-10年",value:"5-10年"}),p($,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),r("div",Dd,[p(x,{size:"small",onClick:vr},{default:y(()=>e[101]||(e[101]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:pr},{default:y(()=>e[102]||(e[102]=[k("保存")])),_:1})])])):(K(),X("div",Od,[k(se(v.work_experience_required||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:fr},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))]),r("div",Pd,[e[106]||(e[106]=r("div",{class:"detail-label"},"学历要求",-1)),Vo.value?(K(),X("div",Vd,[p(ie,{modelValue:Hn.value,"onUpdate:modelValue":e[6]||(e[6]=g=>Hn.value=g),placeholder:"请选择学历要求",style:{width:"100%"}},{default:y(()=>[p($,{label:"不限",value:"不限"}),p($,{label:"高中",value:"高中"}),p($,{label:"大专",value:"大专"}),p($,{label:"本科",value:"本科"}),p($,{label:"硕士",value:"硕士"}),p($,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),r("div",Ud,[p(x,{size:"small",onClick:gr},{default:y(()=>e[104]||(e[104]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:hr},{default:y(()=>e[105]||(e[105]=[k("保存")])),_:1})])])):(K(),X("div",Rd,[k(se(v.education_required||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:mr},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))]),r("div",kd,[e[109]||(e[109]=r("div",{class:"detail-label"},"所属部门",-1)),Uo.value?(K(),X("div",Md,[p(B,{modelValue:Yn.value,"onUpdate:modelValue":e[7]||(e[7]=g=>Yn.value=g),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),r("div",Nd,[p(x,{size:"small",onClick:br},{default:y(()=>e[107]||(e[107]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Sr},{default:y(()=>e[108]||(e[108]=[k("保存")])),_:1})])])):(K(),X("div",Kd,[k(se(v.department||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:yr},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))]),r("div",Bd,[e[110]||(e[110]=r("div",{class:"detail-label"},"职位状态",-1)),r("div",Fd,[p(Vt,{type:gn(v.status)},{default:y(()=>[k(se(mn(v.status)),1)]),_:1},8,["type"])])]),r("div",jd,[e[113]||(e[113]=r("div",{class:"detail-label"},"截止日期",-1)),ko.value?(K(),X("div",Qd,[p(Gt,{modelValue:Xn.value,"onUpdate:modelValue":e[8]||(e[8]=g=>Xn.value=g),type:"datetime",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),r("div",Gd,[p(x,{size:"small",onClick:xr},{default:y(()=>e[111]||(e[111]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Ir},{default:y(()=>e[112]||(e[112]=[k("保存")])),_:1})])])):(K(),X("div",Ld,[k(se(v.end_date||"暂无")+" ",1),p(x,{type:"text",class:"edit-title-btn",onClick:Er},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))]),r("div",zd,[e[116]||(e[116]=r("div",{class:"detail-label"},"职位要求",-1)),qn.value?Te("",!0):(K(),X("div",{key:0,class:"detail-value html-content",innerHTML:v.requirements},null,8,$d)),qn.value?(K(),X("div",Jd,[p(B,{modelValue:Zn.value,"onUpdate:modelValue":e[9]||(e[9]=g=>Zn.value=g),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",Wd,[p(x,{size:"small",onClick:Ar},{default:y(()=>e[114]||(e[114]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:wr},{default:y(()=>e[115]||(e[115]=[k("保存")])),_:1})])])):(K(),we(x,{key:1,type:"text",class:"edit-title-btn",onClick:Cr},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1}))]),e[124]||(e[124]=r("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),r("div",Hd,[e[119]||(e[119]=r("div",{class:"detail-label"},"职位描述",-1)),_n.value?Te("",!0):(K(),X("div",{key:0,class:"detail-value html-content",innerHTML:v.description},null,8,Yd)),_n.value?(K(),X("div",Xd,[p(B,{modelValue:eo.value,"onUpdate:modelValue":e[10]||(e[10]=g=>eo.value=g),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",qd,[p(x,{size:"small",onClick:Tr},{default:y(()=>e[117]||(e[117]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Dr},{default:y(()=>e[118]||(e[118]=[k("保存")])),_:1})])])):(K(),we(x,{key:1,type:"text",class:"edit-title-btn",onClick:Or},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1}))]),r("div",Zd,[e[122]||(e[122]=r("div",{class:"detail-label"},"能力标签",-1)),Ko.value?(K(),X("div",eu,[p(ie,{modelValue:On.value,"onUpdate:modelValue":e[11]||(e[11]=g=>On.value=g),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(K(!0),X(Ye,null,Xe(Ke.value,g=>(K(),we($,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),r("div",tu,[p(x,{size:"small",onClick:kr},{default:y(()=>e[120]||(e[120]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Kr},{default:y(()=>e[121]||(e[121]=[k("保存")])),_:1})])])):(K(),X("div",_d,[(K(!0),X(Ye,null,Xe(v.competency_tags,g=>(K(),we(Vt,{key:g.id,effect:"plain",class:"competency-tag"},{default:y(()=>[k(se(g.name),1)]),_:2},1024))),128)),p(x,{type:"text",class:"edit-title-btn",onClick:Ur},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))])]),_:1}),r("div",nu,[p(zt,{class:"status-card"},{default:y(()=>[e[125]||(e[125]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位状态")],-1)),r("div",ou,[p(gt,{modelValue:a.value,"onUpdate:modelValue":e[12]||(e[12]=g=>a.value=g),"inactive-text":"",onChange:nn},null,8,["modelValue"]),r("span",iu,se(a.value?"已启用":"待启用"),1)])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",au,[e[127]||(e[127]=r("div",{class:"section-line"},null,-1)),e[128]||(e[128]=r("span",null,"职位性质",-1)),wn.value?Te("",!0):(K(),we(x,{key:0,type:"text",class:"edit-btn",onClick:Pr},{default:y(()=>e[126]||(e[126]=[k("编辑")])),_:1}))]),r("div",ru,[wn.value?Te("",!0):(K(),X("div",lu,se(A(v.job_type)),1)),wn.value?(K(),X("div",su,[p(ie,{modelValue:to.value,"onUpdate:modelValue":e[13]||(e[13]=g=>to.value=g),placeholder:"请选择职位性质",style:{width:"100%"}},{default:y(()=>[p($,{label:"全职",value:0}),p($,{label:"兼职",value:1}),p($,{label:"实习",value:2}),p($,{label:"其他",value:3})]),_:1},8,["modelValue"]),r("div",du,[p(x,{size:"small",onClick:Rr},{default:y(()=>e[129]||(e[129]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:Vr},{default:y(()=>e[130]||(e[130]=[k("保存")])),_:1})])])):Te("",!0)])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",uu,[e[132]||(e[132]=r("div",{class:"section-line"},null,-1)),e[133]||(e[133]=r("span",null,"招聘流程",-1)),p(x,{type:"text",class:"edit-btn",onClick:cn},{default:y(()=>e[131]||(e[131]=[k("设置流程")])),_:1})]),r("div",cu,[(K(!0),X(Ye,null,Xe(m,(g,le)=>Qo((K(),X("div",{key:g.id,class:Ot(["process-step",{disabled:!g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(K(),X("div",fu,se(c(le)),1)):Te("",!0),r("div",vu,[r("div",pu,se(g.name),1)])],2)),[[ra,g.visible]])),128))])]),_:1}),p(zt,{class:"status-card"},{default:y(()=>[r("div",mu,[e[135]||(e[135]=r("div",{class:"section-line"},null,-1)),e[136]||(e[136]=r("span",null,"面试设置",-1)),p(x,{type:"text",class:"edit-btn",onClick:rl},{default:y(()=>e[134]||(e[134]=[k("编辑")])),_:1})])]),_:1})])]),p(wt,{title:"设置招聘流程",modelValue:h.value,"onUpdate:modelValue":e[16]||(e[16]=g=>h.value=g),width:"500px","close-on-click-modal":!1},{footer:y(()=>[r("span",xu,[p(x,{onClick:vn},{default:y(()=>e[140]||(e[140]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:fn},{default:y(()=>e[141]||(e[141]=[k("确定")])),_:1})])]),default:y(()=>[r("div",gu,[(K(!0),X(Ye,null,Xe(m,(g,le)=>Qo((K(),X("div",{key:g.id},[le<m.length-1?(K(),X("div",hu,[p(x,{type:"text",onClick:Ae=>C(le,Ae)},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(bn))]),_:1})]),_:2},1032,["onClick"])])):Te("",!0),r("div",{class:Ot(["process-edit-item",{highlight:g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(K(),X("div",yu,se(c(le)),1)):Te("",!0),r("div",bu,[r("div",null,se(g.name),1)]),g.name!="已通过"&&g.name!="已淘汰"?(K(),X("div",Su,[g.name!="简历收集"&&g.name!="肢体检测"?(K(),we(x,{key:0,type:"info",size:"small",plain:"",onClick:Ae=>bl(g,le)},{default:y(()=>e[137]||(e[137]=[k(" 修改 ")])),_:2},1032,["onClick"])):Te("",!0),g.name!="资料收集"&&g.name!="AI考察"?(K(),we(x,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ae=>pn(g,le)},{default:y(()=>e[138]||(e[138]=[k(" 删除 ")])),_:2},1032,["onClick"])):Te("",!0)])):Te("",!0)],2)])),[[ra,g.visible]])),128)),e[139]||(e[139]=r("div",{class:"add-process-btn"},null,-1))]),z.value?(K(),X("div",{key:0,class:"process-options-menu",style:Yl({top:ce.top,left:ce.left}),onClick:e[15]||(e[15]=Hl(()=>{},["stop"]))},[r("div",{class:"close-btn",onClick:e[14]||(e[14]=g=>z.value=!1)},[p(D,null,{default:y(()=>[p(pe(is))]),_:1})]),(K(),X(Ye,null,Xe(b,g=>r("div",{key:g.value,class:"process-option-item",onClick:le=>P(g.value,g.label)},se(g.label),9,Eu)),64))],4)):Te("",!0)]),_:1},8,["modelValue"]),p(pe(vi),{title:"AI考察",modelValue:G.value,"onUpdate:modelValue":e[35]||(e[35]=g=>G.value=g),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[r("div",jc,[q.value>1?(K(),we(x,{key:0,size:"small",onClick:ee},{default:y(()=>e[182]||(e[182]=[k("上一步")])),_:1})):Te("",!0),p(x,{onClick:ge,size:"small"},{default:y(()=>e[183]||(e[183]=[k("取消")])),_:1}),q.value<3?(K(),we(x,{key:1,type:"primary",size:"small",onClick:L,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[184]||(e[184]=[k("下一步")])),_:1})):(K(),we(x,{key:2,type:"success",onClick:ue,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[185]||(e[185]=[k("新增")])),_:1}))])]),default:y(()=>[r("div",Iu,[r("div",{class:Ot(["step-item",{active:q.value===1}]),onClick:e[17]||(e[17]=g=>xe(1))},[e[142]||(e[142]=r("div",{class:"step-number"},"1",-1)),r("div",{class:Ot(["step-title",{"active-title":q.value===1}])},"考察能力",2)],2),r("div",{class:Ot(["step-line",{"active-line":q.value>=2}])},null,2),r("div",{class:Ot(["step-item",{active:q.value===2}]),onClick:e[18]||(e[18]=g=>xe(2))},[e[143]||(e[143]=r("div",{class:"step-number"},"2",-1)),r("div",{class:Ot(["step-title",{"active-title":q.value===2}])},"面试题目",2)],2),r("div",{class:Ot(["step-line",{"active-line":q.value>=3}])},null,2),r("div",{class:Ot(["step-item",{active:q.value===3}]),onClick:e[19]||(e[19]=g=>xe(3))},[e[144]||(e[144]=r("div",{class:"step-number"},"3",-1)),r("div",{class:Ot(["step-title",{"active-title":q.value===3}])},"系统设置",2)],2)]),q.value===1?Qo((K(),X("div",Cu,[r("div",Au,[e[151]||(e[151]=r("div",{class:"ai-video-options-header"},[r("div",{class:"ai-video-options-header-title"},[r("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),r("div",wu,[r("div",Ou,[(K(!0),X(Ye,null,Xe(Rt.value.slice(0,10),g=>(K(),we(Xt,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":le=>g.selected=le,onChange:le=>Wi(g,le),class:"custom-checkbox"},{default:y(()=>[r("div",Tu,[r("span",null,se(g.name),1),e[145]||(e[145]=r("img",{src:ya,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",Du,[r("div",Pu,[e[147]||(e[147]=r("h3",{style:{color:"#808080"}},"备选考核维度",-1)),r("div",Ru,[p(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:N},{default:y(()=>e[146]||(e[146]=[k("重新生成")])),_:1})])]),r("div",Vu,[(K(!0),X(Ye,null,Xe(Rt.value.slice(10,50),g=>(K(),we(Xt,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":le=>g.selected=le,onChange:le=>Wi(g,le),class:"custom-checkbox"},{default:y(()=>[r("div",Uu,[r("span",null,se(g.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",ku,[e[150]||(e[150]=r("h3",{style:{color:"#808080"}},"自定义维度",-1)),r("div",Ku,[r("div",Mu,[r("div",Nu,[p(B,{style:{width:"150px"},modelValue:an.value,"onUpdate:modelValue":e[20]||(e[20]=g=>an.value=g),placeholder:"请输入维度名称"},null,8,["modelValue"])]),r("div",Bu,[e[148]||(e[148]=r("div",{class:"input-label"},"特征描述:",-1)),p(B,{modelValue:Tn.value,"onUpdate:modelValue":e[21]||(e[21]=g=>Tn.value=g),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),r("div",Fu,[p(x,{type:"primary",onClick:Br},{default:y(()=>e[149]||(e[149]=[k("添加")])),_:1})])])])])])),[[ia,Un.value]]):Te("",!0),q.value===2?(K(),X("div",ju,[r("div",Lu,[r("div",Qu,[r("div",Gu,[p(x,{plain:"",class:"custom-btn",onClick:Ni},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(bn))]),_:1}),e[152]||(e[152]=k(" 自定义题目 "))]),_:1}),p(x,{plain:"",class:"custom-btn"},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(sa))]),_:1}),e[153]||(e[153]=k(" 导入题目 "))]),_:1}),Ce.value.length>0?(K(),we(x,{key:0,type:"primary",plain:"",class:"custom-btn",loading:et.value,onClick:Zi},{default:y(()=>[p(D,null,{default:y(()=>[p(kl)]),_:1}),e[154]||(e[154]=k(" 重新生成 "))]),_:1},8,["loading"])):Te("",!0),r("div",zu,[r("div",$u,[e[155]||(e[155]=r("span",{class:"switch-label"},"开放题数量",-1)),p(st,{modelValue:yn.openQuestionsCount,"onUpdate:modelValue":e[22]||(e[22]=g=>yn.openQuestionsCount=g),min:1,max:10,size:"small",onChange:qi},null,8,["modelValue"])]),r("div",Ju,[e[156]||(e[156]=r("span",{class:"switch-label"},"选择题数量",-1)),p(st,{modelValue:yn.choiceQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=g=>yn.choiceQuestionsCount=g),min:1,max:20,size:"small",onChange:qi},null,8,["modelValue"])])])]),r("div",Wu,[e[157]||(e[157]=r("span",null,"预计面试时长: ",-1)),r("span",Hu,se(Cn.value),1),e[158]||(e[158]=r("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),r("div",Yu,[Qo((K(),X("div",Xu,[Ce.value.length===0?(K(),X("div",qu,[e[161]||(e[161]=r("p",null,"暂无题目",-1)),e[162]||(e[162]=r("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[163]||(e[163]=r("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),p(x,{type:"success",class:"auto-generate-btn",loading:et.value,onClick:Zi},{default:y(()=>e[159]||(e[159]=[k(" AI自动组题 ")])),_:1},8,["loading"]),et.value&&pe(Yt)?(K(),we(x,{key:0,type:"warning",plain:"",size:"small",onClick:Yr,style:{"margin-left":"10px"}},{default:y(()=>e[160]||(e[160]=[k(" 取消生成 ")])),_:1})):Te("",!0)])):(K(),X("div",Zu,[p(pe(Pa),{modelValue:Ce.value,"onUpdate:modelValue":e[24]||(e[24]=g=>Ce.value=g),"item-key":"id",handle:".drag-handle",onStart:Qr,onEnd:Gr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:g})=>[r("div",_u,[e[167]||(e[167]=r("div",{class:"drag-handle"},[r("img",{src:Cs,alt:"",class:"dorp"})],-1)),r("div",ec,[r("div",tc,[r("div",nc,[r("div",oc,[r("span",ic,"题目"+se(Ce.value.indexOf(g)+1),1),r("span",null,[r("span",ac,se("「"+g.question_form_name+"」"),1),k(se(g.title),1)])]),r("div",rc,[(K(!0),X(Ye,null,Xe((g.competency_tag_info||g.competency_tags||[]).slice(0,2),(le,Ae)=>(K(),we(Vt,{key:le.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[k(se(S(le)),1)]),_:2},1024))),128)),(g.competency_tag_info||g.competency_tags||[]).length>2?(K(),X("span",lc," +"+se((g.competency_tag_info||g.competency_tags||[]).length-2),1)):Te("",!0)])])]),r("div",sc,[p(x,{type:"text",onClick:le=>ji(Ce.value.indexOf(g))},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:2},1032,["onClick"]),p(x,{type:"text",onClick:le=>Li(Ce.value.indexOf(g))},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(da))]),_:1})]),_:2},1032,["onClick"])])]),r("div",dc,[r("div",uc,[r("span",null,se(g.scoring_reference),1)])]),g.question_form==0?(K(),X("div",cc,[r("div",fc,[p(gt,{style:{"margin-top":"0px"},modelValue:g.enable_follow_up,"onUpdate:modelValue":le=>g.enable_follow_up=le,onChange:ae},null,8,["modelValue","onUpdate:modelValue"]),e[164]||(e[164]=r("span",{class:"answer-label"},"回答不充分追问",-1))]),r("div",vc,[e[165]||(e[165]=r("span",{class:"answer-label"},"追问轮数",-1)),p(ie,{modelValue:g.maxAnswers,"onUpdate:modelValue":le=>g.maxAnswers=le,size:"small",placeholder:"请选择"},{default:y(()=>[p($,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Te("",!0),g.question_form==1?(K(),X("div",pc,[r("div",mc,[e[166]||(e[166]=r("span",{class:"answer-label"},"是否为红线题:",-1)),p(ie,{modelValue:g.is_required_correct,"onUpdate:modelValue":le=>g.is_required_correct=le,disabled:!0,onChange:le=>M(g.id,g.is_required_correct),size:"small",placeholder:"请选择"},{default:y(()=>[p($,{label:"是",value:!0}),p($,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):Te("",!0)])]),_:1},8,["modelValue"])]))])),[[ia,et.value]]),r("div",gc,[e[170]||(e[170]=r("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),r("div",hc,[(K(!0),X(Ye,null,Xe(H.value,(g,le)=>(K(),X("div",{key:g.value,class:"dimension-item"},[r("div",yc,[r("div",bc,[r("span",Sc,se(g.label),1),e[168]||(e[168]=r("img",{src:ya,alt:"",class:"sheng"},null,-1))])]),r("div",{class:"dimension-content",onClick:Ae=>Jr(le),title:"点击删除此胜任力标签"},e[169]||(e[169]=[r("div",{class:"ability-description"},se("—"),-1)]),8,Ec)]))),128))])])])])])):Te("",!0),q.value===3?(K(),X("div",xc,[r("div",Ic,[r("div",Cc,[e[181]||(e[181]=r("div",{class:"section-header"},"请选择面试官形象",-1)),r("div",Ac,[r("div",wc,[No.value?(K(),X("img",{key:0,src:No.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,Oc)):Te("",!0)]),r("div",null,[r("div",Tc,[(K(!0),X(Ye,null,Xe(si.value,g=>(K(),X("div",{key:g.id,class:Ot(["avatar-item",{active:mt.value.id===g.id}]),onClick:le=>Fr(g)},[r("div",Pc,[r("div",{class:Ot(["avatar-circle",{selected:mt.value.id===g.id}])},[r("img",{src:g.avatar_url||g.image,alt:g.name},null,8,Rc)],2),r("div",{class:"avatar-name",title:g.name},se(g.name),9,Vc)])],10,Dc))),128))]),r("div",Uc,[e[171]||(e[171]=r("div",{class:"setting-label"},"「追问风格」",-1)),r("div",kc,[p(ie,{modelValue:at.followUpStyle,"onUpdate:modelValue":e[25]||(e[25]=g=>at.followUpStyle=g),placeholder:"请选择",onChange:e[26]||(e[26]=g=>oo("followUpStyle",at.followUpStyle))},{default:y(()=>[p($,{label:"温和",value:"1"}),p($,{label:"严厉",value:"2"}),p($,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[172]||(e[172]=r("div",{class:"setting-desc"},null,-1))])])]),r("div",Kc,[r("div",Mc,[e[173]||(e[173]=r("div",{class:"setting-label"},[r("p",null,"「回答视频保留」")],-1)),e[174]||(e[174]=r("div",{class:"setting-desc"},[r("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),p(gt,{modelValue:at.keepVideo,"onUpdate:modelValue":e[27]||(e[27]=g=>at.keepVideo=g),onChange:e[28]||(e[28]=g=>oo("keepVideo",g)),disabled:!0},null,8,["modelValue"])]),r("div",Nc,[e[177]||(e[177]=r("div",{class:"setting-label"},[r("p",null,"「中断后作答限制」")],-1)),r("div",Bc,[p(fo,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[29]||(e[29]=g=>at.interruptionMode=g),label:"current",onChange:e[30]||(e[30]=g=>oo("interruptionMode",at.interruptionMode))},{default:y(()=>e[175]||(e[175]=[k(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),p(fo,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[31]||(e[31]=g=>at.interruptionMode=g),label:"previous",onChange:e[32]||(e[32]=g=>oo("interruptionMode",at.interruptionMode))},{default:y(()=>e[176]||(e[176]=[k(" 从头作答 ")])),_:1},8,["modelValue"])]),e[178]||(e[178]=r("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),r("div",Fc,[e[179]||(e[179]=r("div",{class:"setting-label"},[r("p",null,"「智慧追问」")],-1)),e[180]||(e[180]=r("div",{class:"setting-desc"},[r("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),p(gt,{modelValue:at.smartFollowUp,"onUpdate:modelValue":e[33]||(e[33]=g=>at.smartFollowUp=g),onChange:e[34]||(e[34]=g=>oo("smartFollowUp",g))},null,8,["modelValue"])])])])])])):Te("",!0)]),_:1},8,["modelValue"]),p(wt,{title:"新增视频宣讲",modelValue:be.value,"onUpdate:modelValue":e[37]||(e[37]=g=>be.value=g),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[r("span",$c,[p(x,{onClick:Be},{default:y(()=>e[189]||(e[189]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:ve},{default:y(()=>e[190]||(e[190]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Lc,[r("div",Qc,[e[187]||(e[187]=r("div",{class:"form-label"},"上传视频",-1)),p(na,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[r("div",Gc,[p(D,null,{default:y(()=>[p(pe(bn))]),_:1}),e[186]||(e[186]=r("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),r("div",zc,[e[188]||(e[188]=r("div",{class:"form-label"},"视频简介",-1)),p(B,{modelValue:Oe.description,"onUpdate:modelValue":e[36]||(e[36]=g=>Oe.description=g),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(pe(vi),{title:"AI实时对话",modelValue:Ne.value,"onUpdate:modelValue":e[39]||(e[39]=g=>Ne.value=g),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:y(()=>[r("div",uf,[p(x,{onClick:de},{default:y(()=>e[201]||(e[201]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:ne},{default:y(()=>e[202]||(e[202]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Jc,[r("div",Wc,[e[200]||(e[200]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"对话设置")],-1)),r("div",Hc,[p(x,{type:"primary",plain:"",onClick:$a},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(bn))]),_:1}),e[191]||(e[191]=k(" 添加问题 "))]),_:1}),p(x,{type:"success",plain:"",onClick:Ni},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(sa))]),_:1}),e[192]||(e[192]=k(" 导入问题 "))]),_:1})]),r("div",Yc,[Ce.value.length===0?(K(),X("div",Xc,e[193]||(e[193]=[r("p",null,"暂无问题",-1),r("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(K(),X("div",qc,[p(pe(Pa),{modelValue:Ce.value,"onUpdate:modelValue":e[38]||(e[38]=g=>Ce.value=g),"item-key":"id",handle:".drag-handle"},{item:y(({element:g,index:le})=>[k(se(g)+" ",1),r("div",Zc,[r("div",_c,[r("div",ef,[r("span",tf,"题目"+se(le+1),1),r("span",null,se(g.question),1)]),r("div",nf,[r("div",of,[e[195]||(e[195]=r("span",{class:"weight-label"},"权重占比:",-1)),p(st,{modelValue:g.weight,"onUpdate:modelValue":Ae=>g.weight=Ae,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[194]||(e[194]=[k("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),r("div",af,[e[196]||(e[196]=r("span",{class:"answer-label"},"最多回答次数",-1)),p(ie,{modelValue:g.maxAnswers,"onUpdate:modelValue":Ae=>g.maxAnswers=Ae,size:"small",placeholder:"请选择"},{default:y(()=>[p($,{label:"1次",value:1}),p($,{label:"2次",value:2}),p($,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),p(x,{type:"text",onClick:Ae=>ji(le)},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:2},1032,["onClick"]),p(x,{type:"text",onClick:Ae=>Li(le)},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(da))]),_:1})]),_:2},1032,["onClick"])])]),r("div",rf,[r("div",lf,[e[197]||(e[197]=r("span",{class:"info-label"},"考察能力:",-1)),r("span",null,se(g.ability),1)]),r("div",sf,[e[198]||(e[198]=r("span",{class:"info-label"},"面试内容:",-1)),r("span",null,se(g.content),1)]),r("div",df,[e[199]||(e[199]=r("span",{class:"info-label"},"对话目标:",-1)),r("span",null,se(g.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),p(wt,{title:"查看问题",modelValue:Re.value,"onUpdate:modelValue":e[48]||(e[48]=g=>Re.value=g),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[r("span",Df,[p(x,{onClick:Bt},{default:y(()=>e[229]||(e[229]=[k("取消")])),_:1})])]),default:y(()=>[r("div",cf,[r("div",ff,[e[203]||(e[203]=r("div",{class:"form-label"},[k(" 题目内容"),r("span",{class:"required"},"*")],-1)),p(B,{modelValue:Z.content,"onUpdate:modelValue":e[40]||(e[40]=g=>Z.content=g),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),r("div",vf,[e[204]||(e[204]=r("div",{class:"form-label"},"胜任力标签",-1)),p(ie,{modelValue:_i.value,"onUpdate:modelValue":e[41]||(e[41]=g=>_i.value=g),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(K(!0),X(Ye,null,Xe(Z.competency_tags,g=>(K(),we($,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[205]||(e[205]=r("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),r("div",pf,[e[211]||(e[211]=r("div",{class:"form-label"}," 胜任力配置 ",-1)),r("div",mf,[e[207]||(e[207]=r("div",{class:"config-row"},[r("span",{class:"config-label"},"标签"),r("span",{class:"config-label"},"权重")],-1)),(K(!0),X(Ye,null,Xe(Z.competency_tags,(g,le)=>(K(),X("div",{class:"config-row",key:g.id},[r("span",gf,se(g.name),1),p(st,{modelValue:g.weight,"onUpdate:modelValue":Ae=>g.weight=Ae,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:Ae=>Sl(le,Ae)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[206]||(e[206]=k(" % "))]))),128))]),r("div",hf,[e[208]||(e[208]=k(" 配置各个胜任力标签的权重,总和需要100% ")),r("span",{class:Ot(["weight-sum",{"weight-error":ui()!==100}])}," (当前总计: "+se(ui())+"%) ",3),e[209]||(e[209]=r("br",null,null,-1)),p(D,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[p(pe(as))]),_:1}),e[210]||(e[210]=r("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),r("div",yf,[e[212]||(e[212]=r("div",{class:"form-label"},"题目形式",-1)),p(ie,{modelValue:Z.question_form,"onUpdate:modelValue":e[42]||(e[42]=g=>Z.question_form=g),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:hl},{default:y(()=>[p($,{label:"开放问题",value:0}),p($,{label:"单选题",value:1}),p($,{label:"识图题",value:3}),p($,{label:"多选题",value:2}),p($,{label:"填空题",value:6}),p($,{label:"得分题",value:4}),p($,{label:"追加型开放问题",value:5})]),_:1},8,["modelValue"]),e[213]||(e[213]=r("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),r("div",bf,[e[214]||(e[214]=r("div",{class:"form-label"},"适用职位",-1)),p(ie,{modelValue:t.value,"onUpdate:modelValue":e[43]||(e[43]=g=>t.value=g),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0},{default:y(()=>[(K(!0),X(Ye,null,Xe(Le.value,g=>(K(),we($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[215]||(e[215]=r("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),Z.question_form===1||Z.question_form===2||Z.question_form===3?(K(),X("div",Sf,[e[217]||(e[217]=r("div",{class:"form-label"},"选项",-1)),r("div",null,[e[216]||(e[216]=r("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[r("span",{style:{flex:"1"}},"选项内容"),r("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(K(!0),X(Ye,null,Xe(Z.options,(g,le)=>(K(),X("div",{key:le,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[p(B,{modelValue:g.text,"onUpdate:modelValue":Ae=>g.text=Ae,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),p(Kn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[r("div",{onClick:()=>{Z.question_form===1||Z.question_form===3?Z.options.forEach((Ae,Ll)=>{Ae.is_correct=Ll===le}):g.is_correct=!g.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[Z.question_form===1||Z.question_form===3?(K(),we(fo,{key:0,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":Ae=>g.is_correct=Ae,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(K(),we(Xt,{key:1,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":Ae=>g.is_correct=Ae},null,8,["modelValue","onUpdate:modelValue"]))],8,Ef)]),_:2},1024)]))),128))]),e[218]||(e[218]=r("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):Te("",!0),Z.question_form==6?(K(),X("div",xf,[e[219]||(e[219]=r("div",{class:"form-label"},"填空答案模板",-1)),p(Ss,{"model-value":Z.blank_answer_template||[],question:Z.content,readonly:!0},null,8,["model-value","question"])])):Te("",!0),Z.question_form===3?(K(),X("div",If,[e[220]||(e[220]=r("div",{class:"form-label"},"题目图片",-1)),r("img",{src:Z.question_image_url,alt:""},null,8,Cf)])):Te("",!0),r("div",Af,[e[221]||(e[221]=r("div",{class:"form-label"},"分类",-1)),p(ie,{modelValue:Z.category,"onUpdate:modelValue":e[44]||(e[44]=g=>Z.category=g),placeholder:"请选择题目分类",class:"full-width",disabled:!0},{default:y(()=>[(K(!0),X(Ye,null,Xe(Ve.value,g=>(K(),we($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[222]||(e[222]=r("div",{class:"form-tip"},"选择题目所属分类",-1))]),r("div",wf,[e[223]||(e[223]=r("div",{class:"form-label"},"标签",-1)),p(ie,{modelValue:Z.tags,"onUpdate:modelValue":e[45]||(e[45]=g=>Z.tags=g),placeholder:"请选择标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(K(!0),X(Ye,null,Xe(Me.value,g=>(K(),we($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[224]||(e[224]=r("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),r("div",Of,[e[225]||(e[225]=r("div",{class:"form-label"},"建议时长(秒)",-1)),p(st,{modelValue:Z.suggestedDuration,"onUpdate:modelValue":e[46]||(e[46]=g=>Z.suggestedDuration=g),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[226]||(e[226]=r("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),r("div",Tf,[e[227]||(e[227]=r("div",{class:"form-label"},"评价标准",-1)),p(B,{modelValue:Z.scoring_reference,"onUpdate:modelValue":e[47]||(e[47]=g=>Z.scoring_reference=g),type:"textarea",disabled:!0,rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[228]||(e[228]=r("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),p(wt,{title:"选择题目",modelValue:Dn.value,"onUpdate:modelValue":e[49]||(e[49]=g=>Dn.value=g),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",kf,[p(x,{onClick:Zr},{default:y(()=>e[230]||(e[230]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:_r,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[231]||(e[231]=[k("确定")])),_:1})])]),default:y(()=>[r("div",Pf,[p(Ml,{ref:"treeRef",data:ta.value,"node-key":"id",props:Rl,"default-expand-all":"","highlight-current":"",onNodeClick:Vl},{default:y(({node:g,data:le})=>[r("div",Rf,[r("div",Vf,[p(D,null,{default:y(()=>[p(Kl)]),_:1}),r("span",Uf,se(le.title),1)])])]),_:1},8,["data"])])]),_:1},8,["modelValue"]),p(wt,{title:"创建自定义题目",modelValue:ro.value,"onUpdate:modelValue":e[51]||(e[51]=g=>ro.value=g),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":Bi},{default:y(()=>[p(ds,{modelValue:Bo.value,"onUpdate:modelValue":e[50]||(e[50]=g=>Bo.value=g),"is-edit":Yi.value,onSubmit:Ja,onCancel:Bi},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),p(wt,{title:"资料收集",modelValue:ut.value,"onUpdate:modelValue":e[52]||(e[52]=g=>ut.value=g),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[r("span",ev,[p(x,{onClick:Wa},{default:y(()=>e[241]||(e[241]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:el},{default:y(()=>e[242]||(e[242]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Kf,[r("div",Mf,[e[240]||(e[240]=r("div",{class:"panel-header"},[r("h3",null,"字段显示配置")],-1)),r("div",Nf,[e[235]||(e[235]=r("div",{class:"section-title"},"基本信息",-1)),p(qt,{gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(tl(),(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Bf,[r("span",Ff,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,disabled:g.label=="姓名"||g.label=="手机号"||g.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[236]||(e[236]=r("div",{class:"section-title"},"家庭成员信息",-1)),p(qt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",jf,[r("span",Lf,[k(se(pe(j).family_member.label)+" ",1),pe(j).family_member.visible?(K(),we(Vt,{key:0,size:"small",type:"success"},{default:y(()=>e[232]||(e[232]=[k("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),pe(j).family_member.visible?(K(),we(qt,{key:0,gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(pe(j).family_member.fields,(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Qf,[r("span",Gf,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[237]||(e[237]=r("div",{class:"section-title"},"教育经历",-1)),p(qt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",zf,[r("span",$f,[k(se(pe(j).education.label)+" ",1),pe(j).education.visible?(K(),we(Vt,{key:0,size:"small",type:"success"},{default:y(()=>e[233]||(e[233]=[k("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),pe(j).education.visible?(K(),we(qt,{key:1,gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(pe(j).education.fields,(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Jf,[r("span",Wf,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[238]||(e[238]=r("div",{class:"section-title"},"专业技能",-1)),p(qt,{gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(nl(),(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Hf,[r("span",Yf,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[239]||(e[239]=r("div",{class:"section-title"},"工作经历",-1)),p(qt,{gutter:20},{default:y(()=>[p($t,{span:24},{default:y(()=>[r("div",Xf,[r("span",qf,[k(se(pe(j).work_experience.label)+" ",1),pe(j).work_experience.visible?(K(),we(Vt,{key:0,size:"small",type:"success"},{default:y(()=>e[234]||(e[234]=[k("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),pe(j).work_experience.visible?(K(),we(qt,{key:2,gutter:20},{default:y(()=>[(K(!0),X(Ye,null,Xe(pe(j).work_experience.fields,(g,le)=>(K(),we($t,{span:8,key:le},{default:y(()=>[r("div",Zf,[r("span",_f,se(g.label),1),p(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ae=>g.visible=Ae,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0)])])])]),_:1},8,["modelValue"]),p(wt,{title:"简历收集",modelValue:St.value,"onUpdate:modelValue":e[54]||(e[54]=g=>St.value=g),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[r("span",ov,[p(x,{onClick:Ft},{default:y(()=>e[244]||(e[244]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:It},{default:y(()=>e[245]||(e[245]=[k("确认")])),_:1})])]),default:y(()=>[r("div",tv,[r("div",nv,[e[243]||(e[243]=r("div",{class:"form-label"},"步骤名称",-1)),p(B,{modelValue:Qe.title,"onUpdate:modelValue":e[53]||(e[53]=g=>Qe.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":"",disabled:!0},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(wt,{title:"添加代码笔试步骤",modelValue:zn.value,"onUpdate:modelValue":e[57]||(e[57]=g=>zn.value=g),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[r("span",gv,[p(x,{onClick:Gi},{default:y(()=>e[254]||(e[254]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:qa},{default:y(()=>e[255]||(e[255]=[k("确认")])),_:1})])]),default:y(()=>[r("div",iv,[r("div",av,[e[246]||(e[246]=r("div",{class:"form-label"},"步骤名称",-1)),p(B,{modelValue:it.title,"onUpdate:modelValue":e[55]||(e[55]=g=>it.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",rv,[e[247]||(e[247]=r("div",{class:"form-label"},"自动评判试卷",-1)),p(gt,{modelValue:it.autoJudge,"onUpdate:modelValue":e[56]||(e[56]=g=>it.autoJudge=g)},null,8,["modelValue"]),r("span",lv,se(it.autoJudge?"开启":"关闭"),1)]),r("div",sv,[e[253]||(e[253]=r("div",{class:"form-label"},"添加考试试卷",-1)),r("div",dv,[it.selectedPaper?(K(),X("div",cv,[r("div",fv,[r("div",vv,se(it.selectedPaper.title),1),r("div",pv,[r("span",null,se(it.selectedPaper.questionCount)+"道题",1),r("span",null,se(it.selectedPaper.duration)+"分钟",1),r("span",null,se(it.selectedPaper.difficulty),1)])]),r("div",mv,[p(x,{type:"text",onClick:_a},{default:y(()=>e[250]||(e[250]=[k("查看")])),_:1}),p(x,{type:"text",onClick:er},{default:y(()=>e[251]||(e[251]=[k("更换")])),_:1}),p(x,{type:"text",onClick:tr},{default:y(()=>e[252]||(e[252]=[k("删除")])),_:1})])])):(K(),X("div",uv,[p(x,{type:"primary",plain:"",onClick:Za},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(bn))]),_:1}),e[248]||(e[248]=k(" 添加考卷 "))]),_:1}),e[249]||(e[249]=r("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),p(pe(vi),{title:"添加打字测试步骤",modelValue:$n.value,"onUpdate:modelValue":e[65]||(e[65]=g=>$n.value=g),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[r("span",Pv,[p(x,{onClick:zi},{default:y(()=>e[272]||(e[272]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:nr},{default:y(()=>e[273]||(e[273]=[k("保存")])),_:1})])]),default:y(()=>[r("div",hv,[r("div",yv,[e[257]||(e[257]=r("div",{class:"form-label"},"选择文章",-1)),r("div",bv,[p(x,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(bn))]),_:1}),e[256]||(e[256]=k(" 添加文章 "))]),_:1})])]),r("div",Sv,[e[260]||(e[260]=r("div",{class:"form-label"},"候选人选择文章方式",-1)),p(Nl,{modelValue:tt.selectionMode,"onUpdate:modelValue":e[58]||(e[58]=g=>tt.selectionMode=g)},{default:y(()=>[p(fo,{label:"random"},{default:y(()=>e[258]||(e[258]=[k("随机抽取")])),_:1}),p(fo,{label:"self"},{default:y(()=>e[259]||(e[259]=[k("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),r("div",Ev,[e[262]||(e[262]=r("div",{class:"form-label"},"测试时间",-1)),r("div",xv,[p(B,{modelValue:tt.duration,"onUpdate:modelValue":e[59]||(e[59]=g=>tt.duration=g),class:"time-input"},null,8,["modelValue"]),e[261]||(e[261]=r("span",{class:"time-unit"},"分钟",-1))])]),r("div",Iv,[e[264]||(e[264]=r("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),p(na,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[r("div",Cv,[p(D,null,{default:y(()=>[p(pe(bn))]),_:1}),e[263]||(e[263]=r("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),r("div",Av,[e[265]||(e[265]=r("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),p(B,{modelValue:tt.notes,"onUpdate:modelValue":e[60]||(e[60]=g=>tt.notes=g),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),r("div",wv,[e[266]||(e[266]=r("div",{class:"form-label"},"测试页面标题",-1)),p(B,{modelValue:tt.pageTitle,"onUpdate:modelValue":e[61]||(e[61]=g=>tt.pageTitle=g),placeholder:"测试页面标题"},null,8,["modelValue"])]),r("div",Ov,[e[268]||(e[268]=r("div",{class:"form-label"},"视频监控",-1)),p(Xt,{modelValue:tt.videoMonitoring,"onUpdate:modelValue":e[62]||(e[62]=g=>tt.videoMonitoring=g)},{default:y(()=>e[267]||(e[267]=[k("视频监控")])),_:1},8,["modelValue"])]),r("div",Tv,[e[271]||(e[271]=r("div",{class:"form-label"},"通过标准",-1)),r("div",Dv,[p(Xt,{modelValue:tt.passCriteria.speed,"onUpdate:modelValue":e[63]||(e[63]=g=>tt.passCriteria.speed=g)},{default:y(()=>e[269]||(e[269]=[k("速度")])),_:1},8,["modelValue"]),p(Xt,{modelValue:tt.passCriteria.accuracy,"onUpdate:modelValue":e[64]||(e[64]=g=>tt.passCriteria.accuracy=g)},{default:y(()=>e[270]||(e[270]=[k("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),p(wt,{title:"面试设置",modelValue:lo.value,"onUpdate:modelValue":e[74]||(e[74]=g=>lo.value=g),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[r("span",ap,[p(x,{onClick:ol},{default:y(()=>e[292]||(e[292]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:al},{default:y(()=>e[293]||(e[293]=[k("完成")])),_:1})])]),default:y(()=>[r("div",Rv,[r("div",Vv,[e[279]||(e[279]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"防作弊设置")],-1)),r("div",Uv,[e[274]||(e[274]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「人脸一致性检测」"),r("p",{class:"setting-desc"},"选取后,将会在候选人离开前置摄像头时进行提示,默认开启")],-1)),p(gt,{modelValue:Ge.faceConsistency,"onUpdate:modelValue":e[66]||(e[66]=g=>Ge.faceConsistency=g),disabled:!0},null,8,["modelValue"])]),r("div",kv,[e[275]||(e[275]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人截屏或录屏时进行提示,为防止泄题,默认开启")],-1)),p(gt,{modelValue:Ge.preventScreenshot,"onUpdate:modelValue":e[67]||(e[67]=g=>Ge.preventScreenshot=g),disabled:!0},null,8,["modelValue"])]),r("div",Kv,[e[277]||(e[277]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 切 屏 预 制 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人切屏时进行提示,为防止作弊,默认开启")],-1)),p(gt,{modelValue:Ge.screenSwitchAlert,"onUpdate:modelValue":e[68]||(e[68]=g=>Ge.screenSwitchAlert=g),disabled:!0},{default:y(()=>e[276]||(e[276]=[r("span",{class:"switch-desc"},"切屏超过 2 次关闭,作废本关面试",-1)])),_:1},8,["modelValue"])]),r("div",Mv,[e[278]||(e[278]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「情绪/眼动检测」"),r("p",{class:"setting-desc"},"该现已,将对候选人整场面试的情绪与压力表现进行分析,建议开启")],-1)),p(gt,{modelValue:Ge.positionDetection,"onUpdate:modelValue":e[69]||(e[69]=g=>Ge.positionDetection=g)},null,8,["modelValue"])])]),r("div",Nv,[e[291]||(e[291]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"其他设置")],-1)),r("div",Bv,[r("div",Fv,[e[281]||(e[281]=r("span",{class:"setting-name"},"重复面试",-1)),r("div",jv,[e[280]||(e[280]=r("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),p(gt,{modelValue:Ge.reviewInterview,"onUpdate:modelValue":e[70]||(e[70]=g=>Ge.reviewInterview=g)},null,8,["modelValue"])])])]),r("div",Lv,[r("div",Qv,[e[284]||(e[284]=r("span",{class:"setting-name"},"开场词",-1)),Pn.value?(K(),X("div",$v,[p(B,{modelValue:rn.value,"onUpdate:modelValue":e[71]||(e[71]=g=>rn.value=g),type:"textarea",rows:"5",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),r("div",Jv,[p(x,{size:"small",onClick:sl},{default:y(()=>e[282]||(e[282]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:dl},{default:y(()=>e[283]||(e[283]=[k("保存")])),_:1})])])):(K(),X("div",Gv,[r("p",zv,se(Ge.beforeStartText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:ll},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))])]),r("div",Wv,[r("div",Hv,[e[287]||(e[287]=r("span",{class:"setting-name"},"开始后提醒",-1)),so.value?(K(),X("div",qv,[p(B,{modelValue:Rn.value,"onUpdate:modelValue":e[72]||(e[72]=g=>Rn.value=g),type:"textarea",rows:"5",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),r("div",Zv,[p(x,{size:"small",onClick:cl},{default:y(()=>e[285]||(e[285]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:fl},{default:y(()=>e[286]||(e[286]=[k("保存")])),_:1})])])):(K(),X("div",Yv,[r("p",Xv,se(Ge.afterStartText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:ul},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))])]),r("div",_v,[r("div",ep,[e[290]||(e[290]=r("span",{class:"setting-name"},"结束语",-1)),uo.value?(K(),X("div",op,[p(B,{modelValue:Vn.value,"onUpdate:modelValue":e[73]||(e[73]=g=>Vn.value=g),type:"textarea",rows:"5",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),r("div",ip,[p(x,{size:"small",onClick:pl},{default:y(()=>e[288]||(e[288]=[k("取消")])),_:1}),p(x,{size:"small",type:"primary",onClick:ml},{default:y(()=>e[289]||(e[289]=[k("保存")])),_:1})])])):(K(),X("div",tp,[r("p",np,se(Ge.disclaimerText),1),p(x,{type:"text",class:"edit-desc-btn",onClick:vl},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(ht))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),p(wt,{title:"选择题目",modelValue:E.value,"onUpdate:modelValue":e[79]||(e[79]=g=>E.value=g),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",fp,[p(x,{onClick:te},{default:y(()=>e[294]||(e[294]=[k("预览已选")])),_:1}),p(x,{type:"primary",onClick:T,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[295]||(e[295]=[k("确定")])),_:1})])]),default:y(()=>[r("div",rp,[p(qt,{class:"document-el-row"},{default:y(()=>[p($t,{span:3},{default:y(()=>[r("div",lp,[p(xs,{ref_key:"treeListRef",ref:wl,treeData:ea.value,onTreeClick:Ol,onUpdateDocument:Tl,onDeleteDocument:Dl},null,8,["treeData"])])]),_:1}),p($t,{span:21},{default:y(()=>[r("div",sp,[r("div",dp,[p(B,{modelValue:ao.value,"onUpdate:modelValue":e[75]||(e[75]=g=>ao.value=g),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Fo,onKeyup:Xl(Fo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[p(x,{onClick:Fo},{default:y(()=>[p(D,null,{default:y(()=>[p(pe(rs))]),_:1})]),_:1})]),_:1},8,["modelValue"]),p(ie,{modelValue:lt.question_form,"onUpdate:modelValue":e[76]||(e[76]=g=>lt.question_form=g),placeholder:"题目类型",clearable:"",onChange:Fo,style:{width:"120px"}},{default:y(()=>[p($,{label:"开放问题",value:0}),p($,{label:"单选题",value:1}),p($,{label:"多选题",value:2}),p($,{label:"识图题",value:3}),p($,{label:"得分题",value:4}),p($,{label:"追加型开放问题",value:5}),p($,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),r("div",up,[p(oa,{data:rt.value,style:{width:"100%"},onSelectionChange:qr},{default:y(()=>[p(Lo,{type:"selection",width:"55"}),p(Lo,{prop:"question",label:"题目标题"}),p(Lo,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),r("div",cp,[p(Bl,{"current-page":lt.page,"onUpdate:currentPage":e[77]||(e[77]=g=>lt.page=g),"page-size":lt.pageSize,"onUpdate:pageSize":e[78]||(e[78]=g=>lt.pageSize=g),total:Qt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:I,onCurrentChange:w},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),p(wt,{title:co.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:kn.value,"onUpdate:modelValue":e[83]||(e[83]=g=>kn.value=g),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[r("span",hp,[p(x,{onClick:Ie},{default:y(()=>e[302]||(e[302]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:Se},{default:y(()=>e[303]||(e[303]=[k("确认")])),_:1})])]),default:y(()=>[r("div",vp,[r("div",pp,[e[296]||(e[296]=r("div",{class:"form-label"},[k(" 环节名称"),r("span",{class:"required"},"*")],-1)),p(B,{modelValue:Ue.title,"onUpdate:modelValue":e[80]||(e[80]=g=>Ue.title=g),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",mp,[e[297]||(e[297]=r("div",{class:"form-label"},[k(" 提问时长"),r("span",{class:"required"},"*")],-1)),p(st,{modelValue:Ue.duration,"onUpdate:modelValue":e[81]||(e[81]=g=>Ue.duration=g),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[298]||(e[298]=r("span",{class:"form-unit"},"分钟",-1)),e[299]||(e[299]=r("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),r("div",gp,[e[300]||(e[300]=r("div",{class:"form-label"},"环节描述",-1)),p(B,{modelValue:Ue.description,"onUpdate:modelValue":e[82]||(e[82]=g=>Ue.description=g),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[301]||(e[301]=r("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),p(wt,{modelValue:jo.value,"onUpdate:modelValue":e[87]||(e[87]=g=>jo.value=g),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[r("span",yp,[p(x,{onClick:Cl,size:"small"},{default:y(()=>e[308]||(e[308]=[k("取消")])),_:1}),p(x,{type:"primary",onClick:Al,size:"small"},{default:y(()=>e[309]||(e[309]=[k("确定")])),_:1})])]),default:y(()=>[p(jl,{model:ln.value,"label-width":"120px"},{default:y(()=>[p(ci,{label:"检测时长"},{default:y(()=>[p(st,{modelValue:ln.value.duration,"onUpdate:modelValue":e[84]||(e[84]=g=>ln.value.duration=g),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[304]||(e[304]=k(" 分钟 "))]),_:1}),p(ci,{label:"检测项目"},{default:y(()=>[p(Fl,{modelValue:ln.value.detectionItems,"onUpdate:modelValue":e[85]||(e[85]=g=>ln.value.detectionItems=g)},{default:y(()=>[p(Xt,{label:"face"},{default:y(()=>e[305]||(e[305]=[k("面部表情")])),_:1}),p(Xt,{label:"pose"},{default:y(()=>e[306]||(e[306]=[k("肢体姿态")])),_:1}),p(Xt,{label:"gesture"},{default:y(()=>e[307]||(e[307]=[k("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),p(ci,{label:"提示文本"},{default:y(()=>[p(B,{modelValue:ln.value.promptText,"onUpdate:modelValue":e[86]||(e[86]=g=>ln.value.promptText=g),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),p(wt,{modelValue:U.value,"onUpdate:modelValue":e[89]||(e[89]=g=>U.value=g),title:"职位问题预览",width:"60%","close-on-click-modal":!1},{default:y(()=>[r("div",bp,[r("div",Sp,"已绑定的问题("+se(_.value.length)+"):",1),p(oa,{data:_.value,style:{width:"100%"}},{default:y(()=>[p(Lo,{prop:"question",label:"问题内容","min-width":"300","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",Ep,[p(x,{type:"primary",onClick:e[88]||(e[88]=g=>U.value=!1)},{default:y(()=>e[310]||(e[310]=[k("关闭")])),_:1})])]),_:1},8,["modelValue"])])}}}),kp=Is(xp,[["__scopeId","data-v-c849b661"]]);export{kp as default};
|