index.j4zOg9vH.js 212 KB

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