12345678910 |
- import{a as Jl,r as L,aH as Wl,aB as Hl,_ as et,f as yi,q as Yl,W as Xl,w as sa,aj as Pe,at as ql,c as X,o as M,b as r,S as p,K as y,P as k,Q as le,u as ve,M as Te,J as De,R as qe,a9 as Ze,L as Wo,G as At,T as da,Y as Zl,F as _l,a7 as es,t as Ho}from"./vue.D1BjjNmv.js";import{b as ts,c as ns,C as os,U as St}from"./api.DddGoz6A.js";import{ab as is,g as as,ac as rs,c as ls,E as P,a1 as ut,$ as bn,ad as ss,ae as ua,C as ca,af as bi,ag as ds,A as us,S as Xt,F as fa}from"./index.CrC1Zu4_.js";import{G as Fn,a as cs,b as fs,Q as vs,c as qt,A as Si,d as va,e as Ei,U as ht,C as go,D as pa,f as xi,g as ma,h as ps,i as ms,B as gs,S as hs,j as ys,k as ga,l as bs,m as Ss,n as Es,o as xs}from"./QuestionBankForm.B0IxIo7W.js";import{g as Is}from"./pcaData.5HEg6BqW.js";import Cs from"./BlankAnswerEditor.C84NgMQM.js";import{A as ws}from"./api.dRYfnTmp.js";import As from"./treeList.DSIUjSL5.js";import{G as ha,a as ya,b as ba}from"./api.4JtE1oLg.js";import{_ as Os}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.e0gHieJV.js";const Sa="/assets/sheng.BKW1Im68.png",Ts="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";var Ka={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function Ea(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 $t(u){for(var o=1;o<arguments.length;o++){var i=arguments[o]!=null?arguments[o]:{};o%2?Ea(Object(i),!0).forEach(function(d){Ds(u,d,i[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(i)):Ea(Object(i)).forEach(function(d){Object.defineProperty(u,d,Object.getOwnPropertyDescriptor(i,d))})}return u}function ti(u){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ti=function(o){return typeof o}:ti=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ti(u)}function Ds(u,o,i){return o in u?Object.defineProperty(u,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):u[o]=i,u}function Ut(){return Ut=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},Ut.apply(this,arguments)}function Ps(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 Rs(u,o){if(u==null)return{};var i=Ps(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 Vs(u){return Us(u)||ks(u)||Ks(u)||Ms()}function Us(u){if(Array.isArray(u))return Ui(u)}function ks(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function Ks(u,o){if(u){if(typeof u=="string")return Ui(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 Ui(u,o)}}function Ui(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 Ms(){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 Ns="1.14.0";function Zt(u){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(u)}var _t=Zt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Do=Zt(/Edge/i),xa=Zt(/firefox/i),Co=Zt(/safari/i)&&!Zt(/chrome/i)&&!Zt(/android/i),Ma=Zt(/iP(ad|od|hone)/i),Bs=Zt(/chrome/i)&&Zt(/android/i),Na={capture:!1,passive:!1};function xe(u,o,i){u.addEventListener(o,i,!_t&&Na)}function Se(u,o,i){u.removeEventListener(o,i,!_t&&Na)}function ri(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 Fs(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&&ri(u,o):ri(u,o))||d&&u===i)return u;if(u===i)break}while(u=Fs(u))}return null}var Ia=/\s+/g;function Ge(u,o,i){if(u&&o)if(u.classList)u.classList[i?"add":"remove"](o);else{var d=(" "+u.className+" ").replace(Ia," ").replace(" "+o+" "," ");u.className=(d+(i?" "+o:"")).replace(Ia," ")}}function ae(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=ae(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 Ba(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 zt(){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!==zt()?(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,!_t))do if(n&&n.getBoundingClientRect&&(ae(n,"transform")!=="none"||i&&ae(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(ae(n,"border-top-width")),a-=h.left+parseInt(ae(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,x=b&&b.d;b&&(t/=x,a/=S,m/=S,v/=x,l=t+v,c=a+m)}return{top:t,left:a,bottom:l,right:c,width:m,height:v}}}function Ca(u,o,i){for(var d=dn(u,!0),n=je(u)[o];d;){var s=je(d)[i],t=void 0;if(t=n>=s,!t)return d;if(d===zt())break;d=dn(d,!1)}return!1}function $n(u,o,i,d){for(var n=0,s=0,t=u.children;s<t.length;){if(t[s].style.display!=="none"&&t[s]!==pe.ghost&&(d||t[s]!==pe.dragged)&&Nt(t[s],i.draggable,u,!1)){if(n===o)return t[s];n++}s++}return null}function Bi(u,o){for(var i=u.lastElementChild;i&&(i===pe.ghost||ae(i,"display")==="none"||o&&!ri(i,o));)i=i.previousElementSibling;return i||null}function Je(u,o){var i=0;if(!u||!u.parentNode)return-1;for(;u=u.previousElementSibling;)u.nodeName.toUpperCase()!=="TEMPLATE"&&u!==pe.clone&&(!o||ri(u,o))&&i++;return i}function wa(u){var o=0,i=0,d=zt();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 js(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 dn(u,o){if(!u||!u.getBoundingClientRect)return zt();var i=u,d=!1;do if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var n=ae(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 zt();if(d||o)return i;d=!0}}while(i=i.parentNode);return zt()}function Ls(u,o){if(u&&o)for(var i in o)o.hasOwnProperty(i)&&(u[i]=o[i]);return u}function Ii(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 wo;function Fa(u,o){return function(){if(!wo){var i=arguments,d=this;i.length===1?u.call(d,i[0]):u.apply(d,i),wo=setTimeout(function(){wo=void 0},o)}}}function Qs(){clearTimeout(wo),wo=void 0}function ja(u,o,i){u.scrollLeft+=o,u.scrollTop+=i}function Fi(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 Aa(u,o){ae(u,"position","absolute"),ae(u,"top",o.top),ae(u,"left",o.left),ae(u,"width",o.width),ae(u,"height",o.height)}function Ci(u){ae(u,"position",""),ae(u,"top",""),ae(u,"left",""),ae(u,"width",""),ae(u,"height","")}var ft="Sortable"+new Date().getTime();function Gs(){var u=[],o;return{captureAnimationState:function(){if(u=[],!!this.options.animation){var d=[].slice.call(this.el.children);d.forEach(function(n){if(!(ae(n,"display")==="none"||n===pe.ghost)){u.push({target:n,rect:je(n)});var s=$t({},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(js(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,x=In(c,!0);x&&(m.top-=x.f,m.left-=x.e),c.toRect=m,c.thisAnimationDuration&&Ii(h,m)&&!Ii(v,m)&&(S.top-m.top)/(S.left-m.left)===(v.top-m.top)/(v.left-m.left)&&(l=$s(S,h,b,n.options)),Ii(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){ae(d,"transition",""),ae(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,ae(d,"transform","translate3d("+v+"px,"+m+"px,0)"),this.forRepaintDummy=zs(d),ae(d,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),ae(d,"transform","translate3d(0,0,0)"),typeof d.animated=="number"&&clearTimeout(d.animated),d.animated=setTimeout(function(){ae(d,"transition",""),ae(d,"transform",""),d.animated=!1,d.animatingX=!1,d.animatingY=!1},t)}}}}function zs(u){return u.offsetWidth}function $s(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 jn=[],wi={initializeByDefault:!0},Po={mount:function(o){for(var i in wi)wi.hasOwnProperty(i)&&!(i in o)&&(o[i]=wi[i]);jn.forEach(function(d){if(d.pluginName===o.pluginName)throw"Sortable: Cannot mount plugin ".concat(o.pluginName," more than once")}),jn.push(o)},pluginEvent:function(o,i,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var s=o+"Global";jn.forEach(function(t){i[t.pluginName]&&(i[t.pluginName][s]&&i[t.pluginName][s]($t({sortable:i},d)),i.options[t.pluginName]&&i[t.pluginName][o]&&i[t.pluginName][o]($t({sortable:i},d)))})},initializePlugins:function(o,i,d,n){jn.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,Ut(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 jn.forEach(function(n){typeof n.eventProperties=="function"&&Ut(d,n.eventProperties.call(i[n.pluginName],o))}),d},modifyOption:function(o,i,d){var n;return jn.forEach(function(s){o[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[i]=="function"&&(n=s.optionListeners[i].call(o[s.pluginName],d))}),n}};function So(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[ft],!!o){var x,I=o.options,T="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!_t&&!Do?x=new CustomEvent(d,{bubbles:!0,cancelable:!0}):(x=document.createEvent("Event"),x.initEvent(d,!0,!0)),x.to=t||i,x.from=a||i,x.item=n||i,x.clone=s,x.oldIndex=l,x.newIndex=c,x.oldDraggableIndex=v,x.newDraggableIndex=m,x.originalEvent=h,x.pullMode=b?b.lastPutMode:void 0;var D=$t($t({},S),Po.getEventProperties(d,o));for(var B in D)x[B]=D[B];i&&i.dispatchEvent(x),I[T]&&I[T].call(o,x)}}var Js=["evt"],Et=function(o,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,s=Rs(d,Js);Po.pluginEvent.bind(pe)(o,i,$t({dragEl:W,parentEl:ze,ghostEl:ye,rootEl:Fe,nextEl:xn,lastDownEl:ni,cloneEl:$e,cloneHidden:sn,dragStarted:Eo,putSortable:lt,activeSortable:pe.active,originalEvent:n,oldIndex:zn,oldDraggableIndex:Ao,newIndex:Tt,newDraggableIndex:ln,hideGhostForTarget:za,unhideGhostForTarget:$a,cloneNowHidden:function(){sn=!0},cloneNowShown:function(){sn=!1},dispatchSortableEvent:function(a){yt({sortable:i,name:a,originalEvent:n})}},s))};function yt(u){So($t({putSortable:lt,cloneEl:$e,targetEl:W,rootEl:Fe,oldIndex:zn,oldDraggableIndex:Ao,newIndex:Tt,newDraggableIndex:ln},u))}var W,ze,ye,Fe,xn,ni,$e,sn,zn,Tt,Ao,ln,Yo,lt,Gn=!1,li=!1,si=[],Sn,Kt,Ai,Oi,Oa,Ta,Eo,Ln,Oo,To=!1,Xo=!1,oi,ct,Ti=[],ki=!1,di=[],ci=typeof document<"u",qo=Ma,Da=Do||_t?"cssFloat":"float",Ws=ci&&!Bs&&!Ma&&"draggable"in document.createElement("div"),La=function(){if(ci){if(_t)return!1;var u=document.createElement("x");return u.style.cssText="pointer-events:auto",u.style.pointerEvents==="auto"}}(),Qa=function(o,i){var d=ae(o),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),s=$n(o,0,i),t=$n(o,1,i),a=s&&ae(s),l=t&&ae(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[Da]==="none"||t&&d[Da]==="none"&&c+v>n)?"vertical":"horizontal"},Hs=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},Ys=function(o,i){var d;return si.some(function(n){var s=n[ft].options.emptyInsertThreshold;if(!(!s||Bi(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},Ga=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||ti(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},za=function(){!La&&ye&&ae(ye,"display","none")},$a=function(){!La&&ye&&ae(ye,"display","")};ci&&document.addEventListener("click",function(u){if(li)return u.preventDefault(),u.stopPropagation&&u.stopPropagation(),u.stopImmediatePropagation&&u.stopImmediatePropagation(),li=!1,!1},!0);var En=function(o){if(W){o=o.touches?o.touches[0]:o;var i=Ys(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[ft]._onDragOver(d)}}},Xs=function(o){W&&W.parentNode[ft]._isOutsideThisEl(o.target)};function pe(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=Ut({},o),u[ft]=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 Qa(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:pe.supportPointer!==!1&&"PointerEvent"in window&&!Co,emptyInsertThreshold:5};Po.initializePlugins(this,u,i);for(var d in i)!(d in o)&&(o[d]=i[d]);Ga(o);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=o.forceFallback?!1:Ws,this.nativeDraggable&&(this.options.touchStartThreshold=1),o.supportPointer?xe(u,"pointerdown",this._onTapStart):(xe(u,"mousedown",this._onTapStart),xe(u,"touchstart",this._onTapStart)),this.nativeDraggable&&(xe(u,"dragover",this),xe(u,"dragenter",this)),si.push(this.el),o.store&&o.store.get&&this.sort(o.store.get(this)||[]),Ut(this,Gs())}pe.prototype={constructor:pe,_isOutsideThisEl:function(o){!this.el.contains(o)&&o!==this.el&&(Ln=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(id(d),!W&&!(/mousedown|pointerdown/.test(t)&&o.button!==0||n.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Co&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Nt(l,n.draggable,d,!1),!(l&&l.animated)&&ni!==l)){if(zn=Je(l),Ao=Je(l,n.draggable),typeof v=="function"){if(v.call(this,o,l,this)){yt({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 yt({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,ze=W.parentNode,xn=W.nextSibling,ni=d,Yo=t.group,pe.dragged=W,Sn={target:W,clientX:(i||o).clientX,clientY:(i||o).clientY},Oa=Sn.clientX-c.left,Ta=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}),pe.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!xa&&n.nativeDraggable&&(W.draggable=!0),n._triggerDragStart(o,i),yt({sortable:n,name:"choose",originalEvent:o}),Ge(W,t.chosenClass,!0)},t.ignore.split(",").forEach(function(v){Ba(W,v.trim(),Di)}),xe(a,"dragover",En),xe(a,"mousemove",En),xe(a,"touchmove",En),xe(a,"mouseup",n._onDrop),xe(a,"touchend",n._onDrop),xe(a,"touchcancel",n._onDrop),xa&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),Et("delayStart",this,{evt:o}),t.delay&&(!t.delayOnTouchOnly||i)&&(!this.nativeDraggable||!(Do||_t))){if(pe.eventCanceled){this._onDrop();return}xe(a,"mouseup",n._disableDelayedDrag),xe(a,"touchend",n._disableDelayedDrag),xe(a,"touchcancel",n._disableDelayedDrag),xe(a,"mousemove",n._delayedDragTouchMoveHandler),xe(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&xe(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&&Di(W),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var o=this.el.ownerDocument;Se(o,"mouseup",this._disableDelayedDrag),Se(o,"touchend",this._disableDelayedDrag),Se(o,"touchcancel",this._disableDelayedDrag),Se(o,"mousemove",this._delayedDragTouchMoveHandler),Se(o,"touchmove",this._delayedDragTouchMoveHandler),Se(o,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(o,i){i=i||o.pointerType=="touch"&&o,!this.nativeDraggable||i?this.options.supportPointer?xe(document,"pointermove",this._onTouchMove):i?xe(document,"touchmove",this._onTouchMove):xe(document,"mousemove",this._onTouchMove):(xe(W,"dragend",this),xe(Fe,"dragstart",this._onDragStart));try{document.selection?ii(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(o,i){if(Gn=!1,Fe&&W){Et("dragStarted",this,{evt:i}),this.nativeDraggable&&xe(document,"dragover",Xs);var d=this.options;!o&&Ge(W,d.dragClass,!1),Ge(W,d.ghostClass,!0),pe.active=this,o&&this._appendGhost(),yt({sortable:this,name:"start",originalEvent:i})}else this._nulling()},_emulateDragOver:function(){if(Kt){this._lastX=Kt.clientX,this._lastY=Kt.clientY,za();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[ft]._isOutsideThisEl(o),i)do{if(i[ft]){var d=void 0;if(d=i[ft]._onDragOver({clientX:Kt.clientX,clientY:Kt.clientY,target:o,rootEl:i}),d&&!this.options.dragoverBubble)break}o=i}while(i=i.parentNode);$a()}},_onTouchMove:function(o){if(Sn){var i=this.options,d=i.fallbackTolerance,n=i.fallbackOffset,s=o.touches?o.touches[0]:o,t=ye&&In(ye,!0),a=ye&&t&&t.a,l=ye&&t&&t.d,c=qo&&ct&&wa(ct),v=(s.clientX-Sn.clientX+n.x)/(a||1)+(c?c[0]-Ti[0]:0)/(a||1),m=(s.clientY-Sn.clientY+n.y)/(l||1)+(c?c[1]-Ti[1]:0)/(l||1);if(!pe.active&&!Gn){if(d&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<d)return;this._onDragStart(o,!0)}if(ye){t?(t.e+=v-(Ai||0),t.f+=m-(Oi||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,")");ae(ye,"webkitTransform",h),ae(ye,"mozTransform",h),ae(ye,"msTransform",h),ae(ye,"transform",h),Ai=v,Oi=m,Kt=s}o.cancelable&&o.preventDefault()}},_appendGhost:function(){if(!ye){var o=this.options.fallbackOnBody?document.body:Fe,i=je(W,!0,qo,!0,o),d=this.options;if(qo){for(ct=o;ae(ct,"position")==="static"&&ae(ct,"transform")==="none"&&ct!==document;)ct=ct.parentNode;ct!==document.body&&ct!==document.documentElement?(ct===document&&(ct=zt()),i.top+=ct.scrollTop,i.left+=ct.scrollLeft):ct=zt(),Ti=wa(ct)}ye=W.cloneNode(!0),Ge(ye,d.ghostClass,!1),Ge(ye,d.fallbackClass,!0),Ge(ye,d.dragClass,!0),ae(ye,"transition",""),ae(ye,"transform",""),ae(ye,"box-sizing","border-box"),ae(ye,"margin",0),ae(ye,"top",i.top),ae(ye,"left",i.left),ae(ye,"width",i.width),ae(ye,"height",i.height),ae(ye,"opacity","0.8"),ae(ye,"position",qo?"absolute":"fixed"),ae(ye,"zIndex","100000"),ae(ye,"pointerEvents","none"),pe.ghost=ye,o.appendChild(ye),ae(ye,"transform-origin",Oa/parseInt(ye.style.width)*100+"% "+Ta/parseInt(ye.style.height)*100+"%")}},_onDragStart:function(o,i){var d=this,n=o.dataTransfer,s=d.options;if(Et("dragStart",this,{evt:o}),pe.eventCanceled){this._onDrop();return}Et("setupClone",this),pe.eventCanceled||($e=Fi(W),$e.draggable=!1,$e.style["will-change"]="",this._hideClone(),Ge($e,this.options.chosenClass,!1),pe.clone=$e),d.cloneId=ii(function(){Et("clone",d),!pe.eventCanceled&&(d.options.removeCloneOnHide||Fe.insertBefore($e,W),d._hideClone(),yt({sortable:d,name:"clone"}))}),!i&&Ge(W,s.dragClass,!0),i?(li=!0,d._loopId=setInterval(d._emulateDragOver,50)):(Se(document,"mouseup",d._onDrop),Se(document,"touchend",d._onDrop),Se(document,"touchcancel",d._onDrop),n&&(n.effectAllowed="move",s.setData&&s.setData.call(d,n,W)),xe(document,"drop",d),ae(W,"transform","translateZ(0)")),Gn=!0,d._dragStartId=ii(d._dragStarted.bind(d,i,o)),xe(document,"selectstart",d),Eo=!0,Co&&ae(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=pe.active,v=Yo===l,m=a.sort,h=lt||c,b,S=this,x=!1;if(ki)return;function I(Ee,Ae){Et(Ee,S,$t({evt:o,isOwner:v,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:s,canSort:m,fromSortable:h,target:d,completed:D,onMove:function(Re,Z){return Zo(Fe,i,W,n,Re,je(Re),o,Z)},changed:B},Ae))}function T(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function D(Ee){return I("dragOverCompleted",{insertion:Ee}),Ee&&(v?c._hideClone():c._showClone(S),S!==h&&(Ge(W,lt?lt.options.ghostClass:c.options.ghostClass,!1),Ge(W,a.ghostClass,!0)),lt!==S&&S!==pe.active?lt=S:S===pe.active&<&&(lt=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)&&(Ln=null),!a.dragoverBubble&&!o.rootEl&&d!==document&&(W.parentNode[ft]._isOutsideThisEl(o.target),!Ee&&En(o)),!a.dragoverBubble&&o.stopPropagation&&o.stopPropagation(),x=!0}function B(){Tt=Je(W),ln=Je(W,a.draggable),yt({sortable:S,name:"change",toEl:i,newIndex:Tt,newDraggableIndex:ln,originalEvent:o})}if(o.preventDefault!==void 0&&o.cancelable&&o.preventDefault(),d=Nt(d,a.draggable,i,!0),I("dragOver"),pe.eventCanceled)return x;if(W.contains(o.target)||d.animated&&d.animatingX&&d.animatingY||S._ignoreWhileAnimating===d)return D(!1);if(li=!1,c&&!a.disabled&&(v?m||(t=ze!==Fe):lt===this||(this.lastPutMode=Yo.checkPull(this,c,W,o))&&l.checkPut(this,c,W,o))){if(b=this._getDirection(o,d)==="vertical",n=je(W),I("dragOverValid"),pe.eventCanceled)return x;if(t)return ze=Fe,T(),this._hideClone(),I("revert"),pe.eventCanceled||(xn?Fe.insertBefore(W,xn):Fe.appendChild(W)),D(!0);var V=Bi(i,a.draggable);if(!V||ed(o,b,this)&&!V.animated){if(V===W)return D(!1);if(V&&i===o.target&&(d=V),d&&(s=je(d)),Zo(Fe,i,W,n,d,s,o,!!d)!==!1)return T(),i.appendChild(W),ze=i,B(),D(!0)}else if(V&&_s(o,b,this)){var F=$n(i,0,a,!0);if(F===W)return D(!1);if(d=F,s=je(d),Zo(Fe,i,W,n,d,s,o,!1)!==!1)return T(),i.insertBefore(W,F),ze=i,B(),D(!0)}else if(d.parentNode===i){s=je(d);var K=0,_,ne=W.parentNode!==i,N=!Hs(W.animated&&W.toRect||n,d.animated&&d.toRect||s,b),J=b?"top":"left",z=Ca(d,"top","top")||Ca(W,"top","top"),fe=z?z.scrollTop:void 0;Ln!==d&&(_=s[J],To=!1,Xo=!N&&a.invertSwap||ne),K=td(o,d,s,b,N?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Xo,Ln===d);var G;if(K!==0){var Y=Je(W);do Y-=K,G=ze.children[Y];while(G&&(ae(G,"display")==="none"||G===ye))}if(K===0||G===d)return D(!1);Ln=d,Oo=K;var q=d.nextElementSibling,H=!1;H=K===1;var se=Zo(Fe,i,W,n,d,s,o,H);if(se!==!1)return(se===1||se===-1)&&(H=se===1),ki=!0,setTimeout(Zs,30),T(),H&&!q?i.appendChild(W):d.parentNode.insertBefore(W,H?q:d),z&&ja(z,0,fe-z.scrollTop),ze=W.parentNode,_!==void 0&&!Xo&&(oi=Math.abs(_-je(d)[J])),B(),D(!0)}if(i.contains(W))return D(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Se(document,"mousemove",this._onTouchMove),Se(document,"touchmove",this._onTouchMove),Se(document,"pointermove",this._onTouchMove),Se(document,"dragover",En),Se(document,"mousemove",En),Se(document,"touchmove",En)},_offUpEvents:function(){var o=this.el.ownerDocument;Se(o,"mouseup",this._onDrop),Se(o,"touchend",this._onDrop),Se(o,"pointerup",this._onDrop),Se(o,"touchcancel",this._onDrop),Se(document,"selectstart",this)},_onDrop:function(o){var i=this.el,d=this.options;if(Tt=Je(W),ln=Je(W,d.draggable),Et("drop",this,{evt:o}),ze=W&&W.parentNode,Tt=Je(W),ln=Je(W,d.draggable),pe.eventCanceled){this._nulling();return}Gn=!1,Xo=!1,To=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ki(this.cloneId),Ki(this._dragStartId),this.nativeDraggable&&(Se(document,"drop",this),Se(i,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Co&&ae(document.body,"user-select",""),ae(W,"transform",""),o&&(Eo&&(o.cancelable&&o.preventDefault(),!d.dropBubble&&o.stopPropagation()),ye&&ye.parentNode&&ye.parentNode.removeChild(ye),(Fe===ze||lt&<.lastPutMode!=="clone")&&$e&&$e.parentNode&&$e.parentNode.removeChild($e),W&&(this.nativeDraggable&&Se(W,"dragend",this),Di(W),W.style["will-change"]="",Eo&&!Gn&&Ge(W,lt?lt.options.ghostClass:this.options.ghostClass,!1),Ge(W,this.options.chosenClass,!1),yt({sortable:this,name:"unchoose",toEl:ze,newIndex:null,newDraggableIndex:null,originalEvent:o}),Fe!==ze?(Tt>=0&&(yt({rootEl:ze,name:"add",toEl:ze,fromEl:Fe,originalEvent:o}),yt({sortable:this,name:"remove",toEl:ze,originalEvent:o}),yt({rootEl:ze,name:"sort",toEl:ze,fromEl:Fe,originalEvent:o}),yt({sortable:this,name:"sort",toEl:ze,originalEvent:o})),lt&<.save()):Tt!==zn&&Tt>=0&&(yt({sortable:this,name:"update",toEl:ze,originalEvent:o}),yt({sortable:this,name:"sort",toEl:ze,originalEvent:o})),pe.active&&((Tt==null||Tt===-1)&&(Tt=zn,ln=Ao),yt({sortable:this,name:"end",toEl:ze,originalEvent:o}),this.save()))),this._nulling()},_nulling:function(){Et("nulling",this),Fe=W=ze=ye=xn=$e=ni=sn=Sn=Kt=Eo=Tt=ln=zn=Ao=Ln=Oo=lt=Yo=pe.dragged=pe.ghost=pe.clone=pe.active=null,di.forEach(function(o){o.checked=!0}),di.length=Ai=Oi=0},handleEvent:function(o){switch(o.type){case"drop":case"dragend":this._onDrop(o);break;case"dragenter":case"dragover":W&&(this._onDragOver(o),qs(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)||od(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=Po.modifyOption(this,o,i);typeof n<"u"?d[o]=n:d[o]=i,o==="group"&&Ga(d)},destroy:function(){Et("destroy",this);var o=this.el;o[ft]=null,Se(o,"mousedown",this._onTapStart),Se(o,"touchstart",this._onTapStart),Se(o,"pointerdown",this._onTapStart),this.nativeDraggable&&(Se(o,"dragover",this),Se(o,"dragenter",this)),Array.prototype.forEach.call(o.querySelectorAll("[draggable]"),function(i){i.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),si.splice(si.indexOf(this.el),1),this.el=o=null},_hideClone:function(){if(!sn){if(Et("hideClone",this),pe.eventCanceled)return;ae($e,"display","none"),this.options.removeCloneOnHide&&$e.parentNode&&$e.parentNode.removeChild($e),sn=!0}},_showClone:function(o){if(o.lastPutMode!=="clone"){this._hideClone();return}if(sn){if(Et("showClone",this),pe.eventCanceled)return;W.parentNode==Fe&&!this.options.group.revertClone?Fe.insertBefore($e,W):xn?Fe.insertBefore($e,xn):Fe.appendChild($e),this.options.group.revertClone&&this.animate(W,$e),ae($e,"display",""),sn=!1}}};function qs(u){u.dataTransfer&&(u.dataTransfer.dropEffect="move"),u.cancelable&&u.preventDefault()}function Zo(u,o,i,d,n,s,t,a){var l,c=u[ft],v=c.options.onMove,m;return window.CustomEvent&&!_t&&!Do?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 Di(u){u.draggable=!1}function Zs(){ki=!1}function _s(u,o,i){var d=je($n(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 ed(u,o,i){var d=je(Bi(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 td(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&&oi<c*n){if(!To&&(Oo===1?l>v+c*s/2:l<m-c*s/2)&&(To=!0),To)h=!0;else if(Oo===1?l<v+oi:l>m-oi)return-Oo}else if(l>v+c*(1-n)/2&&l<m-c*(1-n)/2)return nd(o)}return h=h||t,h&&(l<v+c*s/2||l>m-c*s/2)?l>v+c/2?1:-1:0}function nd(u){return Je(W)<Je(u)?1:-1}function od(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 id(u){di.length=0;for(var o=u.getElementsByTagName("input"),i=o.length;i--;){var d=o[i];d.checked&&di.push(d)}}function ii(u){return setTimeout(u,0)}function Ki(u){return clearTimeout(u)}ci&&xe(document,"touchmove",function(u){(pe.active||Gn)&&u.cancelable&&u.preventDefault()});pe.utils={on:xe,off:Se,css:ae,find:Ba,is:function(o,i){return!!Nt(o,i,o,!1)},extend:Ls,throttle:Fa,closest:Nt,toggleClass:Ge,clone:Fi,index:Je,nextTick:ii,cancelNextTick:Ki,detectDirection:Qa,getChild:$n};pe.get=function(u){return u[ft]};pe.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&&(pe.utils=$t($t({},pe.utils),d.utils)),Po.mount(d)})};pe.create=function(u,o){return new pe(u,o)};pe.version=Ns;var _e=[],xo,Mi,Ni=!1,Pi,Ri,ui,Io;function ad(){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?xe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?xe(document,"pointermove",this._handleFallbackAutoScroll):d.touches?xe(document,"touchmove",this._handleFallbackAutoScroll):xe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(i){var d=i.originalEvent;!this.options.dragOverBubble&&!d.rootEl&&this._handleAutoScroll(d)},drop:function(){this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):(Se(document,"pointermove",this._handleFallbackAutoScroll),Se(document,"touchmove",this._handleFallbackAutoScroll),Se(document,"mousemove",this._handleFallbackAutoScroll)),Pa(),ai(),Qs()},nulling:function(){ui=Mi=xo=Ni=Io=Pi=Ri=null,_e.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(ui=i,d||this.options.forceAutoScrollFallback||Do||_t||Co){Vi(i,this.options,a,d);var l=dn(a,!0);Ni&&(!Io||s!==Pi||t!==Ri)&&(Io&&Pa(),Io=setInterval(function(){var c=dn(document.elementFromPoint(s,t),!0);c!==l&&(l=c,ai()),Vi(i,n.options,c,d)},10),Pi=s,Ri=t)}else{if(!this.options.bubbleScroll||dn(a,!0)===zt()){ai();return}Vi(i,this.options,dn(a,!1),!1)}}},Ut(u,{pluginName:"scroll",initializeByDefault:!0})}function ai(){_e.forEach(function(u){clearInterval(u.pid)}),_e=[]}function Pa(){clearInterval(Io)}var Vi=Fa(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=zt(),c=!1,v;Mi!==i&&(Mi=i,ai(),xo=o.scroll,v=o.scrollFn,xo===!0&&(xo=dn(i,!0)));var m=0,h=xo;do{var b=h,S=je(b),x=S.top,I=S.bottom,T=S.left,D=S.right,B=S.width,V=S.height,F=void 0,K=void 0,_=b.scrollWidth,ne=b.scrollHeight,N=ae(b),J=b.scrollLeft,z=b.scrollTop;b===l?(F=B<_&&(N.overflowX==="auto"||N.overflowX==="scroll"||N.overflowX==="visible"),K=V<ne&&(N.overflowY==="auto"||N.overflowY==="scroll"||N.overflowY==="visible")):(F=B<_&&(N.overflowX==="auto"||N.overflowX==="scroll"),K=V<ne&&(N.overflowY==="auto"||N.overflowY==="scroll"));var fe=F&&(Math.abs(D-n)<=t&&J+B<_)-(Math.abs(T-n)<=t&&!!J),G=K&&(Math.abs(I-s)<=t&&z+V<ne)-(Math.abs(x-s)<=t&&!!z);if(!_e[m])for(var Y=0;Y<=m;Y++)_e[Y]||(_e[Y]={});(_e[m].vx!=fe||_e[m].vy!=G||_e[m].el!==b)&&(_e[m].el=b,_e[m].vx=fe,_e[m].vy=G,clearInterval(_e[m].pid),(fe!=0||G!=0)&&(c=!0,_e[m].pid=setInterval((function(){d&&this.layer===0&&pe.active._onTouchMove(ui);var q=_e[this.layer].vy?_e[this.layer].vy*a:0,H=_e[this.layer].vx?_e[this.layer].vx*a:0;typeof v=="function"&&v.call(pe.dragged.parentNode[ft],H,q,u,ui,_e[this.layer].el)!=="continue"||ja(_e[this.layer].el,H,q)}).bind({layer:m}),24))),m++}while(o.bubbleScroll&&h!==l&&(h=dn(h,!1)));Ni=c}},30),Ja=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 ji(){}ji.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=$n(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:Ja};Ut(ji,{pluginName:"revertOnSpill"});function Li(){}Li.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:Ja};Ut(Li,{pluginName:"removeOnSpill"});var Vt;function rd(){function u(){this.defaults={swapClass:"sortable-swap-highlight"}}return u.prototype={dragStart:function(i){var d=i.dragEl;Vt=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=Vt;s(n)!==!1?(Ge(n,v.swapClass,!0),Vt=n):Vt=null,m&&m!==Vt&&Ge(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;Vt&&Ge(Vt,a.swapClass,!1),Vt&&(a.swap||n&&n.options.swap)&&s!==Vt&&(t.captureAnimationState(),t!==d&&d.captureAnimationState(),ld(s,Vt),t.animateAll(),t!==d&&d.animateAll())},nulling:function(){Vt=null}},Ut(u,{pluginName:"swap",eventProperties:function(){return{swapItem:Vt}}})}function ld(u,o){var i=u.parentNode,d=o.parentNode,n,s;!i||!d||i.isEqualNode(o)||d.isEqualNode(u)||(n=Je(u),s=Je(o),i.isEqualNode(d)&&n<s&&s++,i.insertBefore(o,i.children[n]),d.insertBefore(u,d.children[s]))}var he=[],Ot=[],ho,Mt,yo=!1,xt=!1,Qn=!1,ke,bo,_o;function sd(){function u(o){for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));o.options.supportPointer?xe(document,"pointerup",this._deselectMultiDrag):(xe(document,"mouseup",this._deselectMultiDrag),xe(document,"touchend",this._deselectMultiDrag)),xe(document,"keydown",this._checkKeyDown),xe(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,s){var t="";he.length&&Mt===o?he.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=~he.indexOf(ke)},setupClone:function(i){var d=i.sortable,n=i.cancel;if(this.isMultiDrag){for(var s=0;s<he.length;s++)Ot.push(Fi(he[s])),Ot[s].sortableIndex=he[s].sortableIndex,Ot[s].draggable=!1,Ot[s].style["will-change"]="",Ge(Ot[s],this.options.selectedClass,!1),he[s]===ke&&Ge(Ot[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||he.length&&Mt===d&&(Ra(!0,n),s("clone"),t()))},showClone:function(i){var d=i.cloneNowShown,n=i.rootEl,s=i.cancel;this.isMultiDrag&&(Ra(!1,n),Ot.forEach(function(t){ae(t,"display","")}),d(),_o=!1,s())},hideClone:function(i){var d=this;i.sortable;var n=i.cloneNowHidden,s=i.cancel;this.isMultiDrag&&(Ot.forEach(function(t){ae(t,"display","none"),d.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),_o=!0,s())},dragStartGlobal:function(i){i.sortable,!this.isMultiDrag&&Mt&&Mt.multiDrag._deselectMultiDrag(),he.forEach(function(d){d.sortableIndex=Je(d)}),he=he.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),Qn=!0},dragStarted:function(i){var d=this,n=i.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){he.forEach(function(t){t!==ke&&ae(t,"position","absolute")});var s=je(ke,!1,!0,!0);he.forEach(function(t){t!==ke&&Aa(t,s)}),xt=!0,yo=!0}n.animateAll(function(){xt=!1,yo=!1,d.options.animation&&he.forEach(function(t){Ci(t)}),d.options.sort&&ei()})}},dragOver:function(i){var d=i.target,n=i.completed,s=i.cancel;xt&&~he.indexOf(d)&&(n(!1),s())},revert:function(i){var d=i.fromSortable,n=i.rootEl,s=i.sortable,t=i.dragRect;he.length>1&&(he.forEach(function(a){s.addAnimationState({target:a,rect:xt?je(a):t}),Ci(a),a.fromRect=t,d.removeAnimationState(a)}),xt=!1,dd(!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(),yo=!1,c.animation&&he.length>1&&(xt||!n&&!t.options.sort&&!l)){var v=je(ke,!1,!0,!0);he.forEach(function(h){h!==ke&&(Aa(h,v),a.appendChild(h))}),xt=!0}if(!n)if(xt||ei(),he.length>1){var m=_o;t._showClone(d),t.options.animation&&!_o&&m&&Ot.forEach(function(h){t.addAnimationState({target:h,rect:bo}),h.fromRect=bo,h.thisAnimationDuration=null})}else t._showClone(d)}},dragOverAnimationCapture:function(i){var d=i.dragRect,n=i.isOwner,s=i.activeSortable;if(he.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!n&&s.multiDrag.isMultiDrag){bo=Ut({},d);var t=In(ke,!0);bo.top-=t.f,bo.left-=t.e}},dragOverAnimationComplete:function(){xt&&(xt=!1,ei())},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(!Qn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ge(ke,m.selectedClass,!~he.indexOf(ke)),~he.indexOf(ke))he.splice(he.indexOf(ke),1),ho=null,So({sortable:t,rootEl:n,name:"deselect",targetEl:ke});else{if(he.push(ke),So({sortable:t,rootEl:n,name:"select",targetEl:ke}),d.shiftKey&&ho&&t.el.contains(ho)){var b=Je(ho),S=Je(ke);if(~b&&~S&&b!==S){var x,I;for(S>b?(I=b,x=S):(I=S,x=b+1);I<x;I++)~he.indexOf(h[I])||(Ge(h[I],m.selectedClass,!0),he.push(h[I]),So({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else ho=ke;Mt=v}if(Qn&&this.isMultiDrag){if(xt=!1,(s[ft].options.sort||s!==n)&&he.length>1){var T=je(ke),D=Je(ke,":not(."+this.options.selectedClass+")");if(!yo&&m.animation&&(ke.thisAnimationDuration=null),v.captureAnimationState(),!yo&&(m.animation&&(ke.fromRect=T,he.forEach(function(V){if(V.thisAnimationDuration=null,V!==ke){var F=xt?je(V):T;V.fromRect=F,v.addAnimationState({target:V,rect:F})}})),ei(),he.forEach(function(V){h[D]?s.insertBefore(V,h[D]):s.appendChild(V),D++}),l===Je(ke))){var B=!1;he.forEach(function(V){if(V.sortableIndex!==Je(V)){B=!0;return}}),B&&a("update")}he.forEach(function(V){Ci(V)}),v.animateAll()}Mt=v}(n===s||c&&c.lastPutMode!=="clone")&&Ot.forEach(function(V){V.parentNode&&V.parentNode.removeChild(V)})}},nullingGlobal:function(){this.isMultiDrag=Qn=!1,Ot.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Se(document,"pointerup",this._deselectMultiDrag),Se(document,"mouseup",this._deselectMultiDrag),Se(document,"touchend",this._deselectMultiDrag),Se(document,"keydown",this._checkKeyDown),Se(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(i){if(!(typeof Qn<"u"&&Qn)&&Mt===this.sortable&&!(i&&Nt(i.target,this.options.draggable,this.sortable.el,!1))&&!(i&&i.button!==0))for(;he.length;){var d=he[0];Ge(d,this.options.selectedClass,!1),he.shift(),So({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)}},Ut(u,{pluginName:"multiDrag",utils:{select:function(i){var d=i.parentNode[ft];!d||!d.options.multiDrag||~he.indexOf(i)||(Mt&&Mt!==d&&(Mt.multiDrag._deselectMultiDrag(),Mt=d),Ge(i,d.options.selectedClass,!0),he.push(i))},deselect:function(i){var d=i.parentNode[ft],n=he.indexOf(i);!d||!d.options.multiDrag||!~n||(Ge(i,d.options.selectedClass,!1),he.splice(n,1))}},eventProperties:function(){var i=this,d=[],n=[];return he.forEach(function(s){d.push({multiDragElement:s,index:s.sortableIndex});var t;xt&&s!==ke?t=-1:xt?t=Je(s,":not(."+i.options.selectedClass+")"):t=Je(s),n.push({multiDragElement:s,index:t})}),{items:Vs(he),clones:[].concat(Ot),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 dd(u,o){he.forEach(function(i,d){var n=o.children[i.sortableIndex+(u?Number(d):0)];n?o.insertBefore(i,n):o.appendChild(i)})}function Ra(u,o){Ot.forEach(function(i,d){var n=o.children[i.sortableIndex+(u?Number(d):0)];n?o.insertBefore(i,n):o.appendChild(i)})}function ei(){he.forEach(function(u){u!==ke&&u.parentNode&&u.parentNode.removeChild(u)})}pe.mount(new ad);pe.mount(Li,ji);const ud=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:sd,Sortable:pe,Swap:rd,default:pe},Symbol.toStringTag,{value:"Module"})),cd=is(ud);(function(u,o){(function(d,n){u.exports=n(rs,cd)})(typeof self<"u"?self:ls,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,T){if(I=v(I),T=m(T,!0),b)try{return S(I,T)}catch{}if(h(I,T))return c(!l.f.call(I,T),I[T])}},"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 x={};x[l]=function(){return{next:function(){return{done:S=!0}}}},h(x)}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,x){var I=S.target,T=S.global,D=S.stat,B,V,F,K,_,ne;if(T?V=a:D?V=a[I]||m(I,{}):V=(a[I]||{}).prototype,V)for(F in x){if(_=x[F],S.noTargetGet?(ne=l(V,F),K=ne&&ne.value):K=V[F],B=b(T?F:I+(D?".":"#")+F,S.forced),!B&&K!==void 0){if(typeof _==typeof K)continue;h(_,K)}(S.sham||K&&K.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"}),x=b.name!=m;(S||x)&&a(RegExp.prototype,m,function(){var T=l(this),D=String(T.source),B=T.flags,V=String(B===void 0&&T instanceof RegExp&&!("flags"in h)?v.call(T):B);return"/"+D+"/"+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,x=Math.min,I=h("startsWith"),T=!b&&!I&&!!function(){var D=l(String.prototype,"startsWith");return D&&!D.writable}();a({target:"String",proto:!0,forced:!T&&!I},{startsWith:function(B){var V=String(m(this));v(B);var F=c(x(arguments.length>1?arguments[1]:void 0,V.length)),K=String(B);return S?S.call(V,K,F):V.slice(F,F+K.length)===K}})},"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),x=S.length,I=0,T;x>I;)l.f(h,T=S[I++],b[T]);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),x=S.string,I=S.index,T;return I>=x.length?{value:void 0,done:!0}:(T=a(x,I),S.index+=T.length,{value:T,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 x=a(h),I=l(x.length),T=c(S,I),D;if(m&&b!=b){for(;I>T;)if(D=x[T++],D!=D)return!0}else for(;I>T;T++)if((m||T in x)&&x[T]===b)return m||T||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(x){var I=l(x),T=typeof this=="function"?this:Array,D=arguments.length,B=D>1?arguments[1]:void 0,V=B!==void 0,F=b(I),K=0,_,ne,N,J,z,fe;if(V&&(B=a(B,D>2?arguments[2]:void 0,2)),F!=null&&!(T==Array&&v(F)))for(J=F.call(I),z=J.next,ne=new T;!(N=z.call(J)).done;K++)fe=V?c(J,B,[N.value,K],!0):N.value,h(ne,K,fe);else for(_=m(I.length),ne=new T(_);_>K;K++)fe=V?B(I[K],K):I[K],h(ne,K,fe);return ne.length=K,ne}},"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"),x=Math.max,I=Math.min,T=Math.floor,D=/\$([$&'`]|\d\d?|<[^>]*>)/g,B=/\$([$&'`]|\d\d?)/g,V=function(F){return F===void 0?F:String(F)};a("replace",2,function(F,K,_,ne){var N=ne.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,J=ne.REPLACE_KEEPS_$0,z=N?"$":"$0";return[function(Y,q){var H=h(this),se=Y==null?void 0:Y[F];return se!==void 0?se.call(Y,H,q):K.call(String(H),Y,q)},function(G,Y){if(!N&&J||typeof Y=="string"&&Y.indexOf(z)===-1){var q=_(K,G,this,Y);if(q.done)return q.value}var H=l(G),se=String(this),Ee=typeof Y=="function";Ee||(Y=String(Y));var Ae=H.global;if(Ae){var Ne=H.unicode;H.lastIndex=0}for(var Re=[];;){var Z=S(H,se);if(Z===null||(Re.push(Z),!Ae))break;var We=String(Z[0]);We===""&&(H.lastIndex=b(se,v(H.lastIndex),Ne))}for(var Ke="",Le=0,Ve=0;Ve<Re.length;Ve++){Z=Re[Ve];for(var Me=String(Z[0]),vt=x(I(m(Z.index),se.length),0),Be=[],bt=1;bt<Z.length;bt++)Be.push(V(Z[bt]));var It=Z.groups;if(Ee){var Bt=[Me].concat(Be,vt,se);It!==void 0&&Bt.push(It);var Ye=String(Y.apply(void 0,Bt))}else Ye=fe(Me,se,vt,Be,It,Y);vt>=Le&&(Ke+=se.slice(Le,vt)+Ye,Le=vt+Me.length)}return Ke+se.slice(Le)}];function fe(G,Y,q,H,se,Ee){var Ae=q+G.length,Ne=H.length,Re=B;return se!==void 0&&(se=c(se),Re=D),K.call(Ee,Re,function(Z,We){var Ke;switch(We.charAt(0)){case"$":return"$";case"&":return G;case"`":return Y.slice(0,q);case"'":return Y.slice(Ae);case"<":Ke=se[We.slice(1,-1)];break;default:var Le=+We;if(Le===0)return Z;if(Le>Ne){var Ve=T(Le/10);return Ve===0?Z:Ve<=Ne?H[Ve-1]===void 0?We.charAt(1):H[Ve-1]+We.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 x=c(this),I=v(x.length),T;return m(S),T=h(x,0),T.length=l(T,x,x,I,0,1,S,arguments.length>1?arguments[1]:void 0),T}})},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),x=b.length,I,T;return S<0||S>=x?v?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===x||(T=b.charCodeAt(S+1))<56320||T>57343?v?b.charAt(S):I:v?b.slice(S,S+2):(I-55296<<10)+(T-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,x,I,T,D=function(N){return T(N)?I(N):x(N,{})},B=function(N){return function(J){var z;if(!c(J)||(z=I(J)).type!==N)throw TypeError("Incompatible receiver, "+N+" required");return z}};if(a){var V=new S,F=V.get,K=V.has,_=V.set;x=function(N,J){return _.call(V,N,J),J},I=function(N){return F.call(V,N)||{}},T=function(N){return K.call(V,N)}}else{var ne=h("state");b[ne]=!0,x=function(N,J){return v(N,ne,J),J},I=function(N){return m(N,ne)?N[ne]:{}},T=function(N){return m(N,ne)}}n.exports={set:x,get:I,has:T,enforce:D,getterFor:B}},"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,x=String(String).split("String");(n.exports=function(I,T,D,B){var V=B?!!B.unsafe:!1,F=B?!!B.enumerable:!1,K=B?!!B.noTargetGet:!1;if(typeof D=="function"&&(typeof T=="string"&&!c(D,"name")&&l(D,"name",T),S(D).source=x.join(typeof T=="string"?T:"")),I===a){F?I[T]=D:v(T,D);return}else V?!K&&I[T]&&(F=!0):delete I[T];F?I[T]=D:l(I,T,D)})(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),x=l(S),I=x.length,T=0,D=[],B;I>T;)B=x[T++],(!a||v.call(S,B))&&D.push(h?[B,S[B]]:S[B]);return D}};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=">",x="<",I="prototype",T="script",D=b("IE_PROTO"),B=function(){},V=function(N){return x+T+S+N+x+"/"+T+S},F=function(N){N.write(V("")),N.close();var J=N.parentWindow.Object;return N=null,J},K=function(){var N=h("iframe"),J="java"+T+":",z;return N.style.display="none",m.appendChild(N),N.src=String(J),z=N.contentWindow.document,z.open(),z.write(V("document.F=Object")),z.close(),z.F},_,ne=function(){try{_=document.domain&&new ActiveXObject("htmlfile")}catch{}ne=_?F(_):K();for(var N=c.length;N--;)delete ne[I][c[N]];return ne()};v[D]=!0,n.exports=Object.create||function(J,z){var fe;return J!==null?(B[I]=a(J),fe=new B,B[I]=null,fe[D]=J):fe=ne(),z===void 0?fe:l(fe,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"),x=t("c430"),I=t("3f8c"),T=t("ae93"),D=T.IteratorPrototype,B=T.BUGGY_SAFARI_ITERATORS,V=S("iterator"),F="keys",K="values",_="entries",ne=function(){return this};n.exports=function(N,J,z,fe,G,Y,q){l(z,J,fe);var H=function(Ve){if(Ve===G&&Re)return Re;if(!B&&Ve in Ae)return Ae[Ve];switch(Ve){case F:return function(){return new z(this,Ve)};case K:return function(){return new z(this,Ve)};case _:return function(){return new z(this,Ve)}}return function(){return new z(this)}},se=J+" Iterator",Ee=!1,Ae=N.prototype,Ne=Ae[V]||Ae["@@iterator"]||G&&Ae[G],Re=!B&&Ne||H(G),Z=J=="Array"&&Ae.entries||Ne,We,Ke,Le;if(Z&&(We=c(Z.call(new N)),D!==Object.prototype&&We.next&&(!x&&c(We)!==D&&(v?v(We,D):typeof We[V]!="function"&&h(We,V,ne)),m(We,se,!0,!0),x&&(I[se]=ne))),G==K&&Ne&&Ne.name!==K&&(Ee=!0,Re=function(){return Ne.call(this)}),(!x||q)&&Ae[V]!==Re&&h(Ae,V,Re),I[J]=Re,G)if(Ke={values:H(K),keys:Y?Re:H(F),entries:H(_)},q)for(Le in Ke)(B||Ee||!(Le in Ae))&&b(Ae,Le,Ke[Le]);else a({target:J,proto:!0,forced:B||Ee},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),x=S&&S[1]||!1,I=S&&S[2]||!1,T=document.location.href.replace(document.location.hash,""),D,B,V,F=document.getElementsByTagName("script");x===T&&(D=document.documentElement.outerHTML,B=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),V=D.replace(B,"$1").trim());for(var K=0;K<F.length;K++)if(F[K].readyState==="interactive"||F[K].src===x||x===T&&F[K].innerHTML&&F[K].innerHTML.trim()===V)return F[K];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/,T=/b*/g;return c.call(I,"a"),c.call(T,"a"),I.lastIndex!==0||T.lastIndex!==0}(),b=l.UNSUPPORTED_Y||l.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,x=h||S||b;x&&(m=function(T){var D=this,B,V,F,K,_=b&&D.sticky,ne=a.call(D),N=D.source,J=0,z=T;return _&&(ne=ne.replace("y",""),ne.indexOf("g")===-1&&(ne+="g"),z=String(T).slice(D.lastIndex),D.lastIndex>0&&(!D.multiline||D.multiline&&T[D.lastIndex-1]!==`
- `)&&(N="(?: "+N+")",z=" "+z,J++),V=new RegExp("^(?:"+N+")",ne)),S&&(V=new RegExp("^"+N+"$(?!\\s)",ne)),h&&(B=D.lastIndex),F=c.call(_?V:D,z),_?F?(F.input=F.input.slice(J),F[0]=F[0].slice(J),F.index=D.lastIndex,D.lastIndex+=F[0].length):D.lastIndex=0:h&&F&&(D.lastIndex=D.global?F.index+F[0].length:B),S&&F&&F.length>1&&v.call(F[0],V,function(){for(K=1;K<arguments.length-2;K++)arguments[K]===void 0&&(F[K]=void 0)}),F}),n.exports=m},"94ca":function(n,s,t){var a=t("d039"),l=/#|\.prototype\./,c=function(S,x){var I=m[v(S)];return I==b?!0:I==h?!1:typeof x=="function"?a(x):!!x},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"),x=t("1dde"),I=t("b622"),T=t("2d00"),D=I("isConcatSpreadable"),B=9007199254740991,V="Maximum allowed index exceeded",F=T>=51||!l(function(){var N=[];return N[D]=!1,N.concat()[0]!==N}),K=x("concat"),_=function(N){if(!v(N))return!1;var J=N[D];return J!==void 0?!!J:c(N)},ne=!F||!K;a({target:"Array",proto:!0,forced:ne},{concat:function(J){var z=m(this),fe=S(z,0),G=0,Y,q,H,se,Ee;for(Y=-1,H=arguments.length;Y<H;Y++)if(Ee=Y===-1?z:arguments[Y],_(Ee)){if(se=h(Ee.length),G+se>B)throw TypeError(V);for(q=0;q<se;q++,G++)q in Ee&&b(fe,G,Ee[q])}else{if(G>=B)throw TypeError(V);b(fe,G++,Ee)}return fe.length=G,fe}})},"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,x){if(c(b),S=v(S,!0),c(x),l)try{return m(b,S,x)}catch{}if("get"in x||"set"in x)throw TypeError("Accessors not supported");return"value"in x&&(b[S]=x.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,x){var I=S+" Iterator";return b.prototype=l(a,{next:c(1,x)}),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,x,I,T,D){for(var B=x,V=0,F=T?c(T,D,3):!1,K;V<S;){if(V in b){if(K=F?F(b[V],V,h):b[V],I>0&&a(K))B=v(m,h,K,l(K.length),B,I-1)-1;else{if(B>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[B]=K}B++}V++}return B};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"),x=t("ae40"),I=S("splice"),T=x("splice",{ACCESSORS:!0,0:0,1:2}),D=Math.max,B=Math.min,V=9007199254740991,F="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!T},{splice:function(_,ne){var N=m(this),J=v(N.length),z=l(_,J),fe=arguments.length,G,Y,q,H,se,Ee;if(fe===0?G=Y=0:fe===1?(G=0,Y=J-z):(G=fe-2,Y=B(D(c(ne),0),J-z)),J+G-Y>V)throw TypeError(F);for(q=h(N,Y),H=0;H<Y;H++)se=z+H,se in N&&b(q,H,N[se]);if(q.length=Y,G<Y){for(H=z;H<J-Y;H++)se=H+Y,Ee=H+G,se in N?N[Ee]=N[se]:delete N[Ee];for(H=J;H>J-Y+G;H--)delete N[H-1]}else if(G>Y)for(H=J-Y;H>z;H--)se=H+Y-1,Ee=H+G-1,se in N?N[Ee]=N[se]:delete N[Ee];for(H=0;H<G;H++)N[H+z]=arguments[H+2];return N.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"),x=t("5135"),I=t("e8b5"),T=t("861d"),D=t("825a"),B=t("7b0b"),V=t("fc6a"),F=t("c04e"),K=t("5c6c"),_=t("7c73"),ne=t("df75"),N=t("241c"),J=t("057f"),z=t("7418"),fe=t("06cf"),G=t("9bf2"),Y=t("d1e7"),q=t("9112"),H=t("6eeb"),se=t("5692"),Ee=t("f772"),Ae=t("d012"),Ne=t("90e3"),Re=t("b622"),Z=t("e538"),We=t("746f"),Ke=t("d44e"),Le=t("69f3"),Ve=t("b727").forEach,Me=Ee("hidden"),vt="Symbol",Be="prototype",bt=Re("toPrimitive"),It=Le.set,Bt=Le.getterFor(vt),Ye=Object[Be],Xe=l.Symbol,pt=c("JSON","stringify"),He=fe.f,Dt=G.f,Cn=J.f,Jn=Y.f,Ct=se("symbols"),Ft=se("op-symbols"),en=se("string-to-symbol-registry"),un=se("symbol-to-string-registry"),cn=se("wks"),fn=l.QObject,vn=!fn||!fn[Be]||!fn[Be].findChild,pn=m&&S(function(){return _(Dt({},"a",{get:function(){return Dt(this,"a",{value:7}).a}})).a!=7})?function(me,oe,ue){var be=He(Ye,oe);be&&delete Ye[oe],Dt(me,oe,ue),be&&me!==Ye&&Dt(Ye,oe,be)}:Dt,mn=function(me,oe){var ue=Ct[me]=_(Xe[Be]);return It(ue,{type:vt,tag:me,description:oe}),m||(ue.description=oe),ue},A=b?function(me){return typeof me=="symbol"}:function(me){return Object(me)instanceof Xe},w=function(oe,ue,be){oe===Ye&&w(Ft,ue,be),D(oe);var te=F(ue,!0);return D(be),x(Ct,te)?(be.enumerable?(x(oe,Me)&&oe[Me][te]&&(oe[Me][te]=!1),be=_(be,{enumerable:K(0,!1)})):(x(oe,Me)||Dt(oe,Me,K(1,{})),oe[Me][te]=!0),pn(oe,te,be)):Dt(oe,te,be)},R=function(oe,ue){D(oe);var be=V(ue),te=ne(be).concat(Ie(be));return Ve(te,function(st){(!m||ee.call(be,st))&&w(oe,st,be[st])}),oe},Q=function(oe,ue){return ue===void 0?_(oe):R(_(oe),ue)},ee=function(oe){var ue=F(oe,!0),be=Jn.call(this,ue);return this===Ye&&x(Ct,ue)&&!x(Ft,ue)?!1:be||!x(this,ue)||!x(Ct,ue)||x(this,Me)&&this[Me][ue]?be:!0},ce=function(oe,ue){var be=V(oe),te=F(ue,!0);if(!(be===Ye&&x(Ct,te)&&!x(Ft,te))){var st=He(be,te);return st&&x(Ct,te)&&!(x(be,Me)&&be[Me][te])&&(st.enumerable=!0),st}},ge=function(oe){var ue=Cn(V(oe)),be=[];return Ve(ue,function(te){!x(Ct,te)&&!x(Ae,te)&&be.push(te)}),be},Ie=function(oe){var ue=oe===Ye,be=Cn(ue?Ft:V(oe)),te=[];return Ve(be,function(st){x(Ct,st)&&(!ue||x(Ye,st))&&te.push(Ct[st])}),te};if(h||(Xe=function(){if(this instanceof Xe)throw TypeError("Symbol is not a constructor");var oe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ue=Ne(oe),be=function(te){this===Ye&&be.call(Ft,te),x(this,Me)&&x(this[Me],ue)&&(this[Me][ue]=!1),pn(this,ue,K(1,te))};return m&&vn&&pn(Ye,ue,{configurable:!0,set:be}),mn(ue,oe)},H(Xe[Be],"toString",function(){return Bt(this).tag}),H(Xe,"withoutSetter",function(me){return mn(Ne(me),me)}),Y.f=ee,G.f=w,fe.f=ce,N.f=J.f=ge,z.f=Ie,Z.f=function(me){return mn(Re(me),me)},m&&(Dt(Xe[Be],"description",{configurable:!0,get:function(){return Bt(this).description}}),v||H(Ye,"propertyIsEnumerable",ee,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Xe}),Ve(ne(cn),function(me){We(me)}),a({target:vt,stat:!0,forced:!h},{for:function(me){var oe=String(me);if(x(en,oe))return en[oe];var ue=Xe(oe);return en[oe]=ue,un[ue]=oe,ue},keyFor:function(oe){if(!A(oe))throw TypeError(oe+" is not a symbol");if(x(un,oe))return un[oe]},useSetter:function(){vn=!0},useSimple:function(){vn=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:Q,defineProperty:w,defineProperties:R,getOwnPropertyDescriptor:ce}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:ge,getOwnPropertySymbols:Ie}),a({target:"Object",stat:!0,forced:S(function(){z.f(1)})},{getOwnPropertySymbols:function(oe){return z.f(B(oe))}}),pt){var Qe=!h||S(function(){var me=Xe();return pt([me])!="[null]"||pt({a:me})!="{}"||pt(Object(me))!="{}"});a({target:"JSON",stat:!0,forced:Qe},{stringify:function(oe,ue,be){for(var te=[oe],st=1,Wn;arguments.length>st;)te.push(arguments[st++]);if(Wn=ue,!(!T(ue)&&oe===void 0||A(oe)))return I(ue)||(ue=function(fi,gn){if(typeof Wn=="function"&&(gn=Wn.call(this,fi,gn)),!A(gn))return gn}),te[1]=ue,pt.apply(null,te)}})}Xe[Be][bt]||q(Xe[Be],bt,Xe[Be].valueOf),Ke(Xe,vt),Ae[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 x=[][b],I=c(S,"ACCESSORS")?S.ACCESSORS:!1,T=c(S,0)?S[0]:h,D=c(S,1)?S[1]:void 0;return m[b]=!!x&&!l(function(){if(I&&!a)return!0;var B={length:-1};I?v(B,1,{enumerable:!0,get:h}):B[1]=1,x.call(B,T,D)})}},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},x,I,T;[].keys&&(T=[].keys(),"next"in T?(I=a(a(T)),I!==Object.prototype&&(x=I)):b=!0),x==null&&(x={}),!m&&!c(x,h)&&l(x,h,S),n.exports={IteratorPrototype:x,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,x=h?S:S&&S.withoutSetter||v;n.exports=function(I){return c(b,I)||(m&&c(S,I)?b[I]=S[I]:b[I]=x("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 x=S==1,I=S==2,T=S==3,D=S==4,B=S==6,V=S==5||B;return function(F,K,_,ne){for(var N=c(F),J=l(N),z=a(K,_,3),fe=v(J.length),G=0,Y=ne||m,q=x?Y(F,fe):I?Y(F,0):void 0,H,se;fe>G;G++)if((V||G in J)&&(H=J[G],se=z(H,G,N),S)){if(x)q[G]=se;else if(se)switch(S){case 3:return!0;case 5:return H;case 6:return G;case 2:h.call(q,H)}else if(D)return!1}return B?-1:T||D?D: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(x){return l(this,x,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,x=[],I;for(I in b)!a(v,I)&&a(b,I)&&x.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~c(x,I)||x.push(I));return x}},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,x,I){a(S);var T=l(b),D=c(T),B=v(T.length),V=h?B-1:0,F=h?-1:1;if(x<2)for(;;){if(V in D){I=D[V],V+=F;break}if(V+=F,h?V<0:B<=V)throw TypeError("Reduce of empty array with no initial value")}for(;h?V>=0:B>V;V+=F)V in D&&(I=S(I,D[V],V,T));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 D=/./;return D.exec=function(){var B=[];return B.groups={a:"7"},B},"".replace(D,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),x=c("replace"),I=function(){return/./[x]?/./[x]("a","$0")==="":!1}(),T=!l(function(){var D=/(?:)/,B=D.exec;D.exec=function(){return B.apply(this,arguments)};var V="ab".split(D);return V.length!==2||V[0]!=="a"||V[1]!=="b"});n.exports=function(D,B,V,F){var K=c(D),_=!l(function(){var G={};return G[K]=function(){return 7},""[D](G)!=7}),ne=_&&!l(function(){var G=!1,Y=/a/;return D==="split"&&(Y={},Y.constructor={},Y.constructor[h]=function(){return Y},Y.flags="",Y[K]=/./[K]),Y.exec=function(){return G=!0,null},Y[K](""),!G});if(!_||!ne||D==="replace"&&!(b&&S&&!I)||D==="split"&&!T){var N=/./[K],J=V(K,""[D],function(G,Y,q,H,se){return Y.exec===v?_&&!se?{done:!0,value:N.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],fe=J[1];a(String.prototype,D,z),a(RegExp.prototype,K,B==2?function(G,Y){return fe.call(G,this,Y)}:function(G){return fe.call(G,this)})}F&&m(RegExp.prototype[K],"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 x=v(S),I=m.f,T=c(x),D={},B=0,V,F;T.length>B;)F=I(x,V=T[B++]),F!==void 0&&h(D,V,F);return D}})},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 x in l){var I=a[x],T=I&&I.prototype;if(T){if(T[h]!==S)try{v(T,h,S)}catch{T[h]=S}if(T[b]||v(T,b,x),l[x]){for(var D in c)if(T[D]!==c[D])try{v(T,D,c[D])}catch{T[D]=c[D]}}}}},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 x={},I=function(){var K=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),_=this instanceof I?new S(K):K===void 0?S():S(K);return K===""&&(x[_]=!0),_};b(I,S);var T=I.prototype=S.prototype;T.constructor=I;var D=T.toString,B=String(S("test"))=="Symbol(test)",V=/^Symbol\((.*)\)[^)]+$/;h(T,"description",{configurable:!0,get:function(){var K=m(this)?this.valueOf():this,_=D.call(K);if(v(x,K))return"";var ne=B?_.slice(7,-1):_.replace(V,"$1");return ne===""?void 0:ne}}),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(x,I){b(this,{type:h,target:a(x),index:0,kind:I})},function(){var x=S(this),I=x.target,T=x.kind,D=x.index++;return!I||D>=I.length?(x.target=void 0,{value:void 0,done:!0}):T=="keys"?{value:D,done:!1}:T=="values"?{value:I[D],done:!1}:{value:[D,I[D]],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(x,I){return v(c(x),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,x=c.f,I=0;I<b.length;I++){var T=b[I];a(m,T)||S(m,T,x(h,T))}}},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,x,I;return b===void 0?"Undefined":b===null?"Null":typeof(x=h(S=Object(b),v))=="string"?x: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,w,R){return w in A?Object.defineProperty(A,w,{value:R,enumerable:!0,configurable:!0,writable:!0}):A[w]=R,A}function m(A,w){var R=Object.keys(A);if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(A);w&&(Q=Q.filter(function(ee){return Object.getOwnPropertyDescriptor(A,ee).enumerable})),R.push.apply(R,Q)}return R}function h(A){for(var w=1;w<arguments.length;w++){var R=arguments[w]!=null?arguments[w]:{};w%2?m(Object(R),!0).forEach(function(Q){v(A,Q,R[Q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(R)):m(Object(R)).forEach(function(Q){Object.defineProperty(A,Q,Object.getOwnPropertyDescriptor(R,Q))})}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,w){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(A)))){var R=[],Q=!0,ee=!1,ce=void 0;try{for(var ge=A[Symbol.iterator](),Ie;!(Q=(Ie=ge.next()).done)&&(R.push(Ie.value),!(w&&R.length===w));Q=!0);}catch(Qe){ee=!0,ce=Qe}finally{try{!Q&&ge.return!=null&&ge.return()}finally{if(ee)throw ce}}return R}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function x(A,w){(w==null||w>A.length)&&(w=A.length);for(var R=0,Q=new Array(w);R<w;R++)Q[R]=A[R];return Q}function I(A,w){if(A){if(typeof A=="string")return x(A,w);var R=Object.prototype.toString.call(A).slice(8,-1);if(R==="Object"&&A.constructor&&(R=A.constructor.name),R==="Map"||R==="Set")return Array.from(A);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return x(A,w)}}function T(){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 D(A,w){return b(A)||S(A,w)||I(A,w)||T()}function B(A){if(Array.isArray(A))return x(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 K(A){return B(A)||V(A)||I(A)||F()}var _=t("a352"),ne=t.n(_);function N(A){A.parentElement!==null&&A.parentElement.removeChild(A)}function J(A,w,R){var Q=R===0?A.children[0]:A.children[R-1].nextSibling;A.insertBefore(w,Q)}var z=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function fe(A){var w=Object.create(null);return function(Q){var ee=w[Q];return ee||(w[Q]=A(Q))}}var G=/-(\w)/g,Y=fe(function(A){return A.replace(G,function(w,R){return R.toUpperCase()})});t("5db7"),t("73d9");var q=["Start","Add","Remove","Update","End"],H=["Choose","Unchoose","Sort","Filter","Clone"],se=["Move"],Ee=[se,q,H].flatMap(function(A){return A}).map(function(A){return"on".concat(A)}),Ae={manage:se,manageAndEmit:q,emit:H};function Ne(A){return Ee.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 We(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(w,R){var Q=D(R,2),ee=Q[0],ce=Q[1];return w[ee]=ce,w},{})}function Ve(A){var w=A.$attrs,R=A.componentData,Q=R===void 0?{}:R,ee=Le(Object.entries(w).filter(function(ce){var ge=D(ce,2),Ie=ge[0];return ge[1],Ke(Ie)}));return h(h({},ee),Q)}function Me(A){var w=A.$attrs,R=A.callBackBuilder,Q=Le(vt(w));Object.entries(R).forEach(function(ce){var ge=D(ce,2),Ie=ge[0],Qe=ge[1];Ae[Ie].forEach(function(me){Q["on".concat(me)]=Qe(me)})});var ee="[data-draggable]".concat(Q.draggable||"");return h(h({},Q),{},{draggable:ee})}function vt(A){return Object.entries(A).filter(function(w){var R=D(w,2),Q=R[0];return R[1],!Ke(Q)}).map(function(w){var R=D(w,2),Q=R[0],ee=R[1];return[Y(Q),ee]}).filter(function(w){var R=D(w,2),Q=R[0];return R[1],!Ne(Q)})}t("c740");function Be(A,w){if(!(A instanceof w))throw new TypeError("Cannot call a class as a function")}function bt(A,w){for(var R=0;R<w.length;R++){var Q=w[R];Q.enumerable=Q.enumerable||!1,Q.configurable=!0,"value"in Q&&(Q.writable=!0),Object.defineProperty(A,Q.key,Q)}}function It(A,w,R){return w&&bt(A.prototype,w),A}var Bt=function(w){var R=w.el;return R},Ye=function(w,R){return w.__draggable_context=R},Xe=function(w){return w.__draggable_context},pt=function(){function A(w){var R=w.nodes,Q=R.header,ee=R.default,ce=R.footer,ge=w.root,Ie=w.realList;Be(this,A),this.defaultNodes=ee,this.children=[].concat(K(Q),K(ee),K(ce)),this.externalComponent=ge.externalComponent,this.rootTransition=ge.transition,this.tag=ge.tag,this.realList=Ie}return It(A,[{key:"render",value:function(R,Q){var ee=this.tag,ce=this.children,ge=this._isRootComponent,Ie=ge?{default:function(){return ce}}:ce;return R(ee,Q,Ie)}},{key:"updated",value:function(){var R=this.defaultNodes,Q=this.realList;R.forEach(function(ee,ce){Ye(Bt(ee),{element:Q[ce],index:ce})})}},{key:"getUnderlyingVm",value:function(R){return Xe(R)}},{key:"getVmIndexFromDomIndex",value:function(R,Q){var ee=this.defaultNodes,ce=ee.length,ge=Q.children,Ie=ge.item(R);if(Ie===null)return ce;var Qe=Xe(Ie);if(Qe)return Qe.index;if(ce===0)return 0;var me=Bt(ee[0]),oe=K(ge).findIndex(function(ue){return ue===me});return R<oe?0:ce}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),A}(),He=t("8bbf");function Dt(A,w){var R=A[w];return R?R():[]}function Cn(A){var w=A.$slots,R=A.realList,Q=A.getKey,ee=R||[],ce=["header","footer"].map(function(ue){return Dt(w,ue)}),ge=D(ce,2),Ie=ge[0],Qe=ge[1],me=w.item;if(!me)throw new Error("draggable element must have an item slot");var oe=ee.flatMap(function(ue,be){return me({element:ue,index:be}).map(function(te){return te.key=Q(ue),te.props=h(h({},te.props||{}),{},{"data-draggable":!0}),te})});if(oe.length!==ee.length)throw new Error("Item slot must have only one child");return{header:Ie,footer:Qe,default:oe}}function Jn(A){var w=We(A),R=!Z(A)&&!w;return{transition:w,externalComponent:R,tag:R?Object(He.resolveComponent)(A):w?He.TransitionGroup:A}}function Ct(A){var w=A.$slots,R=A.tag,Q=A.realList,ee=A.getKey,ce=Cn({$slots:w,realList:Q,getKey:ee}),ge=Jn(R);return new pt({nodes:ce,root:ge,realList:Q})}function Ft(A,w){var R=this;Object(He.nextTick)(function(){return R.$emit(A.toLowerCase(),w)})}function en(A){var w=this;return function(R,Q){if(w.realList!==null)return w["onDrag".concat(A)](R,Q)}}function un(A){var w=this,R=en.call(this,A);return function(Q,ee){R.call(w,Q,ee),Ft.call(w,A,Q)}}var cn=null,fn={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(w){return w}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},vn=["update:modelValue","change"].concat(K([].concat(K(Ae.manageAndEmit),K(Ae.emit)).map(function(A){return A.toLowerCase()}))),pn=Object(He.defineComponent)({name:"draggable",inheritAttrs:!1,props:fn,emits:vn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var w=this.$slots,R=this.$attrs,Q=this.tag,ee=this.componentData,ce=this.realList,ge=this.getKey,Ie=Ct({$slots:w,tag:Q,realList:ce,getKey:ge});this.componentStructure=Ie;var Qe=Ve({$attrs:R,componentData:ee});return Ie.render(He.h,Qe)}catch(me){return this.error=!0,Object(He.h)("pre",{style:{color:"red"}},me.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 w=this;if(!this.error){var R=this.$attrs,Q=this.$el,ee=this.componentStructure;ee.updated();var ce=Me({$attrs:R,callBackBuilder:{manageAndEmit:function(Qe){return un.call(w,Qe)},emit:function(Qe){return Ft.bind(w,Qe)},manage:function(Qe){return en.call(w,Qe)}}}),ge=Q.nodeType===1?Q:Q.parentElement;this._sortable=new ne.a(ge,ce),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 w=this.list;return w||this.modelValue},getKey:function(){var w=this.itemKey;return typeof w=="function"?w:function(R){return R[w]}}},watch:{$attrs:{handler:function(w){var R=this._sortable;R&&vt(w).forEach(function(Q){var ee=D(Q,2),ce=ee[0],ge=ee[1];R.option(ce,ge)})},deep:!0}},methods:{getUnderlyingVm:function(w){return this.componentStructure.getUnderlyingVm(w)||null},getUnderlyingPotencialDraggableComponent:function(w){return w.__draggable_component__},emitChanges:function(w){var R=this;Object(He.nextTick)(function(){return R.$emit("change",w)})},alterList:function(w){if(this.list){w(this.list);return}var R=K(this.modelValue);w(R),this.$emit("update:modelValue",R)},spliceList:function(){var w=arguments,R=function(ee){return ee.splice.apply(ee,K(w))};this.alterList(R)},updatePosition:function(w,R){var Q=function(ce){return ce.splice(R,0,ce.splice(w,1)[0])};this.alterList(Q)},getRelatedContextFromMoveEvent:function(w){var R=w.to,Q=w.related,ee=this.getUnderlyingPotencialDraggableComponent(R);if(!ee)return{component:ee};var ce=ee.realList,ge={list:ce,component:ee};if(R!==Q&&ce){var Ie=ee.getUnderlyingVm(Q)||{};return h(h({},Ie),ge)}return ge},getVmIndexFromDomIndex:function(w){return this.componentStructure.getVmIndexFromDomIndex(w,this.targetDomElement)},onDragStart:function(w){this.context=this.getUnderlyingVm(w.item),w.item._underlying_vm_=this.clone(this.context.element),cn=w.item},onDragAdd:function(w){var R=w.item._underlying_vm_;if(R!==void 0){N(w.item);var Q=this.getVmIndexFromDomIndex(w.newIndex);this.spliceList(Q,0,R);var ee={element:R,newIndex:Q};this.emitChanges({added:ee})}},onDragRemove:function(w){if(J(this.$el,w.item,w.oldIndex),w.pullMode==="clone"){N(w.clone);return}var R=this.context,Q=R.index,ee=R.element;this.spliceList(Q,1);var ce={element:ee,oldIndex:Q};this.emitChanges({removed:ce})},onDragUpdate:function(w){N(w.item),J(w.from,w.item,w.oldIndex);var R=this.context.index,Q=this.getVmIndexFromDomIndex(w.newIndex);this.updatePosition(R,Q);var ee={element:this.context.element,oldIndex:R,newIndex:Q};this.emitChanges({moved:ee})},computeFutureIndex:function(w,R){if(!w.element)return 0;var Q=K(R.to.children).filter(function(Ie){return Ie.style.display!=="none"}),ee=Q.indexOf(R.related),ce=w.component.getVmIndexFromDomIndex(ee),ge=Q.indexOf(cn)!==-1;return ge||!R.willInsertAfter?ce:ce+1},onDragMove:function(w,R){var Q=this.move,ee=this.realList;if(!Q||!ee)return!0;var ce=this.getRelatedContextFromMoveEvent(w),ge=this.computeFutureIndex(ce,w),Ie=h(h({},this.context),{},{futureIndex:ge}),Qe=h(h({},w),{},{relatedContext:ce,draggedContext:Ie});return Q(Qe,R)},onDragEnd:function(){cn=null}}}),mn=pn;s.default=mn},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"),x=t("1dde"),I=t("ae40"),T=x("slice"),D=I("slice",{ACCESSORS:!0,0:0,1:2}),B=S("species"),V=[].slice,F=Math.max;a({target:"Array",proto:!0,forced:!T||!D},{slice:function(_,ne){var N=h(this),J=m(N.length),z=v(_,J),fe=v(ne===void 0?J:ne,J),G,Y,q;if(c(N)&&(G=N.constructor,typeof G=="function"&&(G===Array||c(G.prototype))?G=void 0:l(G)&&(G=G[B],G===null&&(G=void 0)),G===Array||G===void 0))return V.call(N,z,fe);for(Y=new(G===void 0?Array:G)(F(fe-z,0)),q=0;z<fe;z++,q++)z in N&&b(Y,q,N[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})})(Ka);var fd=Ka.exports;const Va=as(fd);function Ua(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 vd={class:"position-detail-container"},pd={class:"header-container"},md={class:"header-actions"},gd={class:"detail-content"},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:"title-edit-actions"},wd={class:"detail-item"},Ad={key:0,class:"detail-value"},Od={key:1,class:"title-edit-container"},Td={class:"title-edit-actions"},Dd={class:"detail-item"},Pd={key:0,class:"detail-value"},Rd={key:1,class:"title-edit-container"},Vd={class:"salary-range-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={key:0,class:"detail-value"},jd={key:1,class:"title-edit-container"},Ld={class:"title-edit-actions"},Qd={class:"detail-item"},Gd={key:0,class:"detail-value"},zd={key:1,class:"title-edit-container"},$d={class:"title-edit-actions"},Jd={class:"detail-item"},Wd={class:"detail-value"},Hd={class:"detail-item"},Yd={key:0,class:"detail-value"},Xd={key:1,class:"title-edit-container"},qd={class:"title-edit-actions"},Zd={class:"detail-item"},_d=["innerHTML"],eu={key:2,class:"title-edit-container"},tu={class:"title-edit-actions"},nu={class:"detail-item"},ou=["innerHTML"],iu={key:2,class:"title-edit-container"},au={class:"title-edit-actions"},ru={class:"detail-item"},lu={key:0,class:"detail-value"},su={key:1,class:"title-edit-container"},du={class:"title-edit-actions"},uu={class:"status-cards"},cu={class:"status-switch"},fu={class:"status-text"},vu={class:"section-title"},pu={class:"usage-content"},mu={key:0,class:"usage-value"},gu={key:1,class:"title-edit-container"},hu={class:"title-edit-actions"},yu={class:"section-title"},bu={class:"process-steps"},Su={key:0,class:"step-number"},Eu={class:"step-content"},xu={class:"step-title"},Iu={class:"section-title"},Cu={class:"process-dialog-content"},wu={key:0,class:"add-process-btn-top"},Au={key:0,class:"process-number"},Ou={class:"process-edit-content"},Tu={key:1,class:"process-edit-btn"},Du=["onClick"],Pu={class:"dialog-footer"},Ru={class:"ai-video-steps"},Vu={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},Uu={class:"ai-video-options"},ku={class:"recommended-dimensions"},Ku={class:"dimension-grid"},Mu={class:"ability-label"},Nu={class:"optional-dimensions"},Bu={class:"header-row"},Fu={class:"right_btn"},ju={class:"dimension-grid"},Lu={class:"ability-label"},Qu={class:"custom-dimensions"},Gu={class:"dimension-form"},zu={class:"dimension-row"},$u={class:"dimension-input"},Ju={class:"dimension-input"},Wu={class:"dimension-actions"},Hu={key:1,class:"ai-video-content"},Yu={class:"interview-settings"},Xu={class:"interview-header"},qu={class:"interview-actions"},Zu={class:"question-switches"},_u={class:"switch-item"},ec={class:"switch-item"},tc={class:"interview-duration"},nc={class:"duration-value"},oc={class:"interview-content"},ic={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},ac={key:0,class:"no-questions"},rc={key:1,class:"question-list"},lc={class:"question-card"},sc={class:"question-header"},dc={class:"question-title"},uc={class:"title-content"},cc={class:"question-content"},fc={class:"question-number"},vc={style:{color:"#0017ab"}},pc={class:"question-tags"},mc={key:0,class:"more-tags-indicator"},gc={class:"question-actions",style:{"margin-top":"0px"}},hc={class:"question-info"},yc={class:"info-item"},bc={key:0,class:"question-actions"},Sc={class:"answer-limit"},Ec={class:"answer-limit"},xc={key:1,class:"question-actions"},Ic={class:"answer-limit"},Cc={class:"multi-dimension-questions"},wc={class:"dimension-list"},Ac={class:"dimension-header"},Oc={class:"dimension-info"},Tc={class:"ability-name"},Dc=["onClick"],Pc={key:2,class:"ai-video-content"},Rc={class:"system-settings"},Vc={class:"setting-section"},Uc={style:{display:"flex","align-items":"flex-start"}},kc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},Kc=["src"],Mc={class:"interviewer-avatars"},Nc=["onClick"],Bc={class:"avatar-wrapper"},Fc=["src","alt"],jc=["title"],Lc={class:"setting-item",style:{border:"none"}},Qc={class:"setting-options"},Gc={class:"interview-settings"},zc={class:"setting-item"},$c={class:"setting-item"},Jc={class:"setting-options"},Wc={class:"setting-item"},Hc={class:"drawer-footer"},Yc={class:"video-lecture-form"},Xc={class:"form-item"},qc={class:"upload-area"},Zc={class:"form-item"},_c={class:"dialog-footer"},ef={class:"ai-chat-content"},tf={class:"chat-settings"},nf={class:"chat-actions"},of={class:"chat-questions"},af={key:0,class:"empty-questions"},rf={key:1,class:"question-list"},lf={class:"question-card"},sf={class:"question-header"},df={class:"question-title"},uf={class:"question-number"},cf={class:"question-actions"},ff={class:"weight-control"},vf={class:"answer-limit"},pf={class:"question-info"},mf={class:"info-item"},gf={class:"info-item"},hf={class:"info-item"},yf={class:"drawer-footer"},bf={class:"question-form"},Sf={class:"form-item"},Ef={class:"form-item"},xf={class:"form-item"},If={class:"competency-config"},Cf={class:"tag-name"},wf={class:"form-tip"},Af={class:"form-item"},Of={class:"form-item"},Tf={key:0,class:"form-item"},Df=["onClick"],Pf={key:1,class:"form-item"},Rf={key:2},Vf=["src"],Uf={class:"form-item"},kf={class:"form-item"},Kf={class:"form-item"},Mf={class:"form-item"},Nf={class:"dialog-footer"},Bf={class:"question-select-content"},Ff={class:"custom-tree-node"},jf={class:"node-label",style:{display:"flex","align-items":"center"}},Lf={class:"ml-2"},Qf={class:"dialog-footer"},Gf={class:"data-collection-form"},zf={class:"field-config-panel"},$f={class:"field-config-list"},Jf={class:"field-config-item"},Wf={class:"field-label"},Hf={class:"field-config-item"},Yf={class:"field-label"},Xf={class:"field-config-item sub-field"},qf={class:"field-label"},Zf={class:"field-config-item"},_f={class:"field-label"},ev={class:"field-config-item sub-field"},tv={class:"field-label"},nv={class:"field-config-item"},ov={class:"field-label"},iv={class:"field-config-item"},av={class:"field-label"},rv={class:"field-config-item sub-field"},lv={class:"field-label"},sv={class:"dialog-footer"},dv={class:"resume-collection-form"},uv={class:"form-item"},cv={class:"dialog-footer"},fv={class:"code-test-form"},vv={class:"form-item"},pv={class:"form-item"},mv={class:"switch-label"},gv={class:"form-item"},hv={class:"test-paper-selector"},yv={key:0,class:"empty-paper"},bv={key:1,class:"selected-paper"},Sv={class:"paper-info"},Ev={class:"paper-title"},xv={class:"paper-meta"},Iv={class:"paper-actions"},Cv={class:"dialog-footer"},wv={class:"typing-test-form"},Av={class:"form-item"},Ov={class:"article-selection"},Tv={class:"form-item"},Dv={class:"form-item"},Pv={class:"time-input-container"},Rv={class:"form-item"},Vv={class:"upload-area"},Uv={class:"form-item"},kv={class:"form-item"},Kv={class:"form-item"},Mv={class:"form-item"},Nv={class:"criteria-options"},Bv={class:"dialog-footer"},Fv={class:"interview-settings-content"},jv={class:"settings-section"},Lv={class:"setting-item"},Qv={class:"setting-item"},Gv={class:"setting-item"},zv={class:"setting-item"},$v={class:"settings-section"},Jv={class:"setting-item"},Wv={class:"setting-info"},Hv={class:"setting-desc-container"},Yv={class:"setting-item"},Xv={class:"setting-info"},qv={key:0,class:"setting-desc-container"},Zv={class:"setting-desc"},_v={key:1,class:"desc-edit-container"},ep={class:"desc-edit-actions"},tp={class:"setting-item"},np={class:"setting-info"},op={key:0,class:"setting-desc-container"},ip={class:"setting-desc"},ap={key:1,class:"desc-edit-container"},rp={class:"desc-edit-actions"},lp={class:"setting-item"},sp={class:"setting-info"},dp={key:0,class:"setting-desc-container"},up={class:"setting-desc"},cp={key:1,class:"desc-edit-container"},fp={class:"desc-edit-actions"},vp={class:"dialog-footer"},pp={class:"question-select-content"},mp={class:"document-box document-left-box"},gp={class:"search-bar"},hp={class:"search-inputs"},yp={class:"question-lists"},bp={class:"pagination-container"},Sp={class:"dialog-footer"},Ep={class:"candidate-questions-form"},xp={class:"form-item"},Ip={class:"form-item"},Cp={class:"form-item"},wp={class:"dialog-footer"},Ap={class:"dialog-footer"},Op={class:"selected-applications-preview"},Tp={class:"preview-title"},Dp={class:"preview-footer"},ka="position_field_config_cache",Pp=Jl({__name:"index",setup(u){const o=(f,e)=>{try{const C={positionId:e,config:JSON.parse(JSON.stringify(f)),timestamp:Date.now()};localStorage.setItem(ka,JSON.stringify(C))}catch(C){console.error("保存字段配置到缓存失败:",C)}},i=f=>{try{const e=localStorage.getItem(ka);if(e){const C=JSON.parse(e);if(C.positionId===f&&Date.now()-C.timestamp<6048e5)return C.config}return null}catch(e){return console.error("读取字段配置缓存失败:",e),null}},d=L(null),n=Wl(),s=Hl(),t=L(s.query.id),a=L(!1),l=L(!1),c=f=>m.slice(0,f+1).filter(e=>e.visible).length,v=et({title:"",job_category:"",job_type_display:"",city:"",location:[],location_str:"",address_detail:"",benefits:[],requirements:"",job_type:0,salary_range:"",department:"",end_date:"",description:"",work_experience_required:"",education_required:"",competency_tags:[],options:[],status:0,detailed_address:""}),m=et([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"综合素质考察",description:"综合素质考察",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理测试",description:"心理测试",active:!0,type:"psychological_problem",visible:!0},{id: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=L(!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=>(Pt.value.forEach(e=>{f.id==e.id&&(f.name=e.name)}),f.name),x=L(!1),I=f=>{it.pageSize=f,qt({page:it.page,limit:it.pageSize,question_form:at.question_form}).then(e=>{e.data&&(it.value=e.data.items,dt.page=e.data.page,dt.pageSize=e.data.limit,jt.value=e.data.total)})},T=f=>{it.page=f,qt({page:it.page,limit:it.pageSize,question_form:at.question_form}).then(e=>{e.data&&(it.value=e.data.items,dt.page=e.data.page,dt.pageSize=e.data.limit,jt.value=e.data.total)})},D=async()=>{const f=kt.value.map(e=>e.id);if(console.log("selectedQuestionIds",f),f.length===0){P.warning("请至少选择一个问题");return}try{await Si({position_id:s.query.id,question_id:f,duration:60,tenant_id:Xt.get("tenant_id")});const e=it.value.filter(C=>C.selected);kt.value.push(...e),P.success("问题添加成功"),x.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?P.warning("该题目已绑定,请选择其他题目"):P.error("添加问题失败,请重试")}},B=()=>{Mn.value=!0,va({position_id:s.query.id}).then(f=>{f.data.forEach(e=>{e.selected=!1}),Pt.value=f.data,console.log("res",f),Mn.value=!1}).catch(f=>{console.log("err",f),Mn.value=!1})},V=Is(),F=f=>{if(console.log("地址选择变化:",f),f&&Array.isArray(f)&&f.length>0){const[e,C,E]=f,O=V.find(ie=>ie.code===e);let U;O&&O.children&&(U=O.children.find(ie=>ie.code===C),U&&U.children&&U.children.find(ie=>ie.code===E))}},K=L(!1),_=L([]),ne=async f=>{K.value=!0;try{const e=await Ei({page:1,limit:100,job_id:s.query.id,question_form:f});e.data&&e.data.items&&(_.value=e.data.items)}catch(e){console.error("获取职位申请数据失败:",e),P.error("获取职位申请数据失败")}},N=(f,e)=>{},J=L(-1),z=L(!1),fe=et({top:"0px",left:"0px"}),G=L(!1),Y=et({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),q=L(1),H=L([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);et({min:0,max:100,minScore:0,maxScore:0});const se=f=>{console.log(f)};L("standard"),L(!1);const Ee=L(!1),Ae=et({title:"",videoFile:null,description:"",broadcastType:"required"}),Ne=L(!1);L(15),L(5);const Re=L(!1),Z=et({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category_name:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:"",blank_answer_template:[],tag_ids:[]}),We=f=>f.map(e=>e.id),Ke=L([]),Le=L([]);L([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),L([]);const Ve=()=>{Object.assign(Z,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category_name:"",tags:[],suggestedDuration:60,scoring_reference:"",question_image_url:"",blank_answer_template:[],tag_ids:[]})},Me=async()=>{const f=await ts({page:1,page_size:50});console.log(f),Le.value=f.data.map(e=>({label:e.title,value:String(e.id)}))},vt=()=>{Re.value=!1,Ve()},Be=L(!1);et({isRequired:!1,questions:[]}),L([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const bt=L(!1),It=et({title:"简历收集",isRequired:!0,steps:4}),Bt=()=>{bt.value=!0},Ye=()=>{bt.value=!1,Object.assign(It,{title:"简历收集",isRequired:!0,steps:4})},Xe=()=>{const f={id:Date.now(),name:It.title,description:"简历收集",active:!0,type:"resume_collection",config:{...It},visible:!0};m.splice(J.value,0,f),ht({id:Oe.value,require_resume_upload:!0}).then(e=>{e.code==2e3?m[0].visible=!0:P.error("删除失败")}),bt.value=!1,P.success("简历收集步骤已添加"),Ye()},pt=L(!1),He=et({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Dt=async()=>{var f;try{const e=s.query.id;if(!e){P.error("职位ID不存在");return}const C=Array.isArray(e)?e[0]:e,E=e,O=await ns(e);if(O&&O.data){Object.assign(v,O.data),console.log(v),Ke.value=O.data.competency_tags;const U=await Fn(e);if(U&&U.data)Oe.value=U.data.id,U.data.enable_psychological_test!==void 0&&(He.enableScoreQuestions=U.data.enable_psychological_test),U.data.enable_color_blind_test!==void 0&&(He.enableColorBlindQuestions=U.data.enable_color_blind_test);else if(U&&U.code===2e3&&U.message==="该职位暂无配置")try{const ie=await go({position_id:e,enable_psychological_test:!1,enable_color_blind_test:!1,digital_human_id:null,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。"});ie&&ie.code===2e3?(Oe.value=((f=ie.data)==null?void 0:f.id)||ie.data,P.success("已自动创建职位配置"),He.enableScoreQuestions=!1,He.enableColorBlindQuestions=!1):P.warning("自动创建配置失败,请手动创建")}catch(ie){console.error("自动创建配置失败:",ie),P.warning("自动创建配置失败,请手动创建")}a.value=v.status===1}}catch(e){console.error("获取职位详情失败:",e),P.error("获取职位详情失败")}},Cn=()=>{n.push("/position/list")},Jn=()=>{n.push("/position/list")},Ct=async f=>{const e=s.query.id;try{const C=f?1:0;if(f){const E=await os({position_id:e,tenant_id:Xt.get("tenant_id")});if(E.code===2e3){const{is_all_completed:O,total_questions:U}=E.data;if(!O||U<=0){P.warning(`无法开启职位,原因:${U<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),a.value=!f;return}}else{P.error("检查视频状态失败,请稍后重试"),a.value=!f;return}}await St({id:e,status:C}),v.status=C,P.success(`职位已${f?"开启":"关闭"}`)}catch(C){console.error("修改状态失败:",C),P.error("修改状态失败"),a.value=!f}},Ft=()=>{h.value=!0},en=()=>{h.value=!1,P.success("招聘流程已更新")},un=()=>{h.value=!1},cn=(f,e)=>{f.type=="ai_video"&&(G.value=!1),f.type=="ai_chat"&&(Ne.value=!1),f.type=="ai_video"&&ht({id:Oe.value,enable_open_questions:!1}).then(C=>{C.code==2e3?P.success("删除成功"):P.error("删除失败")}),f.type=="psychological_problem"&&ht({id:Oe.value,enable_scoring_questions:!1}).then(C=>{if(console.log(C),C.code==2e3){const E=wn.value.filter(O=>O.question_form===4).map(O=>O.question_id).filter(O=>O!=null);console.log(E),E.length>0&&pa({position_id:s.query.id,question_id:E}).then(O=>{console.log(O),O.code==2e3&&(wn.value=[])}),P.success("删除成功")}else P.error("删除失败")}),f.type=="common_sense"&&ht({id:Oe.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(C=>{if(C.code==2e3){P.success("删除成功");const E=wn.value.filter(O=>O.question_form!==4&&O.question_form!==0).map(O=>O.question_id).filter(O=>O!=null);E.length>0&&pa({position_id:s.query.id,question_id:E}).then(O=>{O.code==2e3&&(wn.value=[])})}else P.error("删除失败")}),f.type=="resume_collection"&&ht({id:Oe.value,require_resume_upload:!1}).then(C=>{C.code==2e3?P.success("删除成功"):P.error("删除失败")}),f.type=="posture_check"&&ht({id:Oe.value,enable_posture_check:!1}).then(C=>{if(C.code==2e3){P.success("删除成功");return}else P.error("删除失败")}),m.splice(e,1),console.log("recruitmentProcess",m)},fn=f=>({0:"未发布",1:"已发布",2:"已结束"})[f]||"未知状态",vn=f=>({0:"info",1:"success",2:"danger"})[f]||"info",pn=f=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[f]||"未知",mn=(f,e)=>{J.value=f,z.value=!0,console.log(f,e);const C=e.currentTarget,E=C.closest(".process-dialog-content");if(E){const O=C.getBoundingClientRect(),U=E.getBoundingClientRect(),ie=O.bottom-U.top+5,$=O.left-U.left;fe.top=`${ie}px`,fe.left=`${$}px`}e.stopPropagation()},A=async(f,e)=>{if(f==="ai_video"&&ht({id:Oe.value,enable_open_questions:!0}).then(O=>{O.code==2e3?(m[2].visible=!0,z.value=!1):P.error("更新配置失败")}),f==="common_sense"&&ht({id:Oe.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(O=>{O.code==2e3?(m[3].visible=!0,console.log("recruitmentProcess",m),z.value=!1):P.error("更新配置失败")}),f==="psychological_problem"&&ht({id:Oe.value,enable_scoring_questions:!0}).then(O=>{O.code==2e3?(m[4].visible=!0,z.value=!1):P.error("更新配置失败")}),f==="post_render_questions"){Ol.value=!0,z.value=!1;return}if(f==="posture_check"&&ht({id:Oe.value,enable_posture_check:!0}).then(O=>{O.code==2e3?(console.log("recruitmentProcess",m),m[5].visible=!0,J.value=5):P.error("删除失败")}),m.find(O=>!!(O.type&&O.type===f||O.name===e))){z.value=!1;return}if(f==="ai_chat"){Ne.value=!0,z.value=!1;return}if(f==="video_presentation"){Xe(),z.value=!1;return}if(f==="data_collection"){const O=await Fn(s.query.id);O&&O.data?(Oe.value=O.data.id,Ua(j,O.data.profile_fields_config),Be.value=!0,z.value=!1):(Be.value=!0,z.value=!1);return}if(f==="resume_collection"){Bt(),z.value=!1;return}if(f==="posture_check"&&(z.value=!1),f==="code_test"){qa(),z.value=!1;return}if(f==="typing_test"){Yn.value=!0,z.value=!1;return}if(f==="candidate_questions"){Nn.value=!0,z.value=!1;return}const E={id:Date.now(),name:e,description:e,active:!0,type:f,visible:!0};console.log("newStep",E),m.splice(f==="posture_check"?5:J.value,0,E),z.value=!1},w=async()=>{if(q.value<3){if(q.value===1){const f=Pt.value.filter(e=>e.selected);if(f.length===0){P.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),P.error("处理胜任力标签失败");return}}if(q.value===2){if(te.value.length===0){P.warning("请至少添加一个面试题目");return}try{await zr()}catch(f){console.error("保存题目失败:",f),P.error("保存题目失败");return}}if(q.value===3){const f=$r();if(!f.isValid){f.messages.forEach(C=>{P.warning(C)});return}const e=Hr();console.log("完整的面试配置:",e)}q.value++}else Q()},R=()=>{q.value>1&&q.value--},Q=async()=>{var O;if(!mt.value||!mt.value.id){P.warning("请选择面试官形象");return}if(!Qo.value){P.warning("请选择面试官");return}const f={id:mt.value.id,name:mt.value.name,avatar_url:mt.value.avatar_url||mt.value.image},e=mi(),C={enableScoreQuestions:He.enableScoreQuestions,enableColorBlindQuestions:He.enableColorBlindQuestions};try{if(await St({id:s.query.id,status:0}),v.status=0,a.value=!1,Oe.value==0){const U=await go({position_id:s.query.id,digital_human_id:mt.value.id});if(U.code==2e3){P.success("配置保存成功");try{const ie={config_id:((O=U.data)==null?void 0:O.id)||U.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await xi(ie),console.log("开场白生成成功"),G.value=!1,q.value=1,await new Promise(re=>setTimeout(re,4e3))):console.log("无开场白配置,跳过开场白生成"),await ma(ie),P.success("视频开始生成")}catch(ie){console.error("获取开场白和视频失败:",ie),P.warning("视频生成中,请稍后")}}else P.error("配置保存失败")}else if((await ht({id:Oe.value,digital_human_id:mt.value.id})).code==2e3){P.success("配置保存成功");try{const ie={config_id:Oe.value};console.log("开始生成开场白..."),await xi(ie),console.log("开场白生成成功"),G.value=!1,q.value=1,console.log("等待4秒后开始生成视频..."),await qr(4e3),console.log("开始生成视频..."),await ma(ie),console.log("视频生成请求已发送"),P.success("视频开始生成")}catch(ie){console.error("获取开场白和视频失败:",ie),P.warning("视频生成中,请稍后")}}else P.error("配置保存失败")}catch(U){console.error("更新职位状态失败:",U),P.error("更新职位状态失败");return}console.log("保存时选中的面试官:",f),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",C);const E={id:Date.now(),name:"AI考察",description:`已选择${H.value.length}项能力测评`,active:!0,type:"ai_video",abilities:H.value.map(U=>U.value),interviewer:f,settings:e};m.splice(J.value,0,E),G.value=!1,q.value=1,P.success("AI考察步骤已添加")},ee=()=>{G.value=!1,q.value=1},ce=f=>{},ge=()=>{Ee.value=!1,Object.assign(Ae,{title:"",videoFile:null,description:"",broadcastType:"required"})},Ie=()=>{const f={id:Date.now(),name:Ae.title||"视频宣讲",description:Ae.description||"视频宣讲",active:!0,type:"video_presentation",config:{...Ae}};m.splice(J.value,0,f),Ee.value=!1,P.success("视频宣讲步骤已添加"),ge()},Qe=()=>{const f={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};m.splice(J.value,0,f),Ne.value=!1,P.success("AI实时对话步骤已添加")},me=()=>{Ne.value=!1},oe=()=>{if(!Ue.title.trim()){P.warning("请输入环节名称");return}if(Ue.duration<=0){P.warning("提问时长必须大于0分钟");return}if(Ue.maxQuestions<=0){P.warning("最多提问数量必须大于0");return}if(po.value>=0){const f=m[po.value];f.name=Ue.title,f.description=`时长${Ue.duration}分钟,最多${Ue.maxQuestions}个问题`,f.config={...Ue},P.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),P.success("候选人提问环节已添加")}Nn.value=!1,be()},ue=()=>{Nn.value=!1,be()},be=()=>{po.value=-1,Object.assign(Ue,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},te=L([]),st=yi(()=>te.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)),Wn=yi(()=>{const f=st.value;if(f<60)return`${f}秒`;const e=Math.floor(f/60),C=f%60;return C>0?`${e}分${C}秒`:`${e}分钟`}),fi=()=>{Re.value=!0},gn=()=>{Go.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:[]},Zi.value=!1,co.value=!0},Wa=async f=>{try{const e=await ws({...f,tenant_id:Xt.get("tenant_id")});if(console.log(f),e&&e.code===2e3){if(P.success("题目创建成功"),console.log(e),e.data){const C={id:e.data.id||e.data,title:f.question,content:f.question,question_form:f.question_form,question_form_name:Gi(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||""};te.value.push(C)}co.value=!1}else P.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),P.error("题目创建失败,请重试")}},Qi=()=>{co.value=!1,Go.value={}},Gi=f=>({0:"开放问题",1:"单选题",2:"多选题",3:"识图题",4:"得分题",5:"判断题",6:"填空题"})[f]||"未知类型",zi=f=>{if(te.value[f].source!=="ai_generated")console.log(te.value[f].id),ps(te.value[f].id).then(e=>{var C;if(console.log(e),e.code===2e3){const E={id:e.data.id,content:e.data.question,question_form:e.data.question_form,question_form_name:Gi(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:(C=e.data.options)==null?void 0:C.map(O=>({text:O.option_text,is_correct:O.is_correct,sort:O.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||[],tags:e.data.tags,category_name:e.data.category_name,tag_ids:e.data.tag_ids};Object.assign(Z,E)}});else{const e=te.value[f];console.log(e),Object.assign(Z,e),console.log(te)}Re.value=!0,wl()},$i=f=>{fa.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{te.value.splice(f,1),P.success("删除成功")})},Ro=()=>{window.location.reload()},Ha=()=>{ro.value?(Ho(()=>{Object.assign(j,ro.value)}),console.log(j)):(Ho(()=>{Object.assign(j,JSON.parse(JSON.stringify(_i)))}),console.log("使用默认配置")),ro.value=null,Yi.value=!0,Be.value=!1,Ro()},wn=L([]),Ya=async()=>{const f=await Ei({page:1,limit:100,job_id:s.query.id});f.data&&f.data.items&&(wn.value=f.data.items),console.log(wn.value)};Yl(()=>{Dt(),Hi(),Yr(),Me(),Xa(),Ya()}),Xl(()=>{qi()});const Xa=async()=>{try{const f=s.query.id;if(f){const e=await Fn(f);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(He.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(He.enableColorBlindQuestions=e.data.enable_color_blind_test),we.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)}},Hn=L(!1),nt=et({title:"代码笔试",autoJudge:!0,selectedPaper:null}),qa=()=>{Hn.value=!0},Ji=()=>{Hn.value=!1,Object.assign(nt,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},Za=()=>{if(!nt.selectedPaper){P.warning("请添加考试试卷");return}const f={id:Date.now(),name:nt.title,description:`${nt.selectedPaper.title}`,active:!0,type:"code_test",config:{...nt}};m.splice(J.value,0,f),Hn.value=!1,P.success("代码笔试步骤已添加"),Ji()},_a=()=>{nt.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},er=()=>{P.info("查看试卷功能开发中")},tr=()=>{P.info("更换试卷功能开发中")},nr=()=>{nt.selectedPaper=null},Yn=L(!1),tt=et({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),Wi=()=>{Yn.value=!1,Object.assign(tt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},or=()=>{const f={id:Date.now(),name:tt.title,description:`打字测试 ${tt.duration}分钟`,active:!0,type:"typing_test",config:{...tt}};m.splice(J.value,0,f),Yn.value=!1,P.success("打字测试步骤已添加"),Wi()},Vo=L(!1),An=L(""),ir=()=>{An.value=v.title,Vo.value=!0},ar=()=>{Vo.value=!1},rr=async()=>{if(!An.value.trim()){P.warning("职位名称不能为空");return}try{const f=s.query.id;await St({id:f,title:An.value.trim()}),v.title=An.value.trim(),Vo.value=!1,P.success("职位名称已更新")}catch(f){console.error("更新职位名称失败:",f),P.error("更新职位名称失败")}},Uo=L(!1),On=L(""),lr=()=>{On.value=v.detailed_address,Uo.value=!0},sr=()=>{Uo.value=!1},dr=async()=>{if(!On.value.trim()){P.warning("详细地址不能为空");return}try{const f=s.query.id;await St({id:f,detailed_address:On.value.trim()}),v.detailed_address=On.value.trim(),Uo.value=!1,P.success("详细地址已更新")}catch(f){console.error("更新详细地址失败:",f),P.error("更新详细地址失败")}},ko=L(!1),Jt=L(""),ur=()=>{if(!v.location)Jt.value="";else if(Array.isArray(v.location))Jt.value=v.location;else if(typeof v.location=="string")try{const e=v.location.replace(/[\[\]']/g,"").split(",").map(U=>U.trim()),C=V.find(U=>U.name===e[0]);let E,O;C&&C.children&&(E=C.children.find(U=>U.name===e[1]),E&&E.children&&(O=E.children.find(U=>U.name===e[2]))),Jt.value=[C==null?void 0:C.code,E==null?void 0:E.code,O==null?void 0:O.code].filter(Boolean)}catch(f){console.error("解析地址失败:",f),Jt.value=""}ko.value=!0},cr=()=>{ko.value=!1},fr=async()=>{try{const f=s.query.id,e=[];if(Jt.value&&Array.isArray(Jt.value)){const[C,E,O]=Jt.value,U=V.find(re=>re.code===C);let ie,$;U&&(e.push(U.name),U.children&&(ie=U.children.find(re=>re.code===E),ie&&(e.push(ie.name),ie.children&&($=ie.children.find(re=>re.code===O),$&&e.push($.name)))))}await St({id:f,location:e}),v.location=e,ko.value=!1,P.success("工作地点已更新")}catch(f){console.error("更新工作地点失败:",f),P.error("更新工作地点失败")}},Ko=L(!1),Xn=L("月薪"),hn=L(0),tn=L(0),vr=()=>{if(v.salary_range){const f=v.salary_range.split(" ");if(f.length>=2){Xn.value=f[0];const e=f[1].split("-");e.length===2&&(hn.value=parseInt(e[0])||0,tn.value=parseInt(e[1])||0)}}else Xn.value="月薪",hn.value=0,tn.value=0;Ko.value=!0},pr=()=>{Ko.value=!1},vi=()=>{hn.value>tn.value&&tn.value!==0&&(hn.value=tn.value)},mr=async()=>{try{const f=s.query.id,e=`${Xn.value} ${hn.value}-${tn.value}`;await St({id:f,salary_range:e}),v.salary_range=e,Ko.value=!1,P.success("职位薪资已更新")}catch(f){console.error("更新职位薪资失败:",f),P.error("更新职位薪资失败")}},Mo=L(!1),qn=L(""),gr=()=>{qn.value=v.work_experience_required||"",Mo.value=!0},hr=()=>{Mo.value=!1},yr=async()=>{try{const f=s.query.id;await St({id:f,work_experience_required:qn.value}),v.work_experience_required=qn.value,Mo.value=!1,P.success("工作经验已更新")}catch(f){console.error("更新工作经验失败:",f),P.error("更新工作经验失败")}},No=L(!1),Zn=L(""),br=()=>{Zn.value=v.education_required||"",No.value=!0},Sr=()=>{No.value=!1},Er=async()=>{try{const f=s.query.id;await St({id:f,education_required:Zn.value}),v.education_required=Zn.value,No.value=!1,P.success("学历要求已更新")}catch(f){console.error("更新学历要求失败:",f),P.error("更新学历要求失败")}},Bo=L(!1),_n=L(""),xr=()=>{_n.value=v.department||"",Bo.value=!0},Ir=()=>{Bo.value=!1},Cr=async()=>{try{const f=s.query.id;await St({id:f,department:_n.value.trim()}),v.department=_n.value.trim(),Bo.value=!1,P.success("所属部门已更新")}catch(f){console.error("更新所属部门失败:",f),P.error("更新所属部门失败")}},Fo=L(!1),eo=L(""),wr=()=>{eo.value=v.end_date||"",Fo.value=!0},Ar=()=>{Fo.value=!1},Or=async()=>{try{const f=s.query.id;await St({id:f,end_date:eo.value}),v.end_date=eo.value,Fo.value=!1,P.success("截止日期已更新")}catch(f){console.error("更新截止日期失败:",f),P.error("更新截止日期失败")}},to=L(!1),no=L(""),Tr=()=>{no.value=v.requirements||"",to.value=!0},Dr=()=>{to.value=!1},Pr=async()=>{try{const f=s.query.id;await St({id:f,requirements:no.value}),v.requirements=no.value,to.value=!1,P.success("职位要求已更新")}catch(f){console.error("更新职位要求失败:",f),P.error("更新职位要求失败")}},oo=L(!1),io=L(""),Rr=()=>{io.value=v.description||"",oo.value=!0},Vr=()=>{oo.value=!1},Ur=async()=>{try{const f=s.query.id;await St({id:f,description:io.value}),v.description=io.value,oo.value=!1,P.success("职位描述已更新")}catch(f){console.error("更新职位描述失败:",f),P.error("更新职位描述失败")}},Tn=L(!1),ao=L(0),kr=()=>{ao.value=v.job_type||0,Tn.value=!0},Kr=()=>{Tn.value=!1},Mr=async()=>{try{const f=s.query.id;await St({id:f,job_type:ao.value}),v.job_type=ao.value,Tn.value=!1,P.success("职位性质已更新")}catch(f){console.error("更新职位性质失败:",f),P.error("更新职位性质失败")}},Pt=L([]),jo=L(!1),Dn=L([]),Hi=async()=>{try{const f=await cs({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),P.error("获取能力标签列表失败")}},Nr=async()=>{var f;await Hi(),Dn.value=((f=v.competency_tags)==null?void 0:f.map(e=>e.id))||[],Ke.value.forEach(e=>{e.selected=Dn.value.includes(e.id)}),jo.value=!0},Br=()=>{jo.value=!1},Fr=async()=>{try{const f=s.query.id;await St({id:f,competency_tags:Dn.value}),v.competency_tags=Ke.value.filter(e=>Dn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),jo.value=!1,P.success("能力标签已更新")}catch(f){console.error("更新能力标签失败:",f),P.error("更新能力标签失败")}},jr=L(null),Oe=L(0),ro=L(null),Yi=L(!1),Lo=async f=>{if(f.name==="资料收集"){const e=await Fn(s.query.id);e&&e.data&&(Oe.value=e.data.id,ro.value=JSON.parse(JSON.stringify(j)),console.log(ro.value),Ua(j,e.data.profile_fields_config),Be.value=!0,z.value=!1);return}if(f.name==="AI考察"){if(f.action==="delete"){await Al();return}const e=await Fn(s.query.id);Mn.value=!0,jr.value=f,G.value=!0,q.value=1;try{const C=await ga({position_id:s.query.id,page:1,limit:20});C&&C.data&&C.data.dataList&&(te.value=C.data.dataList.map(U=>(U.content=U.question,U.title=U.question,U.competency_tags=U.competency_tag_info,U.source="ai_generated",U)));const E=await Ei({job_id:s.query.id,page:1,limit:50});if(E&&E.data){const U=E.data.items.filter(re=>re.question_form!==4&&re.question_form!==5).map(re=>(re.content=re.question,re.title=re.question,re.source="selected_application",re.id=re.question_id,re)),ie=new Set(te.value.map(re=>re.content)),$=U.filter(re=>!ie.has(re.content));te.value=[...te.value,...$],console.log("chatQuestions",te.value)}const O=await bs({position_id:s.query.id,page:1,limit:50});if(console.log("existingTags",O),O&&O.data&&O.data.items.length>0)O.data.items.forEach(U=>{U.importance=1,U.selected=!1,v.latest_competency_snapshot&&Array.isArray(v.latest_competency_snapshot)&&(U.selected=v.latest_competency_snapshot.some(ie=>ie.id===U.id))}),Pt.value=O.data.items;else{const U=await va({position_id:s.query.id});if(U&&U.data){U.data.forEach(ie=>{ie.selected=!1}),Pt.value=U.data;try{await Ss({position_id:s.query.id,tags:Pt.value}),P.success("胜任力标签保存成功")}catch(ie){console.error("保存胜任力标签失败:",ie),P.error("胜任力标签保存失败")}}}e&&e.data&&(Oe.value=e.data.id)}catch(C){console.error("获取或生成能力标签失败:",C),P.error("获取或生成能力标签失败")}finally{Mn.value=!1}Object.keys(Y).forEach(C=>{Y[C]=!1})}f.name==="综合素质考察"&&qt({page:1,limit:20}).then(e=>{e.data&&(it.value=e.data.items,dt.page=e.data.page,dt.pageSize=e.data.limit,jt.value=e.data.total,kl(),x.value=!0)}),f.name==="心理测试"&&qt({page:1,limit:30,question_form:4}).then(e=>{e.data&&(at.question_form=4,it.value=e.data.items,dt.page=e.data.page,dt.pageSize=e.data.limit,jt.value=e.data.total,Nl(),Rn.value=!0)})},nn=L(""),Pn=L(""),Lr=L(!1),Qr=async()=>{if(!nn.value.trim()){P.warning("请输入维度名称");return}if(Pt.value.find(e=>e.name===nn.value.trim())){P.warning("该维度名称已存在,请重新输入");return}try{const e=await ms({name:nn.value.trim(),description:Pn.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const C=e.data.id;await gs({tag_ids:[C],position_ids:[t.value]});const E={id:C,name:nn.value.trim(),description:Pn.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Pt.value.push(E),Lr.value,nn.value="",Pn.value="",console.log("添加新维度成功:",E),console.log("当前备选维度列表:",Pt.value)}catch(e){console.error("添加自定义维度失败:",e),P.error("添加自定义维度失败,请重试")}},ot=et({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),pi=L([{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=L(pi.value[0]),Qo=L(""),Gr=f=>{mt.value=f,console.log("选中的面试官信息:",{id:f.id,name:f.name,avatar_url:f.avatar_url||f.image}),Qo.value=f.avatar_url,P.success(`已选择面试官:${f.name}`)},zr=async()=>{const f=te.value.filter(C=>C.source==="ai_generated"),e=te.value.filter(C=>C.source==="custom_selected");if(console.log("AI生成的题目:",f),console.log("自定义选择的题目:",e),f.length>0&&(await hs({draft_ids:f.map(C=>C.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const C={position_id:s.query.id,question_id:{question_id:e},duration:60,tenant_id:Xt.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const E=await Si(C);E&&E.code===2e3?P.success("自定义选择的题目已保存"):P.error("自定义选择的题目保存失败")}},mi=()=>{const f={keepVideo:ot.keepVideo,interruptionMode:ot.interruptionMode,followUpStyle:ot.followUpStyle,smartFollowUp:ot.smartFollowUp};return console.log("当前面试设置:",f),f},lo=(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}},$r=()=>{const f=mi(),e={isValid:!0,messages:[]};return f.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Jr=f=>{l.value=!0,console.log("开始拖拽题目:",f)},Wr=f=>{l.value=!1,console.log("拖拽结束:",f),console.log("当前题目顺序:",te.value),P.success("题目顺序已更新")},Hr=()=>({interviewer:{id:mt.value.id,name:mt.value.name,avatar_url:mt.value.avatar_url||mt.value.image},settings:mi(),questionSettings:{enableScoreQuestions:He.enableScoreQuestions,enableColorBlindQuestions:He.enableColorBlindQuestions},abilities:H.value,questions:te.value,currentStep:q.value}),Yr=async()=>{const f=await fs({page:1,pageSize:1e3});f&&f.data&&(pi.value=f.data)},Xi=(f,e)=>{e?so.value.push({name:f.name,description:f.description||"暂无描述"}):so.value=so.value.filter(C=>C.name!==f.name)},Xr=f=>{fa.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=H.value[f];H.value.splice(f,1),so.value=so.value.filter(E=>E.name!==e.label);const C=Pt.value.find(E=>E.name===e.label);C&&(C.selected=!1),P.success("胜任力标签已删除")}).catch(()=>{})},so=L([]),qr=f=>new Promise(e=>setTimeout(e,f));let Wt=null;const Zr=async(f,e=300,C=2e3)=>{let E=0;Wt={cancelled:!1};const O=Wt;return new Promise((U,ie)=>{const $=async()=>{try{if(O.cancelled){console.log("轮询已被取消"),U(null);return}E++,console.log(`第${E}次轮询获取草稿列表...`);const re=await ga(f);if(O.cancelled){console.log("轮询已被取消"),U(null);return}if(re&&re.data&&re.data.dataList&&re.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Wt=null,U(re);return}if(E>=e){console.log("轮询达到最大次数,停止轮询"),Wt=null,U(re);return}setTimeout($,C)}catch(re){if(console.error(`第${E}次轮询失败:`,re),O.cancelled){console.log("轮询已被取消"),U(null);return}E<e?setTimeout($,C):(Wt=null,ie(re))}};$()})},qi=()=>{Wt&&(Wt.cancelled=!0,Wt=null,console.log("轮询已被手动取消"))},_r=()=>{qi(),pt.value=!1,P.info("已取消AI自动组题")},Rn=L(!1),uo=L(""),it=L([]),kt=L([]),co=L(!1),Go=L({}),Zi=L(!1);L(0);const jt=L(0),at=et({page:1,pageSize:10,keyword:"",question_form:null}),dt=et({page:1,limit:20,keyword:"",question_form:null}),el=async()=>{try{const f={...at,keyword:uo.value,...at.question_form!==null&&{question_form:at.question_form}},e=await qt(f);e&&e.data&&(console.log(e.data),it.value=e.data.items,jt.value=e.data.total)}catch(f){console.error("获取题目列表失败:",f),P.error("获取题目列表失败")}},zo=()=>{at.page=1,el()},tl=f=>{kt.value=f},nl=()=>{Rn.value=!1,kt.value=[],uo.value=""},ol=async()=>{if(kt.value.length===0){P.warning("请至少选择一个题目");return}try{const f=kt.value.map(C=>C.id);if(f.length==0)return;await Si({position_id:s.query.id,question_id:f,duration:60,tenant_id:Xt.get("tenant_id")});const e=kt.value.map(C=>({id:C.id,title:C.question||C.title,ability:C.ability||"未设置",content:C.content||C.question,target:C.target||"未设置",competency_tags:C.competency_tags||[],question_form_name:C.question_form_name,scoring_reference:C.scoring_reference,question_form:C.question_form,is_required_correct:C.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:C.options||[],source:"custom_selected"}));te.value.push(...e),Rn.value=!1,kt.value=[],uo.value="",P.success("题目添加成功"),Ro()}catch(f){console.error("添加题目失败:",f),Rn.value=!1,f.code===4e3?P.warning("该题目已绑定,请选择其他题目"):P.error("添加题目失败,请重试")}},_i={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_salary:{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=et(()=>{const f=i(s.query.id);return f?(console.log("从缓存加载字段配置"),f):(console.log("使用默认字段配置"),JSON.parse(JSON.stringify(_i)))})(),il=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_salary:{required:j.work_experience.fields.monthly_salary.required,visible:j.work_experience.fields.monthly_salary.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};Oe.value==0||(f.id=Oe.value),Oe.value==0?(await go(f)).code==2e3?(P.success("配置保存成功"),o(j,s.query.id),Be.value=!1,z.value=!1):P.error("配置保存失败"):(await ht(f)).code==2e3?(P.success("配置保存成功"),o(j,s.query.id),Be.value=!1,z.value=!1):P.error("配置保存失败")}catch(f){console.error("保存配置失败:",f),P.error("配置保存失败")}},al=()=>({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}),rl=()=>({skills:j.require_professional_skills,training:j.training_fields_config}),Vn=L(!1),we=et({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Un=L(!1),fo=L(!1),vo=L(!1),on=L(""),kn=L(""),Kn=L(""),ll=()=>{an.value&&Object.keys(an.value).length>0&&(Object.assign(we,an.value),console.log("已恢复原始配置:",an.value)),Vn.value=!1,Un.value=!1,fo.value=!1,vo.value=!1,an.value={},Ro()},sl=async()=>{let f;f=await ht({id:Oe.value,enable_emotion_analysis:we.positionDetection}),f.code==2e3||P.error("配置保存失败")},dl=()=>{sl(),P.success("面试设置已保存");const f=s.query.id,e=`reviewInterview_${f}`;sessionStorage.setItem(e,String(we.reviewInterview)),console.log(`职位 ${f} 的 reviewInterview 已保存:`,we.reviewInterview),Vn.value=!1,an.value={}},an=L({}),ul=async()=>{var f;try{const e=await Fn(s.query.id);if(e&&e.data)Ho(()=>{an.value={...we};const C=s.query.id,E=`reviewInterview_${C}`,O=sessionStorage.getItem(E);we.reviewInterview=O==="true",console.log(`职位 ${C} 的 reviewInterview 配置:`,O,"转换后:",we.reviewInterview)}),Vn.value=!0,Oe.value=e.data.id,we.beforeStartText=e.data.digital_human_opening_speech;else if(e&&e.code===2e3&&e.message==="该职位暂无配置")try{const C=await go({position_id:s.query.id,enable_psychological_test:!1,enable_color_blind_test:!1,digital_human_id:null,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。"});C&&C.code===2e3?(Oe.value=((f=C.data)==null?void 0:f.id)||C.data,P.success("已自动创建职位配置"),Ho(()=>{an.value={...we};const E=s.query.id,O=`reviewInterview_${E}`,U=sessionStorage.getItem(O);we.reviewInterview=U==="true",console.log(`职位 ${E} 的 reviewInterview 配置:`,U,"转换后:",we.reviewInterview)}),Vn.value=!0,we.beforeStartText="你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。"):P.warning("自动创建配置失败,请手动创建")}catch(C){console.error("自动创建配置失败:",C),P.warning("自动创建配置失败,请手动创建")}}catch(e){console.error("获取配置失败:",e),P.error("获取配置失败")}},cl=()=>{on.value=we.beforeStartText,Un.value=!0},fl=()=>{Un.value=!1,on.value=""},vl=async()=>{var f;if(!on.value.trim()){P.warning("开始前提示内容不能为空");return}we.beforeStartText=on.value.trim();try{let e;if(console.log(Oe.value),Oe.value==0)e=await go({position_id:s.query.id,digital_human_opening_speech:on.value.trim()}),e.code===2e3?(Oe.value=((f=e.data)==null?void 0:f.id)||e.data,P.success("开场词提示内容已创建"),Un.value=!1):P.error("开场词提示内容创建失败");else if(e=await ht({id:Oe.value,digital_human_opening_speech:on.value.trim()}),e.code===2e3){P.success("开场词提示内容已更新"),Un.value=!1;try{const C={config_id:Oe.value};await xi(C),console.log("开场词生成成功")}catch(C){console.error("获取开场词失败:",C),P.warning("开场词生成中,请稍后")}}else P.error("开场词提示内容更新失败")}catch(e){console.error("保存开场词提示内容失败:",e),P.error("保存失败,请重试")}},pl=()=>{kn.value=we.afterStartText,fo.value=!0},ml=()=>{fo.value=!1,kn.value=""},gl=()=>{if(!kn.value.trim()){P.warning("开始后提醒内容不能为空");return}we.afterStartText=kn.value.trim(),fo.value=!1,P.success("开始后提醒内容已更新")},hl=()=>{Kn.value=we.disclaimerText,vo.value=!0},yl=()=>{vo.value=!1,Kn.value="",Ro()},bl=()=>{if(!Kn.value.trim()){P.warning("内容不能为空");return}we.disclaimerText=Kn.value.trim(),vo.value=!1,P.success("内容已更新")},yn=et({openQuestionsCount:5,choiceQuestionsCount:10}),ea=()=>{console.log("题目数量已更新:",yn)},ta=async()=>{try{pt.value=!0;const f=H.value.map(E=>E.id);if(f.length===0){P.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:Xt.get("tenant_id")},C=await ys(e);if(C&&C.data){const E=await Zr({tenant_id:Xt.get("tenant_id"),page:1,limit:30,position_id:s.query.id});if(console.log(E),E===null){console.log("轮询被取消,停止处理");return}if(E&&E.data&&E.data.dataList){const O=E.data.dataList.map(U=>({id:U.id||Date.now(),title:U.question||U.title,ability:U.ability||"未设置",content:U.content||U.question,target:U.target||"未设置",competency_tags:U.competency_tag_info||[],question_form_name:U.question_form_name,scoring_reference:U.scoring_reference,question_form:U.question_form,is_required_correct:U.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:U.options||[],source:"ai_generated"}));te.value=O,P.success(`已成功生成${O.length}个面试题目`)}else P.warning("AI生成题目中,请稍后再试")}}catch(f){console.error("AI自动组题失败:",f),P.error("AI自动组题失败,请重试")}finally{pt.value=!1}},Sl=f=>{if(Z.competency_tags=[],f.length>0){const e=Math.floor(100/f.length),C=100%f.length;Z.competency_tags=f.map((E,O)=>{const U=Ke.value.find(ie=>ie.id===E);return{id:E,name:U?U.name:`标签${E}`,weight:e+(O<C?1:0)}})}},El=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}},Mn=L(!1),Nn=L(!1),po=L(-1),Ue=et({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),xl=(f,e)=>{po.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=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),Nn.value=!0},Il=(f,e)=>{switch(f.type){case"ai_video":Lo(f);break;case"candidate_questions":xl(f,e);break;case"data_collection":Lo(f);break;case"resume_collection":Lo(f);break;default:Lo(f);break}},Cl=(f,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const C=Z.competency_tags;C[f].weight;const E=Math.round(e);if(C[f].weight=E,C.length===1){C[0].weight=100;return}const O=C.filter((ie,$)=>$!==f),U=O.reduce((ie,$)=>ie+$.weight,0);if(U===0){const ie=100-E,$=Math.floor(ie/O.length),re=ie%O.length;O.forEach((rt,Rt)=>{const Lt=C.findIndex(Qt=>Qt.id===rt.id);C[Lt].weight=$+(Rt<re?1:0)})}else{const ie=100-E;if(ie>0){O.forEach(re=>{const rt=C.findIndex(Lt=>Lt.id===re.id),Rt=re.weight/U;C[rt].weight=Math.round(ie*Rt)});const $=gi();if($!==100){const re=100-$,rt=O.reduce((Lt,Qt)=>Qt.weight>Lt.weight?Qt:Lt),Rt=C.findIndex(Lt=>Lt.id===rt.id);C[Rt].weight+=re}}else O.forEach($=>{const re=C.findIndex(rt=>rt.id===$.id);C[re].weight=0})}},gi=()=>Z.competency_tags.reduce((e,C)=>e+(C.weight||0),0),wl=()=>{const f=Z.competency_tags;if(f.length===0)return;const e=Math.floor(100/f.length),C=100%f.length;f.forEach((E,O)=>{E.weight=e+(O<C?1:0)})},na=yi({get:()=>We(Z.competency_tags),set:f=>{Z.competency_tags=f,Sl(f)}}),Al=async()=>{try{const f=await Es({position_id:s.query.id,tenant_id:Xt.get("tenant_id"),is_ai_generated:!0});f&&f.data&&f.data.length>0&&(await xs({position_id:s.query.id,question_id:f.data.map(e=>e.id),tenant_id:Xt.get("tenant_id")}),Oe.value>0&&await ht({id:Oe.value,enable_ai_questions:!1}),P.success("AI考察问题已删除"))}catch(f){console.error("删除AI考察问题失败:",f),P.error("删除AI考察问题失败")}};sa(()=>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}),sa(j,f=>{Yi.value&&(d.value&&clearTimeout(d.value),d.value=setTimeout(()=>{o(f,s.query.id),console.log("字段配置已自动保存到本地缓存")},1e3))},{deep:!0}),L(!1),L(!1);const Ol=L(!1),$o=L(!1),rn=L({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),Tl=()=>{$o.value=!1},Dl=async()=>{try{await saveProcessConfig({position_id:s.params.id,process_type:"posture_check",config:rn.value}),P.success("配置保存成功"),$o.value=!1}catch(f){console.error("保存肢体检测配置失败:",f),P.error("配置保存失败")}},oa=L([]),Pl=L(),Rl=f=>{console.log(f);const{firstLevel:e,secondLevel:C,currentNode:E}=f;C?qt({page:1,limit:20,question_tags:C.id.replace("tag_",""),question_form:at.question_form}).then(O=>{O.data&&(it.value=O.data.items,dt.page=O.data.page,dt.pageSize=O.data.limit,jt.value=O.data.total)}):e&&qt({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:at.question_form}).then(O=>{O.data&&(it.value=O.data.items,dt.page=O.data.page,dt.pageSize=O.data.limit,jt.value=O.data.total)})},Vl=f=>{console.log(f)},Ul=f=>{console.log(f)},kl=()=>{ha({page:1,limit:100}).then(f=>{console.log("ret",f),f.data,ya({page:1,limit:100}).then(e=>{console.log("res",e);const C=e.data.items.filter(E=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","心理测试1","心理测试"].includes(E.name));ba({}).then(E=>{console.log("res",E);const O=E.data.items,U=[...C.map(ie=>({id:`category_${ie.id}`,title:ie.name,children:O.filter($=>$.category_id===ie.id).map($=>({id:`tag_${$.id}`,title:$.name,chinese_explanation:$.chinese_explanation||""}))}))];oa.value=U})})})},ia=L([]),Kl={children:"children",label:"title"},Ml=async f=>{try{if(f.id.startsWith("category_")){const e=f.id.replace("category_",""),C=await qt({page:1,limit:1e3,question_category:e,question_form:at.question_form});if(C&&C.data){it.value=C.data.items,dt.page=C.data.page,dt.pageSize=C.data.limit,jt.value=C.data.total;const E=document.querySelector(".el-table__header-wrapper");if(E){const O=E.querySelector(".el-checkbox");O&&O.__vueParentComponent.emit("change",!0)}kt.value=C.data.items}}else if(f.id.startsWith("tag_")){const e=f.id.replace("tag_",""),C=await qt({page:1,limit:1e3,question_tags:e,question_form:at.question_form});if(C&&C.data){it.value=C.data.items,dt.page=C.data.page,dt.pageSize=C.data.limit,jt.value=C.data.total;const E=document.querySelector(".el-table__header-wrapper");if(E){const O=E.querySelector(".el-checkbox");O&&O.__vueParentComponent.emit("change",!0)}kt.value=C.data.items}}}catch(e){console.error("获取题目列表失败:",e),P.error("获取题目列表失败")}},Nl=()=>{ha({page:1,limit:100}).then(f=>{console.log("ret",f),f.data,ya({page:1,limit:100}).then(e=>{console.log("res",e);const C=e.data.items.filter(E=>["心理测试"].includes(E.name));ba({}).then(E=>{console.log("res",E);const O=E.data.items,U=[...C.map(ie=>({id:`category_${ie.id}`,title:ie.name,children:O.filter($=>$.category_id===ie.id).map($=>({id:`tag_${$.id}`,title:$.name,chinese_explanation:$.chinese_explanation||""}))}))];ia.value=U})})})};return(f,e)=>{const C=Pe("page-header"),E=Pe("el-button"),O=Pe("el-icon"),U=Pe("el-input"),ie=Pe("el-cascader"),$=Pe("el-option"),re=Pe("el-select"),rt=Pe("el-input-number"),Rt=Pe("el-tag"),Lt=Pe("el-date-picker"),Qt=Pe("el-card"),gt=Pe("el-switch"),wt=Pe("el-dialog"),Ht=Pe("el-checkbox"),Bl=Pe("Refresh"),mo=Pe("el-radio"),aa=Pe("el-upload"),Bn=Pe("el-tooltip"),Fl=Pe("Folder"),jl=Pe("el-tree"),Gt=Pe("el-col"),Yt=Pe("el-row"),Ll=Pe("el-radio-group"),Jo=Pe("el-table-column"),ra=Pe("el-table"),Ql=Pe("el-pagination"),hi=Pe("el-form-item"),Gl=Pe("el-checkbox-group"),zl=Pe("el-form"),la=ql("loading");return M(),X("div",vd,[r("div",pd,[p(C,{title:"测试",onBack:Cn}),r("div",md,[p(E,{type:"primary",onClick:Jn},{default:y(()=>e[93]||(e[93]=[k("保存")])),_:1})])]),r("div",gd,[p(Qt,{class:"detail-card"},{default:y(()=>[e[129]||(e[129]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位详情")],-1)),r("div",hd,[e[96]||(e[96]=r("div",{class:"detail-label"},"职位名称",-1)),Vo.value?(M(),X("div",bd,[p(U,{modelValue:An.value,"onUpdate:modelValue":e[0]||(e[0]=g=>An.value=g),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),r("div",Sd,[p(E,{size:"small",onClick:ar},{default:y(()=>e[94]||(e[94]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:rr},{default:y(()=>e[95]||(e[95]=[k("保存")])),_:1})])])):(M(),X("div",yd,[k(le(v.title)+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:ir},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))]),r("div",Ed,[e[99]||(e[99]=r("div",{class:"detail-label"},"工作地点",-1)),ko.value?(M(),X("div",Id,[p(ie,{modelValue:Jt.value,"onUpdate:modelValue":e[1]||(e[1]=g=>Jt.value=g),options:ve(V),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:F},null,8,["modelValue","options"]),r("div",Cd,[p(E,{size:"small",onClick:cr},{default:y(()=>e[97]||(e[97]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:fr},{default:y(()=>e[98]||(e[98]=[k("保存")])),_:1})])])):(M(),X("div",xd,[k(le((()=>{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(de=>de.trim()).join(",")}catch{return v.location}return v.location})())+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:ur},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))]),r("div",wd,[e[102]||(e[102]=r("div",{class:"detail-label"},"详细地址",-1)),Uo.value?(M(),X("div",Od,[p(U,{modelValue:On.value,"onUpdate:modelValue":e[2]||(e[2]=g=>On.value=g),placeholder:"请输入详细地址",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),r("div",Td,[p(E,{size:"small",onClick:sr},{default:y(()=>e[100]||(e[100]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:dr},{default:y(()=>e[101]||(e[101]=[k("保存")])),_:1})])])):(M(),X("div",Ad,[k(le(v.detailed_address||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:lr},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))]),r("div",Dd,[e[106]||(e[106]=r("div",{class:"detail-label"},"职位薪资",-1)),Ko.value?(M(),X("div",Rd,[r("div",Vd,[p(re,{modelValue:Xn.value,"onUpdate:modelValue":e[3]||(e[3]=g=>Xn.value=g),placeholder:"薪资类型",class:"salary-type-select",onChange:vi},{default:y(()=>[p($,{label:"月薪",value:"月薪"}),p($,{label:"年薪",value:"年薪"}),p($,{label:"日薪",value:"日薪"}),p($,{label:"时薪",value:"时薪"})]),_:1},8,["modelValue"]),p(rt,{modelValue:hn.value,"onUpdate:modelValue":e[4]||(e[4]=g=>hn.value=g),placeholder:"起始薪资",class:"salary-input",type:"number","controls-position":"right",min:"0",onInput:vi},null,8,["modelValue"]),e[103]||(e[103]=r("span",{class:"salary-separator"},"-",-1)),p(rt,{modelValue:tn.value,"onUpdate:modelValue":e[5]||(e[5]=g=>tn.value=g),placeholder:"最高薪资",class:"salary-input","controls-position":"right",type:"number",min:"0",onInput:vi},null,8,["modelValue"])]),r("div",Ud,[p(E,{size:"small",onClick:pr},{default:y(()=>e[104]||(e[104]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:mr},{default:y(()=>e[105]||(e[105]=[k("保存")])),_:1})])])):(M(),X("div",Pd,[k(le(v.salary_range||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:vr},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))]),r("div",kd,[e[109]||(e[109]=r("div",{class:"detail-label"},"工作经验",-1)),Mo.value?(M(),X("div",Md,[p(re,{modelValue:qn.value,"onUpdate:modelValue":e[6]||(e[6]=g=>qn.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",Nd,[p(E,{size:"small",onClick:hr},{default:y(()=>e[107]||(e[107]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:yr},{default:y(()=>e[108]||(e[108]=[k("保存")])),_:1})])])):(M(),X("div",Kd,[k(le(v.work_experience_required||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:gr},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))]),r("div",Bd,[e[112]||(e[112]=r("div",{class:"detail-label"},"学历要求",-1)),No.value?(M(),X("div",jd,[p(re,{modelValue:Zn.value,"onUpdate:modelValue":e[7]||(e[7]=g=>Zn.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",Ld,[p(E,{size:"small",onClick:Sr},{default:y(()=>e[110]||(e[110]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Er},{default:y(()=>e[111]||(e[111]=[k("保存")])),_:1})])])):(M(),X("div",Fd,[k(le(v.education_required||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:br},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))]),r("div",Qd,[e[115]||(e[115]=r("div",{class:"detail-label"},"所属部门",-1)),Bo.value?(M(),X("div",zd,[p(U,{modelValue:_n.value,"onUpdate:modelValue":e[8]||(e[8]=g=>_n.value=g),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),r("div",$d,[p(E,{size:"small",onClick:Ir},{default:y(()=>e[113]||(e[113]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Cr},{default:y(()=>e[114]||(e[114]=[k("保存")])),_:1})])])):(M(),X("div",Gd,[k(le(v.department||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:xr},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))]),r("div",Jd,[e[116]||(e[116]=r("div",{class:"detail-label"},"职位状态",-1)),r("div",Wd,[p(Rt,{type:vn(v.status)},{default:y(()=>[k(le(fn(v.status)),1)]),_:1},8,["type"])])]),r("div",Hd,[e[119]||(e[119]=r("div",{class:"detail-label"},"截止日期",-1)),Fo.value?(M(),X("div",Xd,[p(Lt,{modelValue:eo.value,"onUpdate:modelValue":e[9]||(e[9]=g=>eo.value=g),type:"datetime",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),r("div",qd,[p(E,{size:"small",onClick:Ar},{default:y(()=>e[117]||(e[117]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Or},{default:y(()=>e[118]||(e[118]=[k("保存")])),_:1})])])):(M(),X("div",Yd,[k(le(v.end_date||"暂无")+" ",1),p(E,{type:"text",class:"edit-title-btn",onClick:wr},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))]),r("div",Zd,[e[122]||(e[122]=r("div",{class:"detail-label"},"职位要求",-1)),to.value?Te("",!0):(M(),X("div",{key:0,class:"detail-value html-content",innerHTML:v.requirements},null,8,_d)),to.value?(M(),X("div",eu,[p(U,{modelValue:no.value,"onUpdate:modelValue":e[10]||(e[10]=g=>no.value=g),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",tu,[p(E,{size:"small",onClick:Dr},{default:y(()=>e[120]||(e[120]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Pr},{default:y(()=>e[121]||(e[121]=[k("保存")])),_:1})])])):(M(),De(E,{key:1,type:"text",class:"edit-title-btn",onClick:Tr},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1}))]),e[130]||(e[130]=r("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),r("div",nu,[e[125]||(e[125]=r("div",{class:"detail-label"},"职位描述",-1)),oo.value?Te("",!0):(M(),X("div",{key:0,class:"detail-value html-content",innerHTML:v.description},null,8,ou)),oo.value?(M(),X("div",iu,[p(U,{modelValue:io.value,"onUpdate:modelValue":e[11]||(e[11]=g=>io.value=g),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),r("div",au,[p(E,{size:"small",onClick:Vr},{default:y(()=>e[123]||(e[123]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Ur},{default:y(()=>e[124]||(e[124]=[k("保存")])),_:1})])])):(M(),De(E,{key:1,type:"text",class:"edit-title-btn",onClick:Rr},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1}))]),r("div",ru,[e[128]||(e[128]=r("div",{class:"detail-label"},"能力标签",-1)),jo.value?(M(),X("div",su,[p(re,{modelValue:Dn.value,"onUpdate:modelValue":e[12]||(e[12]=g=>Dn.value=g),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(M(!0),X(qe,null,Ze(Ke.value,g=>(M(),De($,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),r("div",du,[p(E,{size:"small",onClick:Br},{default:y(()=>e[126]||(e[126]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Fr},{default:y(()=>e[127]||(e[127]=[k("保存")])),_:1})])])):(M(),X("div",lu,[(M(!0),X(qe,null,Ze(v.competency_tags,g=>(M(),De(Rt,{key:g.id,effect:"plain",class:"competency-tag"},{default:y(()=>[k(le(g.name),1)]),_:2},1024))),128)),p(E,{type:"text",class:"edit-title-btn",onClick:Nr},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))])]),_:1}),r("div",uu,[p(Qt,{class:"status-card"},{default:y(()=>[e[131]||(e[131]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"职位状态")],-1)),r("div",cu,[p(gt,{modelValue:a.value,"onUpdate:modelValue":e[13]||(e[13]=g=>a.value=g),"inactive-text":"",onChange:Ct},null,8,["modelValue"]),r("span",fu,le(a.value?"已启用":"待启用"),1)])]),_:1}),p(Qt,{class:"status-card"},{default:y(()=>[r("div",vu,[e[133]||(e[133]=r("div",{class:"section-line"},null,-1)),e[134]||(e[134]=r("span",null,"职位性质",-1)),Tn.value?Te("",!0):(M(),De(E,{key:0,type:"text",class:"edit-btn",onClick:kr},{default:y(()=>e[132]||(e[132]=[k("编辑")])),_:1}))]),r("div",pu,[Tn.value?Te("",!0):(M(),X("div",mu,le(pn(v.job_type)),1)),Tn.value?(M(),X("div",gu,[p(re,{modelValue:ao.value,"onUpdate:modelValue":e[14]||(e[14]=g=>ao.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",hu,[p(E,{size:"small",onClick:Kr},{default:y(()=>e[135]||(e[135]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:Mr},{default:y(()=>e[136]||(e[136]=[k("保存")])),_:1})])])):Te("",!0)])]),_:1}),p(Qt,{class:"status-card"},{default:y(()=>[r("div",yu,[e[138]||(e[138]=r("div",{class:"section-line"},null,-1)),e[139]||(e[139]=r("span",null,"招聘流程",-1)),p(E,{type:"text",class:"edit-btn",onClick:Ft},{default:y(()=>e[137]||(e[137]=[k("设置流程")])),_:1})]),r("div",bu,[(M(!0),X(qe,null,Ze(m,(g,de)=>Wo((M(),X("div",{key:g.id,class:At(["process-step",{disabled:!g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(M(),X("div",Su,le(c(de)),1)):Te("",!0),r("div",Eu,[r("div",xu,le(g.name),1)])],2)),[[da,g.visible]])),128))])]),_:1}),p(Qt,{class:"status-card"},{default:y(()=>[r("div",Iu,[e[141]||(e[141]=r("div",{class:"section-line"},null,-1)),e[142]||(e[142]=r("span",null,"面试设置",-1)),p(E,{type:"text",class:"edit-btn",onClick:ul},{default:y(()=>e[140]||(e[140]=[k("编辑")])),_:1})])]),_:1})])]),p(wt,{title:"设置招聘流程",modelValue:h.value,"onUpdate:modelValue":e[17]||(e[17]=g=>h.value=g),width:"500px","close-on-click-modal":!1},{footer:y(()=>[r("span",Pu,[p(E,{onClick:un},{default:y(()=>e[146]||(e[146]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:en},{default:y(()=>e[147]||(e[147]=[k("确定")])),_:1})])]),default:y(()=>[r("div",Cu,[(M(!0),X(qe,null,Ze(m,(g,de)=>Wo((M(),X("div",{key:g.id},[de<m.length-1?(M(),X("div",wu,[p(E,{type:"text",onClick:Ce=>mn(de,Ce)},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(bn))]),_:1})]),_:2},1032,["onClick"])])):Te("",!0),r("div",{class:At(["process-edit-item",{highlight:g.active}])},[g.name!="已通过"&&g.name!="已淘汰"?(M(),X("div",Au,le(c(de)),1)):Te("",!0),r("div",Ou,[r("div",null,le(g.name),1)]),g.name!="已通过"&&g.name!="已淘汰"?(M(),X("div",Tu,[g.name!="简历收集"&&g.name!="肢体检测"?(M(),De(E,{key:0,type:"info",size:"small",plain:"",onClick:Ce=>Il(g,de)},{default:y(()=>e[143]||(e[143]=[k(" 修改 ")])),_:2},1032,["onClick"])):Te("",!0),g.name!="资料收集"&&g.name!="AI考察"?(M(),De(E,{key:1,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ce=>cn(g,de)},{default:y(()=>e[144]||(e[144]=[k(" 删除 ")])),_:2},1032,["onClick"])):Te("",!0)])):Te("",!0)],2)])),[[da,g.visible]])),128)),e[145]||(e[145]=r("div",{class:"add-process-btn"},null,-1))]),z.value?(M(),X("div",{key:0,class:"process-options-menu",style:_l({top:fe.top,left:fe.left}),onClick:e[16]||(e[16]=Zl(()=>{},["stop"]))},[r("div",{class:"close-btn",onClick:e[15]||(e[15]=g=>z.value=!1)},[p(O,null,{default:y(()=>[p(ve(ss))]),_:1})]),(M(),X(qe,null,Ze(b,g=>r("div",{key:g.value,class:"process-option-item",onClick:de=>A(g.value,g.label)},le(g.label),9,Du)),64))],4)):Te("",!0)]),_:1},8,["modelValue"]),p(ve(bi),{title:"AI考察",modelValue:G.value,"onUpdate:modelValue":e[36]||(e[36]=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",Hc,[q.value>1?(M(),De(E,{key:0,size:"small",onClick:R},{default:y(()=>e[188]||(e[188]=[k("上一步")])),_:1})):Te("",!0),p(E,{onClick:ee,size:"small"},{default:y(()=>e[189]||(e[189]=[k("取消")])),_:1}),q.value<3?(M(),De(E,{key:1,type:"primary",size:"small",onClick:w,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[190]||(e[190]=[k("下一步")])),_:1})):(M(),De(E,{key:2,type:"success",onClick:Q,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[191]||(e[191]=[k("新增")])),_:1}))])]),default:y(()=>[r("div",Ru,[r("div",{class:At(["step-item",{active:q.value===1}]),onClick:e[18]||(e[18]=g=>ce(1))},[e[148]||(e[148]=r("div",{class:"step-number"},"1",-1)),r("div",{class:At(["step-title",{"active-title":q.value===1}])},"考察能力",2)],2),r("div",{class:At(["step-line",{"active-line":q.value>=2}])},null,2),r("div",{class:At(["step-item",{active:q.value===2}]),onClick:e[19]||(e[19]=g=>ce(2))},[e[149]||(e[149]=r("div",{class:"step-number"},"2",-1)),r("div",{class:At(["step-title",{"active-title":q.value===2}])},"面试题目",2)],2),r("div",{class:At(["step-line",{"active-line":q.value>=3}])},null,2),r("div",{class:At(["step-item",{active:q.value===3}]),onClick:e[20]||(e[20]=g=>ce(3))},[e[150]||(e[150]=r("div",{class:"step-number"},"3",-1)),r("div",{class:At(["step-title",{"active-title":q.value===3}])},"系统设置",2)],2)]),q.value===1?Wo((M(),X("div",Vu,[r("div",Uu,[e[157]||(e[157]=r("div",{class:"ai-video-options-header"},[r("div",{class:"ai-video-options-header-title"},[r("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),r("div",ku,[r("div",Ku,[(M(!0),X(qe,null,Ze(Pt.value.slice(0,10),g=>(M(),De(Ht,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":de=>g.selected=de,onChange:de=>Xi(g,de),class:"custom-checkbox"},{default:y(()=>[r("div",Mu,[r("span",null,le(g.name),1),e[151]||(e[151]=r("img",{src:Sa,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",Nu,[r("div",Bu,[e[153]||(e[153]=r("h3",{style:{color:"#808080"}},"备选考核维度",-1)),r("div",Fu,[p(E,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:B},{default:y(()=>e[152]||(e[152]=[k("重新生成")])),_:1})])]),r("div",ju,[(M(!0),X(qe,null,Ze(Pt.value.slice(10,50),g=>(M(),De(Ht,{key:g.id,modelValue:g.selected,"onUpdate:modelValue":de=>g.selected=de,onChange:de=>Xi(g,de),class:"custom-checkbox"},{default:y(()=>[r("div",Lu,[r("span",null,le(g.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),r("div",Qu,[e[156]||(e[156]=r("h3",{style:{color:"#808080"}},"自定义维度",-1)),r("div",Gu,[r("div",zu,[r("div",$u,[p(U,{style:{width:"150px"},modelValue:nn.value,"onUpdate:modelValue":e[21]||(e[21]=g=>nn.value=g),placeholder:"请输入维度名称"},null,8,["modelValue"])]),r("div",Ju,[e[154]||(e[154]=r("div",{class:"input-label"},"特征描述:",-1)),p(U,{modelValue:Pn.value,"onUpdate:modelValue":e[22]||(e[22]=g=>Pn.value=g),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),r("div",Wu,[p(E,{type:"primary",onClick:Qr},{default:y(()=>e[155]||(e[155]=[k("添加")])),_:1})])])])])])),[[la,Mn.value]]):Te("",!0),q.value===2?(M(),X("div",Hu,[r("div",Yu,[r("div",Xu,[r("div",qu,[p(E,{plain:"",class:"custom-btn",onClick:gn},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(bn))]),_:1}),e[158]||(e[158]=k(" 自定义题目 "))]),_:1}),p(E,{plain:"",class:"custom-btn"},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ua))]),_:1}),e[159]||(e[159]=k(" 导入题目 "))]),_:1}),te.value.length>0?(M(),De(E,{key:0,type:"primary",plain:"",class:"custom-btn",loading:pt.value,onClick:ta},{default:y(()=>[p(O,null,{default:y(()=>[p(Bl)]),_:1}),e[160]||(e[160]=k(" 重新生成 "))]),_:1},8,["loading"])):Te("",!0),r("div",Zu,[r("div",_u,[e[161]||(e[161]=r("span",{class:"switch-label"},"开放题数量",-1)),p(rt,{modelValue:yn.openQuestionsCount,"onUpdate:modelValue":e[23]||(e[23]=g=>yn.openQuestionsCount=g),min:1,max:10,size:"small",onChange:ea},null,8,["modelValue"])]),r("div",ec,[e[162]||(e[162]=r("span",{class:"switch-label"},"选择题数量",-1)),p(rt,{modelValue:yn.choiceQuestionsCount,"onUpdate:modelValue":e[24]||(e[24]=g=>yn.choiceQuestionsCount=g),min:1,max:20,size:"small",onChange:ea},null,8,["modelValue"])])])]),r("div",tc,[e[163]||(e[163]=r("span",null,"预计面试时长: ",-1)),r("span",nc,le(Wn.value),1),e[164]||(e[164]=r("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),r("div",oc,[Wo((M(),X("div",ic,[te.value.length===0?(M(),X("div",ac,[e[167]||(e[167]=r("p",null,"暂无题目",-1)),e[168]||(e[168]=r("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[169]||(e[169]=r("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),p(E,{type:"success",class:"auto-generate-btn",loading:pt.value,onClick:ta},{default:y(()=>e[165]||(e[165]=[k(" AI自动组题 ")])),_:1},8,["loading"]),pt.value&&ve(Wt)?(M(),De(E,{key:0,type:"warning",plain:"",size:"small",onClick:_r,style:{"margin-left":"10px"}},{default:y(()=>e[166]||(e[166]=[k(" 取消生成 ")])),_:1})):Te("",!0)])):(M(),X("div",rc,[p(ve(Va),{modelValue:te.value,"onUpdate:modelValue":e[25]||(e[25]=g=>te.value=g),"item-key":"id",handle:".drag-handle",onStart:Jr,onEnd:Wr,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:g})=>[r("div",lc,[e[173]||(e[173]=r("div",{class:"drag-handle"},[r("img",{src:Ts,alt:"",class:"dorp"})],-1)),r("div",sc,[r("div",dc,[r("div",uc,[r("div",cc,[r("span",fc,"题目"+le(te.value.indexOf(g)+1),1),r("span",null,[r("span",vc,le("「"+g.question_form_name+"」"),1),k(le(g.title),1)])]),r("div",pc,[(M(!0),X(qe,null,Ze((g.competency_tag_info||g.competency_tags||[]).slice(0,2),(de,Ce)=>(M(),De(Rt,{key:de.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[k(le(S(de)),1)]),_:2},1024))),128)),(g.competency_tag_info||g.competency_tags||[]).length>2?(M(),X("span",mc," +"+le((g.competency_tag_info||g.competency_tags||[]).length-2),1)):Te("",!0)])])]),r("div",gc,[p(E,{type:"text",onClick:de=>zi(te.value.indexOf(g))},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:2},1032,["onClick"]),p(E,{type:"text",onClick:de=>$i(te.value.indexOf(g))},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ca))]),_:1})]),_:2},1032,["onClick"])])]),r("div",hc,[r("div",yc,[r("span",null,le(g.scoring_reference),1)])]),g.question_form==0?(M(),X("div",bc,[r("div",Sc,[p(gt,{style:{"margin-top":"0px"},modelValue:g.enable_follow_up,"onUpdate:modelValue":de=>g.enable_follow_up=de,onChange:se},null,8,["modelValue","onUpdate:modelValue"]),e[170]||(e[170]=r("span",{class:"answer-label"},"回答不充分追问",-1))]),r("div",Ec,[e[171]||(e[171]=r("span",{class:"answer-label"},"追问轮数",-1)),p(re,{modelValue:g.maxAnswers,"onUpdate:modelValue":de=>g.maxAnswers=de,size:"small",placeholder:"请选择"},{default:y(()=>[p($,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Te("",!0),g.question_form==1?(M(),X("div",xc,[r("div",Ic,[e[172]||(e[172]=r("span",{class:"answer-label"},"是否为红线题:",-1)),p(re,{modelValue:g.is_required_correct,"onUpdate:modelValue":de=>g.is_required_correct=de,disabled:!0,onChange:de=>N(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"])]))])),[[la,pt.value]]),r("div",Cc,[e[176]||(e[176]=r("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),r("div",wc,[(M(!0),X(qe,null,Ze(H.value,(g,de)=>(M(),X("div",{key:g.value,class:"dimension-item"},[r("div",Ac,[r("div",Oc,[r("span",Tc,le(g.label),1),e[174]||(e[174]=r("img",{src:Sa,alt:"",class:"sheng"},null,-1))])]),r("div",{class:"dimension-content",onClick:Ce=>Xr(de),title:"点击删除此胜任力标签"},e[175]||(e[175]=[r("div",{class:"ability-description"},le("—"),-1)]),8,Dc)]))),128))])])])])])):Te("",!0),q.value===3?(M(),X("div",Pc,[r("div",Rc,[r("div",Vc,[e[187]||(e[187]=r("div",{class:"section-header"},"请选择面试官形象",-1)),r("div",Uc,[r("div",kc,[Qo.value?(M(),X("img",{key:0,src:Qo.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,Kc)):Te("",!0)]),r("div",null,[r("div",Mc,[(M(!0),X(qe,null,Ze(pi.value,g=>(M(),X("div",{key:g.id,class:At(["avatar-item",{active:mt.value.id===g.id}]),onClick:de=>Gr(g)},[r("div",Bc,[r("div",{class:At(["avatar-circle",{selected:mt.value.id===g.id}])},[r("img",{src:g.avatar_url||g.image,alt:g.name},null,8,Fc)],2),r("div",{class:"avatar-name",title:g.name},le(g.name),9,jc)])],10,Nc))),128))]),r("div",Lc,[e[177]||(e[177]=r("div",{class:"setting-label"},"「追问风格」",-1)),r("div",Qc,[p(re,{modelValue:ot.followUpStyle,"onUpdate:modelValue":e[26]||(e[26]=g=>ot.followUpStyle=g),placeholder:"请选择",onChange:e[27]||(e[27]=g=>lo("followUpStyle",ot.followUpStyle))},{default:y(()=>[p($,{label:"温和",value:"1"}),p($,{label:"严厉",value:"2"}),p($,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[178]||(e[178]=r("div",{class:"setting-desc"},null,-1))])])]),r("div",Gc,[r("div",zc,[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:ot.keepVideo,"onUpdate:modelValue":e[28]||(e[28]=g=>ot.keepVideo=g),onChange:e[29]||(e[29]=g=>lo("keepVideo",g)),disabled:!0},null,8,["modelValue"])]),r("div",$c,[e[183]||(e[183]=r("div",{class:"setting-label"},[r("p",null,"「中断后作答限制」")],-1)),r("div",Jc,[p(mo,{modelValue:ot.interruptionMode,"onUpdate:modelValue":e[30]||(e[30]=g=>ot.interruptionMode=g),label:"current",onChange:e[31]||(e[31]=g=>lo("interruptionMode",ot.interruptionMode))},{default:y(()=>e[181]||(e[181]=[k(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),p(mo,{modelValue:ot.interruptionMode,"onUpdate:modelValue":e[32]||(e[32]=g=>ot.interruptionMode=g),label:"previous",onChange:e[33]||(e[33]=g=>lo("interruptionMode",ot.interruptionMode))},{default:y(()=>e[182]||(e[182]=[k(" 从头作答 ")])),_:1},8,["modelValue"])]),e[184]||(e[184]=r("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),r("div",Wc,[e[185]||(e[185]=r("div",{class:"setting-label"},[r("p",null,"「智慧追问」")],-1)),e[186]||(e[186]=r("div",{class:"setting-desc"},[r("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),p(gt,{modelValue:ot.smartFollowUp,"onUpdate:modelValue":e[34]||(e[34]=g=>ot.smartFollowUp=g),onChange:e[35]||(e[35]=g=>lo("smartFollowUp",g))},null,8,["modelValue"])])])])])])):Te("",!0)]),_:1},8,["modelValue"]),p(wt,{title:"新增视频宣讲",modelValue:Ee.value,"onUpdate:modelValue":e[38]||(e[38]=g=>Ee.value=g),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[r("span",_c,[p(E,{onClick:ge},{default:y(()=>e[195]||(e[195]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:Ie},{default:y(()=>e[196]||(e[196]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Yc,[r("div",Xc,[e[193]||(e[193]=r("div",{class:"form-label"},"上传视频",-1)),p(aa,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[r("div",qc,[p(O,null,{default:y(()=>[p(ve(bn))]),_:1}),e[192]||(e[192]=r("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),r("div",Zc,[e[194]||(e[194]=r("div",{class:"form-label"},"视频简介",-1)),p(U,{modelValue:Ae.description,"onUpdate:modelValue":e[37]||(e[37]=g=>Ae.description=g),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(ve(bi),{title:"AI实时对话",modelValue:Ne.value,"onUpdate:modelValue":e[40]||(e[40]=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",yf,[p(E,{onClick:me},{default:y(()=>e[207]||(e[207]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:Qe},{default:y(()=>e[208]||(e[208]=[k("确认")])),_:1})])]),default:y(()=>[r("div",ef,[r("div",tf,[e[206]||(e[206]=r("div",{class:"section-title"},[r("div",{class:"section-line"}),r("span",null,"对话设置")],-1)),r("div",nf,[p(E,{type:"primary",plain:"",onClick:fi},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(bn))]),_:1}),e[197]||(e[197]=k(" 添加问题 "))]),_:1}),p(E,{type:"success",plain:"",onClick:gn},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ua))]),_:1}),e[198]||(e[198]=k(" 导入问题 "))]),_:1})]),r("div",of,[te.value.length===0?(M(),X("div",af,e[199]||(e[199]=[r("p",null,"暂无问题",-1),r("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(M(),X("div",rf,[p(ve(Va),{modelValue:te.value,"onUpdate:modelValue":e[39]||(e[39]=g=>te.value=g),"item-key":"id",handle:".drag-handle"},{item:y(({element:g,index:de})=>[k(le(g)+" ",1),r("div",lf,[r("div",sf,[r("div",df,[r("span",uf,"题目"+le(de+1),1),r("span",null,le(g.question),1)]),r("div",cf,[r("div",ff,[e[201]||(e[201]=r("span",{class:"weight-label"},"权重占比:",-1)),p(rt,{modelValue:g.weight,"onUpdate:modelValue":Ce=>g.weight=Ce,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[200]||(e[200]=[k("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),r("div",vf,[e[202]||(e[202]=r("span",{class:"answer-label"},"最多回答次数",-1)),p(re,{modelValue:g.maxAnswers,"onUpdate:modelValue":Ce=>g.maxAnswers=Ce,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(E,{type:"text",onClick:Ce=>zi(de)},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:2},1032,["onClick"]),p(E,{type:"text",onClick:Ce=>$i(de)},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ca))]),_:1})]),_:2},1032,["onClick"])])]),r("div",pf,[r("div",mf,[e[203]||(e[203]=r("span",{class:"info-label"},"考察能力:",-1)),r("span",null,le(g.ability),1)]),r("div",gf,[e[204]||(e[204]=r("span",{class:"info-label"},"面试内容:",-1)),r("span",null,le(g.content),1)]),r("div",hf,[e[205]||(e[205]=r("span",{class:"info-label"},"对话目标:",-1)),r("span",null,le(g.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),p(wt,{title:"查看问题",modelValue:Re.value,"onUpdate:modelValue":e[49]||(e[49]=g=>Re.value=g),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[r("span",Nf,[p(E,{onClick:vt},{default:y(()=>e[235]||(e[235]=[k("取消")])),_:1})])]),default:y(()=>[r("div",bf,[r("div",Sf,[e[209]||(e[209]=r("div",{class:"form-label"},[k(" 题目内容"),r("span",{class:"required"},"*")],-1)),p(U,{modelValue:Z.content,"onUpdate:modelValue":e[41]||(e[41]=g=>Z.content=g),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),r("div",Ef,[e[210]||(e[210]=r("div",{class:"form-label"},"胜任力标签",-1)),p(re,{modelValue:na.value,"onUpdate:modelValue":e[42]||(e[42]=g=>na.value=g),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(M(!0),X(qe,null,Ze(Z.competency_tags,g=>(M(),De($,{key:g.id,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[211]||(e[211]=r("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),r("div",xf,[e[217]||(e[217]=r("div",{class:"form-label"}," 胜任力配置 ",-1)),r("div",If,[e[213]||(e[213]=r("div",{class:"config-row"},[r("span",{class:"config-label"},"标签"),r("span",{class:"config-label"},"权重")],-1)),(M(!0),X(qe,null,Ze(Z.competency_tags,(g,de)=>(M(),X("div",{class:"config-row",key:g.id},[r("span",Cf,le(g.name),1),p(rt,{modelValue:g.weight,"onUpdate:modelValue":Ce=>g.weight=Ce,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:Ce=>Cl(de,Ce)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[212]||(e[212]=k(" % "))]))),128))]),r("div",wf,[e[214]||(e[214]=k(" 配置各个胜任力标签的权重,总和需要100% ")),r("span",{class:At(["weight-sum",{"weight-error":gi()!==100}])}," (当前总计: "+le(gi())+"%) ",3),e[215]||(e[215]=r("br",null,null,-1)),p(O,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[p(ve(ds))]),_:1}),e[216]||(e[216]=r("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),r("div",Af,[e[218]||(e[218]=r("div",{class:"form-label"},"题目形式",-1)),p(re,{modelValue:Z.question_form,"onUpdate:modelValue":e[43]||(e[43]=g=>Z.question_form=g),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:El},{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[219]||(e[219]=r("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),r("div",Of,[e[220]||(e[220]=r("div",{class:"form-label"},"适用职位",-1)),p(re,{modelValue:t.value,"onUpdate:modelValue":e[44]||(e[44]=g=>t.value=g),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0},{default:y(()=>[(M(!0),X(qe,null,Ze(Le.value,g=>(M(),De($,{key:g.value,label:g.label,value:g.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[221]||(e[221]=r("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),Z.question_form===1||Z.question_form===2||Z.question_form===3?(M(),X("div",Tf,[e[223]||(e[223]=r("div",{class:"form-label"},"选项",-1)),r("div",null,[e[222]||(e[222]=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)),(M(!0),X(qe,null,Ze(Z.options,(g,de)=>(M(),X("div",{key:de,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[p(U,{modelValue:g.text,"onUpdate:modelValue":Ce=>g.text=Ce,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),p(Bn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[r("div",{onClick:()=>{Z.question_form===1||Z.question_form===3?Z.options.forEach((Ce,$l)=>{Ce.is_correct=$l===de}):g.is_correct=!g.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[Z.question_form===1||Z.question_form===3?(M(),De(mo,{key:0,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":Ce=>g.is_correct=Ce,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(M(),De(Ht,{key:1,disabled:!0,modelValue:g.is_correct,"onUpdate:modelValue":Ce=>g.is_correct=Ce},null,8,["modelValue","onUpdate:modelValue"]))],8,Df)]),_:2},1024)]))),128))]),e[224]||(e[224]=r("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):Te("",!0),Z.question_form==6?(M(),X("div",Pf,[e[225]||(e[225]=r("div",{class:"form-label"},"填空答案模板",-1)),p(Cs,{"model-value":Z.blank_answer_template||[],question:Z.content,readonly:!0},null,8,["model-value","question"])])):Te("",!0),Z.question_form===3?(M(),X("div",Rf,[e[226]||(e[226]=r("div",{class:"form-label"},"题目图片",-1)),r("img",{src:Z.question_image_url,alt:""},null,8,Vf)])):Te("",!0),r("div",Uf,[e[227]||(e[227]=r("div",{class:"form-label"},"分类",-1)),p(U,{modelValue:Z.category_name,"onUpdate:modelValue":e[45]||(e[45]=g=>Z.category_name=g),disabled:!0,placeholder:"暂无分类"},null,8,["modelValue"]),e[228]||(e[228]=r("div",{class:"form-tip"},"选择题目所属分类",-1))]),r("div",kf,[e[229]||(e[229]=r("div",{class:"form-label"},"标签",-1)),p(re,{modelValue:Z.tag_ids,"onUpdate:modelValue":e[46]||(e[46]=g=>Z.tag_ids=g),placeholder:"暂无标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(M(!0),X(qe,null,Ze(Z.tags,g=>(M(),De($,{key:g.value,label:g.name,value:g.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[230]||(e[230]=r("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),r("div",Kf,[e[231]||(e[231]=r("div",{class:"form-label"},"建议时长(秒)",-1)),p(rt,{modelValue:Z.suggestedDuration,"onUpdate:modelValue":e[47]||(e[47]=g=>Z.suggestedDuration=g),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[232]||(e[232]=r("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),r("div",Mf,[e[233]||(e[233]=r("div",{class:"form-label"},"评价标准",-1)),p(U,{modelValue:Z.scoring_reference,"onUpdate:modelValue":e[48]||(e[48]=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[234]||(e[234]=r("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),p(wt,{title:"选择题目",modelValue:Rn.value,"onUpdate:modelValue":e[51]||(e[51]=g=>Rn.value=g),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",Qf,[p(E,{onClick:e[50]||(e[50]=g=>ne("4"))},{default:y(()=>e[236]||(e[236]=[k("预览已选")])),_:1}),p(E,{onClick:nl},{default:y(()=>e[237]||(e[237]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:ol,disabled:kt.value.length==0,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[238]||(e[238]=[k("确定")])),_:1},8,["disabled"])])]),default:y(()=>[r("div",Bf,[p(jl,{ref:"treeRef",data:ia.value,"node-key":"id",props:Kl,"default-expand-all":"","highlight-current":"",onNodeClick:Ml},{default:y(({node:g,data:de})=>[r("div",Ff,[r("div",jf,[p(O,null,{default:y(()=>[p(Fl)]),_:1}),r("span",Lf,le(de.title),1)])])]),_:1},8,["data"])])]),_:1},8,["modelValue"]),p(wt,{title:"创建自定义题目",modelValue:co.value,"onUpdate:modelValue":e[53]||(e[53]=g=>co.value=g),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":Qi},{default:y(()=>[p(vs,{modelValue:Go.value,"onUpdate:modelValue":e[52]||(e[52]=g=>Go.value=g),"is-edit":Zi.value,onSubmit:Wa,onCancel:Qi},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),p(wt,{title:"资料收集",modelValue:Be.value,"onUpdate:modelValue":e[54]||(e[54]=g=>Be.value=g),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[r("span",sv,[p(E,{onClick:Ha},{default:y(()=>e[248]||(e[248]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:il},{default:y(()=>e[249]||(e[249]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Gf,[r("div",zf,[e[247]||(e[247]=r("div",{class:"panel-header"},[r("h3",null,"字段显示配置")],-1)),r("div",$f,[e[242]||(e[242]=r("div",{class:"section-title"},"基本信息",-1)),p(Yt,{gutter:20},{default:y(()=>[(M(!0),X(qe,null,Ze(al(),(g,de)=>(M(),De(Gt,{span:8,key:de},{default:y(()=>[r("div",Jf,[r("span",Wf,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ce=>g.visible=Ce,disabled:g.label=="姓名"||g.label=="手机号"||g.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[243]||(e[243]=r("div",{class:"section-title"},"家庭成员信息",-1)),p(Yt,{gutter:20},{default:y(()=>[p(Gt,{span:24},{default:y(()=>[r("div",Hf,[r("span",Yf,[k(le(ve(j).family_member.label)+" ",1),ve(j).family_member.visible?(M(),De(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[239]||(e[239]=[k("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),ve(j).family_member.visible?(M(),De(Yt,{key:0,gutter:20},{default:y(()=>[(M(!0),X(qe,null,Ze(ve(j).family_member.fields,(g,de)=>(M(),De(Gt,{span:8,key:de},{default:y(()=>[r("div",Xf,[r("span",qf,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ce=>g.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[244]||(e[244]=r("div",{class:"section-title"},"教育经历",-1)),p(Yt,{gutter:20},{default:y(()=>[p(Gt,{span:24},{default:y(()=>[r("div",Zf,[r("span",_f,[k(le(ve(j).education.label)+" ",1),ve(j).education.visible?(M(),De(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[240]||(e[240]=[k("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),ve(j).education.visible?(M(),De(Yt,{key:1,gutter:20},{default:y(()=>[(M(!0),X(qe,null,Ze(ve(j).education.fields,(g,de)=>(M(),De(Gt,{span:8,key:de},{default:y(()=>[r("div",ev,[r("span",tv,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ce=>g.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0),e[245]||(e[245]=r("div",{class:"section-title"},"专业技能",-1)),p(Yt,{gutter:20},{default:y(()=>[(M(!0),X(qe,null,Ze(rl(),(g,de)=>(M(),De(Gt,{span:8,key:de},{default:y(()=>[r("div",nv,[r("span",ov,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ce=>g.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[246]||(e[246]=r("div",{class:"section-title"},"工作经历",-1)),p(Yt,{gutter:20},{default:y(()=>[p(Gt,{span:24},{default:y(()=>[r("div",iv,[r("span",av,[k(le(ve(j).work_experience.label)+" ",1),ve(j).work_experience.visible?(M(),De(Rt,{key:0,size:"small",type:"success"},{default:y(()=>e[241]||(e[241]=[k("已启用")])),_:1})):Te("",!0)])])]),_:1})]),_:1}),ve(j).work_experience.visible?(M(),De(Yt,{key:2,gutter:20},{default:y(()=>[(M(!0),X(qe,null,Ze(ve(j).work_experience.fields,(g,de)=>(M(),De(Gt,{span:8,key:de},{default:y(()=>[r("div",rv,[r("span",lv,le(g.label),1),p(Bn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[p(gt,{modelValue:g.visible,"onUpdate:modelValue":Ce=>g.visible=Ce,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Te("",!0)])])])]),_:1},8,["modelValue"]),p(wt,{title:"简历收集",modelValue:bt.value,"onUpdate:modelValue":e[56]||(e[56]=g=>bt.value=g),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[r("span",cv,[p(E,{onClick:Ye},{default:y(()=>e[251]||(e[251]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:Xe},{default:y(()=>e[252]||(e[252]=[k("确认")])),_:1})])]),default:y(()=>[r("div",dv,[r("div",uv,[e[250]||(e[250]=r("div",{class:"form-label"},"步骤名称",-1)),p(U,{modelValue:It.title,"onUpdate:modelValue":e[55]||(e[55]=g=>It.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":"",disabled:!0},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),p(wt,{title:"添加代码笔试步骤",modelValue:Hn.value,"onUpdate:modelValue":e[59]||(e[59]=g=>Hn.value=g),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[r("span",Cv,[p(E,{onClick:Ji},{default:y(()=>e[261]||(e[261]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:Za},{default:y(()=>e[262]||(e[262]=[k("确认")])),_:1})])]),default:y(()=>[r("div",fv,[r("div",vv,[e[253]||(e[253]=r("div",{class:"form-label"},"步骤名称",-1)),p(U,{modelValue:nt.title,"onUpdate:modelValue":e[57]||(e[57]=g=>nt.title=g),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",pv,[e[254]||(e[254]=r("div",{class:"form-label"},"自动评判试卷",-1)),p(gt,{modelValue:nt.autoJudge,"onUpdate:modelValue":e[58]||(e[58]=g=>nt.autoJudge=g)},null,8,["modelValue"]),r("span",mv,le(nt.autoJudge?"开启":"关闭"),1)]),r("div",gv,[e[260]||(e[260]=r("div",{class:"form-label"},"添加考试试卷",-1)),r("div",hv,[nt.selectedPaper?(M(),X("div",bv,[r("div",Sv,[r("div",Ev,le(nt.selectedPaper.title),1),r("div",xv,[r("span",null,le(nt.selectedPaper.questionCount)+"道题",1),r("span",null,le(nt.selectedPaper.duration)+"分钟",1),r("span",null,le(nt.selectedPaper.difficulty),1)])]),r("div",Iv,[p(E,{type:"text",onClick:er},{default:y(()=>e[257]||(e[257]=[k("查看")])),_:1}),p(E,{type:"text",onClick:tr},{default:y(()=>e[258]||(e[258]=[k("更换")])),_:1}),p(E,{type:"text",onClick:nr},{default:y(()=>e[259]||(e[259]=[k("删除")])),_:1})])])):(M(),X("div",yv,[p(E,{type:"primary",plain:"",onClick:_a},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(bn))]),_:1}),e[255]||(e[255]=k(" 添加考卷 "))]),_:1}),e[256]||(e[256]=r("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),p(ve(bi),{title:"添加打字测试步骤",modelValue:Yn.value,"onUpdate:modelValue":e[67]||(e[67]=g=>Yn.value=g),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[r("span",Bv,[p(E,{onClick:Wi},{default:y(()=>e[279]||(e[279]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:or},{default:y(()=>e[280]||(e[280]=[k("保存")])),_:1})])]),default:y(()=>[r("div",wv,[r("div",Av,[e[264]||(e[264]=r("div",{class:"form-label"},"选择文章",-1)),r("div",Ov,[p(E,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(bn))]),_:1}),e[263]||(e[263]=k(" 添加文章 "))]),_:1})])]),r("div",Tv,[e[267]||(e[267]=r("div",{class:"form-label"},"候选人选择文章方式",-1)),p(Ll,{modelValue:tt.selectionMode,"onUpdate:modelValue":e[60]||(e[60]=g=>tt.selectionMode=g)},{default:y(()=>[p(mo,{label:"random"},{default:y(()=>e[265]||(e[265]=[k("随机抽取")])),_:1}),p(mo,{label:"self"},{default:y(()=>e[266]||(e[266]=[k("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),r("div",Dv,[e[269]||(e[269]=r("div",{class:"form-label"},"测试时间",-1)),r("div",Pv,[p(U,{modelValue:tt.duration,"onUpdate:modelValue":e[61]||(e[61]=g=>tt.duration=g),class:"time-input"},null,8,["modelValue"]),e[268]||(e[268]=r("span",{class:"time-unit"},"分钟",-1))])]),r("div",Rv,[e[271]||(e[271]=r("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),p(aa,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[r("div",Vv,[p(O,null,{default:y(()=>[p(ve(bn))]),_:1}),e[270]||(e[270]=r("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),r("div",Uv,[e[272]||(e[272]=r("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),p(U,{modelValue:tt.notes,"onUpdate:modelValue":e[62]||(e[62]=g=>tt.notes=g),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),r("div",kv,[e[273]||(e[273]=r("div",{class:"form-label"},"测试页面标题",-1)),p(U,{modelValue:tt.pageTitle,"onUpdate:modelValue":e[63]||(e[63]=g=>tt.pageTitle=g),placeholder:"测试页面标题"},null,8,["modelValue"])]),r("div",Kv,[e[275]||(e[275]=r("div",{class:"form-label"},"视频监控",-1)),p(Ht,{modelValue:tt.videoMonitoring,"onUpdate:modelValue":e[64]||(e[64]=g=>tt.videoMonitoring=g)},{default:y(()=>e[274]||(e[274]=[k("视频监控")])),_:1},8,["modelValue"])]),r("div",Mv,[e[278]||(e[278]=r("div",{class:"form-label"},"通过标准",-1)),r("div",Nv,[p(Ht,{modelValue:tt.passCriteria.speed,"onUpdate:modelValue":e[65]||(e[65]=g=>tt.passCriteria.speed=g)},{default:y(()=>e[276]||(e[276]=[k("速度")])),_:1},8,["modelValue"]),p(Ht,{modelValue:tt.passCriteria.accuracy,"onUpdate:modelValue":e[66]||(e[66]=g=>tt.passCriteria.accuracy=g)},{default:y(()=>e[277]||(e[277]=[k("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),p(wt,{title:"面试设置",modelValue:Vn.value,"onUpdate:modelValue":e[76]||(e[76]=g=>Vn.value=g),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[r("span",vp,[p(E,{onClick:ll},{default:y(()=>e[299]||(e[299]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:dl},{default:y(()=>e[300]||(e[300]=[k("完成")])),_:1})])]),default:y(()=>[r("div",Fv,[r("div",jv,[e[286]||(e[286]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"防作弊设置")],-1)),r("div",Lv,[e[281]||(e[281]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「人脸一致性检测」"),r("p",{class:"setting-desc"},"选取后,将会在候选人离开前置摄像头时进行提示,默认开启")],-1)),p(gt,{modelValue:we.faceConsistency,"onUpdate:modelValue":e[68]||(e[68]=g=>we.faceConsistency=g),disabled:!0},null,8,["modelValue"])]),r("div",Qv,[e[282]||(e[282]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人截屏或录屏时进行提示,为防止泄题,默认开启")],-1)),p(gt,{modelValue:we.preventScreenshot,"onUpdate:modelValue":e[69]||(e[69]=g=>we.preventScreenshot=g),disabled:!0},null,8,["modelValue"])]),r("div",Gv,[e[284]||(e[284]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「 切 屏 预 制 」"),r("p",{class:"setting-desc"},"选取后,将会在候选人切屏时进行提示,为防止作弊,默认开启")],-1)),p(gt,{modelValue:we.screenSwitchAlert,"onUpdate:modelValue":e[70]||(e[70]=g=>we.screenSwitchAlert=g),disabled:!0},{default:y(()=>e[283]||(e[283]=[r("span",{class:"switch-desc"},"切屏超过 2 次关闭,作废本关面试",-1)])),_:1},8,["modelValue"])]),r("div",zv,[e[285]||(e[285]=r("div",{class:"setting-info"},[r("span",{class:"setting-name"},"「情绪/眼动检测」"),r("p",{class:"setting-desc"},"该现已,将对候选人整场面试的情绪与压力表现进行分析,建议开启")],-1)),p(gt,{modelValue:we.positionDetection,"onUpdate:modelValue":e[71]||(e[71]=g=>we.positionDetection=g)},null,8,["modelValue"])])]),r("div",$v,[e[298]||(e[298]=r("div",{class:"section-header"},[r("span",{class:"section-title"},"其他设置")],-1)),r("div",Jv,[r("div",Wv,[e[288]||(e[288]=r("span",{class:"setting-name"},"重复面试",-1)),r("div",Hv,[e[287]||(e[287]=r("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),p(gt,{modelValue:we.reviewInterview,"onUpdate:modelValue":e[72]||(e[72]=g=>we.reviewInterview=g)},null,8,["modelValue"])])])]),r("div",Yv,[r("div",Xv,[e[291]||(e[291]=r("span",{class:"setting-name"},"开场词",-1)),Un.value?(M(),X("div",_v,[p(U,{modelValue:on.value,"onUpdate:modelValue":e[73]||(e[73]=g=>on.value=g),type:"textarea",rows:"5",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),r("div",ep,[p(E,{size:"small",onClick:fl},{default:y(()=>e[289]||(e[289]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:vl},{default:y(()=>e[290]||(e[290]=[k("保存")])),_:1})])])):(M(),X("div",qv,[r("p",Zv,le(we.beforeStartText),1),p(E,{type:"text",class:"edit-desc-btn",onClick:cl},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))])]),r("div",tp,[r("div",np,[e[294]||(e[294]=r("span",{class:"setting-name"},"开始后提醒",-1)),fo.value?(M(),X("div",ap,[p(U,{modelValue:kn.value,"onUpdate:modelValue":e[74]||(e[74]=g=>kn.value=g),type:"textarea",rows:"5",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),r("div",rp,[p(E,{size:"small",onClick:ml},{default:y(()=>e[292]||(e[292]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:gl},{default:y(()=>e[293]||(e[293]=[k("保存")])),_:1})])])):(M(),X("div",op,[r("p",ip,le(we.afterStartText),1),p(E,{type:"text",class:"edit-desc-btn",onClick:pl},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))])]),r("div",lp,[r("div",sp,[e[297]||(e[297]=r("span",{class:"setting-name"},"结束语",-1)),vo.value?(M(),X("div",cp,[p(U,{modelValue:Kn.value,"onUpdate:modelValue":e[75]||(e[75]=g=>Kn.value=g),type:"textarea",rows:"5",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),r("div",fp,[p(E,{size:"small",onClick:yl},{default:y(()=>e[295]||(e[295]=[k("取消")])),_:1}),p(E,{size:"small",type:"primary",onClick:bl},{default:y(()=>e[296]||(e[296]=[k("保存")])),_:1})])])):(M(),X("div",dp,[r("p",up,le(we.disclaimerText),1),p(E,{type:"text",class:"edit-desc-btn",onClick:hl},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(ut))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),p(wt,{title:"选择题目",modelValue:x.value,"onUpdate:modelValue":e[82]||(e[82]=g=>x.value=g),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[r("span",Sp,[p(E,{onClick:e[81]||(e[81]=g=>ne("0,1,2,3,5,6"))},{default:y(()=>e[301]||(e[301]=[k("预览已选")])),_:1}),p(E,{type:"primary",onClick:D,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[302]||(e[302]=[k("确定")])),_:1})])]),default:y(()=>[r("div",pp,[p(Yt,{class:"document-el-row"},{default:y(()=>[p(Gt,{span:3},{default:y(()=>[r("div",mp,[p(As,{ref_key:"treeListRef",ref:Pl,treeData:oa.value,onTreeClick:Rl,onUpdateDocument:Vl,onDeleteDocument:Ul},null,8,["treeData"])])]),_:1}),p(Gt,{span:21},{default:y(()=>[r("div",gp,[r("div",hp,[p(U,{modelValue:uo.value,"onUpdate:modelValue":e[77]||(e[77]=g=>uo.value=g),placeholder:"请输入关键词搜索题目",clearable:"",onClear:zo,onKeyup:es(zo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[p(E,{onClick:zo},{default:y(()=>[p(O,null,{default:y(()=>[p(ve(us))]),_:1})]),_:1})]),_:1},8,["modelValue"]),p(re,{modelValue:at.question_form,"onUpdate:modelValue":e[78]||(e[78]=g=>at.question_form=g),placeholder:"题目类型",clearable:"",onChange:zo,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",yp,[p(ra,{data:it.value,style:{width:"100%"},onSelectionChange:tl},{default:y(()=>[p(Jo,{type:"selection",width:"55"}),p(Jo,{prop:"question",label:"题目标题"}),p(Jo,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),r("div",bp,[p(Ql,{"current-page":at.page,"onUpdate:currentPage":e[79]||(e[79]=g=>at.page=g),"page-size":at.pageSize,"onUpdate:pageSize":e[80]||(e[80]=g=>at.pageSize=g),total:jt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:I,onCurrentChange:T},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),p(wt,{title:po.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:Nn.value,"onUpdate:modelValue":e[86]||(e[86]=g=>Nn.value=g),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[r("span",wp,[p(E,{onClick:ue},{default:y(()=>e[309]||(e[309]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:oe},{default:y(()=>e[310]||(e[310]=[k("确认")])),_:1})])]),default:y(()=>[r("div",Ep,[r("div",xp,[e[303]||(e[303]=r("div",{class:"form-label"},[k(" 环节名称"),r("span",{class:"required"},"*")],-1)),p(U,{modelValue:Ue.title,"onUpdate:modelValue":e[83]||(e[83]=g=>Ue.title=g),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),r("div",Ip,[e[304]||(e[304]=r("div",{class:"form-label"},[k(" 提问时长"),r("span",{class:"required"},"*")],-1)),p(rt,{modelValue:Ue.duration,"onUpdate:modelValue":e[84]||(e[84]=g=>Ue.duration=g),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[305]||(e[305]=r("span",{class:"form-unit"},"分钟",-1)),e[306]||(e[306]=r("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),r("div",Cp,[e[307]||(e[307]=r("div",{class:"form-label"},"环节描述",-1)),p(U,{modelValue:Ue.description,"onUpdate:modelValue":e[85]||(e[85]=g=>Ue.description=g),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[308]||(e[308]=r("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),p(wt,{modelValue:$o.value,"onUpdate:modelValue":e[90]||(e[90]=g=>$o.value=g),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[r("span",Ap,[p(E,{onClick:Tl,size:"small"},{default:y(()=>e[315]||(e[315]=[k("取消")])),_:1}),p(E,{type:"primary",onClick:Dl,size:"small"},{default:y(()=>e[316]||(e[316]=[k("确定")])),_:1})])]),default:y(()=>[p(zl,{model:rn.value,"label-width":"120px"},{default:y(()=>[p(hi,{label:"检测时长"},{default:y(()=>[p(rt,{modelValue:rn.value.duration,"onUpdate:modelValue":e[87]||(e[87]=g=>rn.value.duration=g),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[311]||(e[311]=k(" 分钟 "))]),_:1}),p(hi,{label:"检测项目"},{default:y(()=>[p(Gl,{modelValue:rn.value.detectionItems,"onUpdate:modelValue":e[88]||(e[88]=g=>rn.value.detectionItems=g)},{default:y(()=>[p(Ht,{label:"face"},{default:y(()=>e[312]||(e[312]=[k("面部表情")])),_:1}),p(Ht,{label:"pose"},{default:y(()=>e[313]||(e[313]=[k("肢体姿态")])),_:1}),p(Ht,{label:"gesture"},{default:y(()=>e[314]||(e[314]=[k("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),p(hi,{label:"提示文本"},{default:y(()=>[p(U,{modelValue:rn.value.promptText,"onUpdate:modelValue":e[89]||(e[89]=g=>rn.value.promptText=g),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),p(wt,{modelValue:K.value,"onUpdate:modelValue":e[92]||(e[92]=g=>K.value=g),title:"职位问题预览",width:"60%","close-on-click-modal":!1},{default:y(()=>[r("div",Op,[r("div",Tp,"已绑定的问题("+le(_.value.length)+"):",1),p(ra,{data:_.value,style:{width:"100%"}},{default:y(()=>[p(Jo,{prop:"question",label:"问题内容","min-width":"300","show-overflow-tooltip":""})]),_:1},8,["data"])]),r("div",Dp,[p(E,{type:"primary",onClick:e[91]||(e[91]=g=>K.value=!1)},{default:y(()=>e[317]||(e[317]=[k("关闭")])),_:1})])]),_:1},8,["modelValue"])])}}}),Qp=Os(Pp,[["__scopeId","data-v-959166b5"]]);export{Qp as default};
|