12345678910 |
- import{a as Cl,aH as Al,aB as wl,r as G,_ as et,f as si,q as Ol,W as Tl,w as Dl,aj as we,at as Pl,c as Y,o as N,b as s,S as v,K as y,P as k,Q as re,u as be,M as Ue,J as Ce,R as We,a9 as He,L as Bo,G as Ct,T as Hi,Y as Vl,F as Rl,a7 as Ul}from"./vue.D1BjjNmv.js";import{b as Kl,C as Ml,U as At}from"./api.BtuSoBLw.js";import{r as tt,S as Te,a8 as kl,g as Bl,a9 as Nl,c as jl,E as R,X as ht,U as hn,aa as Fl,ab as Yi,Y as Xi,ac as di,ad as Ll,ae as Ql,Z as Zi}from"./index.DJJ6nIxS.js";import{g as Gl}from"./pcaData.5HEg6BqW.js";import zl from"./QuestionBankForm.CV-wkmSx.js";import{A as $l}from"./api.CSOZgLo8.js";import Jl from"./treeList.DXfDljbh.js";import{G as qi,a as _i,b as ea}from"./api.BNtQPsH0.js";import{_ as Wl}from"./_plugin-vue_export-helper.DlAUqK2U.js";import"./QuestionOptionsEditor.CfqO4x61.js";import"./BlankAnswerEditor.DfAHFZ1O.js";const ta="/assets/sheng.BKW1Im68.png",Hl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkoAAAImCAQAAAAGHG0zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFyGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDggNzkuMTY0MDM2LCAyMDE5LzA4LzEzLTAxOjA2OjU3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdEV2dD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlRXZlbnQjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyNS0wNi0xM1QxNzowMToyMCswODowMCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNDE0NGJjZC05NWJlLTMxNGMtODlmZC01MTk0MTdmODc5OWEiIHhtcE1NOkRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDplYzMyM2E1Zi04ZWZiLTgxNGUtYWMzOS05Nzc3ODNiNDUzYjQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDo2NzhkMmE4Ni05MTcxLWJiNDAtYWMzOS01ODg2NzcyNzM4ZDEiIHN0RXZ0OndoZW49IjIwMjUtMDYtMTNUMTc6MDE6MjArMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyMS4wIChXaW5kb3dzKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MzQxNDRiY2QtOTViZS0zMTRjLTg5ZmQtNTE5NDE3Zjg3OTlhIiBzdEV2dDp3aGVuPSIyMDI1LTA2LTEzVDE3OjAxOjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjEuMCAoV2luZG93cykiIHN0RXZ0OmNoYW5nZWQ9Ii8iLz4gPC9yZGY6U2VxPiA8L3htcE1NOkhpc3Rvcnk+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JOr+gQAABzlJREFUeJzt1rENwzAQBEHTUOHsnEoVKhDwG8xUcNHi1vkBdPynBwA8iRKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHJND3hrn+kFULXX9IIveUpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEp60wvAHjwlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSDlmh7w1j7TC6Bqr+kFX/KUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUkQJSBElIEWUgBRRAlJECUgRJSBFlIAUUQJSRAlIESUgRZSAFFECUtaZXgDw4CkBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkCJKQIooASmiBKSIEpAiSkCKKAEpogSkiBKQIkpAiigBKaIEpIgSkHIDp74LS5/6zzUAAAAASUVORK5CYII=";function Yl(l){return tt({url:"/api/system/competency/list",method:"get",params:{...l,tenant_id:Te.get("tenant_id")}})}function Xt(l){return tt({url:"/api/system/interview_question/list",method:"get",params:{...l,tenant_id:Te.get("tenant_id")}})}function Xl(l){return tt({url:"/api/system/interview_question/ai_generated",method:"post",data:{...l,tenant_id:Te.get("tenant_id")},timeout:0})}function na(l){return tt({url:"/api/system/interview_question/draft_list",method:"get",params:{...l,tenant_id:Te.get("tenant_id")}})}function Zl(l){return tt({url:"/api/system/interview_question/confirm_draft",method:"post",data:{...l,tenant_id:Te.get("tenant_id")},timeout:0})}function ql(l){return tt({url:"/api/system/digital_human/",method:"get",params:{...l,tenant_id:Te.get("tenant_id")}})}function ui(l){return tt({url:"/api/system/job_config/list",method:"post",data:{...l,tenant_id:Te.get("tenant_id")}})}function Vt(l){return tt({url:`/api/system/job_config/detail/${l.id}`,method:"put",data:{...l,tenant_id:Te.get("tenant_id")}})}function Mn(l){return tt({url:`/api/system/job_config/position/detail/${l}`,method:"get"})}function ci(l){return tt({url:"api/system/job/add_question",method:"post",data:{...l,tenant_id:Te.get("tenant_id")}})}function fi(l){return tt({url:"/api/system/digital_human/generate_opening_video",method:"post",data:{...l,tenant_id:Te.get("tenant_id")},timeout:0})}function oa(l){return tt({url:"/api/system/digital_human/generate_question_videos",method:"post",data:{...l,tenant_id:Te.get("tenant_id"),force_regenerate:!0},timeout:0})}function _l(l){return tt({url:"/api/system/job/batch_delete_questions",method:"post",data:{...l,tenant_id:Te.get("tenant_id")}})}function ia(l){return tt({url:"/competency/generate_from_position/",method:"post",data:{...l,tenant_id:Te.get("tenant_id")},timeout:0})}function es(l){return tt({url:"/competency/save_position_tags/",method:"post",data:{...l,tenant_id:Te.get("tenant_id")}})}function ts(l){return tt({url:"/api/system/competency/list",method:"get",params:{...l,tenant_id:Te.get("tenant_id")}})}function ns(l){return tt({url:"/api/system/job/questions",method:"get",params:{...l,tenant_id:Te.get("tenant_id")}})}function os(l){return tt({url:"/api/system/competency/create",method:"post",data:{...l,tenant_id:Te.get("tenant_id")}})}function is(l){return tt({url:"/api/system/competency/batch_bind",method:"post",data:{...l,tenant_id:Te.get("tenant_id")}})}var ya={exports:{}};/**!
- * Sortable 1.14.0
- * @author RubaXa <trash@rubaxa.org>
- * @author owenm <owen23355@gmail.com>
- * @license MIT
- */function aa(l,i){var o=Object.keys(l);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(l);i&&(d=d.filter(function(n){return Object.getOwnPropertyDescriptor(l,n).enumerable})),o.push.apply(o,d)}return o}function Gt(l){for(var i=1;i<arguments.length;i++){var o=arguments[i]!=null?arguments[i]:{};i%2?aa(Object(o),!0).forEach(function(d){as(l,d,o[d])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(o)):aa(Object(o)).forEach(function(d){Object.defineProperty(l,d,Object.getOwnPropertyDescriptor(o,d))})}return l}function zo(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?zo=function(i){return typeof i}:zo=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},zo(l)}function as(l,i,o){return i in l?Object.defineProperty(l,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):l[i]=o,l}function Ut(){return Ut=Object.assign||function(l){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var d in o)Object.prototype.hasOwnProperty.call(o,d)&&(l[d]=o[d])}return l},Ut.apply(this,arguments)}function rs(l,i){if(l==null)return{};var o={},d=Object.keys(l),n,c;for(c=0;c<d.length;c++)n=d[c],!(i.indexOf(n)>=0)&&(o[n]=l[n]);return o}function ls(l,i){if(l==null)return{};var o=rs(l,i),d,n;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(l);for(n=0;n<c.length;n++)d=c[n],!(i.indexOf(d)>=0)&&Object.prototype.propertyIsEnumerable.call(l,d)&&(o[d]=l[d])}return o}function ss(l){return ds(l)||us(l)||cs(l)||fs()}function ds(l){if(Array.isArray(l))return Ii(l)}function us(l){if(typeof Symbol<"u"&&l[Symbol.iterator]!=null||l["@@iterator"]!=null)return Array.from(l)}function cs(l,i){if(l){if(typeof l=="string")return Ii(l,i);var o=Object.prototype.toString.call(l).slice(8,-1);if(o==="Object"&&l.constructor&&(o=l.constructor.name),o==="Map"||o==="Set")return Array.from(l);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return Ii(l,i)}}function Ii(l,i){(i==null||i>l.length)&&(i=l.length);for(var o=0,d=new Array(i);o<i;o++)d[o]=l[o];return d}function fs(){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 vs="1.14.0";function Zt(l){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(l)}var qt=Zt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Io=Zt(/Edge/i),ra=Zt(/firefox/i),yo=Zt(/safari/i)&&!Zt(/chrome/i)&&!Zt(/android/i),ba=Zt(/iP(ad|od|hone)/i),ps=Zt(/chrome/i)&&Zt(/android/i),Sa={capture:!1,passive:!1};function Se(l,i,o){l.addEventListener(i,o,!qt&&Sa)}function ge(l,i,o){l.removeEventListener(i,o,!qt&&Sa)}function Yo(l,i){if(i){if(i[0]===">"&&(i=i.substring(1)),l)try{if(l.matches)return l.matches(i);if(l.msMatchesSelector)return l.msMatchesSelector(i);if(l.webkitMatchesSelector)return l.webkitMatchesSelector(i)}catch{return!1}return!1}}function ms(l){return l.host&&l!==document&&l.host.nodeType?l.host:l.parentNode}function Bt(l,i,o,d){if(l){o=o||document;do{if(i!=null&&(i[0]===">"?l.parentNode===o&&Yo(l,i):Yo(l,i))||d&&l===o)return l;if(l===o)break}while(l=ms(l))}return null}var la=/\s+/g;function Ge(l,i,o){if(l&&i)if(l.classList)l.classList[o?"add":"remove"](i);else{var d=(" "+l.className+" ").replace(la," ").replace(" "+i+" "," ");l.className=(d+(o?" "+i:"")).replace(la," ")}}function oe(l,i,o){var d=l&&l.style;if(d){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(l,""):l.currentStyle&&(o=l.currentStyle),i===void 0?o:o[i];!(i in d)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),d[i]=o+(typeof o=="string"?"":"px")}}function En(l,i){var o="";if(typeof l=="string")o=l;else do{var d=oe(l,"transform");d&&d!=="none"&&(o=d+" "+o)}while(!i&&(l=l.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return n&&new n(o)}function Ea(l,i,o){if(l){var d=l.getElementsByTagName(i),n=0,c=d.length;if(o)for(;n<c;n++)o(d[n],n);return d}return[]}function Qt(){var l=document.scrollingElement;return l||document.documentElement}function Qe(l,i,o,d,n){if(!(!l.getBoundingClientRect&&l!==window)){var c,t,a,r,u,g,m;if(l!==window&&l.parentNode&&l!==Qt()?(c=l.getBoundingClientRect(),t=c.top,a=c.left,r=c.bottom,u=c.right,g=c.height,m=c.width):(t=0,a=0,r=window.innerHeight,u=window.innerWidth,g=window.innerHeight,m=window.innerWidth),(i||o)&&l!==window&&(n=n||l.parentNode,!qt))do if(n&&n.getBoundingClientRect&&(oe(n,"transform")!=="none"||o&&oe(n,"position")!=="static")){var h=n.getBoundingClientRect();t-=h.top+parseInt(oe(n,"border-top-width")),a-=h.left+parseInt(oe(n,"border-left-width")),r=t+c.height,u=a+c.width;break}while(n=n.parentNode);if(d&&l!==window){var b=En(n||l),S=b&&b.a,E=b&&b.d;b&&(t/=E,a/=S,m/=S,g/=E,r=t+g,u=a+m)}return{top:t,left:a,bottom:r,right:u,width:m,height:g}}}function sa(l,i,o){for(var d=ln(l,!0),n=Qe(l)[i];d;){var c=Qe(d)[o],t=void 0;if(t=n>=c,!t)return d;if(d===Qt())break;d=ln(d,!1)}return!1}function Ln(l,i,o,d){for(var n=0,c=0,t=l.children;c<t.length;){if(t[c].style.display!=="none"&&t[c]!==ue.ghost&&(d||t[c]!==ue.dragged)&&Bt(t[c],o.draggable,l,!1)){if(n===i)return t[c];n++}c++}return null}function Ti(l,i){for(var o=l.lastElementChild;o&&(o===ue.ghost||oe(o,"display")==="none"||i&&!Yo(o,i));)o=o.previousElementSibling;return o||null}function Je(l,i){var o=0;if(!l||!l.parentNode)return-1;for(;l=l.previousElementSibling;)l.nodeName.toUpperCase()!=="TEMPLATE"&&l!==ue.clone&&(!i||Yo(l,i))&&o++;return o}function da(l){var i=0,o=0,d=Qt();if(l)do{var n=En(l),c=n.a,t=n.d;i+=l.scrollLeft*c,o+=l.scrollTop*t}while(l!==d&&(l=l.parentNode));return[i,o]}function gs(l,i){for(var o in l)if(l.hasOwnProperty(o)){for(var d in i)if(i.hasOwnProperty(d)&&i[d]===l[o][d])return Number(o)}return-1}function ln(l,i){if(!l||!l.getBoundingClientRect)return Qt();var o=l,d=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=oe(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 Qt();if(d||i)return o;d=!0}}while(o=o.parentNode);return Qt()}function hs(l,i){if(l&&i)for(var o in i)i.hasOwnProperty(o)&&(l[o]=i[o]);return l}function vi(l,i){return Math.round(l.top)===Math.round(i.top)&&Math.round(l.left)===Math.round(i.left)&&Math.round(l.height)===Math.round(i.height)&&Math.round(l.width)===Math.round(i.width)}var bo;function xa(l,i){return function(){if(!bo){var o=arguments,d=this;o.length===1?l.call(d,o[0]):l.apply(d,o),bo=setTimeout(function(){bo=void 0},i)}}}function ys(){clearTimeout(bo),bo=void 0}function Ia(l,i,o){l.scrollLeft+=i,l.scrollTop+=o}function Di(l){var i=window.Polymer,o=window.jQuery||window.Zepto;return i&&i.dom?i.dom(l).cloneNode(!0):o?o(l).clone(!0)[0]:l.cloneNode(!0)}function ua(l,i){oe(l,"position","absolute"),oe(l,"top",i.top),oe(l,"left",i.left),oe(l,"width",i.width),oe(l,"height",i.height)}function pi(l){oe(l,"position",""),oe(l,"top",""),oe(l,"left",""),oe(l,"width",""),oe(l,"height","")}var mt="Sortable"+new Date().getTime();function bs(){var l=[],i;return{captureAnimationState:function(){if(l=[],!!this.options.animation){var d=[].slice.call(this.el.children);d.forEach(function(n){if(!(oe(n,"display")==="none"||n===ue.ghost)){l.push({target:n,rect:Qe(n)});var c=Gt({},l[l.length-1].rect);if(n.thisAnimationDuration){var t=En(n,!0);t&&(c.top-=t.f,c.left-=t.e)}n.fromRect=c}})}},addAnimationState:function(d){l.push(d)},removeAnimationState:function(d){l.splice(gs(l,{target:d}),1)},animateAll:function(d){var n=this;if(!this.options.animation){clearTimeout(i),typeof d=="function"&&d();return}var c=!1,t=0;l.forEach(function(a){var r=0,u=a.target,g=u.fromRect,m=Qe(u),h=u.prevFromRect,b=u.prevToRect,S=a.rect,E=En(u,!0);E&&(m.top-=E.f,m.left-=E.e),u.toRect=m,u.thisAnimationDuration&&vi(h,m)&&!vi(g,m)&&(S.top-m.top)/(S.left-m.left)===(g.top-m.top)/(g.left-m.left)&&(r=Es(S,h,b,n.options)),vi(m,g)||(u.prevFromRect=g,u.prevToRect=m,r||(r=n.options.animation),n.animate(u,S,m,r)),r&&(c=!0,t=Math.max(t,r),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},r),u.thisAnimationDuration=r)}),clearTimeout(i),c?i=setTimeout(function(){typeof d=="function"&&d()},t):typeof d=="function"&&d(),l=[]},animate:function(d,n,c,t){if(t){oe(d,"transition",""),oe(d,"transform","");var a=En(this.el),r=a&&a.a,u=a&&a.d,g=(n.left-c.left)/(r||1),m=(n.top-c.top)/(u||1);d.animatingX=!!g,d.animatingY=!!m,oe(d,"transform","translate3d("+g+"px,"+m+"px,0)"),this.forRepaintDummy=Ss(d),oe(d,"transition","transform "+t+"ms"+(this.options.easing?" "+this.options.easing:"")),oe(d,"transform","translate3d(0,0,0)"),typeof d.animated=="number"&&clearTimeout(d.animated),d.animated=setTimeout(function(){oe(d,"transition",""),oe(d,"transform",""),d.animated=!1,d.animatingX=!1,d.animatingY=!1},t)}}}}function Ss(l){return l.offsetWidth}function Es(l,i,o,d){return Math.sqrt(Math.pow(i.top-l.top,2)+Math.pow(i.left-l.left,2))/Math.sqrt(Math.pow(i.top-o.top,2)+Math.pow(i.left-o.left,2))*d.animation}var kn=[],mi={initializeByDefault:!0},Co={mount:function(i){for(var o in mi)mi.hasOwnProperty(o)&&!(o in i)&&(i[o]=mi[o]);kn.forEach(function(d){if(d.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),kn.push(i)},pluginEvent:function(i,o,d){var n=this;this.eventCanceled=!1,d.cancel=function(){n.eventCanceled=!0};var c=i+"Global";kn.forEach(function(t){o[t.pluginName]&&(o[t.pluginName][c]&&o[t.pluginName][c](Gt({sortable:o},d)),o.options[t.pluginName]&&o[t.pluginName][i]&&o[t.pluginName][i](Gt({sortable:o},d)))})},initializePlugins:function(i,o,d,n){kn.forEach(function(a){var r=a.pluginName;if(!(!i.options[r]&&!a.initializeByDefault)){var u=new a(i,o,i.options);u.sortable=i,u.options=i.options,i[r]=u,Ut(d,u.defaults)}});for(var c in i.options)if(i.options.hasOwnProperty(c)){var t=this.modifyOption(i,c,i.options[c]);typeof t<"u"&&(i.options[c]=t)}},getEventProperties:function(i,o){var d={};return kn.forEach(function(n){typeof n.eventProperties=="function"&&Ut(d,n.eventProperties.call(o[n.pluginName],i))}),d},modifyOption:function(i,o,d){var n;return kn.forEach(function(c){i[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[o]=="function"&&(n=c.optionListeners[o].call(i[c.pluginName],d))}),n}};function po(l){var i=l.sortable,o=l.rootEl,d=l.name,n=l.targetEl,c=l.cloneEl,t=l.toEl,a=l.fromEl,r=l.oldIndex,u=l.newIndex,g=l.oldDraggableIndex,m=l.newDraggableIndex,h=l.originalEvent,b=l.putSortable,S=l.extraEventProperties;if(i=i||o&&o[mt],!!i){var E,I=i.options,w="on"+d.charAt(0).toUpperCase()+d.substr(1);window.CustomEvent&&!qt&&!Io?E=new CustomEvent(d,{bubbles:!0,cancelable:!0}):(E=document.createEvent("Event"),E.initEvent(d,!0,!0)),E.to=t||o,E.from=a||o,E.item=n||o,E.clone=c,E.oldIndex=r,E.newIndex=u,E.oldDraggableIndex=g,E.newDraggableIndex=m,E.originalEvent=h,E.pullMode=b?b.lastPutMode:void 0;var O=Gt(Gt({},S),Co.getEventProperties(d,i));for(var M in O)E[M]=O[M];o&&o.dispatchEvent(E),I[w]&&I[w].call(i,E)}}var xs=["evt"],Et=function(i,o){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=d.evt,c=ls(d,xs);Co.pluginEvent.bind(ue)(i,o,Gt({dragEl:W,parentEl:ze,ghostEl:pe,rootEl:Le,nextEl:Sn,lastDownEl:$o,cloneEl:$e,cloneHidden:rn,dragStarted:mo,putSortable:st,activeSortable:ue.active,originalEvent:n,oldIndex:Fn,oldDraggableIndex:So,newIndex:Ot,newDraggableIndex:an,hideGhostForTarget:Oa,unhideGhostForTarget:Ta,cloneNowHidden:function(){rn=!0},cloneNowShown:function(){rn=!1},dispatchSortableEvent:function(a){yt({sortable:o,name:a,originalEvent:n})}},c))};function yt(l){po(Gt({putSortable:st,cloneEl:$e,targetEl:W,rootEl:Le,oldIndex:Fn,oldDraggableIndex:So,newIndex:Ot,newDraggableIndex:an},l))}var W,ze,pe,Le,Sn,$o,$e,rn,Fn,Ot,So,an,No,st,jn=!1,Xo=!1,Zo=[],yn,Mt,gi,hi,ca,fa,mo,Bn,Eo,xo=!1,jo=!1,Jo,pt,yi=[],Ci=!1,qo=[],ei=typeof document<"u",Fo=ba,va=Io||qt?"cssFloat":"float",Is=ei&&!ps&&!ba&&"draggable"in document.createElement("div"),Ca=function(){if(ei){if(qt)return!1;var l=document.createElement("x");return l.style.cssText="pointer-events:auto",l.style.pointerEvents==="auto"}}(),Aa=function(i,o){var d=oe(i),n=parseInt(d.width)-parseInt(d.paddingLeft)-parseInt(d.paddingRight)-parseInt(d.borderLeftWidth)-parseInt(d.borderRightWidth),c=Ln(i,0,o),t=Ln(i,1,o),a=c&&oe(c),r=t&&oe(t),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Qe(c).width,g=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+Qe(t).width;if(d.display==="flex")return d.flexDirection==="column"||d.flexDirection==="column-reverse"?"vertical":"horizontal";if(d.display==="grid")return d.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&a.float&&a.float!=="none"){var m=a.float==="left"?"left":"right";return t&&(r.clear==="both"||r.clear===m)?"vertical":"horizontal"}return c&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=n&&d[va]==="none"||t&&d[va]==="none"&&u+g>n)?"vertical":"horizontal"},Cs=function(i,o,d){var n=d?i.left:i.top,c=d?i.right:i.bottom,t=d?i.width:i.height,a=d?o.left:o.top,r=d?o.right:o.bottom,u=d?o.width:o.height;return n===a||c===r||n+t/2===a+u/2},As=function(i,o){var d;return Zo.some(function(n){var c=n[mt].options.emptyInsertThreshold;if(!(!c||Ti(n))){var t=Qe(n),a=i>=t.left-c&&i<=t.right+c,r=o>=t.top-c&&o<=t.bottom+c;if(a&&r)return d=n}}),d},wa=function(i){function o(c,t){return function(a,r,u,g){var m=a.options.group.name&&r.options.group.name&&a.options.group.name===r.options.group.name;if(c==null&&(t||m))return!0;if(c==null||c===!1)return!1;if(t&&c==="clone")return c;if(typeof c=="function")return o(c(a,r,u,g),t)(a,r,u,g);var h=(t?a:r).options.group.name;return c===!0||typeof c=="string"&&c===h||c.join&&c.indexOf(h)>-1}}var d={},n=i.group;(!n||zo(n)!="object")&&(n={name:n}),d.name=n.name,d.checkPull=o(n.pull,!0),d.checkPut=o(n.put),d.revertClone=n.revertClone,i.group=d},Oa=function(){!Ca&&pe&&oe(pe,"display","none")},Ta=function(){!Ca&&pe&&oe(pe,"display","")};ei&&document.addEventListener("click",function(l){if(Xo)return l.preventDefault(),l.stopPropagation&&l.stopPropagation(),l.stopImmediatePropagation&&l.stopImmediatePropagation(),Xo=!1,!1},!0);var bn=function(i){if(W){i=i.touches?i.touches[0]:i;var o=As(i.clientX,i.clientY);if(o){var d={};for(var n in i)i.hasOwnProperty(n)&&(d[n]=i[n]);d.target=d.rootEl=o,d.preventDefault=void 0,d.stopPropagation=void 0,o[mt]._onDragOver(d)}}},ws=function(i){W&&W.parentNode[mt]._isOutsideThisEl(i.target)};function ue(l,i){if(!(l&&l.nodeType&&l.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(l));this.el=l,this.options=i=Ut({},i),l[mt]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(l.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Aa(l,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(t,a){t.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:ue.supportPointer!==!1&&"PointerEvent"in window&&!yo,emptyInsertThreshold:5};Co.initializePlugins(this,l,o);for(var d in o)!(d in i)&&(i[d]=o[d]);wa(i);for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));this.nativeDraggable=i.forceFallback?!1:Is,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?Se(l,"pointerdown",this._onTapStart):(Se(l,"mousedown",this._onTapStart),Se(l,"touchstart",this._onTapStart)),this.nativeDraggable&&(Se(l,"dragover",this),Se(l,"dragenter",this)),Zo.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),Ut(this,bs())}ue.prototype={constructor:ue,_isOutsideThisEl:function(i){!this.el.contains(i)&&i!==this.el&&(Bn=null)},_getDirection:function(i,o){return typeof this.options.direction=="function"?this.options.direction.call(this,i,o,W):this.options.direction},_onTapStart:function(i){if(i.cancelable){var o=this,d=this.el,n=this.options,c=n.preventOnFilter,t=i.type,a=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,r=(a||i).target,u=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||r,g=n.filter;if(Ks(d),!W&&!(/mousedown|pointerdown/.test(t)&&i.button!==0||n.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&yo&&r&&r.tagName.toUpperCase()==="SELECT")&&(r=Bt(r,n.draggable,d,!1),!(r&&r.animated)&&$o!==r)){if(Fn=Je(r),So=Je(r,n.draggable),typeof g=="function"){if(g.call(this,i,r,this)){yt({sortable:o,rootEl:u,name:"filter",targetEl:r,toEl:d,fromEl:d}),Et("filter",o,{evt:i}),c&&i.cancelable&&i.preventDefault();return}}else if(g&&(g=g.split(",").some(function(m){if(m=Bt(u,m.trim(),d,!1),m)return yt({sortable:o,rootEl:m,name:"filter",targetEl:r,fromEl:d,toEl:d}),Et("filter",o,{evt:i}),!0}),g)){c&&i.cancelable&&i.preventDefault();return}n.handle&&!Bt(u,n.handle,d,!1)||this._prepareDragStart(i,a,r)}}},_prepareDragStart:function(i,o,d){var n=this,c=n.el,t=n.options,a=c.ownerDocument,r;if(d&&!W&&d.parentNode===c){var u=Qe(d);if(Le=c,W=d,ze=W.parentNode,Sn=W.nextSibling,$o=d,No=t.group,ue.dragged=W,yn={target:W,clientX:(o||i).clientX,clientY:(o||i).clientY},ca=yn.clientX-u.left,fa=yn.clientY-u.top,this._lastX=(o||i).clientX,this._lastY=(o||i).clientY,W.style["will-change"]="all",r=function(){if(Et("delayEnded",n,{evt:i}),ue.eventCanceled){n._onDrop();return}n._disableDelayedDragEvents(),!ra&&n.nativeDraggable&&(W.draggable=!0),n._triggerDragStart(i,o),yt({sortable:n,name:"choose",originalEvent:i}),Ge(W,t.chosenClass,!0)},t.ignore.split(",").forEach(function(g){Ea(W,g.trim(),bi)}),Se(a,"dragover",bn),Se(a,"mousemove",bn),Se(a,"touchmove",bn),Se(a,"mouseup",n._onDrop),Se(a,"touchend",n._onDrop),Se(a,"touchcancel",n._onDrop),ra&&this.nativeDraggable&&(this.options.touchStartThreshold=4,W.draggable=!0),Et("delayStart",this,{evt:i}),t.delay&&(!t.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Io||qt))){if(ue.eventCanceled){this._onDrop();return}Se(a,"mouseup",n._disableDelayedDrag),Se(a,"touchend",n._disableDelayedDrag),Se(a,"touchcancel",n._disableDelayedDrag),Se(a,"mousemove",n._delayedDragTouchMoveHandler),Se(a,"touchmove",n._delayedDragTouchMoveHandler),t.supportPointer&&Se(a,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(r,t.delay)}else r()}},_delayedDragTouchMoveHandler:function(i){var o=i.touches?i.touches[0]:i;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(){W&&bi(W),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;ge(i,"mouseup",this._disableDelayedDrag),ge(i,"touchend",this._disableDelayedDrag),ge(i,"touchcancel",this._disableDelayedDrag),ge(i,"mousemove",this._delayedDragTouchMoveHandler),ge(i,"touchmove",this._delayedDragTouchMoveHandler),ge(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,o){o=o||i.pointerType=="touch"&&i,!this.nativeDraggable||o?this.options.supportPointer?Se(document,"pointermove",this._onTouchMove):o?Se(document,"touchmove",this._onTouchMove):Se(document,"mousemove",this._onTouchMove):(Se(W,"dragend",this),Se(Le,"dragstart",this._onDragStart));try{document.selection?Wo(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,o){if(jn=!1,Le&&W){Et("dragStarted",this,{evt:o}),this.nativeDraggable&&Se(document,"dragover",ws);var d=this.options;!i&&Ge(W,d.dragClass,!1),Ge(W,d.ghostClass,!0),ue.active=this,i&&this._appendGhost(),yt({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Mt){this._lastX=Mt.clientX,this._lastY=Mt.clientY,Oa();for(var i=document.elementFromPoint(Mt.clientX,Mt.clientY),o=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(Mt.clientX,Mt.clientY),i!==o);)o=i;if(W.parentNode[mt]._isOutsideThisEl(i),o)do{if(o[mt]){var d=void 0;if(d=o[mt]._onDragOver({clientX:Mt.clientX,clientY:Mt.clientY,target:i,rootEl:o}),d&&!this.options.dragoverBubble)break}i=o}while(o=o.parentNode);Ta()}},_onTouchMove:function(i){if(yn){var o=this.options,d=o.fallbackTolerance,n=o.fallbackOffset,c=i.touches?i.touches[0]:i,t=pe&&En(pe,!0),a=pe&&t&&t.a,r=pe&&t&&t.d,u=Fo&&pt&&da(pt),g=(c.clientX-yn.clientX+n.x)/(a||1)+(u?u[0]-yi[0]:0)/(a||1),m=(c.clientY-yn.clientY+n.y)/(r||1)+(u?u[1]-yi[1]:0)/(r||1);if(!ue.active&&!jn){if(d&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<d)return;this._onDragStart(i,!0)}if(pe){t?(t.e+=g-(gi||0),t.f+=m-(hi||0)):t={a:1,b:0,c:0,d:1,e:g,f:m};var h="matrix(".concat(t.a,",").concat(t.b,",").concat(t.c,",").concat(t.d,",").concat(t.e,",").concat(t.f,")");oe(pe,"webkitTransform",h),oe(pe,"mozTransform",h),oe(pe,"msTransform",h),oe(pe,"transform",h),gi=g,hi=m,Mt=c}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!pe){var i=this.options.fallbackOnBody?document.body:Le,o=Qe(W,!0,Fo,!0,i),d=this.options;if(Fo){for(pt=i;oe(pt,"position")==="static"&&oe(pt,"transform")==="none"&&pt!==document;)pt=pt.parentNode;pt!==document.body&&pt!==document.documentElement?(pt===document&&(pt=Qt()),o.top+=pt.scrollTop,o.left+=pt.scrollLeft):pt=Qt(),yi=da(pt)}pe=W.cloneNode(!0),Ge(pe,d.ghostClass,!1),Ge(pe,d.fallbackClass,!0),Ge(pe,d.dragClass,!0),oe(pe,"transition",""),oe(pe,"transform",""),oe(pe,"box-sizing","border-box"),oe(pe,"margin",0),oe(pe,"top",o.top),oe(pe,"left",o.left),oe(pe,"width",o.width),oe(pe,"height",o.height),oe(pe,"opacity","0.8"),oe(pe,"position",Fo?"absolute":"fixed"),oe(pe,"zIndex","100000"),oe(pe,"pointerEvents","none"),ue.ghost=pe,i.appendChild(pe),oe(pe,"transform-origin",ca/parseInt(pe.style.width)*100+"% "+fa/parseInt(pe.style.height)*100+"%")}},_onDragStart:function(i,o){var d=this,n=i.dataTransfer,c=d.options;if(Et("dragStart",this,{evt:i}),ue.eventCanceled){this._onDrop();return}Et("setupClone",this),ue.eventCanceled||($e=Di(W),$e.draggable=!1,$e.style["will-change"]="",this._hideClone(),Ge($e,this.options.chosenClass,!1),ue.clone=$e),d.cloneId=Wo(function(){Et("clone",d),!ue.eventCanceled&&(d.options.removeCloneOnHide||Le.insertBefore($e,W),d._hideClone(),yt({sortable:d,name:"clone"}))}),!o&&Ge(W,c.dragClass,!0),o?(Xo=!0,d._loopId=setInterval(d._emulateDragOver,50)):(ge(document,"mouseup",d._onDrop),ge(document,"touchend",d._onDrop),ge(document,"touchcancel",d._onDrop),n&&(n.effectAllowed="move",c.setData&&c.setData.call(d,n,W)),Se(document,"drop",d),oe(W,"transform","translateZ(0)")),jn=!0,d._dragStartId=Wo(d._dragStarted.bind(d,o,i)),Se(document,"selectstart",d),mo=!0,yo&&oe(document.body,"user-select","none")},_onDragOver:function(i){var o=this.el,d=i.target,n,c,t,a=this.options,r=a.group,u=ue.active,g=No===r,m=a.sort,h=st||u,b,S=this,E=!1;if(Ci)return;function I(Ee,De){Et(Ee,S,Gt({evt:i,isOwner:g,axis:b?"vertical":"horizontal",revert:t,dragRect:n,targetRect:c,canSort:m,fromSortable:h,target:d,completed:O,onMove:function(ke,Be){return Lo(Le,o,W,n,ke,Qe(ke),i,Be)},changed:M},De))}function w(){I("dragOverAnimationCapture"),S.captureAnimationState(),S!==h&&h.captureAnimationState()}function O(Ee){return I("dragOverCompleted",{insertion:Ee}),Ee&&(g?u._hideClone():u._showClone(S),S!==h&&(Ge(W,st?st.options.ghostClass:u.options.ghostClass,!1),Ge(W,a.ghostClass,!0)),st!==S&&S!==ue.active?st=S:S===ue.active&&st&&(st=null),h===S&&(S._ignoreWhileAnimating=d),S.animateAll(function(){I("dragOverAnimationComplete"),S._ignoreWhileAnimating=null}),S!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(d===W&&!W.animated||d===o&&!d.animated)&&(Bn=null),!a.dragoverBubble&&!i.rootEl&&d!==document&&(W.parentNode[mt]._isOutsideThisEl(i.target),!Ee&&bn(i)),!a.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),E=!0}function M(){Ot=Je(W),an=Je(W,a.draggable),yt({sortable:S,name:"change",toEl:o,newIndex:Ot,newDraggableIndex:an,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),d=Bt(d,a.draggable,o,!0),I("dragOver"),ue.eventCanceled)return E;if(W.contains(i.target)||d.animated&&d.animatingX&&d.animatingY||S._ignoreWhileAnimating===d)return O(!1);if(Xo=!1,u&&!a.disabled&&(g?m||(t=ze!==Le):st===this||(this.lastPutMode=No.checkPull(this,u,W,i))&&r.checkPut(this,u,W,i))){if(b=this._getDirection(i,d)==="vertical",n=Qe(W),I("dragOverValid"),ue.eventCanceled)return E;if(t)return ze=Le,w(),this._hideClone(),I("revert"),ue.eventCanceled||(Sn?Le.insertBefore(W,Sn):Le.appendChild(W)),O(!0);var T=Ti(o,a.draggable);if(!T||Ps(i,b,this)&&!T.animated){if(T===W)return O(!1);if(T&&o===i.target&&(d=T),d&&(c=Qe(d)),Lo(Le,o,W,n,d,c,i,!!d)!==!1)return w(),o.appendChild(W),ze=o,M(),O(!0)}else if(T&&Ds(i,b,this)){var B=Ln(o,0,a,!0);if(B===W)return O(!1);if(d=B,c=Qe(d),Lo(Le,o,W,n,d,c,i,!1)!==!1)return w(),o.insertBefore(W,B),ze=o,M(),O(!0)}else if(d.parentNode===o){c=Qe(d);var U=0,ee,z=W.parentNode!==o,K=!Cs(W.animated&&W.toRect||n,d.animated&&d.toRect||c,b),X=b?"top":"left",_=sa(d,"top","top")||sa(W,"top","top"),se=_?_.scrollTop:void 0;Bn!==d&&(ee=c[X],xo=!1,jo=!K&&a.invertSwap||z),U=Vs(i,d,c,b,K?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,jo,Bn===d);var L;if(U!==0){var $=Je(W);do $-=U,L=ze.children[$];while(L&&(oe(L,"display")==="none"||L===pe))}if(U===0||L===d)return O(!1);Bn=d,Eo=U;var J=d.nextElementSibling,Z=!1;Z=U===1;var ie=Lo(Le,o,W,n,d,c,i,Z);if(ie!==!1)return(ie===1||ie===-1)&&(Z=ie===1),Ci=!0,setTimeout(Ts,30),w(),Z&&!J?o.appendChild(W):d.parentNode.insertBefore(W,Z?J:d),_&&Ia(_,0,se-_.scrollTop),ze=W.parentNode,ee!==void 0&&!jo&&(Jo=Math.abs(ee-Qe(d)[X])),M(),O(!0)}if(o.contains(W))return O(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ge(document,"mousemove",this._onTouchMove),ge(document,"touchmove",this._onTouchMove),ge(document,"pointermove",this._onTouchMove),ge(document,"dragover",bn),ge(document,"mousemove",bn),ge(document,"touchmove",bn)},_offUpEvents:function(){var i=this.el.ownerDocument;ge(i,"mouseup",this._onDrop),ge(i,"touchend",this._onDrop),ge(i,"pointerup",this._onDrop),ge(i,"touchcancel",this._onDrop),ge(document,"selectstart",this)},_onDrop:function(i){var o=this.el,d=this.options;if(Ot=Je(W),an=Je(W,d.draggable),Et("drop",this,{evt:i}),ze=W&&W.parentNode,Ot=Je(W),an=Je(W,d.draggable),ue.eventCanceled){this._nulling();return}jn=!1,jo=!1,xo=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Ai(this.cloneId),Ai(this._dragStartId),this.nativeDraggable&&(ge(document,"drop",this),ge(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),yo&&oe(document.body,"user-select",""),oe(W,"transform",""),i&&(mo&&(i.cancelable&&i.preventDefault(),!d.dropBubble&&i.stopPropagation()),pe&&pe.parentNode&&pe.parentNode.removeChild(pe),(Le===ze||st&&st.lastPutMode!=="clone")&&$e&&$e.parentNode&&$e.parentNode.removeChild($e),W&&(this.nativeDraggable&&ge(W,"dragend",this),bi(W),W.style["will-change"]="",mo&&!jn&&Ge(W,st?st.options.ghostClass:this.options.ghostClass,!1),Ge(W,this.options.chosenClass,!1),yt({sortable:this,name:"unchoose",toEl:ze,newIndex:null,newDraggableIndex:null,originalEvent:i}),Le!==ze?(Ot>=0&&(yt({rootEl:ze,name:"add",toEl:ze,fromEl:Le,originalEvent:i}),yt({sortable:this,name:"remove",toEl:ze,originalEvent:i}),yt({rootEl:ze,name:"sort",toEl:ze,fromEl:Le,originalEvent:i}),yt({sortable:this,name:"sort",toEl:ze,originalEvent:i})),st&&st.save()):Ot!==Fn&&Ot>=0&&(yt({sortable:this,name:"update",toEl:ze,originalEvent:i}),yt({sortable:this,name:"sort",toEl:ze,originalEvent:i})),ue.active&&((Ot==null||Ot===-1)&&(Ot=Fn,an=So),yt({sortable:this,name:"end",toEl:ze,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){Et("nulling",this),Le=W=ze=pe=Sn=$e=$o=rn=yn=Mt=mo=Ot=an=Fn=So=Bn=Eo=st=No=ue.dragged=ue.ghost=ue.clone=ue.active=null,qo.forEach(function(i){i.checked=!0}),qo.length=gi=hi=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":W&&(this._onDragOver(i),Os(i));break;case"selectstart":i.preventDefault();break}},toArray:function(){for(var i=[],o,d=this.el.children,n=0,c=d.length,t=this.options;n<c;n++)o=d[n],Bt(o,t.draggable,this.el,!1)&&i.push(o.getAttribute(t.dataIdAttr)||Us(o));return i},sort:function(i,o){var d={},n=this.el;this.toArray().forEach(function(c,t){var a=n.children[t];Bt(a,this.options.draggable,n,!1)&&(d[c]=a)},this),o&&this.captureAnimationState(),i.forEach(function(c){d[c]&&(n.removeChild(d[c]),n.appendChild(d[c]))}),o&&this.animateAll()},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,o){return Bt(i,o||this.options.draggable,this.el,!1)},option:function(i,o){var d=this.options;if(o===void 0)return d[i];var n=Co.modifyOption(this,i,o);typeof n<"u"?d[i]=n:d[i]=o,i==="group"&&wa(d)},destroy:function(){Et("destroy",this);var i=this.el;i[mt]=null,ge(i,"mousedown",this._onTapStart),ge(i,"touchstart",this._onTapStart),ge(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(ge(i,"dragover",this),ge(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Zo.splice(Zo.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!rn){if(Et("hideClone",this),ue.eventCanceled)return;oe($e,"display","none"),this.options.removeCloneOnHide&&$e.parentNode&&$e.parentNode.removeChild($e),rn=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(rn){if(Et("showClone",this),ue.eventCanceled)return;W.parentNode==Le&&!this.options.group.revertClone?Le.insertBefore($e,W):Sn?Le.insertBefore($e,Sn):Le.appendChild($e),this.options.group.revertClone&&this.animate(W,$e),oe($e,"display",""),rn=!1}}};function Os(l){l.dataTransfer&&(l.dataTransfer.dropEffect="move"),l.cancelable&&l.preventDefault()}function Lo(l,i,o,d,n,c,t,a){var r,u=l[mt],g=u.options.onMove,m;return window.CustomEvent&&!qt&&!Io?r=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(r=document.createEvent("Event"),r.initEvent("move",!0,!0)),r.to=i,r.from=l,r.dragged=o,r.draggedRect=d,r.related=n||i,r.relatedRect=c||Qe(i),r.willInsertAfter=a,r.originalEvent=t,l.dispatchEvent(r),g&&(m=g.call(u,r,t)),m}function bi(l){l.draggable=!1}function Ts(){Ci=!1}function Ds(l,i,o){var d=Qe(Ln(o.el,0,o.options,!0)),n=10;return i?l.clientX<d.left-n||l.clientY<d.top&&l.clientX<d.right:l.clientY<d.top-n||l.clientY<d.bottom&&l.clientX<d.left}function Ps(l,i,o){var d=Qe(Ti(o.el,o.options.draggable)),n=10;return i?l.clientX>d.right+n||l.clientX<=d.right&&l.clientY>d.bottom&&l.clientX>=d.left:l.clientX>d.right&&l.clientY>d.top||l.clientX<=d.right&&l.clientY>d.bottom+n}function Vs(l,i,o,d,n,c,t,a){var r=d?l.clientY:l.clientX,u=d?o.height:o.width,g=d?o.top:o.left,m=d?o.bottom:o.right,h=!1;if(!t){if(a&&Jo<u*n){if(!xo&&(Eo===1?r>g+u*c/2:r<m-u*c/2)&&(xo=!0),xo)h=!0;else if(Eo===1?r<g+Jo:r>m-Jo)return-Eo}else if(r>g+u*(1-n)/2&&r<m-u*(1-n)/2)return Rs(i)}return h=h||t,h&&(r<g+u*c/2||r>m-u*c/2)?r>g+u/2?1:-1:0}function Rs(l){return Je(W)<Je(l)?1:-1}function Us(l){for(var i=l.tagName+l.className+l.src+l.href+l.textContent,o=i.length,d=0;o--;)d+=i.charCodeAt(o);return d.toString(36)}function Ks(l){qo.length=0;for(var i=l.getElementsByTagName("input"),o=i.length;o--;){var d=i[o];d.checked&&qo.push(d)}}function Wo(l){return setTimeout(l,0)}function Ai(l){return clearTimeout(l)}ei&&Se(document,"touchmove",function(l){(ue.active||jn)&&l.cancelable&&l.preventDefault()});ue.utils={on:Se,off:ge,css:oe,find:Ea,is:function(i,o){return!!Bt(i,o,i,!1)},extend:hs,throttle:xa,closest:Bt,toggleClass:Ge,clone:Di,index:Je,nextTick:Wo,cancelNextTick:Ai,detectDirection:Aa,getChild:Ln};ue.get=function(l){return l[mt]};ue.mount=function(){for(var l=arguments.length,i=new Array(l),o=0;o<l;o++)i[o]=arguments[o];i[0].constructor===Array&&(i=i[0]),i.forEach(function(d){if(!d.prototype||!d.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(d));d.utils&&(ue.utils=Gt(Gt({},ue.utils),d.utils)),Co.mount(d)})};ue.create=function(l,i){return new ue(l,i)};ue.version=vs;var Xe=[],go,wi,Oi=!1,Si,Ei,_o,ho;function Ms(){function l(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return l.prototype={dragStarted:function(o){var d=o.originalEvent;this.sortable.nativeDraggable?Se(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Se(document,"pointermove",this._handleFallbackAutoScroll):d.touches?Se(document,"touchmove",this._handleFallbackAutoScroll):Se(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var d=o.originalEvent;!this.options.dragOverBubble&&!d.rootEl&&this._handleAutoScroll(d)},drop:function(){this.sortable.nativeDraggable?ge(document,"dragover",this._handleAutoScroll):(ge(document,"pointermove",this._handleFallbackAutoScroll),ge(document,"touchmove",this._handleFallbackAutoScroll),ge(document,"mousemove",this._handleFallbackAutoScroll)),pa(),Ho(),ys()},nulling:function(){_o=wi=go=Oi=ho=Si=Ei=null,Xe.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,d){var n=this,c=(o.touches?o.touches[0]:o).clientX,t=(o.touches?o.touches[0]:o).clientY,a=document.elementFromPoint(c,t);if(_o=o,d||this.options.forceAutoScrollFallback||Io||qt||yo){xi(o,this.options,a,d);var r=ln(a,!0);Oi&&(!ho||c!==Si||t!==Ei)&&(ho&&pa(),ho=setInterval(function(){var u=ln(document.elementFromPoint(c,t),!0);u!==r&&(r=u,Ho()),xi(o,n.options,u,d)},10),Si=c,Ei=t)}else{if(!this.options.bubbleScroll||ln(a,!0)===Qt()){Ho();return}xi(o,this.options,ln(a,!1),!1)}}},Ut(l,{pluginName:"scroll",initializeByDefault:!0})}function Ho(){Xe.forEach(function(l){clearInterval(l.pid)}),Xe=[]}function pa(){clearInterval(ho)}var xi=xa(function(l,i,o,d){if(i.scroll){var n=(l.touches?l.touches[0]:l).clientX,c=(l.touches?l.touches[0]:l).clientY,t=i.scrollSensitivity,a=i.scrollSpeed,r=Qt(),u=!1,g;wi!==o&&(wi=o,Ho(),go=i.scroll,g=i.scrollFn,go===!0&&(go=ln(o,!0)));var m=0,h=go;do{var b=h,S=Qe(b),E=S.top,I=S.bottom,w=S.left,O=S.right,M=S.width,T=S.height,B=void 0,U=void 0,ee=b.scrollWidth,z=b.scrollHeight,K=oe(b),X=b.scrollLeft,_=b.scrollTop;b===r?(B=M<ee&&(K.overflowX==="auto"||K.overflowX==="scroll"||K.overflowX==="visible"),U=T<z&&(K.overflowY==="auto"||K.overflowY==="scroll"||K.overflowY==="visible")):(B=M<ee&&(K.overflowX==="auto"||K.overflowX==="scroll"),U=T<z&&(K.overflowY==="auto"||K.overflowY==="scroll"));var se=B&&(Math.abs(O-n)<=t&&X+M<ee)-(Math.abs(w-n)<=t&&!!X),L=U&&(Math.abs(I-c)<=t&&_+T<z)-(Math.abs(E-c)<=t&&!!_);if(!Xe[m])for(var $=0;$<=m;$++)Xe[$]||(Xe[$]={});(Xe[m].vx!=se||Xe[m].vy!=L||Xe[m].el!==b)&&(Xe[m].el=b,Xe[m].vx=se,Xe[m].vy=L,clearInterval(Xe[m].pid),(se!=0||L!=0)&&(u=!0,Xe[m].pid=setInterval((function(){d&&this.layer===0&&ue.active._onTouchMove(_o);var J=Xe[this.layer].vy?Xe[this.layer].vy*a:0,Z=Xe[this.layer].vx?Xe[this.layer].vx*a:0;typeof g=="function"&&g.call(ue.dragged.parentNode[mt],Z,J,l,_o,Xe[this.layer].el)!=="continue"||Ia(Xe[this.layer].el,Z,J)}).bind({layer:m}),24))),m++}while(i.bubbleScroll&&h!==r&&(h=ln(h,!1)));Oi=u}},30),Da=function(i){var o=i.originalEvent,d=i.putSortable,n=i.dragEl,c=i.activeSortable,t=i.dispatchSortableEvent,a=i.hideGhostForTarget,r=i.unhideGhostForTarget;if(o){var u=d||c;a();var g=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,m=document.elementFromPoint(g.clientX,g.clientY);r(),u&&!u.el.contains(m)&&(t("spill"),this.onSpill({dragEl:n,putSortable:d}))}};function Pi(){}Pi.prototype={startIndex:null,dragStart:function(i){var o=i.oldDraggableIndex;this.startIndex=o},onSpill:function(i){var o=i.dragEl,d=i.putSortable;this.sortable.captureAnimationState(),d&&d.captureAnimationState();var n=Ln(this.sortable.el,this.startIndex,this.options);n?this.sortable.el.insertBefore(o,n):this.sortable.el.appendChild(o),this.sortable.animateAll(),d&&d.animateAll()},drop:Da};Ut(Pi,{pluginName:"revertOnSpill"});function Vi(){}Vi.prototype={onSpill:function(i){var o=i.dragEl,d=i.putSortable,n=d||this.sortable;n.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),n.animateAll()},drop:Da};Ut(Vi,{pluginName:"removeOnSpill"});var Rt;function ks(){function l(){this.defaults={swapClass:"sortable-swap-highlight"}}return l.prototype={dragStart:function(o){var d=o.dragEl;Rt=d},dragOverValid:function(o){var d=o.completed,n=o.target,c=o.onMove,t=o.activeSortable,a=o.changed,r=o.cancel;if(t.options.swap){var u=this.sortable.el,g=this.options;if(n&&n!==u){var m=Rt;c(n)!==!1?(Ge(n,g.swapClass,!0),Rt=n):Rt=null,m&&m!==Rt&&Ge(m,g.swapClass,!1)}a(),d(!0),r()}},drop:function(o){var d=o.activeSortable,n=o.putSortable,c=o.dragEl,t=n||this.sortable,a=this.options;Rt&&Ge(Rt,a.swapClass,!1),Rt&&(a.swap||n&&n.options.swap)&&c!==Rt&&(t.captureAnimationState(),t!==d&&d.captureAnimationState(),Bs(c,Rt),t.animateAll(),t!==d&&d.animateAll())},nulling:function(){Rt=null}},Ut(l,{pluginName:"swap",eventProperties:function(){return{swapItem:Rt}}})}function Bs(l,i){var o=l.parentNode,d=i.parentNode,n,c;!o||!d||o.isEqualNode(i)||d.isEqualNode(l)||(n=Je(l),c=Je(i),o.isEqualNode(d)&&n<c&&c++,o.insertBefore(i,o.children[n]),d.insertBefore(l,d.children[c]))}var fe=[],wt=[],co,kt,fo=!1,xt=!1,Nn=!1,Ke,vo,Qo;function Ns(){function l(i){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));i.options.supportPointer?Se(document,"pointerup",this._deselectMultiDrag):(Se(document,"mouseup",this._deselectMultiDrag),Se(document,"touchend",this._deselectMultiDrag)),Se(document,"keydown",this._checkKeyDown),Se(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(n,c){var t="";fe.length&&kt===i?fe.forEach(function(a,r){t+=(r?", ":"")+a.textContent}):t=c.textContent,n.setData("Text",t)}}}return l.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var d=o.dragEl;Ke=d},delayEnded:function(){this.isMultiDrag=~fe.indexOf(Ke)},setupClone:function(o){var d=o.sortable,n=o.cancel;if(this.isMultiDrag){for(var c=0;c<fe.length;c++)wt.push(Di(fe[c])),wt[c].sortableIndex=fe[c].sortableIndex,wt[c].draggable=!1,wt[c].style["will-change"]="",Ge(wt[c],this.options.selectedClass,!1),fe[c]===Ke&&Ge(wt[c],this.options.chosenClass,!1);d._hideClone(),n()}},clone:function(o){var d=o.sortable,n=o.rootEl,c=o.dispatchSortableEvent,t=o.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||fe.length&&kt===d&&(ma(!0,n),c("clone"),t()))},showClone:function(o){var d=o.cloneNowShown,n=o.rootEl,c=o.cancel;this.isMultiDrag&&(ma(!1,n),wt.forEach(function(t){oe(t,"display","")}),d(),Qo=!1,c())},hideClone:function(o){var d=this;o.sortable;var n=o.cloneNowHidden,c=o.cancel;this.isMultiDrag&&(wt.forEach(function(t){oe(t,"display","none"),d.options.removeCloneOnHide&&t.parentNode&&t.parentNode.removeChild(t)}),n(),Qo=!0,c())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&kt&&kt.multiDrag._deselectMultiDrag(),fe.forEach(function(d){d.sortableIndex=Je(d)}),fe=fe.sort(function(d,n){return d.sortableIndex-n.sortableIndex}),Nn=!0},dragStarted:function(o){var d=this,n=o.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){fe.forEach(function(t){t!==Ke&&oe(t,"position","absolute")});var c=Qe(Ke,!1,!0,!0);fe.forEach(function(t){t!==Ke&&ua(t,c)}),xt=!0,fo=!0}n.animateAll(function(){xt=!1,fo=!1,d.options.animation&&fe.forEach(function(t){pi(t)}),d.options.sort&&Go()})}},dragOver:function(o){var d=o.target,n=o.completed,c=o.cancel;xt&&~fe.indexOf(d)&&(n(!1),c())},revert:function(o){var d=o.fromSortable,n=o.rootEl,c=o.sortable,t=o.dragRect;fe.length>1&&(fe.forEach(function(a){c.addAnimationState({target:a,rect:xt?Qe(a):t}),pi(a),a.fromRect=t,d.removeAnimationState(a)}),xt=!1,js(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(o){var d=o.sortable,n=o.isOwner,c=o.insertion,t=o.activeSortable,a=o.parentEl,r=o.putSortable,u=this.options;if(c){if(n&&t._hideClone(),fo=!1,u.animation&&fe.length>1&&(xt||!n&&!t.options.sort&&!r)){var g=Qe(Ke,!1,!0,!0);fe.forEach(function(h){h!==Ke&&(ua(h,g),a.appendChild(h))}),xt=!0}if(!n)if(xt||Go(),fe.length>1){var m=Qo;t._showClone(d),t.options.animation&&!Qo&&m&&wt.forEach(function(h){t.addAnimationState({target:h,rect:vo}),h.fromRect=vo,h.thisAnimationDuration=null})}else t._showClone(d)}},dragOverAnimationCapture:function(o){var d=o.dragRect,n=o.isOwner,c=o.activeSortable;if(fe.forEach(function(a){a.thisAnimationDuration=null}),c.options.animation&&!n&&c.multiDrag.isMultiDrag){vo=Ut({},d);var t=En(Ke,!0);vo.top-=t.f,vo.left-=t.e}},dragOverAnimationComplete:function(){xt&&(xt=!1,Go())},drop:function(o){var d=o.originalEvent,n=o.rootEl,c=o.parentEl,t=o.sortable,a=o.dispatchSortableEvent,r=o.oldIndex,u=o.putSortable,g=u||this.sortable;if(d){var m=this.options,h=c.children;if(!Nn)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ge(Ke,m.selectedClass,!~fe.indexOf(Ke)),~fe.indexOf(Ke))fe.splice(fe.indexOf(Ke),1),co=null,po({sortable:t,rootEl:n,name:"deselect",targetEl:Ke});else{if(fe.push(Ke),po({sortable:t,rootEl:n,name:"select",targetEl:Ke}),d.shiftKey&&co&&t.el.contains(co)){var b=Je(co),S=Je(Ke);if(~b&&~S&&b!==S){var E,I;for(S>b?(I=b,E=S):(I=S,E=b+1);I<E;I++)~fe.indexOf(h[I])||(Ge(h[I],m.selectedClass,!0),fe.push(h[I]),po({sortable:t,rootEl:n,name:"select",targetEl:h[I]}))}}else co=Ke;kt=g}if(Nn&&this.isMultiDrag){if(xt=!1,(c[mt].options.sort||c!==n)&&fe.length>1){var w=Qe(Ke),O=Je(Ke,":not(."+this.options.selectedClass+")");if(!fo&&m.animation&&(Ke.thisAnimationDuration=null),g.captureAnimationState(),!fo&&(m.animation&&(Ke.fromRect=w,fe.forEach(function(T){if(T.thisAnimationDuration=null,T!==Ke){var B=xt?Qe(T):w;T.fromRect=B,g.addAnimationState({target:T,rect:B})}})),Go(),fe.forEach(function(T){h[O]?c.insertBefore(T,h[O]):c.appendChild(T),O++}),r===Je(Ke))){var M=!1;fe.forEach(function(T){if(T.sortableIndex!==Je(T)){M=!0;return}}),M&&a("update")}fe.forEach(function(T){pi(T)}),g.animateAll()}kt=g}(n===c||u&&u.lastPutMode!=="clone")&&wt.forEach(function(T){T.parentNode&&T.parentNode.removeChild(T)})}},nullingGlobal:function(){this.isMultiDrag=Nn=!1,wt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ge(document,"pointerup",this._deselectMultiDrag),ge(document,"mouseup",this._deselectMultiDrag),ge(document,"touchend",this._deselectMultiDrag),ge(document,"keydown",this._checkKeyDown),ge(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof Nn<"u"&&Nn)&&kt===this.sortable&&!(o&&Bt(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;fe.length;){var d=fe[0];Ge(d,this.options.selectedClass,!1),fe.shift(),po({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:d})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Ut(l,{pluginName:"multiDrag",utils:{select:function(o){var d=o.parentNode[mt];!d||!d.options.multiDrag||~fe.indexOf(o)||(kt&&kt!==d&&(kt.multiDrag._deselectMultiDrag(),kt=d),Ge(o,d.options.selectedClass,!0),fe.push(o))},deselect:function(o){var d=o.parentNode[mt],n=fe.indexOf(o);!d||!d.options.multiDrag||!~n||(Ge(o,d.options.selectedClass,!1),fe.splice(n,1))}},eventProperties:function(){var o=this,d=[],n=[];return fe.forEach(function(c){d.push({multiDragElement:c,index:c.sortableIndex});var t;xt&&c!==Ke?t=-1:xt?t=Je(c,":not(."+o.options.selectedClass+")"):t=Je(c),n.push({multiDragElement:c,index:t})}),{items:ss(fe),clones:[].concat(wt),oldIndicies:d,newIndicies:n}},optionListeners:{multiDragKey:function(o){return o=o.toLowerCase(),o==="ctrl"?o="Control":o.length>1&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}}})}function js(l,i){fe.forEach(function(o,d){var n=i.children[o.sortableIndex+(l?Number(d):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function ma(l,i){wt.forEach(function(o,d){var n=i.children[o.sortableIndex+(l?Number(d):0)];n?i.insertBefore(o,n):i.appendChild(o)})}function Go(){fe.forEach(function(l){l!==Ke&&l.parentNode&&l.parentNode.removeChild(l)})}ue.mount(new Ms);ue.mount(Vi,Pi);const Fs=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Ns,Sortable:ue,Swap:ks,default:ue},Symbol.toStringTag,{value:"Module"})),Ls=kl(Fs);(function(l,i){(function(d,n){l.exports=n(Nl,Ls)})(typeof self<"u"?self:jl,function(o,d){return function(n){var c={};function t(a){if(c[a])return c[a].exports;var r=c[a]={i:a,l:!1,exports:{}};return n[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=n,t.c=c,t.d=function(a,r,u){t.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:u})},t.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,r){if(r&1&&(a=t(a)),r&8||r&4&&typeof a=="object"&&a&&a.__esModule)return a;var u=Object.create(null);if(t.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:a}),r&2&&typeof a!="string")for(var g in a)t.d(u,g,(function(m){return a[m]}).bind(null,g));return u},t.n=function(a){var r=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(r,"a",r),r},t.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},t.p="",t(t.s="fb15")}({"00ee":function(n,c,t){var a=t("b622"),r=a("toStringTag"),u={};u[r]="z",n.exports=String(u)==="[object z]"},"0366":function(n,c,t){var a=t("1c0b");n.exports=function(r,u,g){if(a(r),u===void 0)return r;switch(g){case 0:return function(){return r.call(u)};case 1:return function(m){return r.call(u,m)};case 2:return function(m,h){return r.call(u,m,h)};case 3:return function(m,h,b){return r.call(u,m,h,b)}}return function(){return r.apply(u,arguments)}}},"057f":function(n,c,t){var a=t("fc6a"),r=t("241c").f,u={}.toString,g=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(h){try{return r(h)}catch{return g.slice()}};n.exports.f=function(b){return g&&u.call(b)=="[object Window]"?m(b):r(a(b))}},"06cf":function(n,c,t){var a=t("83ab"),r=t("d1e7"),u=t("5c6c"),g=t("fc6a"),m=t("c04e"),h=t("5135"),b=t("0cfb"),S=Object.getOwnPropertyDescriptor;c.f=a?S:function(I,w){if(I=g(I),w=m(w,!0),b)try{return S(I,w)}catch{}if(h(I,w))return u(!r.f.call(I,w),I[w])}},"0cfb":function(n,c,t){var a=t("83ab"),r=t("d039"),u=t("cc12");n.exports=!a&&!r(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(n,c,t){var a=t("23e7"),r=t("d58f").left,u=t("a640"),g=t("ae40"),m=u("reduce"),h=g("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!h},{reduce:function(S){return r(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(n,c,t){var a=t("c6b6"),r=t("9263");n.exports=function(u,g){var m=u.exec;if(typeof m=="function"){var h=m.call(u,g);if(typeof h!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return h}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return r.call(u,g)}},"159b":function(n,c,t){var a=t("da84"),r=t("fdbc"),u=t("17c2"),g=t("9112");for(var m in r){var h=a[m],b=h&&h.prototype;if(b&&b.forEach!==u)try{g(b,"forEach",u)}catch{b.forEach=u}}},"17c2":function(n,c,t){var a=t("b727").forEach,r=t("a640"),u=t("ae40"),g=r("forEach"),m=u("forEach");n.exports=!g||!m?function(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(n,c,t){var a=t("d066");n.exports=a("document","documentElement")},"1c0b":function(n,c){n.exports=function(t){if(typeof t!="function")throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(n,c,t){var a=t("b622"),r=a("iterator"),u=!1;try{var g=0,m={next:function(){return{done:!!g++}},return:function(){u=!0}};m[r]=function(){return this},Array.from(m,function(){throw 2})}catch{}n.exports=function(h,b){if(!b&&!u)return!1;var S=!1;try{var E={};E[r]=function(){return{next:function(){return{done:S=!0}}}},h(E)}catch{}return S}},"1d80":function(n,c){n.exports=function(t){if(t==null)throw TypeError("Can't call method on "+t);return t}},"1dde":function(n,c,t){var a=t("d039"),r=t("b622"),u=t("2d00"),g=r("species");n.exports=function(m){return u>=51||!a(function(){var h=[],b=h.constructor={};return b[g]=function(){return{foo:1}},h[m](Boolean).foo!==1})}},"23cb":function(n,c,t){var a=t("a691"),r=Math.max,u=Math.min;n.exports=function(g,m){var h=a(g);return h<0?r(h+m,0):u(h,m)}},"23e7":function(n,c,t){var a=t("da84"),r=t("06cf").f,u=t("9112"),g=t("6eeb"),m=t("ce4e"),h=t("e893"),b=t("94ca");n.exports=function(S,E){var I=S.target,w=S.global,O=S.stat,M,T,B,U,ee,z;if(w?T=a:O?T=a[I]||m(I,{}):T=(a[I]||{}).prototype,T)for(B in E){if(ee=E[B],S.noTargetGet?(z=r(T,B),U=z&&z.value):U=T[B],M=b(w?B:I+(O?".":"#")+B,S.forced),!M&&U!==void 0){if(typeof ee==typeof U)continue;h(ee,U)}(S.sham||U&&U.sham)&&u(ee,"sham",!0),g(T,B,ee,S)}}},"241c":function(n,c,t){var a=t("ca84"),r=t("7839"),u=r.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(m){return a(m,u)}},"25f0":function(n,c,t){var a=t("6eeb"),r=t("825a"),u=t("d039"),g=t("ad6d"),m="toString",h=RegExp.prototype,b=h[m],S=u(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),E=b.name!=m;(S||E)&&a(RegExp.prototype,m,function(){var w=r(this),O=String(w.source),M=w.flags,T=String(M===void 0&&w instanceof RegExp&&!("flags"in h)?g.call(w):M);return"/"+O+"/"+T},{unsafe:!0})},"2ca0":function(n,c,t){var a=t("23e7"),r=t("06cf").f,u=t("50c4"),g=t("5a34"),m=t("1d80"),h=t("ab13"),b=t("c430"),S="".startsWith,E=Math.min,I=h("startsWith"),w=!b&&!I&&!!function(){var O=r(String.prototype,"startsWith");return O&&!O.writable}();a({target:"String",proto:!0,forced:!w&&!I},{startsWith:function(M){var T=String(m(this));g(M);var B=u(E(arguments.length>1?arguments[1]:void 0,T.length)),U=String(M);return S?S.call(T,U,B):T.slice(B,B+U.length)===U}})},"2d00":function(n,c,t){var a=t("da84"),r=t("342f"),u=a.process,g=u&&u.versions,m=g&&g.v8,h,b;m?(h=m.split("."),b=h[0]+h[1]):r&&(h=r.match(/Edge\/(\d+)/),(!h||h[1]>=74)&&(h=r.match(/Chrome\/(\d+)/),h&&(b=h[1]))),n.exports=b&&+b},"342f":function(n,c,t){var a=t("d066");n.exports=a("navigator","userAgent")||""},"35a1":function(n,c,t){var a=t("f5df"),r=t("3f8c"),u=t("b622"),g=u("iterator");n.exports=function(m){if(m!=null)return m[g]||m["@@iterator"]||r[a(m)]}},"37e8":function(n,c,t){var a=t("83ab"),r=t("9bf2"),u=t("825a"),g=t("df75");n.exports=a?Object.defineProperties:function(h,b){u(h);for(var S=g(b),E=S.length,I=0,w;E>I;)r.f(h,w=S[I++],b[w]);return h}},"3bbe":function(n,c,t){var a=t("861d");n.exports=function(r){if(!a(r)&&r!==null)throw TypeError("Can't set "+String(r)+" as a prototype");return r}},"3ca3":function(n,c,t){var a=t("6547").charAt,r=t("69f3"),u=t("7dd0"),g="String Iterator",m=r.set,h=r.getterFor(g);u(String,"String",function(b){m(this,{type:g,string:String(b),index:0})},function(){var S=h(this),E=S.string,I=S.index,w;return I>=E.length?{value:void 0,done:!0}:(w=a(E,I),S.index+=w.length,{value:w,done:!1})})},"3f8c":function(n,c){n.exports={}},4160:function(n,c,t){var a=t("23e7"),r=t("17c2");a({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},"428f":function(n,c,t){var a=t("da84");n.exports=a},"44ad":function(n,c,t){var a=t("d039"),r=t("c6b6"),u="".split;n.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(g){return r(g)=="String"?u.call(g,""):Object(g)}:Object},"44d2":function(n,c,t){var a=t("b622"),r=t("7c73"),u=t("9bf2"),g=a("unscopables"),m=Array.prototype;m[g]==null&&u.f(m,g,{configurable:!0,value:r(null)}),n.exports=function(h){m[g][h]=!0}},"44e7":function(n,c,t){var a=t("861d"),r=t("c6b6"),u=t("b622"),g=u("match");n.exports=function(m){var h;return a(m)&&((h=m[g])!==void 0?!!h:r(m)=="RegExp")}},4930:function(n,c,t){var a=t("d039");n.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(n,c,t){var a=t("fc6a"),r=t("50c4"),u=t("23cb"),g=function(m){return function(h,b,S){var E=a(h),I=r(E.length),w=u(S,I),O;if(m&&b!=b){for(;I>w;)if(O=E[w++],O!=O)return!0}else for(;I>w;w++)if((m||w in E)&&E[w]===b)return m||w||0;return!m&&-1}};n.exports={includes:g(!0),indexOf:g(!1)}},"4de4":function(n,c,t){var a=t("23e7"),r=t("b727").filter,u=t("1dde"),g=t("ae40"),m=u("filter"),h=g("filter");a({target:"Array",proto:!0,forced:!m||!h},{filter:function(S){return r(this,S,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(n,c,t){var a=t("0366"),r=t("7b0b"),u=t("9bdd"),g=t("e95a"),m=t("50c4"),h=t("8418"),b=t("35a1");n.exports=function(E){var I=r(E),w=typeof this=="function"?this:Array,O=arguments.length,M=O>1?arguments[1]:void 0,T=M!==void 0,B=b(I),U=0,ee,z,K,X,_,se;if(T&&(M=a(M,O>2?arguments[2]:void 0,2)),B!=null&&!(w==Array&&g(B)))for(X=B.call(I),_=X.next,z=new w;!(K=_.call(X)).done;U++)se=T?u(X,M,[K.value,U],!0):K.value,h(z,U,se);else for(ee=m(I.length),z=new w(ee);ee>U;U++)se=T?M(I[U],U):I[U],h(z,U,se);return z.length=U,z}},"4fad":function(n,c,t){var a=t("23e7"),r=t("6f53").entries;a({target:"Object",stat:!0},{entries:function(g){return r(g)}})},"50c4":function(n,c,t){var a=t("a691"),r=Math.min;n.exports=function(u){return u>0?r(a(u),9007199254740991):0}},5135:function(n,c){var t={}.hasOwnProperty;n.exports=function(a,r){return t.call(a,r)}},5319:function(n,c,t){var a=t("d784"),r=t("825a"),u=t("7b0b"),g=t("50c4"),m=t("a691"),h=t("1d80"),b=t("8aa5"),S=t("14c3"),E=Math.max,I=Math.min,w=Math.floor,O=/\$([$&'`]|\d\d?|<[^>]*>)/g,M=/\$([$&'`]|\d\d?)/g,T=function(B){return B===void 0?B:String(B)};a("replace",2,function(B,U,ee,z){var K=z.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,X=z.REPLACE_KEEPS_$0,_=K?"$":"$0";return[function($,J){var Z=h(this),ie=$==null?void 0:$[B];return ie!==void 0?ie.call($,Z,J):U.call(String(Z),$,J)},function(L,$){if(!K&&X||typeof $=="string"&&$.indexOf(_)===-1){var J=ee(U,L,this,$);if(J.done)return J.value}var Z=r(L),ie=String(this),Ee=typeof $=="function";Ee||($=String($));var De=Z.global;if(De){var Ze=Z.unicode;Z.lastIndex=0}for(var ke=[];;){var Be=S(Z,ie);if(Be===null||(ke.push(Be),!De))break;var Oe=String(Be[0]);Oe===""&&(Z.lastIndex=b(ie,g(Z.lastIndex),Ze))}for(var Ye="",Pe=0,Ae=0;Ae<ke.length;Ae++){Be=ke[Ae];for(var Me=String(Be[0]),dt=E(I(m(Be.index),ie.length),0),ot=[],ut=1;ut<Be.length;ut++)ot.push(T(Be[ut]));var ct=Be.groups;if(Ee){var Nt=[Me].concat(ot,dt,ie);ct!==void 0&&Nt.push(ct);var qe=String($.apply(void 0,Nt))}else qe=se(Me,ie,dt,ot,ct,$);dt>=Pe&&(Ye+=ie.slice(Pe,dt)+qe,Pe=dt+Me.length)}return Ye+ie.slice(Pe)}];function se(L,$,J,Z,ie,Ee){var De=J+L.length,Ze=Z.length,ke=M;return ie!==void 0&&(ie=u(ie),ke=O),U.call(Ee,ke,function(Be,Oe){var Ye;switch(Oe.charAt(0)){case"$":return"$";case"&":return L;case"`":return $.slice(0,J);case"'":return $.slice(De);case"<":Ye=ie[Oe.slice(1,-1)];break;default:var Pe=+Oe;if(Pe===0)return Be;if(Pe>Ze){var Ae=w(Pe/10);return Ae===0?Be:Ae<=Ze?Z[Ae-1]===void 0?Oe.charAt(1):Z[Ae-1]+Oe.charAt(1):Be}Ye=Z[Pe-1]}return Ye===void 0?"":Ye})}})},5692:function(n,c,t){var a=t("c430"),r=t("c6cd");(n.exports=function(u,g){return r[u]||(r[u]=g!==void 0?g:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(n,c,t){var a=t("d066"),r=t("241c"),u=t("7418"),g=t("825a");n.exports=a("Reflect","ownKeys")||function(h){var b=r.f(g(h)),S=u.f;return S?b.concat(S(h)):b}},"5a34":function(n,c,t){var a=t("44e7");n.exports=function(r){if(a(r))throw TypeError("The method doesn't accept regular expressions");return r}},"5c6c":function(n,c){n.exports=function(t,a){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:a}}},"5db7":function(n,c,t){var a=t("23e7"),r=t("a2bf"),u=t("7b0b"),g=t("50c4"),m=t("1c0b"),h=t("65f0");a({target:"Array",proto:!0},{flatMap:function(S){var E=u(this),I=g(E.length),w;return m(S),w=h(E,0),w.length=r(w,E,E,I,0,1,S,arguments.length>1?arguments[1]:void 0),w}})},6547:function(n,c,t){var a=t("a691"),r=t("1d80"),u=function(g){return function(m,h){var b=String(r(m)),S=a(h),E=b.length,I,w;return S<0||S>=E?g?"":void 0:(I=b.charCodeAt(S),I<55296||I>56319||S+1===E||(w=b.charCodeAt(S+1))<56320||w>57343?g?b.charAt(S):I:g?b.slice(S,S+2):(I-55296<<10)+(w-56320)+65536)}};n.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(n,c,t){var a=t("861d"),r=t("e8b5"),u=t("b622"),g=u("species");n.exports=function(m,h){var b;return r(m)&&(b=m.constructor,typeof b=="function"&&(b===Array||r(b.prototype))?b=void 0:a(b)&&(b=b[g],b===null&&(b=void 0))),new(b===void 0?Array:b)(h===0?0:h)}},"69f3":function(n,c,t){var a=t("7f9a"),r=t("da84"),u=t("861d"),g=t("9112"),m=t("5135"),h=t("f772"),b=t("d012"),S=r.WeakMap,E,I,w,O=function(K){return w(K)?I(K):E(K,{})},M=function(K){return function(X){var _;if(!u(X)||(_=I(X)).type!==K)throw TypeError("Incompatible receiver, "+K+" required");return _}};if(a){var T=new S,B=T.get,U=T.has,ee=T.set;E=function(K,X){return ee.call(T,K,X),X},I=function(K){return B.call(T,K)||{}},w=function(K){return U.call(T,K)}}else{var z=h("state");b[z]=!0,E=function(K,X){return g(K,z,X),X},I=function(K){return m(K,z)?K[z]:{}},w=function(K){return m(K,z)}}n.exports={set:E,get:I,has:w,enforce:O,getterFor:M}},"6eeb":function(n,c,t){var a=t("da84"),r=t("9112"),u=t("5135"),g=t("ce4e"),m=t("8925"),h=t("69f3"),b=h.get,S=h.enforce,E=String(String).split("String");(n.exports=function(I,w,O,M){var T=M?!!M.unsafe:!1,B=M?!!M.enumerable:!1,U=M?!!M.noTargetGet:!1;if(typeof O=="function"&&(typeof w=="string"&&!u(O,"name")&&r(O,"name",w),S(O).source=E.join(typeof w=="string"?w:"")),I===a){B?I[w]=O:g(w,O);return}else T?!U&&I[w]&&(B=!0):delete I[w];B?I[w]=O:r(I,w,O)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||m(this)})},"6f53":function(n,c,t){var a=t("83ab"),r=t("df75"),u=t("fc6a"),g=t("d1e7").f,m=function(h){return function(b){for(var S=u(b),E=r(S),I=E.length,w=0,O=[],M;I>w;)M=E[w++],(!a||g.call(S,M))&&O.push(h?[M,S[M]]:S[M]);return O}};n.exports={entries:m(!0),values:m(!1)}},"73d9":function(n,c,t){var a=t("44d2");a("flatMap")},7418:function(n,c){c.f=Object.getOwnPropertySymbols},"746f":function(n,c,t){var a=t("428f"),r=t("5135"),u=t("e538"),g=t("9bf2").f;n.exports=function(m){var h=a.Symbol||(a.Symbol={});r(h,m)||g(h,m,{value:u.f(m)})}},7839:function(n,c){n.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(n,c,t){var a=t("1d80");n.exports=function(r){return Object(a(r))}},"7c73":function(n,c,t){var a=t("825a"),r=t("37e8"),u=t("7839"),g=t("d012"),m=t("1be4"),h=t("cc12"),b=t("f772"),S=">",E="<",I="prototype",w="script",O=b("IE_PROTO"),M=function(){},T=function(K){return E+w+S+K+E+"/"+w+S},B=function(K){K.write(T("")),K.close();var X=K.parentWindow.Object;return K=null,X},U=function(){var K=h("iframe"),X="java"+w+":",_;return K.style.display="none",m.appendChild(K),K.src=String(X),_=K.contentWindow.document,_.open(),_.write(T("document.F=Object")),_.close(),_.F},ee,z=function(){try{ee=document.domain&&new ActiveXObject("htmlfile")}catch{}z=ee?B(ee):U();for(var K=u.length;K--;)delete z[I][u[K]];return z()};g[O]=!0,n.exports=Object.create||function(X,_){var se;return X!==null?(M[I]=a(X),se=new M,M[I]=null,se[O]=X):se=z(),_===void 0?se:r(se,_)}},"7dd0":function(n,c,t){var a=t("23e7"),r=t("9ed3"),u=t("e163"),g=t("d2bb"),m=t("d44e"),h=t("9112"),b=t("6eeb"),S=t("b622"),E=t("c430"),I=t("3f8c"),w=t("ae93"),O=w.IteratorPrototype,M=w.BUGGY_SAFARI_ITERATORS,T=S("iterator"),B="keys",U="values",ee="entries",z=function(){return this};n.exports=function(K,X,_,se,L,$,J){r(_,X,se);var Z=function(Ae){if(Ae===L&&ke)return ke;if(!M&&Ae in De)return De[Ae];switch(Ae){case B:return function(){return new _(this,Ae)};case U:return function(){return new _(this,Ae)};case ee:return function(){return new _(this,Ae)}}return function(){return new _(this)}},ie=X+" Iterator",Ee=!1,De=K.prototype,Ze=De[T]||De["@@iterator"]||L&&De[L],ke=!M&&Ze||Z(L),Be=X=="Array"&&De.entries||Ze,Oe,Ye,Pe;if(Be&&(Oe=u(Be.call(new K)),O!==Object.prototype&&Oe.next&&(!E&&u(Oe)!==O&&(g?g(Oe,O):typeof Oe[T]!="function"&&h(Oe,T,z)),m(Oe,ie,!0,!0),E&&(I[ie]=z))),L==U&&Ze&&Ze.name!==U&&(Ee=!0,ke=function(){return Ze.call(this)}),(!E||J)&&De[T]!==ke&&h(De,T,ke),I[X]=ke,L)if(Ye={values:Z(U),keys:$?ke:Z(B),entries:Z(ee)},J)for(Pe in Ye)(M||Ee||!(Pe in De))&&b(De,Pe,Ye[Pe]);else a({target:X,proto:!0,forced:M||Ee},Ye);return Ye}},"7f9a":function(n,c,t){var a=t("da84"),r=t("8925"),u=a.WeakMap;n.exports=typeof u=="function"&&/native code/.test(r(u))},"825a":function(n,c,t){var a=t("861d");n.exports=function(r){if(!a(r))throw TypeError(String(r)+" is not an object");return r}},"83ab":function(n,c,t){var a=t("d039");n.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(n,c,t){var a=t("c04e"),r=t("9bf2"),u=t("5c6c");n.exports=function(g,m,h){var b=a(m);b in g?r.f(g,b,u(0,h)):g[b]=h}},"861d":function(n,c){n.exports=function(t){return typeof t=="object"?t!==null:typeof t=="function"}},8875:function(n,c,t){var a,r,u;(function(g,m){r=[],a=m,u=typeof a=="function"?a.apply(c,r):a,u!==void 0&&(n.exports=u)})(typeof self<"u"?self:this,function(){function g(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==g&&document.currentScript)return document.currentScript;try{throw new Error}catch(ee){var h=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,S=h.exec(ee.stack)||b.exec(ee.stack),E=S&&S[1]||!1,I=S&&S[2]||!1,w=document.location.href.replace(document.location.hash,""),O,M,T,B=document.getElementsByTagName("script");E===w&&(O=document.documentElement.outerHTML,M=new RegExp("(?:[^\\n]+?\\n){0,"+(I-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),T=O.replace(M,"$1").trim());for(var U=0;U<B.length;U++)if(B[U].readyState==="interactive"||B[U].src===E||E===w&&B[U].innerHTML&&B[U].innerHTML.trim()===T)return B[U];return null}}return g})},8925:function(n,c,t){var a=t("c6cd"),r=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return r.call(u)}),n.exports=a.inspectSource},"8aa5":function(n,c,t){var a=t("6547").charAt;n.exports=function(r,u,g){return u+(g?a(r,u).length:1)}},"8bbf":function(n,c){n.exports=o},"90e3":function(n,c){var t=0,a=Math.random();n.exports=function(r){return"Symbol("+String(r===void 0?"":r)+")_"+(++t+a).toString(36)}},9112:function(n,c,t){var a=t("83ab"),r=t("9bf2"),u=t("5c6c");n.exports=a?function(g,m,h){return r.f(g,m,u(1,h))}:function(g,m,h){return g[m]=h,g}},9263:function(n,c,t){var a=t("ad6d"),r=t("9f7f"),u=RegExp.prototype.exec,g=String.prototype.replace,m=u,h=function(){var I=/a/,w=/b*/g;return u.call(I,"a"),u.call(w,"a"),I.lastIndex!==0||w.lastIndex!==0}(),b=r.UNSUPPORTED_Y||r.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,E=h||S||b;E&&(m=function(w){var O=this,M,T,B,U,ee=b&&O.sticky,z=a.call(O),K=O.source,X=0,_=w;return ee&&(z=z.replace("y",""),z.indexOf("g")===-1&&(z+="g"),_=String(w).slice(O.lastIndex),O.lastIndex>0&&(!O.multiline||O.multiline&&w[O.lastIndex-1]!==`
- `)&&(K="(?: "+K+")",_=" "+_,X++),T=new RegExp("^(?:"+K+")",z)),S&&(T=new RegExp("^"+K+"$(?!\\s)",z)),h&&(M=O.lastIndex),B=u.call(ee?T:O,_),ee?B?(B.input=B.input.slice(X),B[0]=B[0].slice(X),B.index=O.lastIndex,O.lastIndex+=B[0].length):O.lastIndex=0:h&&B&&(O.lastIndex=O.global?B.index+B[0].length:M),S&&B&&B.length>1&&g.call(B[0],T,function(){for(U=1;U<arguments.length-2;U++)arguments[U]===void 0&&(B[U]=void 0)}),B}),n.exports=m},"94ca":function(n,c,t){var a=t("d039"),r=/#|\.prototype\./,u=function(S,E){var I=m[g(S)];return I==b?!0:I==h?!1:typeof E=="function"?a(E):!!E},g=u.normalize=function(S){return String(S).replace(r,".").toLowerCase()},m=u.data={},h=u.NATIVE="N",b=u.POLYFILL="P";n.exports=u},"99af":function(n,c,t){var a=t("23e7"),r=t("d039"),u=t("e8b5"),g=t("861d"),m=t("7b0b"),h=t("50c4"),b=t("8418"),S=t("65f0"),E=t("1dde"),I=t("b622"),w=t("2d00"),O=I("isConcatSpreadable"),M=9007199254740991,T="Maximum allowed index exceeded",B=w>=51||!r(function(){var K=[];return K[O]=!1,K.concat()[0]!==K}),U=E("concat"),ee=function(K){if(!g(K))return!1;var X=K[O];return X!==void 0?!!X:u(K)},z=!B||!U;a({target:"Array",proto:!0,forced:z},{concat:function(X){var _=m(this),se=S(_,0),L=0,$,J,Z,ie,Ee;for($=-1,Z=arguments.length;$<Z;$++)if(Ee=$===-1?_:arguments[$],ee(Ee)){if(ie=h(Ee.length),L+ie>M)throw TypeError(T);for(J=0;J<ie;J++,L++)J in Ee&&b(se,L,Ee[J])}else{if(L>=M)throw TypeError(T);b(se,L++,Ee)}return se.length=L,se}})},"9bdd":function(n,c,t){var a=t("825a");n.exports=function(r,u,g,m){try{return m?u(a(g)[0],g[1]):u(g)}catch(b){var h=r.return;throw h!==void 0&&a(h.call(r)),b}}},"9bf2":function(n,c,t){var a=t("83ab"),r=t("0cfb"),u=t("825a"),g=t("c04e"),m=Object.defineProperty;c.f=a?m:function(b,S,E){if(u(b),S=g(S,!0),u(E),r)try{return m(b,S,E)}catch{}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(b[S]=E.value),b}},"9ed3":function(n,c,t){var a=t("ae93").IteratorPrototype,r=t("7c73"),u=t("5c6c"),g=t("d44e"),m=t("3f8c"),h=function(){return this};n.exports=function(b,S,E){var I=S+" Iterator";return b.prototype=r(a,{next:u(1,E)}),g(b,I,!1,!0),m[I]=h,b}},"9f7f":function(n,c,t){var a=t("d039");function r(u,g){return RegExp(u,g)}c.UNSUPPORTED_Y=a(function(){var u=r("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),c.BROKEN_CARET=a(function(){var u=r("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(n,c,t){var a=t("e8b5"),r=t("50c4"),u=t("0366"),g=function(m,h,b,S,E,I,w,O){for(var M=E,T=0,B=w?u(w,O,3):!1,U;T<S;){if(T in b){if(U=B?B(b[T],T,h):b[T],I>0&&a(U))M=g(m,h,U,r(U.length),M,I-1)-1;else{if(M>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[M]=U}M++}T++}return M};n.exports=g},a352:function(n,c){n.exports=d},a434:function(n,c,t){var a=t("23e7"),r=t("23cb"),u=t("a691"),g=t("50c4"),m=t("7b0b"),h=t("65f0"),b=t("8418"),S=t("1dde"),E=t("ae40"),I=S("splice"),w=E("splice",{ACCESSORS:!0,0:0,1:2}),O=Math.max,M=Math.min,T=9007199254740991,B="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!I||!w},{splice:function(ee,z){var K=m(this),X=g(K.length),_=r(ee,X),se=arguments.length,L,$,J,Z,ie,Ee;if(se===0?L=$=0:se===1?(L=0,$=X-_):(L=se-2,$=M(O(u(z),0),X-_)),X+L-$>T)throw TypeError(B);for(J=h(K,$),Z=0;Z<$;Z++)ie=_+Z,ie in K&&b(J,Z,K[ie]);if(J.length=$,L<$){for(Z=_;Z<X-$;Z++)ie=Z+$,Ee=Z+L,ie in K?K[Ee]=K[ie]:delete K[Ee];for(Z=X;Z>X-$+L;Z--)delete K[Z-1]}else if(L>$)for(Z=X-$;Z>_;Z--)ie=Z+$-1,Ee=Z+L-1,ie in K?K[Ee]=K[ie]:delete K[Ee];for(Z=0;Z<L;Z++)K[Z+_]=arguments[Z+2];return K.length=X-$+L,J}})},a4d3:function(n,c,t){var a=t("23e7"),r=t("da84"),u=t("d066"),g=t("c430"),m=t("83ab"),h=t("4930"),b=t("fdbf"),S=t("d039"),E=t("5135"),I=t("e8b5"),w=t("861d"),O=t("825a"),M=t("7b0b"),T=t("fc6a"),B=t("c04e"),U=t("5c6c"),ee=t("7c73"),z=t("df75"),K=t("241c"),X=t("057f"),_=t("7418"),se=t("06cf"),L=t("9bf2"),$=t("d1e7"),J=t("9112"),Z=t("6eeb"),ie=t("5692"),Ee=t("f772"),De=t("d012"),Ze=t("90e3"),ke=t("b622"),Be=t("e538"),Oe=t("746f"),Ye=t("d44e"),Pe=t("69f3"),Ae=t("b727").forEach,Me=Ee("hidden"),dt="Symbol",ot="prototype",ut=ke("toPrimitive"),ct=Pe.set,Nt=Pe.getterFor(dt),qe=Object[ot],_e=r.Symbol,zt=u("JSON","stringify"),Tt=se.f,Dt=L.f,xn=X.f,Qn=$.f,It=ie("symbols"),jt=ie("op-symbols"),_t=ie("string-to-symbol-registry"),sn=ie("symbol-to-string-registry"),dn=ie("wks"),un=r.QObject,cn=!un||!un[ot]||!un[ot].findChild,en=m&&S(function(){return ee(Dt({},"a",{get:function(){return Dt(this,"a",{value:7}).a}})).a!=7})?function(q,ne,le){var he=Tt(qe,ne);he&&delete qe[ne],Dt(q,ne,le),he&&q!==qe&&Dt(qe,ne,he)}:Dt,fn=function(q,ne){var le=It[q]=ee(_e[ot]);return ct(le,{type:dt,tag:q,description:ne}),m||(le.description=ne),le},C=b?function(q){return typeof q=="symbol"}:function(q){return Object(q)instanceof _e},A=function(ne,le,he){ne===qe&&A(jt,le,he),O(ne);var ye=B(le,!0);return O(he),E(It,ye)?(he.enumerable?(E(ne,Me)&&ne[Me][ye]&&(ne[Me][ye]=!1),he=ee(he,{enumerable:U(0,!1)})):(E(ne,Me)||Dt(ne,Me,U(1,{})),ne[Me][ye]=!0),en(ne,ye,he)):Dt(ne,ye,he)},V=function(ne,le){O(ne);var he=T(le),ye=z(he).concat(xe(he));return Ae(ye,function(ft){(!m||te.call(he,ft))&&A(ne,ft,he[ft])}),ne},j=function(ne,le){return le===void 0?ee(ne):V(ee(ne),le)},te=function(ne){var le=B(ne,!0),he=Qn.call(this,le);return this===qe&&E(It,le)&&!E(jt,le)?!1:he||!E(this,le)||!E(It,le)||E(this,Me)&&this[Me][le]?he:!0},de=function(ne,le){var he=T(ne),ye=B(le,!0);if(!(he===qe&&E(It,ye)&&!E(jt,ye))){var ft=Tt(he,ye);return ft&&E(It,ye)&&!(E(he,Me)&&he[Me][ye])&&(ft.enumerable=!0),ft}},ve=function(ne){var le=xn(T(ne)),he=[];return Ae(le,function(ye){!E(It,ye)&&!E(De,ye)&&he.push(ye)}),he},xe=function(ne){var le=ne===qe,he=xn(le?jt:T(ne)),ye=[];return Ae(he,function(ft){E(It,ft)&&(!le||E(qe,ft))&&ye.push(It[ft])}),ye};if(h||(_e=function(){if(this instanceof _e)throw TypeError("Symbol is not a constructor");var ne=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),le=Ze(ne),he=function(ye){this===qe&&he.call(jt,ye),E(this,Me)&&E(this[Me],le)&&(this[Me][le]=!1),en(this,le,U(1,ye))};return m&&cn&&en(qe,le,{configurable:!0,set:he}),fn(le,ne)},Z(_e[ot],"toString",function(){return Nt(this).tag}),Z(_e,"withoutSetter",function(q){return fn(Ze(q),q)}),$.f=te,L.f=A,se.f=de,K.f=X.f=ve,_.f=xe,Be.f=function(q){return fn(ke(q),q)},m&&(Dt(_e[ot],"description",{configurable:!0,get:function(){return Nt(this).description}}),g||Z(qe,"propertyIsEnumerable",te,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:_e}),Ae(z(dn),function(q){Oe(q)}),a({target:dt,stat:!0,forced:!h},{for:function(q){var ne=String(q);if(E(_t,ne))return _t[ne];var le=_e(ne);return _t[ne]=le,sn[le]=ne,le},keyFor:function(ne){if(!C(ne))throw TypeError(ne+" is not a symbol");if(E(sn,ne))return sn[ne]},useSetter:function(){cn=!0},useSimple:function(){cn=!1}}),a({target:"Object",stat:!0,forced:!h,sham:!m},{create:j,defineProperty:A,defineProperties:V,getOwnPropertyDescriptor:de}),a({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:ve,getOwnPropertySymbols:xe}),a({target:"Object",stat:!0,forced:S(function(){_.f(1)})},{getOwnPropertySymbols:function(ne){return _.f(M(ne))}}),zt){var Ne=!h||S(function(){var q=_e();return zt([q])!="[null]"||zt({a:q})!="{}"||zt(Object(q))!="{}"});a({target:"JSON",stat:!0,forced:Ne},{stringify:function(ne,le,he){for(var ye=[ne],ft=1,In;arguments.length>ft;)ye.push(arguments[ft++]);if(In=le,!(!w(le)&&ne===void 0||C(ne)))return I(le)||(le=function(ti,vn){if(typeof In=="function"&&(vn=In.call(this,ti,vn)),!C(vn))return vn}),ye[1]=le,zt.apply(null,ye)}})}_e[ot][ut]||J(_e[ot],ut,_e[ot].valueOf),Ye(_e,dt),De[Me]=!0},a630:function(n,c,t){var a=t("23e7"),r=t("4df4"),u=t("1c7e"),g=!u(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:g},{from:r})},a640:function(n,c,t){var a=t("d039");n.exports=function(r,u){var g=[][r];return!!g&&a(function(){g.call(null,u||function(){throw 1},1)})}},a691:function(n,c){var t=Math.ceil,a=Math.floor;n.exports=function(r){return isNaN(r=+r)?0:(r>0?a:t)(r)}},ab13:function(n,c,t){var a=t("b622"),r=a("match");n.exports=function(u){var g=/./;try{"/./"[u](g)}catch{try{return g[r]=!1,"/./"[u](g)}catch{}}return!1}},ac1f:function(n,c,t){var a=t("23e7"),r=t("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},ad6d:function(n,c,t){var a=t("825a");n.exports=function(){var r=a(this),u="";return r.global&&(u+="g"),r.ignoreCase&&(u+="i"),r.multiline&&(u+="m"),r.dotAll&&(u+="s"),r.unicode&&(u+="u"),r.sticky&&(u+="y"),u}},ae40:function(n,c,t){var a=t("83ab"),r=t("d039"),u=t("5135"),g=Object.defineProperty,m={},h=function(b){throw b};n.exports=function(b,S){if(u(m,b))return m[b];S||(S={});var E=[][b],I=u(S,"ACCESSORS")?S.ACCESSORS:!1,w=u(S,0)?S[0]:h,O=u(S,1)?S[1]:void 0;return m[b]=!!E&&!r(function(){if(I&&!a)return!0;var M={length:-1};I?g(M,1,{enumerable:!0,get:h}):M[1]=1,E.call(M,w,O)})}},ae93:function(n,c,t){var a=t("e163"),r=t("9112"),u=t("5135"),g=t("b622"),m=t("c430"),h=g("iterator"),b=!1,S=function(){return this},E,I,w;[].keys&&(w=[].keys(),"next"in w?(I=a(a(w)),I!==Object.prototype&&(E=I)):b=!0),E==null&&(E={}),!m&&!u(E,h)&&r(E,h,S),n.exports={IteratorPrototype:E,BUGGY_SAFARI_ITERATORS:b}},b041:function(n,c,t){var a=t("00ee"),r=t("f5df");n.exports=a?{}.toString:function(){return"[object "+r(this)+"]"}},b0c0:function(n,c,t){var a=t("83ab"),r=t("9bf2").f,u=Function.prototype,g=u.toString,m=/^\s*function ([^ (]*)/,h="name";a&&!(h in u)&&r(u,h,{configurable:!0,get:function(){try{return g.call(this).match(m)[1]}catch{return""}}})},b622:function(n,c,t){var a=t("da84"),r=t("5692"),u=t("5135"),g=t("90e3"),m=t("4930"),h=t("fdbf"),b=r("wks"),S=a.Symbol,E=h?S:S&&S.withoutSetter||g;n.exports=function(I){return u(b,I)||(m&&u(S,I)?b[I]=S[I]:b[I]=E("Symbol."+I)),b[I]}},b64b:function(n,c,t){var a=t("23e7"),r=t("7b0b"),u=t("df75"),g=t("d039"),m=g(function(){u(1)});a({target:"Object",stat:!0,forced:m},{keys:function(b){return u(r(b))}})},b727:function(n,c,t){var a=t("0366"),r=t("44ad"),u=t("7b0b"),g=t("50c4"),m=t("65f0"),h=[].push,b=function(S){var E=S==1,I=S==2,w=S==3,O=S==4,M=S==6,T=S==5||M;return function(B,U,ee,z){for(var K=u(B),X=r(K),_=a(U,ee,3),se=g(X.length),L=0,$=z||m,J=E?$(B,se):I?$(B,0):void 0,Z,ie;se>L;L++)if((T||L in X)&&(Z=X[L],ie=_(Z,L,K),S)){if(E)J[L]=ie;else if(ie)switch(S){case 3:return!0;case 5:return Z;case 6:return L;case 2:h.call(J,Z)}else if(O)return!1}return M?-1:w||O?O:J}};n.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},c04e:function(n,c,t){var a=t("861d");n.exports=function(r,u){if(!a(r))return r;var g,m;if(u&&typeof(g=r.toString)=="function"&&!a(m=g.call(r))||typeof(g=r.valueOf)=="function"&&!a(m=g.call(r))||!u&&typeof(g=r.toString)=="function"&&!a(m=g.call(r)))return m;throw TypeError("Can't convert object to primitive value")}},c430:function(n,c){n.exports=!1},c6b6:function(n,c){var t={}.toString;n.exports=function(a){return t.call(a).slice(8,-1)}},c6cd:function(n,c,t){var a=t("da84"),r=t("ce4e"),u="__core-js_shared__",g=a[u]||r(u,{});n.exports=g},c740:function(n,c,t){var a=t("23e7"),r=t("b727").findIndex,u=t("44d2"),g=t("ae40"),m="findIndex",h=!0,b=g(m);m in[]&&Array(1)[m](function(){h=!1}),a({target:"Array",proto:!0,forced:h||!b},{findIndex:function(E){return r(this,E,arguments.length>1?arguments[1]:void 0)}}),u(m)},c8ba:function(n,c){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch{typeof window=="object"&&(t=window)}n.exports=t},c975:function(n,c,t){var a=t("23e7"),r=t("4d64").indexOf,u=t("a640"),g=t("ae40"),m=[].indexOf,h=!!m&&1/[1].indexOf(1,-0)<0,b=u("indexOf"),S=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:h||!b||!S},{indexOf:function(I){return h?m.apply(this,arguments)||0:r(this,I,arguments.length>1?arguments[1]:void 0)}})},ca84:function(n,c,t){var a=t("5135"),r=t("fc6a"),u=t("4d64").indexOf,g=t("d012");n.exports=function(m,h){var b=r(m),S=0,E=[],I;for(I in b)!a(g,I)&&a(b,I)&&E.push(I);for(;h.length>S;)a(b,I=h[S++])&&(~u(E,I)||E.push(I));return E}},caad:function(n,c,t){var a=t("23e7"),r=t("4d64").includes,u=t("44d2"),g=t("ae40"),m=g("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(b){return r(this,b,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(n,c,t){var a=t("da84"),r=t("861d"),u=a.document,g=r(u)&&r(u.createElement);n.exports=function(m){return g?u.createElement(m):{}}},ce4e:function(n,c,t){var a=t("da84"),r=t("9112");n.exports=function(u,g){try{r(a,u,g)}catch{a[u]=g}return g}},d012:function(n,c){n.exports={}},d039:function(n,c){n.exports=function(t){try{return!!t()}catch{return!0}}},d066:function(n,c,t){var a=t("428f"),r=t("da84"),u=function(g){return typeof g=="function"?g:void 0};n.exports=function(g,m){return arguments.length<2?u(a[g])||u(r[g]):a[g]&&a[g][m]||r[g]&&r[g][m]}},d1e7:function(n,c,t){var a={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,u=r&&!a.call({1:2},1);c.f=u?function(m){var h=r(this,m);return!!h&&h.enumerable}:a},d28b:function(n,c,t){var a=t("746f");a("iterator")},d2bb:function(n,c,t){var a=t("825a"),r=t("3bbe");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,g={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(g,[]),u=g instanceof Array}catch{}return function(b,S){return a(b),r(S),u?m.call(b,S):b.__proto__=S,b}}():void 0)},d3b7:function(n,c,t){var a=t("00ee"),r=t("6eeb"),u=t("b041");a||r(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(n,c,t){var a=t("9bf2").f,r=t("5135"),u=t("b622"),g=u("toStringTag");n.exports=function(m,h,b){m&&!r(m=b?m:m.prototype,g)&&a(m,g,{configurable:!0,value:h})}},d58f:function(n,c,t){var a=t("1c0b"),r=t("7b0b"),u=t("44ad"),g=t("50c4"),m=function(h){return function(b,S,E,I){a(S);var w=r(b),O=u(w),M=g(w.length),T=h?M-1:0,B=h?-1:1;if(E<2)for(;;){if(T in O){I=O[T],T+=B;break}if(T+=B,h?T<0:M<=T)throw TypeError("Reduce of empty array with no initial value")}for(;h?T>=0:M>T;T+=B)T in O&&(I=S(I,O[T],T,w));return I}};n.exports={left:m(!1),right:m(!0)}},d784:function(n,c,t){t("ac1f");var a=t("6eeb"),r=t("d039"),u=t("b622"),g=t("9263"),m=t("9112"),h=u("species"),b=!r(function(){var O=/./;return O.exec=function(){var M=[];return M.groups={a:"7"},M},"".replace(O,"$<a>")!=="7"}),S=function(){return"a".replace(/./,"$0")==="$0"}(),E=u("replace"),I=function(){return/./[E]?/./[E]("a","$0")==="":!1}(),w=!r(function(){var O=/(?:)/,M=O.exec;O.exec=function(){return M.apply(this,arguments)};var T="ab".split(O);return T.length!==2||T[0]!=="a"||T[1]!=="b"});n.exports=function(O,M,T,B){var U=u(O),ee=!r(function(){var L={};return L[U]=function(){return 7},""[O](L)!=7}),z=ee&&!r(function(){var L=!1,$=/a/;return O==="split"&&($={},$.constructor={},$.constructor[h]=function(){return $},$.flags="",$[U]=/./[U]),$.exec=function(){return L=!0,null},$[U](""),!L});if(!ee||!z||O==="replace"&&!(b&&S&&!I)||O==="split"&&!w){var K=/./[U],X=T(U,""[O],function(L,$,J,Z,ie){return $.exec===g?ee&&!ie?{done:!0,value:K.call($,J,Z)}:{done:!0,value:L.call(J,$,Z)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:I}),_=X[0],se=X[1];a(String.prototype,O,_),a(RegExp.prototype,U,M==2?function(L,$){return se.call(L,this,$)}:function(L){return se.call(L,this)})}B&&m(RegExp.prototype[U],"sham",!0)}},d81d:function(n,c,t){var a=t("23e7"),r=t("b727").map,u=t("1dde"),g=t("ae40"),m=u("map"),h=g("map");a({target:"Array",proto:!0,forced:!m||!h},{map:function(S){return r(this,S,arguments.length>1?arguments[1]:void 0)}})},da84:function(n,c,t){(function(a){var r=function(u){return u&&u.Math==Math&&u};n.exports=r(typeof globalThis=="object"&&globalThis)||r(typeof window=="object"&&window)||r(typeof self=="object"&&self)||r(typeof a=="object"&&a)||Function("return this")()}).call(this,t("c8ba"))},dbb4:function(n,c,t){var a=t("23e7"),r=t("83ab"),u=t("56ef"),g=t("fc6a"),m=t("06cf"),h=t("8418");a({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(S){for(var E=g(S),I=m.f,w=u(E),O={},M=0,T,B;w.length>M;)B=I(E,T=w[M++]),B!==void 0&&h(O,T,B);return O}})},dbf1:function(n,c,t){(function(a){t.d(c,"a",function(){return u});function r(){return typeof window<"u"?window.console:a.console}var u=r()}).call(this,t("c8ba"))},ddb0:function(n,c,t){var a=t("da84"),r=t("fdbc"),u=t("e260"),g=t("9112"),m=t("b622"),h=m("iterator"),b=m("toStringTag"),S=u.values;for(var E in r){var I=a[E],w=I&&I.prototype;if(w){if(w[h]!==S)try{g(w,h,S)}catch{w[h]=S}if(w[b]||g(w,b,E),r[E]){for(var O in u)if(w[O]!==u[O])try{g(w,O,u[O])}catch{w[O]=u[O]}}}}},df75:function(n,c,t){var a=t("ca84"),r=t("7839");n.exports=Object.keys||function(g){return a(g,r)}},e01a:function(n,c,t){var a=t("23e7"),r=t("83ab"),u=t("da84"),g=t("5135"),m=t("861d"),h=t("9bf2").f,b=t("e893"),S=u.Symbol;if(r&&typeof S=="function"&&(!("description"in S.prototype)||S().description!==void 0)){var E={},I=function(){var U=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ee=this instanceof I?new S(U):U===void 0?S():S(U);return U===""&&(E[ee]=!0),ee};b(I,S);var w=I.prototype=S.prototype;w.constructor=I;var O=w.toString,M=String(S("test"))=="Symbol(test)",T=/^Symbol\((.*)\)[^)]+$/;h(w,"description",{configurable:!0,get:function(){var U=m(this)?this.valueOf():this,ee=O.call(U);if(g(E,U))return"";var z=M?ee.slice(7,-1):ee.replace(T,"$1");return z===""?void 0:z}}),a({global:!0,forced:!0},{Symbol:I})}},e163:function(n,c,t){var a=t("5135"),r=t("7b0b"),u=t("f772"),g=t("e177"),m=u("IE_PROTO"),h=Object.prototype;n.exports=g?Object.getPrototypeOf:function(b){return b=r(b),a(b,m)?b[m]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?h:null}},e177:function(n,c,t){var a=t("d039");n.exports=!a(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})},e260:function(n,c,t){var a=t("fc6a"),r=t("44d2"),u=t("3f8c"),g=t("69f3"),m=t("7dd0"),h="Array Iterator",b=g.set,S=g.getterFor(h);n.exports=m(Array,"Array",function(E,I){b(this,{type:h,target:a(E),index:0,kind:I})},function(){var E=S(this),I=E.target,w=E.kind,O=E.index++;return!I||O>=I.length?(E.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:O,done:!1}:w=="values"?{value:I[O],done:!1}:{value:[O,I[O]],done:!1}},"values"),u.Arguments=u.Array,r("keys"),r("values"),r("entries")},e439:function(n,c,t){var a=t("23e7"),r=t("d039"),u=t("fc6a"),g=t("06cf").f,m=t("83ab"),h=r(function(){g(1)}),b=!m||h;a({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(E,I){return g(u(E),I)}})},e538:function(n,c,t){var a=t("b622");c.f=a},e893:function(n,c,t){var a=t("5135"),r=t("56ef"),u=t("06cf"),g=t("9bf2");n.exports=function(m,h){for(var b=r(h),S=g.f,E=u.f,I=0;I<b.length;I++){var w=b[I];a(m,w)||S(m,w,E(h,w))}}},e8b5:function(n,c,t){var a=t("c6b6");n.exports=Array.isArray||function(u){return a(u)=="Array"}},e95a:function(n,c,t){var a=t("b622"),r=t("3f8c"),u=a("iterator"),g=Array.prototype;n.exports=function(m){return m!==void 0&&(r.Array===m||g[u]===m)}},f5df:function(n,c,t){var a=t("00ee"),r=t("c6b6"),u=t("b622"),g=u("toStringTag"),m=r(function(){return arguments}())=="Arguments",h=function(b,S){try{return b[S]}catch{}};n.exports=a?r:function(b){var S,E,I;return b===void 0?"Undefined":b===null?"Null":typeof(E=h(S=Object(b),g))=="string"?E:m?r(S):(I=r(S))=="Object"&&typeof S.callee=="function"?"Arguments":I}},f772:function(n,c,t){var a=t("5692"),r=t("90e3"),u=a("keys");n.exports=function(g){return u[g]||(u[g]=r(g))}},fb15:function(n,c,t){if(t.r(c),typeof window<"u"){var a=window.document.currentScript;{var r=t("8875");a=r(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:r})}var u=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(t.p=u[1])}t("99af"),t("4de4"),t("4160"),t("c975"),t("d81d"),t("a434"),t("159b"),t("a4d3"),t("e439"),t("dbb4"),t("b64b");function g(C,A,V){return A in C?Object.defineProperty(C,A,{value:V,enumerable:!0,configurable:!0,writable:!0}):C[A]=V,C}function m(C,A){var V=Object.keys(C);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(C);A&&(j=j.filter(function(te){return Object.getOwnPropertyDescriptor(C,te).enumerable})),V.push.apply(V,j)}return V}function h(C){for(var A=1;A<arguments.length;A++){var V=arguments[A]!=null?arguments[A]:{};A%2?m(Object(V),!0).forEach(function(j){g(C,j,V[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(V)):m(Object(V)).forEach(function(j){Object.defineProperty(C,j,Object.getOwnPropertyDescriptor(V,j))})}return C}function b(C){if(Array.isArray(C))return C}t("e01a"),t("d28b"),t("e260"),t("d3b7"),t("3ca3"),t("ddb0");function S(C,A){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(C)))){var V=[],j=!0,te=!1,de=void 0;try{for(var ve=C[Symbol.iterator](),xe;!(j=(xe=ve.next()).done)&&(V.push(xe.value),!(A&&V.length===A));j=!0);}catch(Ne){te=!0,de=Ne}finally{try{!j&&ve.return!=null&&ve.return()}finally{if(te)throw de}}return V}}t("a630"),t("fb6a"),t("b0c0"),t("25f0");function E(C,A){(A==null||A>C.length)&&(A=C.length);for(var V=0,j=new Array(A);V<A;V++)j[V]=C[V];return j}function I(C,A){if(C){if(typeof C=="string")return E(C,A);var V=Object.prototype.toString.call(C).slice(8,-1);if(V==="Object"&&C.constructor&&(V=C.constructor.name),V==="Map"||V==="Set")return Array.from(C);if(V==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(V))return E(C,A)}}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 O(C,A){return b(C)||S(C,A)||I(C,A)||w()}function M(C){if(Array.isArray(C))return E(C)}function T(C){if(typeof Symbol<"u"&&Symbol.iterator in Object(C))return Array.from(C)}function B(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(C){return M(C)||T(C)||I(C)||B()}var ee=t("a352"),z=t.n(ee);function K(C){C.parentElement!==null&&C.parentElement.removeChild(C)}function X(C,A,V){var j=V===0?C.children[0]:C.children[V-1].nextSibling;C.insertBefore(A,j)}var _=t("dbf1");t("13d5"),t("4fad"),t("ac1f"),t("5319");function se(C){var A=Object.create(null);return function(j){var te=A[j];return te||(A[j]=C(j))}}var L=/-(\w)/g,$=se(function(C){return C.replace(L,function(A,V){return V.toUpperCase()})});t("5db7"),t("73d9");var J=["Start","Add","Remove","Update","End"],Z=["Choose","Unchoose","Sort","Filter","Clone"],ie=["Move"],Ee=[ie,J,Z].flatMap(function(C){return C}).map(function(C){return"on".concat(C)}),De={manage:ie,manageAndEmit:J,emit:Z};function Ze(C){return Ee.indexOf(C)!==-1}t("caad"),t("2ca0");var ke=["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 Be(C){return ke.includes(C)}function Oe(C){return["transition-group","TransitionGroup"].includes(C)}function Ye(C){return["id","class","role","style"].includes(C)||C.startsWith("data-")||C.startsWith("aria-")||C.startsWith("on")}function Pe(C){return C.reduce(function(A,V){var j=O(V,2),te=j[0],de=j[1];return A[te]=de,A},{})}function Ae(C){var A=C.$attrs,V=C.componentData,j=V===void 0?{}:V,te=Pe(Object.entries(A).filter(function(de){var ve=O(de,2),xe=ve[0];return ve[1],Ye(xe)}));return h(h({},te),j)}function Me(C){var A=C.$attrs,V=C.callBackBuilder,j=Pe(dt(A));Object.entries(V).forEach(function(de){var ve=O(de,2),xe=ve[0],Ne=ve[1];De[xe].forEach(function(q){j["on".concat(q)]=Ne(q)})});var te="[data-draggable]".concat(j.draggable||"");return h(h({},j),{},{draggable:te})}function dt(C){return Object.entries(C).filter(function(A){var V=O(A,2),j=V[0];return V[1],!Ye(j)}).map(function(A){var V=O(A,2),j=V[0],te=V[1];return[$(j),te]}).filter(function(A){var V=O(A,2),j=V[0];return V[1],!Ze(j)})}t("c740");function ot(C,A){if(!(C instanceof A))throw new TypeError("Cannot call a class as a function")}function ut(C,A){for(var V=0;V<A.length;V++){var j=A[V];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(C,j.key,j)}}function ct(C,A,V){return A&&ut(C.prototype,A),C}var Nt=function(A){var V=A.el;return V},qe=function(A,V){return A.__draggable_context=V},_e=function(A){return A.__draggable_context},zt=function(){function C(A){var V=A.nodes,j=V.header,te=V.default,de=V.footer,ve=A.root,xe=A.realList;ot(this,C),this.defaultNodes=te,this.children=[].concat(U(j),U(te),U(de)),this.externalComponent=ve.externalComponent,this.rootTransition=ve.transition,this.tag=ve.tag,this.realList=xe}return ct(C,[{key:"render",value:function(V,j){var te=this.tag,de=this.children,ve=this._isRootComponent,xe=ve?{default:function(){return de}}:de;return V(te,j,xe)}},{key:"updated",value:function(){var V=this.defaultNodes,j=this.realList;V.forEach(function(te,de){qe(Nt(te),{element:j[de],index:de})})}},{key:"getUnderlyingVm",value:function(V){return _e(V)}},{key:"getVmIndexFromDomIndex",value:function(V,j){var te=this.defaultNodes,de=te.length,ve=j.children,xe=ve.item(V);if(xe===null)return de;var Ne=_e(xe);if(Ne)return Ne.index;if(de===0)return 0;var q=Nt(te[0]),ne=U(ve).findIndex(function(le){return le===q});return V<ne?0:de}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),C}(),Tt=t("8bbf");function Dt(C,A){var V=C[A];return V?V():[]}function xn(C){var A=C.$slots,V=C.realList,j=C.getKey,te=V||[],de=["header","footer"].map(function(le){return Dt(A,le)}),ve=O(de,2),xe=ve[0],Ne=ve[1],q=A.item;if(!q)throw new Error("draggable element must have an item slot");var ne=te.flatMap(function(le,he){return q({element:le,index:he}).map(function(ye){return ye.key=j(le),ye.props=h(h({},ye.props||{}),{},{"data-draggable":!0}),ye})});if(ne.length!==te.length)throw new Error("Item slot must have only one child");return{header:xe,footer:Ne,default:ne}}function Qn(C){var A=Oe(C),V=!Be(C)&&!A;return{transition:A,externalComponent:V,tag:V?Object(Tt.resolveComponent)(C):A?Tt.TransitionGroup:C}}function It(C){var A=C.$slots,V=C.tag,j=C.realList,te=C.getKey,de=xn({$slots:A,realList:j,getKey:te}),ve=Qn(V);return new zt({nodes:de,root:ve,realList:j})}function jt(C,A){var V=this;Object(Tt.nextTick)(function(){return V.$emit(C.toLowerCase(),A)})}function _t(C){var A=this;return function(V,j){if(A.realList!==null)return A["onDrag".concat(C)](V,j)}}function sn(C){var A=this,V=_t.call(this,C);return function(j,te){V.call(A,j,te),jt.call(A,C,j)}}var dn=null,un={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(A){return A}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},cn=["update:modelValue","change"].concat(U([].concat(U(De.manageAndEmit),U(De.emit)).map(function(C){return C.toLowerCase()}))),en=Object(Tt.defineComponent)({name:"draggable",inheritAttrs:!1,props:un,emits:cn,data:function(){return{error:!1}},render:function(){try{this.error=!1;var A=this.$slots,V=this.$attrs,j=this.tag,te=this.componentData,de=this.realList,ve=this.getKey,xe=It({$slots:A,tag:j,realList:de,getKey:ve});this.componentStructure=xe;var Ne=Ae({$attrs:V,componentData:te});return xe.render(Tt.h,Ne)}catch(q){return this.error=!0,Object(Tt.h)("pre",{style:{color:"red"}},q.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&_.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var A=this;if(!this.error){var V=this.$attrs,j=this.$el,te=this.componentStructure;te.updated();var de=Me({$attrs:V,callBackBuilder:{manageAndEmit:function(Ne){return sn.call(A,Ne)},emit:function(Ne){return jt.bind(A,Ne)},manage:function(Ne){return _t.call(A,Ne)}}}),ve=j.nodeType===1?j:j.parentElement;this._sortable=new z.a(ve,de),this.targetDomElement=ve,ve.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var A=this.list;return A||this.modelValue},getKey:function(){var A=this.itemKey;return typeof A=="function"?A:function(V){return V[A]}}},watch:{$attrs:{handler:function(A){var V=this._sortable;V&&dt(A).forEach(function(j){var te=O(j,2),de=te[0],ve=te[1];V.option(de,ve)})},deep:!0}},methods:{getUnderlyingVm:function(A){return this.componentStructure.getUnderlyingVm(A)||null},getUnderlyingPotencialDraggableComponent:function(A){return A.__draggable_component__},emitChanges:function(A){var V=this;Object(Tt.nextTick)(function(){return V.$emit("change",A)})},alterList:function(A){if(this.list){A(this.list);return}var V=U(this.modelValue);A(V),this.$emit("update:modelValue",V)},spliceList:function(){var A=arguments,V=function(te){return te.splice.apply(te,U(A))};this.alterList(V)},updatePosition:function(A,V){var j=function(de){return de.splice(V,0,de.splice(A,1)[0])};this.alterList(j)},getRelatedContextFromMoveEvent:function(A){var V=A.to,j=A.related,te=this.getUnderlyingPotencialDraggableComponent(V);if(!te)return{component:te};var de=te.realList,ve={list:de,component:te};if(V!==j&&de){var xe=te.getUnderlyingVm(j)||{};return h(h({},xe),ve)}return ve},getVmIndexFromDomIndex:function(A){return this.componentStructure.getVmIndexFromDomIndex(A,this.targetDomElement)},onDragStart:function(A){this.context=this.getUnderlyingVm(A.item),A.item._underlying_vm_=this.clone(this.context.element),dn=A.item},onDragAdd:function(A){var V=A.item._underlying_vm_;if(V!==void 0){K(A.item);var j=this.getVmIndexFromDomIndex(A.newIndex);this.spliceList(j,0,V);var te={element:V,newIndex:j};this.emitChanges({added:te})}},onDragRemove:function(A){if(X(this.$el,A.item,A.oldIndex),A.pullMode==="clone"){K(A.clone);return}var V=this.context,j=V.index,te=V.element;this.spliceList(j,1);var de={element:te,oldIndex:j};this.emitChanges({removed:de})},onDragUpdate:function(A){K(A.item),X(A.from,A.item,A.oldIndex);var V=this.context.index,j=this.getVmIndexFromDomIndex(A.newIndex);this.updatePosition(V,j);var te={element:this.context.element,oldIndex:V,newIndex:j};this.emitChanges({moved:te})},computeFutureIndex:function(A,V){if(!A.element)return 0;var j=U(V.to.children).filter(function(xe){return xe.style.display!=="none"}),te=j.indexOf(V.related),de=A.component.getVmIndexFromDomIndex(te),ve=j.indexOf(dn)!==-1;return ve||!V.willInsertAfter?de:de+1},onDragMove:function(A,V){var j=this.move,te=this.realList;if(!j||!te)return!0;var de=this.getRelatedContextFromMoveEvent(A),ve=this.computeFutureIndex(de,A),xe=h(h({},this.context),{},{futureIndex:ve}),Ne=h(h({},A),{},{relatedContext:de,draggedContext:xe});return j(Ne,V)},onDragEnd:function(){dn=null}}}),fn=en;c.default=fn},fb6a:function(n,c,t){var a=t("23e7"),r=t("861d"),u=t("e8b5"),g=t("23cb"),m=t("50c4"),h=t("fc6a"),b=t("8418"),S=t("b622"),E=t("1dde"),I=t("ae40"),w=E("slice"),O=I("slice",{ACCESSORS:!0,0:0,1:2}),M=S("species"),T=[].slice,B=Math.max;a({target:"Array",proto:!0,forced:!w||!O},{slice:function(ee,z){var K=h(this),X=m(K.length),_=g(ee,X),se=g(z===void 0?X:z,X),L,$,J;if(u(K)&&(L=K.constructor,typeof L=="function"&&(L===Array||u(L.prototype))?L=void 0:r(L)&&(L=L[M],L===null&&(L=void 0)),L===Array||L===void 0))return T.call(K,_,se);for($=new(L===void 0?Array:L)(B(se-_,0)),J=0;_<se;_++,J++)_ in K&&b($,J,K[_]);return $.length=J,$}})},fc6a:function(n,c,t){var a=t("44ad"),r=t("1d80");n.exports=function(u){return a(r(u))}},fdbc:function(n,c){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,c,t){var a=t("4930");n.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(ya);var Qs=ya.exports;const ga=Bl(Qs);function ha(l,i){["name","gender","phone","id_card","ethnicity","height","weight","current_address","household_location","marital_status","expected_salary"].forEach(n=>{i[n]&&(l[n].visible=i[n].visible,l[n].required=i[n].required)}),["family_member","education","work_experience"].forEach(n=>{i[n]&&(l[n].visible=i[n].visible,Object.keys(i[n].fields).forEach(c=>{l[n].fields[c]&&(l[n].fields[c].visible=i[n].fields[c].visible,l[n].fields[c].required=i[n].fields[c].required)}))})}const Gs={class:"position-detail-container"},zs={class:"header-container"},$s={class:"header-actions"},Js={class:"detail-content"},Ws={class:"detail-item"},Hs={key:0,class:"detail-value"},Ys={key:1,class:"title-edit-container"},Xs={class:"title-edit-actions"},Zs={class:"detail-item"},qs={key:0,class:"detail-value"},_s={key:1,class:"title-edit-container"},ed={class:"title-edit-actions"},td={class:"detail-item"},nd={key:0,class:"detail-value"},od={key:1,class:"title-edit-container"},id={class:"title-edit-actions"},ad={class:"detail-item"},rd={key:0,class:"detail-value"},ld={key:1,class:"title-edit-container"},sd={class:"title-edit-actions"},dd={class:"detail-item"},ud={key:0,class:"detail-value"},cd={key:1,class:"title-edit-container"},fd={class:"title-edit-actions"},vd={class:"detail-item"},pd={key:0,class:"detail-value"},md={key:1,class:"title-edit-container"},gd={class:"title-edit-actions"},hd={class:"detail-item"},yd={class:"detail-value"},bd={class:"detail-item"},Sd={key:0,class:"detail-value"},Ed={key:1,class:"title-edit-container"},xd={class:"title-edit-actions"},Id={class:"detail-item"},Cd=["innerHTML"],Ad={key:2,class:"title-edit-container"},wd={class:"title-edit-actions"},Od={class:"detail-item"},Td=["innerHTML"],Dd={key:2,class:"title-edit-container"},Pd={class:"title-edit-actions"},Vd={class:"detail-item"},Rd={key:0,class:"detail-value"},Ud={key:1,class:"title-edit-container"},Kd={class:"title-edit-actions"},Md={class:"status-cards"},kd={class:"status-switch"},Bd={class:"status-text"},Nd={class:"section-title"},jd={class:"usage-content"},Fd={key:0,class:"usage-value"},Ld={key:1,class:"title-edit-container"},Qd={class:"title-edit-actions"},Gd={class:"section-title"},zd={class:"process-steps"},$d={class:"step-number"},Jd={class:"step-content"},Wd={class:"step-title"},Hd={class:"section-title"},Yd={class:"process-dialog-content"},Xd={key:0,class:"add-process-btn-top"},Zd={class:"process-number"},qd={class:"process-edit-content"},_d={class:"process-edit-desc"},eu={key:0,class:"process-edit-btn"},tu=["onClick"],nu={class:"dialog-footer"},ou={class:"ai-video-steps"},iu={key:0,class:"ai-video-content","element-loading-text":"正在生成能力标签..."},au={class:"ai-video-options"},ru={class:"recommended-dimensions"},lu={class:"dimension-grid"},su={class:"ability-label"},du={class:"optional-dimensions"},uu={class:"header-row"},cu={class:"right_btn"},fu={class:"dimension-grid"},vu={class:"ability-label"},pu={class:"custom-dimensions"},mu={class:"dimension-form"},gu={class:"dimension-row"},hu={class:"dimension-input"},yu={class:"dimension-input"},bu={class:"dimension-actions"},Su={key:1,class:"ai-video-content"},Eu={class:"interview-settings"},xu={class:"interview-header"},Iu={class:"interview-actions"},Cu={class:"question-switches"},Au={class:"switch-item"},wu={class:"switch-item"},Ou={class:"interview-duration"},Tu={class:"duration-value"},Du={class:"interview-content"},Pu={class:"interview-questions-container","element-loading-text":"AI正在生成题目..."},Vu={key:0,class:"no-questions"},Ru={key:1,class:"question-list"},Uu={class:"question-card"},Ku={class:"question-header"},Mu={class:"question-title"},ku={class:"title-content"},Bu={class:"question-content"},Nu={class:"question-number"},ju={style:{color:"#0017ab"}},Fu={class:"question-tags"},Lu={key:0,class:"more-tags-indicator"},Qu={class:"question-actions",style:{"margin-top":"0px"}},Gu={class:"question-info"},zu={class:"info-item"},$u={key:0,class:"question-actions"},Ju={class:"answer-limit"},Wu={class:"answer-limit"},Hu={key:1,class:"question-actions"},Yu={class:"answer-limit"},Xu={class:"multi-dimension-questions"},Zu={class:"dimension-list"},qu={class:"dimension-header"},_u={class:"dimension-info"},ec={class:"ability-name"},tc=["onClick"],nc={key:2,class:"ai-video-content"},oc={class:"system-settings"},ic={class:"setting-section"},ac={style:{display:"flex","align-items":"flex-start"}},rc={style:{width:"100px",height:"170px","background-color":"#f2f2f2","margin-right":"30px","border-radius":"10px",overflow:"hidden"}},lc=["src"],sc={class:"interviewer-avatars"},dc=["onClick"],uc={class:"avatar-wrapper"},cc=["src","alt"],fc=["title"],vc={class:"setting-item",style:{border:"none"}},pc={class:"setting-options"},mc={class:"interview-settings"},gc={class:"setting-item"},hc={class:"setting-item"},yc={class:"setting-options"},bc={class:"setting-item"},Sc={class:"drawer-footer"},Ec={class:"video-lecture-form"},xc={class:"form-item"},Ic={class:"upload-area"},Cc={class:"form-item"},Ac={class:"dialog-footer"},wc={class:"ai-chat-content"},Oc={class:"chat-settings"},Tc={class:"chat-actions"},Dc={class:"chat-questions"},Pc={key:0,class:"empty-questions"},Vc={key:1,class:"question-list"},Rc={class:"question-card"},Uc={class:"question-header"},Kc={class:"question-title"},Mc={class:"question-number"},kc={class:"question-actions"},Bc={class:"weight-control"},Nc={class:"answer-limit"},jc={class:"question-info"},Fc={class:"info-item"},Lc={class:"info-item"},Qc={class:"info-item"},Gc={class:"drawer-footer"},zc={class:"question-form"},$c={class:"form-item"},Jc={class:"form-item"},Wc={class:"form-item"},Hc={class:"competency-config"},Yc={class:"tag-name"},Xc={class:"form-tip"},Zc={class:"form-item"},qc={class:"form-item"},_c={key:0,class:"form-item"},ef=["onClick"],tf={class:"form-item"},nf={class:"form-item"},of={class:"form-item"},af={class:"form-item"},rf={class:"dialog-footer"},lf={class:"question-select-content"},sf={class:"custom-tree-node"},df={class:"node-label",style:{display:"flex","align-items":"center"}},uf={class:"ml-2"},cf={class:"dialog-footer"},ff={class:"data-collection-form"},vf={class:"field-config-panel"},pf={class:"field-config-list"},mf={class:"field-config-item"},gf={class:"field-label"},hf={class:"field-config-item"},yf={class:"field-label"},bf={class:"field-config-item sub-field"},Sf={class:"field-label"},Ef={class:"field-config-item"},xf={class:"field-label"},If={class:"field-config-item sub-field"},Cf={class:"field-label"},Af={class:"field-config-item"},wf={class:"field-label"},Of={class:"field-config-item"},Tf={class:"field-label"},Df={class:"field-config-item sub-field"},Pf={class:"field-label"},Vf={class:"dialog-footer"},Rf={class:"resume-collection-form"},Uf={class:"form-item"},Kf={class:"dialog-footer"},Mf={class:"code-test-form"},kf={class:"form-item"},Bf={class:"form-item"},Nf={class:"switch-label"},jf={class:"form-item"},Ff={class:"test-paper-selector"},Lf={key:0,class:"empty-paper"},Qf={key:1,class:"selected-paper"},Gf={class:"paper-info"},zf={class:"paper-title"},$f={class:"paper-meta"},Jf={class:"paper-actions"},Wf={class:"dialog-footer"},Hf={class:"typing-test-form"},Yf={class:"form-item"},Xf={class:"article-selection"},Zf={class:"form-item"},qf={class:"form-item"},_f={class:"time-input-container"},ev={class:"form-item"},tv={class:"upload-area"},nv={class:"form-item"},ov={class:"form-item"},iv={class:"form-item"},av={class:"form-item"},rv={class:"criteria-options"},lv={class:"dialog-footer"},sv={class:"interview-settings-content"},dv={class:"settings-section"},uv={class:"setting-item"},cv={class:"setting-item"},fv={class:"setting-item"},vv={class:"setting-item"},pv={class:"setting-item"},mv={class:"settings-section"},gv={class:"setting-item"},hv={class:"setting-info"},yv={class:"setting-desc-container"},bv={class:"setting-item"},Sv={class:"setting-info"},Ev={key:0,class:"setting-desc-container"},xv={class:"setting-desc"},Iv={key:1,class:"desc-edit-container"},Cv={class:"desc-edit-actions"},Av={class:"setting-item"},wv={class:"setting-info"},Ov={key:0,class:"setting-desc-container"},Tv={class:"setting-desc"},Dv={key:1,class:"desc-edit-container"},Pv={class:"desc-edit-actions"},Vv={class:"setting-item"},Rv={class:"setting-info"},Uv={key:0,class:"setting-desc-container"},Kv={class:"setting-desc"},Mv={key:1,class:"desc-edit-container"},kv={class:"desc-edit-actions"},Bv={class:"dialog-footer"},Nv={class:"question-select-content"},jv={class:"document-box document-left-box"},Fv={class:"search-bar"},Lv={class:"search-inputs"},Qv={class:"question-lists"},Gv={class:"pagination-container"},zv={class:"dialog-footer"},$v={class:"candidate-questions-form"},Jv={class:"form-item"},Wv={class:"form-item"},Hv={class:"form-item"},Yv={class:"dialog-footer"},Xv={class:"dialog-footer"},Zv=Cl({__name:"index",setup(l){const i=Al(),o=wl(),d=G(o.query.id),n=G(!1),c=G(!1),t=f=>r.slice(0,f+1).filter(e=>e.visible).length,a=et({title:"",job_category:"",job_type_display:"",city:"",location:[],location_str:"",address_detail:"",benefits:[],requirements:"",job_type:0,salary_range:"",department:"",end_date:"",description:"",work_experience_required:"",education_required:"",competency_tags:[],options:[],status:0}),r=et([{id:6,name:"简历收集",description:"简历收集",active:!0,type:"resume_collection",visible:!0},{id:5,name:"资料收集",description:"资料收集",active:!0,type:"data_collection",visible:!0},{id:2,name:"AI考察",description:"AI考察",active:!0,type:"ai_video",visible:!0},{id:8,name:"综合素质考察",description:"综合素质考察",active:!0,type:"common_sense",visible:!0},{id:9,name:"心理问题",description:"心理问题",active:!0,type:"psychological_problem",visible:!0},{id:7,name:"候选人提问",description:"时长5分钟,最多3个问题",active:!0,type:"candidate_questions",visible:!0,config:{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}},{id:3,name:"已通过",description:"已通过",active:!0,type:"passed",visible:!0},{id:4,name:"已淘汰",description:"已淘汰",active:!1,type:"rejected",visible:!0}]),u=G(!1),g=[{label:"视频宣讲",value:"video_presentation"},{label:"简历收集",value:"resume_collection"},{label:"资料收集",value:"data_collection"},{label:"AI考察",value:"ai_video"},{label:"综合素质考察",value:"common_sense"},{label:"心理问题",value:"psychological_problem"},{label:"候选人提问",value:"candidate_questions"},{label:"肢体检测",value:"body_detection"}],m=G(!1),h=f=>{rt.pageSize=f,Xt({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,vt.page=e.data.page,vt.pageSize=e.data.limit,Wt.value=e.data.total)})},b=f=>{rt.page=f,Xt({page:rt.page,limit:rt.pageSize,question_form:lt.question_form}).then(e=>{e.data&&(rt.value=e.data.items,vt.page=e.data.page,vt.pageSize=e.data.limit,Wt.value=e.data.total)})},S=async()=>{const f=Ft.value.map(e=>e.id);if(console.log("selectedQuestionIds",f),f.length===0){R.warning("请至少选择一个问题");return}try{await ci({position_id:o.query.id,question_id:f,duration:60,tenant_id:Te.get("tenant_id")});const e=rt.value.filter(D=>D.selected);Ft.value.push(...e),R.success("问题添加成功"),m.value=!1}catch(e){console.error("添加问题失败:",e),e.code===4e3?R.warning("该题目已绑定,请选择其他题目"):R.error("添加问题失败,请重试")}},E=()=>{Rn.value=!0,ia({position_id:o.query.id}).then(f=>{f.data.forEach(e=>{e.selected=!1}),Kt.value=f.data,console.log("res",f),Rn.value=!1}).catch(f=>{console.log("err",f),Rn.value=!1})},I=Gl(),w=f=>{if(console.log("地址选择变化:",f),f&&Array.isArray(f)&&f.length>0){const[e,D,x]=f,P=I.find(ce=>ce.code===e);let F;P&&P.children&&(F=P.children.find(ce=>ce.code===D),F&&F.children&&F.children.find(ce=>ce.code===x))}},O=(f,e)=>{},M=G(-1),T=G(!1),B=et({top:"0px",left:"0px"}),U=G(!1),ee=et({qualityControl:!1,teamwork:!1,problemSolving:!1,dataAnalysis:!1,positionMatch:!1,proactiveness:!1,basicAbility:!1,communication:!1,serviceAwareness:!1,xxxx:!1}),z=G(1),K=G([{label:"沟通能力",value:"communication",level:"CC",description:"能够清晰、准确地表达想法,善于倾听和理解他人的观点,具备良好的书面和口头表达能力。",expanded:!1,isNew:!0},{label:"团队协作",value:"teamwork",level:"CC",description:"能够与团队成员有效合作,共同完成目标,具备良好的团队精神和协作意识。",expanded:!1,isNew:!1}]);et({min:0,max:100,minScore:0,maxScore:0});const X=f=>{console.log(f)};G("standard"),G(!1);const _=G(!1),se=et({title:"",videoFile:null,description:"",broadcastType:"required"}),L=G(!1);G(15),G(5);const $=G(!1),J=et({id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""}),Z=f=>f.map(e=>e.id),ie=G([]),Ee=G([{label:"后端开发",value:"backend"},{label:"前端开发",value:"frontend"},{label:"产品经理",value:"product_manager"},{label:"项目经理",value:"project_manager"},{label:"测试工程师",value:"test_engineer"}]),De=G([{label:"技术能力",value:"tech"},{label:"管理能力",value:"management"},{label:"沟通能力",value:"communication"},{label:"专业知识",value:"professional"},{label:"个人素质",value:"personal"}]),Ze=G([{label:"时间管理",value:"time_management"},{label:"压力处理",value:"pressure_handling"},{label:"团队合作",value:"team_cooperation"},{label:"问题分析",value:"problem_analysis"},{label:"创新思维",value:"innovative_thinking"}]),ke=()=>{Object.assign(J,{id:"",content:"",competency_tags:[],weight:100,level:1,type:"open",question_form:0,options:[],position:[],category:"",tags:[],suggestedDuration:60,scoring_reference:""})},Be=()=>{$.value=!1,ke()},Oe=G(!1),Ye=et({isRequired:!1,questions:[]});G([{label:"Q1",value:"q1",isVisible:!0,enableScoring:!1,isRequired:!1},{label:"请问你的毕业院校是哪里?",value:"school",isVisible:!0,enableScoring:!1,isRequired:!0}]);const Pe=G(!1),Ae=et({title:"简历收集",isRequired:!0,steps:4}),Me=()=>{Pe.value=!0},dt=()=>{Pe.value=!1,Object.assign(Ae,{title:"简历收集",isRequired:!0,steps:4})},ot=()=>{const f={id:Date.now(),name:Ae.title,description:"简历收集",active:!0,type:"resume_collection",config:{...Ae},visible:!0};r.splice(M.value,0,f),console.log(r),Pe.value=!1,R.success("简历收集步骤已添加"),dt()},ut=G(!1),ct=et({enableScoreQuestions:!1,enableColorBlindQuestions:!1,enableOpenQuestions:!1}),Nt=async()=>{try{const f=o.query.id;if(!f){R.error("职位ID不存在");return}const e=Array.isArray(f)?f[0]:f,D=f,x=await Kl(f);if(x&&x.data){Object.assign(a,x.data),ie.value=x.data.competency_tags;const P=await Mn(f);P&&P.data&&(Ve.value=P.data.id,P.data.enable_psychological_test!==void 0&&(ct.enableScoreQuestions=P.data.enable_psychological_test),P.data.enable_color_blind_test!==void 0&&(ct.enableColorBlindQuestions=P.data.enable_color_blind_test)),n.value=a.status===1}}catch(f){console.error("获取职位详情失败:",f),R.error("获取职位详情失败")}},qe=()=>{i.push("/position/list")},_e=()=>{i.push("/position/list")},zt=async f=>{const e=o.query.id;try{const D=f?1:0;if(f){const x=await Ml({position_id:e,tenant_id:Te.get("tenant_id")});if(x.code===2e3){const{is_all_completed:P,total_questions:F}=x.data;if(!P||F<=0){R.warning(`无法开启职位,原因:${F<=0?"当前职位没有设置面试题目":"面试题目视频未全部生成完成"}`),n.value=!f;return}}else{R.error("检查视频状态失败,请稍后重试"),n.value=!f;return}}await At({id:e,status:D}),a.status=D,R.success(`职位已${f?"开启":"关闭"}`)}catch(D){console.error("修改状态失败:",D),R.error("修改状态失败"),n.value=!f}},Tt=()=>{u.value=!0},Dt=()=>{u.value=!1,R.success("招聘流程已更新")},xn=()=>{u.value=!1},Qn=(f,e)=>{f.type=="ai_video"&&(U.value=!1),f.type=="ai_chat"&&(L.value=!1),f.type=="ai_video"&&Vt({id:Ve.value,enable_open_questions:!1}).then(D=>{D.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="psychological_problem"&&Vt({id:Ve.value,enable_scoring_questions:!1}).then(D=>{D.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="common_sense"&&Vt({id:Ve.value,enable_single_choice:!1,enable_multiple_choice:!1,enable_image_choice:!1,enable_fill_blank:!1}).then(D=>{D.code==2e3?R.success("删除成功"):R.error("删除失败")}),f.type=="resume_collection"&&Vt({id:Ve.value,require_resume_upload:!1}).then(D=>{D.code==2e3?R.success("删除成功"):R.error("删除失败")}),r.splice(e,1)},It=f=>({0:"未发布",1:"已发布",2:"已结束"})[f]||"未知状态",jt=f=>({0:"info",1:"success",2:"danger"})[f]||"info",_t=f=>({0:"全职",1:"兼职",2:"实习",3:"其他"})[f]||"未知",sn=(f,e)=>{M.value=f,T.value=!0,console.log(f,e);const D=e.currentTarget,x=D.closest(".process-dialog-content");if(x){const P=D.getBoundingClientRect(),F=x.getBoundingClientRect(),ce=P.bottom-F.top+5,H=P.left-F.left;B.top=`${ce}px`,B.left=`${H}px`}e.stopPropagation()},dn=async(f,e)=>{if(f==="ai_video"&&Vt({id:Ve.value,enable_open_questions:!0}).then(P=>{P.code==2e3?(r[2].visible=!0,T.value=!1):R.error("更新配置失败")}),f==="common_sense"&&Vt({id:Ve.value,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_fill_blank:!0}).then(P=>{P.code==2e3?(r[3].visible=!0,console.log("recruitmentProcess",r),T.value=!1):R.error("更新配置失败")}),f==="psychological_problem"&&Vt({id:Ve.value,enable_scoring_questions:!0}).then(P=>{P.code==2e3?(r[4].visible=!0,T.value=!1):R.error("更新配置失败")}),f==="post_render_questions"){il.value=!0,T.value=!1;return}if(f=="resume_collection"&&Vt({id:Ve.value,require_resume_upload:!0}).then(P=>{P.code==2e3?(r[0].visible=!0,R.success("新增成功")):R.error("删除失败")}),r.find(P=>!!(P.type&&P.type===f||P.name===e))){T.value=!1;return}if(f==="ai_chat"){L.value=!0,T.value=!1;return}if(f==="video_presentation"){A(),T.value=!1;return}if(f==="data_collection"){const P=await Mn(o.query.id);P&&P.data?(Ve.value=P.data.id,ha(Q,P.data.profile_fields_config),Oe.value=!0,T.value=!1):(Oe.value=!0,T.value=!1);return}if(f==="resume_collection"){Me(),T.value=!1;return}if(f==="code_test"){Ra(),T.value=!1;return}if(f==="typing_test"){zn.value=!0,T.value=!1;return}if(f==="candidate_questions"){Un.value=!0,T.value=!1;return}const x={id:Date.now(),name:e,description:e,active:!0,type:f,visible:!0};console.log("newStep",x),r.splice(M.value,0,x),T.value=!1},un=async()=>{if(z.value<3){if(z.value===1){const f=Kt.value.filter(e=>e.selected);if(f.length===0){R.warning("请至少选择一个胜任力考核维度");return}try{K.value=f.map(e=>({label:e.name,value:e.name.toLowerCase().replace(/\s+/g,"_"),id:e.id,description:e.description||"",level:"CC",expanded:!1,isNew:!0}))}catch(e){console.error("处理胜任力标签失败:",e),R.error("处理胜任力标签失败");return}}if(z.value===2){if(q.value.length===0){R.warning("请至少添加一个面试题目");return}try{await xr()}catch(f){console.error("保存题目失败:",f),R.error("保存题目失败");return}}if(z.value===3){const f=Ir();if(!f.isValid){f.messages.forEach(D=>{R.warning(D)});return}const e=wr();console.log("完整的面试配置:",e)}z.value++}else en()},cn=()=>{z.value>1&&z.value--},en=async()=>{var P;if(!gt.value||!gt.value.id){R.warning("请选择面试官形象");return}const f={id:gt.value.id,name:gt.value.name,avatar_url:gt.value.avatar_url||gt.value.image},e=ii(),D={enableScoreQuestions:ct.enableScoreQuestions,enableColorBlindQuestions:ct.enableColorBlindQuestions};try{if(await At({id:o.query.id,status:0}),a.status=0,n.value=!1,Ve.value==0){const F=await ui({position_id:o.query.id,digital_human_id:gt.value.id});if(F.code==2e3){R.success("配置保存成功");try{const ce={config_id:((P=F.data)==null?void 0:P.id)||F.data};e.beforeStartText&&e.beforeStartText.trim()!==""?(await fi(ce),console.log("开场白生成成功"),U.value=!1,z.value=1,await new Promise(me=>setTimeout(me,4e3))):console.log("无开场白配置,跳过开场白生成"),await oa(ce),R.success("视频开始生成")}catch(ce){console.error("获取开场白和视频失败:",ce),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}else if((await Vt({id:Ve.value,digital_human_id:gt.value.id})).code==2e3){R.success("配置保存成功");try{const ce={config_id:Ve.value};console.log("开始生成开场白..."),await fi(ce),console.log("开场白生成成功"),U.value=!1,z.value=1,console.log("等待4秒后开始生成视频..."),await Dr(4e3),console.log("开始生成视频..."),await oa(ce),console.log("视频生成请求已发送"),R.success("视频开始生成")}catch(ce){console.error("获取开场白和视频失败:",ce),R.warning("视频生成中,请稍后")}}else R.error("配置保存失败")}catch(F){console.error("更新职位状态失败:",F),R.error("更新职位状态失败");return}console.log("保存时选中的面试官:",f),console.log("保存时的面试设置:",e),console.log("保存时的题目设置:",D);const x={id:Date.now(),name:"AI考察",description:`已选择${K.value.length}项能力测评`,active:!0,type:"ai_video",abilities:K.value.map(F=>F.value),interviewer:f,settings:e};r.splice(M.value,0,x),U.value=!1,z.value=1,R.success("AI考察步骤已添加")},fn=()=>{U.value=!1,z.value=1},C=f=>{},A=()=>{_.value=!0},V=()=>{_.value=!1,Object.assign(se,{title:"",videoFile:null,description:"",broadcastType:"required"})},j=()=>{const f={id:Date.now(),name:se.title||"视频宣讲",description:se.description||"视频宣讲",active:!0,type:"video_presentation",config:{...se}};r.splice(M.value,0,f),_.value=!1,R.success("视频宣讲步骤已添加"),V()},te=()=>{const f={id:Date.now(),name:"AI实时对话",description:"AI实时对话",active:!0,type:"ai_chat"};r.splice(M.value,0,f),L.value=!1,R.success("AI实时对话步骤已添加")},de=()=>{L.value=!1},ve=()=>{if(!Re.title.trim()){R.warning("请输入环节名称");return}if(Re.duration<=0){R.warning("提问时长必须大于0分钟");return}if(Re.maxQuestions<=0){R.warning("最多提问数量必须大于0");return}if(so.value>=0){const f=r[so.value];f.name=Re.title,f.description=`时长${Re.duration}分钟,最多${Re.maxQuestions}个问题`,f.config={...Re},R.success("候选人提问环节已更新")}else{const f={id:Date.now(),name:Re.title,description:`时长${Re.duration}分钟,最多${Re.maxQuestions}个问题`,active:!0,type:"candidate_questions",config:{...Re},visible:!0};r.splice(M.value,0,f),R.success("候选人提问环节已添加")}Un.value=!1,Ne()},xe=()=>{Un.value=!1,Ne()},Ne=()=>{so.value=-1,Object.assign(Re,{title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]})},q=G([]),ne=si(()=>q.value.reduce((f,e)=>{switch(e.question_form){case 0:return f+60;case 1:return f+30;case 2:return f+30;default:return f+30}},0)),le=si(()=>{const f=ne.value;if(f<60)return`${f}秒`;const e=Math.floor(f/60),D=f%60;return D>0?`${e}分${D}秒`:`${e}分钟`}),he=()=>{$.value=!0},ye=()=>{Ko.value={question:"",question_form:null,competency_tags:[],position_types:[],category_id:null,tags:[],recommended_duration:60,status:1,is_required_correct:!1,is_system:!1,sort:1,options:[],scoring_reference:"",blank_answer_template:[]},Ni.value=!1,io.value=!0},ft=async f=>{try{const e=await $l({...f,tenant_id:Te.get("tenant_id")});if(e&&e.code===2e3){if(R.success("题目创建成功"),console.log(e),e.data){const D={id:e.data.id||e.data,title:f.question,question_form:f.question_form,question_form_name:ti(f.question_form),scoring_reference:f.scoring_reference||"",competency_tags:f.competency_tags||[],options:f.options||[],enable_follow_up:!1,maxAnswers:1,weight:100,source:"custom_selected"};q.value.push(D)}io.value=!1}else R.error("题目创建失败,请重试")}catch(e){console.error("创建题目失败:",e),R.error("题目创建失败,请重试")}},In=()=>{io.value=!1,Ko.value={}},ti=f=>({0:"开放问题",1:"单选题",2:"多选题",3:"色盲题",4:"得分题",5:"判断题",6:"填空题"})[f]||"未知类型",vn=f=>{const e=q.value[f];console.log(e),Object.assign(J,e),console.log(q),$.value=!0,nl()},Ri=f=>{Zi.confirm("确认删除该问题?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{q.value.splice(f,1),R.success("删除成功")})},Pa=()=>{Object.assign(Q,JSON.parse(JSON.stringify(Fi))),Oe.value=!1,Object.assign(Ye,{isRequired:!1,questions:[]})};Ol(()=>{Nt(),Mi(),Or(),Va()}),Tl(()=>{Bi()});const Va=async()=>{try{const f=o.query.id;if(f){const e=await Mn(f);e&&e.data&&(e.data.enable_psychological_test!==void 0&&(ct.enableScoreQuestions=e.data.enable_psychological_test),e.data.enable_color_blind_test!==void 0&&(ct.enableColorBlindQuestions=e.data.enable_color_blind_test),r[2].visible=e.data.question_form_switches.enable_open_questions,r[3].visible=e.data.question_form_switches.enable_single_choice||e.data.question_form_switches.enable_multiple_choice||e.data.question_form_switches.enable_image_choice||e.data.question_form_switches.enable_fill_blank,r[4].visible=e.data.question_form_switches.enable_scoring_questions,r[0].visible=e.data.require_resume_upload)}}catch(f){console.error("初始化配置状态失败:",f)}},Gn=G(!1),it=et({title:"代码笔试",autoJudge:!0,selectedPaper:null}),Ra=()=>{Gn.value=!0},Ui=()=>{Gn.value=!1,Object.assign(it,{title:"代码笔试",autoJudge:!0,selectedPaper:null})},Ua=()=>{if(!it.selectedPaper){R.warning("请添加考试试卷");return}const f={id:Date.now(),name:it.title,description:`${it.selectedPaper.title}`,active:!0,type:"code_test",config:{...it}};r.splice(M.value,0,f),Gn.value=!1,R.success("代码笔试步骤已添加"),Ui()},Ka=()=>{it.selectedPaper={id:1,title:"前端开发工程师笔试",questionCount:4,duration:60,difficulty:"中等难度"}},Ma=()=>{R.info("查看试卷功能开发中")},ka=()=>{R.info("更换试卷功能开发中")},Ba=()=>{it.selectedPaper=null},zn=G(!1),nt=et({title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]}),Ki=()=>{zn.value=!1,Object.assign(nt,{title:"",duration:5,content:"",notes:"",videoMonitoring:!1,passCriteria:{speed:!1,accuracy:!0},selectionMode:"random",pageTitle:"",previewImage:null,articles:[]})},Na=()=>{const f={id:Date.now(),name:nt.title,description:`打字测试 ${nt.duration}分钟`,active:!0,type:"typing_test",config:{...nt}};r.splice(M.value,0,f),zn.value=!1,R.success("打字测试步骤已添加"),Ki()},Ao=G(!1),Cn=G(""),ja=()=>{Cn.value=a.title,Ao.value=!0},Fa=()=>{Ao.value=!1},La=async()=>{if(!Cn.value.trim()){R.warning("职位名称不能为空");return}try{const f=o.query.id;await At({id:f,title:Cn.value.trim()}),a.title=Cn.value.trim(),Ao.value=!1,R.success("职位名称已更新")}catch(f){console.error("更新职位名称失败:",f),R.error("更新职位名称失败")}},wo=G(!1),$t=G(""),Qa=()=>{if(!a.location)$t.value="";else if(Array.isArray(a.location))$t.value=a.location;else if(typeof a.location=="string")try{const e=a.location.replace(/[\[\]']/g,"").split(",").map(F=>F.trim()),D=I.find(F=>F.name===e[0]);let x,P;D&&D.children&&(x=D.children.find(F=>F.name===e[1]),x&&x.children&&(P=x.children.find(F=>F.name===e[2]))),$t.value=[D==null?void 0:D.code,x==null?void 0:x.code,P==null?void 0:P.code].filter(Boolean)}catch(f){console.error("解析地址失败:",f),$t.value=""}wo.value=!0},Ga=()=>{wo.value=!1},za=async()=>{try{const f=o.query.id,e=[];if($t.value&&Array.isArray($t.value)){const[D,x,P]=$t.value,F=I.find(me=>me.code===D);let ce,H;F&&(e.push(F.name),F.children&&(ce=F.children.find(me=>me.code===x),ce&&(e.push(ce.name),ce.children&&(H=ce.children.find(me=>me.code===P),H&&e.push(H.name)))))}await At({id:f,location:e}),a.location=e,wo.value=!1,R.success("工作地点已更新")}catch(f){console.error("更新工作地点失败:",f),R.error("更新工作地点失败")}},Oo=G(!1),$n=G(""),$a=()=>{$n.value=a.salary_range||"",Oo.value=!0},Ja=()=>{Oo.value=!1},Wa=async()=>{try{const f=o.query.id;await At({id:f,salary_range:$n.value.trim()}),a.salary_range=$n.value.trim(),Oo.value=!1,R.success("职位薪资已更新")}catch(f){console.error("更新职位薪资失败:",f),R.error("更新职位薪资失败")}},To=G(!1),Jn=G(""),Ha=()=>{Jn.value=a.work_experience_required||"",To.value=!0},Ya=()=>{To.value=!1},Xa=async()=>{try{const f=o.query.id;await At({id:f,work_experience_required:Jn.value}),a.work_experience_required=Jn.value,To.value=!1,R.success("工作经验已更新")}catch(f){console.error("更新工作经验失败:",f),R.error("更新工作经验失败")}},Do=G(!1),Wn=G(""),Za=()=>{Wn.value=a.education_required||"",Do.value=!0},qa=()=>{Do.value=!1},_a=async()=>{try{const f=o.query.id;await At({id:f,education_required:Wn.value}),a.education_required=Wn.value,Do.value=!1,R.success("学历要求已更新")}catch(f){console.error("更新学历要求失败:",f),R.error("更新学历要求失败")}},Po=G(!1),Hn=G(""),er=()=>{Hn.value=a.department||"",Po.value=!0},tr=()=>{Po.value=!1},nr=async()=>{try{const f=o.query.id;await At({id:f,department:Hn.value.trim()}),a.department=Hn.value.trim(),Po.value=!1,R.success("所属部门已更新")}catch(f){console.error("更新所属部门失败:",f),R.error("更新所属部门失败")}},Vo=G(!1),Yn=G(""),or=()=>{Yn.value=a.end_date||"",Vo.value=!0},ir=()=>{Vo.value=!1},ar=async()=>{try{const f=o.query.id;await At({id:f,end_date:Yn.value}),a.end_date=Yn.value,Vo.value=!1,R.success("截止日期已更新")}catch(f){console.error("更新截止日期失败:",f),R.error("更新截止日期失败")}},Xn=G(!1),Zn=G(""),rr=()=>{Zn.value=a.requirements||"",Xn.value=!0},lr=()=>{Xn.value=!1},sr=async()=>{try{const f=o.query.id;await At({id:f,requirements:Zn.value}),a.requirements=Zn.value,Xn.value=!1,R.success("职位要求已更新")}catch(f){console.error("更新职位要求失败:",f),R.error("更新职位要求失败")}},qn=G(!1),_n=G(""),dr=()=>{_n.value=a.description||"",qn.value=!0},ur=()=>{qn.value=!1},cr=async()=>{try{const f=o.query.id;await At({id:f,description:_n.value}),a.description=_n.value,qn.value=!1,R.success("职位描述已更新")}catch(f){console.error("更新职位描述失败:",f),R.error("更新职位描述失败")}},An=G(!1),eo=G(0),fr=()=>{eo.value=a.job_type||0,An.value=!0},vr=()=>{An.value=!1},pr=async()=>{try{const f=o.query.id;await At({id:f,job_type:eo.value}),a.job_type=eo.value,An.value=!1,R.success("职位性质已更新")}catch(f){console.error("更新职位性质失败:",f),R.error("更新职位性质失败")}},Kt=G([]),Ro=G(!1),wn=G([]),Mi=async()=>{try{const f=await Yl({page:1,pageSize:1e3});f&&f.data}catch(f){console.error("获取能力标签列表失败:",f),R.error("获取能力标签列表失败")}},mr=async()=>{var f;await Mi(),wn.value=((f=a.competency_tags)==null?void 0:f.map(e=>e.id))||[],ie.value.forEach(e=>{e.selected=wn.value.includes(e.id)}),Ro.value=!0},gr=()=>{Ro.value=!1},hr=async()=>{try{const f=o.query.id;await At({id:f,competency_tags:wn.value}),a.competency_tags=ie.value.filter(e=>wn.value.includes(e.id)).map(e=>({id:e.id,name:e.name})),Ro.value=!1,R.success("能力标签已更新")}catch(f){console.error("更新能力标签失败:",f),R.error("更新能力标签失败")}},yr=G(null),Ve=G(0),Uo=async f=>{if(f.name==="资料收集"){const e=await Mn(o.query.id);e&&e.data&&(Ve.value=e.data.id,ha(Q,e.data.profile_fields_config),Oe.value=!0,T.value=!1);return}if(f.name==="AI考察"){if(f.action==="delete"){await ol();return}const e=await Mn(o.query.id);Rn.value=!0,yr.value=f,U.value=!0,z.value=1;try{const D=await na({position_id:o.query.id,page:1,limit:20});D&&D.data&&D.data.dataList&&(q.value=D.data.dataList.map(P=>(P.content=P.question,P.title=P.question,P.competency_tags=P.competency_tag_info,P.source="ai_generated",P)));const x=await ts({position_id:o.query.id,page:1,limit:50});if(console.log("existingTags",x),x&&x.data&&x.data.items.length>0)x.data.items.forEach(P=>{P.importance=1,P.selected=!1,a.latest_competency_snapshot&&Array.isArray(a.latest_competency_snapshot)&&(P.selected=a.latest_competency_snapshot.some(F=>F.id===P.id))}),Kt.value=x.data.items;else{const P=await ia({position_id:o.query.id});if(P&&P.data){P.data.forEach(F=>{F.selected=!1}),Kt.value=P.data;try{await es({position_id:o.query.id,tags:Kt.value}),R.success("胜任力标签保存成功")}catch(F){console.error("保存胜任力标签失败:",F),R.error("胜任力标签保存失败")}}}e&&e.data&&(Ve.value=e.data.id)}catch(D){console.error("获取或生成能力标签失败:",D),R.error("获取或生成能力标签失败")}finally{Rn.value=!1}Object.keys(ee).forEach(D=>{ee[D]=!1})}f.name==="综合素质考察"&&Xt({page:1,limit:20}).then(e=>{e.data&&(rt.value=e.data.items,vt.page=e.data.page,vt.pageSize=e.data.limit,Wt.value=e.data.total,cl(),m.value=!0)}),f.name==="心理问题"&&Xt({page:1,limit:30,question_form:4}).then(e=>{e.data&&(lt.question_form=4,rt.value=e.data.items,vt.page=e.data.page,vt.pageSize=e.data.limit,Wt.value=e.data.total,pl(),Tn.value=!0)})},tn=G(""),On=G(""),br=G(!1),Sr=async()=>{if(!tn.value.trim()){R.warning("请输入维度名称");return}if(Kt.value.find(e=>e.name===tn.value.trim())){R.warning("该维度名称已存在,请重新输入");return}try{const e=await os({name:tn.value.trim(),description:On.value.trim(),importance:1,weight:0});if(!e.data)throw new Error("创建标签失败");const D=e.data.id;await is({tag_ids:[D],position_ids:[d.value]});const x={id:D,name:tn.value.trim(),description:On.value.trim(),selected:!1,importance:1,weight:0,isCustom:!0};Kt.value.push(x),br.value,tn.value="",On.value="",console.log("添加新维度成功:",x),console.log("当前备选维度列表:",Kt.value)}catch(e){console.error("添加自定义维度失败:",e),R.error("添加自定义维度失败,请重试")}},at=et({keepVideo:!0,interruptionMode:"",smartFollowUp:!1,followUpStyle:""}),ni=G([{id:1,name:"Jessica",image:"/avatars/jessica.png"},{id:2,name:"Mike",image:"/avatars/mike.png"},{id:3,name:"Sarah",image:"/avatars/sarah.png"}]),gt=G(ni.value[0]),oi=G(""),Er=f=>{gt.value=f,console.log("选中的面试官信息:",{id:f.id,name:f.name,avatar_url:f.avatar_url||f.image}),oi.value=f.avatar_url,R.success(`已选择面试官:${f.name}`)},xr=async()=>{const f=q.value.filter(D=>D.source==="ai_generated"),e=q.value.filter(D=>D.source==="custom_selected");if(console.log("AI生成的题目:",f),console.log("自定义选择的题目:",e),f.length>0&&(await Zl({draft_ids:f.map(D=>D.id)}),console.log("AI生成的题目已保存到草稿")),e.length>0){const D={position_id:o.query.id,question_id:{question_id:e},duration:60,tenant_id:Te.get("tenant_id")};console.log("自定义选择的题目需要调用专门的接口处理");const x=await ci(D);x&&x.code===2e3?R.success("自定义选择的题目已保存"):R.error("自定义选择的题目保存失败")}},ii=()=>{const f={keepVideo:at.keepVideo,interruptionMode:at.interruptionMode,followUpStyle:at.followUpStyle,smartFollowUp:at.smartFollowUp};return console.log("当前面试设置:",f),f},to=(f,e)=>{switch(console.log(`面试设置 ${f} 已更改为:`,e),f){case"keepVideo":console.log("回答视频保留设置:",e?"开启":"关闭");break;case"interruptionMode":console.log("中断后作答限制模式:",e==="previous"?"从上一问重新作答":"从当前问题作答");break;case"followUpStyle":console.log("追问风格:",e);break;case"smartFollowUp":console.log("智慧追问设置:",e?"开启":"关闭");break}},Ir=()=>{const f=ii(),e={isValid:!0,messages:[]};return f.interruptionMode===""&&(e.isValid=!1,e.messages.push("请选择中断后作答限制模式")),e},Cr=f=>{c.value=!0,console.log("开始拖拽题目:",f)},Ar=f=>{c.value=!1,console.log("拖拽结束:",f),console.log("当前题目顺序:",q.value),R.success("题目顺序已更新")},wr=()=>({interviewer:{id:gt.value.id,name:gt.value.name,avatar_url:gt.value.avatar_url||gt.value.image},settings:ii(),questionSettings:{enableScoreQuestions:ct.enableScoreQuestions,enableColorBlindQuestions:ct.enableColorBlindQuestions},abilities:K.value,questions:q.value,currentStep:z.value}),Or=async()=>{const f=await ql({page:1,pageSize:1e3});f&&f.data&&(ni.value=f.data)},ki=(f,e)=>{e?no.value.push({name:f.name,description:f.description||"暂无描述"}):no.value=no.value.filter(D=>D.name!==f.name)},Tr=f=>{Zi.confirm("确认删除这个胜任力标签吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(()=>{const e=K.value[f];K.value.splice(f,1),no.value=no.value.filter(x=>x.name!==e.label);const D=Kt.value.find(x=>x.name===e.label);D&&(D.selected=!1),R.success("胜任力标签已删除")}).catch(()=>{})},no=G([]),Dr=f=>new Promise(e=>setTimeout(e,f));let Jt=null;const Pr=async(f,e=300,D=2e3)=>{let x=0;Jt={cancelled:!1};const P=Jt;return new Promise((F,ce)=>{const H=async()=>{try{if(P.cancelled){console.log("轮询已被取消"),F(null);return}x++,console.log(`第${x}次轮询获取草稿列表...`);const me=await na(f);if(P.cancelled){console.log("轮询已被取消"),F(null);return}if(me&&me.data&&me.data.dataList&&me.data.dataList.length>0){console.log("轮询成功,获取到草稿列表数据"),Jt=null,F(me);return}if(x>=e){console.log("轮询达到最大次数,停止轮询"),Jt=null,F(me);return}setTimeout(H,D)}catch(me){if(console.error(`第${x}次轮询失败:`,me),P.cancelled){console.log("轮询已被取消"),F(null);return}x<e?setTimeout(H,D):(Jt=null,ce(me))}};H()})},Bi=()=>{Jt&&(Jt.cancelled=!0,Jt=null,console.log("轮询已被手动取消"))},Vr=()=>{Bi(),ut.value=!1,R.info("已取消AI自动组题")},Tn=G(!1),oo=G(""),rt=G([]),Ft=G([]),io=G(!1),Ko=G({}),Ni=G(!1),Rr=G(0),Wt=G(0),lt=et({page:1,pageSize:10,keyword:"",question_form:null}),vt=et({page:1,limit:20,keyword:"",question_form:null}),Ur=async()=>{try{const f={...lt,keyword:oo.value,...lt.question_form!==null&&{question_form:lt.question_form}},e=await Xt(f);e&&e.data&&(rt.value=e.data.items,Rr.value=e.data.total)}catch(f){console.error("获取题目列表失败:",f),R.error("获取题目列表失败")}},Mo=()=>{lt.page=1,Ur()},Kr=f=>{Ft.value=f},ji=()=>{Tn.value=!1,Ft.value=[],oo.value=""},Mr=async()=>{if(Ft.value.length===0){R.warning("请至少选择一个题目");return}try{const f=Ft.value.map(D=>D.id);await ci({position_id:o.query.id,question_id:f,duration:60,tenant_id:Te.get("tenant_id")});const e=Ft.value.map(D=>({id:D.id,title:D.question||D.title,ability:D.ability||"未设置",content:D.content||D.question,target:D.target||"未设置",competency_tags:D.competency_tags||[],question_form_name:D.question_form_name,scoring_reference:D.scoring_reference,question_form:D.question_form,is_required_correct:D.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:D.options||[],source:"custom_selected"}));q.value.push(...e),Tn.value=!1,Ft.value=[],oo.value="",R.success("题目添加成功")}catch(f){console.error("添加题目失败:",f),Tn.value=!1,f.code===4e3?R.warning("该题目已绑定,请选择其他题目"):R.error("添加题目失败,请重试")}},Fi={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}}},require_professional_skills:{visible:!0,label:"专业技能",required:!0},training_fields_config:{visible:!0,label:"受过的培训",required:!0},work_experience:{visible:!0,label:"工作经历",fields:{start_time:{visible:!0,label:"开始时间",required:!0},end_time:{visible:!0,label:"结束时间",required:!0},company_name:{visible:!0,label:"单位名称",required:!0},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}}},question_form_switches:{enable_open_questions:!0,enable_single_choice:!0,enable_multiple_choice:!0,enable_image_choice:!0,enable_scoring_questions:!0,enable_follow_up_questions:!0,enable_fill_blank:!0}},Q=et(JSON.parse(JSON.stringify(Fi))),kr=async()=>{try{const f={position_id:o.query.id,require_resume_upload:!0,resume_file_types:["pdf","docx","doc"],max_resume_size_mb:10,digital_human_opening_speech:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",require_basic_info:!0,profile_fields_config:{name:{required:Q.name.required,visible:Q.name.visible},phone:{required:Q.phone.required,visible:Q.phone.visible},id_card:{required:Q.id_card.required,visible:Q.id_card.visible},gender:{required:Q.gender.required,visible:Q.gender.visible},birth_date:{required:!1,visible:!0},political_status:{required:!1,visible:!0},ethnicity:{required:Q.ethnicity.required,visible:Q.ethnicity.visible},height:{required:Q.height.required,visible:Q.height.visible},weight:{required:Q.weight.required,visible:Q.weight.visible},marital_status:{required:Q.marital_status.required,visible:Q.marital_status.visible}},require_education_info:Q.education.visible,education_fields_config:{school_name:{required:Q.education.fields.school_name.required,visible:Q.education.fields.school_name.visible},major:{required:Q.education.fields.major.required,visible:Q.education.fields.major.visible},degree:{required:Q.education.fields.degree.required,visible:Q.education.fields.degree.visible},start_date:{required:Q.education.fields.start_time.required,visible:Q.education.fields.start_time.visible},end_date:{required:Q.education.fields.end_time.required,visible:Q.education.fields.end_time.visible}},require_work_experience:Q.work_experience.visible,work_experience_fields_config:{company_name:{required:Q.work_experience.fields.company_name.required,visible:Q.work_experience.fields.company_name.visible},position:{required:Q.work_experience.fields.position.required,visible:Q.work_experience.fields.position.visible},department:{required:Q.work_experience.fields.department.required,visible:Q.work_experience.fields.department.visible},start_date:{required:Q.work_experience.fields.start_time.required,visible:Q.work_experience.fields.start_time.visible},end_date:{required:Q.work_experience.fields.end_time.required,visible:Q.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:Q.family_member.visible,family_fields_config:{relation:{required:Q.family_member.fields.relation.required,visible:Q.family_member.fields.relation.visible},name:{required:Q.family_member.fields.name.required,visible:Q.family_member.fields.name.visible},workplace:{required:Q.family_member.fields.workplace_address.required,visible:Q.family_member.fields.workplace_address.visible},position:{required:Q.family_member.fields.position.required,visible:Q.family_member.fields.position.visible},phone:{required:Q.family_member.fields.phone.required,visible:Q.family_member.fields.phone.visible}},require_training_info:Q.training_fields_config.visible,require_professional_skills:Q.require_professional_skills.visible,enable_posture_check:!0,posture_check_config:{required_photos:["front","side","back"],instructions:"请按照提示上传您的全身照片,确保光线充足,背景简洁"},interview_duration_minutes:45,enable_video_recording:!0,enable_face_recognition:!0,scoring_method:"hybrid",auto_analysis_enabled:!0,custom_welcome_message:"欢迎参加咖啡师岗位的面试,请放松心情,准备好开始面试吧!",custom_instructions:"本次面试共有10个问题,每个问题有60秒的回答时间,请简洁明了地表达您的观点。",notification_config:{send_email:!0,send_sms:!1,notify_hr:!0,completion_message:"感谢您完成面试,我们将在3个工作日内给您回复。"},is_active:!0,is_template:!1};Ve.value==0||(f.id=Ve.value),Ve.value==0?(await ui(f)).code==2e3?(R.success("配置保存成功"),Oe.value=!1,T.value=!1):R.error("配置保存失败"):(await Vt(f)).code==2e3?(R.success("配置保存成功"),Oe.value=!1,T.value=!1):R.error("配置保存失败")}catch(f){console.error("保存配置失败:",f),R.error("配置保存失败")}},Br=()=>({name:Q.name,gender:Q.gender,three_period:Q.three_period,phone:Q.phone,id_card:Q.id_card,ethnicity:Q.ethnicity,height:Q.height,weight:Q.weight,current_address:Q.current_address,household_location:Q.household_location,marital_status:Q.marital_status,expected_salary:Q.expected_salary}),Nr=()=>({skills:Q.require_professional_skills,training:Q.training_fields_config}),ao=G(!1),je=et({faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我是本次面试的面试官,欢迎参加本公司的线上面试!面试预计需要15分钟,请你提前安排在网络良好、光线亮度合适、且相对安静的环境参加这次面试以免影响本次面试的结果。如果你在面试过程中遇到问题,请与我们的招聘人员联系。",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部结束,感谢您的参与,请等待后续通知。"}),Dn=G(!1),ro=G(!1),lo=G(!1),nn=G(""),Pn=G(""),Vn=G(""),jr=()=>{ao.value=!1,Dn.value=!1,ro.value=!1,lo.value=!1,Object.assign(je,{faceConsistency:!0,preventScreenshot:!0,screenSwitchAlert:!0,positionDetection:!0,eyeMovementDetection:!0,reviewInterview:!1,beforeStart:!0,beforeStartText:"你好,我想咨询其间的面试,欢迎来到大面试",afterStartReminder:!1,afterStartText:"本次面试如有15分钟,高效调前后流程,安静好心理",disclaimer:!1,disclaimerText:"本次面试已全部流程拍摄,面试者同意可为今后资讯调研"})},Fr=()=>{console.log("保存面试设置:",je),R.success("面试设置已保存"),ao.value=!1},Lr=()=>{Mn(o.query.id).then(f=>{ao.value=!0,Ve.value=f.data.id,je.beforeStartText=f.data.digital_human_opening_speech})},Qr=()=>{nn.value=je.beforeStartText,Dn.value=!0},Gr=()=>{Dn.value=!1,nn.value=""},zr=async()=>{var f;if(!nn.value.trim()){R.warning("开始前提示内容不能为空");return}je.beforeStartText=nn.value.trim();try{let e;if(console.log(Ve.value),Ve.value==0)e=await ui({position_id:o.query.id,digital_human_opening_speech:nn.value.trim()}),e.code===2e3?(Ve.value=((f=e.data)==null?void 0:f.id)||e.data,R.success("开始前提示内容已创建"),Dn.value=!1):R.error("开始前提示内容创建失败");else if(e=await Vt({id:Ve.value,digital_human_opening_speech:nn.value.trim()}),e.code===2e3){R.success("开始前提示内容已更新"),Dn.value=!1;try{const D={config_id:Ve.value};await fi(D),console.log("开场白生成成功")}catch(D){console.error("获取开场白失败:",D),R.warning("开场白生成中,请稍后")}}else R.error("开始前提示内容更新失败")}catch(e){console.error("保存开始前提示内容失败:",e),R.error("保存失败,请重试")}},$r=()=>{Pn.value=je.afterStartText,ro.value=!0},Jr=()=>{ro.value=!1,Pn.value=""},Wr=()=>{if(!Pn.value.trim()){R.warning("开始后提醒内容不能为空");return}je.afterStartText=Pn.value.trim(),ro.value=!1,R.success("开始后提醒内容已更新")},Hr=()=>{Vn.value=je.disclaimerText,lo.value=!0},Yr=()=>{lo.value=!1,Vn.value=""},Xr=()=>{if(!Vn.value.trim()){R.warning("免责声明内容不能为空");return}je.disclaimerText=Vn.value.trim(),lo.value=!1,R.success("免责声明内容已更新")},pn=et({openQuestionsCount:5,choiceQuestionsCount:10}),Li=()=>{console.log("题目数量已更新:",pn)},Qi=async()=>{try{ut.value=!0;const f=K.value.map(x=>x.id);if(f.length===0){R.warning("请先选择能力标签");return}const e={position_id:o.query.id,competency_tag_ids:f,open_questions_count:pn.openQuestionsCount,choice_questions_count:pn.choiceQuestionsCount,auto_save:!0,tenant_id:Te.get("tenant_id")},D=await Xl(e);if(D&&D.data){const x=await Pr({tenant_id:Te.get("tenant_id"),page:1,limit:30,position_id:o.query.id});if(console.log(x),x===null){console.log("轮询被取消,停止处理");return}if(x&&x.data&&x.data.dataList){const P=x.data.dataList.map(F=>({id:F.id||Date.now(),title:F.question||F.title,ability:F.ability||"未设置",content:F.content||F.question,target:F.target||"未设置",competency_tags:F.competency_tag_info||[],question_form_name:F.question_form_name,scoring_reference:F.scoring_reference,question_form:F.question_form,is_required_correct:F.is_required_correct,weight:100,maxAnswers:1,enable_follow_up:!0,options:F.options||[],source:"ai_generated"}));q.value=P,R.success(`已成功生成${P.length}个面试题目`)}else R.warning("AI生成题目中,请稍后再试")}}catch(f){console.error("AI自动组题失败:",f),R.error("AI自动组题失败,请重试")}finally{ut.value=!1}},Zr=f=>{if(J.competency_tags=[],f.length>0){const e=Math.floor(100/f.length),D=100%f.length;J.competency_tags=f.map((x,P)=>{const F=ie.value.find(ce=>ce.id===x);return{id:x,name:F?F.name:`标签${x}`,weight:e+(P<D?1:0)}})}},qr=f=>{switch(J.type=f,f){case"open":J.suggestedDuration=120;break;case"single":case"multiple":J.suggestedDuration=60;break;case"fill":J.suggestedDuration=30;break;case"self":J.suggestedDuration=180;break;default:J.suggestedDuration=60}},Rn=G(!1),Un=G(!1),so=G(-1),Re=et({title:"候选人提问",duration:5,maxQuestions:3,description:"候选人可以向面试官提问关于公司、职位或团队的问题",isRequired:!0,allowSkip:!1,guidelines:["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]}),_r=(f,e)=>{so.value=e,f.config?Object.assign(Re,f.config):(Re.title=f.name,Re.description=f.description||"候选人可以向面试官提问关于公司、职位或团队的问题",Re.duration=5,Re.maxQuestions=3,Re.isRequired=f.active,Re.allowSkip=!1,Re.guidelines=["请提出与职位、公司文化或团队相关的问题","避免询问已在职位描述中明确说明的信息","可以询问职业发展机会和团队工作方式"]),Un.value=!0},el=(f,e)=>{switch(f.type){case"ai_video":Uo(f);break;case"candidate_questions":_r(f,e);break;case"data_collection":Uo(f);break;case"resume_collection":Uo(f);break;default:Uo(f);break}},tl=(f,e)=>{(e===null||e<0)&&(e=0),e>100&&(e=100);const D=J.competency_tags;D[f].weight;const x=Math.round(e);if(D[f].weight=x,D.length===1){D[0].weight=100;return}const P=D.filter((ce,H)=>H!==f),F=P.reduce((ce,H)=>ce+H.weight,0);if(F===0){const ce=100-x,H=Math.floor(ce/P.length),me=ce%P.length;P.forEach((bt,mn)=>{const St=D.findIndex(Fe=>Fe.id===bt.id);D[St].weight=H+(mn<me?1:0)})}else{const ce=100-x;if(ce>0){P.forEach(me=>{const bt=D.findIndex(St=>St.id===me.id),mn=me.weight/F;D[bt].weight=Math.round(ce*mn)});const H=ai();if(H!==100){const me=100-H,bt=P.reduce((St,Fe)=>Fe.weight>St.weight?Fe:St),mn=D.findIndex(St=>St.id===bt.id);D[mn].weight+=me}}else P.forEach(H=>{const me=D.findIndex(bt=>bt.id===H.id);D[me].weight=0})}},ai=()=>J.competency_tags.reduce((e,D)=>e+(D.weight||0),0),nl=()=>{const f=J.competency_tags;if(f.length===0)return;const e=Math.floor(100/f.length),D=100%f.length;f.forEach((x,P)=>{x.weight=e+(P<D?1:0)})},Gi=si({get:()=>Z(J.competency_tags),set:f=>{J.competency_tags=f,Zr(f)}}),ol=async()=>{try{const f=await ns({position_id:o.query.id,tenant_id:Te.get("tenant_id"),is_ai_generated:!0});f&&f.data&&f.data.length>0&&(await _l({position_id:o.query.id,question_id:f.data.map(e=>e.id),tenant_id:Te.get("tenant_id")}),Ve.value>0&&await Vt({id:Ve.value,enable_ai_questions:!1}),R.success("AI考察问题已删除"))}catch(f){console.error("删除AI考察问题失败:",f),R.error("删除AI考察问题失败")}};Dl(()=>Q.question_form_switches.enable_open_questions,f=>{f?r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!0)}):r.forEach(e=>{e.type==="ai_interview"&&(e.visible=!1)})},{immediate:!0}),G(!1),G(!1);const il=G(!1),ko=G(!1),on=G({duration:5,detectionItems:["face","pose"],promptText:"请按照提示完成相应的动作,系统将自动进行检测。"}),al=()=>{ko.value=!1},rl=async()=>{try{await saveProcessConfig({position_id:o.params.id,process_type:"body_detection",config:on.value}),R.success("配置保存成功"),ko.value=!1}catch(f){console.error("保存肢体检测配置失败:",f),R.error("配置保存失败")}},zi=G([]),ll=G(),sl=f=>{console.log(f);const{firstLevel:e,secondLevel:D,currentNode:x}=f;D?Xt({page:1,limit:20,question_tags:D.id.replace("tag_",""),question_form:lt.question_form}).then(P=>{P.data&&(rt.value=P.data.items,vt.page=P.data.page,vt.pageSize=P.data.limit,Wt.value=P.data.total)}):e&&Xt({page:1,limit:20,question_category:e.id.replace("category_",""),question_form:lt.question_form}).then(P=>{P.data&&(rt.value=P.data.items,vt.page=P.data.page,vt.pageSize=P.data.limit,Wt.value=P.data.total)})},dl=f=>{console.log(f)},ul=f=>{console.log(f)},cl=()=>{qi({}).then(f=>{console.log("ret",f),f.data,_i({}).then(e=>{console.log("res",e);const D=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫"].includes(x.name));ea({}).then(x=>{console.log("res",x);const P=x.data.items,F=[...D.map(ce=>({id:`category_${ce.id}`,title:ce.name,children:P.filter(H=>H.category_id===ce.id).map(H=>({id:`tag_${H.id}`,title:H.name,chinese_explanation:H.chinese_explanation||""}))}))];zi.value=F})})})},$i=G([]),fl={children:"children",label:"title"},vl=async f=>{try{if(f.id.startsWith("category_")){const e=f.id.replace("category_",""),D=await Xt({page:1,limit:1e3,question_category:e,question_form:lt.question_form});if(D&&D.data){rt.value=D.data.items,vt.page=D.data.page,vt.pageSize=D.data.limit,Wt.value=D.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const P=x.querySelector(".el-checkbox");P&&P.__vueParentComponent.emit("change",!0)}Ft.value=D.data.items}}else if(f.id.startsWith("tag_")){const e=f.id.replace("tag_",""),D=await Xt({page:1,limit:1e3,question_tags:e,question_form:lt.question_form});if(D&&D.data){rt.value=D.data.items,vt.page=D.data.page,vt.pageSize=D.data.limit,Wt.value=D.data.total;const x=document.querySelector(".el-table__header-wrapper");if(x){const P=x.querySelector(".el-checkbox");P&&P.__vueParentComponent.emit("change",!0)}Ft.value=D.data.items}}}catch(e){console.error("获取题目列表失败:",e),R.error("获取题目列表失败")}},pl=()=>{qi({}).then(f=>{console.log("ret",f),f.data,_i({}).then(e=>{console.log("res",e);const D=e.data.items.filter(x=>!["技术能力","服务意识","职业素质","基本常识","色盲检测","内容铺垫","红线题","健康情况","综合素质题"].includes(x.name));ea({}).then(x=>{console.log("res",x);const P=x.data.items,F=[...D.map(ce=>({id:`category_${ce.id}`,title:ce.name,children:P.filter(H=>H.category_id===ce.id).map(H=>({id:`tag_${H.id}`,title:H.name,chinese_explanation:H.chinese_explanation||""}))}))];$i.value=F})})})};return(f,e)=>{const D=we("page-header"),x=we("el-button"),P=we("el-icon"),F=we("el-input"),ce=we("el-cascader"),H=we("el-option"),me=we("el-select"),bt=we("el-tag"),mn=we("el-date-picker"),St=we("el-card"),Fe=we("el-switch"),Pt=we("el-dialog"),Ht=we("el-checkbox"),ml=we("Refresh"),gn=we("el-input-number"),uo=we("el-radio"),Ji=we("el-upload"),Kn=we("el-tooltip"),gl=we("Folder"),hl=we("el-tree"),Lt=we("el-col"),Yt=we("el-row"),yl=we("el-radio-group"),ri=we("el-table-column"),bl=we("el-table"),Sl=we("el-pagination"),li=we("el-form-item"),El=we("el-checkbox-group"),xl=we("el-form"),Wi=Pl("loading");return N(),Y("div",Gs,[s("div",zs,[v(D,{title:"测试",onBack:qe}),s("div",$s,[v(x,{type:"primary",onClick:_e},{default:y(()=>e[90]||(e[90]=[k("保存")])),_:1})])]),s("div",Js,[v(St,{class:"detail-card"},{default:y(()=>[e[122]||(e[122]=s("div",{class:"section-title"},[s("div",{class:"section-line"}),s("span",null,"职位详情")],-1)),s("div",Ws,[e[93]||(e[93]=s("div",{class:"detail-label"},"职位名称",-1)),Ao.value?(N(),Y("div",Ys,[v(F,{modelValue:Cn.value,"onUpdate:modelValue":e[0]||(e[0]=p=>Cn.value=p),placeholder:"请输入职位名称",maxlength:"20","show-word-limit":""},null,8,["modelValue"]),s("div",Xs,[v(x,{size:"small",onClick:Fa},{default:y(()=>e[91]||(e[91]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:La},{default:y(()=>e[92]||(e[92]=[k("保存")])),_:1})])])):(N(),Y("div",Hs,[k(re(a.title)+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:ja},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))]),s("div",Zs,[e[96]||(e[96]=s("div",{class:"detail-label"},"工作地点",-1)),wo.value?(N(),Y("div",_s,[v(ce,{modelValue:$t.value,"onUpdate:modelValue":e[1]||(e[1]=p=>$t.value=p),options:be(I),props:{expandTrigger:"hover",checkStrictly:!1,value:"code",label:"name"},style:{width:"100%"},placeholder:"请选择工作地点",clearable:"",onChange:w},null,8,["modelValue","options"]),s("div",ed,[v(x,{size:"small",onClick:Ga},{default:y(()=>e[94]||(e[94]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:za},{default:y(()=>e[95]||(e[95]=[k("保存")])),_:1})])])):(N(),Y("div",qs,[k(re((()=>{if(!a.location)return"暂无";if(Array.isArray(a.location))return a.location.join(",");if(typeof a.location=="string")try{return a.location.replace(/[\[\]']/g,"").split(",").map(ae=>ae.trim()).join(",")}catch{return a.location}return a.location})())+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Qa},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))]),s("div",td,[e[99]||(e[99]=s("div",{class:"detail-label"},"职位薪资",-1)),Oo.value?(N(),Y("div",od,[v(F,{modelValue:$n.value,"onUpdate:modelValue":e[2]||(e[2]=p=>$n.value=p),placeholder:"请输入职位薪资",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),s("div",id,[v(x,{size:"small",onClick:Ja},{default:y(()=>e[97]||(e[97]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Wa},{default:y(()=>e[98]||(e[98]=[k("保存")])),_:1})])])):(N(),Y("div",nd,[k(re(a.salary_range||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:$a},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))]),s("div",ad,[e[102]||(e[102]=s("div",{class:"detail-label"},"工作经验",-1)),To.value?(N(),Y("div",ld,[v(me,{modelValue:Jn.value,"onUpdate:modelValue":e[3]||(e[3]=p=>Jn.value=p),placeholder:"请选择工作经验",style:{width:"100%"}},{default:y(()=>[v(H,{label:"不限",value:"不限"}),v(H,{label:"应届毕业生",value:"应届毕业生"}),v(H,{label:"1年以下",value:"1年以下"}),v(H,{label:"1-3年",value:"1-3年"}),v(H,{label:"3-5年",value:"3-5年"}),v(H,{label:"5-10年",value:"5-10年"}),v(H,{label:"10年以上",value:"10年以上"})]),_:1},8,["modelValue"]),s("div",sd,[v(x,{size:"small",onClick:Ya},{default:y(()=>e[100]||(e[100]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Xa},{default:y(()=>e[101]||(e[101]=[k("保存")])),_:1})])])):(N(),Y("div",rd,[k(re(a.work_experience_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Ha},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))]),s("div",dd,[e[105]||(e[105]=s("div",{class:"detail-label"},"学历要求",-1)),Do.value?(N(),Y("div",cd,[v(me,{modelValue:Wn.value,"onUpdate:modelValue":e[4]||(e[4]=p=>Wn.value=p),placeholder:"请选择学历要求",style:{width:"100%"}},{default:y(()=>[v(H,{label:"不限",value:"不限"}),v(H,{label:"高中",value:"高中"}),v(H,{label:"大专",value:"大专"}),v(H,{label:"本科",value:"本科"}),v(H,{label:"硕士",value:"硕士"}),v(H,{label:"博士",value:"博士"})]),_:1},8,["modelValue"]),s("div",fd,[v(x,{size:"small",onClick:qa},{default:y(()=>e[103]||(e[103]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:_a},{default:y(()=>e[104]||(e[104]=[k("保存")])),_:1})])])):(N(),Y("div",ud,[k(re(a.education_required||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:Za},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))]),s("div",vd,[e[108]||(e[108]=s("div",{class:"detail-label"},"所属部门",-1)),Po.value?(N(),Y("div",md,[v(F,{modelValue:Hn.value,"onUpdate:modelValue":e[5]||(e[5]=p=>Hn.value=p),placeholder:"请输入所属部门",maxlength:"30","show-word-limit":""},null,8,["modelValue"]),s("div",gd,[v(x,{size:"small",onClick:tr},{default:y(()=>e[106]||(e[106]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:nr},{default:y(()=>e[107]||(e[107]=[k("保存")])),_:1})])])):(N(),Y("div",pd,[k(re(a.department||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:er},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))]),s("div",hd,[e[109]||(e[109]=s("div",{class:"detail-label"},"职位状态",-1)),s("div",yd,[v(bt,{type:jt(a.status)},{default:y(()=>[k(re(It(a.status)),1)]),_:1},8,["type"])])]),s("div",bd,[e[112]||(e[112]=s("div",{class:"detail-label"},"截止日期",-1)),Vo.value?(N(),Y("div",Ed,[v(mn,{modelValue:Yn.value,"onUpdate:modelValue":e[6]||(e[6]=p=>Yn.value=p),type:"date",placeholder:"请选择截止日期","value-format":"YYYY-MM-DD HH:mm:ss",style:{width:"100%"}},null,8,["modelValue"]),s("div",xd,[v(x,{size:"small",onClick:ir},{default:y(()=>e[110]||(e[110]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:ar},{default:y(()=>e[111]||(e[111]=[k("保存")])),_:1})])])):(N(),Y("div",Sd,[k(re(a.end_date||"暂无")+" ",1),v(x,{type:"text",class:"edit-title-btn",onClick:or},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))]),s("div",Id,[e[115]||(e[115]=s("div",{class:"detail-label"},"职位要求",-1)),Xn.value?Ue("",!0):(N(),Y("div",{key:0,class:"detail-value html-content",innerHTML:a.requirements},null,8,Cd)),Xn.value?(N(),Y("div",Ad,[v(F,{modelValue:Zn.value,"onUpdate:modelValue":e[7]||(e[7]=p=>Zn.value=p),type:"textarea",rows:"6",placeholder:"请输入职位要求",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),s("div",wd,[v(x,{size:"small",onClick:lr},{default:y(()=>e[113]||(e[113]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:sr},{default:y(()=>e[114]||(e[114]=[k("保存")])),_:1})])])):(N(),Ce(x,{key:1,type:"text",class:"edit-title-btn",onClick:rr},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1}))]),e[123]||(e[123]=s("div",{style:{width:"100%","border-bottom":"1px solid #e5e5e5"}},null,-1)),s("div",Od,[e[118]||(e[118]=s("div",{class:"detail-label"},"职位描述",-1)),qn.value?Ue("",!0):(N(),Y("div",{key:0,class:"detail-value html-content",innerHTML:a.description},null,8,Td)),qn.value?(N(),Y("div",Dd,[v(F,{modelValue:_n.value,"onUpdate:modelValue":e[8]||(e[8]=p=>_n.value=p),type:"textarea",rows:"6",placeholder:"请输入职位描述",maxlength:"1000","show-word-limit":""},null,8,["modelValue"]),s("div",Pd,[v(x,{size:"small",onClick:ur},{default:y(()=>e[116]||(e[116]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:cr},{default:y(()=>e[117]||(e[117]=[k("保存")])),_:1})])])):(N(),Ce(x,{key:1,type:"text",class:"edit-title-btn",onClick:dr},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1}))]),s("div",Vd,[e[121]||(e[121]=s("div",{class:"detail-label"},"能力标签",-1)),Ro.value?(N(),Y("div",Ud,[v(me,{modelValue:wn.value,"onUpdate:modelValue":e[9]||(e[9]=p=>wn.value=p),multiple:"",filterable:"",placeholder:"请选择能力标签",style:{width:"100%"}},{default:y(()=>[(N(!0),Y(We,null,He(ie.value,p=>(N(),Ce(H,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),s("div",Kd,[v(x,{size:"small",onClick:gr},{default:y(()=>e[119]||(e[119]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:hr},{default:y(()=>e[120]||(e[120]=[k("保存")])),_:1})])])):(N(),Y("div",Rd,[(N(!0),Y(We,null,He(a.competency_tags,p=>(N(),Ce(bt,{key:p.id,effect:"plain",class:"competency-tag"},{default:y(()=>[k(re(p.name),1)]),_:2},1024))),128)),v(x,{type:"text",class:"edit-title-btn",onClick:mr},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))])]),_:1}),s("div",Md,[v(St,{class:"status-card"},{default:y(()=>[e[124]||(e[124]=s("div",{class:"section-title"},[s("div",{class:"section-line"}),s("span",null,"职位状态")],-1)),s("div",kd,[v(Fe,{modelValue:n.value,"onUpdate:modelValue":e[10]||(e[10]=p=>n.value=p),"inactive-text":"",onChange:zt},null,8,["modelValue"]),s("span",Bd,re(n.value?"已启用":"待启用"),1)])]),_:1}),v(St,{class:"status-card"},{default:y(()=>[s("div",Nd,[e[126]||(e[126]=s("div",{class:"section-line"},null,-1)),e[127]||(e[127]=s("span",null,"职位性质",-1)),An.value?Ue("",!0):(N(),Ce(x,{key:0,type:"text",class:"edit-btn",onClick:fr},{default:y(()=>e[125]||(e[125]=[k("编辑")])),_:1}))]),s("div",jd,[An.value?Ue("",!0):(N(),Y("div",Fd,re(_t(a.job_type)),1)),An.value?(N(),Y("div",Ld,[v(me,{modelValue:eo.value,"onUpdate:modelValue":e[11]||(e[11]=p=>eo.value=p),placeholder:"请选择职位性质",style:{width:"100%"}},{default:y(()=>[v(H,{label:"全职",value:0}),v(H,{label:"兼职",value:1}),v(H,{label:"实习",value:2}),v(H,{label:"其他",value:3})]),_:1},8,["modelValue"]),s("div",Qd,[v(x,{size:"small",onClick:vr},{default:y(()=>e[128]||(e[128]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:pr},{default:y(()=>e[129]||(e[129]=[k("保存")])),_:1})])])):Ue("",!0)])]),_:1}),v(St,{class:"status-card"},{default:y(()=>[s("div",Gd,[e[131]||(e[131]=s("div",{class:"section-line"},null,-1)),e[132]||(e[132]=s("span",null,"招聘流程",-1)),v(x,{type:"text",class:"edit-btn",onClick:Tt},{default:y(()=>e[130]||(e[130]=[k("设置流程")])),_:1})]),s("div",zd,[(N(!0),Y(We,null,He(r,(p,ae)=>Bo((N(),Y("div",{key:p.id,class:Ct(["process-step",{disabled:!p.active}])},[s("div",$d,re(t(ae)),1),s("div",Jd,[s("div",Wd,re(p.name),1)])],2)),[[Hi,p.visible]])),128))])]),_:1}),v(St,{class:"status-card"},{default:y(()=>[s("div",Hd,[e[134]||(e[134]=s("div",{class:"section-line"},null,-1)),e[135]||(e[135]=s("span",null,"面试设置",-1)),v(x,{type:"text",class:"edit-btn",onClick:Lr},{default:y(()=>e[133]||(e[133]=[k("编辑")])),_:1})])]),_:1})])]),v(Pt,{title:"设置招聘流程",modelValue:u.value,"onUpdate:modelValue":e[14]||(e[14]=p=>u.value=p),width:"500px","close-on-click-modal":!1},{footer:y(()=>[s("span",nu,[v(x,{onClick:xn},{default:y(()=>e[139]||(e[139]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Dt},{default:y(()=>e[140]||(e[140]=[k("确定")])),_:1})])]),default:y(()=>[s("div",Yd,[(N(!0),Y(We,null,He(r,(p,ae)=>Bo((N(),Y("div",{key:p.id},[ae<r.length-1?(N(),Y("div",Xd,[v(x,{type:"text",onClick:Ie=>sn(ae,Ie)},{default:y(()=>[v(P,null,{default:y(()=>[v(be(hn))]),_:1})]),_:2},1032,["onClick"])])):Ue("",!0),s("div",{class:Ct(["process-edit-item",{highlight:p.active}])},[s("div",Zd,re(t(ae)),1),s("div",qd,[s("div",null,re(p.name),1),s("div",_d,re(p.description),1)]),p.name!="已通过"&&p.name!="已淘汰"?(N(),Y("div",eu,[v(x,{type:"info",size:"small",plain:"",onClick:Ie=>el(p,ae)},{default:y(()=>e[136]||(e[136]=[k(" 修改 ")])),_:2},1032,["onClick"]),p.name!="资料收集"&&p.name!="AI考察"?(N(),Ce(x,{key:0,type:"danger",size:"small",plain:"",style:{"margin-top":"10px","margin-left":"0px"},onClick:Ie=>Qn(p,ae)},{default:y(()=>e[137]||(e[137]=[k(" 删除 ")])),_:2},1032,["onClick"])):Ue("",!0)])):Ue("",!0)],2)])),[[Hi,p.visible]])),128)),e[138]||(e[138]=s("div",{class:"add-process-btn"},null,-1))]),T.value?(N(),Y("div",{key:0,class:"process-options-menu",style:Rl({top:B.top,left:B.left}),onClick:e[13]||(e[13]=Vl(()=>{},["stop"]))},[s("div",{class:"close-btn",onClick:e[12]||(e[12]=p=>T.value=!1)},[v(P,null,{default:y(()=>[v(be(Fl))]),_:1})]),(N(),Y(We,null,He(g,p=>s("div",{key:p.value,class:"process-option-item",onClick:ae=>dn(p.value,p.label)},re(p.label),9,tu)),64))],4)):Ue("",!0)]),_:1},8,["modelValue"]),v(be(di),{title:"AI考察",modelValue:U.value,"onUpdate:modelValue":e[33]||(e[33]=p=>U.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-video-drawer","destroy-on-close":!1},{footer:y(()=>[s("div",Sc,[z.value>1?(N(),Ce(x,{key:0,size:"small",onClick:cn},{default:y(()=>e[181]||(e[181]=[k("上一步")])),_:1})):Ue("",!0),v(x,{onClick:fn,size:"small"},{default:y(()=>e[182]||(e[182]=[k("取消")])),_:1}),z.value<3?(N(),Ce(x,{key:1,type:"primary",size:"small",onClick:un,style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[183]||(e[183]=[k("下一步")])),_:1})):(N(),Ce(x,{key:2,type:"success",onClick:en,size:"small",style:{"background-color":"#0419a3","border-color":"#0419a3"}},{default:y(()=>e[184]||(e[184]=[k("新增")])),_:1}))])]),default:y(()=>[s("div",ou,[s("div",{class:Ct(["step-item",{active:z.value===1}]),onClick:e[15]||(e[15]=p=>C(1))},[e[141]||(e[141]=s("div",{class:"step-number"},"1",-1)),s("div",{class:Ct(["step-title",{"active-title":z.value===1}])},"考察能力",2)],2),s("div",{class:Ct(["step-line",{"active-line":z.value>=2}])},null,2),s("div",{class:Ct(["step-item",{active:z.value===2}]),onClick:e[16]||(e[16]=p=>C(2))},[e[142]||(e[142]=s("div",{class:"step-number"},"2",-1)),s("div",{class:Ct(["step-title",{"active-title":z.value===2}])},"面试题目",2)],2),s("div",{class:Ct(["step-line",{"active-line":z.value>=3}])},null,2),s("div",{class:Ct(["step-item",{active:z.value===3}]),onClick:e[17]||(e[17]=p=>C(3))},[e[143]||(e[143]=s("div",{class:"step-number"},"3",-1)),s("div",{class:Ct(["step-title",{"active-title":z.value===3}])},"系统设置",2)],2)]),z.value===1?Bo((N(),Y("div",iu,[s("div",au,[e[150]||(e[150]=s("div",{class:"ai-video-options-header"},[s("div",{class:"ai-video-options-header-title"},[s("span",null,"AI根据岗位信息生成的能力,创建完步骤后,会自动将选择的胜任力考核维度加入到该职位的考察能力列表中。")])],-1)),s("div",ru,[s("div",lu,[(N(!0),Y(We,null,He(Kt.value.slice(0,10),p=>(N(),Ce(Ht,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":ae=>p.selected=ae,onChange:ae=>ki(p,ae),class:"custom-checkbox"},{default:y(()=>[s("div",su,[s("span",null,re(p.name),1),e[144]||(e[144]=s("img",{src:ta,alt:"",class:"sheng"},null,-1))])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),s("div",du,[s("div",uu,[e[146]||(e[146]=s("h3",{style:{color:"#808080"}},"备选考核维度",-1)),s("div",cu,[v(x,{type:"primary",class:"custom-btn",plain:"",size:"small",onClick:E},{default:y(()=>e[145]||(e[145]=[k("重新生成")])),_:1})])]),s("div",fu,[(N(!0),Y(We,null,He(Kt.value.slice(10,50),p=>(N(),Ce(Ht,{key:p.id,modelValue:p.selected,"onUpdate:modelValue":ae=>p.selected=ae,onChange:ae=>ki(p,ae),class:"custom-checkbox"},{default:y(()=>[s("div",vu,[s("span",null,re(p.name),1)])]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"]))),128))])]),s("div",pu,[e[149]||(e[149]=s("h3",{style:{color:"#808080"}},"自定义维度",-1)),s("div",mu,[s("div",gu,[s("div",hu,[v(F,{style:{width:"150px"},modelValue:tn.value,"onUpdate:modelValue":e[18]||(e[18]=p=>tn.value=p),placeholder:"请输入维度名称"},null,8,["modelValue"])]),s("div",yu,[e[147]||(e[147]=s("div",{class:"input-label"},"特征描述:",-1)),v(F,{modelValue:On.value,"onUpdate:modelValue":e[19]||(e[19]=p=>On.value=p),style:{width:"500px"},type:"textarea",placeholder:"请输入特征描述"},null,8,["modelValue"])])]),s("div",bu,[v(x,{type:"primary",onClick:Sr},{default:y(()=>e[148]||(e[148]=[k("添加")])),_:1})])])])])])),[[Wi,Rn.value]]):Ue("",!0),z.value===2?(N(),Y("div",Su,[s("div",Eu,[s("div",xu,[s("div",Iu,[v(x,{plain:"",class:"custom-btn",onClick:ye},{default:y(()=>[v(P,null,{default:y(()=>[v(be(hn))]),_:1}),e[151]||(e[151]=k(" 自定义题目 "))]),_:1}),v(x,{plain:"",class:"custom-btn"},{default:y(()=>[v(P,null,{default:y(()=>[v(be(Yi))]),_:1}),e[152]||(e[152]=k(" 导入题目 "))]),_:1}),q.value.length>0?(N(),Ce(x,{key:0,type:"primary",plain:"",class:"custom-btn",loading:ut.value,onClick:Qi},{default:y(()=>[v(P,null,{default:y(()=>[v(ml)]),_:1}),e[153]||(e[153]=k(" 重新生成 "))]),_:1},8,["loading"])):Ue("",!0),s("div",Cu,[s("div",Au,[e[154]||(e[154]=s("span",{class:"switch-label"},"开放题数量",-1)),v(gn,{modelValue:pn.openQuestionsCount,"onUpdate:modelValue":e[20]||(e[20]=p=>pn.openQuestionsCount=p),min:1,max:10,size:"small",onChange:Li},null,8,["modelValue"])]),s("div",wu,[e[155]||(e[155]=s("span",{class:"switch-label"},"选择题数量",-1)),v(gn,{modelValue:pn.choiceQuestionsCount,"onUpdate:modelValue":e[21]||(e[21]=p=>pn.choiceQuestionsCount=p),min:1,max:20,size:"small",onChange:Li},null,8,["modelValue"])])])]),s("div",Ou,[e[156]||(e[156]=s("span",null,"预计面试时长: ",-1)),s("span",Tu,re(le.value),1),e[157]||(e[157]=s("span",{class:"duration-tip"},"拖动试题卡片可改变试题顺序",-1))])]),s("div",Du,[Bo((N(),Y("div",Pu,[q.value.length===0?(N(),Y("div",Vu,[e[160]||(e[160]=s("p",null,"暂无题目",-1)),e[161]||(e[161]=s("p",{class:"ai-tip"},'点击"AI自动组题"按钮',-1)),e[162]||(e[162]=s("p",{class:"ai-tip"},"可根据您选择的能力类型一键组题",-1)),v(x,{type:"success",class:"auto-generate-btn",loading:ut.value,onClick:Qi},{default:y(()=>e[158]||(e[158]=[k(" AI自动组题 ")])),_:1},8,["loading"]),ut.value&&be(Jt)?(N(),Ce(x,{key:0,type:"warning",plain:"",size:"small",onClick:Vr,style:{"margin-left":"10px"}},{default:y(()=>e[159]||(e[159]=[k(" 取消生成 ")])),_:1})):Ue("",!0)])):(N(),Y("div",Ru,[v(be(ga),{modelValue:q.value,"onUpdate:modelValue":e[22]||(e[22]=p=>q.value=p),"item-key":"id",handle:".drag-handle",onStart:Cr,onEnd:Ar,animation:"200","ghost-class":"sortable-ghost","chosen-class":"sortable-chosen","drag-class":"sortable-drag"},{item:y(({element:p})=>[s("div",Uu,[e[166]||(e[166]=s("div",{class:"drag-handle"},[s("img",{src:Hl,alt:"",class:"dorp"})],-1)),s("div",Ku,[s("div",Mu,[s("div",ku,[s("div",Bu,[s("span",Nu,"题目"+re(q.value.indexOf(p)+1),1),s("span",null,[s("span",ju,re("「"+p.question_form_name+"」"),1),k(re(p.title),1)])]),s("div",Fu,[(N(!0),Y(We,null,He((p.competency_tag_info||p.competency_tags||[]).slice(0,2),(ae,Ie)=>(N(),Ce(bt,{key:ae.id,effect:"plain",class:"competency-tag",size:"small"},{default:y(()=>[k(re(ae.name),1)]),_:2},1024))),128)),(p.competency_tag_info||p.competency_tags||[]).length>2?(N(),Y("span",Lu," +"+re((p.competency_tag_info||p.competency_tags||[]).length-2),1)):Ue("",!0)])])]),s("div",Qu,[v(x,{type:"text",onClick:ae=>vn(q.value.indexOf(p))},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:ae=>Ri(q.value.indexOf(p))},{default:y(()=>[v(P,null,{default:y(()=>[v(be(Xi))]),_:1})]),_:2},1032,["onClick"])])]),s("div",Gu,[s("div",zu,[s("span",null,re(p.scoring_reference),1)])]),p.question_form==0?(N(),Y("div",$u,[s("div",Ju,[v(Fe,{style:{"margin-top":"0px"},modelValue:p.enable_follow_up,"onUpdate:modelValue":ae=>p.enable_follow_up=ae,onChange:X},null,8,["modelValue","onUpdate:modelValue"]),e[163]||(e[163]=s("span",{class:"answer-label"},"回答不充分追问",-1))]),s("div",Wu,[e[164]||(e[164]=s("span",{class:"answer-label"},"追问轮数",-1)),v(me,{modelValue:p.maxAnswers,"onUpdate:modelValue":ae=>p.maxAnswers=ae,size:"small",placeholder:"请选择"},{default:y(()=>[v(H,{label:"1次",value:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])])])):Ue("",!0),p.question_form==1?(N(),Y("div",Hu,[s("div",Yu,[e[165]||(e[165]=s("span",{class:"answer-label"},"是否为红线题:",-1)),v(me,{modelValue:p.is_required_correct,"onUpdate:modelValue":ae=>p.is_required_correct=ae,onChange:ae=>O(p.id,p.is_required_correct),size:"small",placeholder:"请选择"},{default:y(()=>[v(H,{label:"是",value:!0}),v(H,{label:"否",value:!1})]),_:2},1032,["modelValue","onUpdate:modelValue","onChange"])])])):Ue("",!0)])]),_:1},8,["modelValue"])]))])),[[Wi,ut.value]]),s("div",Xu,[e[169]||(e[169]=s("div",{class:"dimension-title"},"已选胜任力考核维度",-1)),s("div",Zu,[(N(!0),Y(We,null,He(K.value,(p,ae)=>(N(),Y("div",{key:p.value,class:"dimension-item"},[s("div",qu,[s("div",_u,[s("span",ec,re(p.label),1),e[167]||(e[167]=s("img",{src:ta,alt:"",class:"sheng"},null,-1))])]),s("div",{class:"dimension-content",onClick:Ie=>Tr(ae),title:"点击删除此胜任力标签"},e[168]||(e[168]=[s("div",{class:"ability-description"},re("—"),-1)]),8,tc)]))),128))])])])])])):Ue("",!0),z.value===3?(N(),Y("div",nc,[s("div",oc,[s("div",ic,[e[180]||(e[180]=s("div",{class:"section-header"},"请选择面试官形象",-1)),s("div",ac,[s("div",rc,[oi.value?(N(),Y("img",{key:0,src:oi.value,alt:"",style:{width:"100%",height:"100%","object-fit":"cover",transform:"translateZ(0)","backface-visibility":"hidden"}},null,8,lc)):Ue("",!0)]),s("div",null,[s("div",sc,[(N(!0),Y(We,null,He(ni.value,p=>(N(),Y("div",{key:p.id,class:Ct(["avatar-item",{active:gt.value.id===p.id}]),onClick:ae=>Er(p)},[s("div",uc,[s("div",{class:Ct(["avatar-circle",{selected:gt.value.id===p.id}])},[s("img",{src:p.avatar_url||p.image,alt:p.name},null,8,cc)],2),s("div",{class:"avatar-name",title:p.name},re(p.name),9,fc)])],10,dc))),128))]),s("div",vc,[e[170]||(e[170]=s("div",{class:"setting-label"},"「追问风格」",-1)),s("div",pc,[v(me,{modelValue:at.followUpStyle,"onUpdate:modelValue":e[23]||(e[23]=p=>at.followUpStyle=p),placeholder:"请选择",onChange:e[24]||(e[24]=p=>to("followUpStyle",at.followUpStyle))},{default:y(()=>[v(H,{label:"温和",value:"1"}),v(H,{label:"严厉",value:"2"}),v(H,{label:"严谨",value:"3"})]),_:1},8,["modelValue"])]),e[171]||(e[171]=s("div",{class:"setting-desc"},null,-1))])])]),s("div",mc,[s("div",gc,[e[172]||(e[172]=s("div",{class:"setting-label"},[s("p",null,"「回答视频保留」")],-1)),e[173]||(e[173]=s("div",{class:"setting-desc"},[s("p",null,"选取后,将在报告中展示候选人的回答视频")],-1)),v(Fe,{modelValue:at.keepVideo,"onUpdate:modelValue":e[25]||(e[25]=p=>at.keepVideo=p),onChange:e[26]||(e[26]=p=>to("keepVideo",p)),disabled:!0},null,8,["modelValue"])]),s("div",hc,[e[176]||(e[176]=s("div",{class:"setting-label"},[s("p",null,"「中断后作答限制」")],-1)),s("div",yc,[v(uo,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[27]||(e[27]=p=>at.interruptionMode=p),label:"current",onChange:e[28]||(e[28]=p=>to("interruptionMode",at.interruptionMode))},{default:y(()=>e[174]||(e[174]=[k(" 从当前问题重新作答 ")])),_:1},8,["modelValue"]),v(uo,{modelValue:at.interruptionMode,"onUpdate:modelValue":e[29]||(e[29]=p=>at.interruptionMode=p),label:"previous",onChange:e[30]||(e[30]=p=>to("interruptionMode",at.interruptionMode))},{default:y(()=>e[175]||(e[175]=[k(" 从头作答 ")])),_:1},8,["modelValue"])]),e[177]||(e[177]=s("div",{class:"setting-desc",style:{width:"40px"}},null,-1))]),s("div",bc,[e[178]||(e[178]=s("div",{class:"setting-label"},[s("p",null,"「智慧追问」")],-1)),e[179]||(e[179]=s("div",{class:"setting-desc"},[s("p",null,"追问将结合候选人资料情况,综合分析发问")],-1)),v(Fe,{modelValue:at.smartFollowUp,"onUpdate:modelValue":e[31]||(e[31]=p=>at.smartFollowUp=p),onChange:e[32]||(e[32]=p=>to("smartFollowUp",p))},null,8,["modelValue"])])])])])])):Ue("",!0)]),_:1},8,["modelValue"]),v(Pt,{title:"新增视频宣讲",modelValue:_.value,"onUpdate:modelValue":e[35]||(e[35]=p=>_.value=p),width:"35%","close-on-click-modal":!1,class:"video-lecture-dialog"},{footer:y(()=>[s("span",Ac,[v(x,{onClick:V},{default:y(()=>e[188]||(e[188]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:j},{default:y(()=>e[189]||(e[189]=[k("确认")])),_:1})])]),default:y(()=>[s("div",Ec,[s("div",xc,[e[186]||(e[186]=s("div",{class:"form-label"},"上传视频",-1)),v(Ji,{class:"video-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"video/*"},{default:y(()=>[s("div",Ic,[v(P,null,{default:y(()=>[v(be(hn))]),_:1}),e[185]||(e[185]=s("div",{class:"upload-text"},"上传文件大小不超过500M",-1))])]),_:1})]),s("div",Cc,[e[187]||(e[187]=s("div",{class:"form-label"},"视频简介",-1)),v(F,{modelValue:se.description,"onUpdate:modelValue":e[34]||(e[34]=p=>se.description=p),type:"textarea",rows:"4",placeholder:"视频简介会显示在视频下方的标题下方",maxlength:"200","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(be(di),{title:"AI实时对话",modelValue:L.value,"onUpdate:modelValue":e[37]||(e[37]=p=>L.value=p),direction:"rtl",size:"60%","close-on-click-modal":!1,class:"ai-chat-drawer","destroy-on-close":!1},{footer:y(()=>[s("div",Gc,[v(x,{onClick:de},{default:y(()=>e[200]||(e[200]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:te},{default:y(()=>e[201]||(e[201]=[k("确认")])),_:1})])]),default:y(()=>[s("div",wc,[s("div",Oc,[e[199]||(e[199]=s("div",{class:"section-title"},[s("div",{class:"section-line"}),s("span",null,"对话设置")],-1)),s("div",Tc,[v(x,{type:"primary",plain:"",onClick:he},{default:y(()=>[v(P,null,{default:y(()=>[v(be(hn))]),_:1}),e[190]||(e[190]=k(" 添加问题 "))]),_:1}),v(x,{type:"success",plain:"",onClick:ye},{default:y(()=>[v(P,null,{default:y(()=>[v(be(Yi))]),_:1}),e[191]||(e[191]=k(" 导入问题 "))]),_:1})]),s("div",Dc,[q.value.length===0?(N(),Y("div",Pc,e[192]||(e[192]=[s("p",null,"暂无问题",-1),s("p",{class:"tip-text"},'点击"添加问题"或"导入问题"添加面试问题',-1)]))):(N(),Y("div",Vc,[v(be(ga),{modelValue:q.value,"onUpdate:modelValue":e[36]||(e[36]=p=>q.value=p),"item-key":"id",handle:".drag-handle"},{item:y(({element:p,index:ae})=>[k(re(p)+" ",1),s("div",Rc,[s("div",Uc,[s("div",Kc,[s("span",Mc,"题目"+re(ae+1),1),s("span",null,re(p.question),1)]),s("div",kc,[s("div",Bc,[e[194]||(e[194]=s("span",{class:"weight-label"},"权重占比:",-1)),v(gn,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,size:"small","controls-position":"right"},{suffix:y(()=>e[193]||(e[193]=[k("%")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),s("div",Nc,[e[195]||(e[195]=s("span",{class:"answer-label"},"最多回答次数",-1)),v(me,{modelValue:p.maxAnswers,"onUpdate:modelValue":Ie=>p.maxAnswers=Ie,size:"small",placeholder:"请选择"},{default:y(()=>[v(H,{label:"1次",value:1}),v(H,{label:"2次",value:2}),v(H,{label:"3次",value:3})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),v(x,{type:"text",onClick:Ie=>vn(ae)},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:2},1032,["onClick"]),v(x,{type:"text",onClick:Ie=>Ri(ae)},{default:y(()=>[v(P,null,{default:y(()=>[v(be(Xi))]),_:1})]),_:2},1032,["onClick"])])]),s("div",jc,[s("div",Fc,[e[196]||(e[196]=s("span",{class:"info-label"},"考察能力:",-1)),s("span",null,re(p.ability),1)]),s("div",Lc,[e[197]||(e[197]=s("span",{class:"info-label"},"面试内容:",-1)),s("span",null,re(p.content),1)]),s("div",Qc,[e[198]||(e[198]=s("span",{class:"info-label"},"对话目标:",-1)),s("span",null,re(p.target),1)])])])]),_:1},8,["modelValue"])]))])])])]),_:1},8,["modelValue"]),v(Pt,{title:"查看问题",modelValue:$.value,"onUpdate:modelValue":e[46]||(e[46]=p=>$.value=p),width:"500px","close-on-click-modal":!1,class:"question-dialog"},{footer:y(()=>[s("span",rf,[v(x,{onClick:Be},{default:y(()=>e[226]||(e[226]=[k("取消")])),_:1})])]),default:y(()=>[s("div",zc,[s("div",$c,[e[202]||(e[202]=s("div",{class:"form-label"},[k(" 题目内容"),s("span",{class:"required"},"*")],-1)),v(F,{modelValue:J.content,"onUpdate:modelValue":e[38]||(e[38]=p=>J.content=p),type:"textarea",rows:"4",placeholder:"请描述一次你如何在紧迫的时间内完成一个复杂的后端开发任务的经历",maxlength:"300","show-word-limit":"",disabled:!0},null,8,["modelValue"])]),s("div",Jc,[e[203]||(e[203]=s("div",{class:"form-label"},"胜任力标签",-1)),v(me,{modelValue:Gi.value,"onUpdate:modelValue":e[39]||(e[39]=p=>Gi.value=p),placeholder:"请选择胜任力标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(N(!0),Y(We,null,He(ie.value,p=>(N(),Ce(H,{key:p.id,label:p.name,value:p.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[204]||(e[204]=s("div",{class:"form-tip"},"选择胜任力标签和胜任力标签,可多选",-1))]),s("div",Wc,[e[210]||(e[210]=s("div",{class:"form-label"}," 胜任力配置 ",-1)),s("div",Hc,[e[206]||(e[206]=s("div",{class:"config-row"},[s("span",{class:"config-label"},"标签"),s("span",{class:"config-label"},"权重")],-1)),(N(!0),Y(We,null,He(J.competency_tags,(p,ae)=>(N(),Y("div",{class:"config-row",key:p.id},[s("span",Yc,re(p.name),1),v(gn,{modelValue:p.weight,"onUpdate:modelValue":Ie=>p.weight=Ie,min:0,max:100,step:1,disabled:!0,"controls-position":"right",onChange:Ie=>tl(ae,Ie)},null,8,["modelValue","onUpdate:modelValue","onChange"]),e[205]||(e[205]=k(" % "))]))),128))]),s("div",Xc,[e[207]||(e[207]=k(" 配置各个胜任力标签的权重,总和需要100% ")),s("span",{class:Ct(["weight-sum",{"weight-error":ai()!==100}])}," (当前总计: "+re(ai())+"%) ",3),e[208]||(e[208]=s("br",null,null,-1)),v(P,{style:{color:"#409eff","margin-right":"4px","margin-top":"4px"}},{default:y(()=>[v(be(Ll))]),_:1}),e[209]||(e[209]=s("span",{style:{color:"#909399","font-size":"11px"}},' 修改任意权重时,其他权重会自动按比例调整以保持总和为100%。点击"平均分配"可快速平均分配所有权重。 ',-1))])]),s("div",Zc,[e[211]||(e[211]=s("div",{class:"form-label"},"题目形式",-1)),v(me,{modelValue:J.question_form,"onUpdate:modelValue":e[40]||(e[40]=p=>J.question_form=p),placeholder:"开放问题",class:"full-width",disabled:!0,onChange:qr},{default:y(()=>[v(H,{label:"开放问题",value:0}),v(H,{label:"单选题",value:1}),v(H,{label:"多选题",value:"multiple"}),v(H,{label:"填空题",value:"fill"}),v(H,{label:"自言语",value:"self"})]),_:1},8,["modelValue"]),e[212]||(e[212]=s("div",{class:"form-tip"},"选择题目的形式:开放问题、单选题、多选题、填空题、自言语",-1))]),s("div",qc,[e[213]||(e[213]=s("div",{class:"form-label"},"适用职位",-1)),v(me,{modelValue:J.position,"onUpdate:modelValue":e[41]||(e[41]=p=>J.position=p),placeholder:"请选择适用职位类型",class:"full-width",disabled:!0,multiple:""},{default:y(()=>[(N(!0),Y(We,null,He(Ee.value,p=>(N(),Ce(H,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[214]||(e[214]=s("div",{class:"form-tip"},"选择题目适用的职位类型,可多选",-1))]),J.question_form===1||J.question_form===2?(N(),Y("div",_c,[e[216]||(e[216]=s("div",{class:"form-label"},"选项",-1)),s("div",null,[e[215]||(e[215]=s("div",{class:"option-header",style:{display:"flex","margin-bottom":"10px","font-weight":"bold"}},[s("span",{style:{flex:"1"}},"选项内容"),s("span",{style:{width:"80px","text-align":"center"}},"是否正确")],-1)),(N(!0),Y(We,null,He(J.options,(p,ae)=>(N(),Y("div",{key:ae,class:"option-item",style:{display:"flex","align-items":"center","margin-bottom":"10px"}},[v(F,{modelValue:p.text,"onUpdate:modelValue":Ie=>p.text=Ie,placeholder:"请输入选项内容",disabled:!0,style:{flex:"1","margin-right":"10px"}},null,8,["modelValue","onUpdate:modelValue"]),v(Kn,{content:"设置为正确答案",placement:"top",effect:"light",disabled:!0},{default:y(()=>[s("div",{onClick:()=>{J.question_form===1?J.options.forEach((Ie,Il)=>{Ie.is_correct=Il===ae}):p.is_correct=!p.is_correct},style:{cursor:"pointer",width:"80px","text-align":"center"}},[J.question_form===1?(N(),Ce(uo,{key:0,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie,label:!0},null,8,["modelValue","onUpdate:modelValue"])):(N(),Ce(Ht,{key:1,disabled:!0,modelValue:p.is_correct,"onUpdate:modelValue":Ie=>p.is_correct=Ie},null,8,["modelValue","onUpdate:modelValue"]))],8,ef)]),_:2},1024)]))),128))]),e[217]||(e[217]=s("div",{class:"form-tip"},"添加选项并设置正确答案,单选题只能有一个正确答案,多选题可以有多个正确答案",-1))])):Ue("",!0),s("div",tf,[e[218]||(e[218]=s("div",{class:"form-label"},"分类",-1)),v(me,{modelValue:J.category,"onUpdate:modelValue":e[42]||(e[42]=p=>J.category=p),placeholder:"请选择题目分类",class:"full-width",disabled:!0},{default:y(()=>[(N(!0),Y(We,null,He(De.value,p=>(N(),Ce(H,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[219]||(e[219]=s("div",{class:"form-tip"},"选择题目所属分类",-1))]),s("div",nf,[e[220]||(e[220]=s("div",{class:"form-label"},"标签",-1)),v(me,{modelValue:J.tags,"onUpdate:modelValue":e[43]||(e[43]=p=>J.tags=p),placeholder:"请选择标签",class:"full-width",multiple:"",disabled:!0},{default:y(()=>[(N(!0),Y(We,null,He(Ze.value,p=>(N(),Ce(H,{key:p.value,label:p.label,value:p.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),e[221]||(e[221]=s("div",{class:"form-tip"},"选择题目相关标签,可多选",-1))]),s("div",of,[e[222]||(e[222]=s("div",{class:"form-label"},"建议时长(秒)",-1)),v(gn,{modelValue:J.suggestedDuration,"onUpdate:modelValue":e[44]||(e[44]=p=>J.suggestedDuration=p),min:0,step:1,"controls-position":"right",placeholder:"请输入建议回答时长",class:"full-width",disabled:!0},null,8,["modelValue"]),e[223]||(e[223]=s("div",{class:"form-tip"},"建议回答题目的时长,单位为秒",-1))]),s("div",af,[e[224]||(e[224]=s("div",{class:"form-label"},"评价标准",-1)),v(F,{modelValue:J.scoring_reference,"onUpdate:modelValue":e[45]||(e[45]=p=>J.scoring_reference=p),type:"textarea",disabled:!0,rows:"4",placeholder:"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",class:"full-width"},null,8,["modelValue"]),e[225]||(e[225]=s("div",{class:"form-tip"},"评分标准说明,例如:【团队协作能力】1.优秀:xxxxxx。2.xxxx。3.一般:xxxxx。",-1))])])]),_:1},8,["modelValue"]),v(Pt,{title:"选择题目",modelValue:Tn.value,"onUpdate:modelValue":e[47]||(e[47]=p=>Tn.value=p),width:"30%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[s("span",cf,[v(x,{onClick:ji},{default:y(()=>e[227]||(e[227]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Mr,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[228]||(e[228]=[k("确定")])),_:1})])]),default:y(()=>[s("div",lf,[v(hl,{ref:"treeRef",data:$i.value,"node-key":"id",props:fl,"default-expand-all":"","highlight-current":"",onNodeClick:vl},{default:y(({node:p,data:ae})=>[s("div",sf,[s("div",df,[v(P,null,{default:y(()=>[v(gl)]),_:1}),s("span",uf,re(ae.title),1)])])]),_:1},8,["data"])])]),_:1},8,["modelValue"]),v(Pt,{title:"创建自定义题目",modelValue:io.value,"onUpdate:modelValue":e[49]||(e[49]=p=>io.value=p),width:"40%","close-on-click-modal":!1,class:"question-bank-form-dialog","before-close":In},{default:y(()=>[v(zl,{modelValue:Ko.value,"onUpdate:modelValue":e[48]||(e[48]=p=>Ko.value=p),"is-edit":Ni.value,onSubmit:ft,onCancel:In},null,8,["modelValue","is-edit"])]),_:1},8,["modelValue"]),v(Pt,{title:"资料收集",modelValue:Oe.value,"onUpdate:modelValue":e[53]||(e[53]=p=>Oe.value=p),width:"900px","close-on-click-modal":!1,class:"data-collection-dialog"},{footer:y(()=>[s("span",Vf,[v(x,{onClick:Pa},{default:y(()=>e[238]||(e[238]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:kr},{default:y(()=>e[239]||(e[239]=[k("确认")])),_:1})])]),default:y(()=>[s("div",ff,[s("div",vf,[e[237]||(e[237]=s("div",{class:"panel-header"},[s("h3",null,"字段显示配置")],-1)),s("div",pf,[e[232]||(e[232]=s("div",{class:"section-title"},"基本信息",-1)),v(Yt,{gutter:20},{default:y(()=>[(N(!0),Y(We,null,He(Br(),(p,ae)=>(N(),Ce(Lt,{span:8,key:ae},{default:y(()=>[s("div",mf,[s("span",gf,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(Fe,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,disabled:p.label=="姓名"||p.label=="手机号"||p.label=="身份证号",class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[233]||(e[233]=s("div",{class:"section-title"},"家庭成员信息",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Lt,{span:24},{default:y(()=>[s("div",hf,[s("span",yf,[k(re(Q.family_member.label)+" ",1),Q.family_member.visible?(N(),Ce(bt,{key:0,size:"small",type:"success"},{default:y(()=>e[229]||(e[229]=[k("已启用")])),_:1})):Ue("",!0)]),v(Fe,{modelValue:Q.family_member.visible,"onUpdate:modelValue":e[50]||(e[50]=p=>Q.family_member.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),Q.family_member.visible?(N(),Ce(Yt,{key:0,gutter:20},{default:y(()=>[(N(!0),Y(We,null,He(Q.family_member.fields,(p,ae)=>(N(),Ce(Lt,{span:8,key:ae},{default:y(()=>[s("div",bf,[s("span",Sf,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(Fe,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Ue("",!0),e[234]||(e[234]=s("div",{class:"section-title"},"教育经历",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Lt,{span:24},{default:y(()=>[s("div",Ef,[s("span",xf,[k(re(Q.education.label)+" ",1),Q.education.visible?(N(),Ce(bt,{key:0,size:"small",type:"success"},{default:y(()=>e[230]||(e[230]=[k("已启用")])),_:1})):Ue("",!0)]),v(Fe,{modelValue:Q.education.visible,"onUpdate:modelValue":e[51]||(e[51]=p=>Q.education.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),Q.education.visible?(N(),Ce(Yt,{key:1,gutter:20},{default:y(()=>[(N(!0),Y(We,null,He(Q.education.fields,(p,ae)=>(N(),Ce(Lt,{span:8,key:ae},{default:y(()=>[s("div",If,[s("span",Cf,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(Fe,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Ue("",!0),e[235]||(e[235]=s("div",{class:"section-title"},"专业技能",-1)),v(Yt,{gutter:20},{default:y(()=>[(N(!0),Y(We,null,He(Nr(),(p,ae)=>(N(),Ce(Lt,{span:8,key:ae},{default:y(()=>[s("div",Af,[s("span",wf,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(Fe,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1}),e[236]||(e[236]=s("div",{class:"section-title"},"工作经历",-1)),v(Yt,{gutter:20},{default:y(()=>[v(Lt,{span:24},{default:y(()=>[s("div",Of,[s("span",Tf,[k(re(Q.work_experience.label)+" ",1),Q.work_experience.visible?(N(),Ce(bt,{key:0,size:"small",type:"success"},{default:y(()=>e[231]||(e[231]=[k("已启用")])),_:1})):Ue("",!0)]),v(Fe,{modelValue:Q.work_experience.visible,"onUpdate:modelValue":e[52]||(e[52]=p=>Q.work_experience.visible=p),class:"custom-switch"},null,8,["modelValue"])])]),_:1})]),_:1}),Q.work_experience.visible?(N(),Ce(Yt,{key:2,gutter:20},{default:y(()=>[(N(!0),Y(We,null,He(Q.work_experience.fields,(p,ae)=>(N(),Ce(Lt,{span:8,key:ae},{default:y(()=>[s("div",Df,[s("span",Pf,re(p.label),1),v(Kn,{content:"切换显示/隐藏",placement:"top"},{default:y(()=>[v(Fe,{modelValue:p.visible,"onUpdate:modelValue":Ie=>p.visible=Ie,class:"custom-switch"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)])]),_:2},1024))),128))]),_:1})):Ue("",!0)])])])]),_:1},8,["modelValue"]),v(Pt,{title:"简历收集",modelValue:Pe.value,"onUpdate:modelValue":e[55]||(e[55]=p=>Pe.value=p),width:"500px","close-on-click-modal":!1,class:"resume-collection-dialog"},{footer:y(()=>[s("span",Kf,[v(x,{onClick:dt},{default:y(()=>e[241]||(e[241]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:ot},{default:y(()=>e[242]||(e[242]=[k("确认")])),_:1})])]),default:y(()=>[s("div",Rf,[s("div",Uf,[e[240]||(e[240]=s("div",{class:"form-label"},"步骤名称",-1)),v(F,{modelValue:Ae.title,"onUpdate:modelValue":e[54]||(e[54]=p=>Ae.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])])])]),_:1},8,["modelValue"]),v(Pt,{title:"添加代码笔试步骤",modelValue:Gn.value,"onUpdate:modelValue":e[58]||(e[58]=p=>Gn.value=p),width:"500px","close-on-click-modal":!1,class:"code-test-dialog"},{footer:y(()=>[s("span",Wf,[v(x,{onClick:Ui},{default:y(()=>e[251]||(e[251]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Ua},{default:y(()=>e[252]||(e[252]=[k("确认")])),_:1})])]),default:y(()=>[s("div",Mf,[s("div",kf,[e[243]||(e[243]=s("div",{class:"form-label"},"步骤名称",-1)),v(F,{modelValue:it.title,"onUpdate:modelValue":e[56]||(e[56]=p=>it.title=p),placeholder:"请输入步骤名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),s("div",Bf,[e[244]||(e[244]=s("div",{class:"form-label"},"自动评判试卷",-1)),v(Fe,{modelValue:it.autoJudge,"onUpdate:modelValue":e[57]||(e[57]=p=>it.autoJudge=p)},null,8,["modelValue"]),s("span",Nf,re(it.autoJudge?"开启":"关闭"),1)]),s("div",jf,[e[250]||(e[250]=s("div",{class:"form-label"},"添加考试试卷",-1)),s("div",Ff,[it.selectedPaper?(N(),Y("div",Qf,[s("div",Gf,[s("div",zf,re(it.selectedPaper.title),1),s("div",$f,[s("span",null,re(it.selectedPaper.questionCount)+"道题",1),s("span",null,re(it.selectedPaper.duration)+"分钟",1),s("span",null,re(it.selectedPaper.difficulty),1)])]),s("div",Jf,[v(x,{type:"text",onClick:Ma},{default:y(()=>e[247]||(e[247]=[k("查看")])),_:1}),v(x,{type:"text",onClick:ka},{default:y(()=>e[248]||(e[248]=[k("更换")])),_:1}),v(x,{type:"text",onClick:Ba},{default:y(()=>e[249]||(e[249]=[k("删除")])),_:1})])])):(N(),Y("div",Lf,[v(x,{type:"primary",plain:"",onClick:Ka},{default:y(()=>[v(P,null,{default:y(()=>[v(be(hn))]),_:1}),e[245]||(e[245]=k(" 添加考卷 "))]),_:1}),e[246]||(e[246]=s("p",{class:"tip-text"},"多选时,考生会随机分配到一套试卷",-1))]))])])])]),_:1},8,["modelValue"]),v(be(di),{title:"添加打字测试步骤",modelValue:zn.value,"onUpdate:modelValue":e[66]||(e[66]=p=>zn.value=p),size:"60%","close-on-click-modal":!1,class:"typing-test-dialog","destroy-on-close":!1},{footer:y(()=>[s("span",lv,[v(x,{onClick:Ki},{default:y(()=>e[269]||(e[269]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Na},{default:y(()=>e[270]||(e[270]=[k("保存")])),_:1})])]),default:y(()=>[s("div",Hf,[s("div",Yf,[e[254]||(e[254]=s("div",{class:"form-label"},"选择文章",-1)),s("div",Xf,[v(x,{type:"primary",size:"small",class:"add-article-btn"},{default:y(()=>[v(P,null,{default:y(()=>[v(be(hn))]),_:1}),e[253]||(e[253]=k(" 添加文章 "))]),_:1})])]),s("div",Zf,[e[257]||(e[257]=s("div",{class:"form-label"},"候选人选择文章方式",-1)),v(yl,{modelValue:nt.selectionMode,"onUpdate:modelValue":e[59]||(e[59]=p=>nt.selectionMode=p)},{default:y(()=>[v(uo,{label:"random"},{default:y(()=>e[255]||(e[255]=[k("随机抽取")])),_:1}),v(uo,{label:"self"},{default:y(()=>e[256]||(e[256]=[k("候选人自主选择")])),_:1})]),_:1},8,["modelValue"])]),s("div",qf,[e[259]||(e[259]=s("div",{class:"form-label"},"测试时间",-1)),s("div",_f,[v(F,{modelValue:nt.duration,"onUpdate:modelValue":e[60]||(e[60]=p=>nt.duration=p),class:"time-input"},null,8,["modelValue"]),e[258]||(e[258]=s("span",{class:"time-unit"},"分钟",-1))])]),s("div",ev,[e[261]||(e[261]=s("div",{class:"form-label"},"登录界面预览图(建议尺寸1024*768像素,最大不要超过5M)",-1)),v(Ji,{class:"preview-uploader",action:"#","auto-upload":!1,"show-file-list":!1,accept:"image/*"},{default:y(()=>[s("div",tv,[v(P,null,{default:y(()=>[v(be(hn))]),_:1}),e[260]||(e[260]=s("div",{class:"upload-text"},"添加图片",-1))])]),_:1})]),s("div",nv,[e[262]||(e[262]=s("div",{class:"form-label"},"注意事项内容(在登录界面显示)",-1)),v(F,{modelValue:nt.notes,"onUpdate:modelValue":e[61]||(e[61]=p=>nt.notes=p),type:"textarea",rows:"4",placeholder:"请输入注意事项内容",maxlength:"300","show-word-limit":""},null,8,["modelValue"])]),s("div",ov,[e[263]||(e[263]=s("div",{class:"form-label"},"测试页面标题",-1)),v(F,{modelValue:nt.pageTitle,"onUpdate:modelValue":e[62]||(e[62]=p=>nt.pageTitle=p),placeholder:"测试页面标题"},null,8,["modelValue"])]),s("div",iv,[e[265]||(e[265]=s("div",{class:"form-label"},"视频监控",-1)),v(Ht,{modelValue:nt.videoMonitoring,"onUpdate:modelValue":e[63]||(e[63]=p=>nt.videoMonitoring=p)},{default:y(()=>e[264]||(e[264]=[k("视频监控")])),_:1},8,["modelValue"])]),s("div",av,[e[268]||(e[268]=s("div",{class:"form-label"},"通过标准",-1)),s("div",rv,[v(Ht,{modelValue:nt.passCriteria.speed,"onUpdate:modelValue":e[64]||(e[64]=p=>nt.passCriteria.speed=p)},{default:y(()=>e[266]||(e[266]=[k("速度")])),_:1},8,["modelValue"]),v(Ht,{modelValue:nt.passCriteria.accuracy,"onUpdate:modelValue":e[65]||(e[65]=p=>nt.passCriteria.accuracy=p)},{default:y(()=>e[267]||(e[267]=[k("正确率")])),_:1},8,["modelValue"])])])])]),_:1},8,["modelValue"]),v(Pt,{title:"面试设置",modelValue:ao.value,"onUpdate:modelValue":e[76]||(e[76]=p=>ao.value=p),width:"60%","close-on-click-modal":!1,class:"interview-settings-dialog"},{footer:y(()=>[s("span",Bv,[v(x,{onClick:jr},{default:y(()=>e[290]||(e[290]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:Fr},{default:y(()=>e[291]||(e[291]=[k("完成")])),_:1})])]),default:y(()=>[s("div",sv,[s("div",dv,[e[277]||(e[277]=s("div",{class:"section-header"},[s("span",{class:"section-title"},"防作弊设置")],-1)),s("div",uv,[e[271]||(e[271]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「人脸一致性检测」"),s("p",{class:"setting-desc"},"该强调,非本人操作人脸可视化提醒和警示,默认开启")],-1)),v(Fe,{modelValue:je.faceConsistency,"onUpdate:modelValue":e[67]||(e[67]=p=>je.faceConsistency=p),disabled:!0},null,8,["modelValue"])]),s("div",cv,[e[272]||(e[272]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「 防截屏 / 录屏 」"),s("p",{class:"setting-desc"},"该强调,非本人前来体验截屏录屏以上行为,为防止提醒")],-1)),v(Fe,{modelValue:je.preventScreenshot,"onUpdate:modelValue":e[68]||(e[68]=p=>je.preventScreenshot=p),disabled:!0},null,8,["modelValue"])]),s("div",fv,[e[274]||(e[274]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「 切 屏 预 制 」"),s("p",{class:"setting-desc"},"该强调,非本人前使用切屏处理用页面,为防作弊警示")],-1)),v(Fe,{modelValue:je.screenSwitchAlert,"onUpdate:modelValue":e[69]||(e[69]=p=>je.screenSwitchAlert=p),disabled:!0},{default:y(()=>e[273]||(e[273]=[s("span",{class:"switch-desc"},"切屏超过 2 次关闭,作答本关面试",-1)])),_:1},8,["modelValue"])]),s("div",vv,[e[275]||(e[275]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「 情 绪 识 别」"),s("p",{class:"setting-desc"},"该现已,条件较差以及入侵过程中的作弊,条件等好等")],-1)),v(Fe,{modelValue:je.positionDetection,"onUpdate:modelValue":e[70]||(e[70]=p=>je.positionDetection=p),disabled:!0},null,8,["modelValue"])]),s("div",pv,[e[276]||(e[276]=s("div",{class:"setting-info"},[s("span",{class:"setting-name"},"「 眼 动 检 测 」"),s("p",{class:"setting-desc"},"视实检测候选人的眼动频率进行分析,页面等较等")],-1)),v(Fe,{modelValue:je.eyeMovementDetection,"onUpdate:modelValue":e[71]||(e[71]=p=>je.eyeMovementDetection=p),disabled:!0},null,8,["modelValue"])])]),s("div",mv,[e[289]||(e[289]=s("div",{class:"section-header"},[s("span",{class:"section-title"},"其他设置")],-1)),s("div",gv,[s("div",hv,[e[279]||(e[279]=s("span",{class:"setting-name"},"重复面试",-1)),s("div",yv,[e[278]||(e[278]=s("p",{class:"setting-desc",style:{}},"选取后,将允许面试者进行重复面试",-1)),v(Fe,{modelValue:je.reviewInterview,"onUpdate:modelValue":e[72]||(e[72]=p=>je.reviewInterview=p)},null,8,["modelValue"])])])]),s("div",bv,[s("div",Sv,[e[282]||(e[282]=s("span",{class:"setting-name"},"开场词",-1)),Dn.value?(N(),Y("div",Iv,[v(F,{modelValue:nn.value,"onUpdate:modelValue":e[73]||(e[73]=p=>nn.value=p),type:"textarea",rows:"2",maxlength:"150",placeholder:"请输入开始前提示内容","show-word-limit":""},null,8,["modelValue"]),s("div",Cv,[v(x,{size:"small",onClick:Gr},{default:y(()=>e[280]||(e[280]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:zr},{default:y(()=>e[281]||(e[281]=[k("保存")])),_:1})])])):(N(),Y("div",Ev,[s("p",xv,re(je.beforeStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Qr},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))])]),s("div",Av,[s("div",wv,[e[285]||(e[285]=s("span",{class:"setting-name"},"开始后提醒",-1)),ro.value?(N(),Y("div",Dv,[v(F,{modelValue:Pn.value,"onUpdate:modelValue":e[74]||(e[74]=p=>Pn.value=p),type:"textarea",rows:"2",placeholder:"请输入开始后提醒内容",maxlength:"100","show-word-limit":""},null,8,["modelValue"]),s("div",Pv,[v(x,{size:"small",onClick:Jr},{default:y(()=>e[283]||(e[283]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Wr},{default:y(()=>e[284]||(e[284]=[k("保存")])),_:1})])])):(N(),Y("div",Ov,[s("p",Tv,re(je.afterStartText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:$r},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))])]),s("div",Vv,[s("div",Rv,[e[288]||(e[288]=s("span",{class:"setting-name"},"结束语",-1)),lo.value?(N(),Y("div",Mv,[v(F,{modelValue:Vn.value,"onUpdate:modelValue":e[75]||(e[75]=p=>Vn.value=p),type:"textarea",rows:"2",placeholder:"请输入免责声明内容",maxlength:"200","show-word-limit":""},null,8,["modelValue"]),s("div",kv,[v(x,{size:"small",onClick:Yr},{default:y(()=>e[286]||(e[286]=[k("取消")])),_:1}),v(x,{size:"small",type:"primary",onClick:Xr},{default:y(()=>e[287]||(e[287]=[k("保存")])),_:1})])])):(N(),Y("div",Uv,[s("p",Kv,re(je.disclaimerText),1),v(x,{type:"text",class:"edit-desc-btn",onClick:Hr},{default:y(()=>[v(P,null,{default:y(()=>[v(be(ht))]),_:1})]),_:1})]))])])])])]),_:1},8,["modelValue"]),v(Pt,{title:"选择题目",modelValue:m.value,"onUpdate:modelValue":e[81]||(e[81]=p=>m.value=p),width:"70%","close-on-click-modal":!1,class:"question-select-dialog"},{footer:y(()=>[s("span",zv,[v(x,{onClick:ji},{default:y(()=>e[292]||(e[292]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:S,style:{"background-color":"#ed7d31","border-color":"#ed7d31"}},{default:y(()=>e[293]||(e[293]=[k("确定")])),_:1})])]),default:y(()=>[s("div",Nv,[v(Yt,{class:"document-el-row"},{default:y(()=>[v(Lt,{span:3},{default:y(()=>[s("div",jv,[v(Jl,{ref_key:"treeListRef",ref:ll,treeData:zi.value,onTreeClick:sl,onUpdateDocument:dl,onDeleteDocument:ul},null,8,["treeData"])])]),_:1}),v(Lt,{span:21},{default:y(()=>[s("div",Fv,[s("div",Lv,[v(F,{modelValue:oo.value,"onUpdate:modelValue":e[77]||(e[77]=p=>oo.value=p),placeholder:"请输入关键词搜索题目",clearable:"",onClear:Mo,onKeyup:Ul(Mo,["enter"]),style:{width:"300px","margin-right":"10px"}},{append:y(()=>[v(x,{onClick:Mo},{default:y(()=>[v(P,null,{default:y(()=>[v(be(Ql))]),_:1})]),_:1})]),_:1},8,["modelValue"]),v(me,{modelValue:lt.question_form,"onUpdate:modelValue":e[78]||(e[78]=p=>lt.question_form=p),placeholder:"题目类型",clearable:"",onChange:Mo,style:{width:"120px"}},{default:y(()=>[v(H,{label:"开放问题",value:0}),v(H,{label:"单选题",value:1}),v(H,{label:"多选题",value:2}),v(H,{label:"看图选答案",value:3}),v(H,{label:"得分题",value:4}),v(H,{label:"追加型开放问题",value:5}),v(H,{label:"填空题",value:6})]),_:1},8,["modelValue"])])]),s("div",Qv,[v(bl,{data:rt.value,style:{width:"100%"},onSelectionChange:Kr},{default:y(()=>[v(ri,{type:"selection",width:"55"}),v(ri,{prop:"question",label:"题目标题"}),v(ri,{prop:"question_form_name",label:"题目类型",width:"100"})]),_:1},8,["data"]),s("div",Gv,[v(Sl,{"current-page":lt.page,"onUpdate:currentPage":e[79]||(e[79]=p=>lt.page=p),"page-size":lt.pageSize,"onUpdate:pageSize":e[80]||(e[80]=p=>lt.pageSize=p),total:Wt.value,"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next",onSizeChange:h,onCurrentChange:b},null,8,["current-page","page-size","total"])])])]),_:1})]),_:1})])]),_:1},8,["modelValue"]),v(Pt,{title:so.value>=0?"编辑候选人提问环节":"配置候选人提问环节",modelValue:Un.value,"onUpdate:modelValue":e[85]||(e[85]=p=>Un.value=p),width:"600px","close-on-click-modal":!1,class:"candidate-questions-dialog"},{footer:y(()=>[s("span",Yv,[v(x,{onClick:xe},{default:y(()=>e[300]||(e[300]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:ve},{default:y(()=>e[301]||(e[301]=[k("确认")])),_:1})])]),default:y(()=>[s("div",$v,[s("div",Jv,[e[294]||(e[294]=s("div",{class:"form-label"},[k(" 环节名称"),s("span",{class:"required"},"*")],-1)),v(F,{modelValue:Re.title,"onUpdate:modelValue":e[82]||(e[82]=p=>Re.title=p),placeholder:"请输入环节名称",maxlength:"30","show-word-limit":""},null,8,["modelValue"])]),s("div",Wv,[e[295]||(e[295]=s("div",{class:"form-label"},[k(" 提问时长"),s("span",{class:"required"},"*")],-1)),v(gn,{modelValue:Re.duration,"onUpdate:modelValue":e[83]||(e[83]=p=>Re.duration=p),min:1,max:30,step:1,"controls-position":"right",style:{width:"200px"}},null,8,["modelValue"]),e[296]||(e[296]=s("span",{class:"form-unit"},"分钟",-1)),e[297]||(e[297]=s("div",{class:"form-tip"},"候选人可用于提问的总时长",-1))]),s("div",Hv,[e[298]||(e[298]=s("div",{class:"form-label"},"环节描述",-1)),v(F,{modelValue:Re.description,"onUpdate:modelValue":e[84]||(e[84]=p=>Re.description=p),type:"textarea",rows:"3",placeholder:"请输入环节描述",maxlength:"200"},null,8,["modelValue"]),e[299]||(e[299]=s("div",{class:"form-tip"},"向候选人说明此环节的目的和意义",-1))])])]),_:1},8,["title","modelValue"]),v(Pt,{modelValue:ko.value,"onUpdate:modelValue":e[89]||(e[89]=p=>ko.value=p),title:"肢体检测配置",width:"600px","close-on-click-modal":!1},{footer:y(()=>[s("span",Xv,[v(x,{onClick:al,size:"small"},{default:y(()=>e[306]||(e[306]=[k("取消")])),_:1}),v(x,{type:"primary",onClick:rl,size:"small"},{default:y(()=>e[307]||(e[307]=[k("确定")])),_:1})])]),default:y(()=>[v(xl,{model:on.value,"label-width":"120px"},{default:y(()=>[v(li,{label:"检测时长"},{default:y(()=>[v(gn,{modelValue:on.value.duration,"onUpdate:modelValue":e[86]||(e[86]=p=>on.value.duration=p),min:1,max:30,step:1,"controls-position":"right"},null,8,["modelValue"]),e[302]||(e[302]=k(" 分钟 "))]),_:1}),v(li,{label:"检测项目"},{default:y(()=>[v(El,{modelValue:on.value.detectionItems,"onUpdate:modelValue":e[87]||(e[87]=p=>on.value.detectionItems=p)},{default:y(()=>[v(Ht,{label:"face"},{default:y(()=>e[303]||(e[303]=[k("面部表情")])),_:1}),v(Ht,{label:"pose"},{default:y(()=>e[304]||(e[304]=[k("肢体姿态")])),_:1}),v(Ht,{label:"gesture"},{default:y(()=>e[305]||(e[305]=[k("手势动作")])),_:1})]),_:1},8,["modelValue"])]),_:1}),v(li,{label:"提示文本"},{default:y(()=>[v(F,{modelValue:on.value.promptText,"onUpdate:modelValue":e[88]||(e[88]=p=>on.value.promptText=p),type:"textarea",rows:3,placeholder:"请输入提示文本"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}}),dp=Wl(Zv,[["__scopeId","data-v-684478b5"]]);export{dp as default};
|