index.ByiHUJxg.js 218 KB

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