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