File: /volume1/@appstore/SynologyDrive/drive/drive_bundle.js
/*! For license information please see drive_bundle.js.LICENSE.txt */
!function(){var e,s,a={8743:function(e,t,i){const n=i(8874),o={};for(const e of Object.keys(n))o[n[e]]=e;const s={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};e.exports=s;for(const e of Object.keys(s)){if(!("channels"in s[e]))throw new Error("missing channels property: "+e);if(!("labels"in s[e]))throw new Error("missing channel labels property: "+e);if(s[e].labels.length!==s[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:i}=s[e];delete s[e].channels,delete s[e].labels,Object.defineProperty(s[e],"channels",{value:t}),Object.defineProperty(s[e],"labels",{value:i})}s.rgb.hsl=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,o=Math.min(t,i,n),s=Math.max(t,i,n),r=s-o;let a,l;s===o?a=0:t===s?a=(i-n)/r:i===s?a=2+(n-t)/r:n===s&&(a=4+(t-i)/r),a=Math.min(60*a,360),a<0&&(a+=360);const d=(o+s)/2;return l=s===o?0:d<=.5?r/(s+o):r/(2-s-o),[a,100*l,100*d]},s.rgb.hsv=function(e){let t,i,n,o,s;const r=e[0]/255,a=e[1]/255,l=e[2]/255,d=Math.max(r,a,l),c=d-Math.min(r,a,l),u=function(e){return(d-e)/6/c+.5};return 0===c?(o=0,s=0):(s=c/d,t=u(r),i=u(a),n=u(l),r===d?o=n-i:a===d?o=1/3+t-n:l===d&&(o=2/3+i-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*s,100*d]},s.rgb.hwb=function(e){const t=e[0],i=e[1];let n=e[2];const o=s.rgb.hsl(e)[0],r=1/255*Math.min(t,Math.min(i,n));return n=1-1/255*Math.max(t,Math.max(i,n)),[o,100*r,100*n]},s.rgb.cmyk=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,o=Math.min(1-t,1-i,1-n);return[100*((1-t-o)/(1-o)||0),100*((1-i-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*o]},s.rgb.keyword=function(e){const t=o[e];if(t)return t;let i,s=1/0;for(const t of Object.keys(n)){const o=n[t],l=(a=o,((r=e)[0]-a[0])**2+(r[1]-a[1])**2+(r[2]-a[2])**2);l<s&&(s=l,i=t)}var r,a;return i},s.keyword.rgb=function(e){return n[e]},s.rgb.xyz=function(e){let t=e[0]/255,i=e[1]/255,n=e[2]/255;t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;return[100*(.4124*t+.3576*i+.1805*n),100*(.2126*t+.7152*i+.0722*n),100*(.0193*t+.1192*i+.9505*n)]},s.rgb.lab=function(e){const t=s.rgb.xyz(e);let i=t[0],n=t[1],o=t[2];i/=95.047,n/=100,o/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(i-n),200*(n-o)]},s.hsl.rgb=function(e){const t=e[0]/360,i=e[1]/100,n=e[2]/100;let o,s,r;if(0===i)return r=255*n,[r,r,r];o=n<.5?n*(1+i):n+i-n*i;const a=2*n-o,l=[0,0,0];for(let e=0;e<3;e++)s=t+1/3*-(e-1),s<0&&s++,s>1&&s--,r=6*s<1?a+6*(o-a)*s:2*s<1?o:3*s<2?a+(o-a)*(2/3-s)*6:a,l[e]=255*r;return l},s.hsl.hsv=function(e){const t=e[0];let i=e[1]/100,n=e[2]/100,o=i;const s=Math.max(n,.01);n*=2,i*=n<=1?n:2-n,o*=s<=1?s:2-s;return[t,100*(0===n?2*o/(s+o):2*i/(n+i)),100*((n+i)/2)]},s.hsv.rgb=function(e){const t=e[0]/60,i=e[1]/100;let n=e[2]/100;const o=Math.floor(t)%6,s=t-Math.floor(t),r=255*n*(1-i),a=255*n*(1-i*s),l=255*n*(1-i*(1-s));switch(n*=255,o){case 0:return[n,l,r];case 1:return[a,n,r];case 2:return[r,n,l];case 3:return[r,a,n];case 4:return[l,r,n];case 5:return[n,r,a]}},s.hsv.hsl=function(e){const t=e[0],i=e[1]/100,n=e[2]/100,o=Math.max(n,.01);let s,r;r=(2-i)*n;const a=(2-i)*o;return s=i*o,s/=a<=1?a:2-a,s=s||0,r/=2,[t,100*s,100*r]},s.hwb.rgb=function(e){const t=e[0]/360;let i=e[1]/100,n=e[2]/100;const o=i+n;let s;o>1&&(i/=o,n/=o);const r=Math.floor(6*t),a=1-n;s=6*t-r,0!=(1&r)&&(s=1-s);const l=i+s*(a-i);let d,c,u;switch(r){default:case 6:case 0:d=a,c=l,u=i;break;case 1:d=l,c=a,u=i;break;case 2:d=i,c=a,u=l;break;case 3:d=i,c=l,u=a;break;case 4:d=l,c=i,u=a;break;case 5:d=a,c=i,u=l}return[255*d,255*c,255*u]},s.cmyk.rgb=function(e){const t=e[0]/100,i=e[1]/100,n=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,i*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o))]},s.xyz.rgb=function(e){const t=e[0]/100,i=e[1]/100,n=e[2]/100;let o,s,r;return o=3.2406*t+-1.5372*i+-.4986*n,s=-.9689*t+1.8758*i+.0415*n,r=.0557*t+-.204*i+1.057*n,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,o=Math.min(Math.max(0,o),1),s=Math.min(Math.max(0,s),1),r=Math.min(Math.max(0,r),1),[255*o,255*s,255*r]},s.xyz.lab=function(e){let t=e[0],i=e[1],n=e[2];t/=95.047,i/=100,n/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*i-16,500*(t-i),200*(i-n)]},s.lab.xyz=function(e){let t,i,n;i=(e[0]+16)/116,t=e[1]/500+i,n=i-e[2]/200;const o=i**3,s=t**3,r=n**3;return i=o>.008856?o:(i-16/116)/7.787,t=s>.008856?s:(t-16/116)/7.787,n=r>.008856?r:(n-16/116)/7.787,t*=95.047,i*=100,n*=108.883,[t,i,n]},s.lab.lch=function(e){const t=e[0],i=e[1],n=e[2];let o;o=360*Math.atan2(n,i)/2/Math.PI,o<0&&(o+=360);return[t,Math.sqrt(i*i+n*n),o]},s.lch.lab=function(e){const t=e[0],i=e[1],n=e[2]/360*2*Math.PI;return[t,i*Math.cos(n),i*Math.sin(n)]},s.rgb.ansi16=function(e,t=null){const[i,n,o]=e;let r=null===t?s.rgb.hsv(e)[2]:t;if(r=Math.round(r/50),0===r)return 30;let a=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(i/255));return 2===r&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){const t=e[0],i=e[1],n=e[2];if(t===i&&i===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;return 16+36*Math.round(t/255*5)+6*Math.round(i/255*5)+Math.round(n/255*5)},s.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];const i=.5*(1+~~(e>50));return[(1&t)*i*255,(t>>1&1)*i*255,(t>>2&1)*i*255]},s.ansi256.rgb=function(e){if(e>=232){const t=10*(e-232)+8;return[t,t,t]}let t;e-=16;return[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},s.rgb.hex=function(e){const t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},s.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let i=t[0];3===t[0].length&&(i=i.split("").map((e=>e+e)).join(""));const n=parseInt(i,16);return[n>>16&255,n>>8&255,255&n]},s.rgb.hcg=function(e){const t=e[0]/255,i=e[1]/255,n=e[2]/255,o=Math.max(Math.max(t,i),n),s=Math.min(Math.min(t,i),n),r=o-s;let a,l;return a=r<1?s/(1-r):0,l=r<=0?0:o===t?(i-n)/r%6:o===i?2+(n-t)/r:4+(t-i)/r,l/=6,l%=1,[360*l,100*r,100*a]},s.hsl.hcg=function(e){const t=e[1]/100,i=e[2]/100,n=i<.5?2*t*i:2*t*(1-i);let o=0;return n<1&&(o=(i-.5*n)/(1-n)),[e[0],100*n,100*o]},s.hsv.hcg=function(e){const t=e[1]/100,i=e[2]/100,n=t*i;let o=0;return n<1&&(o=(i-n)/(1-n)),[e[0],100*n,100*o]},s.hcg.rgb=function(e){const t=e[0]/360,i=e[1]/100,n=e[2]/100;if(0===i)return[255*n,255*n,255*n];const o=[0,0,0],s=t%1*6,r=s%1,a=1-r;let l=0;switch(Math.floor(s)){case 0:o[0]=1,o[1]=r,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=r;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=r,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return l=(1-i)*n,[255*(i*o[0]+l),255*(i*o[1]+l),255*(i*o[2]+l)]},s.hcg.hsv=function(e){const t=e[1]/100,i=t+e[2]/100*(1-t);let n=0;return i>0&&(n=t/i),[e[0],100*n,100*i]},s.hcg.hsl=function(e){const t=e[1]/100,i=e[2]/100*(1-t)+.5*t;let n=0;return i>0&&i<.5?n=t/(2*i):i>=.5&&i<1&&(n=t/(2*(1-i))),[e[0],100*n,100*i]},s.hcg.hwb=function(e){const t=e[1]/100,i=t+e[2]/100*(1-t);return[e[0],100*(i-t),100*(1-i)]},s.hwb.hcg=function(e){const t=e[1]/100,i=1-e[2]/100,n=i-t;let o=0;return n<1&&(o=(i-n)/(1-n)),[e[0],100*n,100*o]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=function(e){return[0,0,e[0]]},s.gray.hsv=s.gray.hsl,s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){const t=255&Math.round(e[0]/100*255),i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(i.length)+i},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},4498:function(e,t,i){const n=i(8743),o=i(4339),s={};Object.keys(n).forEach((e=>{s[e]={},Object.defineProperty(s[e],"channels",{value:n[e].channels}),Object.defineProperty(s[e],"labels",{value:n[e].labels});const t=o(e);Object.keys(t).forEach((i=>{const n=t[i];s[e][i]=function(e){const t=function(...t){const i=t[0];if(null==i)return i;i.length>1&&(t=i);const n=e(t);if("object"==typeof n)for(let e=n.length,t=0;t<e;t++)n[t]=Math.round(n[t]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}(n),s[e][i].raw=function(e){const t=function(...t){const i=t[0];return null==i?i:(i.length>1&&(t=i),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(n)}))})),e.exports=s},4339:function(e,t,i){const n=i(8743);function o(e){const t=function(){const e={},t=Object.keys(n);for(let i=t.length,n=0;n<i;n++)e[t[n]]={distance:-1,parent:null};return e}(),i=[e];for(t[e].distance=0;i.length;){const e=i.pop(),o=Object.keys(n[e]);for(let n=o.length,s=0;s<n;s++){const n=o[s],r=t[n];-1===r.distance&&(r.distance=t[e].distance+1,r.parent=e,i.unshift(n))}}return t}function s(e,t){return function(i){return t(e(i))}}function r(e,t){const i=[t[e].parent,e];let o=n[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)i.unshift(t[r].parent),o=s(n[t[r].parent][r],o),r=t[r].parent;return o.conversion=i,o}e.exports=function(e){const t=o(e),i={},n=Object.keys(t);for(let e=n.length,o=0;o<e;o++){const e=n[o];null!==t[e].parent&&(i[e]=r(e,t))}return i}},2280:function(e,t,i){var n=i(7637),o=i(1920),s=TypeError;e.exports=function(e){if(n(e))return e;throw s(o(e)+" is not a function")}},5841:function(e,t,i){var n=i(3098),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw o("Incorrect invocation")}},9798:function(e,t,i){var n=i(3237),o=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw s(o(e)+" is not an object")}},3426:function(e,t,i){var n=i(7217),o=i(58),s=i(2167),r=function(e){return function(t,i,r){var a,l=n(t),d=s(l),c=o(r,d);if(e&&i!=i){for(;d>c;)if((a=l[c++])!=a)return!0}else for(;d>c;c++)if((e||c in l)&&l[c]===i)return e||c||0;return!e&&-1}};e.exports={includes:r(!0),indexOf:r(!1)}},6550:function(e,t,i){"use strict";var n=i(7573),o=i(4686),s=TypeError,r=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(o(e)&&!r(e,"length").writable)throw s("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},1792:function(e,t,i){var n=i(9798),o=i(8615);e.exports=function(e,t,i,s){try{return s?t(n(i)[0],i[1]):t(i)}catch(t){o(e,"throw",t)}}},46:function(e,t,i){var n=i(5690),o=n({}.toString),s=n("".slice);e.exports=function(e){return s(o(e),8,-1)}},2093:function(e,t,i){var n=i(6082),o=i(7637),s=i(46),r=i(2670)("toStringTag"),a=Object,l="Arguments"==s(function(){return arguments}());e.exports=n?s:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=a(e),r))?i:l?s(t):"Object"==(n=s(t))&&o(t.callee)?"Arguments":n}},4697:function(e,t,i){var n=i(2704),o=i(3),s=i(1783),r=i(8433);e.exports=function(e,t,i){for(var a=o(t),l=r.f,d=s.f,c=0;c<a.length;c++){var u=a[c];n(e,u)||i&&n(i,u)||l(e,u,d(t,u))}}},9427:function(e,t,i){var n=i(8244);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},6502:function(e){e.exports=function(e,t){return{value:e,done:t}}},5462:function(e,t,i){var n=i(7573),o=i(8433),s=i(7801);e.exports=n?function(e,t,i){return o.f(e,t,s(1,i))}:function(e,t,i){return e[t]=i,e}},7801:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},8258:function(e,t,i){var n=i(7637),o=i(8433),s=i(3923),r=i(2134);e.exports=function(e,t,i,a){a||(a={});var l=a.enumerable,d=void 0!==a.name?a.name:t;if(n(i)&&s(i,d,a),a.global)l?e[t]=i:r(t,i);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:o.f(e,t,{value:i,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},9779:function(e,t,i){var n=i(8258);e.exports=function(e,t,i){for(var o in t)n(e,o,t[o],i);return e}},2134:function(e,t,i){var n=i(3573),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},2313:function(e,t,i){"use strict";var n=i(1920),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw o("Cannot delete property "+n(t)+" of "+n(e))}},7573:function(e,t,i){var n=i(8244);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6394:function(e){var t="object"==typeof document&&document.all,i=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:i}},2614:function(e,t,i){var n=i(3573),o=i(3237),s=n.document,r=o(s)&&o(s.createElement);e.exports=function(e){return r?s.createElement(e):{}}},3133:function(e){var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},7232:function(e,t,i){var n=i(8104);e.exports=n("navigator","userAgent")||""},6921:function(e,t,i){var n,o,s=i(3573),r=i(7232),a=s.process,l=s.Deno,d=a&&a.versions||l&&l.version,c=d&&d.v8;c&&(o=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&r&&(!(n=r.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=r.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},704:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8349:function(e,t,i){var n=i(3573),o=i(1783).f,s=i(5462),r=i(8258),a=i(2134),l=i(4697),d=i(5987);e.exports=function(e,t){var i,c,u,h,p,f=e.target,m=e.global,g=e.stat;if(i=m?n:g?n[f]||a(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],u=e.dontCallGetSet?(p=o(i,c))&&p.value:i[c],!d(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==u){if(typeof h==typeof u)continue;l(h,u)}(e.sham||u&&u.sham)&&s(h,"sham",!0),r(i,c,h,e)}}},8244:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},8064:function(e,t,i){var n=i(7652),o=i(2280),s=i(2374),r=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:s?r(e,t):function(){return e.apply(t,arguments)}}},2374:function(e,t,i){var n=i(8244);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},4746:function(e,t,i){var n=i(2374),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},7822:function(e,t,i){var n=i(7573),o=i(2704),s=Function.prototype,r=n&&Object.getOwnPropertyDescriptor,a=o(s,"name"),l=a&&"something"===function(){}.name,d=a&&(!n||n&&r(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:d}},7652:function(e,t,i){var n=i(46),o=i(5690);e.exports=function(e){if("Function"===n(e))return o(e)}},5690:function(e,t,i){var n=i(2374),o=Function.prototype,s=o.call,r=n&&o.bind.bind(s,s);e.exports=n?r:function(e){return function(){return s.apply(e,arguments)}}},8104:function(e,t,i){var n=i(3573),o=i(7637),s=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}},9739:function(e,t,i){var n=i(2280),o=i(9798);e.exports=function(e){return{iterator:e,next:n(o(e).next)}}},3082:function(e,t,i){var n=i(2093),o=i(3192),s=i(2923),r=i(8246),a=i(2670)("iterator");e.exports=function(e){if(!s(e))return o(e,a)||o(e,"@@iterator")||r[n(e)]}},3283:function(e,t,i){var n=i(4746),o=i(2280),s=i(9798),r=i(1920),a=i(3082),l=TypeError;e.exports=function(e,t){var i=arguments.length<2?a(e):t;if(o(i))return s(n(i,e));throw l(r(e)+" is not iterable")}},3192:function(e,t,i){var n=i(2280),o=i(2923);e.exports=function(e,t){var i=e[t];return o(i)?void 0:n(i)}},3573:function(e,t,i){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},2704:function(e,t,i){var n=i(5690),o=i(4142),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(o(e),t)}},8740:function(e){e.exports={}},9079:function(e,t,i){var n=i(8104);e.exports=n("document","documentElement")},3216:function(e,t,i){var n=i(7573),o=i(8244),s=i(2614);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},9089:function(e,t,i){var n=i(5690),o=i(8244),s=i(46),r=Object,a=n("".split);e.exports=o((function(){return!r("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?a(e,""):r(e)}:r},2959:function(e,t,i){var n=i(5690),o=i(7637),s=i(6131),r=n(Function.toString);o(s.inspectSource)||(s.inspectSource=function(e){return r(e)}),e.exports=s.inspectSource},8580:function(e,t,i){var n,o,s,r=i(8953),a=i(3573),l=i(3237),d=i(5462),c=i(2704),u=i(6131),h=i(8118),p=i(8740),f="Object already initialized",m=a.TypeError,g=a.WeakMap;if(r||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw m(f);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=h("state");p[y]=!0,n=function(e,t){if(c(e,y))throw m(f);return t.facade=e,d(e,y,t),t},o=function(e){return c(e,y)?e[y]:{}},s=function(e){return c(e,y)}}e.exports={set:n,get:o,has:s,enforce:function(e){return s(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!l(t)||(i=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return i}}}},8367:function(e,t,i){var n=i(2670),o=i(8246),s=n("iterator"),r=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||r[s]===e)}},4686:function(e,t,i){var n=i(46);e.exports=Array.isArray||function(e){return"Array"==n(e)}},7637:function(e,t,i){var n=i(6394),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},5987:function(e,t,i){var n=i(8244),o=i(7637),s=/#|\.prototype\./,r=function(e,t){var i=l[a(e)];return i==c||i!=d&&(o(t)?n(t):!!t)},a=r.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=r.data={},d=r.NATIVE="N",c=r.POLYFILL="P";e.exports=r},2923:function(e){e.exports=function(e){return null==e}},3237:function(e,t,i){var n=i(7637),o=i(6394),s=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===s}:function(e){return"object"==typeof e?null!==e:n(e)}},1968:function(e){e.exports=!1},3669:function(e,t,i){var n=i(8104),o=i(7637),s=i(3098),r=i(7863),a=Object;e.exports=r?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&s(t.prototype,a(e))}},1899:function(e,t,i){var n=i(8064),o=i(4746),s=i(9798),r=i(1920),a=i(8367),l=i(2167),d=i(3098),c=i(3283),u=i(3082),h=i(8615),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,i){var g,v,y,b,w,C,x,S=i&&i.that,k=!(!i||!i.AS_ENTRIES),_=!(!i||!i.IS_RECORD),I=!(!i||!i.IS_ITERATOR),T=!(!i||!i.INTERRUPTED),D=n(t,S),L=function(e){return g&&h(g,"normal",e),new f(!0,e)},A=function(e){return k?(s(e),T?D(e[0],e[1],L):D(e[0],e[1])):T?D(e,L):D(e)};if(_)g=e.iterator;else if(I)g=e;else{if(!(v=u(e)))throw p(r(e)+" is not iterable");if(a(v)){for(y=0,b=l(e);b>y;y++)if((w=A(e[y]))&&d(m,w))return w;return new f(!1)}g=c(e,v)}for(C=_?e.next:g.next;!(x=o(C,g)).done;){try{w=A(x.value)}catch(e){h(g,"throw",e)}if("object"==typeof w&&w&&d(m,w))return w}return new f(!1)}},8615:function(e,t,i){var n=i(4746),o=i(9798),s=i(3192);e.exports=function(e,t,i){var r,a;o(e);try{if(!(r=s(e,"return"))){if("throw"===t)throw i;return i}r=n(r,e)}catch(e){a=!0,r=e}if("throw"===t)throw i;if(a)throw r;return o(r),i}},4213:function(e,t,i){"use strict";var n=i(4746),o=i(2874),s=i(5462),r=i(9779),a=i(2670),l=i(8580),d=i(3192),c=i(1267).IteratorPrototype,u=i(6502),h=i(8615),p="IteratorHelper",f="WrapForValidIterator",m=l.set,g=a("toStringTag"),v=function(e){var t=e?f:p,i=l.getterFor(t),a=r(o(c),{next:function(){var t=i(this);if(e)return t.nextHandler();try{var n=t.done?void 0:t.nextHandler();return u(n,t.done)}catch(e){throw t.done=!0,e}},return:function(){var t=i(this),o=t.iterator;if(t.done=!0,e){var s=d(o,"return");return s?n(s,o):u(void 0,!0)}if(t.inner)try{h(t.inner.iterator,"return")}catch(e){return h(o,"throw",e)}return h(o,"return"),u(void 0,!0)}});return e||s(a,g,"Iterator Helper"),a},y=v(!1),b=v(!0);e.exports=function(e,t){var i=t?f:p,n=function(t,n){n?(n.iterator=t.iterator,n.next=t.next):n=t,n.type=i,n.nextHandler=e,n.counter=0,n.done=!1,m(this,n)};return n.prototype=t?b:y,n}},1267:function(e,t,i){"use strict";var n,o,s,r=i(8244),a=i(7637),l=i(3237),d=i(2874),c=i(1193),u=i(8258),h=i(2670),p=i(1968),f=h("iterator"),m=!1;[].keys&&("next"in(s=[].keys())?(o=c(c(s)))!==Object.prototype&&(n=o):m=!0),!l(n)||r((function(){var e={};return n[f].call(e)!==e}))?n={}:p&&(n=d(n)),a(n[f])||u(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:m}},8246:function(e){e.exports={}},2167:function(e,t,i){var n=i(4212);e.exports=function(e){return n(e.length)}},3923:function(e,t,i){var n=i(8244),o=i(7637),s=i(2704),r=i(7573),a=i(7822).CONFIGURABLE,l=i(2959),d=i(8580),c=d.enforce,u=d.get,h=Object.defineProperty,p=r&&!n((function(){return 8!==h((function(){}),"length",{value:8}).length})),f=String(String).split("String"),m=e.exports=function(e,t,i){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!s(e,"name")||a&&e.name!==t)&&(r?h(e,"name",{value:t,configurable:!0}):e.name=t),p&&i&&s(i,"arity")&&e.length!==i.arity&&h(e,"length",{value:i.arity});try{i&&s(i,"constructor")&&i.constructor?r&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=c(e);return s(n,"source")||(n.source=f.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return o(this)&&u(this).source||l(this)}),"toString")},6183:function(e){var t=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?i:t)(n)}},2874:function(e,t,i){var n,o=i(9798),s=i(7017),r=i(704),a=i(8740),l=i(9079),d=i(2614),c=i(8118),u="prototype",h="script",p=c("IE_PROTO"),f=function(){},m=function(e){return"<"+h+">"+e+"</"+h+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,i;v="undefined"!=typeof document?document.domain&&n?g(n):(t=d("iframe"),i="java"+h+":",t.style.display="none",l.appendChild(t),t.src=String(i),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(n);for(var o=r.length;o--;)delete v[u][r[o]];return v()};a[p]=!0,e.exports=Object.create||function(e,t){var i;return null!==e?(f[u]=o(e),i=new f,f[u]=null,i[p]=e):i=v(),void 0===t?i:s.f(i,t)}},7017:function(e,t,i){var n=i(7573),o=i(1033),s=i(8433),r=i(9798),a=i(7217),l=i(1203);t.f=n&&!o?Object.defineProperties:function(e,t){r(e);for(var i,n=a(t),o=l(t),d=o.length,c=0;d>c;)s.f(e,i=o[c++],n[i]);return e}},8433:function(e,t,i){var n=i(7573),o=i(3216),s=i(1033),r=i(9798),a=i(6629),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",p="writable";t.f=n?s?function(e,t,i){if(r(e),t=a(t),r(i),"function"==typeof e&&"prototype"===t&&"value"in i&&p in i&&!i[p]){var n=c(e,t);n&&n[p]&&(e[t]=i.value,i={configurable:h in i?i[h]:n[h],enumerable:u in i?i[u]:n[u],writable:!1})}return d(e,t,i)}:d:function(e,t,i){if(r(e),t=a(t),r(i),o)try{return d(e,t,i)}catch(e){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},1783:function(e,t,i){var n=i(7573),o=i(4746),s=i(8534),r=i(7801),a=i(7217),l=i(6629),d=i(2704),c=i(3216),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=a(e),t=l(t),c)try{return u(e,t)}catch(e){}if(d(e,t))return r(!o(s.f,e,t),e[t])}},2100:function(e,t,i){var n=i(124),o=i(704).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},2597:function(e,t){t.f=Object.getOwnPropertySymbols},1193:function(e,t,i){var n=i(2704),o=i(7637),s=i(4142),r=i(8118),a=i(9427),l=r("IE_PROTO"),d=Object,c=d.prototype;e.exports=a?d.getPrototypeOf:function(e){var t=s(e);if(n(t,l))return t[l];var i=t.constructor;return o(i)&&t instanceof i?i.prototype:t instanceof d?c:null}},3098:function(e,t,i){var n=i(5690);e.exports=n({}.isPrototypeOf)},124:function(e,t,i){var n=i(5690),o=i(2704),s=i(7217),r=i(3426).indexOf,a=i(8740),l=n([].push);e.exports=function(e,t){var i,n=s(e),d=0,c=[];for(i in n)!o(a,i)&&o(n,i)&&l(c,i);for(;t.length>d;)o(n,i=t[d++])&&(~r(c,i)||l(c,i));return c}},1203:function(e,t,i){var n=i(124),o=i(704);e.exports=Object.keys||function(e){return n(e,o)}},8534:function(e,t){"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!i.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},2534:function(e,t,i){var n=i(4746),o=i(7637),s=i(3237),r=TypeError;e.exports=function(e,t){var i,a;if("string"===t&&o(i=e.toString)&&!s(a=n(i,e)))return a;if(o(i=e.valueOf)&&!s(a=n(i,e)))return a;if("string"!==t&&o(i=e.toString)&&!s(a=n(i,e)))return a;throw r("Can't convert object to primitive value")}},3:function(e,t,i){var n=i(8104),o=i(5690),s=i(2100),r=i(2597),a=i(9798),l=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=s.f(a(e)),i=r.f;return i?l(t,i(e)):t}},1877:function(e,t,i){var n=i(2923),o=TypeError;e.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}},8118:function(e,t,i){var n=i(2495),o=i(5154),s=n("keys");e.exports=function(e){return s[e]||(s[e]=o(e))}},6131:function(e,t,i){var n=i(3573),o=i(2134),s="__core-js_shared__",r=n[s]||o(s,{});e.exports=r},2495:function(e,t,i){var n=i(1968),o=i(6131);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},7528:function(e,t,i){var n=i(6921),o=i(8244);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},58:function(e,t,i){var n=i(6297),o=Math.max,s=Math.min;e.exports=function(e,t){var i=n(e);return i<0?o(i+t,0):s(i,t)}},7217:function(e,t,i){var n=i(9089),o=i(1877);e.exports=function(e){return n(o(e))}},6297:function(e,t,i){var n=i(6183);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},4212:function(e,t,i){var n=i(6297),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},4142:function(e,t,i){var n=i(1877),o=Object;e.exports=function(e){return o(n(e))}},879:function(e,t,i){var n=i(4746),o=i(3237),s=i(3669),r=i(3192),a=i(2534),l=i(2670),d=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var i,l=r(e,c);if(l){if(void 0===t&&(t="default"),i=n(l,e,t),!o(i)||s(i))return i;throw d("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},6629:function(e,t,i){var n=i(879),o=i(3669);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},6082:function(e,t,i){var n={};n[i(2670)("toStringTag")]="z",e.exports="[object z]"===String(n)},1920:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},5154:function(e,t,i){var n=i(5690),o=0,s=Math.random(),r=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++o+s,36)}},7863:function(e,t,i){var n=i(7528);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1033:function(e,t,i){var n=i(7573),o=i(8244);e.exports=n&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8953:function(e,t,i){var n=i(3573),o=i(7637),s=n.WeakMap;e.exports=o(s)&&/native code/.test(String(s))},2670:function(e,t,i){var n=i(3573),o=i(2495),s=i(2704),r=i(5154),a=i(7528),l=i(7863),d=o("wks"),c=n.Symbol,u=c&&c.for,h=l?c:c&&c.withoutSetter||r;e.exports=function(e){if(!s(d,e)||!a&&"string"!=typeof d[e]){var t="Symbol."+e;a&&s(c,e)?d[e]=c[e]:d[e]=l&&u?u(t):h(t)}return d[e]}},9280:function(e,t,i){"use strict";var n=i(8349),o=i(4142),s=i(2167),r=i(6550),a=i(2313),l=i(3133),d=1!==[].unshift(0),c=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}();n({target:"Array",proto:!0,arity:1,forced:d||c},{unshift:function(e){var t=o(this),i=s(t),n=arguments.length;if(n){l(i+n);for(var d=i;d--;){var c=d+n;d in t?t[c]=t[d]:a(t,c)}for(var u=0;u<n;u++)t[u]=arguments[u]}return r(t,i+n)}})},4366:function(e,t,i){"use strict";var n=i(8349),o=i(3573),s=i(5841),r=i(7637),a=i(5462),l=i(8244),d=i(2704),c=i(2670),u=i(1267).IteratorPrototype,h=i(1968),p=c("toStringTag"),f=o.Iterator,m=h||!r(f)||f.prototype!==u||!l((function(){f({})})),g=function(){s(this,u)};d(u,p)||a(u,p,"Iterator"),!m&&d(u,"constructor")&&u.constructor!==Object||a(u,"constructor",g),g.prototype=u,n({global:!0,constructor:!0,forced:m},{Iterator:g})},569:function(e,t,i){"use strict";var n=i(8349),o=i(1899),s=i(2280),r=i(9739);n({target:"Iterator",proto:!0,real:!0,forced:!0},{every:function(e){var t=r(this),i=0;return s(e),!o(t,(function(t,n){if(!e(t,i++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},6064:function(e,t,i){"use strict";var n=i(8349),o=i(4746),s=i(2280),r=i(9798),a=i(9739),l=i(4213),d=i(1792),c=l((function(){for(var e,t,i=this.iterator,n=this.filterer,s=this.next;;){if(e=r(o(s,i)),this.done=!!e.done)return;if(t=e.value,d(i,n,[t,this.counter++],!0))return t}}));n({target:"Iterator",proto:!0,real:!0,forced:!0},{filter:function(e){return new c(a(this),{filterer:s(e)})}})},2871:function(e,t,i){"use strict";var n=i(8349),o=i(1899),s=i(2280),r=i(9739);n({target:"Iterator",proto:!0,real:!0,forced:!0},{find:function(e){var t=r(this),i=0;return s(e),o(t,(function(t,n){if(e(t,i++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},3761:function(e,t,i){"use strict";var n=i(8349),o=i(1899),s=i(2280),r=i(9739);n({target:"Iterator",proto:!0,real:!0,forced:!0},{forEach:function(e){var t=r(this),i=0;s(e),o(t,(function(t){e(t,i++)}),{IS_RECORD:!0})}})},5953:function(e,t,i){"use strict";var n=i(8349),o=i(4746),s=i(2280),r=i(9798),a=i(9739),l=i(4213),d=i(1792),c=l((function(){var e=this.iterator,t=r(o(this.next,e));if(!(this.done=!!t.done))return d(e,this.mapper,[t.value,this.counter++],!0)}));n({target:"Iterator",proto:!0,real:!0,forced:!0},{map:function(e){return new c(a(this),{mapper:s(e)})}})},1923:function(e,t,i){"use strict";var n=i(8349),o=i(1899),s=i(2280),r=i(9739),a=TypeError;n({target:"Iterator",proto:!0,real:!0,forced:!0},{reduce:function(e){var t=r(this);s(e);var i=arguments.length<2,n=i?void 0:arguments[1],l=0;if(o(t,(function(t){i?(i=!1,n=t):n=e(n,t,l),l++}),{IS_RECORD:!0}),i)throw a("Reduce of empty iterator with no initial value");return n}})},8787:function(e,t,i){"use strict";var n=i(8349),o=i(1899),s=i(2280),r=i(9739);n({target:"Iterator",proto:!0,real:!0,forced:!0},{some:function(e){var t=r(this),i=0;return s(e),o(t,(function(t,n){if(e(t,i++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},8874:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},9818:function(e,t,i){var n=i(8874),o=i(6851),s=Object.hasOwnProperty,r=Object.create(null);for(var a in n)s.call(n,a)&&(r[n[a]]=a);var l=e.exports={to:{},get:{}};function d(e,t,i){return Math.min(Math.max(t,e),i)}function c(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,i;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),i="hsl";break;case"hwb":t=l.get.hwb(e),i="hwb";break;default:t=l.get.rgb(e),i="rgb"}return t?{model:i,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,i,o,r=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=t[2],t=t[1],i=0;i<3;i++){var a=2*i;r[i]=parseInt(t.slice(a,a+2),16)}o&&(r[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(o=(t=t[1])[3],i=0;i<3;i++)r[i]=parseInt(t[i]+t[i],16);o&&(r[3]=parseInt(o+o,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(i=0;i<3;i++)r[i]=parseInt(t[i+1],0);t[4]&&(t[5]?r[3]=.01*parseFloat(t[4]):r[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:s.call(n,t[1])?((r=n[t[1]])[3]=1,r):null:null;for(i=0;i<3;i++)r[i]=Math.round(2.55*parseFloat(t[i+1]));t[4]&&(t[5]?r[3]=.01*parseFloat(t[4]):r[3]=parseFloat(t[4]))}for(i=0;i<3;i++)r[i]=d(r[i],0,255);return r[3]=d(r[3],0,1),r},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var i=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,d(parseFloat(t[2]),0,100),d(parseFloat(t[3]),0,100),d(isNaN(i)?1:i,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var i=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,d(parseFloat(t[2]),0,100),d(parseFloat(t[3]),0,100),d(isNaN(i)?1:i,0,1)]}return null},l.to.hex=function(){var e=o(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=o(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=o(arguments),t=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+i+"%, "+n+"%)":"rgba("+t+"%, "+i+"%, "+n+"%, "+e[3]+")"},l.to.hsl=function(){var e=o(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=o(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return r[e.slice(0,3)]}},4396:function(e,t,i){(t=i(3645)(!1)).push([e.id,".palette-style[data-v-43c2ad13]{width:330px;padding:1px 0;display:grid;grid-template-columns:repeat(12, 1fr);gap:6px}.color-palette-item[data-v-43c2ad13]{width:16px;height:16px;border:1px solid rgba(0,0,0,0);border-radius:2px;padding:2px;cursor:pointer}.color-palette-item[data-v-43c2ad13]:hover{border-color:#c8d2dc}.color-palette-item.selected div[data-v-43c2ad13]{background-image:var(--d-assets-icon-label-select-1x, none);background-size:var(--d-assets-icon-label-select__size, auto)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 144dpi){.color-palette-item.selected div[data-v-43c2ad13]{background-image:var(--d-assets-icon-label-select-2x, none)}}.color-palette-item.selected div.light[data-v-43c2ad13]{background-position:0 0}.color-palette-item.selected div.dark[data-v-43c2ad13]{background-position:0 -16px}.color-block[data-v-43c2ad13]{width:16px;height:16px;border-radius:2px}",""]),e.exports=t},8675:function(e,t,i){(t=i(3645)(!1)).push([e.id,".content-wrapper[data-v-190bf212]{display:flex;flex-direction:column;gap:6px;box-sizing:border-box}",""]),e.exports=t},4607:function(e,t,i){(t=i(3645)(!1)).push([e.id,".share-name-column .tier-disconnected-icon[data-v-5bd596de],.share-name-column .tier-fill-icon[data-v-5bd596de],.share-name-column .tier-icon[data-v-5bd596de],.share-name-column .c2-share-icon[data-v-5bd596de]{width:20px;height:20px;display:inline-block}.share-name-column[data-v-5bd596de]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.share-name-column .c2-share-icon[data-v-5bd596de]{background-image:var(--d-assets-icon-hybrid-share-1x, none);background-size:var(--d-assets-icon-hybrid-share__size, auto)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 144dpi){.share-name-column .c2-share-icon[data-v-5bd596de]{background-image:var(--d-assets-icon-hybrid-share-2x, none)}}.share-name-column .tier-icon[data-v-5bd596de]{background-image:url(webman/3rdparty/SynologyDrive-Drive/images/_Asset/svg/icon_tier.svg);background-position:0% 50%;background-repeat:no-repeat}.share-name-column .tier-fill-icon[data-v-5bd596de]{background-image:url(webman/3rdparty/SynologyDrive-Drive/images/_Asset/svg/icon_tier_fill.svg);background-position:0% 50%;background-repeat:no-repeat}.share-name-column .tier-disconnected-icon[data-v-5bd596de]{background-image:url(webman/3rdparty/SynologyDrive-Drive/images/_Asset/svg/icon_tier_disconnection.svg);background-position:0% 50%;background-repeat:no-repeat}.customWhiteTip[data-v-5bd596de]{height:28px;width:28px}",""]),e.exports=t},6728:function(e,t,i){(t=i(3645)(!1)).push([e.id,".v-whitetip-wrapper[data-v-a25c1268]{margin-top:2px;margin-bottom:2px;margin-left:4px;vertical-align:top}.gray-status[data-v-a25c1268]{color:var(--v-color-font-tier3)}.green-status[data-v-a25c1268]{color:var(--v-color-green)}.share-status-wrapper[data-v-a25c1268]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}",""]),e.exports=t},67:function(e,t,i){(t=i(3645)(!1)).push([e.id,".share-list-option[data-v-d1459afe],[data-v-d1459afe] .shareListSelect .v-multiselect-ct .v-multiselect-item-label,.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .member .member-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.one-row[data-v-d1459afe]{display:flex;flex-direction:row;align-items:center;gap:8px}.share-link-role-btn[data-v-d1459afe]{margin-bottom:8px}.role-option-container[data-v-d1459afe]{width:100%;display:flex}.share-list-option[data-v-d1459afe]{display:flex;align-items:center}.shareInviteTitleComposite[data-v-d1459afe]{display:inline-block;margin-top:8px}.shareInviteTitleComposite .shareInviteTitle[data-v-d1459afe]{box-sizing:border-box;font-size:13px;color:#2e3032;height:30px;line-height:20px;padding:5px 0}.shareInviteTitleComposite .shareInviteWhitetip[data-v-d1459afe]{margin-left:5px}button[syno-id=share-to-members-addMemberBtn][data-v-d1459afe]{display:flex;justify-content:center;align-items:center;box-sizing:border-box;width:40px;height:30px;padding:3px 8px;border-radius:3px}[data-v-d1459afe] .shareListSelect .v-multiselect-ct{height:30px}[data-v-d1459afe] .shareListSelect .v-multiselect-ct .v-multiselect-item-label{max-width:65px}[data-v-d1459afe] .shareListSelect .v-multiselect-ct input{font-size:12px}.invitedMembers-wrapper[data-v-d1459afe] {width:432px;height:178px;box-sizing:border-box;margin-top:8px}.invitedMembers-wrapper[data-v-d1459afe] .empty-list-msg{display:inline-block;color:#7e8082;font-size:13px;padding-top:8px}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap{border-color:#eceef0}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap.v-data-view-item-selected{background-color:rgba(0,0,0,0)}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap.v-data-view-item-selected:hover{background-color:#f6f8fa}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row{box-sizing:border-box;height:30px}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .member{display:flex;flex-direction:row;align-items:center;flex-shrink:0;box-sizing:border-box;width:226px;height:30px;padding:3px 9px 3px 8px;gap:4px}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .member .member-icon{display:flex;width:24px;height:24px;justify-content:center;align-items:center;flex-shrink:0}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .member .member-name{display:flex;align-items:center;line-height:100%;height:100%;font-size:13px}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .role{display:flex;align-items:center;justify-content:center;height:30px;padding:3px 0;box-sizing:border-box}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .role .v-select2-wrapper{background:rgba(0,0,0,0);border:none;padding-left:14px;height:24px}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .delete-button-wrapper{display:flex;align-items:center;box-sizing:border-box;width:36px;height:28px;padding:6px 8px 6px 12px}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .delete-button-wrapper .delete-button{display:flex;box-sizing:border-box;width:16px;height:16px;justify-content:center;align-items:center;flex-shrink:0}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .delete-button-wrapper .delete-button .share-delete-icon:hover{background-position:0 -24px;cursor:pointer}.invitedMembers-wrapper[data-v-d1459afe] .v-data-view-item-wrap .one-row .delete-button-wrapper .delete-button .share-delete-icon:active{background-position:0 -48px}",""]),e.exports=t},6338:function(e,t,i){(t=i(3645)(!1)).push([e.id,".syno-d-highlight-mask[data-v-9bb93cca]{position:fixed;inset:0;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.fade-enter-active[data-v-9bb93cca]{transition:opacity .3s ease}.fade-leave-active[data-v-9bb93cca]{transition:opacity .05s ease}.fade-enter-from[data-v-9bb93cca],.fade-leave-to[data-v-9bb93cca]{opacity:0}",""]),e.exports=t},1449:function(e,t,i){(t=i(3645)(!1)).push([e.id,".file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block[data-v-fb53d2a4],.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block .file-request-identifier-white-item .example[data-v-fb53d2a4]{font-family:var(--v-font-family-base);font-variant-ligatures:none}.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block[data-v-fb53d2a4]:lang(zh-TW),.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block .file-request-identifier-white-item .example[data-v-fb53d2a4]:lang(zh-TW){font-family:var(--v-font-family-zh-tw)}.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block[data-v-fb53d2a4]:lang(zh-CN),.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block .file-request-identifier-white-item .example[data-v-fb53d2a4]:lang(zh-CN){font-family:var(--v-font-family-zh-cn)}.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block[data-v-fb53d2a4]:lang(ja),.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block .file-request-identifier-white-item .example[data-v-fb53d2a4]:lang(ja){font-family:var(--v-font-family-ja)}.file-request-item-wrapper[data-v-fb53d2a4]{margin-bottom:8px}.file-request-item-wrapper.check-box-item[data-v-fb53d2a4]{margin-left:10px;margin-right:10px}.file-request-identifier-whitetip-wrapper[data-v-fb53d2a4]{display:flex;width:320px;padding:0;flex-direction:column;align-items:flex-start;gap:16px}.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block[data-v-fb53d2a4]{display:flex;flex-direction:column;align-self:stretch;color:var(--v-color-font-tier1);font-size:13px;font-style:normal;font-weight:400;line-height:20px;gap:8px}.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block .file-request-identifier-white-item[data-v-fb53d2a4]{display:flex;padding-left:20px;align-items:center;gap:8px;align-self:stretch}.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block .file-request-identifier-white-item .folder-img[data-v-fb53d2a4]{background-image:url(webman/3rdparty/SynologyDrive-Drive/images/_Asset/svg/folder.svg);width:24px;height:24px}.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block .file-request-identifier-white-item .xxx-img[data-v-fb53d2a4]{background-image:url(webman/3rdparty/SynologyDrive-Drive/images/_Asset/svg/xxx.svg);width:24px;height:24px}.file-request-identifier-whitetip-wrapper .file-request-identifier-whitetip-block .file-request-identifier-white-item .example[data-v-fb53d2a4]{color:var(--v-color-font-tier2);width:248px;word-break:break-all;font-size:13px;font-style:normal;font-weight:400;line-height:20px}[data-v-fb53d2a4] .syno-d-file-request-desc-optional{color:var(--v-color-font-tier2);font-size:12px;padding-left:4px}.multiple-item[data-v-fb53d2a4] {height:30px;align-items:center}.multiple-item[data-v-fb53d2a4] .v-form-multi-item.small{justify-content:space-between}.multiple-item[data-v-fb53d2a4] .checkbox{width:230px}.multiple-item[data-v-fb53d2a4] .input{width:220px}.multiple-item[data-v-fb53d2a4] .input .v-dt-picker{height:30px;box-sizing:border-box}.fileRequestWhitetip[data-v-fb53d2a4]{margin:1px 0px 0px 4px}.destination-folder[data-v-fb53d2a4]{color:var(--v-color-font-tier2)}.form-fieldset[data-v-fb53d2a4]{padding:0 0px}",""]),e.exports=t},177:function(e,t,i){(t=i(3645)(!1)).push([e.id,"[data-v-26749805] .mailSelect .v-multiselect-ct{height:120px}.option[data-v-26749805]{height:100%;margin-left:10px;line-height:28px}.option .option-label[data-v-26749805]{height:20px;margin-top:4px;font-weight:bold}.option .option-desc[data-v-26749805]{height:28px}.mail-no-account[data-v-26749805]{font-size:13px;line-height:20px}",""]),e.exports=t},943:function(e,t,i){(t=i(3645)(!1)).push([e.id,".adv-linkrole-whitetip{width:320px}.adv-linkrole-whitetip a,.adv-linkrole-whitetip p{line-height:20px}",""]),e.exports=t},3412:function(e,t,i){(t=i(3645)(!1)).push([e.id,".adv-item-wrapper[data-v-b96e01ba]{margin-bottom:8px}.adv-item-wrapper.check-box-item[data-v-b96e01ba]{margin-left:10px;margin-right:10px}.one-row[data-v-b96e01ba]{display:flex;flex-direction:row;align-items:center}.link-role-whitetip[data-v-b96e01ba]{margin-left:5px}.syno-d-share-email[data-v-b96e01ba]{padding:5px 0;float:right;line-height:20px;font-size:13px}.disableDownloadWhitetip[data-v-b96e01ba]{margin-left:5px}.multiple-item[data-v-b96e01ba] {height:30px;align-items:center}.multiple-item[data-v-b96e01ba] .v-form-multi-item.small{gap:5px}.multiple-item[data-v-b96e01ba] .checkbox{width:230px}.multiple-item[data-v-b96e01ba] .input{width:180px}.multiple-item[data-v-b96e01ba] .input .v-dt-picker{height:30px;box-sizing:border-box}",""]),e.exports=t},4516:function(e,t,i){(t=i(3645)(!1)).push([e.id,".shareInfoHeader[data-v-781f3b36]{font-size:15px;font-weight:bold;line-height:30px;height:30px;margin-bottom:8px}.shareInfoData[data-v-781f3b36]{margin-bottom:8px}",""]),e.exports=t},2453:function(e,t,i){(t=i(3645)(!1)).push([e.id,".share-list-option[data-v-6ba5e20a],[data-v-6ba5e20a] .shareListSelect .v-multiselect-ct .v-multiselect-item-label,.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .member .member-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.one-row[data-v-6ba5e20a]{display:flex;flex-direction:row;align-items:center}.share-link-role-btn[data-v-6ba5e20a]{margin-bottom:8px}.role-option-container[data-v-6ba5e20a]{width:100%;display:flex}.shareInviteTitleComposite[data-v-6ba5e20a]{display:inline-block;margin-top:8px}.shareInviteTitleComposite .shareInviteTitle[data-v-6ba5e20a]{box-sizing:border-box;font-size:13px;color:#2e3032;height:30px;line-height:20px;padding:5px 0}.shareInviteTitleComposite .shareInviteWhitetip[data-v-6ba5e20a]{margin-left:5px}.share-composite-divide[data-v-6ba5e20a]{margin-left:8px}button[syno-id=sharePanel-addMemberBtn][data-v-6ba5e20a]{width:40px;height:30px}[data-v-6ba5e20a] .shareListSelect{box-sizing:border-box}[data-v-6ba5e20a] .shareListSelect .v-multiselect-ct{box-sizing:border-box;height:32px}[data-v-6ba5e20a] .shareListSelect .v-multiselect-ct .v-scrollbar-inner{height:100%;box-sizing:border-box}[data-v-6ba5e20a] .shareListSelect .v-multiselect-ct .v-multiselect-item-label{max-width:65px}[data-v-6ba5e20a] .shareListSelect .v-multiselect-ct input{font-size:12px}.invitedMemebers-wrapper[data-v-6ba5e20a] {width:503px;box-sizing:border-box;margin-top:8px}.invitedMemebers-wrapper[data-v-6ba5e20a] .empty-list-msg{display:inline-block;color:#7e8082;font-size:13px;padding-top:8px}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap{border-color:#eceef0}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap.v-data-view-item-selected{background-color:rgba(0,0,0,0)}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap.v-data-view-item-selected:hover{background-color:#f6f8fa}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row{box-sizing:border-box;height:29px}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .member{display:flex;flex-direction:row;width:291px;height:100%;align-items:center;padding:0 9px;box-sizing:border-box}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .member .member-icon{margin-right:4px}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .member .member-name{line-height:30px;height:100%;font-size:13px;margin-top:0px}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .role{width:165px;padding-left:11px;box-sizing:border-box}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .role .v-select2-wrapper{background:rgba(0,0,0,0);border:none;padding-left:14px}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .role .v-select2-wrapper .v-select2-dropdown-icon.select-dropdown.v-icon.is-bkg{background-image:var(--d-assets-bt-dropdown-1x, none);background-size:var(--d-assets-bt-dropdown__size, auto);width:6px;margin-right:9px}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 144dpi){.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .role .v-select2-wrapper .v-select2-dropdown-icon.select-dropdown.v-icon.is-bkg{background-image:var(--d-assets-bt-dropdown-2x, none)}}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .delete-button{box-sizing:border-box;width:30px;padding-left:5px;padding-bottom:3px}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .delete-button .share-delete-icon{float:left;width:24px;height:24px;margin-top:2px}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .delete-button .share-delete-icon:hover{background-position:0 -24px;cursor:pointer}.invitedMemebers-wrapper[data-v-6ba5e20a] .v-data-view-item-wrap .one-row .delete-button .share-delete-icon:active{background-position:0 -48px}.syno-d-share-email[data-v-6ba5e20a]{padding:5px 0;float:right;line-height:20px;font-size:13px}.disableDownloadWhitetip[data-v-6ba5e20a]{margin-left:5px}",""]),e.exports=t},5231:function(e,t,i){(t=i(3645)(!1)).push([e.id,".vue-portal-target.syno-d-drive-FileListLabelTooltip{visibility:hidden}.vue-portal-target.syno-d-drive-FileListLabelTooltip.mousein{-webkit-animation:in 0s;animation:in 0s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-delay:.5s;animation-delay:.5s;visibility:hidden}@-webkit-keyframes in{0%{opacity:0}100%{visibility:visible;opacity:1}}@keyframes in{0%{opacity:0}100%{visibility:visible;opacity:1}}.vue-portal-target.syno-d-drive-FileListLabelTooltip.mouseout{-webkit-animation:fadeOut .5s;animation:fadeOut .5s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;visibility:visible}@-webkit-keyframes fadeOut{0%{opacity:1}100%{visibility:hidden;opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{visibility:hidden;opacity:0}}",""]),e.exports=t},5636:function(e,t,i){(t=i(3645)(!1)).push([e.id,".wrapper[data-v-834e175a]{border-radius:6px;background-color:var(--v-color-white);background-color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.25)}.wrapper[data-v-834e175a]{display:inline-flex;box-sizing:content-box;max-width:600px;padding:20px 12px;align-items:flex-start;align-content:flex-start;gap:4px;flex-wrap:wrap}.wrapper .tag[data-v-834e175a]{display:flex;align-items:center;gap:2px;box-sizing:border-box;padding:0 8px;border-radius:3px;max-width:100%;overflow:hidden}.wrapper .tag .label-icon[data-v-834e175a]{width:16px;height:16px}.wrapper .tag .label-name[data-v-834e175a]{font-size:13px;font-style:normal;font-family:Arial;font-weight:400;line-height:20px;width:100%;overflow:hidden;text-overflow:ellipsis}",""]),e.exports=t},5522:function(e,t,i){(t=i(3645)(!1)).push([e.id,".v-select2-dropdown-menu:has(.syno-d-copy-option-wrapper){--v-select-height__menu-item: 52px}",""]),e.exports=t},7997:function(e,t,i){(t=i(3645)(!1)).push([e.id,"[data-v-782e844c] .v-form-item-label{--v-form-item-width__label: 180px}.form-field[data-v-782e844c]{width:330px}.required-mark[data-v-782e844c]{color:red}.copy-rule-hint[data-v-782e844c]{box-sizing:content-box;width:100%;height:auto;padding:6px 0 0 0;line-height:20px;font-weight:400;font-size:13px;color:#7e8082}.syno-d-copy-option-wrapper[data-v-782e844c]{display:flex;flex-direction:column;width:100%;height:52px;align-items:center;color:#414b55;font-family:Arial;justify-content:center}.syno-d-copy-option-wrapper .copy-option-name[data-v-782e844c]{width:100%;font-size:13px;font-weight:700;line-height:24px;overflow:hidden;text-overflow:ellipsis}.syno-d-copy-option-wrapper .copy-option-hint[data-v-782e844c]{width:100%;font-size:13px;font-weight:400;line-height:24px;overflow:hidden;text-overflow:ellipsis}",""]),e.exports=t},8851:function(e,t,i){(t=i(3645)(!1)).push([e.id,".wrapper[data-v-1e3da016]{box-sizing:border-box;height:100%}.wrapper .toolbar[data-v-1e3da016]{display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:8px}.wrapper .toolbar .toolbar-right[data-v-1e3da016]{width:218px}.wrapper .toolbar .toolbar-right .advSearch[data-v-1e3da016]{width:200px;float:right}.wrapper .toolbar .toolbar-left[data-v-1e3da016]{display:flex;gap:6px}.wrapper .body[data-v-1e3da016]{box-sizing:border-box;height:calc(100% - 38px)}.wrapper .body .shared-label-table[data-v-1e3da016]{box-sizing:border-box;height:calc(100% - 38px);font-size:14px;margin-bottom:8px}.wrapper .body .shared-label-empty-view[data-v-1e3da016] .v-empty-view-text{display:flex;width:400px;flex-direction:column;justify-content:center;align-items:center}.wrapper .body .hint-msg[data-v-1e3da016]{box-sizing:content-box;width:100%;height:20px;padding:5px 0;font-family:Arial;font-size:13px;color:#7e8082;line-height:20px;font-weight:400}.wrapper .body .hint-msg .hint-msg-note[data-v-1e3da016]{color:var(--v-color-teal)}.shared-label-manage-advanceForm[data-v-1e3da016]{padding:0}[data-v-1e3da016] .row-wrapper{display:flex;align-items:center;gap:6px;flex:1 0 0}[data-v-1e3da016] .row-wrapper .admin-label-color{display:flex;flex-basis:auto;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:12px;height:12px;border-radius:2px}[data-v-1e3da016] .row-wrapper .admin-label-name{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}[data-v-1e3da016] [syno-id=manage-shared-label-dataTable]{box-sizing:border-box;height:calc(100% - 30px)}[data-v-1e3da016] [syno-id=manage-shared-label-dataTable] .v-scrollbar-inner{height:100%}",""]),e.exports=t},8996:function(e,t,i){(t=i(3645)(!1)).push([e.id,".wrapper[data-v-4281188c]{height:100%}.toolbar[data-v-4281188c]{box-sizing:border-box;height:38px;padding-bottom:8px}.toolbar .advSearch[data-v-4281188c]{width:200px;float:right}.display-table[data-v-4281188c] {height:calc(100% - 38px);font-size:14px}.shared-label-empty-view[data-v-4281188c] .v-empty-view-text{display:flex;width:400px;flex-direction:column;justify-content:center;align-items:center}[data-v-4281188c] .row-wrapper{display:flex;align-items:center;gap:6px;flex:1 0 0}[data-v-4281188c] .row-wrapper .admin-label-color{display:flex;flex-basis:auto;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:12px;height:12px;border-radius:2px}[data-v-4281188c] .row-wrapper .admin-label-name{display:inline-block;width:100%;overflow:hidden;text-overflow:ellipsis}",""]),e.exports=t},4553:function(e,t,i){(t=i(3645)(!1)).push([e.id,".v-select2-dropdown-menu:has(.syno-d-permission-wrapper){--v-select-height__menu-item: 52px}",""]),e.exports=t},9912:function(e,t,i){(t=i(3645)(!1)).push([e.id,"[data-v-76e7b6d1] .v-form-item-label{--v-form-item-width__label: 180px}.permission-hint[data-v-76e7b6d1],.restrict-hint[data-v-76e7b6d1]{box-sizing:content-box;width:100%;height:auto;padding:6px 0 24px 0;line-height:20px;font-weight:400;font-size:13px;font-family:Arial;color:#7e8082}.syno-d-permission-wrapper[data-v-76e7b6d1]{display:flex;flex-direction:column;width:100%;height:52px;align-items:center;color:#414b55;font-family:Arial;justify-content:center}.syno-d-permission-wrapper .permission-name[data-v-76e7b6d1]{width:100%;font-size:13px;font-weight:700;line-height:24px;overflow:hidden;text-overflow:ellipsis}.syno-d-permission-wrapper .permission-option-hint[data-v-76e7b6d1]{width:100%;font-size:13px;font-weight:400;line-height:24px;overflow:hidden;text-overflow:ellipsis}",""]),e.exports=t},8635:function(e,t,i){(t=i(3645)(!1)).push([e.id,"[data-v-5448a604] .summary-color{box-sizing:content-box;width:12px;height:12px;border-radius:2px;background-clip:content-box}.summary-color-wrapper[data-v-5448a604]{height:100%;display:flex;align-items:center}.summary-table[data-v-5448a604]{font-size:13px}",""]),e.exports=t},4495:function(e,t,i){(t=i(3645)(!1)).push([e.id,".more-action-btn[data-v-0e808c08]{padding-right:0px}.more-action-btn[data-v-0e808c08]:hover{background-position:0 -24px}.more-action-btn-triggered[data-v-0e808c08]{padding-right:0px;background-position:0 -48px}",""]),e.exports=t},7244:function(e,t,i){(t=i(3645)(!1)).push([e.id,'.tips-container .tips-text-container .tips-title[data-v-00250b07]{font-family:var(--v-font-family-base);font-variant-ligatures:none}.tips-container .tips-text-container .tips-title[data-v-00250b07]:lang(zh-TW){font-family:var(--v-font-family-zh-tw)}.tips-container .tips-text-container .tips-title[data-v-00250b07]:lang(zh-CN){font-family:var(--v-font-family-zh-cn)}.tips-container .tips-text-container .tips-title[data-v-00250b07]:lang(ja){font-family:var(--v-font-family-ja)}.tips-container .tips-text-container .tips-title[data-v-00250b07]{font-weight:var(--v-font-weight-bold)}.tips-container[data-v-00250b07]{border-radius:6px;background-color:var(--v-color-white);background-color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.25)}.syno-d-arrow[data-v-00250b07]{width:10px;height:10px;top:102px;left:-5px;position:absolute;transform:rotate(45deg);transform-origin:center}.syno-d-arrow.syno-d-arrow-white[data-v-00250b07]{z-index:15000;background:#fff}.syno-d-arrow.syno-d-arrow-black[data-v-00250b07]{z-index:-1;box-shadow:2px 2px 16px rgba(0,0,0,.25)}.tips-container[data-v-00250b07]{position:relative;padding:20px 20px;width:324px;box-sizing:border-box;box-shadow:0 2px 16px rgba(0,0,0,.25)}.tips-container .tips-text-container[data-v-00250b07]{margin-bottom:58px}.tips-container .tips-text-container .tips-title[data-v-00250b07]{color:#2e3032;padding-bottom:6px;line-height:20px;font-size:14px;font-weight:700;color:#2e3032}.tips-container .tips-text-container .tips-title .tips-hint[data-v-00250b07]{width:38px;height:20px;flex-shrink:0;border-radius:3px;background:rgba(30,185,199,.12);color:var(--color-theme-main-color-n, #1EB9C7);padding:3px 6px 2px 6px;font-family:Arial;font-size:13px;font-style:normal;font-weight:400;line-height:normal;letter-spacing:-0.312px}.tips-container .tips-text-container .tips-content-container[data-v-00250b07]{color:#7e8082;font-family:Arial;font-size:14px;font-style:normal;font-weight:400;line-height:21px;letter-spacing:-0.336px}.tips-container .clear-fix[data-v-00250b07]:after{content:".";display:block;height:0;clear:both;visibility:hidden}.tips-container .float-bottom[data-v-00250b07]{position:absolute;right:20px;bottom:20px}.fade-enter-active[data-v-00250b07]{transition:opacity .1s ease}.fade-leave-active[data-v-00250b07]{transition:opacity .05s ease}.fade-enter-from[data-v-00250b07],.fade-leave-to[data-v-00250b07]{opacity:0}',""]),e.exports=t},4420:function(e,t,i){(t=i(3645)(!1)).push([e.id,".status-bar[data-v-3287e978]{max-width:380px}",""]),e.exports=t},8735:function(e,t,i){(t=i(3645)(!1)).push([e.id,".syno-d-info-path[data-v-141fa6a5]{white-space:pre-wrap}.inline[data-v-141fa6a5]{display:inline}.syno-d-add-edit-form[data-v-141fa6a5]{-webkit-user-select:text;-moz-user-select:text;user-select:text}.syno-d-info-copy-path[data-v-141fa6a5]{cursor:pointer;font-weight:normal;text-decoration:none;display:inline;color:#30a1f2}.syno-d-info-copy-path[data-v-141fa6a5]:hover{color:#0b8be5}.syno-d-info-path[data-v-141fa6a5]{word-break:break-all;display:inline;max-width:calc(100% - 60px);height:40px;text-decoration:underline;color:#2e3032}.syno-d-info-path[data-v-141fa6a5]:hover{cursor:pointer}",""]),e.exports=t},4308:function(e,t,i){(t=i(3645)(!1)).push([e.id,".v-select2-dropdown.mailDropdown .v-select2-dropdown-menu-item{height:53px;padding-left:34px !important;padding-right:6px !important}",""]),e.exports=t},1532:function(e,t,i){(t=i(3645)(!1)).push([e.id,".one-row.mailSharedFile .mailSharedFileLink[data-v-687317b8]{color:#30a1f2 !important}.one-row.mailSharedFile .mailSharedFileLink[data-v-687317b8]:hover{color:#0b8be5 !important}.one-row.mailSharedFile .mailSharedFileLink[data-v-687317b8]:active{color:#007ed9 !important}.one-row.mailSharedFile .x-item-disabled.mailSharedFileLink[data-v-687317b8]{color:var(--d-theme-color-action-disable) !important}.one-row.mailSharedFile .mailSharedFileLink[data-v-687317b8]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.one-row.mailSharedFile .mailSharedFileLink[data-v-687317b8]{white-space:pre}.one-row.mailSharedFile .mailSharedFileLink span[data-v-687317b8],.one-row.mailSharedFile .mailSharedFileLink em button.xbtn-text[data-v-687317b8],.one-row.mailSharedFile .mailSharedFileLink div[data-v-687317b8]{white-space:pre}.syno-d-add-edit-form[data-v-687317b8] .v-form-item-input{width:384px}[data-v-687317b8] .mailSelect .v-multiselect-ct{box-sizing:border-box;height:32px}.option[data-v-687317b8]{height:100%;margin-left:10px;line-height:28px}.option .option-label[data-v-687317b8]{height:20px;margin-top:4px;font-weight:bold}.option .option-desc[data-v-687317b8]{height:28px}.additionalMsg[data-v-687317b8] .v-textfield-textarea-wrapper{height:130px}.additionalMsg[data-v-687317b8] .v-textfield-textarea-wrapper textarea{height:100%}.one-row.mailSharedFile[data-v-687317b8]{display:flex;flex-direction:row;align-items:flex-start;padding:5px 0;line-height:20px;height:36px;min-height:8px;box-sizing:border-box}.one-row.mailSharedFile .mailSharedFileIcon[data-v-687317b8]{width:16px;height:16px;margin:1px 8px 2px 4px}.one-row.mailSharedFile .mailSharedFileLink[data-v-687317b8]{display:inline-block;max-width:355px;text-decoration:none;font-size:13px}",""]),e.exports=t},5826:function(e,t,i){(t=i(3645)(!1)).push([e.id,".status-bar[data-v-b33a4d80]{max-width:380px}",""]),e.exports=t},9950:function(e,t,i){(t=i(3645)(!1)).push([e.id,".sync-desc[data-v-6e2ab1f8]{font-size:13px;padding:5px 0;line-height:20px}.sync-to-device-table[data-v-6e2ab1f8]{--v-table-cell-height: 29px;height:100%}.sync-to-device-table .row-wrapper[data-v-6e2ab1f8]{display:flex;align-items:center;gap:6px}.sync-to-device-table .row-wrapper .name[data-v-6e2ab1f8]{line-height:29px;font-size:13px;flex-shrink:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sync-to-device-table .row-wrapper .whitetip[data-v-6e2ab1f8]{flex-shrink:0}",""]),e.exports=t},858:function(e,t,i){(t=i(3645)(!1)).push([e.id,".palette-style[data-v-28048894]{width:336px;height:84px;padding:1px 0;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start}.color-palette-item[data-v-28048894]{width:16px;height:16px;border:1px solid rgba(0,0,0,0);margin:3px;padding:2px;cursor:pointer}.color-palette-item[data-v-28048894]:hover{border-color:#c8d2dc}.color-palette-item.selected div[data-v-28048894]{background-image:var(--d-assets-icon-label-select-1x, none);background-size:var(--d-assets-icon-label-select__size, auto)}@media(-webkit-min-device-pixel-ratio: 1.5),(min-resolution: 144dpi){.color-palette-item.selected div[data-v-28048894]{background-image:var(--d-assets-icon-label-select-2x, none)}}.color-palette-item.selected div.light[data-v-28048894]{background-position:0 0}.color-palette-item.selected div.dark[data-v-28048894]{background-position:0 -16px}.color-block[data-v-28048894]{width:16px;height:16px}",""]),e.exports=t},5568:function(e,t,i){(t=i(3645)(!1)).push([e.id,".tag-name.v-form-item[data-v-28048894] div.v-form-item-input .input-container{width:330px}.tag-color.v-form-item[data-v-28048894] div.v-form-item-label{--v-form-item-margin-right__label: 7px}",""]),e.exports=t},770:function(e,t,i){(t=i(3645)(!1)).push([e.id,"button[syno-id=dialog-tree-fbar-create-folder][data-v-0c3ed8fe]{width:40px;height:30px;margin-left:7px !important;position:relative}[data-v-0c3ed8fe] #node-text,[data-v-0c3ed8fe] #team_folder-text,[data-v-0c3ed8fe] #shared_with_me-text,[data-v-0c3ed8fe] #starred-text,[data-v-0c3ed8fe] #labels-text,[data-v-0c3ed8fe] #shared_labels-text{font-weight:bold}[data-v-0c3ed8fe] #shared_labels .v-tree-panel-node-content-wrapper{justify-content:space-between}[data-v-0c3ed8fe] .disabled-node .tree-panel-arrow{visibility:hidden}[data-v-0c3ed8fe] .label-icon-DCE1E6{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#DCE1E6}[data-v-0c3ed8fe] .label-icon-FFCCCC{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#FFCCCC}[data-v-0c3ed8fe] .label-icon-FFD9B2{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#FFD9B2}[data-v-0c3ed8fe] .label-icon-FFEC8C{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#FFEC8C}[data-v-0c3ed8fe] .label-icon-DDF29D{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#DDF29D}[data-v-0c3ed8fe] .label-icon-C4F5D4{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#C4F5D4}[data-v-0c3ed8fe] .label-icon-C2F2F2{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#C2F2F2}[data-v-0c3ed8fe] .label-icon-C8EDFA{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#C8EDFA}[data-v-0c3ed8fe] .label-icon-CCE6FF{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#CCE6FF}[data-v-0c3ed8fe] .label-icon-E2D9FF{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#E2D9FF}[data-v-0c3ed8fe] .label-icon-FFD9F2{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#FFD9F2}[data-v-0c3ed8fe] .label-icon-FFC0D2{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#FFC0D2}[data-v-0c3ed8fe] .label-icon-A0A5AA{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#A0A5AA}[data-v-0c3ed8fe] .label-icon-FA8282{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#FA8282}[data-v-0c3ed8fe] .label-icon-FA9C3E{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#FA9C3E}[data-v-0c3ed8fe] .label-icon-F2CA00{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#F2CA00}[data-v-0c3ed8fe] .label-icon-94BF13{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#94BF13}[data-v-0c3ed8fe] .label-icon-4DBF73{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#4DBF73}[data-v-0c3ed8fe] .label-icon-1DBFBF{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#1DBFBF}[data-v-0c3ed8fe] .label-icon-24BFF2{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#24BFF2}[data-v-0c3ed8fe] .label-icon-499DF2{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#499DF2}[data-v-0c3ed8fe] .label-icon-A18AE6{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#A18AE6}[data-v-0c3ed8fe] .label-icon-E67EC3{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#E67EC3}[data-v-0c3ed8fe] .label-icon-F56496{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#F56496}[data-v-0c3ed8fe] .label-icon-64696E{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#64696E}[data-v-0c3ed8fe] .label-icon-E04343{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#E04343}[data-v-0c3ed8fe] .label-icon-E67300{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#E67300}[data-v-0c3ed8fe] .label-icon-CCAA00{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#CCAA00}[data-v-0c3ed8fe] .label-icon-739900{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#739900}[data-v-0c3ed8fe] .label-icon-009933{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#009933}[data-v-0c3ed8fe] .label-icon-009999{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#009999}[data-v-0c3ed8fe] .label-icon-008FBF{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#008FBF}[data-v-0c3ed8fe] .label-icon-1470CC{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#1470CC}[data-v-0c3ed8fe] .label-icon-7052CC{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#7052CC}[data-v-0c3ed8fe] .label-icon-CC3D9C{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#CC3D9C}[data-v-0c3ed8fe] .label-icon-C81466{box-sizing:border-box;padding:3px;width:18px !important;height:18px !important;border-radius:1px;flex-shrink:0;background-clip:content-box;background-color:#C81466}.dialog-tree-body[data-v-0c3ed8fe] {width:auto;height:308px;box-sizing:border-box}.dialog-tree-body[data-v-0c3ed8fe] .v-tree-panel .v-tree-panel-icon{width:24px;height:24px;background-position:center}.dialog-no-data[data-v-0c3ed8fe] {width:424px;height:310px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto;padding:0 24px;border:1px solid #d8dadc;border-radius:4px;box-sizing:border-box}.dialog-no-data[data-v-0c3ed8fe] span{line-height:20px;color:#babcbe;text-align:center;font-family:Arial;font-size:13px;font-style:normal;font-weight:400}.v-layout.layout-tree-selector[data-v-0c3ed8fe]{height:100%}",""]),e.exports=t},7617:function(e,t,i){(t=i(3645)(!1)).push([e.id,".v-select2-dropdown-menu:has(.syno-d-volume-option-wrapper){--v-select-height__menu-item: 52px}",""]),e.exports=t},7781:function(e,t,i){(t=i(3645)(!1)).push([e.id,".hint[data-v-944bb2de],.syno-d-volume-option-wrapper[data-v-944bb2de]{font-family:var(--v-font-family-base);font-variant-ligatures:none}.hint[data-v-944bb2de]:lang(zh-TW),.syno-d-volume-option-wrapper[data-v-944bb2de]:lang(zh-TW){font-family:var(--v-font-family-zh-tw)}.hint[data-v-944bb2de]:lang(zh-CN),.syno-d-volume-option-wrapper[data-v-944bb2de]:lang(zh-CN){font-family:var(--v-font-family-zh-cn)}.hint[data-v-944bb2de]:lang(ja),.syno-d-volume-option-wrapper[data-v-944bb2de]:lang(ja){font-family:var(--v-font-family-ja)}.v-highlight-box[data-v-944bb2de]{--v-highlight-box-height: auto}.hint[data-v-944bb2de]{margin-bottom:12px;weight:400;font-size:13px;color:var(--v-color-font-tier1);line-height:20px;height:auto}[data-v-944bb2de] .v-checkbox-label{--v-checkbox-padding-left__label: 28px}[data-v-944bb2de] .redirect{cursor:pointer}.syno-d-volume-option-wrapper[data-v-944bb2de]{line-height:24px;font-size:13px;color:#414b55;letter-spacing:.1px}.syno-d-volume-option-wrapper .volume-option-name[data-v-944bb2de]{font-weight:700}.share-form[data-v-944bb2de]{margin-bottom:24px}.input[data-v-944bb2de]{width:250px}",""]),e.exports=t},8297:function(e,t,i){(t=i(3645)(!1)).push([e.id,'.recycle-bin-folder-tips-container .recycle-bin-folder-tips-text-container .recycle-bin-folder-tips-title[data-v-70d5ae60]{font-family:var(--v-font-family-base);font-variant-ligatures:none}.recycle-bin-folder-tips-container .recycle-bin-folder-tips-text-container .recycle-bin-folder-tips-title[data-v-70d5ae60]:lang(zh-TW){font-family:var(--v-font-family-zh-tw)}.recycle-bin-folder-tips-container .recycle-bin-folder-tips-text-container .recycle-bin-folder-tips-title[data-v-70d5ae60]:lang(zh-CN){font-family:var(--v-font-family-zh-cn)}.recycle-bin-folder-tips-container .recycle-bin-folder-tips-text-container .recycle-bin-folder-tips-title[data-v-70d5ae60]:lang(ja){font-family:var(--v-font-family-ja)}.recycle-bin-folder-tips-container .recycle-bin-folder-tips-text-container .recycle-bin-folder-tips-title[data-v-70d5ae60]{font-weight:var(--v-font-weight-bold)}.recycle-bin-folder-tips-container[data-v-70d5ae60]{border-radius:6px;background-color:var(--v-color-white);background-color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.25)}.syno-d-arrow[data-v-70d5ae60]{width:14px;height:14px;top:-6px;left:270px;position:absolute;transform:rotate(45deg);transform-origin:center}.syno-d-arrow.syno-d-arrow-white[data-v-70d5ae60]{z-index:15000;background:#fff}.syno-d-arrow.syno-d-arrow-black[data-v-70d5ae60]{z-index:-1;box-shadow:2px 2px 16px rgba(0,0,0,.25)}.recycle-bin-folder-tips-container[data-v-70d5ae60]{position:relative;padding:20px 20px;width:324px;box-sizing:border-box;box-shadow:0 2px 16px rgba(0,0,0,.25)}.recycle-bin-folder-tips-container .recycle-bin-folder-tips-text-container[data-v-70d5ae60]{margin-bottom:58px}.recycle-bin-folder-tips-container .recycle-bin-folder-tips-text-container .recycle-bin-folder-tips-title[data-v-70d5ae60]{color:#2e3032;padding-bottom:6px;line-height:20px;font-size:14px;font-weight:700}.recycle-bin-folder-tips-container .recycle-bin-folder-tips-text-container .recycle-bin-folder-tips-content-container[data-v-70d5ae60]{font-size:13px;color:#7e8082;line-height:20px;font-weight:400}.recycle-bin-folder-tips-container .clear-fix[data-v-70d5ae60]:after{content:".";display:block;height:0;clear:both;visibility:hidden}.recycle-bin-folder-tips-container .float-bottom[data-v-70d5ae60]{position:absolute;right:20px;bottom:20px}',""]),e.exports=t},7156:function(e,t,i){(t=i(3645)(!1)).push([e.id,".RequestGetLinkMenu-container .requestLink .RequestGetLinkMenu-title[data-v-2fd072e6],.RequestGetLinkMenu-container .fileRequestBtn[data-v-2fd072e6]{font-family:var(--v-font-family-base);font-variant-ligatures:none}.RequestGetLinkMenu-container .requestLink .RequestGetLinkMenu-title[data-v-2fd072e6]:lang(zh-TW),.RequestGetLinkMenu-container .fileRequestBtn[data-v-2fd072e6]:lang(zh-TW){font-family:var(--v-font-family-zh-tw)}.RequestGetLinkMenu-container .requestLink .RequestGetLinkMenu-title[data-v-2fd072e6]:lang(zh-CN),.RequestGetLinkMenu-container .fileRequestBtn[data-v-2fd072e6]:lang(zh-CN){font-family:var(--v-font-family-zh-cn)}.RequestGetLinkMenu-container .requestLink .RequestGetLinkMenu-title[data-v-2fd072e6]:lang(ja),.RequestGetLinkMenu-container .fileRequestBtn[data-v-2fd072e6]:lang(ja){font-family:var(--v-font-family-ja)}.RequestGetLinkMenu-container .requestLink .RequestGetLinkMenu-title[data-v-2fd072e6]{font-weight:var(--v-font-weight-bold)}.RequestGetLinkMenu-container[data-v-2fd072e6]{border:1px solid #d8dadc;border-radius:6px;background-color:var(--v-color-white);background-color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.25)}.syno-d-arrow[data-v-2fd072e6]{width:14px;height:14px;position:absolute;transform:rotate(45deg);transform-origin:center}.syno-d-arrow.syno-d-arrow-white[data-v-2fd072e6]{z-index:15000;background:#fff}.syno-d-arrow.syno-d-arrow-black[data-v-2fd072e6]{z-index:-1;box-shadow:2px 2px 16px rgba(0,0,0,.25)}.RequestGetLinkMenu-container[data-v-2fd072e6]{padding:12px 20px;width:402px;height:auto;box-sizing:border-box;box-shadow:0 2px 16px rgba(0,0,0,.25)}.RequestGetLinkMenu-container .requestLink[data-v-2fd072e6]{margin-bottom:8px}.RequestGetLinkMenu-container .requestLink .v-textfield-input[data-v-2fd072e6]{font-size:var(--v-font-size-tier1)}.RequestGetLinkMenu-container .requestLink .RequestGetLinkMenu-title[data-v-2fd072e6]{color:#2e3032;padding-bottom:1px;line-height:29px;font-size:15px;width:360px}.RequestGetLinkMenu-container .fileRequestBtn[data-v-2fd072e6]{margin-top:8px;padding:4px 0;color:#30a1f2;font-size:var(--v-font-size-tier1);width:360px;line-height:20px}.RequestGetLinkMenu-container .fileRequestBtn[data-v-2fd072e6]:hover{color:#0b8be5;cursor:pointer}",""]),e.exports=t},9699:function(e,t,i){(t=i(3645)(!1)).push([e.id,".ShareGetLinkMenu-container .shareLink .ShareGetLinkMenu-title[data-v-20a601cf],.ShareGetLinkMenu-container .advShareLink .ShareGetLinkMenu-title[data-v-20a601cf],.ShareGetLinkMenu-container .shareLink .privText[data-v-20a601cf],.ShareGetLinkMenu-container .advShareLink .privText[data-v-20a601cf],.ShareGetLinkMenu-container .sharingBtn[data-v-20a601cf]{font-family:var(--v-font-family-base);font-variant-ligatures:none}.ShareGetLinkMenu-container .shareLink .ShareGetLinkMenu-title[data-v-20a601cf]:lang(zh-TW),.ShareGetLinkMenu-container .advShareLink .ShareGetLinkMenu-title[data-v-20a601cf]:lang(zh-TW),.ShareGetLinkMenu-container .shareLink .privText[data-v-20a601cf]:lang(zh-TW),.ShareGetLinkMenu-container .advShareLink .privText[data-v-20a601cf]:lang(zh-TW),.ShareGetLinkMenu-container .sharingBtn[data-v-20a601cf]:lang(zh-TW){font-family:var(--v-font-family-zh-tw)}.ShareGetLinkMenu-container .shareLink .ShareGetLinkMenu-title[data-v-20a601cf]:lang(zh-CN),.ShareGetLinkMenu-container .advShareLink .ShareGetLinkMenu-title[data-v-20a601cf]:lang(zh-CN),.ShareGetLinkMenu-container .shareLink .privText[data-v-20a601cf]:lang(zh-CN),.ShareGetLinkMenu-container .advShareLink .privText[data-v-20a601cf]:lang(zh-CN),.ShareGetLinkMenu-container .sharingBtn[data-v-20a601cf]:lang(zh-CN){font-family:var(--v-font-family-zh-cn)}.ShareGetLinkMenu-container .shareLink .ShareGetLinkMenu-title[data-v-20a601cf]:lang(ja),.ShareGetLinkMenu-container .advShareLink .ShareGetLinkMenu-title[data-v-20a601cf]:lang(ja),.ShareGetLinkMenu-container .shareLink .privText[data-v-20a601cf]:lang(ja),.ShareGetLinkMenu-container .advShareLink .privText[data-v-20a601cf]:lang(ja),.ShareGetLinkMenu-container .sharingBtn[data-v-20a601cf]:lang(ja){font-family:var(--v-font-family-ja)}.ShareGetLinkMenu-container .shareLink .ShareGetLinkMenu-title[data-v-20a601cf],.ShareGetLinkMenu-container .advShareLink .ShareGetLinkMenu-title[data-v-20a601cf]{font-weight:var(--v-font-weight-bold)}.ShareGetLinkMenu-container[data-v-20a601cf]{border:1px solid #d8dadc;border-radius:6px;background-color:var(--v-color-white);background-color:#fff;box-shadow:0 4px 16px rgba(0,0,0,.25)}.syno-d-arrow[data-v-20a601cf]{width:14px;height:14px;position:absolute;transform:rotate(45deg);transform-origin:center}.syno-d-arrow.syno-d-arrow-white[data-v-20a601cf]{z-index:15000;background:#fff}.syno-d-arrow.syno-d-arrow-black[data-v-20a601cf]{z-index:-1;box-shadow:2px 2px 16px rgba(0,0,0,.25)}.ShareGetLinkMenu-container[data-v-20a601cf]{padding:12px 20px;width:402px;height:auto;box-sizing:border-box;box-shadow:0 2px 16px rgba(0,0,0,.25)}.ShareGetLinkMenu-container .shareLink[data-v-20a601cf],.ShareGetLinkMenu-container .advShareLink[data-v-20a601cf]{margin-bottom:8px}.ShareGetLinkMenu-container .shareLink .v-textfield-input[data-v-20a601cf],.ShareGetLinkMenu-container .advShareLink .v-textfield-input[data-v-20a601cf]{font-size:var(--v-font-size-tier1)}.ShareGetLinkMenu-container .shareLink .ShareGetLinkMenu-title[data-v-20a601cf],.ShareGetLinkMenu-container .advShareLink .ShareGetLinkMenu-title[data-v-20a601cf]{color:#2e3032;padding-bottom:1px;line-height:29px;font-size:15px;width:360px}.ShareGetLinkMenu-container .shareLink .privText[data-v-20a601cf],.ShareGetLinkMenu-container .advShareLink .privText[data-v-20a601cf]{font-size:var(--v-font-size-tier1);color:#7e8082;width:360px;padding:4px 0;line-height:20px}.ShareGetLinkMenu-container .sharingBtn[data-v-20a601cf]{margin-top:8px;padding:4px 0;color:#30a1f2;font-size:var(--v-font-size-tier1);width:360px;line-height:20px}.ShareGetLinkMenu-container .sharingBtn[data-v-20a601cf]:hover{color:#0b8be5;cursor:pointer}",""]),e.exports=t},5265:function(e,t,i){(t=i(3645)(!1)).push([e.id,".team-folder-table[data-v-24e42f8c]{font-size:var(--v-font-size-tier1);height:100%;--v-table-cell-height: 28px;padding-bottom:8px}.team-folder-table[data-v-24e42f8c] .v-pagination-total{--v-pagination-color__total: #7E8082}",""]),e.exports=t},8254:function(e,t,i){(t=i(3645)(!1)).push([e.id,".team-folder-editor-tips .syno-d-arrow{position:absolute;left:30px;top:-5px}",""]),e.exports=t},8955:function(e,t,i){(t=i(3645)(!1)).push([e.id,".data-view-wrapper[data-v-7ab8cc68]{padding:0 1px}.container[data-v-7ab8cc68]{height:59px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center}.info[data-v-7ab8cc68]{flex:457px;display:flex;flex-direction:column;flex-wrap:nowrap;padding:0 9px;box-sizing:border-box}.modifiers[data-v-7ab8cc68]{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start}.syno-d-versionviewer-filetypeicon[data-v-7ab8cc68]{width:34px;padding-left:9px;box-sizing:border-box}.syno-d-versionviewer-title[data-v-7ab8cc68]{color:var(--v-color-font-tier1) !important;font-size:13px !important;line-height:22px;font-weight:bold}.syno-d-versionviewer-editors[data-v-7ab8cc68]{color:var(--v-color-font-tier2) !important;font-size:13px !important;line-height:22px}.syno-d-versionviewer-moreactions[data-v-7ab8cc68]{box-sizing:border-box;width:49px;padding:0 10px 0 15px}.with-border-top[data-v-7ab8cc68]{border-top:1px solid #e2e4e6}.empty-text[data-v-7ab8cc68]{display:flex;align-items:center;justify-content:center;color:#7e8082;font-size:13px}",""]),e.exports=t},1863:function(e,t,i){(t=i(3645)(!1)).push([e.id,".order-panel-wrapper[data-v-bbbb053c]{box-sizing:border-box;height:100%;padding-bottom:8px}",""]),e.exports=t},6841:function(e,t,i){(t=i(3645)(!1)).push([e.id,"[data-v-99c7507a] .v-form-item-label{--v-form-item-width__label: 180px}",""]),e.exports=t},5398:function(e,t,i){(t=i(3645)(!1)).push([e.id,".pull-right[data-v-2f2b8bf2]{float:right}.order-panel-wrapper[data-v-2f2b8bf2]{box-sizing:border-box;height:100%;padding-top:8px;padding-bottom:2px}.manage-panel-wrapper[data-v-2f2b8bf2]{box-sizing:border-box;height:100%;padding-top:8px;padding-bottom:2px}",""]),e.exports=t},3645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=function(e,t){var i=e[1]||"",n=e[3];if(!n)return i;if(t&&"function"==typeof btoa){var o=(r=n,a=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(l," */")),s=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot).concat(e," */")}));return[i].concat(s).concat([o]).join("\n")}var r,a,l;return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(i,"}"):i})).join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n=0;n<e.length;n++){var o=[].concat(e[n]);i&&(o[2]?o[2]="".concat(i," and ").concat(o[2]):o[2]=i),t.push(o)}},t}},6851:function(e,t,i){"use strict";var n=i(9594),o=Array.prototype.concat,s=Array.prototype.slice,r=e.exports=function(e){for(var t=[],i=0,r=e.length;i<r;i++){var a=e[i];n(a)?t=o.call(t,s.call(a)):t.push(a)}return t};r.wrap=function(e){return function(){return e(r(arguments))}}},9594:function(e){e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},3744:function(e,t){"use strict";t.Z=(e,t)=>{const i=e.__vccOpts||e;for(const[e,n]of t)i[e]=n;return i}},4103:function(e,t,i){var n=i(4396);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("4b074234",n,!1,{})},7785:function(e,t,i){var n=i(8675);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("8ece160c",n,!1,{})},8560:function(e,t,i){var n=i(4607);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("71fcbee3",n,!1,{})},5781:function(e,t,i){var n=i(6728);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("514bf08b",n,!1,{})},6355:function(e,t,i){var n=i(67);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("a1dd68b0",n,!1,{})},8487:function(e,t,i){var n=i(6338);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("1b9ae8d4",n,!1,{})},3081:function(e,t,i){var n=i(1449);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("47edf69c",n,!1,{})},1695:function(e,t,i){var n=i(177);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("35052e52",n,!1,{})},3554:function(e,t,i){var n=i(943);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("3dc871a6",n,!1,{})},6158:function(e,t,i){var n=i(3412);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("23a6fcd7",n,!1,{})},2230:function(e,t,i){var n=i(4516);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("3da70300",n,!1,{})},6435:function(e,t,i){var n=i(2453);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("69bb7c20",n,!1,{})},2015:function(e,t,i){var n=i(5231);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("324273b3",n,!1,{})},1850:function(e,t,i){var n=i(5636);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("145b5614",n,!1,{})},2520:function(e,t,i){var n=i(5522);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("0f8f5f33",n,!1,{})},9315:function(e,t,i){var n=i(7997);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("74e9dfdd",n,!1,{})},803:function(e,t,i){var n=i(8851);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("64912cf0",n,!1,{})},9906:function(e,t,i){var n=i(8996);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("56b31bd0",n,!1,{})},7543:function(e,t,i){var n=i(4553);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("3186696c",n,!1,{})},7112:function(e,t,i){var n=i(9912);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("539f35fc",n,!1,{})},3449:function(e,t,i){var n=i(8635);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("3705069e",n,!1,{})},3991:function(e,t,i){var n=i(4495);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("1dab0e5c",n,!1,{})},4271:function(e,t,i){var n=i(7244);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("1bbc8060",n,!1,{})},893:function(e,t,i){var n=i(4420);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("f86ab172",n,!1,{})},2445:function(e,t,i){var n=i(8735);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("ac75af36",n,!1,{})},4978:function(e,t,i){var n=i(4308);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("7da74b5a",n,!1,{})},9590:function(e,t,i){var n=i(1532);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("321af806",n,!1,{})},7515:function(e,t,i){var n=i(5826);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("57f1159b",n,!1,{})},5849:function(e,t,i){var n=i(9950);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("9aa7a8fa",n,!1,{})},874:function(e,t,i){var n=i(858);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("5eb22599",n,!1,{})},597:function(e,t,i){var n=i(5568);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("3a73a15a",n,!1,{})},8222:function(e,t,i){var n=i(770);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("7d6875a4",n,!1,{})},7610:function(e,t,i){var n=i(7617);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("0d989185",n,!1,{})},6654:function(e,t,i){var n=i(7781);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("597322a2",n,!1,{})},4971:function(e,t,i){var n=i(8297);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("189192e6",n,!1,{})},8106:function(e,t,i){var n=i(7156);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("20cc342e",n,!1,{})},324:function(e,t,i){var n=i(9699);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("14abd4ba",n,!1,{})},8770:function(e,t,i){var n=i(5265);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("ed31cdcc",n,!1,{})},8538:function(e,t,i){var n=i(8254);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("7690ac82",n,!1,{})},5396:function(e,t,i){var n=i(8955);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("5739c194",n,!1,{})},2387:function(e,t,i){var n=i(1863);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("1ae580dd",n,!1,{})},2823:function(e,t,i){var n=i(6841);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("70ef83ed",n,!1,{})},2078:function(e,t,i){var n=i(5398);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,i(5346).Z)("2aa8f4fc",n,!1,{})},5346:function(e,t,i){"use strict";function n(e,t){for(var i=[],n={},o=0;o<t.length;o++){var s=t[o],r=s[0],a={id:e+":"+o,css:s[1],media:s[2],sourceMap:s[3]};n[r]?n[r].parts.push(a):i.push(n[r]={id:r,parts:[a]})}return i}i.d(t,{Z:function(){return f}});var o="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var s={},r=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,d=!1,c=function(){},u=null,h="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(e,t,i,o){d=i,u=o||{};var r=n(e,t);return m(r),function(t){for(var i=[],o=0;o<r.length;o++){var a=r[o];(l=s[a.id]).refs--,i.push(l)}t?m(r=n(e,t)):r=[];for(o=0;o<i.length;o++){var l;if(0===(l=i[o]).refs){for(var d=0;d<l.parts.length;d++)l.parts[d]();delete s[l.id]}}}}function m(e){for(var t=0;t<e.length;t++){var i=e[t],n=s[i.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](i.parts[o]);for(;o<i.parts.length;o++)n.parts.push(v(i.parts[o]));n.parts.length>i.parts.length&&(n.parts.length=i.parts.length)}else{var r=[];for(o=0;o<i.parts.length;o++)r.push(v(i.parts[o]));s[i.id]={id:i.id,refs:1,parts:r}}}}function g(){var e=document.createElement("style");return e.type="text/css",r.appendChild(e),e}function v(e){var t,i,n=document.querySelector("style["+h+'~="'+e.id+'"]');if(n){if(d)return c;n.parentNode.removeChild(n)}if(p){var o=l++;n=a||(a=g()),t=w.bind(null,n,o,!1),i=w.bind(null,n,o,!0)}else n=g(),t=C.bind(null,n),i=function(){n.parentNode.removeChild(n)};return t(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;t(e=n)}else i()}}var y,b=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function w(e,t,i,n){var o=i?"":n.css;if(e.styleSheet)e.styleSheet.cssText=b(t,o);else{var s=document.createTextNode(o),r=e.childNodes;r[t]&&e.removeChild(r[t]),r.length?e.insertBefore(s,r[t]):e.appendChild(s)}}function C(e,t){var i=t.css,n=t.media,o=t.sourceMap;if(n&&e.setAttribute("media",n),u.ssrId&&e.setAttribute(h,t.id),o&&(i+="\n/*# sourceURL="+o.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}},509:function(e,t,i){"use strict";var n=i(9985),o=i(3691),s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(o(e)+" is not a function")}},29:function(e,t,i){"use strict";var n=i(1034).has;e.exports=function(e){return n(e),e}},5027:function(e,t,i){"use strict";var n=i(8999),o=String,s=TypeError;e.exports=function(e){if(n(e))return e;throw new s(o(e)+" is not an object")}},4328:function(e,t,i){"use strict";var n=i(5290),o=i(7578),s=i(6310),r=function(e){return function(t,i,r){var a=n(t),l=s(a);if(0===l)return!e&&-1;var d,c=o(r,l);if(e&&i!=i){for(;l>c;)if((d=a[c++])!=d)return!0}else for(;l>c;c++)if((e||c in a)&&a[c]===i)return e||c||0;return!e&&-1}};e.exports={includes:r(!0),indexOf:r(!1)}},6648:function(e,t,i){"use strict";var n=i(8844),o=n({}.toString),s=n("".slice);e.exports=function(e){return s(o(e),8,-1)}},8758:function(e,t,i){"use strict";var n=i(6812),o=i(9152),s=i(2474),r=i(2560);e.exports=function(e,t,i){for(var a=o(t),l=r.f,d=s.f,c=0;c<a.length;c++){var u=a[c];n(e,u)||i&&n(i,u)||l(e,u,d(t,u))}}},5773:function(e,t,i){"use strict";var n=i(7697),o=i(2560),s=i(5684);e.exports=n?function(e,t,i){return o.f(e,t,s(1,i))}:function(e,t,i){return e[t]=i,e}},5684:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1880:function(e,t,i){"use strict";var n=i(9985),o=i(2560),s=i(8702),r=i(5014);e.exports=function(e,t,i,a){a||(a={});var l=a.enumerable,d=void 0!==a.name?a.name:t;if(n(i)&&s(i,d,a),a.global)l?e[t]=i:r(t,i);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:o.f(e,t,{value:i,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},5014:function(e,t,i){"use strict";var n=i(1087),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(i){n[e]=t}return t}},7697:function(e,t,i){"use strict";var n=i(3689);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},6420:function(e,t,i){"use strict";var n=i(1087),o=i(8999),s=n.document,r=o(s)&&o(s.createElement);e.exports=function(e){return r?s.createElement(e):{}}},2739:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8017:function(e,t,i){"use strict";var n=i(1087).navigator,o=n&&n.userAgent;e.exports=o?String(o):""},1352:function(e,t,i){"use strict";var n,o,s=i(1087),r=i(8017),a=s.process,l=s.Deno,d=a&&a.versions||l&&l.version,c=d&&d.v8;c&&(o=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&r&&(!(n=r.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=r.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},9989:function(e,t,i){"use strict";var n=i(1087),o=i(2474).f,s=i(5773),r=i(1880),a=i(5014),l=i(8758),d=i(5266);e.exports=function(e,t){var i,c,u,h,p,f=e.target,m=e.global,g=e.stat;if(i=m?n:g?n[f]||a(f,{}):n[f]&&n[f].prototype)for(c in t){if(h=t[c],u=e.dontCallGetSet?(p=o(i,c))&&p.value:i[c],!d(m?c:f+(g?".":"#")+c,e.forced)&&void 0!==u){if(typeof h==typeof u)continue;l(h,u)}(e.sham||u&&u.sham)&&s(h,"sham",!0),r(i,c,h,e)}}},3689:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},7215:function(e,t,i){"use strict";var n=i(3689);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},2615:function(e,t,i){"use strict";var n=i(7215),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},1236:function(e,t,i){"use strict";var n=i(7697),o=i(6812),s=Function.prototype,r=n&&Object.getOwnPropertyDescriptor,a=o(s,"name"),l=a&&"something"===function(){}.name,d=a&&(!n||n&&r(s,"name").configurable);e.exports={EXISTS:a,PROPER:l,CONFIGURABLE:d}},2743:function(e,t,i){"use strict";var n=i(8844),o=i(509);e.exports=function(e,t,i){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(e){}}},8844:function(e,t,i){"use strict";var n=i(7215),o=Function.prototype,s=o.call,r=n&&o.bind.bind(s,s);e.exports=n?r:function(e){return function(){return s.apply(e,arguments)}}},6058:function(e,t,i){"use strict";var n=i(1087),o=i(9985),s=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}},2302:function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},4849:function(e,t,i){"use strict";var n=i(509),o=i(981);e.exports=function(e,t){var i=e[t];return o(i)?void 0:n(i)}},1074:function(e,t,i){"use strict";var n=i(509),o=i(5027),s=i(2615),r=i(8700),a=i(2302),l="Invalid size",d=RangeError,c=TypeError,u=Math.max,h=function(e,t){this.set=e,this.size=u(t,0),this.has=n(e.has),this.keys=n(e.keys)};h.prototype={getIterator:function(){return a(o(s(this.keys,this.set)))},includes:function(e){return s(this.has,this.set,e)}},e.exports=function(e){o(e);var t=+e.size;if(t!=t)throw new c(l);var i=r(t);if(i<0)throw new d(l);return new h(e,i)}},1087:function(e,t,i){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6812:function(e,t,i){"use strict";var n=i(8844),o=i(690),s=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return s(o(e),t)}},7248:function(e){"use strict";e.exports={}},8506:function(e,t,i){"use strict";var n=i(7697),o=i(3689),s=i(6420);e.exports=!n&&!o((function(){return 7!==Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},4413:function(e,t,i){"use strict";var n=i(8844),o=i(3689),s=i(6648),r=Object,a=n("".split);e.exports=o((function(){return!r("z").propertyIsEnumerable(0)}))?function(e){return"String"===s(e)?a(e,""):r(e)}:r},6738:function(e,t,i){"use strict";var n=i(8844),o=i(9985),s=i(4091),r=n(Function.toString);o(s.inspectSource)||(s.inspectSource=function(e){return r(e)}),e.exports=s.inspectSource},618:function(e,t,i){"use strict";var n,o,s,r=i(9834),a=i(1087),l=i(8999),d=i(5773),c=i(6812),u=i(4091),h=i(2713),p=i(7248),f="Object already initialized",m=a.TypeError,g=a.WeakMap;if(r||u.state){var v=u.state||(u.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new m(f);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},s=function(e){return v.has(e)}}else{var y=h("state");p[y]=!0,n=function(e,t){if(c(e,y))throw new m(f);return t.facade=e,d(e,y,t),t},o=function(e){return c(e,y)?e[y]:{}},s=function(e){return c(e,y)}}e.exports={set:n,get:o,has:s,enforce:function(e){return s(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var i;if(!l(t)||(i=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return i}}}},9985:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},5266:function(e,t,i){"use strict";var n=i(3689),o=i(9985),s=/#|\.prototype\./,r=function(e,t){var i=l[a(e)];return i===c||i!==d&&(o(t)?n(t):!!t)},a=r.normalize=function(e){return String(e).replace(s,".").toLowerCase()},l=r.data={},d=r.NATIVE="N",c=r.POLYFILL="P";e.exports=r},981:function(e){"use strict";e.exports=function(e){return null==e}},8999:function(e,t,i){"use strict";var n=i(9985);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},3931:function(e){"use strict";e.exports=!1},734:function(e,t,i){"use strict";var n=i(6058),o=i(9985),s=i(3622),r=i(9525),a=Object;e.exports=r?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&s(t.prototype,a(e))}},6704:function(e,t,i){"use strict";var n=i(2615);e.exports=function(e,t,i){for(var o,s,r=i?e:e.iterator,a=e.next;!(o=n(a,r)).done;)if(void 0!==(s=t(o.value)))return s}},2125:function(e,t,i){"use strict";var n=i(2615),o=i(5027),s=i(4849);e.exports=function(e,t,i){var r,a;o(e);try{if(!(r=s(e,"return"))){if("throw"===t)throw i;return i}r=n(r,e)}catch(e){a=!0,r=e}if("throw"===t)throw i;if(a)throw r;return o(r),i}},6310:function(e,t,i){"use strict";var n=i(3126);e.exports=function(e){return n(e.length)}},8702:function(e,t,i){"use strict";var n=i(8844),o=i(3689),s=i(9985),r=i(6812),a=i(7697),l=i(1236).CONFIGURABLE,d=i(6738),c=i(618),u=c.enforce,h=c.get,p=String,f=Object.defineProperty,m=n("".slice),g=n("".replace),v=n([].join),y=a&&!o((function(){return 8!==f((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=e.exports=function(e,t,i){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),i&&i.getter&&(t="get "+t),i&&i.setter&&(t="set "+t),(!r(e,"name")||l&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),y&&i&&r(i,"arity")&&e.length!==i.arity&&f(e,"length",{value:i.arity});try{i&&r(i,"constructor")&&i.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=u(e);return r(n,"source")||(n.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return s(this)&&h(this).source||d(this)}),"toString")},8828:function(e){"use strict";var t=Math.ceil,i=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?i:t)(n)}},2560:function(e,t,i){"use strict";var n=i(7697),o=i(8506),s=i(5648),r=i(5027),a=i(8360),l=TypeError,d=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",p="writable";t.f=n?s?function(e,t,i){if(r(e),t=a(t),r(i),"function"==typeof e&&"prototype"===t&&"value"in i&&p in i&&!i[p]){var n=c(e,t);n&&n[p]&&(e[t]=i.value,i={configurable:h in i?i[h]:n[h],enumerable:u in i?i[u]:n[u],writable:!1})}return d(e,t,i)}:d:function(e,t,i){if(r(e),t=a(t),r(i),o)try{return d(e,t,i)}catch(e){}if("get"in i||"set"in i)throw new l("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},2474:function(e,t,i){"use strict";var n=i(7697),o=i(2615),s=i(9556),r=i(5684),a=i(5290),l=i(8360),d=i(6812),c=i(8506),u=Object.getOwnPropertyDescriptor;t.f=n?u:function(e,t){if(e=a(e),t=l(t),c)try{return u(e,t)}catch(e){}if(d(e,t))return r(!o(s.f,e,t),e[t])}},2741:function(e,t,i){"use strict";var n=i(4948),o=i(2739).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},7518:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},3622:function(e,t,i){"use strict";var n=i(8844);e.exports=n({}.isPrototypeOf)},4948:function(e,t,i){"use strict";var n=i(8844),o=i(6812),s=i(5290),r=i(4328).indexOf,a=i(7248),l=n([].push);e.exports=function(e,t){var i,n=s(e),d=0,c=[];for(i in n)!o(a,i)&&o(n,i)&&l(c,i);for(;t.length>d;)o(n,i=t[d++])&&(~r(c,i)||l(c,i));return c}},9556:function(e,t){"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!i.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:i},5899:function(e,t,i){"use strict";var n=i(2615),o=i(9985),s=i(8999),r=TypeError;e.exports=function(e,t){var i,a;if("string"===t&&o(i=e.toString)&&!s(a=n(i,e)))return a;if(o(i=e.valueOf)&&!s(a=n(i,e)))return a;if("string"!==t&&o(i=e.toString)&&!s(a=n(i,e)))return a;throw new r("Can't convert object to primitive value")}},9152:function(e,t,i){"use strict";var n=i(6058),o=i(8844),s=i(2741),r=i(7518),a=i(5027),l=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=s.f(a(e)),i=r.f;return i?l(t,i(e)):t}},4684:function(e,t,i){"use strict";var n=i(981),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},3097:function(e,t,i){"use strict";var n=i(1034),o=i(8774),s=n.Set,r=n.add;e.exports=function(e){var t=new s;return o(e,(function(e){r(t,e)})),t}},7748:function(e,t,i){"use strict";var n=i(29),o=i(1034),s=i(3097),r=i(7026),a=i(1074),l=i(8774),d=i(6704),c=o.has,u=o.remove;e.exports=function(e){var t=n(this),i=a(e),o=s(t);return r(t)<=i.size?l(t,(function(e){i.includes(e)&&u(o,e)})):d(i.getIterator(),(function(e){c(t,e)&&u(o,e)})),o}},1034:function(e,t,i){"use strict";var n=i(8844),o=Set.prototype;e.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o.delete),proto:o}},2948:function(e,t,i){"use strict";var n=i(29),o=i(1034),s=i(7026),r=i(1074),a=i(8774),l=i(6704),d=o.Set,c=o.add,u=o.has;e.exports=function(e){var t=n(this),i=r(e),o=new d;return s(t)>i.size?l(i.getIterator(),(function(e){u(t,e)&&c(o,e)})):a(t,(function(e){i.includes(e)&&c(o,e)})),o}},7795:function(e,t,i){"use strict";var n=i(29),o=i(1034).has,s=i(7026),r=i(1074),a=i(8774),l=i(6704),d=i(2125);e.exports=function(e){var t=n(this),i=r(e);if(s(t)<=i.size)return!1!==a(t,(function(e){if(i.includes(e))return!1}),!0);var c=i.getIterator();return!1!==l(c,(function(e){if(o(t,e))return d(c,"normal",!1)}))}},6951:function(e,t,i){"use strict";var n=i(29),o=i(7026),s=i(8774),r=i(1074);e.exports=function(e){var t=n(this),i=r(e);return!(o(t)>i.size)&&!1!==s(t,(function(e){if(!i.includes(e))return!1}),!0)}},3894:function(e,t,i){"use strict";var n=i(29),o=i(1034).has,s=i(7026),r=i(1074),a=i(6704),l=i(2125);e.exports=function(e){var t=n(this),i=r(e);if(s(t)<i.size)return!1;var d=i.getIterator();return!1!==a(d,(function(e){if(!o(t,e))return l(d,"normal",!1)}))}},8774:function(e,t,i){"use strict";var n=i(8844),o=i(6704),s=i(1034),r=s.Set,a=s.proto,l=n(a.forEach),d=n(a.keys),c=d(new r).next;e.exports=function(e,t,i){return i?o({iterator:d(e),next:c},t):l(e,t)}},3234:function(e,t,i){"use strict";var n=i(6058),o=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},s=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var i=n("Set");try{(new i)[e](o(0));try{return(new i)[e](o(-1)),!1}catch(n){if(!t)return!0;try{return(new i)[e](s(-1/0)),!1}catch(n){var r=new i;return r.add(1),r.add(2),t(r[e](s(1/0)))}}}catch(e){return!1}}},7026:function(e,t,i){"use strict";var n=i(2743),o=i(1034);e.exports=n(o.proto,"size","get")||function(e){return e.size}},2289:function(e,t,i){"use strict";var n=i(29),o=i(1034),s=i(3097),r=i(1074),a=i(6704),l=o.add,d=o.has,c=o.remove;e.exports=function(e){var t=n(this),i=r(e).getIterator(),o=s(t);return a(i,(function(e){d(t,e)?c(o,e):l(o,e)})),o}},5674:function(e,t,i){"use strict";var n=i(29),o=i(1034).add,s=i(3097),r=i(1074),a=i(6704);e.exports=function(e){var t=n(this),i=r(e).getIterator(),l=s(t);return a(i,(function(e){o(l,e)})),l}},2713:function(e,t,i){"use strict";var n=i(3430),o=i(4630),s=n("keys");e.exports=function(e){return s[e]||(s[e]=o(e))}},4091:function(e,t,i){"use strict";var n=i(3931),o=i(1087),s=i(5014),r="__core-js_shared__",a=e.exports=o[r]||s(r,{});(a.versions||(a.versions=[])).push({version:"3.40.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"})},3430:function(e,t,i){"use strict";var n=i(4091);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},146:function(e,t,i){"use strict";var n=i(1352),o=i(3689),s=i(1087).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!s(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},7578:function(e,t,i){"use strict";var n=i(8700),o=Math.max,s=Math.min;e.exports=function(e,t){var i=n(e);return i<0?o(i+t,0):s(i,t)}},5290:function(e,t,i){"use strict";var n=i(4413),o=i(4684);e.exports=function(e){return n(o(e))}},8700:function(e,t,i){"use strict";var n=i(8828);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},3126:function(e,t,i){"use strict";var n=i(8700),o=Math.min;e.exports=function(e){var t=n(e);return t>0?o(t,9007199254740991):0}},690:function(e,t,i){"use strict";var n=i(4684),o=Object;e.exports=function(e){return o(n(e))}},8732:function(e,t,i){"use strict";var n=i(2615),o=i(8999),s=i(734),r=i(4849),a=i(5899),l=i(4201),d=TypeError,c=l("toPrimitive");e.exports=function(e,t){if(!o(e)||s(e))return e;var i,l=r(e,c);if(l){if(void 0===t&&(t="default"),i=n(l,e,t),!o(i)||s(i))return i;throw new d("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},8360:function(e,t,i){"use strict";var n=i(8732),o=i(734);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},3691:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},4630:function(e,t,i){"use strict";var n=i(8844),o=0,s=Math.random(),r=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+r(++o+s,36)}},9525:function(e,t,i){"use strict";var n=i(146);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5648:function(e,t,i){"use strict";var n=i(7697),o=i(3689);e.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},9834:function(e,t,i){"use strict";var n=i(1087),o=i(9985),s=n.WeakMap;e.exports=o(s)&&/native code/.test(String(s))},4201:function(e,t,i){"use strict";var n=i(1087),o=i(3430),s=i(6812),r=i(4630),a=i(146),l=i(9525),d=n.Symbol,c=o("wks"),u=l?d.for||d:d&&d.withoutSetter||r;e.exports=function(e){return s(c,e)||(c[e]=a&&s(d,e)?d[e]:u("Symbol."+e)),c[e]}},2556:function(e,t,i){"use strict";var n=i(9989),o=i(7748);n({target:"Set",proto:!0,real:!0,forced:!i(3234)("difference",(function(e){return 0===e.size}))},{difference:o})},2845:function(e,t,i){"use strict";var n=i(9989),o=i(3689),s=i(2948);n({target:"Set",proto:!0,real:!0,forced:!i(3234)("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||o((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:s})},570:function(e,t,i){"use strict";var n=i(9989),o=i(7795);n({target:"Set",proto:!0,real:!0,forced:!i(3234)("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:o})},3019:function(e,t,i){"use strict";var n=i(9989),o=i(6951);n({target:"Set",proto:!0,real:!0,forced:!i(3234)("isSubsetOf",(function(e){return e}))},{isSubsetOf:o})},1473:function(e,t,i){"use strict";var n=i(9989),o=i(3894);n({target:"Set",proto:!0,real:!0,forced:!i(3234)("isSupersetOf",(function(e){return!e}))},{isSupersetOf:o})},8208:function(e,t,i){"use strict";var n=i(9989),o=i(2289);n({target:"Set",proto:!0,real:!0,forced:!i(3234)("symmetricDifference")},{symmetricDifference:o})},2624:function(e,t,i){"use strict";var n=i(9989),o=i(5674);n({target:"Set",proto:!0,real:!0,forced:!i(3234)("union")},{union:o})}},l={};function d(e){var t=l[e];if(void 0!==t)return t.exports;var i=l[e]={id:e,exports:{}};return a[e].call(i.exports,i,i.exports,d),i.exports}d.m=a,d.d=function(e,t){for(var i in t)d.o(t,i)&&!d.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},d.f={},d.e=function(e){return Promise.all(Object.keys(d.f).reduce((function(t,i){return d.f[i](e,t),t}),[]))},d.u=function(e){return e+".drive_bundle.js"},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e={},s="synologydrive:",d.l=function(t,i,n,o){if(e[t])e[t].push(i);else{var r,a;if(void 0!==n)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==s+n){r=u;break}}r||(a=!0,(r=document.createElement("script")).charset="utf-8",r.timeout=120,d.nc&&r.setAttribute("nonce",d.nc),r.setAttribute("data-webpack",s+n),r.src=t),e[t]=[i];var h=function(i,n){r.onerror=r.onload=null,clearTimeout(p);var o=e[t];if(delete e[t],r.parentNode&&r.parentNode.removeChild(r),o&&o.forEach((function(e){return e(n)})),i)return i(n)},p=setTimeout(h.bind(null,void 0,{type:"timeout",target:r}),12e4);r.onerror=h.bind(null,r.onerror),r.onload=h.bind(null,r.onload),a&&document.head.appendChild(r)}},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;d.g.importScripts&&(e=d.g.location+"");var t=d.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");i.length&&(e=i[i.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),d.p=e}(),function(){var e={179:0};d.f.j=function(t,i){var n=d.o(e,t)?e[t]:void 0;if(0!==n)if(n)i.push(n[2]);else{var o=new Promise((function(i,o){n=e[t]=[i,o]}));i.push(n[2]=o);var s=d.p+d.u(t),r=new Error;d.l(s,(function(i){if(d.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;r.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",r.name="ChunkLoadError",r.type=o,r.request=s,n[1](r)}}),"chunk-"+t,t)}};var t=function(t,i){var n,o,s=i[0],r=i[1],a=i[2],l=0;if(s.some((function(t){return 0!==e[t]}))){for(n in r)d.o(r,n)&&(d.m[n]=r[n]);if(a)a(d)}for(t&&t(i);l<s.length;l++)o=s[l],d.o(e,o)&&e[o]&&e[o][0](),e[o]=0},i=self.webpackChunksynologydrive=self.webpackChunksynologydrive||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))}(),function(){"use strict";var e={};d.r(e),d.d(e,{AbstractBlockFactory:function(){return Qj},BRACKET_TOKEN:function(){return jj},Block:function(){return Oj},Bracket:function(){return Yj},CLOSE_BRACKET:function(){return Wj},CONJUNCTIONS_TITLE:function(){return Rj},Category:function(){return Fj},Conjunction:function(){return Hj},Empty:function(){return Pj},MULTIPLE_BRACKET_PATTERN:function(){return Ej},MULTIPLE_CLOSE_BRACKET:function(){return Aj},MULTIPLE_DELIMETER:function(){return Mj},MULTIPLE_OPEN_BRACKET:function(){return Lj},OPEN_BRACKET:function(){return zj},Operator:function(){return Vj},Unknown:function(){return $j},Value:function(){return Nj},convertToDateFnFormat:function(){return hP},dateFormats:function(){return cP},getBracketToken:function(){return Uj},isCloseBracket:function(){return qj},isOpenBracket:function(){return Gj},isValidDateString:function(){return ZN},joinEmptyToken:function(){return Zj},linkBlocks:function(){return Jj},parseStringToDate:function(){return KN},timeFormats:function(){return uP},toDateString:function(){return wR},toDateTimeString:function(){return bR},toTextDecode:function(){return Kj},toTimeString:function(){return CR},vA:function(){return AG},vAboutWindow:function(){return Lq},vAboutWindowV2:function(){return hM},vAdvancePanelColumns:function(){return IA},vAdvancePanelForm:function(){return SA},vAdvancePanelGrid:function(){return wA},vAffix:function(){return EA},vAlertBar:function(){return HA},vAppBar:function(){return ME},vAppInstance:function(){return $E},vAppWindow:function(){return yM},vAppWindowHeader:function(){return pM},vAppWizardWindow:function(){return MM},vAvatar:function(){return GA},vBaseSelect:function(){return RD},vBlockquote:function(){return RG},vBreadcrumb:function(){return FM},vBreakpointButtonsGroup:function(){return WM},vButton:function(){return RA},vButtonDropdown:function(){return MA},vButtonGroup:function(){return NM},vButtonSplit:function(){return zM},vCard:function(){return JM},vCheckbox:function(){return tB},vCode:function(){return jG},vCol:function(){return Pz},vColorCustomPanel:function(){return PO},vColorCustomWindow:function(){return NO},vColorPicker:function(){return FB},vColorPickerDropdown:function(){return MB},vConfigProvider:function(){return Ja},vCopyCutField:function(){return RO},vDataTable:function(){return rP},vDataView:function(){return dP},vDatePicker:function(){return uH},vDatePickerMenu:function(){return sH},vDivider:function(){return oB},vDragTarget:function(){return hH},vDragZone:function(){return pH},vDraggableResizable:function(){return _H},vEditMenu:function(){return BH},vEditMenuItem:function(){return LH},vEmptyView:function(){return RH},vExpandableItem:function(){return QH},vFieldset:function(){return nz},vFileButton:function(){return rz},vForm:function(){return lz},vFormItem:function(){return zz},vFormMultipleItem:function(){return Jz},vGhost:function(){return IF},vGrid:function(){return Uz},vHeader:function(){return EG},vHighlightBox:function(){return aO},vHr:function(){return OG},vIcon:function(){return bg},vIncrementalFormMultipleItem:function(){return tW},vInfoBoard:function(){return cW},vInfoMask:function(){return gW},vInput:function(){return _O},vInputSteppers:function(){return DW},vLayout:function(){return qL},vLi:function(){return KG},vList:function(){return UG},vMenu:function(){return BA},vMenuDivider:function(){return dE},vMenuGroup:function(){return rE},vMenuItem:function(){return nE},vMenuSubmenu:function(){return KB},vMessageBoxWindow:function(){return uq},vModalWindow:function(){return NE},vModuleList:function(){return bM},vModuleListDivider:function(){return WW},vModuleListOption:function(){return BW},vModuleListSection:function(){return RW},vMultipleSelect:function(){return sL},vMultipleSelectInput:function(){return tL},vNavbarItem:function(){return BE},vNotificationV2:function(){return pY},vNotifyContainer:function(){return gY},vOtpInput:function(){return qq},vOverflowList:function(){return xE},vOverflowListItem:function(){return gE},vOverflowText:function(){return YW},vOverflowToolbar:function(){return XB},vP:function(){return VG},vPageListAppWindow:function(){return IM},vPageListModule:function(){return TM},vPagination:function(){return cV},vPanel:function(){return iO},vPopup:function(){return Vz},vPortal:function(){return Hh},vPortalTarget:function(){return km},vProgressBar:function(){return ij},vRadio:function(){return SV},vRadioGroup:function(){return sj},vRichText:function(){return Ec},vRow:function(){return qz},vScheduleField:function(){return rj},vScheduleTable:function(){return mj},vScrollbar:function(){return wD},vSearchInput:function(){return wj},vSegmentControl:function(){return Kq},vSegmentItem:function(){return Xq},vSelectActionOption:function(){return Cj},vSelectBaseOption:function(){return yT},vSelectCheckOption:function(){return TT},vSelectDividerOption:function(){return AT},vSelectGroupOption:function(){return OT},vSelectInput:function(){return pT},vSelectMultilineOption:function(){return Dj},vSelectNoMatchOption:function(){return ET},vSelectTickOption:function(){return xT},vSemanticSearch:function(){return CU},vSingleSelect:function(){return pE},vSlideUpDown:function(){return uV},vSlideUpDownTransition:function(){return UM},vSlider:function(){return IU},vSpace:function(){return QA},vSpin:function(){return UL},vSpinIcon:function(){return DD},vSpinInner:function(){return zL},vStatusBar:function(){return NB},vSuggestionItem:function(){return Xj},vSuperboxSelect:function(){return rL},vTabFooter:function(){return LU},vTabPane:function(){return HU},vTable:function(){return QG},vTabs:function(){return VU},vTimeline:function(){return oG},vToast:function(){return RL},vToggle:function(){return hG},vToolbar:function(){return jB},vTrapFocus:function(){return pL},vTreePanel:function(){return TG},vTypoText:function(){return HG},vTypoTip:function(){return iq},vVirtualScrollbar:function(){return SD},vWhitetip:function(){return iA},vWindow:function(){return tA},vWindowDraggable:function(){return $L},vWindowHeader:function(){return VL},vWindowHeaderToolWrapper:function(){return FL},vWindowResizable:function(){return BL},vWizard:function(){return Hq},vWizardFooter:function(){return Pq},vWizardStep:function(){return zq},vWizardWindow:function(){return gq},withWrap:function(){return NL}});var s={};d.r(s),d.d(s,{vNotification:function(){return kY}});var a={};d.r(a),d.d(a,{ScrollbarPlugin:function(){return vK},synoIdPlugin:function(){return iZ},vAboutWindowPlugin:function(){return VK},vAdvancePanelPlugin:function(){return _Y},vAffixPlugin:function(){return IY},vAlertBarPlugin:function(){return TY},vAppBarPlugin:function(){return DY},vApplicationPlugin:function(){return LY},vAutoFocusPlugin:function(){return UK},vAvatarPlugin:function(){return AY},vBreadcrumbPlugin:function(){return EY},vButtonPlugin:function(){return MY},vCardPlugin:function(){return BY},vCheckboxPlugin:function(){return OY},vClickoutsidePlugin:function(){return GK},vColorPickerPlugin:function(){return $Y},vConfigProviderPlugin:function(){return FY},vCopyCutFieldPlugin:function(){return VY},vDataTablePlugin:function(){return PY},vDataViewPlugin:function(){return NY},vDatePickerPlugin:function(){return RY},vDraggablePlugin:function(){return HY},vDraggableResizablePlugin:function(){return zY},vEditMenuPlugin:function(){return WY},vEmptyViewPlugin:function(){return jY},vExpandableItemPlugin:function(){return UY},vFieldsetPlugin:function(){return GY},vFileButtonPlugin:function(){return qY},vFormComponentPlugin:function(){return YK},vFormPlugin:function(){return YY},vGhostPlugin:function(){return KY},vGridLayoutPlugin:function(){return ZY},vHighlightBoxPlugin:function(){return JY},vIconPlugin:function(){return QY},vInfoBoardPlugin:function(){return XY},vInfoMaskPlugin:function(){return eK},vInputPlugin:function(){return tK},vInputSteppersPlugin:function(){return iK},vLayoutPlugin:function(){return nK},vLongPressPlugin:function(){return JK},vMenuPlugin:function(){return oK},vMessageBoxWindowPlugin:function(){return FK},vModuleListPlugin:function(){return sK},vNotificationV2Plugin:function(){return WK},vOtpInputPlugin:function(){return HK},vOverflowListPlugin:function(){return rK},vOverflowTextPlugin:function(){return aK},vPaginationPlugin:function(){return lK},vPanelPlugin:function(){return dK},vPopupPlugin:function(){return cK},vPortalPlugin:function(){return uK},vPressingPlugin:function(){return QK},vProgressBarPlugin:function(){return hK},vRadioPlugin:function(){return pK},vRichTextPlugin:function(){return fK},vScheduleFieldPlugin:function(){return mK},vScheduleTablePlugin:function(){return gK},vSearchInputPlugin:function(){return yK},vSegmentControlPlugin:function(){return zK},vSelectPlugin:function(){return bK},vSemanticSearchPlugin:function(){return wK},vSlideUpDownPlugin:function(){return CK},vSlideUpDownTransitionPlugin:function(){return xK},vSliderPlugin:function(){return SK},vSpacePlugin:function(){return kK},vSpinPlugin:function(){return _K},vTabsPlugin:function(){return IK},vTimelinePlugin:function(){return TK},vToastPlugin:function(){return LK},vTogglePlugin:function(){return AK},vTooltipPlugin:function(){return nZ},vTrapFocusPlugin:function(){return EK},vTreePanelPlugin:function(){return MK},vTypoPlugin:function(){return BK},vVirtualScrollbarPlugin:function(){return OK},vWhitetipPlugin:function(){return $K},vWindowPlugin:function(){return PK},vWizardPlugin:function(){return RK},withWrapPlugin:function(){return NK}});var l={};function c(e,t){const i=new Set(e.split(","));return t?e=>i.has(e.toLowerCase()):e=>i.has(e)}d.r(l),d.d(l,{vNotificationPlugin:function(){return oZ}});const u={},p=[],f=()=>{},g=()=>!1,y=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),b=e=>e.startsWith("onUpdate:"),w=Object.assign,C=(e,t)=>{const i=e.indexOf(t);i>-1&&e.splice(i,1)},x=Object.prototype.hasOwnProperty,S=(e,t)=>x.call(e,t),k=Array.isArray,_=e=>"[object Map]"===O(e),I=e=>"[object Set]"===O(e),T=e=>"[object Date]"===O(e),D=e=>"function"==typeof e,L=e=>"string"==typeof e,A=e=>"symbol"==typeof e,E=e=>null!==e&&"object"==typeof e,M=e=>(E(e)||D(e))&&D(e.then)&&D(e.catch),B=Object.prototype.toString,O=e=>B.call(e),$=e=>"[object Object]"===O(e),F=e=>L(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,V=c(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),P=e=>{const t=Object.create(null);return i=>t[i]||(t[i]=e(i))},N=/-(\w)/g,R=P((e=>e.replace(N,((e,t)=>t?t.toUpperCase():"")))),H=/\B([A-Z])/g,z=P((e=>e.replace(H,"-$1").toLowerCase())),W=P((e=>e.charAt(0).toUpperCase()+e.slice(1))),j=P((e=>e?`on${W(e)}`:"")),U=(e,t)=>!Object.is(e,t),G=(e,...t)=>{for(let i=0;i<e.length;i++)e[i](...t)},q=(e,t,i,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:i})},Y=e=>{const t=parseFloat(e);return isNaN(t)?e:t},K=e=>{const t=L(e)?Number(e):NaN;return isNaN(t)?e:t};let Z;const J=()=>Z||(Z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==d.g?d.g:{});function Q(e){if(k(e)){const t={};for(let i=0;i<e.length;i++){const n=e[i],o=L(n)?ie(n):Q(n);if(o)for(const e in o)t[e]=o[e]}return t}if(L(e)||E(e))return e}const X=/;(?![^(]*\))/g,ee=/:([^]+)/,te=/\/\*[^]*?\*\//g;function ie(e){const t={};return e.replace(te,"").split(X).forEach((e=>{if(e){const i=e.split(ee);i.length>1&&(t[i[0].trim()]=i[1].trim())}})),t}function ne(e){let t="";if(L(e))t=e;else if(k(e))for(let i=0;i<e.length;i++){const n=ne(e[i]);n&&(t+=n+" ")}else if(E(e))for(const i in e)e[i]&&(t+=i+" ");return t.trim()}function oe(e){if(!e)return null;let{class:t,style:i}=e;return t&&!L(t)&&(e.class=ne(t)),i&&(e.style=Q(i)),e}const se="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",re=c(se);function ae(e){return!!e||""===e}function le(e,t){if(e===t)return!0;let i=T(e),n=T(t);if(i||n)return!(!i||!n)&&e.getTime()===t.getTime();if(i=A(e),n=A(t),i||n)return e===t;if(i=k(e),n=k(t),i||n)return!(!i||!n)&&function(e,t){if(e.length!==t.length)return!1;let i=!0;for(let n=0;i&&n<e.length;n++)i=le(e[n],t[n]);return i}(e,t);if(i=E(e),n=E(t),i||n){if(!i||!n)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const i in e){const n=e.hasOwnProperty(i),o=t.hasOwnProperty(i);if(n&&!o||!n&&o||!le(e[i],t[i]))return!1}}return String(e)===String(t)}const de=e=>!(!e||!0!==e.__v_isRef),ce=e=>L(e)?e:null==e?"":k(e)||E(e)&&(e.toString===B||!D(e.toString))?de(e)?ce(e.value):JSON.stringify(e,ue,2):String(e),ue=(e,t)=>de(t)?ue(e,t.value):_(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,i],n)=>(e[he(t,n)+" =>"]=i,e)),{})}:I(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>he(e)))}:A(t)?he(t):!E(t)||k(t)||$(t)?t:String(t),he=(e,t="")=>{var i;return A(e)?`Symbol(${null!=(i=e.description)?i:t})`:e};let pe,fe;class me{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pe,!e&&pe&&(this.index=(pe.scopes||(pe.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=pe;try{return pe=this,e()}finally{pe=t}}else 0}on(){pe=this}off(){pe=this.parent}stop(e){if(this._active){let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.scopes)for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function ge(e,t=pe){t&&t.active&&t.effects.push(e)}class ve{constructor(e,t,i,n){this.fn=e,this.trigger=t,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,ge(this,n)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,_e();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(ye(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ie()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=xe,t=fe;try{return xe=!0,fe=this,this._runnings++,be(this),this.fn()}finally{we(this),this._runnings--,fe=t,xe=e}}stop(){this.active&&(be(this),we(this),this.onStop&&this.onStop(),this.active=!1)}}function ye(e){return e.value}function be(e){e._trackId++,e._depsLength=0}function we(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Ce(e.deps[t],e);e.deps.length=e._depsLength}}function Ce(e,t){const i=e.get(t);void 0!==i&&t._trackId!==i&&(e.delete(t),0===e.size&&e.cleanup())}let xe=!0,Se=0;const ke=[];function _e(){ke.push(xe),xe=!1}function Ie(){const e=ke.pop();xe=void 0===e||e}function Te(){Se++}function De(){for(Se--;!Se&&Ae.length;)Ae.shift()()}function Le(e,t,i){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const i=e.deps[e._depsLength];i!==t?(i&&Ce(i,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ae=[];function Ee(e,t,i){Te();for(const i of e.keys()){let n;i._dirtyLevel<t&&(null!=n?n:n=e.get(i)===i._trackId)&&(i._shouldSchedule||(i._shouldSchedule=0===i._dirtyLevel),i._dirtyLevel=t),i._shouldSchedule&&(null!=n?n:n=e.get(i)===i._trackId)&&(i.trigger(),i._runnings&&!i.allowRecurse||2===i._dirtyLevel||(i._shouldSchedule=!1,i.scheduler&&Ae.push(i.scheduler)))}De()}const Me=(e,t)=>{const i=new Map;return i.cleanup=e,i.computed=t,i},Be=new WeakMap,Oe=Symbol(""),$e=Symbol("");function Fe(e,t,i){if(xe&&fe){let t=Be.get(e);t||Be.set(e,t=new Map);let n=t.get(i);n||t.set(i,n=Me((()=>t.delete(i)))),Le(fe,n)}}function Ve(e,t,i,n,o,s){const r=Be.get(e);if(!r)return;let a=[];if("clear"===t)a=[...r.values()];else if("length"===i&&k(e)){const e=Number(n);r.forEach(((t,i)=>{("length"===i||!A(i)&&i>=e)&&a.push(t)}))}else switch(void 0!==i&&a.push(r.get(i)),t){case"add":k(e)?F(i)&&a.push(r.get("length")):(a.push(r.get(Oe)),_(e)&&a.push(r.get($e)));break;case"delete":k(e)||(a.push(r.get(Oe)),_(e)&&a.push(r.get($e)));break;case"set":_(e)&&a.push(r.get(Oe))}Te();for(const e of a)e&&Ee(e,4);De()}const Pe=c("__proto__,__v_isRef,__isVue"),Ne=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(A)),Re=He();function He(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const i=Dt(this);for(let e=0,t=this.length;e<t;e++)Fe(i,0,e+"");const n=i[t](...e);return-1===n||!1===n?i[t](...e.map(Dt)):n}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){_e(),Te();const i=Dt(this)[t].apply(this,e);return De(),Ie(),i}})),e}function ze(e){A(e)||(e=String(e));const t=Dt(this);return Fe(t,0,e),t.hasOwnProperty(e)}class We{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,i){const n=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!n;if("__v_isReadonly"===t)return n;if("__v_isShallow"===t)return o;if("__v_raw"===t)return i===(n?o?bt:yt:o?vt:gt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const s=k(e);if(!n){if(s&&S(Re,t))return Reflect.get(Re,t,i);if("hasOwnProperty"===t)return ze}const r=Reflect.get(e,t,i);return(A(t)?Ne.has(t):Pe(t))?r:(n||Fe(e,0,t),o?r:$t(r)?s&&F(t)?r:r.value:E(r)?n?xt(r):Ct(r):r)}}class je extends We{constructor(e=!1){super(!1,e)}set(e,t,i,n){let o=e[t];if(!this._isShallow){const t=_t(o);if(It(i)||_t(i)||(o=Dt(o),i=Dt(i)),!k(e)&&$t(o)&&!$t(i))return!t&&(o.value=i,!0)}const s=k(e)&&F(t)?Number(t)<e.length:S(e,t),r=Reflect.set(e,t,i,n);return e===Dt(n)&&(s?U(i,o)&&Ve(e,"set",t,i):Ve(e,"add",t,i)),r}deleteProperty(e,t){const i=S(e,t),n=(e[t],Reflect.deleteProperty(e,t));return n&&i&&Ve(e,"delete",t,void 0),n}has(e,t){const i=Reflect.has(e,t);return A(t)&&Ne.has(t)||Fe(e,0,t),i}ownKeys(e){return Fe(e,0,k(e)?"length":Oe),Reflect.ownKeys(e)}}class Ue extends We{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const Ge=new je,qe=new Ue,Ye=new je(!0),Ke=e=>e,Ze=e=>Reflect.getPrototypeOf(e);function Je(e,t,i=!1,n=!1){const o=Dt(e=e.__v_raw),s=Dt(t);i||(U(t,s)&&Fe(o,0,t),Fe(o,0,s));const{has:r}=Ze(o),a=n?Ke:i?At:Lt;return r.call(o,t)?a(e.get(t)):r.call(o,s)?a(e.get(s)):void(e!==o&&e.get(t))}function Qe(e,t=!1){const i=this.__v_raw,n=Dt(i),o=Dt(e);return t||(U(e,o)&&Fe(n,0,e),Fe(n,0,o)),e===o?i.has(e):i.has(e)||i.has(o)}function Xe(e,t=!1){return e=e.__v_raw,!t&&Fe(Dt(e),0,Oe),Reflect.get(e,"size",e)}function et(e){e=Dt(e);const t=Dt(this);return Ze(t).has.call(t,e)||(t.add(e),Ve(t,"add",e,e)),this}function tt(e,t){t=Dt(t);const i=Dt(this),{has:n,get:o}=Ze(i);let s=n.call(i,e);s||(e=Dt(e),s=n.call(i,e));const r=o.call(i,e);return i.set(e,t),s?U(t,r)&&Ve(i,"set",e,t):Ve(i,"add",e,t),this}function it(e){const t=Dt(this),{has:i,get:n}=Ze(t);let o=i.call(t,e);o||(e=Dt(e),o=i.call(t,e));n&&n.call(t,e);const s=t.delete(e);return o&&Ve(t,"delete",e,void 0),s}function nt(){const e=Dt(this),t=0!==e.size,i=e.clear();return t&&Ve(e,"clear",void 0,void 0),i}function ot(e,t){return function(i,n){const o=this,s=o.__v_raw,r=Dt(s),a=t?Ke:e?At:Lt;return!e&&Fe(r,0,Oe),s.forEach(((e,t)=>i.call(n,a(e),a(t),o)))}}function st(e,t,i){return function(...n){const o=this.__v_raw,s=Dt(o),r=_(s),a="entries"===e||e===Symbol.iterator&&r,l="keys"===e&&r,d=o[e](...n),c=i?Ke:t?At:Lt;return!t&&Fe(s,0,l?$e:Oe),{next(){const{value:e,done:t}=d.next();return t?{value:e,done:t}:{value:a?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}function rt(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function at(){const e={get(e){return Je(this,e)},get size(){return Xe(this)},has:Qe,add:et,set:tt,delete:it,clear:nt,forEach:ot(!1,!1)},t={get(e){return Je(this,e,!1,!0)},get size(){return Xe(this)},has:Qe,add:et,set:tt,delete:it,clear:nt,forEach:ot(!1,!0)},i={get(e){return Je(this,e,!0)},get size(){return Xe(this,!0)},has(e){return Qe.call(this,e,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:ot(!0,!1)},n={get(e){return Je(this,e,!0,!0)},get size(){return Xe(this,!0)},has(e){return Qe.call(this,e,!0)},add:rt("add"),set:rt("set"),delete:rt("delete"),clear:rt("clear"),forEach:ot(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=st(o,!1,!1),i[o]=st(o,!0,!1),t[o]=st(o,!1,!0),n[o]=st(o,!0,!0)})),[e,i,t,n]}const[lt,dt,ct,ut]=at();function ht(e,t){const i=t?e?ut:ct:e?dt:lt;return(t,n,o)=>"__v_isReactive"===n?!e:"__v_isReadonly"===n?e:"__v_raw"===n?t:Reflect.get(S(i,n)&&n in t?i:t,n,o)}const pt={get:ht(!1,!1)},ft={get:ht(!1,!0)},mt={get:ht(!0,!1)};const gt=new WeakMap,vt=new WeakMap,yt=new WeakMap,bt=new WeakMap;function wt(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>O(e).slice(8,-1))(e))}function Ct(e){return _t(e)?e:St(e,!1,Ge,pt,gt)}function xt(e){return St(e,!0,qe,mt,yt)}function St(e,t,i,n,o){if(!E(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const r=wt(e);if(0===r)return e;const a=new Proxy(e,2===r?n:i);return o.set(e,a),a}function kt(e){return _t(e)?kt(e.__v_raw):!(!e||!e.__v_isReactive)}function _t(e){return!(!e||!e.__v_isReadonly)}function It(e){return!(!e||!e.__v_isShallow)}function Tt(e){return!!e&&!!e.__v_raw}function Dt(e){const t=e&&e.__v_raw;return t?Dt(t):e}const Lt=e=>E(e)?Ct(e):e,At=e=>E(e)?xt(e):e;class Et{constructor(e,t,i,n){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ve((()=>e(this._value)),(()=>Ot(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=i}get value(){const e=Dt(this);return e._cacheable&&!e.effect.dirty||!U(e._value,e._value=e.effect.run())||Ot(e,4),Bt(e),e.effect._dirtyLevel>=2&&Ot(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Mt(e,t,i=!1){let n,o;const s=D(e);s?(n=e,o=f):(n=e.get,o=e.set);return new Et(n,o,s||!o,i)}function Bt(e){var t;xe&&fe&&(e=Dt(e),Le(fe,null!=(t=e.dep)?t:e.dep=Me((()=>e.dep=void 0),e instanceof Et?e:void 0)))}function Ot(e,t=4,i,n){const o=(e=Dt(e)).dep;o&&Ee(o,t)}function $t(e){return!(!e||!0!==e.__v_isRef)}function Ft(e){return Vt(e,!1)}function Vt(e,t){return $t(e)?e:new Pt(e,t)}class Pt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Dt(e),this._value=t?e:Lt(e)}get value(){return Bt(this),this._value}set value(e){const t=this.__v_isShallow||It(e)||_t(e);if(e=t?e:Dt(e),U(e,this._rawValue)){this._rawValue;this._rawValue=e,this._value=t?e:Lt(e),Ot(this,4)}}}function Nt(e){return $t(e)?e.value:e}const Rt={get:(e,t,i)=>Nt(Reflect.get(e,t,i)),set:(e,t,i,n)=>{const o=e[t];return $t(o)&&!$t(i)?(o.value=i,!0):Reflect.set(e,t,i,n)}};function Ht(e){return kt(e)?e:new Proxy(e,Rt)}function zt(e,t,i,n){try{return n?e(...n):e()}catch(e){jt(e,t,i)}}function Wt(e,t,i,n){if(D(e)){const o=zt(e,t,i,n);return o&&M(o)&&o.catch((e=>{jt(e,t,i)})),o}if(k(e)){const o=[];for(let s=0;s<e.length;s++)o.push(Wt(e[s],t,i,n));return o}}function jt(e,t,i,n=!0){t&&t.vnode;if(t){let n=t.parent;const o=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${i}`;for(;n;){const t=n.ec;if(t)for(let i=0;i<t.length;i++)if(!1===t[i](e,o,s))return;n=n.parent}const r=t.appContext.config.errorHandler;if(r)return _e(),zt(r,null,10,[e,o,s]),void Ie()}!function(e,t,i,n=!0){console.error(e)}(e,0,0,n)}let Ut=!1,Gt=!1;const qt=[];let Yt=0;const Kt=[];let Zt=null,Jt=0;const Qt=Promise.resolve();let Xt=null;function ei(e){const t=Xt||Qt;return e?t.then(this?e.bind(this):e):t}function ti(e){qt.length&&qt.includes(e,Ut&&e.allowRecurse?Yt+1:Yt)||(null==e.id?qt.push(e):qt.splice(function(e){let t=Yt+1,i=qt.length;for(;t<i;){const n=t+i>>>1,o=qt[n],s=ri(o);s<e||s===e&&o.pre?t=n+1:i=n}return t}(e.id),0,e),ii())}function ii(){Ut||Gt||(Gt=!0,Xt=Qt.then(li))}function ni(e){k(e)?Kt.push(...e):Zt&&Zt.includes(e,e.allowRecurse?Jt+1:Jt)||Kt.push(e),ii()}function oi(e,t,i=(Ut?Yt+1:0)){for(0;i<qt.length;i++){const t=qt[i];if(t&&t.pre){if(e&&t.id!==e.uid)continue;0,qt.splice(i,1),i--,t()}}}function si(e){if(Kt.length){const e=[...new Set(Kt)].sort(((e,t)=>ri(e)-ri(t)));if(Kt.length=0,Zt)return void Zt.push(...e);for(Zt=e,Jt=0;Jt<Zt.length;Jt++){const e=Zt[Jt];0,!1!==e.active&&e()}Zt=null,Jt=0}}const ri=e=>null==e.id?1/0:e.id,ai=(e,t)=>{const i=ri(e)-ri(t);if(0===i){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return i};function li(e){Gt=!1,Ut=!0,qt.sort(ai);try{for(Yt=0;Yt<qt.length;Yt++){const e=qt[Yt];e&&!1!==e.active&&zt(e,null,14)}}finally{Yt=0,qt.length=0,si(),Ut=!1,Xt=null,(qt.length||Kt.length)&&li(e)}}let di,ci=[],ui=!1;function hi(e,...t){di?di.emit(e,...t):ui||ci.push({event:e,args:t})}function pi(e,t){var i,n;if(di=e,di)di.enabled=!0,ci.forEach((({event:e,args:t})=>di.emit(e,...t))),ci=[];else if("undefined"!=typeof window&&window.HTMLElement&&!(null==(n=null==(i=window.navigator)?void 0:i.userAgent)?void 0:n.includes("jsdom"))){(t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push((e=>{pi(e,t)})),setTimeout((()=>{di||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ui=!0,ci=[])}),3e3)}else ui=!0,ci=[]}const fi=vi("component:added"),mi=vi("component:updated"),gi=vi("component:removed");function vi(e){return t=>{hi(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function yi(e,t,...i){if(e.isUnmounted)return;const n=e.vnode.props||u;let o=i;const s=t.startsWith("update:"),r=s&&t.slice(7);if(r&&r in n){const e=`${"modelValue"===r?"model":r}Modifiers`,{number:t,trim:s}=n[e]||u;s&&(o=i.map((e=>L(e)?e.trim():e))),t&&(o=i.map(Y))}let a;__VUE_PROD_DEVTOOLS__&&function(e,t,i){hi("component:emit",e.appContext.app,e,t,i)}(e,t,o);let l=n[a=j(t)]||n[a=j(R(t))];!l&&s&&(l=n[a=j(z(t))]),l&&Wt(l,e,6,o);const d=n[a+"Once"];if(d){if(e.emitted){if(e.emitted[a])return}else e.emitted={};e.emitted[a]=!0,Wt(d,e,6,o)}}function bi(e,t,i=!1){const n=t.emitsCache,o=n.get(e);if(void 0!==o)return o;const s=e.emits;let r={},a=!1;if(__VUE_OPTIONS_API__&&!D(e)){const n=e=>{const i=bi(e,t,!0);i&&(a=!0,w(r,i))};!i&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}return s||a?(k(s)?s.forEach((e=>r[e]=null)):w(r,s),E(e)&&n.set(e,r),r):(E(e)&&n.set(e,null),null)}function wi(e,t){return!(!e||!y(t))&&(t=t.slice(2).replace(/Once$/,""),S(e,t[0].toLowerCase()+t.slice(1))||S(e,z(t))||S(e,t))}let Ci=null,xi=null;function Si(e){const t=Ci;return Ci=e,xi=e&&e.type.__scopeId||null,t}function ki(e){xi=e}function _i(){xi=null}function Ii(e,t=Ci,i){if(!t)return e;if(e._n)return e;const n=(...i)=>{n._d&&qo(-1);const o=Si(t);let s;try{s=e(...i)}finally{Si(o),n._d&&qo(1)}return __VUE_PROD_DEVTOOLS__&&mi(t),s};return n._n=!0,n._c=!0,n._d=!0,n}function Ti(e){const{type:t,vnode:i,proxy:n,withProxy:o,propsOptions:[s],slots:r,attrs:a,emit:l,render:d,renderCache:c,props:u,data:h,setupState:p,ctx:f,inheritAttrs:m}=e,g=Si(e);let v,y;try{if(4&i.shapeFlag){const e=o||n,t=e;v=ds(d.call(t,e,c,u,p,h,f)),y=a}else{const e=t;0,v=ds(e.length>1?e(u,{attrs:a,slots:r,emit:l}):e(u,null)),y=t.props?a:Di(a)}}catch(t){zo.length=0,jt(t,e,1),v=is(Ro)}let w=v;if(y&&!1!==m){const e=Object.keys(y),{shapeFlag:t}=w;e.length&&7&t&&(s&&e.some(b)&&(y=Li(y,s)),w=ss(w,y,!1,!0))}return i.dirs&&(w=ss(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(i.dirs):i.dirs),i.transition&&(w.transition=i.transition),v=w,Si(g),v}const Di=e=>{let t;for(const i in e)("class"===i||"style"===i||y(i))&&((t||(t={}))[i]=e[i]);return t},Li=(e,t)=>{const i={};for(const n in e)b(n)&&n.slice(9)in t||(i[n]=e[n]);return i};function Ai(e,t,i){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const s=n[o];if(t[s]!==e[s]&&!wi(i,s))return!0}return!1}function Ei({vnode:e,parent:t},i){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n!==e)break;(e=t.vnode).el=i,t=t.parent}}const Mi="components";function Bi(e,t){return Vi(Mi,e,!0,t)||e}const Oi=Symbol.for("v-ndc");function $i(e){return L(e)?Vi(Mi,e,!1)||e:e||Oi}function Fi(e){return Vi("directives",e)}function Vi(e,t,i=!0,n=!1){const o=Ci||vs;if(o){const i=o.type;if(e===Mi){const e=Bs(i,!1);if(e&&(e===t||e===R(t)||e===W(R(t))))return i}const s=Pi(o[e]||i[e],t)||Pi(o.appContext[e],t);return!s&&n?i:s}}function Pi(e,t){return e&&(e[t]||e[R(t)]||e[W(R(t))])}const Ni=e=>e.__isSuspense;function Ri(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):ni(e)}function Hi(e,t,i=vs,n=!1){if(i){const o=i[e]||(i[e]=[]),s=t.__weh||(t.__weh=(...n)=>{_e();const o=Cs(i),s=Wt(t,i,e,n);return o(),Ie(),s});return n?o.unshift(s):o.push(s),s}}const zi=e=>(t,i=vs)=>{Is&&"sp"!==e||Hi(e,((...e)=>t(...e)),i)},Wi=zi("bm"),ji=zi("m"),Ui=zi("bu"),Gi=zi("u"),qi=zi("bum"),Yi=zi("um"),Ki=zi("sp"),Zi=zi("rtg"),Ji=zi("rtc");function Qi(e,t=vs){Hi("ec",e,t)}function Xi(e,t){if(null===Ci)return e;const i=Ms(Ci),n=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[o,s,r,a=u]=t[e];o&&(D(o)&&(o={mounted:o,updated:o}),o.deep&&ao(s),n.push({dir:o,instance:i,value:s,oldValue:void 0,arg:r,modifiers:a}))}return e}function en(e,t,i,n){const o=e.dirs,s=t&&t.dirs;for(let r=0;r<o.length;r++){const a=o[r];s&&(a.oldValue=s[r].value);let l=a.dir[n];l&&(_e(),Wt(l,i,8,[e.el,a,e,t]),Ie())}}function tn(e,t,i,n){let o;const s=i&&i[n];if(k(e)||L(e)){o=new Array(e.length);for(let i=0,n=e.length;i<n;i++)o[i]=t(e[i],i,void 0,s&&s[i])}else if("number"==typeof e){0,o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s&&s[i])}else if(E(e))if(e[Symbol.iterator])o=Array.from(e,((e,i)=>t(e,i,void 0,s&&s[i])));else{const i=Object.keys(e);o=new Array(i.length);for(let n=0,r=i.length;n<r;n++){const r=i[n];o[n]=t(e[r],r,n,s&&s[n])}}else o=[];return i&&(i[n]=o),o}function nn(e,t){for(let i=0;i<t.length;i++){const n=t[i];if(k(n))for(let t=0;t<n.length;t++)e[n[t].name]=n[t].fn;else n&&(e[n.name]=n.key?(...e)=>{const t=n.fn(...e);return t&&(t.key=n.key),t}:n.fn)}return e}function on(e,t){return D(e)?(()=>w({name:e.name},t,{setup:e}))():e}const sn=e=>!!e.type.__asyncLoader;function rn(e,t,i={},n,o){if(Ci.isCE||Ci.parent&&sn(Ci.parent)&&Ci.parent.isCE)return"default"!==t&&(i.name=t),is("slot",i,n&&n());let s=e[t];s&&s._c&&(s._d=!1),jo();const r=s&&an(s(i)),a=Zo(Po,{key:i.key||r&&r.key||`_${t}`},r||(n?n():[]),r&&1===e._?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function an(e){return e.some((e=>!Jo(e)||e.type!==Ro&&!(e.type===Po&&!an(e.children))))?e:null}const ln=e=>e?Ss(e)?Ms(e):ln(e.parent):null,dn=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ln(e.parent),$root:e=>ln(e.root),$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?vn(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ti(e.update)}),$nextTick:e=>e.n||(e.n=ei.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?so.bind(e):f}),cn=(e,t)=>e!==u&&!e.__isScriptSetup&&S(e,t),un={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:i,setupState:n,data:o,props:s,accessCache:r,type:a,appContext:l}=e;let d;if("$"!==t[0]){const a=r[t];if(void 0!==a)switch(a){case 1:return n[t];case 2:return o[t];case 4:return i[t];case 3:return s[t]}else{if(cn(n,t))return r[t]=1,n[t];if(o!==u&&S(o,t))return r[t]=2,o[t];if((d=e.propsOptions[0])&&S(d,t))return r[t]=3,s[t];if(i!==u&&S(i,t))return r[t]=4,i[t];__VUE_OPTIONS_API__&&!pn||(r[t]=0)}}const c=dn[t];let h,p;return c?("$attrs"===t&&Fe(e.attrs,0,""),c(e)):(h=a.__cssModules)&&(h=h[t])?h:i!==u&&S(i,t)?(r[t]=4,i[t]):(p=l.config.globalProperties,S(p,t)?p[t]:void 0)},set({_:e},t,i){const{data:n,setupState:o,ctx:s}=e;return cn(o,t)?(o[t]=i,!0):n!==u&&S(n,t)?(n[t]=i,!0):!S(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=i,!0))},has({_:{data:e,setupState:t,accessCache:i,ctx:n,appContext:o,propsOptions:s}},r){let a;return!!i[r]||e!==u&&S(e,r)||cn(t,r)||(a=s[0])&&S(a,r)||S(n,r)||S(dn,r)||S(o.config.globalProperties,r)},defineProperty(e,t,i){return null!=i.get?e._.accessCache[t]=0:S(i,"value")&&this.set(e,t,i.value,null),Reflect.defineProperty(e,t,i)}};function hn(e){return k(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let pn=!0;function fn(e){const t=vn(e),i=e.proxy,n=e.ctx;pn=!1,t.beforeCreate&&mn(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:r,watch:a,provide:l,inject:d,created:c,beforeMount:u,mounted:h,beforeUpdate:p,updated:m,activated:g,deactivated:v,beforeDestroy:y,beforeUnmount:b,destroyed:w,unmounted:C,render:x,renderTracked:S,renderTriggered:_,errorCaptured:I,serverPrefetch:T,expose:L,inheritAttrs:A,components:M,directives:B,filters:O}=t;if(d&&function(e,t,i=f){k(e)&&(e=Cn(e));for(const i in e){const n=e[i];let o;o=E(n)?"default"in n?Ln(n.from||i,n.default,!0):Ln(n.from||i):Ln(n),$t(o)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[i]=o}}(d,n,null),r)for(const e in r){const t=r[e];D(t)&&(n[e]=t.bind(i))}if(o){0;const t=o.call(i,i);0,E(t)&&(e.data=Ct(t))}if(pn=!0,s)for(const e in s){const t=s[e],o=D(t)?t.bind(i,i):D(t.get)?t.get.bind(i,i):f;0;const r=!D(t)&&D(t.set)?t.set.bind(i):f,a=$s({get:o,set:r});Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(a)for(const e in a)gn(a[e],n,i,e);if(l){const e=D(l)?l.call(i):l;Reflect.ownKeys(e).forEach((t=>{!function(e,t){if(vs){let i=vs.provides;const n=vs.parent&&vs.parent.provides;n===i&&(i=vs.provides=Object.create(n)),i[e]=t}else 0}(t,e[t])}))}function $(e,t){k(t)?t.forEach((t=>e(t.bind(i)))):t&&e(t.bind(i))}if(c&&mn(c,e,"c"),$(Wi,u),$(ji,h),$(Ui,p),$(Gi,m),$(uo,g),$(ho,v),$(Qi,I),$(Ji,S),$(Zi,_),$(qi,b),$(Yi,C),$(Ki,T),k(L))if(L.length){const t=e.exposed||(e.exposed={});L.forEach((e=>{Object.defineProperty(t,e,{get:()=>i[e],set:t=>i[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===f&&(e.render=x),null!=A&&(e.inheritAttrs=A),M&&(e.components=M),B&&(e.directives=B)}function mn(e,t,i){Wt(k(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,i)}function gn(e,t,i,n){const o=n.includes(".")?ro(i,n):()=>i[n];if(L(e)){const i=t[e];D(i)&&no(o,i)}else if(D(e))no(o,e.bind(i));else if(E(e))if(k(e))e.forEach((e=>gn(e,t,i,n)));else{const n=D(e.handler)?e.handler.bind(i):t[e.handler];D(n)&&no(o,n,e)}else 0}function vn(e){const t=e.type,{mixins:i,extends:n}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:r}}=e.appContext,a=s.get(t);let l;return a?l=a:o.length||i||n?(l={},o.length&&o.forEach((e=>yn(l,e,r,!0))),yn(l,t,r)):l=t,E(t)&&s.set(t,l),l}function yn(e,t,i,n=!1){const{mixins:o,extends:s}=t;s&&yn(e,s,i,!0),o&&o.forEach((t=>yn(e,t,i,!0)));for(const o in t)if(n&&"expose"===o);else{const n=bn[o]||i&&i[o];e[o]=n?n(e[o],t[o]):t[o]}return e}const bn={data:wn,props:kn,emits:kn,methods:Sn,computed:Sn,beforeCreate:xn,created:xn,beforeMount:xn,mounted:xn,beforeUpdate:xn,updated:xn,beforeDestroy:xn,beforeUnmount:xn,destroyed:xn,unmounted:xn,activated:xn,deactivated:xn,errorCaptured:xn,serverPrefetch:xn,components:Sn,directives:Sn,watch:function(e,t){if(!e)return t;if(!t)return e;const i=w(Object.create(null),e);for(const n in t)i[n]=xn(e[n],t[n]);return i},provide:wn,inject:function(e,t){return Sn(Cn(e),Cn(t))}};function wn(e,t){return t?e?function(){return w(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function Cn(e){if(k(e)){const t={};for(let i=0;i<e.length;i++)t[e[i]]=e[i];return t}return e}function xn(e,t){return e?[...new Set([].concat(e,t))]:t}function Sn(e,t){return e?w(Object.create(null),e,t):t}function kn(e,t){return e?k(e)&&k(t)?[...new Set([...e,...t])]:w(Object.create(null),hn(e),hn(null!=t?t:{})):t}function _n(){return{app:null,config:{isNativeTag:g,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let In=0;function Tn(e,t){return function(i,n=null){D(i)||(i=w({},i)),null==n||E(n)||(n=null);const o=_n(),s=new WeakSet;let r=!1;const a=o.app={_uid:In++,_component:i,_props:n,_container:null,_context:o,_instance:null,version:Vs,get config(){return o.config},set config(e){0},use(e,...t){return s.has(e)||(e&&D(e.install)?(s.add(e),e.install(a,...t)):D(e)&&(s.add(e),e(a,...t))),a},mixin(e){return __VUE_OPTIONS_API__&&(o.mixins.includes(e)||o.mixins.push(e)),a},component(e,t){return t?(o.components[e]=t,a):o.components[e]},directive(e,t){return t?(o.directives[e]=t,a):o.directives[e]},mount(s,l,d){if(!r){0;const c=is(i,n);return c.appContext=o,!0===d?d="svg":!1===d&&(d=void 0),l&&t?t(c,s):e(c,s,d),r=!0,a._container=s,s.__vue_app__=a,__VUE_PROD_DEVTOOLS__&&(a._instance=c.component,function(e,t){hi("app:init",e,t,{Fragment:Po,Text:No,Comment:Ro,Static:Ho})}(a,Vs)),Ms(c.component)}},unmount(){r&&(e(null,a._container),__VUE_PROD_DEVTOOLS__&&(a._instance=null,function(e){hi("app:unmount",e)}(a)),delete a._container.__vue_app__)},provide(e,t){return o.provides[e]=t,a},runWithContext(e){const t=Dn;Dn=a;try{return e()}finally{Dn=t}}};return a}}let Dn=null;function Ln(e,t,i=!1){const n=vs||Ci;if(n||Dn){const o=n?null==n.parent?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:Dn._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return i&&D(t)?t.call(n&&n.proxy):t}else 0}const An={},En=()=>Object.create(An),Mn=e=>Object.getPrototypeOf(e)===An;function Bn(e,t,i,n=!1){const o={},s=En();e.propsDefaults=Object.create(null),On(e,t,o,s);for(const t in e.propsOptions[0])t in o||(o[t]=void 0);i?e.props=n?o:St(o,!1,Ye,ft,vt):e.type.props?e.props=o:e.props=s,e.attrs=s}function On(e,t,i,n){const[o,s]=e.propsOptions;let r,a=!1;if(t)for(let l in t){if(V(l))continue;const d=t[l];let c;o&&S(o,c=R(l))?s&&s.includes(c)?(r||(r={}))[c]=d:i[c]=d:wi(e.emitsOptions,l)||l in n&&d===n[l]||(n[l]=d,a=!0)}if(s){const t=Dt(i),n=r||u;for(let r=0;r<s.length;r++){const a=s[r];i[a]=$n(o,t,a,n[a],e,!S(n,a))}}return a}function $n(e,t,i,n,o,s){const r=e[i];if(null!=r){const e=S(r,"default");if(e&&void 0===n){const e=r.default;if(r.type!==Function&&!r.skipFactory&&D(e)){const{propsDefaults:s}=o;if(i in s)n=s[i];else{const r=Cs(o);n=s[i]=e.call(null,t),r()}}else n=e}r[0]&&(s&&!e?n=!1:!r[1]||""!==n&&n!==z(i)||(n=!0))}return n}function Fn(e,t,i=!1){const n=t.propsCache,o=n.get(e);if(o)return o;const s=e.props,r={},a=[];let l=!1;if(__VUE_OPTIONS_API__&&!D(e)){const n=e=>{l=!0;const[i,n]=Fn(e,t,!0);w(r,i),n&&a.push(...n)};!i&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!s&&!l)return E(e)&&n.set(e,p),p;if(k(s))for(let e=0;e<s.length;e++){0;const t=R(s[e]);Vn(t)&&(r[t]=u)}else if(s){0;for(const e in s){const t=R(e);if(Vn(t)){const i=s[e],n=r[t]=k(i)||D(i)?{type:i}:w({},i);if(n){const e=Rn(Boolean,n.type),i=Rn(String,n.type);n[0]=e>-1,n[1]=i<0||e<i,(e>-1||S(n,"default"))&&a.push(t)}}}}const d=[r,a];return E(e)&&n.set(e,d),d}function Vn(e){return"$"!==e[0]&&!V(e)}function Pn(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function Nn(e,t){return Pn(e)===Pn(t)}function Rn(e,t){return k(t)?t.findIndex((t=>Nn(t,e))):D(t)&&Nn(t,e)?0:-1}const Hn=e=>"_"===e[0]||"$stable"===e,zn=e=>k(e)?e.map(ds):[ds(e)],Wn=(e,t,i)=>{if(t._n)return t;const n=Ii(((...e)=>zn(t(...e))),i);return n._c=!1,n},jn=(e,t,i)=>{const n=e._ctx;for(const i in e){if(Hn(i))continue;const o=e[i];if(D(o))t[i]=Wn(0,o,n);else if(null!=o){0;const e=zn(o);t[i]=()=>e}}},Un=(e,t)=>{const i=zn(t);e.slots.default=()=>i};function Gn(e,t,i,n,o=!1){if(k(e))return void e.forEach(((e,s)=>Gn(e,t&&(k(t)?t[s]:t),i,n,o)));if(sn(n)&&!o)return;const s=4&n.shapeFlag?Ms(n.component):n.el,r=o?null:s,{i:a,r:l}=e;const d=t&&t.r,c=a.refs===u?a.refs={}:a.refs,h=a.setupState;if(null!=d&&d!==l&&(L(d)?(c[d]=null,S(h,d)&&(h[d]=null)):$t(d)&&(d.value=null)),D(l))zt(l,a,12,[r,c]);else{const t=L(l),n=$t(l);if(t||n){const a=()=>{if(e.f){const i=t?S(h,l)?h[l]:c[l]:l.value;o?k(i)&&C(i,s):k(i)?i.includes(s)||i.push(s):t?(c[l]=[s],S(h,l)&&(h[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else t?(c[l]=r,S(h,l)&&(h[l]=r)):n&&(l.value=r,e.k&&(c[e.k]=r))};r?(a.id=-1,qn(a,i)):a()}else 0}}const qn=Ri;function Yn(e,t){"boolean"!=typeof __VUE_OPTIONS_API__&&(J().__VUE_OPTIONS_API__=!0),"boolean"!=typeof __VUE_PROD_DEVTOOLS__&&(J().__VUE_PROD_DEVTOOLS__=!1),"boolean"!=typeof __VUE_PROD_HYDRATION_MISMATCH_DETAILS__&&(J().__VUE_PROD_HYDRATION_MISMATCH_DETAILS__=!1);const i=J();i.__VUE__=!0,__VUE_PROD_DEVTOOLS__&&pi(i.__VUE_DEVTOOLS_GLOBAL_HOOK__,i);const{insert:n,remove:o,patchProp:s,createElement:r,createText:a,createComment:l,setText:d,setElementText:c,parentNode:h,nextSibling:m,setScopeId:g=f,insertStaticContent:v}=e,y=(e,t,i,n=null,o=null,s=null,r,a=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Qo(e,t)&&(n=X(e),U(e,o,s,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:d,ref:c,shapeFlag:u}=t;switch(d){case No:b(e,t,i,n);break;case Ro:C(e,t,i,n);break;case Ho:null==e&&x(t,i,n,r);break;case Po:M(e,t,i,n,o,s,r,a,l);break;default:1&u?_(e,t,i,n,o,s,r,a,l):6&u?B(e,t,i,n,o,s,r,a,l):(64&u||128&u)&&d.process(e,t,i,n,o,s,r,a,l,ie)}null!=c&&o&&Gn(c,e&&e.ref,s,t||e,!t)},b=(e,t,i,o)=>{if(null==e)n(t.el=a(t.children),i,o);else{const i=t.el=e.el;t.children!==e.children&&d(i,t.children)}},C=(e,t,i,o)=>{null==e?n(t.el=l(t.children||""),i,o):t.el=e.el},x=(e,t,i,n)=>{[e.el,e.anchor]=v(e.children,t,i,n,e.el,e.anchor)},k=({el:e,anchor:t})=>{let i;for(;e&&e!==t;)i=m(e),o(e),e=i;o(t)},_=(e,t,i,n,o,s,r,a,l)=>{"svg"===t.type?r="svg":"math"===t.type&&(r="mathml"),null==e?I(t,i,n,o,s,r,a,l):L(e,t,o,s,r,a,l)},I=(e,t,i,o,a,l,d,u)=>{let h,p;const{props:f,shapeFlag:m,transition:g,dirs:v}=e;if(h=e.el=r(e.type,l,f&&f.is,f),8&m?c(h,e.children):16&m&&D(e.children,h,null,o,a,Kn(e,l),d,u),v&&en(e,null,o,"created"),T(h,e,e.scopeId,d,o),f){for(const t in f)"value"===t||V(t)||s(h,t,null,f[t],l,e.children,o,a,Q);"value"in f&&s(h,"value",null,f.value,l),(p=f.onVnodeBeforeMount)&&ps(p,o,e)}__VUE_PROD_DEVTOOLS__&&(q(h,"__vnode",e,!0),q(h,"__vueParentComponent",o,!0)),v&&en(e,null,o,"beforeMount");const y=Jn(a,g);y&&g.beforeEnter(h),n(h,t,i),((p=f&&f.onVnodeMounted)||y||v)&&qn((()=>{p&&ps(p,o,e),y&&g.enter(h),v&&en(e,null,o,"mounted")}),a)},T=(e,t,i,n,o)=>{if(i&&g(e,i),n)for(let t=0;t<n.length;t++)g(e,n[t]);if(o){if(t===o.subTree){const t=o.vnode;T(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},D=(e,t,i,n,o,s,r,a,l=0)=>{for(let d=l;d<e.length;d++){const l=e[d]=a?cs(e[d]):ds(e[d]);y(null,l,t,i,n,o,s,r,a)}},L=(e,t,i,n,o,r,a)=>{const l=t.el=e.el;__VUE_PROD_DEVTOOLS__&&(l.__vnode=t);let{patchFlag:d,dynamicChildren:h,dirs:p}=t;d|=16&e.patchFlag;const f=e.props||u,m=t.props||u;let g;if(i&&Zn(i,!1),(g=m.onVnodeBeforeUpdate)&&ps(g,i,t,e),p&&en(t,e,i,"beforeUpdate"),i&&Zn(i,!0),h?A(e.dynamicChildren,h,l,i,n,Kn(t,o),r):a||N(e,t,l,null,i,n,Kn(t,o),r,!1),d>0){if(16&d)E(l,t,f,m,i,n,o);else if(2&d&&f.class!==m.class&&s(l,"class",null,m.class,o),4&d&&s(l,"style",f.style,m.style,o),8&d){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const a=r[t],d=f[a],c=m[a];c===d&&"value"!==a||s(l,a,d,c,o,e.children,i,n,Q)}}1&d&&e.children!==t.children&&c(l,t.children)}else a||null!=h||E(l,t,f,m,i,n,o);((g=m.onVnodeUpdated)||p)&&qn((()=>{g&&ps(g,i,t,e),p&&en(t,e,i,"updated")}),n)},A=(e,t,i,n,o,s,r)=>{for(let a=0;a<t.length;a++){const l=e[a],d=t[a],c=l.el&&(l.type===Po||!Qo(l,d)||70&l.shapeFlag)?h(l.el):i;y(l,d,c,null,n,o,s,r,!0)}},E=(e,t,i,n,o,r,a)=>{if(i!==n){if(i!==u)for(const l in i)V(l)||l in n||s(e,l,i[l],null,a,t.children,o,r,Q);for(const l in n){if(V(l))continue;const d=n[l],c=i[l];d!==c&&"value"!==l&&s(e,l,c,d,a,t.children,o,r,Q)}"value"in n&&s(e,"value",i.value,n.value,a)}},M=(e,t,i,o,s,r,l,d,c)=>{const u=t.el=e?e.el:a(""),h=t.anchor=e?e.anchor:a("");let{patchFlag:p,dynamicChildren:f,slotScopeIds:m}=t;m&&(d=d?d.concat(m):m),null==e?(n(u,i,o),n(h,i,o),D(t.children||[],i,h,s,r,l,d,c)):p>0&&64&p&&f&&e.dynamicChildren?(A(e.dynamicChildren,f,i,s,r,l,d),(null!=t.key||s&&t===s.subTree)&&Qn(e,t,!0)):N(e,t,i,h,s,r,l,d,c)},B=(e,t,i,n,o,s,r,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?o.ctx.activate(t,i,n,r,l):O(t,i,n,o,s,r,l):$(e,t,l)},O=(e,t,i,n,o,s,r)=>{const a=e.component=gs(e,n,o);if(lo(e)&&(a.ctx.renderer=ie),Ts(a),a.asyncDep){if(o&&o.registerDep(a,F,r),!e.el){const e=a.subTree=is(Ro);C(null,e,t,i)}}else F(a,e,t,i,o,s,r)},$=(e,t,i)=>{const n=t.component=e.component;if(function(e,t,i){const{props:n,children:o,component:s}=e,{props:r,children:a,patchFlag:l}=t,d=s.emitsOptions;if(t.dirs||t.transition)return!0;if(!(i&&l>=0))return!(!o&&!a||a&&a.$stable)||n!==r&&(n?!r||Ai(n,r,d):!!r);if(1024&l)return!0;if(16&l)return n?Ai(n,r,d):!!r;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const i=e[t];if(r[i]!==n[i]&&!wi(d,i))return!0}}return!1}(e,t,i)){if(n.asyncDep&&!n.asyncResolved)return void P(n,t,i);n.next=t,function(e){const t=qt.indexOf(e);t>Yt&&qt.splice(t,1)}(n.update),n.effect.dirty=!0,n.update()}else t.el=e.el,n.vnode=t},F=(e,t,i,n,o,s,r)=>{const a=()=>{if(e.isMounted){let{next:t,bu:i,u:n,parent:l,vnode:d}=e;{const i=Xn(e);if(i)return t&&(t.el=d.el,P(e,t,r)),void i.asyncDep.then((()=>{e.isUnmounted||a()}))}let c,u=t;0,Zn(e,!1),t?(t.el=d.el,P(e,t,r)):t=d,i&&G(i),(c=t.props&&t.props.onVnodeBeforeUpdate)&&ps(c,l,t,d),Zn(e,!0);const p=Ti(e);0;const f=e.subTree;e.subTree=p,y(f,p,h(f.el),X(f),e,o,s),t.el=p.el,null===u&&Ei(e,p.el),n&&qn(n,o),(c=t.props&&t.props.onVnodeUpdated)&&qn((()=>ps(c,l,t,d)),o),__VUE_PROD_DEVTOOLS__&&mi(e)}else{let r;const{el:a,props:l}=t,{bm:d,m:c,parent:u}=e,h=sn(t);if(Zn(e,!1),d&&G(d),!h&&(r=l&&l.onVnodeBeforeMount)&&ps(r,u,t),Zn(e,!0),a&&oe){const i=()=>{e.subTree=Ti(e),oe(a,e.subTree,e,o,null)};h?t.type.__asyncLoader().then((()=>!e.isUnmounted&&i())):i()}else{0;const r=e.subTree=Ti(e);0,y(null,r,i,n,e,o,s),t.el=r.el}if(c&&qn(c,o),!h&&(r=l&&l.onVnodeMounted)){const e=t;qn((()=>ps(r,u,e)),o)}(256&t.shapeFlag||u&&sn(u.vnode)&&256&u.vnode.shapeFlag)&&e.a&&qn(e.a,o),e.isMounted=!0,__VUE_PROD_DEVTOOLS__&&fi(e),t=i=n=null}},l=e.effect=new ve(a,f,(()=>ti(d)),e.scope),d=e.update=()=>{l.dirty&&l.run()};d.id=e.uid,Zn(e,!0),d()},P=(e,t,i)=>{t.component=e;const n=e.vnode.props;e.vnode=t,e.next=null,function(e,t,i,n){const{props:o,attrs:s,vnode:{patchFlag:r}}=e,a=Dt(o),[l]=e.propsOptions;let d=!1;if(!(n||r>0)||16&r){let n;On(e,t,o,s)&&(d=!0);for(const s in a)t&&(S(t,s)||(n=z(s))!==s&&S(t,n))||(l?!i||void 0===i[s]&&void 0===i[n]||(o[s]=$n(l,a,s,void 0,e,!0)):delete o[s]);if(s!==a)for(const e in s)t&&S(t,e)||(delete s[e],d=!0)}else if(8&r){const i=e.vnode.dynamicProps;for(let n=0;n<i.length;n++){let r=i[n];if(wi(e.emitsOptions,r))continue;const c=t[r];if(l)if(S(s,r))c!==s[r]&&(s[r]=c,d=!0);else{const t=R(r);o[t]=$n(l,a,t,c,e,!1)}else c!==s[r]&&(s[r]=c,d=!0)}}d&&Ve(e.attrs,"set","")}(e,t.props,n,i),((e,t,i)=>{const{vnode:n,slots:o}=e;let s=!0,r=u;if(32&n.shapeFlag){const e=t._;e?i&&1===e?s=!1:(w(o,t),i||1!==e||delete o._):(s=!t.$stable,jn(t,o)),r=t}else t&&(Un(e,t),r={default:1});if(s)for(const e in o)Hn(e)||null!=r[e]||delete o[e]})(e,t.children,i),_e(),oi(e),Ie()},N=(e,t,i,n,o,s,r,a,l=!1)=>{const d=e&&e.children,u=e?e.shapeFlag:0,h=t.children,{patchFlag:p,shapeFlag:f}=t;if(p>0){if(128&p)return void W(d,h,i,n,o,s,r,a,l);if(256&p)return void H(d,h,i,n,o,s,r,a,l)}8&f?(16&u&&Q(d,o,s),h!==d&&c(i,h)):16&u?16&f?W(d,h,i,n,o,s,r,a,l):Q(d,o,s,!0):(8&u&&c(i,""),16&f&&D(h,i,n,o,s,r,a,l))},H=(e,t,i,n,o,s,r,a,l)=>{t=t||p;const d=(e=e||p).length,c=t.length,u=Math.min(d,c);let h;for(h=0;h<u;h++){const n=t[h]=l?cs(t[h]):ds(t[h]);y(e[h],n,i,null,o,s,r,a,l)}d>c?Q(e,o,s,!0,!1,u):D(t,i,n,o,s,r,a,l,u)},W=(e,t,i,n,o,s,r,a,l)=>{let d=0;const c=t.length;let u=e.length-1,h=c-1;for(;d<=u&&d<=h;){const n=e[d],c=t[d]=l?cs(t[d]):ds(t[d]);if(!Qo(n,c))break;y(n,c,i,null,o,s,r,a,l),d++}for(;d<=u&&d<=h;){const n=e[u],d=t[h]=l?cs(t[h]):ds(t[h]);if(!Qo(n,d))break;y(n,d,i,null,o,s,r,a,l),u--,h--}if(d>u){if(d<=h){const e=h+1,u=e<c?t[e].el:n;for(;d<=h;)y(null,t[d]=l?cs(t[d]):ds(t[d]),i,u,o,s,r,a,l),d++}}else if(d>h)for(;d<=u;)U(e[d],o,s,!0),d++;else{const f=d,m=d,g=new Map;for(d=m;d<=h;d++){const e=t[d]=l?cs(t[d]):ds(t[d]);null!=e.key&&g.set(e.key,d)}let v,b=0;const w=h-m+1;let C=!1,x=0;const S=new Array(w);for(d=0;d<w;d++)S[d]=0;for(d=f;d<=u;d++){const n=e[d];if(b>=w){U(n,o,s,!0);continue}let c;if(null!=n.key)c=g.get(n.key);else for(v=m;v<=h;v++)if(0===S[v-m]&&Qo(n,t[v])){c=v;break}void 0===c?U(n,o,s,!0):(S[c-m]=d+1,c>=x?x=c:C=!0,y(n,t[c],i,null,o,s,r,a,l),b++)}const k=C?function(e){const t=e.slice(),i=[0];let n,o,s,r,a;const l=e.length;for(n=0;n<l;n++){const l=e[n];if(0!==l){if(o=i[i.length-1],e[o]<l){t[n]=o,i.push(n);continue}for(s=0,r=i.length-1;s<r;)a=s+r>>1,e[i[a]]<l?s=a+1:r=a;l<e[i[s]]&&(s>0&&(t[n]=i[s-1]),i[s]=n)}}s=i.length,r=i[s-1];for(;s-- >0;)i[s]=r,r=t[r];return i}(S):p;for(v=k.length-1,d=w-1;d>=0;d--){const e=m+d,u=t[e],h=e+1<c?t[e+1].el:n;0===S[d]?y(null,u,i,h,o,s,r,a,l):C&&(v<0||d!==k[v]?j(u,i,h,2):v--)}}},j=(e,t,i,o,s=null)=>{const{el:r,type:a,transition:l,children:d,shapeFlag:c}=e;if(6&c)return void j(e.component.subTree,t,i,o);if(128&c)return void e.suspense.move(t,i,o);if(64&c)return void a.move(e,t,i,ie);if(a===Po){n(r,t,i);for(let e=0;e<d.length;e++)j(d[e],t,i,o);return void n(e.anchor,t,i)}if(a===Ho)return void(({el:e,anchor:t},i,o)=>{let s;for(;e&&e!==t;)s=m(e),n(e,i,o),e=s;n(t,i,o)})(e,t,i);if(2!==o&&1&c&&l)if(0===o)l.beforeEnter(r),n(r,t,i),qn((()=>l.enter(r)),s);else{const{leave:e,delayLeave:o,afterLeave:s}=l,a=()=>n(r,t,i),d=()=>{e(r,(()=>{a(),s&&s()}))};o?o(r,a,d):d()}else n(r,t,i)},U=(e,t,i,n=!1,o=!1)=>{const{type:s,props:r,ref:a,children:l,dynamicChildren:d,shapeFlag:c,patchFlag:u,dirs:h,memoIndex:p}=e;if(-2===u&&(o=!1),null!=a&&Gn(a,null,i,e,!0),null!=p&&(t.renderCache[p]=void 0),256&c)return void t.ctx.deactivate(e);const f=1&c&&h,m=!sn(e);let g;if(m&&(g=r&&r.onVnodeBeforeUnmount)&&ps(g,t,e),6&c)Z(e.component,i,n);else{if(128&c)return void e.suspense.unmount(i,n);f&&en(e,null,t,"beforeUnmount"),64&c?e.type.remove(e,t,i,ie,n):d&&(s!==Po||u>0&&64&u)?Q(d,t,i,!1,!0):(s===Po&&384&u||!o&&16&c)&&Q(l,t,i),n&&Y(e)}(m&&(g=r&&r.onVnodeUnmounted)||f)&&qn((()=>{g&&ps(g,t,e),f&&en(e,null,t,"unmounted")}),i)},Y=e=>{const{type:t,el:i,anchor:n,transition:s}=e;if(t===Po)return void K(i,n);if(t===Ho)return void k(e);const r=()=>{o(i),s&&!s.persisted&&s.afterLeave&&s.afterLeave()};if(1&e.shapeFlag&&s&&!s.persisted){const{leave:t,delayLeave:n}=s,o=()=>t(i,r);n?n(e.el,r,o):o()}else r()},K=(e,t)=>{let i;for(;e!==t;)i=m(e),o(e),e=i;o(t)},Z=(e,t,i)=>{const{bum:n,scope:o,update:s,subTree:r,um:a,m:l,a:d}=e;var c;eo(l),eo(d),n&&G(n),o.stop(),s&&(s.active=!1,U(r,e,t,i)),a&&qn(a,t),qn((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),__VUE_PROD_DEVTOOLS__&&(c=e,di&&"function"==typeof di.cleanupBuffer&&!di.cleanupBuffer(c)&&gi(c))},Q=(e,t,i,n=!1,o=!1,s=0)=>{for(let r=s;r<e.length;r++)U(e[r],t,i,n,o)},X=e=>6&e.shapeFlag?X(e.component.subTree):128&e.shapeFlag?e.suspense.next():m(e.anchor||e.el);let ee=!1;const te=(e,t,i)=>{null==e?t._vnode&&U(t._vnode,null,null,!0):y(t._vnode||null,e,t,null,null,null,i),ee||(ee=!0,oi(),si(),ee=!1),t._vnode=e},ie={p:y,um:U,m:j,r:Y,mt:O,mc:D,pc:N,pbc:A,n:X,o:e};let ne,oe;return t&&([ne,oe]=t(ie)),{render:te,hydrate:ne,createApp:Tn(te,ne)}}function Kn({type:e,props:t},i){return"svg"===i&&"foreignObject"===e||"mathml"===i&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:i}function Zn({effect:e,update:t},i){e.allowRecurse=t.allowRecurse=i}function Jn(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qn(e,t,i=!1){const n=e.children,o=t.children;if(k(n)&&k(o))for(let e=0;e<n.length;e++){const t=n[e];let s=o[e];1&s.shapeFlag&&!s.dynamicChildren&&((s.patchFlag<=0||32===s.patchFlag)&&(s=o[e]=cs(o[e]),s.el=t.el),i||-2===s.patchFlag||Qn(t,s)),s.type===No&&(s.el=t.el)}}function Xn(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Xn(t)}function eo(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const to=Symbol.for("v-scx");const io={};function no(e,t,i){return oo(e,t,i)}function oo(e,t,{immediate:i,deep:n,flush:o,once:s,onTrack:r,onTrigger:a}=u){if(t&&s){const e=t;t=(...t)=>{e(...t),_()}}const l=vs,d=e=>!0===n?e:ao(e,!1===n?1:void 0);let c,h,p=!1,m=!1;if($t(e)?(c=()=>e.value,p=It(e)):kt(e)?(c=()=>d(e),p=!0):k(e)?(m=!0,p=e.some((e=>kt(e)||It(e))),c=()=>e.map((e=>$t(e)?e.value:kt(e)?d(e):D(e)?zt(e,l,2):void 0))):c=D(e)?t?()=>zt(e,l,2):()=>(h&&h(),Wt(e,l,3,[v])):f,t&&n){const e=c;c=()=>ao(e())}let g,v=e=>{h=x.onStop=()=>{zt(e,l,4),h=x.onStop=void 0}};if(Is){if(v=f,t?i&&Wt(t,l,3,[c(),m?[]:void 0,v]):c(),"sync"!==o)return f;{const e=Ln(to);g=e.__watcherHandles||(e.__watcherHandles=[])}}let y=m?new Array(e.length).fill(io):io;const b=()=>{if(x.active&&x.dirty)if(t){const e=x.run();(n||p||(m?e.some(((e,t)=>U(e,y[t]))):U(e,y)))&&(h&&h(),Wt(t,l,3,[e,y===io?void 0:m&&y[0]===io?[]:y,v]),y=e)}else x.run()};let w;b.allowRecurse=!!t,"sync"===o?w=b:"post"===o?w=()=>qn(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),w=()=>ti(b));const x=new ve(c,f,w),S=pe,_=()=>{x.stop(),S&&C(S.effects,x)};return t?i?b():y=x.run():"post"===o?qn(x.run.bind(x),l&&l.suspense):x.run(),g&&g.push(_),_}function so(e,t,i){const n=this.proxy,o=L(e)?e.includes(".")?ro(n,e):()=>n[e]:e.bind(n,n);let s;D(t)?s=t:(s=t.handler,i=t);const r=Cs(this),a=oo(o,s.bind(n),i);return r(),a}function ro(e,t){const i=t.split(".");return()=>{let t=e;for(let e=0;e<i.length&&t;e++)t=t[i[e]];return t}}function ao(e,t=1/0,i){if(t<=0||!E(e)||e.__v_skip)return e;if((i=i||new Set).has(e))return e;if(i.add(e),t--,$t(e))ao(e.value,t,i);else if(k(e))for(let n=0;n<e.length;n++)ao(e[n],t,i);else if(I(e)||_(e))e.forEach((e=>{ao(e,t,i)}));else if($(e)){for(const n in e)ao(e[n],t,i);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ao(e[n],t,i)}return e}const lo=e=>e.type.__isKeepAlive;RegExp,RegExp;function co(e,t){return k(e)?e.some((e=>co(e,t))):L(e)?e.split(",").includes(t):"[object RegExp]"===O(e)&&e.test(t)}function uo(e,t){po(e,"a",t)}function ho(e,t){po(e,"da",t)}function po(e,t,i=vs){const n=e.__wdc||(e.__wdc=()=>{let t=i;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Hi(t,n,i),i){let e=i.parent;for(;e&&e.parent;)lo(e.parent.vnode)&&fo(n,t,i,e),e=e.parent}}function fo(e,t,i,n){const o=Hi(t,e,n,!0);Yi((()=>{C(n[t],o)}),i)}function mo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function go(e){return 128&e.shapeFlag?e.ssContent:e}const vo=Symbol("_leaveCb"),yo=Symbol("_enterCb");function bo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ji((()=>{e.isMounted=!0})),qi((()=>{e.isUnmounting=!0})),e}const wo=[Function,Array],Co={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wo,onEnter:wo,onAfterEnter:wo,onEnterCancelled:wo,onBeforeLeave:wo,onLeave:wo,onAfterLeave:wo,onLeaveCancelled:wo,onBeforeAppear:wo,onAppear:wo,onAfterAppear:wo,onAppearCancelled:wo},xo=e=>{const t=e.subTree;return t.component?xo(t.component):t},So={name:"BaseTransition",props:Co,setup(e,{slots:t}){const i=ys(),n=bo();return()=>{const o=t.default&&Ao(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){let e=!1;for(const t of o)if(t.type!==Ro){0,s=t,e=!0;break}}const r=Dt(e),{mode:a}=r;if(n.isLeaving)return To(s);const l=Do(s);if(!l)return To(s);let d=Io(l,r,n,i,(e=>d=e));Lo(l,d);const c=i.subTree,u=c&&Do(c);if(u&&u.type!==Ro&&!Qo(l,u)&&xo(i).type!==Ro){const e=Io(u,r,n,i);if(Lo(u,e),"out-in"===a&&l.type!==Ro)return n.isLeaving=!0,e.afterLeave=()=>{n.isLeaving=!1,!1!==i.update.active&&(i.effect.dirty=!0,i.update())},To(s);"in-out"===a&&l.type!==Ro&&(e.delayLeave=(e,t,i)=>{_o(n,u)[String(u.key)]=u,e[vo]=()=>{t(),e[vo]=void 0,delete d.delayedLeave},d.delayedLeave=i})}return s}}},ko=So;function _o(e,t){const{leavingVNodes:i}=e;let n=i.get(t.type);return n||(n=Object.create(null),i.set(t.type,n)),n}function Io(e,t,i,n,o){const{appear:s,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:p,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,w=String(e.key),C=_o(i,e),x=(e,t)=>{e&&Wt(e,n,9,t)},S=(e,t)=>{const i=t[1];x(e,t),k(e)?e.every((e=>e.length<=1))&&i():e.length<=1&&i()},_={mode:r,persisted:a,beforeEnter(t){let n=l;if(!i.isMounted){if(!s)return;n=g||l}t[vo]&&t[vo](!0);const o=C[w];o&&Qo(e,o)&&o.el[vo]&&o.el[vo](),x(n,[t])},enter(e){let t=d,n=c,o=u;if(!i.isMounted){if(!s)return;t=v||d,n=y||c,o=b||u}let r=!1;const a=e[yo]=t=>{r||(r=!0,x(t?o:n,[e]),_.delayedLeave&&_.delayedLeave(),e[yo]=void 0)};t?S(t,[e,a]):a()},leave(t,n){const o=String(e.key);if(t[yo]&&t[yo](!0),i.isUnmounting)return n();x(h,[t]);let s=!1;const r=t[vo]=i=>{s||(s=!0,n(),x(i?m:f,[t]),t[vo]=void 0,C[o]===e&&delete C[o])};C[o]=e,p?S(p,[t,r]):r()},clone(e){const s=Io(e,t,i,n,o);return o&&o(s),s}};return _}function To(e){if(lo(e))return(e=ss(e)).children=null,e}function Do(e){if(!lo(e))return e;const{shapeFlag:t,children:i}=e;if(i){if(16&t)return i[0];if(32&t&&D(i.default))return i.default()}}function Lo(e,t){6&e.shapeFlag&&e.component?Lo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ao(e,t=!1,i){let n=[],o=0;for(let s=0;s<e.length;s++){let r=e[s];const a=null==i?r.key:String(i)+String(null!=r.key?r.key:s);r.type===Po?(128&r.patchFlag&&o++,n=n.concat(Ao(r.children,t,a))):(t||r.type!==Ro)&&n.push(null!=a?ss(r,{key:a}):r)}if(o>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}const Eo=e=>e&&(e.disabled||""===e.disabled),Mo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Bo=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Oo=(e,t)=>{const i=e&&e.to;if(L(i)){if(t){return t(i)}return null}return i};function $o(e,t,i,{o:{insert:n},m:o},s=2){0===s&&n(e.targetAnchor,t,i);const{el:r,anchor:a,shapeFlag:l,children:d,props:c}=e,u=2===s;if(u&&n(r,t,i),(!u||Eo(c))&&16&l)for(let e=0;e<d.length;e++)o(d[e],t,i,2);u&&n(a,t,i)}const Fo={name:"Teleport",__isTeleport:!0,process(e,t,i,n,o,s,r,a,l,d){const{mc:c,pc:u,pbc:h,o:{insert:p,querySelector:f,createText:m,createComment:g}}=d,v=Eo(t.props);let{shapeFlag:y,children:b,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),d=t.anchor=m("");p(e,i,n),p(d,i,n);const u=t.target=Oo(t.props,f),h=t.targetAnchor=m("");u&&(p(h,u),"svg"===r||Mo(u)?r="svg":("mathml"===r||Bo(u))&&(r="mathml"));const g=(e,t)=>{16&y&&c(b,e,t,o,s,r,a,l)};v?g(i,d):u&&g(u,h)}else{t.el=e.el;const n=t.anchor=e.anchor,c=t.target=e.target,p=t.targetAnchor=e.targetAnchor,m=Eo(e.props),g=m?i:c,y=m?n:p;if("svg"===r||Mo(c)?r="svg":("mathml"===r||Bo(c))&&(r="mathml"),w?(h(e.dynamicChildren,w,g,o,s,r,a),Qn(e,t,!0)):l||u(e,t,g,y,o,s,r,a,!1),v)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):$o(t,i,n,d,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=Oo(t.props,f);e&&$o(t,e,null,d,0)}else m&&$o(t,c,p,d,1)}Vo(t)},remove(e,t,i,{um:n,o:{remove:o}},s){const{shapeFlag:r,children:a,anchor:l,targetAnchor:d,target:c,props:u}=e;if(c&&o(d),s&&o(l),16&r){const e=s||!Eo(u);for(let o=0;o<a.length;o++){const s=a[o];n(s,t,i,e,!!s.dynamicChildren)}}},move:$o,hydrate:function(e,t,i,n,o,s,{o:{nextSibling:r,parentNode:a,querySelector:l}},d){const c=t.target=Oo(t.props,l);if(c){const l=c._lpa||c.firstChild;if(16&t.shapeFlag)if(Eo(t.props))t.anchor=d(r(e),t,a(e),i,n,o,s),t.targetAnchor=l;else{t.anchor=r(e);let a=l;for(;a;)if(a=r(a),a&&8===a.nodeType&&"teleport anchor"===a.data){t.targetAnchor=a,c._lpa=t.targetAnchor&&r(t.targetAnchor);break}d(l,t,c,i,n,o,s)}Vo(t)}return t.anchor&&r(t.anchor)}};function Vo(e){const t=e.ctx;if(t&&t.ut){let i=e.children[0].el;for(;i&&i!==e.targetAnchor;)1===i.nodeType&&i.setAttribute("data-v-owner",t.uid),i=i.nextSibling;t.ut()}}const Po=Symbol.for("v-fgt"),No=Symbol.for("v-txt"),Ro=Symbol.for("v-cmt"),Ho=Symbol.for("v-stc"),zo=[];let Wo=null;function jo(e=!1){zo.push(Wo=e?null:[])}function Uo(){zo.pop(),Wo=zo[zo.length-1]||null}let Go=1;function qo(e){Go+=e}function Yo(e){return e.dynamicChildren=Go>0?Wo||p:null,Uo(),Go>0&&Wo&&Wo.push(e),e}function Ko(e,t,i,n,o,s){return Yo(ts(e,t,i,n,o,s,!0))}function Zo(e,t,i,n,o){return Yo(is(e,t,i,n,o,!0))}function Jo(e){return!!e&&!0===e.__v_isVNode}function Qo(e,t){return e.type===t.type&&e.key===t.key}const Xo=({key:e})=>null!=e?e:null,es=({ref:e,ref_key:t,ref_for:i})=>("number"==typeof e&&(e=""+e),null!=e?L(e)||$t(e)||D(e)?{i:Ci,r:e,k:t,f:!!i}:e:null);function ts(e,t=null,i=null,n=0,o=null,s=(e===Po?0:1),r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xo(t),ref:t&&es(t),scopeId:xi,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ci};return a?(us(l,i),128&s&&e.normalize(l)):i&&(l.shapeFlag|=L(i)?8:16),Go>0&&!r&&Wo&&(l.patchFlag>0||6&s)&&32!==l.patchFlag&&Wo.push(l),l}const is=ns;function ns(e,t=null,i=null,n=0,o=null,s=!1){if(e&&e!==Oi||(e=Ro),Jo(e)){const n=ss(e,t,!0);return i&&us(n,i),Go>0&&!s&&Wo&&(6&n.shapeFlag?Wo[Wo.indexOf(e)]=n:Wo.push(n)),n.patchFlag=-2,n}if(Os(e)&&(e=e.__vccOpts),t){t=os(t);let{class:e,style:i}=t;e&&!L(e)&&(t.class=ne(e)),E(i)&&(Tt(i)&&!k(i)&&(i=w({},i)),t.style=Q(i))}return ts(e,t,i,n,o,L(e)?1:Ni(e)?128:(e=>e.__isTeleport)(e)?64:E(e)?4:D(e)?2:0,s,!0)}function os(e){return e?Tt(e)||Mn(e)?w({},e):e:null}function ss(e,t,i=!1,n=!1){const{props:o,ref:s,patchFlag:r,children:a,transition:l}=e,d=t?hs(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Xo(d),ref:t&&t.ref?i&&s?k(s)?s.concat(es(t)):[s,es(t)]:es(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Po?-1===r?16:16|r:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ss(e.ssContent),ssFallback:e.ssFallback&&ss(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&Lo(c,l.clone(c)),c}function rs(e=" ",t=0){return is(No,null,e,t)}function as(e,t){const i=is(Ho,null,e);return i.staticCount=t,i}function ls(e="",t=!1){return t?(jo(),Zo(Ro,null,e)):is(Ro,null,e)}function ds(e){return null==e||"boolean"==typeof e?is(Ro):k(e)?is(Po,null,e.slice()):"object"==typeof e?cs(e):is(No,null,String(e))}function cs(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:ss(e)}function us(e,t){let i=0;const{shapeFlag:n}=e;if(null==t)t=null;else if(k(t))i=16;else if("object"==typeof t){if(65&n){const i=t.default;return void(i&&(i._c&&(i._d=!1),us(e,i()),i._c&&(i._d=!0)))}{i=32;const n=t._;n||Mn(t)?3===n&&Ci&&(1===Ci.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Ci}}else D(t)?(t={default:t,_ctx:Ci},i=32):(t=String(t),64&n?(i=16,t=[rs(t)]):i=8);e.children=t,e.shapeFlag|=i}function hs(...e){const t={};for(let i=0;i<e.length;i++){const n=e[i];for(const e in n)if("class"===e)t.class!==n.class&&(t.class=ne([t.class,n.class]));else if("style"===e)t.style=Q([t.style,n.style]);else if(y(e)){const i=t[e],o=n[e];!o||i===o||k(i)&&i.includes(o)||(t[e]=i?[].concat(i,o):o)}else""!==e&&(t[e]=n[e])}return t}function ps(e,t,i,n=null){Wt(e,t,7,[i,n])}const fs=_n();let ms=0;function gs(e,t,i){const n=e.type,o=(t?t.appContext:e.appContext)||fs,s={uid:ms++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new me(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fn(n,o),emitsOptions:bi(n,o),emit:null,emitted:null,propsDefaults:u,inheritAttrs:n.inheritAttrs,ctx:u,data:u,props:u,attrs:u,slots:u,refs:u,setupState:u,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:i,suspenseId:i?i.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=yi.bind(null,s),e.ce&&e.ce(s),s}let vs=null;const ys=()=>vs||Ci;let bs,ws;{const e=J(),t=(t,i)=>{let n;return(n=e[t])||(n=e[t]=[]),n.push(i),e=>{n.length>1?n.forEach((t=>t(e))):n[0](e)}};bs=t("__VUE_INSTANCE_SETTERS__",(e=>vs=e)),ws=t("__VUE_SSR_SETTERS__",(e=>Is=e))}const Cs=e=>{const t=vs;return bs(e),e.scope.on(),()=>{e.scope.off(),bs(t)}},xs=()=>{vs&&vs.scope.off(),bs(null)};function Ss(e){return 4&e.vnode.shapeFlag}let ks,_s,Is=!1;function Ts(e,t=!1){t&&ws(t);const{props:i,children:n}=e.vnode,o=Ss(e);Bn(e,i,o,t),((e,t)=>{const i=e.slots=En();if(32&e.vnode.shapeFlag){const e=t._;e?(w(i,t),q(i,"_",e,!0)):jn(t,i)}else t&&Un(e,t)})(e,n);const s=o?function(e,t){const i=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,un),!1;const{setup:n}=i;if(n){const i=e.setupContext=n.length>1?Es(e):null,o=Cs(e);_e();const s=zt(n,e,0,[e.props,i]);if(Ie(),o(),M(s)){if(s.then(xs,xs),t)return s.then((i=>{Ds(e,i,t)})).catch((t=>{jt(t,e,0)}));e.asyncDep=s}else Ds(e,s,t)}else Ls(e,t)}(e,t):void 0;return t&&ws(!1),s}function Ds(e,t,i){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:E(t)&&(__VUE_PROD_DEVTOOLS__&&(e.devtoolsRawSetupState=t),e.setupState=Ht(t)),Ls(e,i)}function Ls(e,t,i){const n=e.type;if(!e.render){if(!t&&ks&&!n.render){const t=n.template||vn(e).template;if(t){0;const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:s,compilerOptions:r}=n,a=w(w({isCustomElement:i,delimiters:s},o),r);n.render=ks(t,a)}}e.render=n.render||f,_s&&_s(e)}if(__VUE_OPTIONS_API__){const t=Cs(e);_e();try{fn(e)}finally{Ie(),t()}}}const As={get(e,t){return Fe(e,0,""),e[t]}};function Es(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,As),slots:e.slots,emit:e.emit,expose:t}}function Ms(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ht((t=e.exposed,Object.isExtensible(t)&&q(t,"__v_skip",!0),t)),{get(t,i){return i in t?t[i]:i in dn?dn[i](e):void 0},has(e,t){return t in e||t in dn}})):e.proxy;var t}function Bs(e,t=!0){return D(e)?e.displayName||e.name:e.name||t&&e.__name}function Os(e){return D(e)&&"__vccOpts"in e}const $s=(e,t)=>Mt(e,0,Is);function Fs(e,t,i){const n=arguments.length;return 2===n?E(t)&&!k(t)?Jo(t)?is(e,null,[t]):is(e,t):is(e,null,t):(n>3?i=Array.prototype.slice.call(arguments,2):3===n&&Jo(i)&&(i=[i]),is(e,t,i))}const Vs="3.4.31",Ps="undefined"!=typeof document?document:null,Ns=Ps&&Ps.createElement("template"),Rs={insert:(e,t,i)=>{t.insertBefore(e,i||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,i,n)=>{const o="svg"===t?Ps.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Ps.createElementNS("http://www.w3.org/1998/Math/MathML",e):i?Ps.createElement(e,{is:i}):Ps.createElement(e);return"select"===e&&n&&null!=n.multiple&&o.setAttribute("multiple",n.multiple),o},createText:e=>Ps.createTextNode(e),createComment:e=>Ps.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ps.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,i,n,o,s){const r=i?i.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),i),o!==s&&(o=o.nextSibling););else{Ns.innerHTML="svg"===n?`<svg>${e}</svg>`:"mathml"===n?`<math>${e}</math>`:e;const o=Ns.content;if("svg"===n||"mathml"===n){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,i)}return[r?r.nextSibling:t.firstChild,i?i.previousSibling:t.lastChild]}},Hs="transition",zs="animation",Ws=Symbol("_vtc"),js=(e,{slots:t})=>Fs(ko,Ks(e),t);js.displayName="Transition";const Us={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Gs=js.props=w({},Co,Us),qs=(e,t=[])=>{k(e)?e.forEach((e=>e(...t))):e&&e(...t)},Ys=e=>!!e&&(k(e)?e.some((e=>e.length>1)):e.length>1);function Ks(e){const t={};for(const i in e)i in Us||(t[i]=e[i]);if(!1===e.css)return t;const{name:i="v",type:n,duration:o,enterFromClass:s=`${i}-enter-from`,enterActiveClass:r=`${i}-enter-active`,enterToClass:a=`${i}-enter-to`,appearFromClass:l=s,appearActiveClass:d=r,appearToClass:c=a,leaveFromClass:u=`${i}-leave-from`,leaveActiveClass:h=`${i}-leave-active`,leaveToClass:p=`${i}-leave-to`}=e,f=function(e){if(null==e)return null;if(E(e))return[Zs(e.enter),Zs(e.leave)];{const t=Zs(e);return[t,t]}}(o),m=f&&f[0],g=f&&f[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:b,onLeave:C,onLeaveCancelled:x,onBeforeAppear:S=v,onAppear:k=y,onAppearCancelled:_=b}=t,I=(e,t,i)=>{Qs(e,t?c:a),Qs(e,t?d:r),i&&i()},T=(e,t)=>{e._isLeaving=!1,Qs(e,u),Qs(e,p),Qs(e,h),t&&t()},D=e=>(t,i)=>{const o=e?k:y,r=()=>I(t,e,i);qs(o,[t,r]),Xs((()=>{Qs(t,e?l:s),Js(t,e?c:a),Ys(o)||tr(t,n,m,r)}))};return w(t,{onBeforeEnter(e){qs(v,[e]),Js(e,s),Js(e,r)},onBeforeAppear(e){qs(S,[e]),Js(e,l),Js(e,d)},onEnter:D(!1),onAppear:D(!0),onLeave(e,t){e._isLeaving=!0;const i=()=>T(e,t);Js(e,u),Js(e,h),sr(),Xs((()=>{e._isLeaving&&(Qs(e,u),Js(e,p),Ys(C)||tr(e,n,g,i))})),qs(C,[e,i])},onEnterCancelled(e){I(e,!1),qs(b,[e])},onAppearCancelled(e){I(e,!0),qs(_,[e])},onLeaveCancelled(e){T(e),qs(x,[e])}})}function Zs(e){return K(e)}function Js(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ws]||(e[Ws]=new Set)).add(t)}function Qs(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const i=e[Ws];i&&(i.delete(t),i.size||(e[Ws]=void 0))}function Xs(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let er=0;function tr(e,t,i,n){const o=e._endId=++er,s=()=>{o===e._endId&&n()};if(i)return setTimeout(s,i);const{type:r,timeout:a,propCount:l}=ir(e,t);if(!r)return n();const d=r+"end";let c=0;const u=()=>{e.removeEventListener(d,h),s()},h=t=>{t.target===e&&++c>=l&&u()};setTimeout((()=>{c<l&&u()}),a+1),e.addEventListener(d,h)}function ir(e,t){const i=window.getComputedStyle(e),n=e=>(i[e]||"").split(", "),o=n(`${Hs}Delay`),s=n(`${Hs}Duration`),r=nr(o,s),a=n(`${zs}Delay`),l=n(`${zs}Duration`),d=nr(a,l);let c=null,u=0,h=0;t===Hs?r>0&&(c=Hs,u=r,h=s.length):t===zs?d>0&&(c=zs,u=d,h=l.length):(u=Math.max(r,d),c=u>0?r>d?Hs:zs:null,h=c?c===Hs?s.length:l.length:0);return{type:c,timeout:u,propCount:h,hasTransform:c===Hs&&/\b(transform|all)(,|$)/.test(n(`${Hs}Property`).toString())}}function nr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,i)=>or(t)+or(e[i]))))}function or(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}function sr(){return document.body.offsetHeight}const rr=Symbol("_vod"),ar=Symbol("_vsh"),lr={beforeMount(e,{value:t},{transition:i}){e[rr]="none"===e.style.display?"":e.style.display,i&&t?i.beforeEnter(e):dr(e,t)},mounted(e,{value:t},{transition:i}){i&&t&&i.enter(e)},updated(e,{value:t,oldValue:i},{transition:n}){!t!=!i&&(n?t?(n.beforeEnter(e),dr(e,!0),n.enter(e)):n.leave(e,(()=>{dr(e,!1)})):dr(e,t))},beforeUnmount(e,{value:t}){dr(e,t)}};function dr(e,t){e.style.display=t?e[rr]:"none",e[ar]=!t}const cr=Symbol("");const ur=/(^|;)\s*display\s*:/;const hr=/\s*!important$/;function pr(e,t,i){if(k(i))i.forEach((i=>pr(e,t,i)));else if(null==i&&(i=""),t.startsWith("--"))e.setProperty(t,i);else{const n=function(e,t){const i=mr[t];if(i)return i;let n=R(t);if("filter"!==n&&n in e)return mr[t]=n;n=W(n);for(let i=0;i<fr.length;i++){const o=fr[i]+n;if(o in e)return mr[t]=o}return t}(e,t);hr.test(i)?e.setProperty(z(n),i.replace(hr,""),"important"):e[n]=i}}const fr=["Webkit","Moz","ms"],mr={};const gr="http://www.w3.org/1999/xlink";function vr(e,t,i,n,o,s=re(t)){n&&t.startsWith("xlink:")?null==i?e.removeAttributeNS(gr,t.slice(6,t.length)):e.setAttributeNS(gr,t,i):null==i||s&&!ae(i)?e.removeAttribute(t):e.setAttribute(t,s?"":A(i)?String(i):i)}function yr(e,t,i,n){e.addEventListener(t,i,n)}const br=Symbol("_vei");function wr(e,t,i,n,o=null){const s=e[br]||(e[br]={}),r=s[t];if(n&&r)r.value=n;else{const[i,a]=function(e){let t;if(Cr.test(e)){let i;for(t={};i=e.match(Cr);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}const i=":"===e[2]?e.slice(3):z(e.slice(2));return[i,t]}(t);if(n){const r=s[t]=function(e,t){const i=e=>{if(e._vts){if(e._vts<=i.attached)return}else e._vts=Date.now();Wt(function(e,t){if(k(t)){const i=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{i.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,i.value),t,5,[e])};return i.value=e,i.attached=(()=>xr||(Sr.then((()=>xr=0)),xr=Date.now()))(),i}(n,o);yr(e,i,r,a)}else r&&(!function(e,t,i,n){e.removeEventListener(t,i,n)}(e,i,r,a),s[t]=void 0)}}const Cr=/(?:Once|Passive|Capture)$/;let xr=0;const Sr=Promise.resolve();const kr=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;"undefined"!=typeof HTMLElement&&HTMLElement;const _r=new WeakMap,Ir=new WeakMap,Tr=Symbol("_moveCb"),Dr=Symbol("_enterCb"),Lr={name:"TransitionGroup",props:w({},Gs,{tag:String,moveClass:String}),setup(e,{slots:t}){const i=ys(),n=bo();let o,s;return Gi((()=>{if(!o.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,i){const n=e.cloneNode(),o=e[Ws];o&&o.forEach((e=>{e.split(/\s+/).forEach((e=>e&&n.classList.remove(e)))}));i.split(/\s+/).forEach((e=>e&&n.classList.add(e))),n.style.display="none";const s=1===t.nodeType?t:t.parentNode;s.appendChild(n);const{hasTransform:r}=ir(n);return s.removeChild(n),r}(o[0].el,i.vnode.el,t))return;o.forEach(Er),o.forEach(Mr);const n=o.filter(Br);sr(),n.forEach((e=>{const i=e.el,n=i.style;Js(i,t),n.transform=n.webkitTransform=n.transitionDuration="";const o=i[Tr]=e=>{e&&e.target!==i||e&&!/transform$/.test(e.propertyName)||(i.removeEventListener("transitionend",o),i[Tr]=null,Qs(i,t))};i.addEventListener("transitionend",o)}))})),()=>{const r=Dt(e),a=Ks(r);let l=r.tag||Po;if(o=[],s)for(let e=0;e<s.length;e++){const t=s[e];t.el&&t.el instanceof Element&&(o.push(t),Lo(t,Io(t,a,n,i)),_r.set(t,t.el.getBoundingClientRect()))}s=t.default?Ao(t.default()):[];for(let e=0;e<s.length;e++){const t=s[e];null!=t.key&&Lo(t,Io(t,a,n,i))}return is(l,null,s)}}},Ar=Lr;function Er(e){const t=e.el;t[Tr]&&t[Tr](),t[Dr]&&t[Dr]()}function Mr(e){Ir.set(e,e.el.getBoundingClientRect())}function Br(e){const t=_r.get(e),i=Ir.get(e),n=t.left-i.left,o=t.top-i.top;if(n||o){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${n}px,${o}px)`,t.transitionDuration="0s",e}}const Or=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?e=>G(t,e):t};function $r(e){e.target.composing=!0}function Fr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vr=Symbol("_assign"),Pr={created(e,{modifiers:{lazy:t,trim:i,number:n}},o){e[Vr]=Or(o);const s=n||o.props&&"number"===o.props.type;yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let n=e.value;i&&(n=n.trim()),s&&(n=Y(n)),e[Vr](n)})),i&&yr(e,"change",(()=>{e.value=e.value.trim()})),t||(yr(e,"compositionstart",$r),yr(e,"compositionend",Fr),yr(e,"change",Fr))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:i,modifiers:{lazy:n,trim:o,number:s}},r){if(e[Vr]=Or(r),e.composing)return;const a=null==t?"":t;if((!s&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Y(e.value))!==a){if(document.activeElement===e&&"range"!==e.type){if(n&&t===i)return;if(o&&e.value.trim()===a)return}e.value=a}}};const Nr={created(e,{value:t},i){e.checked=le(t,i.props.value),e[Vr]=Or(i),yr(e,"change",(()=>{e[Vr](Rr(e))}))},beforeUpdate(e,{value:t,oldValue:i},n){e[Vr]=Or(n),t!==i&&(e.checked=le(t,n.props.value))}};function Rr(e){return"_value"in e?e._value:e.value}const Hr=["ctrl","shift","alt","meta"],zr={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Hr.some((i=>e[`${i}Key`]&&!t.includes(i)))},Wr=(e,t)=>{const i=e._withMods||(e._withMods={}),n=t.join(".");return i[n]||(i[n]=(i,...n)=>{for(let e=0;e<t.length;e++){const n=zr[t[e]];if(n&&n(i,t))return}return e(i,...n)})},jr={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ur=(e,t)=>{const i=e._withKeys||(e._withKeys={}),n=t.join(".");return i[n]||(i[n]=i=>{if(!("key"in i))return;const n=z(i.key);return t.some((e=>e===n||jr[e]===n))?e(i):void 0})},Gr=w({patchProp:(e,t,i,n,o,s,r,a,l)=>{const d="svg"===o;"class"===t?function(e,t,i){const n=e[Ws];n&&(t=(t?[t,...n]:[...n]).join(" ")),null==t?e.removeAttribute("class"):i?e.setAttribute("class",t):e.className=t}(e,n,d):"style"===t?function(e,t,i){const n=e.style,o=L(i);let s=!1;if(i&&!o){if(t)if(L(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==i[t]&&pr(n,t,"")}else for(const e in t)null==i[e]&&pr(n,e,"");for(const e in i)"display"===e&&(s=!0),pr(n,e,i[e])}else if(o){if(t!==i){const e=n[cr];e&&(i+=";"+e),n.cssText=i,s=ur.test(i)}}else t&&e.removeAttribute("style");rr in e&&(e[rr]=s?n.display:"",e[ar]&&(n.display="none"))}(e,i,n):y(t)?b(t)||wr(e,t,0,n,r):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,i,n){if(n)return"innerHTML"===t||"textContent"===t||!!(t in e&&kr(t)&&D(i));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}if(kr(t)&&L(i))return!1;return t in e}(e,t,n,d))?(!function(e,t,i,n,o,s,r){if("innerHTML"===t||"textContent"===t)return n&&r(n,o,s),void(e[t]=null==i?"":i);const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){const n="OPTION"===a?e.getAttribute("value")||"":e.value,o=null==i?"":String(i);return n===o&&"_value"in e||(e.value=o),null==i&&e.removeAttribute(t),void(e._value=i)}let l=!1;if(""===i||null==i){const n=typeof e[t];"boolean"===n?i=ae(i):null==i&&"string"===n?(i="",l=!0):"number"===n&&(i=0,l=!0)}try{e[t]=i}catch(e){}l&&e.removeAttribute(t)}(e,t,n,s,r,a,l),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||vr(e,t,n,d,0,"value"!==t)):("true-value"===t?e._trueValue=n:"false-value"===t&&(e._falseValue=n),vr(e,t,n,d))}},Rs);let qr;function Yr(){return qr||(qr=Yn(Gr))}const Kr=(...e)=>{Yr().render(...e)},Zr=(...e)=>{const t=Yr().createApp(...e);const{mount:i}=t;return t.mount=e=>{const n=Qr(e);if(!n)return;const o=t._component;D(o)||o.render||o.template||(o.template=n.innerHTML),n.innerHTML="";const s=i(n,!1,Jr(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),s},t};function Jr(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}function Qr(e){if(L(e)){return document.querySelector(e)}return e}d(4366),d(1923),d(8787);function Xr(e,t){const i=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");for(let t=0,n=i.length;t<n;++t){const n=i[t];if(!(n in e))return;e=e[n]}return e}function ea(e,t){return e.hasOwnProperty.call(e,t)}function ta(e){return"string"==typeof e}function ia(e){return"[object Function]"===Object.prototype.toString.call(e)||"[object AsyncFunction]"===Object.prototype.toString.call(e)}function na(e){return!!e&&"[object Object]"===Object.prototype.toString.call(e)}function oa(e){return"boolean"==typeof e}function sa(e){return"number"==typeof e}function ra(e){return!!sa(e)||!!ta(e)&&parseInt(e,10).toString().padStart(e.length,"0")===e}function aa(e){const t=parseInt(e,10);return function(e){return Number.isNaN(e)}(t)?0:t}function la(e){return/[\d.\-+]+\s*([^\d]+)/.test(e)}function da(e){if(!1===na(e))return!1;const t=e.constructor;if("function"!=typeof t)return!1;const i=t.prototype;return!1!==na(i)&&!1!==Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")}function ca(e){return void 0!==e}function ua(e){return ta(e)&&0===e.trim().length}function ha(e){return ta(e)&&e.trim().length>0}function pa(e){return e&&1===e.nodeType&&toString.call(e).indexOf("Element")>-1}function fa(e){return Array.isArray(e)}function ma(e){return da(e)&&(Boolean(e.template)||ia(e.render)||ha(e.el)||pa(e.el)||ma(e.extends)||Boolean(e.mixins&&function(e){return Array.isArray(e)&&e.length>0}(e.mixins)&&e.mixins.some((e=>ma(e)))))}function ga(e){return"$"in e||"_isVue"in e}function va(e,t){for(t&&!ta(t)&&t.name&&(t=t.name);e;){if("$options"in e&&e.$options.name==t||"name"in e&&e.name===t)return!0;if(!("$options"in e)||!e.$options.extends)return!1;e=e.$options.extends}return!1}function ya(e){return"object"==typeof e&&null!==e}function ba(e){return"[object Date]"===Object.prototype.toString.apply(e)}function wa(e,t){if(typeof e!=typeof t)return!1;if(ba(e)||ba(t))return!(!ba(t)||!ba(e))&&e.getTime()===t.getTime();if(ya(e)&&ya(t)){const i=Object.keys(e),n=Object.keys(t);if(i.length!==n.length)return!1;for(const n of i){if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!1===wa(e[n],t[n]))return!1}return!0}return e===t}function Ca(){}function xa(e,t,i){const n=Math.min(t,i),o=Math.max(t,i);return Math.min(Math.max(e,n),o)}function Sa(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];if(1===i.length&&da(i[0])){const t=i[0];return e.replace(/\${(\w+)}/g,((e,i)=>t[i]??e))}return e.replace(/\{(\d+)\}/g,((e,t)=>i[t]))}function ka(e,t,i){return(e-t)/(i-t)}function _a(e){return ia(e)&&"componentName"in e?e.componentName:"name"in e?e.name:e.$options.name}const Ia={render:()=>null};function Ta(e){return(e=(e=(e=(e=(e=(e=(e=function(e){if(/^\[[^\]]+\]\(/.test(e)){const t=/^\[([^\]]+)\]/.exec(e);if(t)return t[1]}return e}(e)).toLowerCase()).split(" ").join("-")).split(/\t/).join("--")).split(/<\/?[^>]+>/).join("")).split(/[|$&`~=\\/@+*!?({[\]})<>=.,;:'"^]/).join("")).split(/[。?!,、;:“”【】()〔〕[]﹃﹄“ ”‘’﹁﹂—…-~《》〈〉「」]/).join("")).replace(/[\s·/_\\,:;.()[\]]+/g,"-").replace(/&/g,"-and-").replace(/--+/g,"-")}function Da(e,t){const i=e.indexOf(t);return i>=0&&e.splice(i,1),e}function La(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return on({provide(){const i=t.reduce(((e,t)=>{let i,n;return na(t)?(i=t.expose,n=t.internal):(i=t,n=t),e[i]=this[n],e}),{});return{[e]:{register:this.register,unregister:this.unregister,instance:this,...i}}},data:()=>({}),methods:{register:Ca,unregister:Ca}})}function Aa(e){return on({inject:{[e]:{default:Ca}},data:()=>({})})}const Ea="v";let Ma;function Ba(e,t,i){e.provide(t,i)}function Oa(e,t,i){return Ba(e,i,t),()=>function(e,t){return Ln(e)}(i)}Ma=function(){let{components:e=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{install:function i(n){if(!i.installed){if(e=fa(e)?e:[e],e)for(const t of e)if(t){const e=`${Ea}${_a(t)}`;n.component(e)||n.component(e,t)}for(var o=arguments.length,s=new Array(o>1?o-1:0),r=1;r<o;r++)s[r-1]=arguments[r];t?.(n,...s)}}}};const $a="mounted",Fa="updated",Va="unmounted";const Pa="beforeUnmount",Na=e=>e.config.globalProperties;function Ra(e,t,i,n){const o=Oa(e,i,n??Symbol(t)),s=Na(e);return s&&(s[t]=i),o}const Ha=!1;function za(e){return Symbol()}const Wa={icon:{type:Object,default:()=>({})},hasPopupContainer:{type:Object,default:()=>({})},window:{type:Object,default:()=>({})},tabs:{type:Object,default:()=>({})},dataTable:{type:Object,default:()=>({})},alertBar:{type:Object,default:()=>({})},popup:{type:Object,default:()=>({})},datePickerMenu:{type:Object,default:()=>({})},tableHeaderCell:{type:Object,default:()=>({})},messageBoxWindow:{type:Object,default:()=>({})},panel:{type:Object,default:()=>({})},wizard:{type:Object,default:()=>({})},button:{type:Object,default:()=>({})}};class ja{constructor(e){let{props:t}=e;this.setProps(t??{})}setProps(e){this.props=e}}const Ua=za();let Ga=()=>{o("you are not install ConfigManagerPlugin yet, please install it first")};const qa=Ma({},(function(e){Ga=Ra(e,"$configManager",new ja(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),Ua)}));function Ya(e,t){const i=Ka(e);return Boolean(i?.[t])}function Ka(e){return e.$slots}function Za(e,t){const i=Ka(t)??{};return Object.keys(i).reduce(((t,i)=>(i.startsWith(e)&&t.push({name:i.replace(e,""),exposeName:i}),t)),[])}const Ja=on({name:"ConfigProvider",mixins:[La("config-provider")],props:Wa,render(){return Ka(this).default?.()}});d(5953);var Qa=function(e,t,i){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(i=i>o?o:i)<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;for(var s=Array(o);++n<o;)s[n]=e[n+t];return s};var Xa=function(e,t,i){var n=e.length;return i=void 0===i?n:i,!t&&i>=n?e:Qa(e,t,i)},el=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var tl=function(e){return el.test(e)};var il=function(e){return e.split("")},nl="\\ud800-\\udfff",ol="["+nl+"]",sl="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",rl="\\ud83c[\\udffb-\\udfff]",al="[^"+nl+"]",ll="(?:\\ud83c[\\udde6-\\uddff]){2}",dl="[\\ud800-\\udbff][\\udc00-\\udfff]",cl="(?:"+sl+"|"+rl+")"+"?",ul="[\\ufe0e\\ufe0f]?",hl=ul+cl+("(?:\\u200d(?:"+[al,ll,dl].join("|")+")"+ul+cl+")*"),pl="(?:"+[al+sl+"?",sl,ll,dl,ol].join("|")+")",fl=RegExp(rl+"(?="+rl+")|"+pl+hl,"g");var ml=function(e){return e.match(fl)||[]};var gl=function(e){return tl(e)?ml(e):il(e)},vl="object"==typeof global&&global&&global.Object===Object&&global,yl="object"==typeof self&&self&&self.Object===Object&&self,bl=vl||yl||Function("return this")(),wl=bl.Symbol;var Cl=function(e,t){for(var i=-1,n=null==e?0:e.length,o=Array(n);++i<n;)o[i]=t(e[i],i,e);return o},xl=Array.isArray,Sl=Object.prototype,kl=Sl.hasOwnProperty,_l=Sl.toString,Il=wl?wl.toStringTag:void 0;var Tl=function(e){var t=kl.call(e,Il),i=e[Il];try{e[Il]=void 0;var n=!0}catch(e){}var o=_l.call(e);return n&&(t?e[Il]=i:delete e[Il]),o},Dl=Object.prototype.toString;var Ll=function(e){return Dl.call(e)},Al=wl?wl.toStringTag:void 0;var El=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Al&&Al in Object(e)?Tl(e):Ll(e)};var Ml=function(e){return null!=e&&"object"==typeof e};var Bl=function(e){return"symbol"==typeof e||Ml(e)&&"[object Symbol]"==El(e)},Ol=wl?wl.prototype:void 0,$l=Ol?Ol.toString:void 0;var Fl=function e(t){if("string"==typeof t)return t;if(xl(t))return Cl(t,e)+"";if(Bl(t))return $l?$l.call(t):"";var i=t+"";return"0"==i&&1/t==-Infinity?"-0":i};var Vl=function(e){return null==e?"":Fl(e)};var Pl=function(e){return function(t){t=Vl(t);var i=tl(t)?gl(t):void 0,n=i?i[0]:t.charAt(0),o=i?Xa(i,1).join(""):t.slice(1);return n[e]()+o}},Nl=Pl("toUpperCase");var Rl=function(e){return Nl(Vl(e).toLowerCase())};var Hl=function(e,t,i,n){var o=-1,s=null==e?0:e.length;for(n&&s&&(i=e[++o]);++o<s;)i=t(i,e[o],o,e);return i};var zl=function(e){return function(t){return null==e?void 0:e[t]}},Wl=zl({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),jl=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ul=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Gl=function(e){return(e=Vl(e))&&e.replace(jl,Wl).replace(Ul,"")},ql=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Yl=function(e){return e.match(ql)||[]},Kl=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Zl=function(e){return Kl.test(e)},Jl="\\ud800-\\udfff",Ql="\\u2700-\\u27bf",Xl="a-z\\xdf-\\xf6\\xf8-\\xff",ed="A-Z\\xc0-\\xd6\\xd8-\\xde",td="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",id="["+td+"]",nd="\\d+",od="["+Ql+"]",sd="["+Xl+"]",rd="[^"+Jl+td+nd+Ql+Xl+ed+"]",ad="(?:\\ud83c[\\udde6-\\uddff]){2}",ld="[\\ud800-\\udbff][\\udc00-\\udfff]",dd="["+ed+"]",cd="(?:"+sd+"|"+rd+")",ud="(?:"+dd+"|"+rd+")",hd="(?:['’](?:d|ll|m|re|s|t|ve))?",pd="(?:['’](?:D|LL|M|RE|S|T|VE))?",fd="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",md="[\\ufe0e\\ufe0f]?",gd=md+fd+("(?:\\u200d(?:"+["[^"+Jl+"]",ad,ld].join("|")+")"+md+fd+")*"),vd="(?:"+[od,ad,ld].join("|")+")"+gd,yd=RegExp([dd+"?"+sd+"+"+hd+"(?="+[id,dd,"$"].join("|")+")",ud+"+"+pd+"(?="+[id,dd+cd,"$"].join("|")+")",dd+"?"+cd+"+"+hd,dd+"+"+pd,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nd,vd].join("|"),"g");var bd=function(e){return e.match(yd)||[]};var wd=function(e,t,i){return e=Vl(e),void 0===(t=i?void 0:t)?Zl(e)?bd(e):Yl(e):e.match(t)||[]},Cd=RegExp("['’]","g");var xd=function(e){return function(t){return Hl(wd(Gl(t).replace(Cd,"")),e,"")}},Sd=xd((function(e,t,i){return t=t.toLowerCase(),e+(i?Rl(t):t)})),kd=Sd;function _d(e,t,i){{const n=function(e){e=Object.assign({props:{},on:{},nativeOn:{},domProps:{},attrs:{},scopedSlots:{}},e);const{props:t,on:i,nativeOn:n,domProps:o,attrs:s,scopedSlots:r,...a}=e,l={...a};if(t)for(const[e,i]of Object.entries(t))l[e]=i;if(i)for(const[e,t]of Object.entries(i))l[`on${Nl(kd(e))}`]=t;if(n)for(const[e,t]of Object.entries(n))l[`on${Nl(kd(e))}`]=t;if(o)for(const[e,t]of Object.entries(o))l[e]=t;if(s)for(const[e,t]of Object.entries(s))l[e]=t;return delete l.directives,l}(t);if(t.scopedSlots){if(i)throw new Error("h function will confuse with children and slots together");i=t.scopedSlots}let o=Fs(e,n,i);return t.directives&&(o=function(e,t){const i=[];for(const e of t)i.push([Fi(e.name),e.value,e.argument,e.modifiers]);return Xi(e,i)}(o,t.directives)),o}}function Id(e,t){return e.attrs[`on${Nl(kd(t))}`]}function Td(e){return e.slots??{}}function Dd(e){return e.attrs}function Ld(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["slots"];const i=Td(e);let n;{const{slots:t,emit:i,...o}=e;n={...o,attrs:Dd(e)}}return Object.keys(i).length>0&&t.includes("slots")&&(n.scopedSlots=i),n}function Ad(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return _d(...i)}var Ed,Md=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),Bd=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));const Od=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),$d=null!==(Ed=String.fromCodePoint)&&void 0!==Ed?Ed:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function Fd(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=Od.get(e))&&void 0!==t?t:e}var Vd;!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(Vd||(Vd={}));var Pd,Nd,Rd;function Hd(e){return e>=Vd.ZERO&&e<=Vd.NINE}function zd(e){return e===Vd.EQUALS||function(e){return e>=Vd.UPPER_A&&e<=Vd.UPPER_Z||e>=Vd.LOWER_A&&e<=Vd.LOWER_Z||Hd(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(Pd||(Pd={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(Nd||(Nd={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(Rd||(Rd={}));class Wd{constructor(e,t,i){this.decodeTree=e,this.emitCodePoint=t,this.errors=i,this.state=Nd.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Rd.Strict}startEntity(e){this.decodeMode=e,this.state=Nd.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Nd.EntityStart:return e.charCodeAt(t)===Vd.NUM?(this.state=Nd.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Nd.NamedEntity,this.stateNamedEntity(e,t));case Nd.NumericStart:return this.stateNumericStart(e,t);case Nd.NumericDecimal:return this.stateNumericDecimal(e,t);case Nd.NumericHex:return this.stateNumericHex(e,t);case Nd.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===Vd.LOWER_X?(this.state=Nd.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Nd.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,i,n){if(t!==i){const o=i-t;this.result=this.result*Math.pow(n,o)+parseInt(e.substr(t,o),n),this.consumed+=o}}stateNumericHex(e,t){const i=t;for(;t<e.length;){const o=e.charCodeAt(t);if(!(Hd(o)||(n=o,n>=Vd.UPPER_A&&n<=Vd.UPPER_F||n>=Vd.LOWER_A&&n<=Vd.LOWER_F)))return this.addToNumericResult(e,i,t,16),this.emitNumericEntity(o,3);t+=1}var n;return this.addToNumericResult(e,i,t,16),-1}stateNumericDecimal(e,t){const i=t;for(;t<e.length;){const n=e.charCodeAt(t);if(!Hd(n))return this.addToNumericResult(e,i,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,i,t,10),-1}emitNumericEntity(e,t){var i;if(this.consumed<=t)return null===(i=this.errors)||void 0===i||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Vd.SEMI)this.consumed+=1;else if(this.decodeMode===Rd.Strict)return 0;return this.emitCodePoint(Fd(this.result),this.consumed),this.errors&&(e!==Vd.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:i}=this;let n=i[this.treeIndex],o=(n&Pd.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){const s=e.charCodeAt(t);if(this.treeIndex=Ud(i,n,this.treeIndex+Math.max(1,o),s),this.treeIndex<0)return 0===this.result||this.decodeMode===Rd.Attribute&&(0===o||zd(s))?0:this.emitNotTerminatedNamedEntity();if(n=i[this.treeIndex],o=(n&Pd.VALUE_LENGTH)>>14,0!==o){if(s===Vd.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Rd.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:i}=this,n=(i[t]&Pd.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,i){const{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~Pd.VALUE_LENGTH:n[e+1],i),3===t&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case Nd.NamedEntity:return 0===this.result||this.decodeMode===Rd.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Nd.NumericDecimal:return this.emitNumericEntity(0,2);case Nd.NumericHex:return this.emitNumericEntity(0,3);case Nd.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Nd.EntityStart:return 0}}}function jd(e){let t="";const i=new Wd(e,(e=>t+=$d(e)));return function(e,n){let o=0,s=0;for(;(s=e.indexOf("&",s))>=0;){t+=e.slice(o,s),i.startEntity(n);const r=i.write(e,s+1);if(r<0){o=s+i.end();break}o=s+r,s=0===r?o+1:o}const r=t+e.slice(o);return t="",r}}function Ud(e,t,i,n){const o=(t&Pd.BRANCH_LENGTH)>>7,s=t&Pd.JUMP_TABLE;if(0===o)return 0!==s&&n===s?i:-1;if(s){const t=n-s;return t<0||t>=o?-1:e[i+t]-1}let r=i,a=r+o-1;for(;r<=a;){const t=r+a>>>1,i=e[t];if(i<n)r=t+1;else{if(!(i>n))return e[t+o];a=t-1}}return-1}jd(Md),jd(Bd);var Gd,qd,Yd;function Kd(e){return e===Gd.Space||e===Gd.NewLine||e===Gd.Tab||e===Gd.FormFeed||e===Gd.CarriageReturn}function Zd(e){return e===Gd.Slash||e===Gd.Gt||Kd(e)}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(Gd||(Gd={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.BeforeSpecialT=23]="BeforeSpecialT",e[e.SpecialStartSequence=24]="SpecialStartSequence",e[e.InSpecialTag=25]="InSpecialTag",e[e.InEntity=26]="InEntity"}(qd||(qd={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(Yd||(Yd={}));const Jd={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Qd{constructor({xmlMode:e=!1,decodeEntities:t=!0},i){this.cbs=i,this.state=qd.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=qd.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.xmlMode=e,this.decodeEntities=t,this.entityDecoder=new Wd(e?Bd:Md,((e,t)=>this.emitCodePoint(e,t)))}reset(){this.state=qd.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=qd.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}stateText(e){e===Gd.Lt||!this.decodeEntities&&this.fastForwardTo(Gd.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=qd.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===Gd.Amp&&this.startEntity()}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?Zd(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=qd.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===Gd.Gt||Kd(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.isSpecial=!1,this.sectionStart=t+2,void this.stateInClosingTagName(e)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===Jd.TitleEnd?this.decodeEntities&&e===Gd.Amp&&this.startEntity():this.fastForwardTo(Gd.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===Gd.Lt)}stateCDATASequence(e){e===Jd.Cdata[this.sequenceIndex]?++this.sequenceIndex===Jd.Cdata.length&&(this.state=qd.InCommentLike,this.currentSequence=Jd.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=qd.InDeclaration,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Jd.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=qd.Text):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(e){return this.xmlMode?!Zd(e):function(e){return e>=Gd.LowerA&&e<=Gd.LowerZ||e>=Gd.UpperA&&e<=Gd.UpperZ}(e)}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=qd.SpecialStartSequence}stateBeforeTagName(e){if(e===Gd.ExclamationMark)this.state=qd.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===Gd.Questionmark)this.state=qd.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){const t=32|e;this.sectionStart=this.index,this.xmlMode?this.state=qd.InTagName:t===Jd.ScriptEnd[2]?this.state=qd.BeforeSpecialS:t===Jd.TitleEnd[2]?this.state=qd.BeforeSpecialT:this.state=qd.InTagName}else e===Gd.Slash?this.state=qd.BeforeClosingTagName:(this.state=qd.Text,this.stateText(e))}stateInTagName(e){Zd(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=qd.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){Kd(e)||(e===Gd.Gt?this.state=qd.Text:(this.state=this.isTagStartChar(e)?qd.InClosingTagName:qd.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===Gd.Gt||Kd(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=qd.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===Gd.Gt||this.fastForwardTo(Gd.Gt))&&(this.state=qd.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===Gd.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=qd.InSpecialTag,this.sequenceIndex=0):this.state=qd.Text,this.sectionStart=this.index+1):e===Gd.Slash?this.state=qd.InSelfClosingTag:Kd(e)||(this.state=qd.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===Gd.Gt?(this.cbs.onselfclosingtag(this.index),this.state=qd.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Kd(e)||(this.state=qd.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===Gd.Eq||Zd(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=qd.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===Gd.Eq?this.state=qd.BeforeAttributeValue:e===Gd.Slash||e===Gd.Gt?(this.cbs.onattribend(Yd.NoValue,this.sectionStart),this.sectionStart=-1,this.state=qd.BeforeAttributeName,this.stateBeforeAttributeName(e)):Kd(e)||(this.cbs.onattribend(Yd.NoValue,this.sectionStart),this.state=qd.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===Gd.DoubleQuote?(this.state=qd.InAttributeValueDq,this.sectionStart=this.index+1):e===Gd.SingleQuote?(this.state=qd.InAttributeValueSq,this.sectionStart=this.index+1):Kd(e)||(this.sectionStart=this.index,this.state=qd.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))}handleInAttributeValue(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===Gd.DoubleQuote?Yd.Double:Yd.Single,this.index+1),this.state=qd.BeforeAttributeName):this.decodeEntities&&e===Gd.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,Gd.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,Gd.SingleQuote)}stateInAttributeValueNoQuotes(e){Kd(e)||e===Gd.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(Yd.Unquoted,this.index),this.state=qd.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===Gd.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===Gd.OpeningSquareBracket?(this.state=qd.CDATASequence,this.sequenceIndex=0):this.state=e===Gd.Dash?qd.BeforeComment:qd.InDeclaration}stateInDeclaration(e){(e===Gd.Gt||this.fastForwardTo(Gd.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=qd.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===Gd.Gt||this.fastForwardTo(Gd.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=qd.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===Gd.Dash?(this.state=qd.InCommentLike,this.currentSequence=Jd.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=qd.InDeclaration}stateInSpecialComment(e){(e===Gd.Gt||this.fastForwardTo(Gd.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=qd.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){const t=32|e;t===Jd.ScriptEnd[3]?this.startSpecial(Jd.ScriptEnd,4):t===Jd.StyleEnd[3]?this.startSpecial(Jd.StyleEnd,4):(this.state=qd.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){const t=32|e;t===Jd.TitleEnd[3]?this.startSpecial(Jd.TitleEnd,4):t===Jd.TextareaEnd[3]?this.startSpecial(Jd.TextareaEnd,4):(this.state=qd.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=qd.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?Rd.Strict:this.baseState===qd.Text||this.baseState===qd.InSpecialTag?Rd.Legacy:Rd.Attribute)}stateInEntity(){const e=this.entityDecoder.write(this.buffer,this.index-this.offset);e>=0?(this.state=this.baseState,0===e&&(this.index=this.entityStart)):this.index=this.offset+this.buffer.length-1}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===qd.Text||this.state===qd.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==qd.InAttributeValueDq&&this.state!==qd.InAttributeValueSq&&this.state!==qd.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){const e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case qd.Text:this.stateText(e);break;case qd.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case qd.InSpecialTag:this.stateInSpecialTag(e);break;case qd.CDATASequence:this.stateCDATASequence(e);break;case qd.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case qd.InAttributeName:this.stateInAttributeName(e);break;case qd.InCommentLike:this.stateInCommentLike(e);break;case qd.InSpecialComment:this.stateInSpecialComment(e);break;case qd.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case qd.InTagName:this.stateInTagName(e);break;case qd.InClosingTagName:this.stateInClosingTagName(e);break;case qd.BeforeTagName:this.stateBeforeTagName(e);break;case qd.AfterAttributeName:this.stateAfterAttributeName(e);break;case qd.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case qd.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case qd.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case qd.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case qd.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case qd.BeforeSpecialT:this.stateBeforeSpecialT(e);break;case qd.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case qd.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case qd.InDeclaration:this.stateInDeclaration(e);break;case qd.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case qd.BeforeComment:this.stateBeforeComment(e);break;case qd.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case qd.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===qd.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===qd.InCommentLike?this.currentSequence===Jd.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===qd.InTagName||this.state===qd.BeforeAttributeName||this.state===qd.BeforeAttributeValue||this.state===qd.AfterAttributeName||this.state===qd.InAttributeName||this.state===qd.InAttributeValueSq||this.state===qd.InAttributeValueDq||this.state===qd.InAttributeValueNq||this.state===qd.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==qd.Text&&this.baseState!==qd.InSpecialTag?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(e)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(e,this.sectionStart))}}const Xd=new Set(["input","option","optgroup","select","button","datalist","textarea"]),ec=new Set(["p"]),tc=new Set(["thead","tbody"]),ic=new Set(["dd","dt"]),nc=new Set(["rt","rp"]),oc=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",ec],["h1",ec],["h2",ec],["h3",ec],["h4",ec],["h5",ec],["h6",ec],["select",Xd],["input",Xd],["output",Xd],["button",Xd],["datalist",Xd],["textarea",Xd],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",ic],["dt",ic],["address",ec],["article",ec],["aside",ec],["blockquote",ec],["details",ec],["div",ec],["dl",ec],["fieldset",ec],["figcaption",ec],["figure",ec],["footer",ec],["form",ec],["header",ec],["hr",ec],["main",ec],["nav",ec],["ol",ec],["pre",ec],["section",ec],["table",ec],["ul",ec],["rt",nc],["rp",nc],["tbody",tc],["tfoot",tc]]),sc=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),rc=new Set(["math","svg"]),ac=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),lc=/\s|\//;class dc{constructor(e,t={}){var i,n,o,s,r,a;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.htmlMode=!this.options.xmlMode,this.lowerCaseTagNames=null!==(i=t.lowerCaseTags)&&void 0!==i?i:this.htmlMode,this.lowerCaseAttributeNames=null!==(n=t.lowerCaseAttributeNames)&&void 0!==n?n:this.htmlMode,this.recognizeSelfClosing=null!==(o=t.recognizeSelfClosing)&&void 0!==o?o:!this.htmlMode,this.tokenizer=new(null!==(s=t.Tokenizer)&&void 0!==s?s:Qd)(this.options,this),this.foreignContext=[!this.htmlMode],null===(a=(r=this.cbs).onparserinit)||void 0===a||a.call(r,this)}ontext(e,t){var i,n;const o=this.getSlice(e,t);this.endIndex=t-1,null===(n=(i=this.cbs).ontext)||void 0===n||n.call(i,o),this.startIndex=t}ontextentity(e,t){var i,n;this.endIndex=t-1,null===(n=(i=this.cbs).ontext)||void 0===n||n.call(i,$d(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&sc.has(e)}onopentagname(e,t){this.endIndex=t;let i=this.getSlice(e,t);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)}emitOpenTag(e){var t,i,n,o;this.openTagStart=this.startIndex,this.tagname=e;const s=this.htmlMode&&oc.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[0]);){const e=this.stack.shift();null===(i=(t=this.cbs).onclosetag)||void 0===i||i.call(t,e,!0)}this.isVoidElement(e)||(this.stack.unshift(e),this.htmlMode&&(rc.has(e)?this.foreignContext.unshift(!0):ac.has(e)&&this.foreignContext.unshift(!1))),null===(o=(n=this.cbs).onopentagname)||void 0===o||o.call(n,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,i;this.startIndex=this.openTagStart,this.attribs&&(null===(i=(t=this.cbs).onopentag)||void 0===i||i.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1}onclosetag(e,t){var i,n,o,s,r,a,l,d;this.endIndex=t;let c=this.getSlice(e,t);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),this.htmlMode&&(rc.has(c)||ac.has(c))&&this.foreignContext.shift(),this.isVoidElement(c))this.htmlMode&&"br"===c&&(null===(s=(o=this.cbs).onopentagname)||void 0===s||s.call(o,"br"),null===(a=(r=this.cbs).onopentag)||void 0===a||a.call(r,"br",{},!0),null===(d=(l=this.cbs).onclosetag)||void 0===d||d.call(l,"br",!1));else{const e=this.stack.indexOf(c);if(-1!==e)for(let t=0;t<=e;t++){const o=this.stack.shift();null===(n=(i=this.cbs).onclosetag)||void 0===n||n.call(i,o,t!==e)}else this.htmlMode&&"p"===c&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1}onselfclosingtag(e){this.endIndex=e,this.recognizeSelfClosing||this.foreignContext[0]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)}closeCurrentTag(e){var t,i;const n=this.tagname;this.endOpenTag(e),this.stack[0]===n&&(null===(i=(t=this.cbs).onclosetag)||void 0===i||i.call(t,n,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;const i=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=$d(e)}onattribend(e,t){var i,n;this.endIndex=t,null===(n=(i=this.cbs).onattribute)||void 0===n||n.call(i,this.attribname,this.attribvalue,e===Yd.Double?'"':e===Yd.Single?"'":e===Yd.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){const t=e.search(lc);let i=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i}ondeclaration(e,t){this.endIndex=t;const i=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const e=this.getInstructionName(i);this.cbs.onprocessinginstruction(`!${e}`,`!${i}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;const i=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){const e=this.getInstructionName(i);this.cbs.onprocessinginstruction(`?${e}`,`?${i}`)}this.startIndex=t+1}oncomment(e,t,i){var n,o,s,r;this.endIndex=t,null===(o=(n=this.cbs).oncomment)||void 0===o||o.call(n,this.getSlice(e,t-i)),null===(r=(s=this.cbs).oncommentend)||void 0===r||r.call(s),this.startIndex=t+1}oncdata(e,t,i){var n,o,s,r,a,l,d,c,u,h;this.endIndex=t;const p=this.getSlice(e,t-i);!this.htmlMode||this.options.recognizeCDATA?(null===(o=(n=this.cbs).oncdatastart)||void 0===o||o.call(n),null===(r=(s=this.cbs).ontext)||void 0===r||r.call(s,p),null===(l=(a=this.cbs).oncdataend)||void 0===l||l.call(a)):(null===(c=(d=this.cbs).oncomment)||void 0===c||c.call(d,`[CDATA[${p}]]`),null===(h=(u=this.cbs).oncommentend)||void 0===h||h.call(u)),this.startIndex=t+1}onend(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let e=0;e<this.stack.length;e++)this.cbs.onclosetag(this.stack[e],!0)}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)}reset(){var e,t,i,n;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(n=(i=this.cbs).onparserinit)||void 0===n||n.call(i,this),this.buffers.length=0,this.foreignContext.length=0,this.foreignContext.unshift(!this.htmlMode),this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(e){this.reset(),this.end(e)}getSlice(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let i=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,t-this.bufferOffset);return i}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,i;this.ended?null===(i=(t=this.cbs).onerror)||void 0===i||i.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))}end(e){var t,i;this.ended?null===(i=(t=this.cbs).onerror)||void 0===i||i.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(e){this.write(e)}done(e){this.end(e)}}var cc;!function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(cc||(cc={}));cc.Root,cc.Text,cc.Directive,cc.Comment,cc.Script,cc.Style,cc.Tag,cc.CDATA,cc.Doctype;var uc,hc=new Uint16Array([7489,60,213,305,650,1181,1403,1488,1653,1758,1954,2006,2063,2634,2705,3489,3693,3849,3878,4298,4648,4833,5141,5277,5315,5343,5413,0,0,0,0,0,0,5483,5837,6541,7186,7645,8062,8288,8624,8845,9152,9211,9282,10276,10514,11528,11848,12238,12310,12986,13881,14252,14590,14888,14961,15072,15150,2048,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,92,98,102,109,115,127,132,139,144,149,152,166,179,185,200,207,108,105,103,32827,198,16582,80,32827,38,16422,99,117,116,101,32827,193,16577,114,101,118,101,59,16642,256,105,121,120,125,114,99,32827,194,16578,59,17424,114,59,49152,55349,56580,114,97,118,101,32827,192,16576,112,104,97,59,17297,97,99,114,59,16640,100,59,27219,256,103,112,157,161,111,110,59,16644,102,59,49152,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,24673,105,110,103,32827,197,16581,256,99,115,190,195,114,59,49152,55349,56476,105,103,110,59,25172,105,108,100,101,32827,195,16579,109,108,32827,196,16580,1024,97,99,101,102,111,114,115,117,229,251,254,279,284,290,295,298,256,99,114,234,242,107,115,108,97,115,104,59,25110,374,246,248,59,27367,101,100,59,25350,121,59,17425,384,99,114,116,261,267,276,97,117,115,101,59,25141,110,111,117,108,108,105,115,59,24876,97,59,17298,114,59,49152,55349,56581,112,102,59,49152,55349,56633,101,118,101,59,17112,99,242,275,109,112,101,113,59,25166,1792,72,79,97,99,100,101,102,104,105,108,111,114,115,117,333,337,342,384,414,418,437,439,442,476,533,627,632,638,99,121,59,17447,80,89,32827,169,16553,384,99,112,121,349,354,378,117,116,101,59,16646,256,59,105,359,360,25298,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,24901,108,101,121,115,59,24877,512,97,101,105,111,393,398,404,408,114,111,110,59,16652,100,105,108,32827,199,16583,114,99,59,16648,110,105,110,116,59,25136,111,116,59,16650,256,100,110,423,429,105,108,108,97,59,16568,116,101,114,68,111,116,59,16567,242,383,105,59,17319,114,99,108,101,512,68,77,80,84,455,459,465,470,111,116,59,25241,105,110,117,115,59,25238,108,117,115,59,25237,105,109,101,115,59,25239,111,256,99,115,482,504,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,25138,101,67,117,114,108,121,256,68,81,515,527,111,117,98,108,101,81,117,111,116,101,59,24605,117,111,116,101,59,24601,512,108,110,112,117,542,552,583,597,111,110,256,59,101,549,550,25143,59,27252,384,103,105,116,559,566,570,114,117,101,110,116,59,25185,110,116,59,25135,111,117,114,73,110,116,101,103,114,97,108,59,25134,256,102,114,588,590,59,24834,111,100,117,99,116,59,25104,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,25139,111,115,115,59,27183,99,114,59,49152,55349,56478,112,256,59,67,644,645,25299,97,112,59,25165,1408,68,74,83,90,97,99,101,102,105,111,115,672,684,688,692,696,715,727,737,742,819,1165,256,59,111,377,677,116,114,97,104,100,59,26897,99,121,59,17410,99,121,59,17413,99,121,59,17423,384,103,114,115,703,708,711,103,101,114,59,24609,114,59,24993,104,118,59,27364,256,97,121,720,725,114,111,110,59,16654,59,17428,108,256,59,116,733,734,25095,97,59,17300,114,59,49152,55349,56583,256,97,102,747,807,256,99,109,752,802,114,105,116,105,99,97,108,512,65,68,71,84,768,774,790,796,99,117,116,101,59,16564,111,372,779,781,59,17113,98,108,101,65,99,117,116,101,59,17117,114,97,118,101,59,16480,105,108,100,101,59,17116,111,110,100,59,25284,102,101,114,101,110,116,105,97,108,68,59,24902,1136,829,0,0,0,834,852,0,1029,102,59,49152,55349,56635,384,59,68,69,840,841,845,16552,111,116,59,24796,113,117,97,108,59,25168,98,108,101,768,67,68,76,82,85,86,867,882,898,975,994,1016,111,110,116,111,117,114,73,110,116,101,103,114,97,236,569,111,628,889,0,0,891,187,841,110,65,114,114,111,119,59,25043,256,101,111,903,932,102,116,384,65,82,84,912,918,929,114,114,111,119,59,25040,105,103,104,116,65,114,114,111,119,59,25044,101,229,714,110,103,256,76,82,939,964,101,102,116,256,65,82,947,953,114,114,111,119,59,26616,105,103,104,116,65,114,114,111,119,59,26618,105,103,104,116,65,114,114,111,119,59,26617,105,103,104,116,256,65,84,984,990,114,114,111,119,59,25042,101,101,59,25256,112,577,1001,0,0,1007,114,114,111,119,59,25041,111,119,110,65,114,114,111,119,59,25045,101,114,116,105,99,97,108,66,97,114,59,25125,110,768,65,66,76,82,84,97,1042,1066,1072,1118,1151,892,114,114,111,119,384,59,66,85,1053,1054,1058,24979,97,114,59,26899,112,65,114,114,111,119,59,25077,114,101,118,101,59,17169,101,102,116,722,1082,0,1094,0,1104,105,103,104,116,86,101,99,116,111,114,59,26960,101,101,86,101,99,116,111,114,59,26974,101,99,116,111,114,256,59,66,1113,1114,25021,97,114,59,26966,105,103,104,116,468,1127,0,1137,101,101,86,101,99,116,111,114,59,26975,101,99,116,111,114,256,59,66,1146,1147,25025,97,114,59,26967,101,101,256,59,65,1158,1159,25252,114,114,111,119,59,24999,256,99,116,1170,1175,114,59,49152,55349,56479,114,111,107,59,16656,2048,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1213,1216,1220,1227,1246,1250,1255,1262,1269,1313,1327,1334,1362,1373,1376,1381,71,59,16714,72,32827,208,16592,99,117,116,101,32827,201,16585,384,97,105,121,1234,1239,1244,114,111,110,59,16666,114,99,32827,202,16586,59,17453,111,116,59,16662,114,59,49152,55349,56584,114,97,118,101,32827,200,16584,101,109,101,110,116,59,25096,256,97,112,1274,1278,99,114,59,16658,116,121,595,1286,0,0,1298,109,97,108,108,83,113,117,97,114,101,59,26107,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,26027,256,103,112,1318,1322,111,110,59,16664,102,59,49152,55349,56636,115,105,108,111,110,59,17301,117,256,97,105,1340,1353,108,256,59,84,1346,1347,27253,105,108,100,101,59,25154,108,105,98,114,105,117,109,59,25036,256,99,105,1367,1370,114,59,24880,109,59,27251,97,59,17303,109,108,32827,203,16587,256,105,112,1386,1391,115,116,115,59,25091,111,110,101,110,116,105,97,108,69,59,24903,640,99,102,105,111,115,1413,1416,1421,1458,1484,121,59,17444,114,59,49152,55349,56585,108,108,101,100,595,1431,0,0,1443,109,97,108,108,83,113,117,97,114,101,59,26108,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,26026,880,1466,0,1471,0,0,1476,102,59,49152,55349,56637,65,108,108,59,25088,114,105,101,114,116,114,102,59,24881,99,242,1483,1536,74,84,97,98,99,100,102,103,111,114,115,116,1512,1516,1519,1530,1536,1554,1558,1563,1565,1571,1644,1650,99,121,59,17411,32827,62,16446,109,109,97,256,59,100,1527,1528,17299,59,17372,114,101,118,101,59,16670,384,101,105,121,1543,1548,1552,100,105,108,59,16674,114,99,59,16668,59,17427,111,116,59,16672,114,59,49152,55349,56586,59,25305,112,102,59,49152,55349,56638,101,97,116,101,114,768,69,70,71,76,83,84,1589,1604,1614,1622,1627,1638,113,117,97,108,256,59,76,1598,1599,25189,101,115,115,59,25307,117,108,108,69,113,117,97,108,59,25191,114,101,97,116,101,114,59,27298,101,115,115,59,25207,108,97,110,116,69,113,117,97,108,59,27262,105,108,100,101,59,25203,99,114,59,49152,55349,56482,59,25195,1024,65,97,99,102,105,111,115,117,1669,1675,1686,1691,1694,1706,1726,1738,82,68,99,121,59,17450,256,99,116,1680,1684,101,107,59,17095,59,16478,105,114,99,59,16676,114,59,24844,108,98,101,114,116,83,112,97,99,101,59,24843,496,1711,0,1714,102,59,24845,105,122,111,110,116,97,108,76,105,110,101,59,25856,256,99,116,1731,1733,242,1705,114,111,107,59,16678,109,112,324,1744,1752,111,119,110,72,117,109,240,303,113,117,97,108,59,25167,1792,69,74,79,97,99,100,102,103,109,110,111,115,116,117,1786,1790,1795,1799,1806,1818,1822,1825,1832,1860,1912,1931,1935,1941,99,121,59,17429,108,105,103,59,16690,99,121,59,17409,99,117,116,101,32827,205,16589,256,105,121,1811,1816,114,99,32827,206,16590,59,17432,111,116,59,16688,114,59,24849,114,97,118,101,32827,204,16588,384,59,97,112,1824,1839,1855,256,99,103,1844,1847,114,59,16682,105,110,97,114,121,73,59,24904,108,105,101,243,989,500,1865,0,1890,256,59,101,1869,1870,25132,256,103,114,1875,1880,114,97,108,59,25131,115,101,99,116,105,111,110,59,25282,105,115,105,98,108,101,256,67,84,1900,1906,111,109,109,97,59,24675,105,109,101,115,59,24674,384,103,112,116,1919,1923,1928,111,110,59,16686,102,59,49152,55349,56640,97,59,17305,99,114,59,24848,105,108,100,101,59,16680,491,1946,0,1950,99,121,59,17414,108,32827,207,16591,640,99,102,111,115,117,1964,1975,1980,1986,2e3,256,105,121,1969,1973,114,99,59,16692,59,17433,114,59,49152,55349,56589,112,102,59,49152,55349,56641,483,1991,0,1996,114,59,49152,55349,56485,114,99,121,59,17416,107,99,121,59,17412,896,72,74,97,99,102,111,115,2020,2024,2028,2033,2045,2050,2056,99,121,59,17445,99,121,59,17420,112,112,97,59,17306,256,101,121,2038,2043,100,105,108,59,16694,59,17434,114,59,49152,55349,56590,112,102,59,49152,55349,56642,99,114,59,49152,55349,56486,1408,74,84,97,99,101,102,108,109,111,115,116,2085,2089,2092,2128,2147,2483,2488,2503,2509,2615,2631,99,121,59,17417,32827,60,16444,640,99,109,110,112,114,2103,2108,2113,2116,2125,117,116,101,59,16697,98,100,97,59,17307,103,59,26602,108,97,99,101,116,114,102,59,24850,114,59,24990,384,97,101,121,2135,2140,2145,114,111,110,59,16701,100,105,108,59,16699,59,17435,256,102,115,2152,2416,116,1280,65,67,68,70,82,84,85,86,97,114,2174,2217,2225,2272,2278,2300,2351,2395,912,2410,256,110,114,2179,2191,103,108,101,66,114,97,99,107,101,116,59,26600,114,111,119,384,59,66,82,2201,2202,2206,24976,97,114,59,25060,105,103,104,116,65,114,114,111,119,59,25030,101,105,108,105,110,103,59,25352,111,501,2231,0,2243,98,108,101,66,114,97,99,107,101,116,59,26598,110,468,2248,0,2258,101,101,86,101,99,116,111,114,59,26977,101,99,116,111,114,256,59,66,2267,2268,25027,97,114,59,26969,108,111,111,114,59,25354,105,103,104,116,256,65,86,2287,2293,114,114,111,119,59,24980,101,99,116,111,114,59,26958,256,101,114,2305,2327,101,384,59,65,86,2313,2314,2320,25251,114,114,111,119,59,24996,101,99,116,111,114,59,26970,105,97,110,103,108,101,384,59,66,69,2340,2341,2345,25266,97,114,59,27087,113,117,97,108,59,25268,112,384,68,84,86,2359,2370,2380,111,119,110,86,101,99,116,111,114,59,26961,101,101,86,101,99,116,111,114,59,26976,101,99,116,111,114,256,59,66,2390,2391,25023,97,114,59,26968,101,99,116,111,114,256,59,66,2405,2406,25020,97,114,59,26962,105,103,104,116,225,924,115,768,69,70,71,76,83,84,2430,2443,2453,2461,2466,2477,113,117,97,108,71,114,101,97,116,101,114,59,25306,117,108,108,69,113,117,97,108,59,25190,114,101,97,116,101,114,59,25206,101,115,115,59,27297,108,97,110,116,69,113,117,97,108,59,27261,105,108,100,101,59,25202,114,59,49152,55349,56591,256,59,101,2493,2494,25304,102,116,97,114,114,111,119,59,25050,105,100,111,116,59,16703,384,110,112,119,2516,2582,2587,103,512,76,82,108,114,2526,2551,2562,2576,101,102,116,256,65,82,2534,2540,114,114,111,119,59,26613,105,103,104,116,65,114,114,111,119,59,26615,105,103,104,116,65,114,114,111,119,59,26614,101,102,116,256,97,114,947,2570,105,103,104,116,225,959,105,103,104,116,225,970,102,59,49152,55349,56643,101,114,256,76,82,2594,2604,101,102,116,65,114,114,111,119,59,24985,105,103,104,116,65,114,114,111,119,59,24984,384,99,104,116,2622,2624,2626,242,2124,59,25008,114,111,107,59,16705,59,25194,1024,97,99,101,102,105,111,115,117,2650,2653,2656,2679,2684,2693,2699,2702,112,59,26885,121,59,17436,256,100,108,2661,2671,105,117,109,83,112,97,99,101,59,24671,108,105,110,116,114,102,59,24883,114,59,49152,55349,56592,110,117,115,80,108,117,115,59,25107,112,102,59,49152,55349,56644,99,242,2678,59,17308,1152,74,97,99,101,102,111,115,116,117,2723,2727,2733,2752,2836,2841,3473,3479,3486,99,121,59,17418,99,117,116,101,59,16707,384,97,101,121,2740,2745,2750,114,111,110,59,16711,100,105,108,59,16709,59,17437,384,103,115,119,2759,2800,2830,97,116,105,118,101,384,77,84,86,2771,2783,2792,101,100,105,117,109,83,112,97,99,101,59,24587,104,105,256,99,110,2790,2776,235,2777,101,114,121,84,104,105,238,2777,116,101,100,256,71,76,2808,2822,114,101,97,116,101,114,71,114,101,97,116,101,242,1651,101,115,115,76,101,115,243,2632,76,105,110,101,59,16394,114,59,49152,55349,56593,512,66,110,112,116,2850,2856,2871,2874,114,101,97,107,59,24672,66,114,101,97,107,105,110,103,83,112,97,99,101,59,16544,102,59,24853,1664,59,67,68,69,71,72,76,78,80,82,83,84,86,2901,2902,2922,2940,2977,3051,3076,3166,3204,3238,3288,3425,3461,27372,256,111,117,2907,2916,110,103,114,117,101,110,116,59,25186,112,67,97,112,59,25197,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,25126,384,108,113,120,2947,2954,2971,101,109,101,110,116,59,25097,117,97,108,256,59,84,2962,2963,25184,105,108,100,101,59,49152,8770,824,105,115,116,115,59,25092,114,101,97,116,101,114,896,59,69,70,71,76,83,84,2998,2999,3005,3017,3027,3032,3045,25199,113,117,97,108,59,25201,117,108,108,69,113,117,97,108,59,49152,8807,824,114,101,97,116,101,114,59,49152,8811,824,101,115,115,59,25209,108,97,110,116,69,113,117,97,108,59,49152,10878,824,105,108,100,101,59,25205,117,109,112,324,3058,3069,111,119,110,72,117,109,112,59,49152,8782,824,113,117,97,108,59,49152,8783,824,101,256,102,115,3082,3111,116,84,114,105,97,110,103,108,101,384,59,66,69,3098,3099,3105,25322,97,114,59,49152,10703,824,113,117,97,108,59,25324,115,768,59,69,71,76,83,84,3125,3126,3132,3140,3147,3160,25198,113,117,97,108,59,25200,114,101,97,116,101,114,59,25208,101,115,115,59,49152,8810,824,108,97,110,116,69,113,117,97,108,59,49152,10877,824,105,108,100,101,59,25204,101,115,116,101,100,256,71,76,3176,3193,114,101,97,116,101,114,71,114,101,97,116,101,114,59,49152,10914,824,101,115,115,76,101,115,115,59,49152,10913,824,114,101,99,101,100,101,115,384,59,69,83,3218,3219,3227,25216,113,117,97,108,59,49152,10927,824,108,97,110,116,69,113,117,97,108,59,25312,256,101,105,3243,3257,118,101,114,115,101,69,108,101,109,101,110,116,59,25100,103,104,116,84,114,105,97,110,103,108,101,384,59,66,69,3275,3276,3282,25323,97,114,59,49152,10704,824,113,117,97,108,59,25325,256,113,117,3293,3340,117,97,114,101,83,117,256,98,112,3304,3321,115,101,116,256,59,69,3312,3315,49152,8847,824,113,117,97,108,59,25314,101,114,115,101,116,256,59,69,3331,3334,49152,8848,824,113,117,97,108,59,25315,384,98,99,112,3347,3364,3406,115,101,116,256,59,69,3355,3358,49152,8834,8402,113,117,97,108,59,25224,99,101,101,100,115,512,59,69,83,84,3378,3379,3387,3398,25217,113,117,97,108,59,49152,10928,824,108,97,110,116,69,113,117,97,108,59,25313,105,108,100,101,59,49152,8831,824,101,114,115,101,116,256,59,69,3416,3419,49152,8835,8402,113,117,97,108,59,25225,105,108,100,101,512,59,69,70,84,3438,3439,3445,3455,25153,113,117,97,108,59,25156,117,108,108,69,113,117,97,108,59,25159,105,108,100,101,59,25161,101,114,116,105,99,97,108,66,97,114,59,25124,99,114,59,49152,55349,56489,105,108,100,101,32827,209,16593,59,17309,1792,69,97,99,100,102,103,109,111,112,114,115,116,117,118,3517,3522,3529,3541,3547,3552,3559,3580,3586,3616,3618,3634,3647,3652,108,105,103,59,16722,99,117,116,101,32827,211,16595,256,105,121,3534,3539,114,99,32827,212,16596,59,17438,98,108,97,99,59,16720,114,59,49152,55349,56594,114,97,118,101,32827,210,16594,384,97,101,105,3566,3570,3574,99,114,59,16716,103,97,59,17321,99,114,111,110,59,17311,112,102,59,49152,55349,56646,101,110,67,117,114,108,121,256,68,81,3598,3610,111,117,98,108,101,81,117,111,116,101,59,24604,117,111,116,101,59,24600,59,27220,256,99,108,3623,3628,114,59,49152,55349,56490,97,115,104,32827,216,16600,105,364,3639,3644,100,101,32827,213,16597,101,115,59,27191,109,108,32827,214,16598,101,114,256,66,80,3659,3680,256,97,114,3664,3667,114,59,24638,97,99,256,101,107,3674,3676,59,25566,101,116,59,25524,97,114,101,110,116,104,101,115,105,115,59,25564,1152,97,99,102,104,105,108,111,114,115,3711,3719,3722,3727,3730,3732,3741,3760,3836,114,116,105,97,108,68,59,25090,121,59,17439,114,59,49152,55349,56595,105,59,17318,59,17312,117,115,77,105,110,117,115,59,16561,256,105,112,3746,3757,110,99,97,114,101,112,108,97,110,229,1693,102,59,24857,512,59,101,105,111,3769,3770,3808,3812,27323,99,101,100,101,115,512,59,69,83,84,3784,3785,3791,3802,25210,113,117,97,108,59,27311,108,97,110,116,69,113,117,97,108,59,25212,105,108,100,101,59,25214,109,101,59,24627,256,100,112,3817,3822,117,99,116,59,25103,111,114,116,105,111,110,256,59,97,549,3833,108,59,25117,256,99,105,3841,3846,114,59,49152,55349,56491,59,17320,512,85,102,111,115,3857,3862,3867,3871,79,84,32827,34,16418,114,59,49152,55349,56596,112,102,59,24858,99,114,59,49152,55349,56492,1536,66,69,97,99,101,102,104,105,111,114,115,117,3902,3907,3911,3936,3955,4007,4010,4013,4246,4265,4276,4286,97,114,114,59,26896,71,32827,174,16558,384,99,110,114,3918,3923,3926,117,116,101,59,16724,103,59,26603,114,256,59,116,3932,3933,24992,108,59,26902,384,97,101,121,3943,3948,3953,114,111,110,59,16728,100,105,108,59,16726,59,17440,256,59,118,3960,3961,24860,101,114,115,101,256,69,85,3970,3993,256,108,113,3975,3982,101,109,101,110,116,59,25099,117,105,108,105,98,114,105,117,109,59,25035,112,69,113,117,105,108,105,98,114,105,117,109,59,26991,114,187,3961,111,59,17313,103,104,116,1024,65,67,68,70,84,85,86,97,4033,4075,4083,4130,4136,4187,4231,984,256,110,114,4038,4050,103,108,101,66,114,97,99,107,101,116,59,26601,114,111,119,384,59,66,76,4060,4061,4065,24978,97,114,59,25061,101,102,116,65,114,114,111,119,59,25028,101,105,108,105,110,103,59,25353,111,501,4089,0,4101,98,108,101,66,114,97,99,107,101,116,59,26599,110,468,4106,0,4116,101,101,86,101,99,116,111,114,59,26973,101,99,116,111,114,256,59,66,4125,4126,25026,97,114,59,26965,108,111,111,114,59,25355,256,101,114,4141,4163,101,384,59,65,86,4149,4150,4156,25250,114,114,111,119,59,24998,101,99,116,111,114,59,26971,105,97,110,103,108,101,384,59,66,69,4176,4177,4181,25267,97,114,59,27088,113,117,97,108,59,25269,112,384,68,84,86,4195,4206,4216,111,119,110,86,101,99,116,111,114,59,26959,101,101,86,101,99,116,111,114,59,26972,101,99,116,111,114,256,59,66,4226,4227,25022,97,114,59,26964,101,99,116,111,114,256,59,66,4241,4242,25024,97,114,59,26963,256,112,117,4251,4254,102,59,24861,110,100,73,109,112,108,105,101,115,59,26992,105,103,104,116,97,114,114,111,119,59,25051,256,99,104,4281,4284,114,59,24859,59,25009,108,101,68,101,108,97,121,101,100,59,27124,1664,72,79,97,99,102,104,105,109,111,113,115,116,117,4324,4337,4343,4349,4377,4382,4433,4438,4449,4455,4533,4539,4543,256,67,99,4329,4334,72,99,121,59,17449,121,59,17448,70,84,99,121,59,17452,99,117,116,101,59,16730,640,59,97,101,105,121,4360,4361,4366,4371,4375,27324,114,111,110,59,16736,100,105,108,59,16734,114,99,59,16732,59,17441,114,59,49152,55349,56598,111,114,116,512,68,76,82,85,4394,4404,4414,4425,111,119,110,65,114,114,111,119,187,1054,101,102,116,65,114,114,111,119,187,2202,105,103,104,116,65,114,114,111,119,187,4061,112,65,114,114,111,119,59,24977,103,109,97,59,17315,97,108,108,67,105,114,99,108,101,59,25112,112,102,59,49152,55349,56650,626,4461,0,0,4464,116,59,25114,97,114,101,512,59,73,83,85,4475,4476,4489,4527,26017,110,116,101,114,115,101,99,116,105,111,110,59,25235,117,256,98,112,4495,4510,115,101,116,256,59,69,4503,4504,25231,113,117,97,108,59,25233,101,114,115,101,116,256,59,69,4520,4521,25232,113,117,97,108,59,25234,110,105,111,110,59,25236,99,114,59,49152,55349,56494,97,114,59,25286,512,98,99,109,112,4552,4571,4617,4619,256,59,115,4557,4558,25296,101,116,256,59,69,4557,4565,113,117,97,108,59,25222,256,99,104,4576,4613,101,101,100,115,512,59,69,83,84,4589,4590,4596,4607,25211,113,117,97,108,59,27312,108,97,110,116,69,113,117,97,108,59,25213,105,108,100,101,59,25215,84,104,225,3980,59,25105,384,59,101,115,4626,4627,4643,25297,114,115,101,116,256,59,69,4636,4637,25219,113,117,97,108,59,25223,101,116,187,4627,1408,72,82,83,97,99,102,104,105,111,114,115,4670,4676,4681,4693,4702,4721,4726,4767,4802,4808,4817,79,82,78,32827,222,16606,65,68,69,59,24866,256,72,99,4686,4690,99,121,59,17419,121,59,17446,256,98,117,4698,4700,59,16393,59,17316,384,97,101,121,4709,4714,4719,114,111,110,59,16740,100,105,108,59,16738,59,17442,114,59,49152,55349,56599,256,101,105,4731,4745,498,4736,0,4743,101,102,111,114,101,59,25140,97,59,17304,256,99,110,4750,4760,107,83,112,97,99,101,59,49152,8287,8202,83,112,97,99,101,59,24585,108,100,101,512,59,69,70,84,4779,4780,4786,4796,25148,113,117,97,108,59,25155,117,108,108,69,113,117,97,108,59,25157,105,108,100,101,59,25160,112,102,59,49152,55349,56651,105,112,108,101,68,111,116,59,24795,256,99,116,4822,4827,114,59,49152,55349,56495,114,111,107,59,16742,2785,4855,4878,4890,4902,0,4908,4913,0,0,0,0,0,4920,4925,4983,4997,0,5119,5124,5130,5136,256,99,114,4859,4865,117,116,101,32827,218,16602,114,256,59,111,4871,4872,24991,99,105,114,59,26953,114,483,4883,0,4886,121,59,17422,118,101,59,16748,256,105,121,4894,4899,114,99,32827,219,16603,59,17443,98,108,97,99,59,16752,114,59,49152,55349,56600,114,97,118,101,32827,217,16601,97,99,114,59,16746,256,100,105,4929,4969,101,114,256,66,80,4936,4957,256,97,114,4941,4944,114,59,16479,97,99,256,101,107,4951,4953,59,25567,101,116,59,25525,97,114,101,110,116,104,101,115,105,115,59,25565,111,110,256,59,80,4976,4977,25283,108,117,115,59,25230,256,103,112,4987,4991,111,110,59,16754,102,59,49152,55349,56652,1024,65,68,69,84,97,100,112,115,5013,5038,5048,5060,1e3,5074,5079,5107,114,114,111,119,384,59,66,68,4432,5024,5028,97,114,59,26898,111,119,110,65,114,114,111,119,59,25029,111,119,110,65,114,114,111,119,59,24981,113,117,105,108,105,98,114,105,117,109,59,26990,101,101,256,59,65,5067,5068,25253,114,114,111,119,59,24997,111,119,110,225,1011,101,114,256,76,82,5086,5096,101,102,116,65,114,114,111,119,59,24982,105,103,104,116,65,114,114,111,119,59,24983,105,256,59,108,5113,5114,17362,111,110,59,17317,105,110,103,59,16750,99,114,59,49152,55349,56496,105,108,100,101,59,16744,109,108,32827,220,16604,1152,68,98,99,100,101,102,111,115,118,5159,5164,5168,5171,5182,5253,5258,5264,5270,97,115,104,59,25259,97,114,59,27371,121,59,17426,97,115,104,256,59,108,5179,5180,25257,59,27366,256,101,114,5187,5189,59,25281,384,98,116,121,5196,5200,5242,97,114,59,24598,256,59,105,5199,5205,99,97,108,512,66,76,83,84,5217,5221,5226,5236,97,114,59,25123,105,110,101,59,16508,101,112,97,114,97,116,111,114,59,26456,105,108,100,101,59,25152,84,104,105,110,83,112,97,99,101,59,24586,114,59,49152,55349,56601,112,102,59,49152,55349,56653,99,114,59,49152,55349,56497,100,97,115,104,59,25258,640,99,101,102,111,115,5287,5292,5297,5302,5308,105,114,99,59,16756,100,103,101,59,25280,114,59,49152,55349,56602,112,102,59,49152,55349,56654,99,114,59,49152,55349,56498,512,102,105,111,115,5323,5328,5330,5336,114,59,49152,55349,56603,59,17310,112,102,59,49152,55349,56655,99,114,59,49152,55349,56499,1152,65,73,85,97,99,102,111,115,117,5361,5365,5369,5373,5380,5391,5396,5402,5408,99,121,59,17455,99,121,59,17415,99,121,59,17454,99,117,116,101,32827,221,16605,256,105,121,5385,5389,114,99,59,16758,59,17451,114,59,49152,55349,56604,112,102,59,49152,55349,56656,99,114,59,49152,55349,56500,109,108,59,16760,1024,72,97,99,100,101,102,111,115,5429,5433,5439,5451,5455,5469,5472,5476,99,121,59,17430,99,117,116,101,59,16761,256,97,121,5444,5449,114,111,110,59,16765,59,17431,111,116,59,16763,498,5460,0,5467,111,87,105,100,116,232,2777,97,59,17302,114,59,24872,112,102,59,24868,99,114,59,49152,55349,56501,3041,5507,5514,5520,0,5552,5558,5567,0,0,0,0,5574,5595,5611,5727,5741,0,5781,5787,5810,5817,0,5822,99,117,116,101,32827,225,16609,114,101,118,101,59,16643,768,59,69,100,105,117,121,5532,5533,5537,5539,5544,5549,25150,59,49152,8766,819,59,25151,114,99,32827,226,16610,116,101,32955,180,774,59,17456,108,105,103,32827,230,16614,256,59,114,178,5562,59,49152,55349,56606,114,97,118,101,32827,224,16608,256,101,112,5578,5590,256,102,112,5583,5588,115,121,109,59,24885,232,5587,104,97,59,17329,256,97,112,5599,99,256,99,108,5604,5607,114,59,16641,103,59,27199,612,5616,0,0,5642,640,59,97,100,115,118,5626,5627,5631,5633,5639,25127,110,100,59,27221,59,27228,108,111,112,101,59,27224,59,27226,896,59,101,108,109,114,115,122,5656,5657,5659,5662,5695,5711,5721,25120,59,27044,101,187,5657,115,100,256,59,97,5669,5670,25121,1121,5680,5682,5684,5686,5688,5690,5692,5694,59,27048,59,27049,59,27050,59,27051,59,27052,59,27053,59,27054,59,27055,116,256,59,118,5701,5702,25119,98,256,59,100,5708,5709,25278,59,27037,256,112,116,5716,5719,104,59,25122,187,185,97,114,114,59,25468,256,103,112,5731,5735,111,110,59,16645,102,59,49152,55349,56658,896,59,69,97,101,105,111,112,4801,5755,5757,5762,5764,5767,5770,59,27248,99,105,114,59,27247,59,25162,100,59,25163,115,59,16423,114,111,120,256,59,101,4801,5778,241,5763,105,110,103,32827,229,16613,384,99,116,121,5793,5798,5800,114,59,49152,55349,56502,59,16426,109,112,256,59,101,4801,5807,241,648,105,108,100,101,32827,227,16611,109,108,32827,228,16612,256,99,105,5826,5832,111,110,105,110,244,626,110,116,59,27153,2048,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,5869,5873,5936,5948,5955,5960,6008,6013,6112,6118,6201,6224,5901,6461,6472,6512,111,116,59,27373,256,99,114,5878,5918,107,512,99,101,112,115,5888,5893,5901,5907,111,110,103,59,25164,112,115,105,108,111,110,59,17398,114,105,109,101,59,24629,105,109,256,59,101,5914,5915,25149,113,59,25293,374,5922,5926,101,101,59,25277,101,100,256,59,103,5932,5933,25349,101,187,5933,114,107,256,59,116,4956,5943,98,114,107,59,25526,256,111,121,5889,5953,59,17457,113,117,111,59,24606,640,99,109,112,114,116,5971,5979,5985,5988,5992,97,117,115,256,59,101,266,265,112,116,121,118,59,27056,115,233,5900,110,111,245,275,384,97,104,119,5999,6001,6003,59,17330,59,24886,101,101,110,59,25196,114,59,49152,55349,56607,103,896,99,111,115,116,117,118,119,6029,6045,6067,6081,6101,6107,6110,384,97,105,117,6036,6038,6042,240,1888,114,99,59,26095,112,187,4977,384,100,112,116,6052,6056,6061,111,116,59,27136,108,117,115,59,27137,105,109,101,115,59,27138,625,6073,0,0,6078,99,117,112,59,27142,97,114,59,26117,114,105,97,110,103,108,101,256,100,117,6093,6098,111,119,110,59,26045,112,59,26035,112,108,117,115,59,27140,101,229,5188,229,5293,97,114,111,119,59,26893,384,97,107,111,6125,6182,6197,256,99,110,6130,6179,107,384,108,115,116,6138,1451,6146,111,122,101,110,103,101,59,27115,114,105,97,110,103,108,101,512,59,100,108,114,6162,6163,6168,6173,26036,111,119,110,59,26046,101,102,116,59,26050,105,103,104,116,59,26040,107,59,25635,433,6187,0,6195,434,6191,0,6193,59,26002,59,26001,52,59,26003,99,107,59,25992,256,101,111,6206,6221,256,59,113,6211,6214,49152,61,8421,117,105,118,59,49152,8801,8421,116,59,25360,512,112,116,119,120,6233,6238,6247,6252,102,59,49152,55349,56659,256,59,116,5067,6243,111,109,187,5068,116,105,101,59,25288,1536,68,72,85,86,98,100,104,109,112,116,117,118,6277,6294,6314,6331,6359,6363,6380,6399,6405,6410,6416,6433,512,76,82,108,114,6286,6288,6290,6292,59,25943,59,25940,59,25942,59,25939,640,59,68,85,100,117,6305,6306,6308,6310,6312,25936,59,25958,59,25961,59,25956,59,25959,512,76,82,108,114,6323,6325,6327,6329,59,25949,59,25946,59,25948,59,25945,896,59,72,76,82,104,108,114,6346,6347,6349,6351,6353,6355,6357,25937,59,25964,59,25955,59,25952,59,25963,59,25954,59,25951,111,120,59,27081,512,76,82,108,114,6372,6374,6376,6378,59,25941,59,25938,59,25872,59,25868,640,59,68,85,100,117,1725,6391,6393,6395,6397,59,25957,59,25960,59,25900,59,25908,105,110,117,115,59,25247,108,117,115,59,25246,105,109,101,115,59,25248,512,76,82,108,114,6425,6427,6429,6431,59,25947,59,25944,59,25880,59,25876,896,59,72,76,82,104,108,114,6448,6449,6451,6453,6455,6457,6459,25858,59,25962,59,25953,59,25950,59,25916,59,25892,59,25884,256,101,118,291,6466,98,97,114,32827,166,16550,512,99,101,105,111,6481,6486,6490,6496,114,59,49152,55349,56503,109,105,59,24655,109,256,59,101,5914,5916,108,384,59,98,104,6504,6505,6507,16476,59,27077,115,117,98,59,26568,364,6516,6526,108,256,59,101,6521,6522,24610,116,187,6522,112,384,59,69,101,303,6533,6535,59,27310,256,59,113,1756,1755,3297,6567,0,6632,6673,6677,6706,0,6711,6736,0,0,6836,0,0,6849,0,0,6945,6958,6989,6994,0,7165,0,7180,384,99,112,114,6573,6578,6621,117,116,101,59,16647,768,59,97,98,99,100,115,6591,6592,6596,6602,6613,6617,25129,110,100,59,27204,114,99,117,112,59,27209,256,97,117,6607,6610,112,59,27211,112,59,27207,111,116,59,27200,59,49152,8745,65024,256,101,111,6626,6629,116,59,24641,238,1683,512,97,101,105,117,6640,6651,6657,6661,496,6645,0,6648,115,59,27213,111,110,59,16653,100,105,108,32827,231,16615,114,99,59,16649,112,115,256,59,115,6668,6669,27212,109,59,27216,111,116,59,16651,384,100,109,110,6683,6688,6694,105,108,32955,184,429,112,116,121,118,59,27058,116,33024,162,59,101,6701,6702,16546,114,228,434,114,59,49152,55349,56608,384,99,101,105,6717,6720,6733,121,59,17479,99,107,256,59,109,6727,6728,26387,97,114,107,187,6728,59,17351,114,896,59,69,99,101,102,109,115,6751,6752,6754,6763,6820,6826,6830,26059,59,27075,384,59,101,108,6761,6762,6765,17094,113,59,25175,101,609,6772,0,0,6792,114,114,111,119,256,108,114,6780,6785,101,102,116,59,25018,105,103,104,116,59,25019,640,82,83,97,99,100,6802,6804,6806,6810,6815,187,3911,59,25800,115,116,59,25243,105,114,99,59,25242,97,115,104,59,25245,110,105,110,116,59,27152,105,100,59,27375,99,105,114,59,27074,117,98,115,256,59,117,6843,6844,26211,105,116,187,6844,748,6855,6868,6906,0,6922,111,110,256,59,101,6861,6862,16442,256,59,113,199,198,621,6873,0,0,6882,97,256,59,116,6878,6879,16428,59,16448,384,59,102,108,6888,6889,6891,25089,238,4448,101,256,109,120,6897,6902,101,110,116,187,6889,101,243,589,487,6910,0,6919,256,59,100,4795,6914,111,116,59,27245,110,244,582,384,102,114,121,6928,6932,6935,59,49152,55349,56660,111,228,596,33024,169,59,115,341,6941,114,59,24855,256,97,111,6949,6953,114,114,59,25013,115,115,59,26391,256,99,117,6962,6967,114,59,49152,55349,56504,256,98,112,6972,6980,256,59,101,6977,6978,27343,59,27345,256,59,101,6985,6986,27344,59,27346,100,111,116,59,25327,896,100,101,108,112,114,118,119,7008,7020,7031,7042,7084,7124,7161,97,114,114,256,108,114,7016,7018,59,26936,59,26933,624,7026,0,0,7029,114,59,25310,99,59,25311,97,114,114,256,59,112,7039,7040,25014,59,26941,768,59,98,99,100,111,115,7055,7056,7062,7073,7077,7080,25130,114,99,97,112,59,27208,256,97,117,7067,7070,112,59,27206,112,59,27210,111,116,59,25229,114,59,27205,59,49152,8746,65024,512,97,108,114,118,7093,7103,7134,7139,114,114,256,59,109,7100,7101,25015,59,26940,121,384,101,118,119,7111,7124,7128,113,624,7118,0,0,7122,114,101,227,7027,117,227,7029,101,101,59,25294,101,100,103,101,59,25295,101,110,32827,164,16548,101,97,114,114,111,119,256,108,114,7150,7155,101,102,116,187,7040,105,103,104,116,187,7101,101,228,7133,256,99,105,7169,7175,111,110,105,110,244,503,110,116,59,25137,108,99,116,121,59,25389,2432,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,7224,7227,7231,7261,7273,7285,7306,7326,7340,7351,7419,7423,7437,7547,7569,7595,7611,7622,7629,114,242,897,97,114,59,26981,512,103,108,114,115,7240,7245,7250,7252,103,101,114,59,24608,101,116,104,59,24888,242,4403,104,256,59,118,7258,7259,24592,187,2314,363,7265,7271,97,114,111,119,59,26895,97,227,789,256,97,121,7278,7283,114,111,110,59,16655,59,17460,384,59,97,111,818,7292,7300,256,103,114,703,7297,114,59,25034,116,115,101,113,59,27255,384,103,108,109,7313,7316,7320,32827,176,16560,116,97,59,17332,112,116,121,118,59,27057,256,105,114,7331,7336,115,104,116,59,27007,59,49152,55349,56609,97,114,256,108,114,7347,7349,187,2268,187,4126,640,97,101,103,115,118,7362,888,7382,7388,7392,109,384,59,111,115,806,7370,7380,110,100,256,59,115,806,7377,117,105,116,59,26214,97,109,109,97,59,17373,105,110,59,25330,384,59,105,111,7399,7400,7416,16631,100,101,33024,247,59,111,7399,7408,110,116,105,109,101,115,59,25287,110,248,7415,99,121,59,17490,99,623,7430,0,0,7434,114,110,59,25374,111,112,59,25357,640,108,112,116,117,119,7448,7453,7458,7497,7509,108,97,114,59,16420,102,59,49152,55349,56661,640,59,101,109,112,115,779,7469,7479,7485,7490,113,256,59,100,850,7475,111,116,59,25169,105,110,117,115,59,25144,108,117,115,59,25108,113,117,97,114,101,59,25249,98,108,101,98,97,114,119,101,100,103,229,250,110,384,97,100,104,4398,7517,7527,111,119,110,97,114,114,111,119,243,7299,97,114,112,111,111,110,256,108,114,7538,7542,101,102,244,7348,105,103,104,244,7350,354,7551,7557,107,97,114,111,247,3906,623,7562,0,0,7566,114,110,59,25375,111,112,59,25356,384,99,111,116,7576,7587,7590,256,114,121,7581,7585,59,49152,55349,56505,59,17493,108,59,27126,114,111,107,59,16657,256,100,114,7600,7604,111,116,59,25329,105,256,59,102,7610,6166,26047,256,97,104,7616,7619,114,242,1065,97,242,4006,97,110,103,108,101,59,27046,256,99,105,7634,7637,121,59,17503,103,114,97,114,114,59,26623,2304,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,7681,7689,7705,7736,1400,7740,7753,7777,7806,7845,7855,7869,7905,7978,7991,8004,8014,8026,256,68,111,7686,7476,111,244,7305,256,99,115,7694,7700,117,116,101,32827,233,16617,116,101,114,59,27246,512,97,105,111,121,7714,7719,7729,7734,114,111,110,59,16667,114,256,59,99,7725,7726,25174,32827,234,16618,108,111,110,59,25173,59,17485,111,116,59,16663,256,68,114,7745,7749,111,116,59,25170,59,49152,55349,56610,384,59,114,115,7760,7761,7767,27290,97,118,101,32827,232,16616,256,59,100,7772,7773,27286,111,116,59,27288,512,59,105,108,115,7786,7787,7794,7796,27289,110,116,101,114,115,59,25575,59,24851,256,59,100,7801,7802,27285,111,116,59,27287,384,97,112,115,7813,7817,7831,99,114,59,16659,116,121,384,59,115,118,7826,7827,7829,25093,101,116,187,7827,112,256,49,59,7837,7844,307,7841,7843,59,24580,59,24581,24579,256,103,115,7850,7852,59,16715,112,59,24578,256,103,112,7860,7864,111,110,59,16665,102,59,49152,55349,56662,384,97,108,115,7876,7886,7890,114,256,59,115,7882,7883,25301,108,59,27107,117,115,59,27249,105,384,59,108,118,7898,7899,7903,17333,111,110,187,7899,59,17397,512,99,115,117,118,7914,7923,7947,7971,256,105,111,7919,7729,114,99,187,7726,617,7929,0,0,7931,237,1352,97,110,116,256,103,108,7938,7942,116,114,187,7773,101,115,115,187,7802,384,97,101,105,7954,7958,7962,108,115,59,16445,115,116,59,25183,118,256,59,68,565,7968,68,59,27256,112,97,114,115,108,59,27109,256,68,97,7983,7987,111,116,59,25171,114,114,59,26993,384,99,100,105,7998,8001,7928,114,59,24879,111,244,850,256,97,104,8009,8011,59,17335,32827,240,16624,256,109,114,8019,8023,108,32827,235,16619,111,59,24748,384,99,105,112,8033,8036,8039,108,59,16417,115,244,1390,256,101,111,8044,8052,99,116,97,116,105,111,238,1369,110,101,110,116,105,97,108,229,1401,2529,8082,0,8094,0,8097,8103,0,0,8134,8140,0,8147,0,8166,8170,8192,0,8200,8282,108,108,105,110,103,100,111,116,115,101,241,7748,121,59,17476,109,97,108,101,59,26176,384,105,108,114,8109,8115,8129,108,105,103,59,32768,64259,617,8121,0,0,8125,103,59,32768,64256,105,103,59,32768,64260,59,49152,55349,56611,108,105,103,59,32768,64257,108,105,103,59,49152,102,106,384,97,108,116,8153,8156,8161,116,59,26221,105,103,59,32768,64258,110,115,59,26033,111,102,59,16786,496,8174,0,8179,102,59,49152,55349,56663,256,97,107,1471,8183,256,59,118,8188,8189,25300,59,27353,97,114,116,105,110,116,59,27149,256,97,111,8204,8277,256,99,115,8209,8274,945,8218,8240,8248,8261,8264,0,8272,946,8226,8229,8231,8234,8236,0,8238,32827,189,16573,59,24915,32827,188,16572,59,24917,59,24921,59,24923,435,8244,0,8246,59,24916,59,24918,692,8254,8257,0,0,8259,32827,190,16574,59,24919,59,24924,53,59,24920,438,8268,0,8270,59,24922,59,24925,56,59,24926,108,59,24644,119,110,59,25378,99,114,59,49152,55349,56507,2176,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,8322,8329,8351,8357,8368,8372,8432,8437,8442,8447,8451,8466,8504,791,8510,8530,8606,256,59,108,1613,8327,59,27276,384,99,109,112,8336,8341,8349,117,116,101,59,16885,109,97,256,59,100,8348,7386,17331,59,27270,114,101,118,101,59,16671,256,105,121,8362,8366,114,99,59,16669,59,17459,111,116,59,16673,512,59,108,113,115,1598,1602,8381,8393,384,59,113,115,1598,1612,8388,108,97,110,244,1637,512,59,99,100,108,1637,8402,8405,8421,99,59,27305,111,116,256,59,111,8412,8413,27264,256,59,108,8418,8419,27266,59,27268,256,59,101,8426,8429,49152,8923,65024,115,59,27284,114,59,49152,55349,56612,256,59,103,1651,1563,109,101,108,59,24887,99,121,59,17491,512,59,69,97,106,1626,8460,8462,8464,59,27282,59,27301,59,27300,512,69,97,101,115,8475,8477,8489,8500,59,25193,112,256,59,112,8483,8484,27274,114,111,120,187,8484,256,59,113,8494,8495,27272,256,59,113,8494,8475,105,109,59,25319,112,102,59,49152,55349,56664,256,99,105,8515,8518,114,59,24842,109,384,59,101,108,1643,8526,8528,59,27278,59,27280,33536,62,59,99,100,108,113,114,1518,8544,8554,8558,8563,8569,256,99,105,8549,8551,59,27303,114,59,27258,111,116,59,25303,80,97,114,59,27029,117,101,115,116,59,27260,640,97,100,101,108,115,8580,8554,8592,1622,8603,496,8585,0,8590,112,114,111,248,8350,114,59,27e3,113,256,108,113,1599,8598,108,101,115,243,8328,105,237,1643,256,101,110,8611,8621,114,116,110,101,113,113,59,49152,8809,65024,197,8618,1280,65,97,98,99,101,102,107,111,115,121,8644,8647,8689,8693,8698,8728,8733,8751,8808,8829,114,242,928,512,105,108,109,114,8656,8660,8663,8667,114,115,240,5252,102,187,8228,105,108,244,1705,256,100,114,8672,8676,99,121,59,17482,384,59,99,119,2292,8683,8687,105,114,59,26952,59,25005,97,114,59,24847,105,114,99,59,16677,384,97,108,114,8705,8718,8723,114,116,115,256,59,117,8713,8714,26213,105,116,187,8714,108,105,112,59,24614,99,111,110,59,25273,114,59,49152,55349,56613,115,256,101,119,8739,8745,97,114,111,119,59,26917,97,114,111,119,59,26918,640,97,109,111,112,114,8762,8766,8771,8798,8803,114,114,59,25087,116,104,116,59,25147,107,256,108,114,8777,8787,101,102,116,97,114,114,111,119,59,25001,105,103,104,116,97,114,114,111,119,59,25002,102,59,49152,55349,56665,98,97,114,59,24597,384,99,108,116,8815,8820,8824,114,59,49152,55349,56509,97,115,232,8692,114,111,107,59,16679,256,98,112,8834,8839,117,108,108,59,24643,104,101,110,187,7259,2785,8867,0,8874,0,8888,8901,8910,0,8917,8947,0,0,8952,8994,9063,9058,9087,0,9094,9130,9140,99,117,116,101,32827,237,16621,384,59,105,121,1905,8880,8885,114,99,32827,238,16622,59,17464,256,99,120,8892,8895,121,59,17461,99,108,32827,161,16545,256,102,114,927,8905,59,49152,55349,56614,114,97,118,101,32827,236,16620,512,59,105,110,111,1854,8925,8937,8942,256,105,110,8930,8934,110,116,59,27148,116,59,25133,102,105,110,59,27100,116,97,59,24873,108,105,103,59,16691,384,97,111,112,8958,8986,8989,384,99,103,116,8965,8968,8983,114,59,16683,384,101,108,112,1823,8975,8979,105,110,229,1934,97,114,244,1824,104,59,16689,102,59,25271,101,100,59,16821,640,59,99,102,111,116,1268,9004,9009,9021,9025,97,114,101,59,24837,105,110,256,59,116,9016,9017,25118,105,101,59,27101,100,111,244,8985,640,59,99,101,108,112,1879,9036,9040,9051,9057,97,108,59,25274,256,103,114,9045,9049,101,114,243,5475,227,9037,97,114,104,107,59,27159,114,111,100,59,27196,512,99,103,112,116,9071,9074,9078,9083,121,59,17489,111,110,59,16687,102,59,49152,55349,56666,97,59,17337,117,101,115,116,32827,191,16575,256,99,105,9098,9103,114,59,49152,55349,56510,110,640,59,69,100,115,118,1268,9115,9117,9121,1267,59,25337,111,116,59,25333,256,59,118,9126,9127,25332,59,25331,256,59,105,1911,9134,108,100,101,59,16681,491,9144,0,9148,99,121,59,17494,108,32827,239,16623,768,99,102,109,111,115,117,9164,9175,9180,9185,9191,9205,256,105,121,9169,9173,114,99,59,16693,59,17465,114,59,49152,55349,56615,97,116,104,59,16951,112,102,59,49152,55349,56667,483,9196,0,9201,114,59,49152,55349,56511,114,99,121,59,17496,107,99,121,59,17492,1024,97,99,102,103,104,106,111,115,9227,9238,9250,9255,9261,9265,9269,9275,112,112,97,256,59,118,9235,9236,17338,59,17392,256,101,121,9243,9248,100,105,108,59,16695,59,17466,114,59,49152,55349,56616,114,101,101,110,59,16696,99,121,59,17477,99,121,59,17500,112,102,59,49152,55349,56668,99,114,59,49152,55349,56512,2944,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,9328,9345,9350,9357,9361,9486,9533,9562,9600,9806,9822,9829,9849,9853,9882,9906,9944,10077,10088,10123,10176,10241,10258,384,97,114,116,9335,9338,9340,114,242,2502,242,917,97,105,108,59,26907,97,114,114,59,26894,256,59,103,2452,9355,59,27275,97,114,59,26978,2403,9381,0,9386,0,9393,0,0,0,0,0,9397,9402,0,9414,9416,9421,0,9465,117,116,101,59,16698,109,112,116,121,118,59,27060,114,97,238,2124,98,100,97,59,17339,103,384,59,100,108,2190,9409,9411,59,27025,229,2190,59,27269,117,111,32827,171,16555,114,1024,59,98,102,104,108,112,115,116,2201,9438,9446,9449,9451,9454,9457,9461,256,59,102,2205,9443,115,59,26911,115,59,26909,235,8786,112,59,25003,108,59,26937,105,109,59,26995,108,59,24994,384,59,97,101,9471,9472,9476,27307,105,108,59,26905,256,59,115,9481,9482,27309,59,49152,10925,65024,384,97,98,114,9493,9497,9501,114,114,59,26892,114,107,59,26482,256,97,107,9506,9516,99,256,101,107,9512,9514,59,16507,59,16475,256,101,115,9521,9523,59,27019,108,256,100,117,9529,9531,59,27023,59,27021,512,97,101,117,121,9542,9547,9558,9560,114,111,110,59,16702,256,100,105,9552,9556,105,108,59,16700,236,2224,226,9513,59,17467,512,99,113,114,115,9571,9574,9581,9597,97,59,26934,117,111,256,59,114,3609,5958,256,100,117,9586,9591,104,97,114,59,26983,115,104,97,114,59,26955,104,59,25010,640,59,102,103,113,115,9611,9612,2441,9715,9727,25188,116,640,97,104,108,114,116,9624,9636,9655,9666,9704,114,114,111,119,256,59,116,2201,9633,97,233,9462,97,114,112,111,111,110,256,100,117,9647,9652,111,119,110,187,1114,112,187,2406,101,102,116,97,114,114,111,119,115,59,25031,105,103,104,116,384,97,104,115,9677,9686,9694,114,114,111,119,256,59,115,2292,2215,97,114,112,111,111,110,243,3992,113,117,105,103,97,114,114,111,247,8688,104,114,101,101,116,105,109,101,115,59,25291,384,59,113,115,9611,2451,9722,108,97,110,244,2476,640,59,99,100,103,115,2476,9738,9741,9757,9768,99,59,27304,111,116,256,59,111,9748,9749,27263,256,59,114,9754,9755,27265,59,27267,256,59,101,9762,9765,49152,8922,65024,115,59,27283,640,97,100,101,103,115,9779,9785,9789,9801,9803,112,112,114,111,248,9414,111,116,59,25302,113,256,103,113,9795,9797,244,2441,103,116,242,9356,244,2459,105,237,2482,384,105,108,114,9813,2273,9818,115,104,116,59,27004,59,49152,55349,56617,256,59,69,2460,9827,59,27281,353,9833,9846,114,256,100,117,9650,9838,256,59,108,2405,9843,59,26986,108,107,59,25988,99,121,59,17497,640,59,97,99,104,116,2632,9864,9867,9873,9878,114,242,9665,111,114,110,101,242,7432,97,114,100,59,26987,114,105,59,26106,256,105,111,9887,9892,100,111,116,59,16704,117,115,116,256,59,97,9900,9901,25520,99,104,101,187,9901,512,69,97,101,115,9915,9917,9929,9940,59,25192,112,256,59,112,9923,9924,27273,114,111,120,187,9924,256,59,113,9934,9935,27271,256,59,113,9934,9915,105,109,59,25318,1024,97,98,110,111,112,116,119,122,9961,9972,9975,10010,10031,10049,10055,10064,256,110,114,9966,9969,103,59,26604,114,59,25085,114,235,2241,103,384,108,109,114,9983,9997,10004,101,102,116,256,97,114,2534,9991,105,103,104,116,225,2546,97,112,115,116,111,59,26620,105,103,104,116,225,2557,112,97,114,114,111,119,256,108,114,10021,10025,101,102,244,9453,105,103,104,116,59,25004,384,97,102,108,10038,10041,10045,114,59,27013,59,49152,55349,56669,117,115,59,27181,105,109,101,115,59,27188,353,10059,10063,115,116,59,25111,225,4942,384,59,101,102,10071,10072,6144,26058,110,103,101,187,10072,97,114,256,59,108,10084,10085,16424,116,59,27027,640,97,99,104,109,116,10099,10102,10108,10117,10119,114,242,2216,111,114,110,101,242,7564,97,114,256,59,100,3992,10115,59,26989,59,24590,114,105,59,25279,768,97,99,104,105,113,116,10136,10141,2624,10146,10158,10171,113,117,111,59,24633,114,59,49152,55349,56513,109,384,59,101,103,2482,10154,10156,59,27277,59,27279,256,98,117,9514,10163,111,256,59,114,3615,10169,59,24602,114,111,107,59,16706,33792,60,59,99,100,104,105,108,113,114,2091,10194,9785,10204,10208,10213,10218,10224,256,99,105,10199,10201,59,27302,114,59,27257,114,101,229,9714,109,101,115,59,25289,97,114,114,59,26998,117,101,115,116,59,27259,256,80,105,10229,10233,97,114,59,27030,384,59,101,102,10240,2349,6171,26051,114,256,100,117,10247,10253,115,104,97,114,59,26954,104,97,114,59,26982,256,101,110,10263,10273,114,116,110,101,113,113,59,49152,8808,65024,197,10270,1792,68,97,99,100,101,102,104,105,108,110,111,112,115,117,10304,10309,10370,10382,10387,10400,10405,10408,10458,10466,10468,2691,10483,10498,68,111,116,59,25146,512,99,108,112,114,10318,10322,10339,10365,114,32827,175,16559,256,101,116,10327,10329,59,26178,256,59,101,10334,10335,26400,115,101,187,10335,256,59,115,4155,10344,116,111,512,59,100,108,117,4155,10355,10359,10363,111,119,238,1164,101,102,244,2319,240,5073,107,101,114,59,26030,256,111,121,10375,10380,109,109,97,59,27177,59,17468,97,115,104,59,24596,97,115,117,114,101,100,97,110,103,108,101,187,5670,114,59,49152,55349,56618,111,59,24871,384,99,100,110,10415,10420,10441,114,111,32827,181,16565,512,59,97,99,100,5220,10429,10432,10436,115,244,5799,105,114,59,27376,111,116,32955,183,437,117,115,384,59,98,100,10450,6403,10451,25106,256,59,117,7484,10456,59,27178,355,10462,10465,112,59,27355,242,8722,240,2689,256,100,112,10473,10478,101,108,115,59,25255,102,59,49152,55349,56670,256,99,116,10488,10493,114,59,49152,55349,56514,112,111,115,187,5533,384,59,108,109,10505,10506,10509,17340,116,105,109,97,112,59,25272,3072,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,10562,10579,10622,10633,10648,10714,10729,10773,10778,10840,10845,10883,10901,10916,10920,11012,11015,11076,11135,11182,11316,11367,11388,11497,256,103,116,10567,10571,59,49152,8921,824,256,59,118,10576,3023,49152,8811,8402,384,101,108,116,10586,10610,10614,102,116,256,97,114,10593,10599,114,114,111,119,59,25037,105,103,104,116,97,114,114,111,119,59,25038,59,49152,8920,824,256,59,118,10619,3143,49152,8810,8402,105,103,104,116,97,114,114,111,119,59,25039,256,68,100,10638,10643,97,115,104,59,25263,97,115,104,59,25262,640,98,99,110,112,116,10659,10663,10668,10673,10700,108,97,187,734,117,116,101,59,16708,103,59,49152,8736,8402,640,59,69,105,111,112,3460,10684,10688,10693,10696,59,49152,10864,824,100,59,49152,8779,824,115,59,16713,114,111,248,3460,117,114,256,59,97,10707,10708,26222,108,256,59,115,10707,2872,499,10719,0,10723,112,32955,160,2871,109,112,256,59,101,3065,3072,640,97,101,111,117,121,10740,10750,10755,10768,10771,496,10745,0,10747,59,27203,111,110,59,16712,100,105,108,59,16710,110,103,256,59,100,3454,10762,111,116,59,49152,10861,824,112,59,27202,59,17469,97,115,104,59,24595,896,59,65,97,100,113,115,120,2962,10793,10797,10811,10817,10821,10832,114,114,59,25047,114,256,104,114,10803,10806,107,59,26916,256,59,111,5106,5104,111,116,59,49152,8784,824,117,105,246,2915,256,101,105,10826,10830,97,114,59,26920,237,2968,105,115,116,256,59,115,2976,2975,114,59,49152,55349,56619,512,69,101,115,116,3013,10854,10873,10876,384,59,113,115,3004,10861,3041,384,59,113,115,3004,3013,10868,108,97,110,244,3042,105,237,3050,256,59,114,2998,10881,187,2999,384,65,97,112,10890,10893,10897,114,242,10609,114,114,59,25006,97,114,59,27378,384,59,115,118,3981,10908,3980,256,59,100,10913,10914,25340,59,25338,99,121,59,17498,896,65,69,97,100,101,115,116,10935,10938,10942,10946,10949,10998,11001,114,242,10598,59,49152,8806,824,114,114,59,24986,114,59,24613,512,59,102,113,115,3131,10958,10979,10991,116,256,97,114,10964,10969,114,114,111,247,10945,105,103,104,116,97,114,114,111,247,10896,384,59,113,115,3131,10938,10986,108,97,110,244,3157,256,59,115,3157,10996,187,3126,105,237,3165,256,59,114,3125,11006,105,256,59,101,3098,3109,105,228,3472,256,112,116,11020,11025,102,59,49152,55349,56671,33152,172,59,105,110,11033,11034,11062,16556,110,512,59,69,100,118,2953,11044,11048,11054,59,49152,8953,824,111,116,59,49152,8949,824,481,2953,11059,11061,59,25335,59,25334,105,256,59,118,3256,11068,481,3256,11073,11075,59,25342,59,25341,384,97,111,114,11083,11107,11113,114,512,59,97,115,116,2939,11093,11098,11103,108,108,101,236,2939,108,59,49152,11005,8421,59,49152,8706,824,108,105,110,116,59,27156,384,59,99,101,3218,11120,11123,117,229,3237,256,59,99,3224,11128,256,59,101,3218,11133,241,3224,512,65,97,105,116,11144,11147,11165,11175,114,242,10632,114,114,384,59,99,119,11156,11157,11161,24987,59,49152,10547,824,59,49152,8605,824,103,104,116,97,114,114,111,119,187,11157,114,105,256,59,101,3275,3286,896,99,104,105,109,112,113,117,11197,11213,11225,11012,2936,11236,11247,512,59,99,101,114,3378,11206,3383,11209,117,229,3397,59,49152,55349,56515,111,114,116,621,11013,0,0,11222,97,114,225,11094,109,256,59,101,3438,11231,256,59,113,3444,3443,115,117,256,98,112,11243,11245,229,3320,229,3339,384,98,99,112,11254,11281,11289,512,59,69,101,115,11263,11264,3362,11268,25220,59,49152,10949,824,101,116,256,59,101,3355,11275,113,256,59,113,3363,11264,99,256,59,101,3378,11287,241,3384,512,59,69,101,115,11298,11299,3423,11303,25221,59,49152,10950,824,101,116,256,59,101,3416,11310,113,256,59,113,3424,11299,512,103,105,108,114,11325,11327,11333,11335,236,3031,108,100,101,32827,241,16625,231,3139,105,97,110,103,108,101,256,108,114,11346,11356,101,102,116,256,59,101,3098,11354,241,3110,105,103,104,116,256,59,101,3275,11365,241,3287,256,59,109,11372,11373,17341,384,59,101,115,11380,11381,11385,16419,114,111,59,24854,112,59,24583,1152,68,72,97,100,103,105,108,114,115,11407,11412,11417,11422,11427,11440,11446,11475,11491,97,115,104,59,25261,97,114,114,59,26884,112,59,49152,8781,8402,97,115,104,59,25260,256,101,116,11432,11436,59,49152,8805,8402,59,49152,62,8402,110,102,105,110,59,27102,384,65,101,116,11453,11457,11461,114,114,59,26882,59,49152,8804,8402,256,59,114,11466,11469,49152,60,8402,105,101,59,49152,8884,8402,256,65,116,11480,11484,114,114,59,26883,114,105,101,59,49152,8885,8402,105,109,59,49152,8764,8402,384,65,97,110,11504,11508,11522,114,114,59,25046,114,256,104,114,11514,11517,107,59,26915,256,59,111,5095,5093,101,97,114,59,26919,4691,6805,0,0,0,0,0,0,0,0,0,0,0,0,0,11565,0,11576,11592,11616,11621,11634,11652,6919,0,0,11661,11691,0,11720,11726,0,11740,11801,11819,11838,11843,256,99,115,11569,6807,117,116,101,32827,243,16627,256,105,121,11580,11589,114,256,59,99,6814,11586,32827,244,16628,59,17470,640,97,98,105,111,115,6816,11602,11607,456,11610,108,97,99,59,16721,118,59,27192,111,108,100,59,27068,108,105,103,59,16723,256,99,114,11625,11629,105,114,59,27071,59,49152,55349,56620,879,11641,0,0,11644,0,11650,110,59,17115,97,118,101,32827,242,16626,59,27073,256,98,109,11656,3572,97,114,59,27061,512,97,99,105,116,11669,11672,11685,11688,114,242,6784,256,105,114,11677,11680,114,59,27070,111,115,115,59,27067,110,229,3666,59,27072,384,97,101,105,11697,11701,11705,99,114,59,16717,103,97,59,17353,384,99,100,110,11712,11717,461,114,111,110,59,17343,59,27062,112,102,59,49152,55349,56672,384,97,101,108,11732,11735,466,114,59,27063,114,112,59,27065,896,59,97,100,105,111,115,118,11754,11755,11758,11784,11789,11792,11798,25128,114,242,6790,512,59,101,102,109,11767,11768,11778,11781,27229,114,256,59,111,11774,11775,24884,102,187,11775,32827,170,16554,32827,186,16570,103,111,102,59,25270,114,59,27222,108,111,112,101,59,27223,59,27227,384,99,108,111,11807,11809,11815,242,11777,97,115,104,32827,248,16632,108,59,25240,105,364,11823,11828,100,101,32827,245,16629,101,115,256,59,97,475,11834,115,59,27190,109,108,32827,246,16630,98,97,114,59,25405,2785,11870,0,11901,0,11904,11933,0,11938,11961,0,0,11979,3740,0,12051,0,0,12075,12220,0,12232,114,512,59,97,115,116,1027,11879,11890,3717,33024,182,59,108,11885,11886,16566,108,101,236,1027,617,11896,0,0,11899,109,59,27379,59,27389,121,59,17471,114,640,99,105,109,112,116,11915,11919,11923,6245,11927,110,116,59,16421,111,100,59,16430,105,108,59,24624,101,110,107,59,24625,114,59,49152,55349,56621,384,105,109,111,11944,11952,11956,256,59,118,11949,11950,17350,59,17365,109,97,244,2678,110,101,59,26126,384,59,116,118,11967,11968,11976,17344,99,104,102,111,114,107,187,8189,59,17366,256,97,117,11983,11999,110,256,99,107,11989,11997,107,256,59,104,8692,11995,59,24846,246,8692,115,1152,59,97,98,99,100,101,109,115,116,12019,12020,6408,12025,12029,12036,12038,12042,12046,16427,99,105,114,59,27171,105,114,59,27170,256,111,117,7488,12034,59,27173,59,27250,110,32955,177,3741,105,109,59,27174,119,111,59,27175,384,105,112,117,12057,12064,12069,110,116,105,110,116,59,27157,102,59,49152,55349,56673,110,100,32827,163,16547,1280,59,69,97,99,101,105,110,111,115,117,3784,12095,12097,12100,12103,12161,12169,12178,12158,12214,59,27315,112,59,27319,117,229,3801,256,59,99,3790,12108,768,59,97,99,101,110,115,3784,12121,12127,12134,12136,12158,112,112,114,111,248,12099,117,114,108,121,101,241,3801,241,3790,384,97,101,115,12143,12150,12154,112,112,114,111,120,59,27321,113,113,59,27317,105,109,59,25320,105,237,3807,109,101,256,59,115,12168,3758,24626,384,69,97,115,12152,12176,12154,240,12149,384,100,102,112,3820,12185,12207,384,97,108,115,12192,12197,12202,108,97,114,59,25390,105,110,101,59,25362,117,114,102,59,25363,256,59,116,3835,12212,239,3835,114,101,108,59,25264,256,99,105,12224,12229,114,59,49152,55349,56517,59,17352,110,99,115,112,59,24584,768,102,105,111,112,115,117,12250,8930,12255,12261,12267,12273,114,59,49152,55349,56622,112,102,59,49152,55349,56674,114,105,109,101,59,24663,99,114,59,49152,55349,56518,384,97,101,111,12280,12297,12307,116,256,101,105,12286,12293,114,110,105,111,110,243,1712,110,116,59,27158,115,116,256,59,101,12304,12305,16447,241,7961,244,3860,2688,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,12352,12369,12373,12377,12512,12558,12587,12615,12642,12658,12686,12806,12821,12836,12841,12888,12910,12914,12944,12976,12983,384,97,114,116,12359,12362,12364,114,242,4275,242,989,97,105,108,59,26908,97,114,242,7269,97,114,59,26980,896,99,100,101,110,113,114,116,12392,12405,12408,12415,12431,12436,12492,256,101,117,12397,12401,59,49152,8765,817,116,101,59,16725,105,227,4462,109,112,116,121,118,59,27059,103,512,59,100,101,108,4049,12425,12427,12429,59,27026,59,27045,229,4049,117,111,32827,187,16571,114,1408,59,97,98,99,102,104,108,112,115,116,119,4060,12460,12463,12471,12473,12476,12478,12480,12483,12487,12490,112,59,26997,256,59,102,4064,12468,115,59,26912,59,26931,115,59,26910,235,8797,240,10030,108,59,26949,105,109,59,26996,108,59,24995,59,24989,256,97,105,12497,12501,105,108,59,26906,111,256,59,110,12507,12508,25142,97,108,243,3870,384,97,98,114,12519,12522,12526,114,242,6117,114,107,59,26483,256,97,107,12531,12541,99,256,101,107,12537,12539,59,16509,59,16477,256,101,115,12546,12548,59,27020,108,256,100,117,12554,12556,59,27022,59,27024,512,97,101,117,121,12567,12572,12583,12585,114,111,110,59,16729,256,100,105,12577,12581,105,108,59,16727,236,4082,226,12538,59,17472,512,99,108,113,115,12596,12599,12605,12612,97,59,26935,100,104,97,114,59,26985,117,111,256,59,114,526,525,104,59,25011,384,97,99,103,12622,12639,3908,108,512,59,105,112,115,3960,12632,12635,4252,110,229,4283,97,114,244,4009,116,59,26029,384,105,108,114,12649,4131,12654,115,104,116,59,27005,59,49152,55349,56623,256,97,111,12663,12678,114,256,100,117,12669,12671,187,1147,256,59,108,4241,12676,59,26988,256,59,118,12683,12684,17345,59,17393,384,103,110,115,12693,12793,12796,104,116,768,97,104,108,114,115,116,12708,12720,12738,12760,12772,12782,114,114,111,119,256,59,116,4060,12717,97,233,12488,97,114,112,111,111,110,256,100,117,12731,12735,111,119,238,12670,112,187,4242,101,102,116,256,97,104,12746,12752,114,114,111,119,243,4074,97,114,112,111,111,110,243,1361,105,103,104,116,97,114,114,111,119,115,59,25033,113,117,105,103,97,114,114,111,247,12491,104,114,101,101,116,105,109,101,115,59,25292,103,59,17114,105,110,103,100,111,116,115,101,241,7986,384,97,104,109,12813,12816,12819,114,242,4074,97,242,1361,59,24591,111,117,115,116,256,59,97,12830,12831,25521,99,104,101,187,12831,109,105,100,59,27374,512,97,98,112,116,12850,12861,12864,12882,256,110,114,12855,12858,103,59,26605,114,59,25086,114,235,4099,384,97,102,108,12871,12874,12878,114,59,27014,59,49152,55349,56675,117,115,59,27182,105,109,101,115,59,27189,256,97,112,12893,12903,114,256,59,103,12899,12900,16425,116,59,27028,111,108,105,110,116,59,27154,97,114,242,12771,512,97,99,104,113,12923,12928,4284,12933,113,117,111,59,24634,114,59,49152,55349,56519,256,98,117,12539,12938,111,256,59,114,532,531,384,104,105,114,12951,12955,12960,114,101,229,12792,109,101,115,59,25290,105,512,59,101,102,108,12970,4185,6177,12971,26041,116,114,105,59,27086,108,117,104,97,114,59,26984,59,24862,3425,13013,13019,13023,13100,13112,13169,0,13178,13220,0,0,13292,13296,0,13352,13384,13402,13485,13489,13514,13553,0,13846,0,0,13875,99,117,116,101,59,16731,113,117,239,10170,1280,59,69,97,99,101,105,110,112,115,121,4589,13043,13045,13055,13058,13067,13071,13087,13094,13097,59,27316,496,13050,0,13052,59,27320,111,110,59,16737,117,229,4606,256,59,100,4595,13063,105,108,59,16735,114,99,59,16733,384,69,97,115,13078,13080,13083,59,27318,112,59,27322,105,109,59,25321,111,108,105,110,116,59,27155,105,237,4612,59,17473,111,116,384,59,98,101,13108,7495,13109,25285,59,27238,896,65,97,99,109,115,116,120,13126,13130,13143,13147,13150,13155,13165,114,114,59,25048,114,256,104,114,13136,13138,235,8744,256,59,111,2614,2612,116,32827,167,16551,105,59,16443,119,97,114,59,26921,109,256,105,110,13161,240,110,117,243,241,116,59,26422,114,256,59,111,13174,8277,49152,55349,56624,512,97,99,111,121,13186,13190,13201,13216,114,112,59,26223,256,104,121,13195,13199,99,121,59,17481,59,17480,114,116,621,13209,0,0,13212,105,228,5220,97,114,97,236,11887,32827,173,16557,256,103,109,13224,13236,109,97,384,59,102,118,13233,13234,13234,17347,59,17346,1024,59,100,101,103,108,110,112,114,4779,13253,13257,13262,13270,13278,13281,13286,111,116,59,27242,256,59,113,4785,4784,256,59,69,13267,13268,27294,59,27296,256,59,69,13275,13276,27293,59,27295,101,59,25158,108,117,115,59,27172,97,114,114,59,26994,97,114,242,4413,512,97,101,105,116,13304,13320,13327,13335,256,108,115,13309,13316,108,115,101,116,109,233,13162,104,112,59,27187,112,97,114,115,108,59,27108,256,100,108,5219,13332,101,59,25379,256,59,101,13340,13341,27306,256,59,115,13346,13347,27308,59,49152,10924,65024,384,102,108,112,13358,13363,13378,116,99,121,59,17484,256,59,98,13368,13369,16431,256,59,97,13374,13375,27076,114,59,25407,102,59,49152,55349,56676,97,256,100,114,13389,1026,101,115,256,59,117,13396,13397,26208,105,116,187,13397,384,99,115,117,13408,13433,13471,256,97,117,13413,13423,112,256,59,115,4488,13419,59,49152,8851,65024,112,256,59,115,4532,13429,59,49152,8852,65024,117,256,98,112,13439,13455,384,59,101,115,4503,4508,13446,101,116,256,59,101,4503,13453,241,4509,384,59,101,115,4520,4525,13462,101,116,256,59,101,4520,13469,241,4526,384,59,97,102,4475,13478,1456,114,357,13483,1457,187,4476,97,114,242,4424,512,99,101,109,116,13497,13502,13506,13509,114,59,49152,55349,56520,116,109,238,241,105,236,13333,97,114,230,4542,256,97,114,13518,13525,114,256,59,102,13524,6079,26118,256,97,110,13530,13549,105,103,104,116,256,101,112,13539,13546,112,115,105,108,111,238,7904,104,233,11951,115,187,10322,640,98,99,109,110,112,13563,13662,4617,13707,13710,1152,59,69,100,101,109,110,112,114,115,13582,13583,13585,13589,13598,13603,13612,13617,13622,25218,59,27333,111,116,59,27325,256,59,100,4570,13594,111,116,59,27331,117,108,116,59,27329,256,69,101,13608,13610,59,27339,59,25226,108,117,115,59,27327,97,114,114,59,27001,384,101,105,117,13629,13650,13653,116,384,59,101,110,13582,13637,13643,113,256,59,113,4570,13583,101,113,256,59,113,13611,13608,109,59,27335,256,98,112,13658,13660,59,27349,59,27347,99,768,59,97,99,101,110,115,4589,13676,13682,13689,13691,13094,112,112,114,111,248,13050,117,114,108,121,101,241,4606,241,4595,384,97,101,115,13698,13704,13083,112,112,114,111,248,13082,113,241,13079,103,59,26218,1664,49,50,51,59,69,100,101,104,108,109,110,112,115,13737,13740,13743,4636,13746,13748,13760,13769,13781,13786,13791,13800,13805,32827,185,16569,32827,178,16562,32827,179,16563,59,27334,256,111,115,13753,13756,116,59,27326,117,98,59,27352,256,59,100,4642,13765,111,116,59,27332,115,256,111,117,13775,13778,108,59,26569,98,59,27351,97,114,114,59,27003,117,108,116,59,27330,256,69,101,13796,13798,59,27340,59,25227,108,117,115,59,27328,384,101,105,117,13812,13833,13836,116,384,59,101,110,4636,13820,13826,113,256,59,113,4642,13746,101,113,256,59,113,13799,13796,109,59,27336,256,98,112,13841,13843,59,27348,59,27350,384,65,97,110,13852,13856,13869,114,114,59,25049,114,256,104,114,13862,13864,235,8750,256,59,111,2603,2601,119,97,114,59,26922,108,105,103,32827,223,16607,3041,13905,13917,13920,4814,13939,13945,0,13950,14018,0,0,0,0,0,14043,14083,0,14089,14188,0,0,0,14215,626,13910,0,0,13915,103,101,116,59,25366,59,17348,114,235,3679,384,97,101,121,13926,13931,13936,114,111,110,59,16741,100,105,108,59,16739,59,17474,108,114,101,99,59,25365,114,59,49152,55349,56625,512,101,105,107,111,13958,13981,14005,14012,498,13963,0,13969,101,256,52,102,4740,4737,97,384,59,115,118,13976,13977,13979,17336,121,109,59,17361,256,99,110,13986,14002,107,256,97,115,13992,13998,112,112,114,111,248,4801,105,109,187,4780,115,240,4766,256,97,115,14010,13998,240,4801,114,110,32827,254,16638,492,799,14022,8935,101,115,33152,215,59,98,100,14031,14032,14040,16599,256,59,97,6415,14037,114,59,27185,59,27184,384,101,112,115,14049,14051,14080,225,10829,512,59,98,99,102,1158,14060,14064,14068,111,116,59,25398,105,114,59,27377,256,59,111,14073,14076,49152,55349,56677,114,107,59,27354,225,13154,114,105,109,101,59,24628,384,97,105,112,14095,14098,14180,100,229,4680,896,97,100,101,109,112,115,116,14113,14157,14144,14161,14167,14172,14175,110,103,108,101,640,59,100,108,113,114,14128,14129,14134,14144,14146,26037,111,119,110,187,7611,101,102,116,256,59,101,10240,14142,241,2350,59,25180,105,103,104,116,256,59,101,12970,14155,241,4186,111,116,59,26092,105,110,117,115,59,27194,108,117,115,59,27193,98,59,27085,105,109,101,59,27195,101,122,105,117,109,59,25570,384,99,104,116,14194,14205,14209,256,114,121,14199,14203,59,49152,55349,56521,59,17478,99,121,59,17499,114,111,107,59,16743,256,105,111,14219,14222,120,244,6007,104,101,97,100,256,108,114,14231,14240,101,102,116,97,114,114,111,247,2127,105,103,104,116,97,114,114,111,119,187,3933,2304,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,14288,14291,14295,14308,14320,14332,14350,14364,14371,14388,14417,14429,14443,14505,14540,14546,14570,14582,114,242,1005,97,114,59,26979,256,99,114,14300,14306,117,116,101,32827,250,16634,242,4432,114,483,14314,0,14317,121,59,17502,118,101,59,16749,256,105,121,14325,14330,114,99,32827,251,16635,59,17475,384,97,98,104,14339,14342,14347,114,242,5037,108,97,99,59,16753,97,242,5059,256,105,114,14355,14360,115,104,116,59,27006,59,49152,55349,56626,114,97,118,101,32827,249,16633,353,14375,14385,114,256,108,114,14380,14382,187,2391,187,4227,108,107,59,25984,256,99,116,14393,14413,623,14399,0,0,14410,114,110,256,59,101,14405,14406,25372,114,187,14406,111,112,59,25359,114,105,59,26104,256,97,108,14422,14426,99,114,59,16747,32955,168,841,256,103,112,14434,14438,111,110,59,16755,102,59,49152,55349,56678,768,97,100,104,108,115,117,4427,14456,14461,4978,14481,14496,111,119,110,225,5043,97,114,112,111,111,110,256,108,114,14472,14476,101,102,244,14381,105,103,104,244,14383,105,384,59,104,108,14489,14490,14492,17349,187,5114,111,110,187,14490,112,97,114,114,111,119,115,59,25032,384,99,105,116,14512,14532,14536,623,14518,0,0,14529,114,110,256,59,101,14524,14525,25373,114,187,14525,111,112,59,25358,110,103,59,16751,114,105,59,26105,99,114,59,49152,55349,56522,384,100,105,114,14553,14557,14562,111,116,59,25328,108,100,101,59,16745,105,256,59,102,14128,14568,187,6163,256,97,109,14575,14578,114,242,14504,108,32827,252,16636,97,110,103,108,101,59,27047,1920,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,14620,14623,14633,14637,14773,14776,14781,14815,14820,14824,14835,14841,14845,14849,14880,114,242,1015,97,114,256,59,118,14630,14631,27368,59,27369,97,115,232,993,256,110,114,14642,14647,103,114,116,59,27036,896,101,107,110,112,114,115,116,13539,14662,14667,14674,14685,14692,14742,97,112,112,225,9237,111,116,104,105,110,231,7830,384,104,105,114,13547,11976,14681,111,112,244,12213,256,59,104,5047,14690,239,12685,256,105,117,14697,14701,103,109,225,13235,256,98,112,14706,14724,115,101,116,110,101,113,256,59,113,14717,14720,49152,8842,65024,59,49152,10955,65024,115,101,116,110,101,113,256,59,113,14735,14738,49152,8843,65024,59,49152,10956,65024,256,104,114,14747,14751,101,116,225,13980,105,97,110,103,108,101,256,108,114,14762,14767,101,102,116,187,2341,105,103,104,116,187,4177,121,59,17458,97,115,104,187,4150,384,101,108,114,14788,14802,14807,384,59,98,101,11754,14795,14799,97,114,59,25275,113,59,25178,108,105,112,59,25326,256,98,116,14812,5224,97,242,5225,114,59,49152,55349,56627,116,114,233,14766,115,117,256,98,112,14831,14833,187,3356,187,3417,112,102,59,49152,55349,56679,114,111,240,3835,116,114,233,14772,256,99,117,14854,14859,114,59,49152,55349,56523,256,98,112,14864,14872,110,256,69,101,14720,14870,187,14718,110,256,69,101,14738,14878,187,14736,105,103,122,97,103,59,27034,896,99,101,102,111,112,114,115,14902,14907,14934,14939,14932,14945,14954,105,114,99,59,16757,256,100,105,14912,14929,256,98,103,14917,14921,97,114,59,27231,101,256,59,113,5626,14927,59,25177,101,114,112,59,24856,114,59,49152,55349,56628,112,102,59,49152,55349,56680,256,59,101,5241,14950,97,116,232,5241,99,114,59,49152,55349,56524,2787,6030,14983,0,14987,0,14992,15003,0,0,15005,15016,15019,15023,0,0,15043,15054,0,15064,6108,6111,116,114,233,6097,114,59,49152,55349,56629,256,65,97,14996,14999,114,242,963,114,242,2550,59,17342,256,65,97,15009,15012,114,242,952,114,242,2539,97,240,10003,105,115,59,25339,384,100,112,116,6052,15029,15038,256,102,108,15034,6057,59,49152,55349,56681,105,109,229,6066,256,65,97,15047,15050,114,242,974,114,242,2561,256,99,113,15058,6072,114,59,49152,55349,56525,256,112,116,6102,15068,114,233,6100,1024,97,99,101,102,105,111,115,117,15088,15101,15112,15116,15121,15125,15131,15137,99,256,117,121,15094,15099,116,101,32827,253,16637,59,17487,256,105,121,15106,15110,114,99,59,16759,59,17483,110,32827,165,16549,114,59,49152,55349,56630,99,121,59,17495,112,102,59,49152,55349,56682,99,114,59,49152,55349,56526,256,99,109,15142,15145,121,59,17486,108,32827,255,16639,1280,97,99,100,101,102,104,105,111,115,119,15170,15176,15188,15192,15204,15209,15213,15220,15226,15232,99,117,116,101,59,16762,256,97,121,15181,15186,114,111,110,59,16766,59,17463,111,116,59,16764,256,101,116,15197,15201,116,114,230,5471,97,59,17334,114,59,49152,55349,56631,99,121,59,17462,103,114,97,114,114,59,25053,112,102,59,49152,55349,56683,99,114,59,49152,55349,56527,256,106,110,15237,15239,59,24589,106,59,24588]),pc=new Uint16Array([512,97,103,108,113,9,21,24,27,621,15,0,0,18,112,59,16422,111,115,59,16423,116,59,16446,116,59,16444,117,111,116,59,16418]);const fc=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),mc=null!==(uc=String.fromCodePoint)&&void 0!==uc?uc:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};function gc(e){return mc(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=fc.get(e))&&void 0!==t?t:e}(e))}var vc,yc;function bc(e){return function(t,i){let n="",o=0,s=0;for(;(s=t.indexOf("&",s))>=0;){if(n+=t.slice(o,s),o=s,s+=1,t.charCodeAt(s)===vc.NUM){let e=s+1,r=10,a=t.charCodeAt(e);(a|vc.To_LOWER_BIT)===vc.LOWER_X&&(r=16,s+=1,e+=1);do{a=t.charCodeAt(++s)}while(a>=vc.ZERO&&a<=vc.NINE||16===r&&(a|vc.To_LOWER_BIT)>=vc.LOWER_A&&(a|vc.To_LOWER_BIT)<=vc.LOWER_F);if(e!==s){const a=t.substring(e,s),l=parseInt(a,r);if(t.charCodeAt(s)===vc.SEMI)s+=1;else if(i)continue;n+=gc(l),o=s}continue}let r=0,a=1,l=0,d=e[l];for(;s<t.length&&(l=wc(e,d,l+1,t.charCodeAt(s)),!(l<0));s++,a++){d=e[l];const n=d&yc.VALUE_LENGTH;if(n){i&&t.charCodeAt(s)!==vc.SEMI||(r=l,a=0);const e=(n>>14)-1;if(0===e)break;l+=e}}if(0!==r){const t=(e[r]&yc.VALUE_LENGTH)>>14;n+=1===t?String.fromCharCode(e[r]&~yc.VALUE_LENGTH):2===t?String.fromCharCode(e[r+1]):String.fromCharCode(e[r+1],e[r+2]),o=s-a+1}}return n+t.slice(o)}}function wc(e,t,i,n){const o=(t&yc.BRANCH_LENGTH)>>7,s=t&yc.JUMP_TABLE;if(0===o)return 0!==s&&n===s?i:-1;if(s){const t=n-s;return t<0||t>=o?-1:e[i+t]-1}let r=i,a=r+o-1;for(;r<=a;){const t=r+a>>>1,i=e[t];if(i<n)r=t+1;else{if(!(i>n))return e[t+o];a=t-1}}return-1}!function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.To_LOWER_BIT=32]="To_LOWER_BIT"}(vc||(vc={})),function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(yc||(yc={}));bc(hc),bc(pc);new Map([[9,"	"],[10,"
"],[33,"!"],[34,"""],[35,"#"],[36,"$"],[37,"%"],[38,"&"],[39,"'"],[40,"("],[41,")"],[42,"*"],[43,"+"],[44,","],[46,"."],[47,"/"],[58,":"],[59,";"],[60,{v:"<",n:8402,o:"<⃒"}],[61,{v:"=",n:8421,o:"=⃥"}],[62,{v:">",n:8402,o:">⃒"}],[63,"?"],[64,"@"],[91,"["],[92,"\"],[93,"]"],[94,"^"],[95,"_"],[96,"`"],[102,{n:106,o:"fj"}],[123,"{"],[124,"|"],[125,"}"],[160," "],[161,"¡"],[162,"¢"],[163,"£"],[164,"¤"],[165,"¥"],[166,"¦"],[167,"§"],[168,"¨"],[169,"©"],[170,"ª"],[171,"«"],[172,"¬"],[173,"­"],[174,"®"],[175,"¯"],[176,"°"],[177,"±"],[178,"²"],[179,"³"],[180,"´"],[181,"µ"],[182,"¶"],[183,"·"],[184,"¸"],[185,"¹"],[186,"º"],[187,"»"],[188,"¼"],[189,"½"],[190,"¾"],[191,"¿"],[192,"À"],[193,"Á"],[194,"Â"],[195,"Ã"],[196,"Ä"],[197,"Å"],[198,"Æ"],[199,"Ç"],[200,"È"],[201,"É"],[202,"Ê"],[203,"Ë"],[204,"Ì"],[205,"Í"],[206,"Î"],[207,"Ï"],[208,"Ð"],[209,"Ñ"],[210,"Ò"],[211,"Ó"],[212,"Ô"],[213,"Õ"],[214,"Ö"],[215,"×"],[216,"Ø"],[217,"Ù"],[218,"Ú"],[219,"Û"],[220,"Ü"],[221,"Ý"],[222,"Þ"],[223,"ß"],[224,"à"],[225,"á"],[226,"â"],[227,"ã"],[228,"ä"],[229,"å"],[230,"æ"],[231,"ç"],[232,"è"],[233,"é"],[234,"ê"],[235,"ë"],[236,"ì"],[237,"í"],[238,"î"],[239,"ï"],[240,"ð"],[241,"ñ"],[242,"ò"],[243,"ó"],[244,"ô"],[245,"õ"],[246,"ö"],[247,"÷"],[248,"ø"],[249,"ù"],[250,"ú"],[251,"û"],[252,"ü"],[253,"ý"],[254,"þ"],[255,"ÿ"],[256,"Ā"],[257,"ā"],[258,"Ă"],[259,"ă"],[260,"Ą"],[261,"ą"],[262,"Ć"],[263,"ć"],[264,"Ĉ"],[265,"ĉ"],[266,"Ċ"],[267,"ċ"],[268,"Č"],[269,"č"],[270,"Ď"],[271,"ď"],[272,"Đ"],[273,"đ"],[274,"Ē"],[275,"ē"],[278,"Ė"],[279,"ė"],[280,"Ę"],[281,"ę"],[282,"Ě"],[283,"ě"],[284,"Ĝ"],[285,"ĝ"],[286,"Ğ"],[287,"ğ"],[288,"Ġ"],[289,"ġ"],[290,"Ģ"],[292,"Ĥ"],[293,"ĥ"],[294,"Ħ"],[295,"ħ"],[296,"Ĩ"],[297,"ĩ"],[298,"Ī"],[299,"ī"],[302,"Į"],[303,"į"],[304,"İ"],[305,"ı"],[306,"IJ"],[307,"ij"],[308,"Ĵ"],[309,"ĵ"],[310,"Ķ"],[311,"ķ"],[312,"ĸ"],[313,"Ĺ"],[314,"ĺ"],[315,"Ļ"],[316,"ļ"],[317,"Ľ"],[318,"ľ"],[319,"Ŀ"],[320,"ŀ"],[321,"Ł"],[322,"ł"],[323,"Ń"],[324,"ń"],[325,"Ņ"],[326,"ņ"],[327,"Ň"],[328,"ň"],[329,"ʼn"],[330,"Ŋ"],[331,"ŋ"],[332,"Ō"],[333,"ō"],[336,"Ő"],[337,"ő"],[338,"Œ"],[339,"œ"],[340,"Ŕ"],[341,"ŕ"],[342,"Ŗ"],[343,"ŗ"],[344,"Ř"],[345,"ř"],[346,"Ś"],[347,"ś"],[348,"Ŝ"],[349,"ŝ"],[350,"Ş"],[351,"ş"],[352,"Š"],[353,"š"],[354,"Ţ"],[355,"ţ"],[356,"Ť"],[357,"ť"],[358,"Ŧ"],[359,"ŧ"],[360,"Ũ"],[361,"ũ"],[362,"Ū"],[363,"ū"],[364,"Ŭ"],[365,"ŭ"],[366,"Ů"],[367,"ů"],[368,"Ű"],[369,"ű"],[370,"Ų"],[371,"ų"],[372,"Ŵ"],[373,"ŵ"],[374,"Ŷ"],[375,"ŷ"],[376,"Ÿ"],[377,"Ź"],[378,"ź"],[379,"Ż"],[380,"ż"],[381,"Ž"],[382,"ž"],[402,"ƒ"],[437,"Ƶ"],[501,"ǵ"],[567,"ȷ"],[710,"ˆ"],[711,"ˇ"],[728,"˘"],[729,"˙"],[730,"˚"],[731,"˛"],[732,"˜"],[733,"˝"],[785,"̑"],[913,"Α"],[914,"Β"],[915,"Γ"],[916,"Δ"],[917,"Ε"],[918,"Ζ"],[919,"Η"],[920,"Θ"],[921,"Ι"],[922,"Κ"],[923,"Λ"],[924,"Μ"],[925,"Ν"],[926,"Ξ"],[927,"Ο"],[928,"Π"],[929,"Ρ"],[931,"Σ"],[932,"Τ"],[933,"Υ"],[934,"Φ"],[935,"Χ"],[936,"Ψ"],[937,"Ω"],[945,"α"],[946,"β"],[947,"γ"],[948,"δ"],[949,"ε"],[950,"ζ"],[951,"η"],[952,"θ"],[953,"ι"],[954,"κ"],[955,"λ"],[956,"μ"],[957,"ν"],[958,"ξ"],[959,"ο"],[960,"π"],[961,"ρ"],[962,"ς"],[963,"σ"],[964,"τ"],[965,"υ"],[966,"φ"],[967,"χ"],[968,"ψ"],[969,"ω"],[977,"ϑ"],[978,"ϒ"],[981,"ϕ"],[982,"ϖ"],[988,"Ϝ"],[989,"ϝ"],[1008,"ϰ"],[1009,"ϱ"],[1013,"ϵ"],[1014,"϶"],[1025,"Ё"],[1026,"Ђ"],[1027,"Ѓ"],[1028,"Є"],[1029,"Ѕ"],[1030,"І"],[1031,"Ї"],[1032,"Ј"],[1033,"Љ"],[1034,"Њ"],[1035,"Ћ"],[1036,"Ќ"],[1038,"Ў"],[1039,"Џ"],[1040,"А"],[1041,"Б"],[1042,"В"],[1043,"Г"],[1044,"Д"],[1045,"Е"],[1046,"Ж"],[1047,"З"],[1048,"И"],[1049,"Й"],[1050,"К"],[1051,"Л"],[1052,"М"],[1053,"Н"],[1054,"О"],[1055,"П"],[1056,"Р"],[1057,"С"],[1058,"Т"],[1059,"У"],[1060,"Ф"],[1061,"Х"],[1062,"Ц"],[1063,"Ч"],[1064,"Ш"],[1065,"Щ"],[1066,"Ъ"],[1067,"Ы"],[1068,"Ь"],[1069,"Э"],[1070,"Ю"],[1071,"Я"],[1072,"а"],[1073,"б"],[1074,"в"],[1075,"г"],[1076,"д"],[1077,"е"],[1078,"ж"],[1079,"з"],[1080,"и"],[1081,"й"],[1082,"к"],[1083,"л"],[1084,"м"],[1085,"н"],[1086,"о"],[1087,"п"],[1088,"р"],[1089,"с"],[1090,"т"],[1091,"у"],[1092,"ф"],[1093,"х"],[1094,"ц"],[1095,"ч"],[1096,"ш"],[1097,"щ"],[1098,"ъ"],[1099,"ы"],[1100,"ь"],[1101,"э"],[1102,"ю"],[1103,"я"],[1105,"ё"],[1106,"ђ"],[1107,"ѓ"],[1108,"є"],[1109,"ѕ"],[1110,"і"],[1111,"ї"],[1112,"ј"],[1113,"љ"],[1114,"њ"],[1115,"ћ"],[1116,"ќ"],[1118,"ў"],[1119,"џ"],[8194," "],[8195," "],[8196," "],[8197," "],[8199," "],[8200," "],[8201," "],[8202," "],[8203,"​"],[8204,"‌"],[8205,"‍"],[8206,"‎"],[8207,"‏"],[8208,"‐"],[8211,"–"],[8212,"—"],[8213,"―"],[8214,"‖"],[8216,"‘"],[8217,"’"],[8218,"‚"],[8220,"“"],[8221,"”"],[8222,"„"],[8224,"†"],[8225,"‡"],[8226,"•"],[8229,"‥"],[8230,"…"],[8240,"‰"],[8241,"‱"],[8242,"′"],[8243,"″"],[8244,"‴"],[8245,"‵"],[8249,"‹"],[8250,"›"],[8254,"‾"],[8257,"⁁"],[8259,"⁃"],[8260,"⁄"],[8271,"⁏"],[8279,"⁗"],[8287,{v:" ",n:8202,o:"  "}],[8288,"⁠"],[8289,"⁡"],[8290,"⁢"],[8291,"⁣"],[8364,"€"],[8411,"⃛"],[8412,"⃜"],[8450,"ℂ"],[8453,"℅"],[8458,"ℊ"],[8459,"ℋ"],[8460,"ℌ"],[8461,"ℍ"],[8462,"ℎ"],[8463,"ℏ"],[8464,"ℐ"],[8465,"ℑ"],[8466,"ℒ"],[8467,"ℓ"],[8469,"ℕ"],[8470,"№"],[8471,"℗"],[8472,"℘"],[8473,"ℙ"],[8474,"ℚ"],[8475,"ℛ"],[8476,"ℜ"],[8477,"ℝ"],[8478,"℞"],[8482,"™"],[8484,"ℤ"],[8487,"℧"],[8488,"ℨ"],[8489,"℩"],[8492,"ℬ"],[8493,"ℭ"],[8495,"ℯ"],[8496,"ℰ"],[8497,"ℱ"],[8499,"ℳ"],[8500,"ℴ"],[8501,"ℵ"],[8502,"ℶ"],[8503,"ℷ"],[8504,"ℸ"],[8517,"ⅅ"],[8518,"ⅆ"],[8519,"ⅇ"],[8520,"ⅈ"],[8531,"⅓"],[8532,"⅔"],[8533,"⅕"],[8534,"⅖"],[8535,"⅗"],[8536,"⅘"],[8537,"⅙"],[8538,"⅚"],[8539,"⅛"],[8540,"⅜"],[8541,"⅝"],[8542,"⅞"],[8592,"←"],[8593,"↑"],[8594,"→"],[8595,"↓"],[8596,"↔"],[8597,"↕"],[8598,"↖"],[8599,"↗"],[8600,"↘"],[8601,"↙"],[8602,"↚"],[8603,"↛"],[8605,{v:"↝",n:824,o:"↝̸"}],[8606,"↞"],[8607,"↟"],[8608,"↠"],[8609,"↡"],[8610,"↢"],[8611,"↣"],[8612,"↤"],[8613,"↥"],[8614,"↦"],[8615,"↧"],[8617,"↩"],[8618,"↪"],[8619,"↫"],[8620,"↬"],[8621,"↭"],[8622,"↮"],[8624,"↰"],[8625,"↱"],[8626,"↲"],[8627,"↳"],[8629,"↵"],[8630,"↶"],[8631,"↷"],[8634,"↺"],[8635,"↻"],[8636,"↼"],[8637,"↽"],[8638,"↾"],[8639,"↿"],[8640,"⇀"],[8641,"⇁"],[8642,"⇂"],[8643,"⇃"],[8644,"⇄"],[8645,"⇅"],[8646,"⇆"],[8647,"⇇"],[8648,"⇈"],[8649,"⇉"],[8650,"⇊"],[8651,"⇋"],[8652,"⇌"],[8653,"⇍"],[8654,"⇎"],[8655,"⇏"],[8656,"⇐"],[8657,"⇑"],[8658,"⇒"],[8659,"⇓"],[8660,"⇔"],[8661,"⇕"],[8662,"⇖"],[8663,"⇗"],[8664,"⇘"],[8665,"⇙"],[8666,"⇚"],[8667,"⇛"],[8669,"⇝"],[8676,"⇤"],[8677,"⇥"],[8693,"⇵"],[8701,"⇽"],[8702,"⇾"],[8703,"⇿"],[8704,"∀"],[8705,"∁"],[8706,{v:"∂",n:824,o:"∂̸"}],[8707,"∃"],[8708,"∄"],[8709,"∅"],[8711,"∇"],[8712,"∈"],[8713,"∉"],[8715,"∋"],[8716,"∌"],[8719,"∏"],[8720,"∐"],[8721,"∑"],[8722,"−"],[8723,"∓"],[8724,"∔"],[8726,"∖"],[8727,"∗"],[8728,"∘"],[8730,"√"],[8733,"∝"],[8734,"∞"],[8735,"∟"],[8736,{v:"∠",n:8402,o:"∠⃒"}],[8737,"∡"],[8738,"∢"],[8739,"∣"],[8740,"∤"],[8741,"∥"],[8742,"∦"],[8743,"∧"],[8744,"∨"],[8745,{v:"∩",n:65024,o:"∩︀"}],[8746,{v:"∪",n:65024,o:"∪︀"}],[8747,"∫"],[8748,"∬"],[8749,"∭"],[8750,"∮"],[8751,"∯"],[8752,"∰"],[8753,"∱"],[8754,"∲"],[8755,"∳"],[8756,"∴"],[8757,"∵"],[8758,"∶"],[8759,"∷"],[8760,"∸"],[8762,"∺"],[8763,"∻"],[8764,{v:"∼",n:8402,o:"∼⃒"}],[8765,{v:"∽",n:817,o:"∽̱"}],[8766,{v:"∾",n:819,o:"∾̳"}],[8767,"∿"],[8768,"≀"],[8769,"≁"],[8770,{v:"≂",n:824,o:"≂̸"}],[8771,"≃"],[8772,"≄"],[8773,"≅"],[8774,"≆"],[8775,"≇"],[8776,"≈"],[8777,"≉"],[8778,"≊"],[8779,{v:"≋",n:824,o:"≋̸"}],[8780,"≌"],[8781,{v:"≍",n:8402,o:"≍⃒"}],[8782,{v:"≎",n:824,o:"≎̸"}],[8783,{v:"≏",n:824,o:"≏̸"}],[8784,{v:"≐",n:824,o:"≐̸"}],[8785,"≑"],[8786,"≒"],[8787,"≓"],[8788,"≔"],[8789,"≕"],[8790,"≖"],[8791,"≗"],[8793,"≙"],[8794,"≚"],[8796,"≜"],[8799,"≟"],[8800,"≠"],[8801,{v:"≡",n:8421,o:"≡⃥"}],[8802,"≢"],[8804,{v:"≤",n:8402,o:"≤⃒"}],[8805,{v:"≥",n:8402,o:"≥⃒"}],[8806,{v:"≦",n:824,o:"≦̸"}],[8807,{v:"≧",n:824,o:"≧̸"}],[8808,{v:"≨",n:65024,o:"≨︀"}],[8809,{v:"≩",n:65024,o:"≩︀"}],[8810,{v:"≪",n:new Map([[824,"≪̸"],[8402,"≪⃒"]])}],[8811,{v:"≫",n:new Map([[824,"≫̸"],[8402,"≫⃒"]])}],[8812,"≬"],[8813,"≭"],[8814,"≮"],[8815,"≯"],[8816,"≰"],[8817,"≱"],[8818,"≲"],[8819,"≳"],[8820,"≴"],[8821,"≵"],[8822,"≶"],[8823,"≷"],[8824,"≸"],[8825,"≹"],[8826,"≺"],[8827,"≻"],[8828,"≼"],[8829,"≽"],[8830,"≾"],[8831,{v:"≿",n:824,o:"≿̸"}],[8832,"⊀"],[8833,"⊁"],[8834,{v:"⊂",n:8402,o:"⊂⃒"}],[8835,{v:"⊃",n:8402,o:"⊃⃒"}],[8836,"⊄"],[8837,"⊅"],[8838,"⊆"],[8839,"⊇"],[8840,"⊈"],[8841,"⊉"],[8842,{v:"⊊",n:65024,o:"⊊︀"}],[8843,{v:"⊋",n:65024,o:"⊋︀"}],[8845,"⊍"],[8846,"⊎"],[8847,{v:"⊏",n:824,o:"⊏̸"}],[8848,{v:"⊐",n:824,o:"⊐̸"}],[8849,"⊑"],[8850,"⊒"],[8851,{v:"⊓",n:65024,o:"⊓︀"}],[8852,{v:"⊔",n:65024,o:"⊔︀"}],[8853,"⊕"],[8854,"⊖"],[8855,"⊗"],[8856,"⊘"],[8857,"⊙"],[8858,"⊚"],[8859,"⊛"],[8861,"⊝"],[8862,"⊞"],[8863,"⊟"],[8864,"⊠"],[8865,"⊡"],[8866,"⊢"],[8867,"⊣"],[8868,"⊤"],[8869,"⊥"],[8871,"⊧"],[8872,"⊨"],[8873,"⊩"],[8874,"⊪"],[8875,"⊫"],[8876,"⊬"],[8877,"⊭"],[8878,"⊮"],[8879,"⊯"],[8880,"⊰"],[8882,"⊲"],[8883,"⊳"],[8884,{v:"⊴",n:8402,o:"⊴⃒"}],[8885,{v:"⊵",n:8402,o:"⊵⃒"}],[8886,"⊶"],[8887,"⊷"],[8888,"⊸"],[8889,"⊹"],[8890,"⊺"],[8891,"⊻"],[8893,"⊽"],[8894,"⊾"],[8895,"⊿"],[8896,"⋀"],[8897,"⋁"],[8898,"⋂"],[8899,"⋃"],[8900,"⋄"],[8901,"⋅"],[8902,"⋆"],[8903,"⋇"],[8904,"⋈"],[8905,"⋉"],[8906,"⋊"],[8907,"⋋"],[8908,"⋌"],[8909,"⋍"],[8910,"⋎"],[8911,"⋏"],[8912,"⋐"],[8913,"⋑"],[8914,"⋒"],[8915,"⋓"],[8916,"⋔"],[8917,"⋕"],[8918,"⋖"],[8919,"⋗"],[8920,{v:"⋘",n:824,o:"⋘̸"}],[8921,{v:"⋙",n:824,o:"⋙̸"}],[8922,{v:"⋚",n:65024,o:"⋚︀"}],[8923,{v:"⋛",n:65024,o:"⋛︀"}],[8926,"⋞"],[8927,"⋟"],[8928,"⋠"],[8929,"⋡"],[8930,"⋢"],[8931,"⋣"],[8934,"⋦"],[8935,"⋧"],[8936,"⋨"],[8937,"⋩"],[8938,"⋪"],[8939,"⋫"],[8940,"⋬"],[8941,"⋭"],[8942,"⋮"],[8943,"⋯"],[8944,"⋰"],[8945,"⋱"],[8946,"⋲"],[8947,"⋳"],[8948,"⋴"],[8949,{v:"⋵",n:824,o:"⋵̸"}],[8950,"⋶"],[8951,"⋷"],[8953,{v:"⋹",n:824,o:"⋹̸"}],[8954,"⋺"],[8955,"⋻"],[8956,"⋼"],[8957,"⋽"],[8958,"⋾"],[8965,"⌅"],[8966,"⌆"],[8968,"⌈"],[8969,"⌉"],[8970,"⌊"],[8971,"⌋"],[8972,"⌌"],[8973,"⌍"],[8974,"⌎"],[8975,"⌏"],[8976,"⌐"],[8978,"⌒"],[8979,"⌓"],[8981,"⌕"],[8982,"⌖"],[8988,"⌜"],[8989,"⌝"],[8990,"⌞"],[8991,"⌟"],[8994,"⌢"],[8995,"⌣"],[9005,"⌭"],[9006,"⌮"],[9014,"⌶"],[9021,"⌽"],[9023,"⌿"],[9084,"⍼"],[9136,"⎰"],[9137,"⎱"],[9140,"⎴"],[9141,"⎵"],[9142,"⎶"],[9180,"⏜"],[9181,"⏝"],[9182,"⏞"],[9183,"⏟"],[9186,"⏢"],[9191,"⏧"],[9251,"␣"],[9416,"Ⓢ"],[9472,"─"],[9474,"│"],[9484,"┌"],[9488,"┐"],[9492,"└"],[9496,"┘"],[9500,"├"],[9508,"┤"],[9516,"┬"],[9524,"┴"],[9532,"┼"],[9552,"═"],[9553,"║"],[9554,"╒"],[9555,"╓"],[9556,"╔"],[9557,"╕"],[9558,"╖"],[9559,"╗"],[9560,"╘"],[9561,"╙"],[9562,"╚"],[9563,"╛"],[9564,"╜"],[9565,"╝"],[9566,"╞"],[9567,"╟"],[9568,"╠"],[9569,"╡"],[9570,"╢"],[9571,"╣"],[9572,"╤"],[9573,"╥"],[9574,"╦"],[9575,"╧"],[9576,"╨"],[9577,"╩"],[9578,"╪"],[9579,"╫"],[9580,"╬"],[9600,"▀"],[9604,"▄"],[9608,"█"],[9617,"░"],[9618,"▒"],[9619,"▓"],[9633,"□"],[9642,"▪"],[9643,"▫"],[9645,"▭"],[9646,"▮"],[9649,"▱"],[9651,"△"],[9652,"▴"],[9653,"▵"],[9656,"▸"],[9657,"▹"],[9661,"▽"],[9662,"▾"],[9663,"▿"],[9666,"◂"],[9667,"◃"],[9674,"◊"],[9675,"○"],[9708,"◬"],[9711,"◯"],[9720,"◸"],[9721,"◹"],[9722,"◺"],[9723,"◻"],[9724,"◼"],[9733,"★"],[9734,"☆"],[9742,"☎"],[9792,"♀"],[9794,"♂"],[9824,"♠"],[9827,"♣"],[9829,"♥"],[9830,"♦"],[9834,"♪"],[9837,"♭"],[9838,"♮"],[9839,"♯"],[10003,"✓"],[10007,"✗"],[10016,"✠"],[10038,"✶"],[10072,"❘"],[10098,"❲"],[10099,"❳"],[10184,"⟈"],[10185,"⟉"],[10214,"⟦"],[10215,"⟧"],[10216,"⟨"],[10217,"⟩"],[10218,"⟪"],[10219,"⟫"],[10220,"⟬"],[10221,"⟭"],[10229,"⟵"],[10230,"⟶"],[10231,"⟷"],[10232,"⟸"],[10233,"⟹"],[10234,"⟺"],[10236,"⟼"],[10239,"⟿"],[10498,"⤂"],[10499,"⤃"],[10500,"⤄"],[10501,"⤅"],[10508,"⤌"],[10509,"⤍"],[10510,"⤎"],[10511,"⤏"],[10512,"⤐"],[10513,"⤑"],[10514,"⤒"],[10515,"⤓"],[10518,"⤖"],[10521,"⤙"],[10522,"⤚"],[10523,"⤛"],[10524,"⤜"],[10525,"⤝"],[10526,"⤞"],[10527,"⤟"],[10528,"⤠"],[10531,"⤣"],[10532,"⤤"],[10533,"⤥"],[10534,"⤦"],[10535,"⤧"],[10536,"⤨"],[10537,"⤩"],[10538,"⤪"],[10547,{v:"⤳",n:824,o:"⤳̸"}],[10549,"⤵"],[10550,"⤶"],[10551,"⤷"],[10552,"⤸"],[10553,"⤹"],[10556,"⤼"],[10557,"⤽"],[10565,"⥅"],[10568,"⥈"],[10569,"⥉"],[10570,"⥊"],[10571,"⥋"],[10574,"⥎"],[10575,"⥏"],[10576,"⥐"],[10577,"⥑"],[10578,"⥒"],[10579,"⥓"],[10580,"⥔"],[10581,"⥕"],[10582,"⥖"],[10583,"⥗"],[10584,"⥘"],[10585,"⥙"],[10586,"⥚"],[10587,"⥛"],[10588,"⥜"],[10589,"⥝"],[10590,"⥞"],[10591,"⥟"],[10592,"⥠"],[10593,"⥡"],[10594,"⥢"],[10595,"⥣"],[10596,"⥤"],[10597,"⥥"],[10598,"⥦"],[10599,"⥧"],[10600,"⥨"],[10601,"⥩"],[10602,"⥪"],[10603,"⥫"],[10604,"⥬"],[10605,"⥭"],[10606,"⥮"],[10607,"⥯"],[10608,"⥰"],[10609,"⥱"],[10610,"⥲"],[10611,"⥳"],[10612,"⥴"],[10613,"⥵"],[10614,"⥶"],[10616,"⥸"],[10617,"⥹"],[10619,"⥻"],[10620,"⥼"],[10621,"⥽"],[10622,"⥾"],[10623,"⥿"],[10629,"⦅"],[10630,"⦆"],[10635,"⦋"],[10636,"⦌"],[10637,"⦍"],[10638,"⦎"],[10639,"⦏"],[10640,"⦐"],[10641,"⦑"],[10642,"⦒"],[10643,"⦓"],[10644,"⦔"],[10645,"⦕"],[10646,"⦖"],[10650,"⦚"],[10652,"⦜"],[10653,"⦝"],[10660,"⦤"],[10661,"⦥"],[10662,"⦦"],[10663,"⦧"],[10664,"⦨"],[10665,"⦩"],[10666,"⦪"],[10667,"⦫"],[10668,"⦬"],[10669,"⦭"],[10670,"⦮"],[10671,"⦯"],[10672,"⦰"],[10673,"⦱"],[10674,"⦲"],[10675,"⦳"],[10676,"⦴"],[10677,"⦵"],[10678,"⦶"],[10679,"⦷"],[10681,"⦹"],[10683,"⦻"],[10684,"⦼"],[10686,"⦾"],[10687,"⦿"],[10688,"⧀"],[10689,"⧁"],[10690,"⧂"],[10691,"⧃"],[10692,"⧄"],[10693,"⧅"],[10697,"⧉"],[10701,"⧍"],[10702,"⧎"],[10703,{v:"⧏",n:824,o:"⧏̸"}],[10704,{v:"⧐",n:824,o:"⧐̸"}],[10716,"⧜"],[10717,"⧝"],[10718,"⧞"],[10723,"⧣"],[10724,"⧤"],[10725,"⧥"],[10731,"⧫"],[10740,"⧴"],[10742,"⧶"],[10752,"⨀"],[10753,"⨁"],[10754,"⨂"],[10756,"⨄"],[10758,"⨆"],[10764,"⨌"],[10765,"⨍"],[10768,"⨐"],[10769,"⨑"],[10770,"⨒"],[10771,"⨓"],[10772,"⨔"],[10773,"⨕"],[10774,"⨖"],[10775,"⨗"],[10786,"⨢"],[10787,"⨣"],[10788,"⨤"],[10789,"⨥"],[10790,"⨦"],[10791,"⨧"],[10793,"⨩"],[10794,"⨪"],[10797,"⨭"],[10798,"⨮"],[10799,"⨯"],[10800,"⨰"],[10801,"⨱"],[10803,"⨳"],[10804,"⨴"],[10805,"⨵"],[10806,"⨶"],[10807,"⨷"],[10808,"⨸"],[10809,"⨹"],[10810,"⨺"],[10811,"⨻"],[10812,"⨼"],[10815,"⨿"],[10816,"⩀"],[10818,"⩂"],[10819,"⩃"],[10820,"⩄"],[10821,"⩅"],[10822,"⩆"],[10823,"⩇"],[10824,"⩈"],[10825,"⩉"],[10826,"⩊"],[10827,"⩋"],[10828,"⩌"],[10829,"⩍"],[10832,"⩐"],[10835,"⩓"],[10836,"⩔"],[10837,"⩕"],[10838,"⩖"],[10839,"⩗"],[10840,"⩘"],[10842,"⩚"],[10843,"⩛"],[10844,"⩜"],[10845,"⩝"],[10847,"⩟"],[10854,"⩦"],[10858,"⩪"],[10861,{v:"⩭",n:824,o:"⩭̸"}],[10862,"⩮"],[10863,"⩯"],[10864,{v:"⩰",n:824,o:"⩰̸"}],[10865,"⩱"],[10866,"⩲"],[10867,"⩳"],[10868,"⩴"],[10869,"⩵"],[10871,"⩷"],[10872,"⩸"],[10873,"⩹"],[10874,"⩺"],[10875,"⩻"],[10876,"⩼"],[10877,{v:"⩽",n:824,o:"⩽̸"}],[10878,{v:"⩾",n:824,o:"⩾̸"}],[10879,"⩿"],[10880,"⪀"],[10881,"⪁"],[10882,"⪂"],[10883,"⪃"],[10884,"⪄"],[10885,"⪅"],[10886,"⪆"],[10887,"⪇"],[10888,"⪈"],[10889,"⪉"],[10890,"⪊"],[10891,"⪋"],[10892,"⪌"],[10893,"⪍"],[10894,"⪎"],[10895,"⪏"],[10896,"⪐"],[10897,"⪑"],[10898,"⪒"],[10899,"⪓"],[10900,"⪔"],[10901,"⪕"],[10902,"⪖"],[10903,"⪗"],[10904,"⪘"],[10905,"⪙"],[10906,"⪚"],[10909,"⪝"],[10910,"⪞"],[10911,"⪟"],[10912,"⪠"],[10913,{v:"⪡",n:824,o:"⪡̸"}],[10914,{v:"⪢",n:824,o:"⪢̸"}],[10916,"⪤"],[10917,"⪥"],[10918,"⪦"],[10919,"⪧"],[10920,"⪨"],[10921,"⪩"],[10922,"⪪"],[10923,"⪫"],[10924,{v:"⪬",n:65024,o:"⪬︀"}],[10925,{v:"⪭",n:65024,o:"⪭︀"}],[10926,"⪮"],[10927,{v:"⪯",n:824,o:"⪯̸"}],[10928,{v:"⪰",n:824,o:"⪰̸"}],[10931,"⪳"],[10932,"⪴"],[10933,"⪵"],[10934,"⪶"],[10935,"⪷"],[10936,"⪸"],[10937,"⪹"],[10938,"⪺"],[10939,"⪻"],[10940,"⪼"],[10941,"⪽"],[10942,"⪾"],[10943,"⪿"],[10944,"⫀"],[10945,"⫁"],[10946,"⫂"],[10947,"⫃"],[10948,"⫄"],[10949,{v:"⫅",n:824,o:"⫅̸"}],[10950,{v:"⫆",n:824,o:"⫆̸"}],[10951,"⫇"],[10952,"⫈"],[10955,{v:"⫋",n:65024,o:"⫋︀"}],[10956,{v:"⫌",n:65024,o:"⫌︀"}],[10959,"⫏"],[10960,"⫐"],[10961,"⫑"],[10962,"⫒"],[10963,"⫓"],[10964,"⫔"],[10965,"⫕"],[10966,"⫖"],[10967,"⫗"],[10968,"⫘"],[10969,"⫙"],[10970,"⫚"],[10971,"⫛"],[10980,"⫤"],[10982,"⫦"],[10983,"⫧"],[10984,"⫨"],[10985,"⫩"],[10987,"⫫"],[10988,"⫬"],[10989,"⫭"],[10990,"⫮"],[10991,"⫯"],[10992,"⫰"],[10993,"⫱"],[10994,"⫲"],[10995,"⫳"],[11005,{v:"⫽",n:8421,o:"⫽⃥"}],[55349,{n:new Map([[56476,"𝒜"],[56478,"𝒞"],[56479,"𝒟"],[56482,"𝒢"],[56485,"𝒥"],[56486,"𝒦"],[56489,"𝒩"],[56490,"𝒪"],[56491,"𝒫"],[56492,"𝒬"],[56494,"𝒮"],[56495,"𝒯"],[56496,"𝒰"],[56497,"𝒱"],[56498,"𝒲"],[56499,"𝒳"],[56500,"𝒴"],[56501,"𝒵"],[56502,"𝒶"],[56503,"𝒷"],[56504,"𝒸"],[56505,"𝒹"],[56507,"𝒻"],[56509,"𝒽"],[56510,"𝒾"],[56511,"𝒿"],[56512,"𝓀"],[56513,"𝓁"],[56514,"𝓂"],[56515,"𝓃"],[56517,"𝓅"],[56518,"𝓆"],[56519,"𝓇"],[56520,"𝓈"],[56521,"𝓉"],[56522,"𝓊"],[56523,"𝓋"],[56524,"𝓌"],[56525,"𝓍"],[56526,"𝓎"],[56527,"𝓏"],[56580,"𝔄"],[56581,"𝔅"],[56583,"𝔇"],[56584,"𝔈"],[56585,"𝔉"],[56586,"𝔊"],[56589,"𝔍"],[56590,"𝔎"],[56591,"𝔏"],[56592,"𝔐"],[56593,"𝔑"],[56594,"𝔒"],[56595,"𝔓"],[56596,"𝔔"],[56598,"𝔖"],[56599,"𝔗"],[56600,"𝔘"],[56601,"𝔙"],[56602,"𝔚"],[56603,"𝔛"],[56604,"𝔜"],[56606,"𝔞"],[56607,"𝔟"],[56608,"𝔠"],[56609,"𝔡"],[56610,"𝔢"],[56611,"𝔣"],[56612,"𝔤"],[56613,"𝔥"],[56614,"𝔦"],[56615,"𝔧"],[56616,"𝔨"],[56617,"𝔩"],[56618,"𝔪"],[56619,"𝔫"],[56620,"𝔬"],[56621,"𝔭"],[56622,"𝔮"],[56623,"𝔯"],[56624,"𝔰"],[56625,"𝔱"],[56626,"𝔲"],[56627,"𝔳"],[56628,"𝔴"],[56629,"𝔵"],[56630,"𝔶"],[56631,"𝔷"],[56632,"𝔸"],[56633,"𝔹"],[56635,"𝔻"],[56636,"𝔼"],[56637,"𝔽"],[56638,"𝔾"],[56640,"𝕀"],[56641,"𝕁"],[56642,"𝕂"],[56643,"𝕃"],[56644,"𝕄"],[56646,"𝕆"],[56650,"𝕊"],[56651,"𝕋"],[56652,"𝕌"],[56653,"𝕍"],[56654,"𝕎"],[56655,"𝕏"],[56656,"𝕐"],[56658,"𝕒"],[56659,"𝕓"],[56660,"𝕔"],[56661,"𝕕"],[56662,"𝕖"],[56663,"𝕗"],[56664,"𝕘"],[56665,"𝕙"],[56666,"𝕚"],[56667,"𝕛"],[56668,"𝕜"],[56669,"𝕝"],[56670,"𝕞"],[56671,"𝕟"],[56672,"𝕠"],[56673,"𝕡"],[56674,"𝕢"],[56675,"𝕣"],[56676,"𝕤"],[56677,"𝕥"],[56678,"𝕦"],[56679,"𝕧"],[56680,"𝕨"],[56681,"𝕩"],[56682,"𝕪"],[56683,"𝕫"]])}],[64256,"ff"],[64257,"fi"],[64258,"fl"],[64259,"ffi"],[64260,"ffl"]]);const Cc=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);String.prototype.codePointAt;function xc(e,t){return function(i){let n,o=0,s="";for(;n=e.exec(i);)o!==n.index&&(s+=i.substring(o,n.index)),s+=t.get(n[0].charCodeAt(0)),o=n.index+1;return s+i.substring(o)}}xc(/[&<>'"]/g,Cc),xc(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),xc(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var Sc,kc,_c;!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(Sc||(Sc={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict"}(kc||(kc={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(_c||(_c={}));new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),new Set(["svg","math"]);var Ic;!function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(Ic||(Ic={}));const Tc=["class","style"],Dc={parseTags:{type:Array,default:()=>["br","li","ul","ol","a","span","b","p"]},allowAttrs:{type:Array,default:()=>[]},stopPropagation:{type:Boolean,default:!1},linkTags:{type:Array,default:()=>["a","span"]},text:{type:String,default:""}};function Lc(e,t){if(ta(t))return t;const{name:i,rawProps:n,children:o}=t;return Ad(e,i,n,o.map((t=>Lc(e,t))))}const Ac=(e,t,i)=>{const n=[],o=[];return new dc({onopentag(e,s){if(!t.parseTags.includes(e))return;const r=n.length>0?n[n.length-1]:null,a=((e,n,o)=>{const s=Object.entries(n).reduce(((e,i)=>{let[n,o]=i;return(t.allowAttrs.includes(n)||Tc.includes(n))&&(e[n]=o),e}),{});return o?{name:e,rawProps:{attrs:s,on:{click:e=>{t.stopPropagation&&e.stopPropagation(),function(e,t){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];e.emit(t,...n)}(i,"click-link",n["link-id"],s)}}},children:[]}:{name:e,rawProps:{attrs:s},children:[]}})(e,s,t.linkTags.includes(e));r?r.children.push(a):o.push(a),n.push(a)},ontext(e){const t=n.length>0?n[n.length-1]:null;t?t.children.push(e):o.push(e)},onclosetag(e){t.parseTags.includes(e)&&n.pop()}}).write(t.text),o.map((t=>Lc(e,t)))};let Ec;Ec=function(e,t){return Ac(void 0,e,t)},Ec.componentName="RichText",Ec.props=Dc,Ec.emits=["click-link"];d(6064),d(2871);const Mc="undefined"==typeof window;var Bc=on({beforeCreate(){this.$i18n?this._i18n=this.$i18n:this._i18n=function(e,t){let i="";return Mc||(window&&window._T&&(i=window._T(e,t)),(ua(n=i)||!ca(n))&&(i=`${e}:${t}`)),i;var n}}});function Oc(e){return{all:e=e||new Map,on:function(t,i){var n=e.get(t);n?n.push(i):e.set(t,[i])},off:function(t,i){var n=e.get(t);n&&(i?n.splice(n.indexOf(i)>>>0,1):e.set(t,[]))},emit:function(t,i){var n=e.get(t);n&&n.slice().map((function(e){e(i)})),(n=e.get("*"))&&n.slice().map((function(e){e(t,i)}))}}}const $c=new WeakMap;function Fc(e){let t=$c.get(e);return t||$c.set(e,t=Oc()),t}const Vc=(e,t,i)=>(Fc(e).on(t,(e=>{i(...e)})),()=>Pc(e,t,i)),Pc=(e,t,i)=>{Fc(e).off(t,i)},Nc=function(e,t){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];Fc(e).emit(t,n),e.$emit(t,...n)};function Rc(e){const t=e.$.subTree;let i=[];return t&&(i=(e=>{const t=[e],i=[];for(;t.length>0;){const e=t.shift(),n=e?.component?.proxy;if(n&&i.push(n),Array.isArray(e?.children)&&t.push(...e?.children),e?.component?.subTree){const i=e?.component.subTree;t.push(i)}}return i})(t)),i}function Hc(e,t,i){for(const n of Rc(this))n.$options.name===e&&Nc(n,...[t].concat(i))}function zc(e,t,i,n,o){let s=this.$parent||this.$root;const r=e=>!n||e[n.key]===n.value;for(;s&&(!o||o!==s.$options.name);){if(s.$options.name===e&&r(s))return void Nc(s,...[t].concat(i));s=s.$parent}}var Wc={methods:{dispatch(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];zc.apply(this,t)},broadcast(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];Hc.apply(this,t)}}};const jc={Enter:"enter",Done:"done",Go:"go",Next:"next",Previous:"previous",Search:"search",Send:"send"};d(3761);const Uc=!Mc&&"navigator"in window?window.navigator.userAgent.toLowerCase():"node",Gc=function(e){return e.test(Uc)},qc=Mc?null:document;Mc||null===qc||"documentMode"in qc&&qc.documentMode,Mc||null==qc||qc.compatMode;const Yc=Gc(/opera/),Kc=Gc(/\bchrome\b/),Zc=Gc(/webkit/),Jc=!Kc&&Gc(/safari/);Jc&&Gc(/applewebkit\/4/),Jc&&Gc(/version\/3/),Jc&&Gc(/version\/4/);const Qc=!Yc&&Gc(/msie/);Qc&&Gc(/msie 7/),Qc&&Gc(/msie 8/),Qc&&Gc(/msie 9/);const Xc=!Zc&&Gc(/gecko/);Xc&&Gc(/rv:1\.8/),Xc&&Gc(/rv:1\.9/),Gc(/windows|win32/);const eu=Gc(/macintosh|mac os x/);function tu(e,t){const i=new RegExp("Version/([0-9._]+).*Safari").exec(Uc);try{if(i)switch(e){case"=":return parseFloat(i[1])===t;case">":return parseFloat(i[1])>t;case">=":return parseFloat(i[1])>=t;case"<":return parseFloat(i[1])<t;case"<=":return parseFloat(i[1])<=t;default:return!1}return!1}catch{return!1}}Gc(/adobeair/),Gc(/linux/);var iu=(()=>{if("undefined"!=typeof window)return window})();const nu={enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,backspace:8,insert:45,pageup:33,pagedown:34};function ou(e){return!!e&&(eu?e.metaKey:e.ctrlKey)}function su(e){return!!e&&(e.code?"Space"===e.code:e.keyCode===nu.space)}function ru(e){return!!e&&e.shiftKey}function au(e){return uu(e)}function lu(e){return hu(e)}function du(e){return e.key?"ArrowUp"===e.key||"Up"===e.key||"up"===e.key:e.keyCode===nu.up}function cu(e){return e.key?"ArrowDown"===e.key||"Down"===e.key||"down"===e.key:e.keyCode===nu.down}function uu(e){return e.key?"ArrowLeft"===e.key||"Left"===e.key||"left"===e.key:e.keyCode===nu.left}function hu(e){return e.key?"ArrowRight"===e.key||"Right"===e.key||"right"===e.key:e.keyCode===nu.right}function pu(e){return e.key?"Enter"===e.key||"enter"===e.key:e.keyCode===nu.enter}function fu(e){return e.key?"Backspace"===e.key||"backspace"===e.key:e.keyCode===nu.backspace}function mu(e){return e.key?"Delete"===e.key||"delete"===e.key:e.keyCode===nu.delete}function gu(e,t){const i=e.split("."),n=function(e,t,i,n){const o=i.eventInterface,s=i.bubbles,r=i.cancelable;return new("function"==typeof window[o]?window[o]:window.Event)(e,{bubbles:s,cancelable:r,keyCode:nu[t],...n})}(i[0],i[1],{eventInterface:"Event",cancelable:!0,bubbles:!0},t),o=Object.getPrototypeOf(n);return Object.keys(t||{}).forEach((function(e){const i=Object.getOwnPropertyDescriptor(o,e);(!i||void 0!==i.set)&&(n[e]=t[e])})),n}function vu(e){return ca(iu?.TouchEvent)&&e instanceof TouchEvent}function yu(e){return vu(e)?[e.targetTouches[0].pageX,e.targetTouches[0].pageY]:[e.pageX,e.pageY]}function bu(e){return ca(iu?.MouseEvent)&&e instanceof MouseEvent}var wu=on({mixins:[Wc,Aa("data-table"),Aa("form-controls-group")],props:{subscribeField:{type:String,default:void 0},activeFormItem:{type:Boolean,default:!0},enterKey:{type:String,default:jc.Enter,validator:e=>!e||Object.values(jc).includes(e)},boundaryComponentName:{type:String,default:"Portal"}},emits:["focus-next-field","focus-prev-field","blur"],data:()=>({validateByField:!1,disabledKey:"disabled"}),mounted(){const e=this["form-controls-group"]?.instance?.deactiveChildrenFormItems?.();if(e){const t=ia(e)?e():e;if(oa(t)){if(t)return}else if(va(this,t))return}this.activeFormItem&&(this.subscribeField?this.dispatch("FormItem","form.register",[this,this.subscribeField],{key:"registerKey",value:this.subscribeField},this.boundaryComponentName):(this["data-table"]&&this["data-table"].register(this,(()=>{this.inDataTableBehavior()})),this.dispatch("FormItem","form.register",[this,this.subscribeField],!1,this.boundaryComponentName)))},[Pa](){this.activeFormItem&&(this.subscribeField?this.dispatch("FormItem","form.unregister",[this,this.subscribeField],{key:"registerKey",value:this.subscribeField},this.boundaryComponentName):this.dispatch("FormItem","form.unregister",[this,this.subscribeField],!1,this.boundaryComponentName))},methods:{handleEnterKeyHint(e){pu(e)&&(this.enterKey===jc.Next?Nc(this,"focus-next-field"):this.enterKey===jc.Previous&&Nc(this,"focus-prev-field"))},validate(){},inDataTableBehavior(){},onBlur(e){Nc(this,"blur",e)}}});function Cu(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function xu(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function Su(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var i=getComputedStyle(e,null);return xu(i.overflowY,t)||xu(i.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function ku(e,t,i,n,o,s,r,a){return s<e&&r>t||s>e&&r<t?0:s<=e&&a<=i||r>=t&&a>=i?s-e-n:r>t&&a<i||s<e&&a>i?r-t+o:0}var _u=function(e,t){var i=window,n=t.scrollMode,o=t.block,s=t.inline,r=t.boundary,a=t.skipOverflowHiddenElements,l="function"==typeof r?r:function(e){return e!==r};if(!Cu(e))throw new TypeError("Invalid target");for(var d,c,u=document.scrollingElement||document.documentElement,h=[],p=e;Cu(p)&&l(p);){if((p=null==(c=(d=p).parentElement)?d.getRootNode().host||null:c)===u){h.push(p);break}null!=p&&p===document.body&&Su(p)&&!Su(document.documentElement)||null!=p&&Su(p,a)&&h.push(p)}for(var f=i.visualViewport?i.visualViewport.width:innerWidth,m=i.visualViewport?i.visualViewport.height:innerHeight,g=window.scrollX||pageXOffset,v=window.scrollY||pageYOffset,y=e.getBoundingClientRect(),b=y.height,w=y.width,C=y.top,x=y.right,S=y.bottom,k=y.left,_="start"===o||"nearest"===o?C:"end"===o?S:C+b/2,I="center"===s?k+w/2:"end"===s?x:k,T=[],D=0;D<h.length;D++){var L=h[D],A=L.getBoundingClientRect(),E=A.height,M=A.width,B=A.top,O=A.right,$=A.bottom,F=A.left;if("if-needed"===n&&C>=0&&k>=0&&S<=m&&x<=f&&C>=B&&S<=$&&k>=F&&x<=O)return T;var V=getComputedStyle(L),P=parseInt(V.borderLeftWidth,10),N=parseInt(V.borderTopWidth,10),R=parseInt(V.borderRightWidth,10),H=parseInt(V.borderBottomWidth,10),z=0,W=0,j="offsetWidth"in L?L.offsetWidth-L.clientWidth-P-R:0,U="offsetHeight"in L?L.offsetHeight-L.clientHeight-N-H:0,G="offsetWidth"in L?0===L.offsetWidth?0:M/L.offsetWidth:0,q="offsetHeight"in L?0===L.offsetHeight?0:E/L.offsetHeight:0;if(u===L)z="start"===o?_:"end"===o?_-m:"nearest"===o?ku(v,v+m,m,N,H,v+_,v+_+b,b):_-m/2,W="start"===s?I:"center"===s?I-f/2:"end"===s?I-f:ku(g,g+f,f,P,R,g+I,g+I+w,w),z=Math.max(0,z+v),W=Math.max(0,W+g);else{z="start"===o?_-B-N:"end"===o?_-$+H+U:"nearest"===o?ku(B,$,E,N,H+U,_,_+b,b):_-(B+E/2)+U/2,W="start"===s?I-F-P:"center"===s?I-(F+M/2)+j/2:"end"===s?I-O+R+j:ku(F,O,M,P,R+j,I,I+w,w);var Y=L.scrollLeft,K=L.scrollTop;_+=K-(z=Math.max(0,Math.min(K+z/q,L.scrollHeight-E/q+U))),I+=Y-(W=Math.max(0,Math.min(Y+W/G,L.scrollWidth-M/G+j)))}T.push({el:L,top:z,left:W})}return T};function Iu(e){return e===Object(e)&&0!==Object.keys(e).length}var Tu,Du=function(e,t){var i=e.isConnected||e.ownerDocument.documentElement.contains(e);if(Iu(t)&&"function"==typeof t.behavior)return t.behavior(i?_u(e,t):[]);if(i){var n=function(e){return!1===e?{block:"end",inline:"nearest"}:Iu(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var i="scrollBehavior"in document.body.style;e.forEach((function(e){var n=e.el,o=e.top,s=e.left;n.scroll&&i?n.scroll({top:o,left:s,behavior:t}):(n.scrollTop=o,n.scrollLeft=s)}))}(_u(e,n),n.behavior)}},Lu=function(){return Tu||(Tu="performance"in window?performance.now.bind(performance):Date.now),Tu()};function Au(e){var t=Lu(),i=Math.min((t-e.startTime)/e.duration,1),n=e.ease(i),o=e.startX+(e.x-e.startX)*n,s=e.startY+(e.y-e.startY)*n;e.method(o,s),o!==e.x||s!==e.y?requestAnimationFrame((function(){return Au(e)})):e.cb()}function Eu(e,t,i,n,o,s){var r,a,l,d;void 0===n&&(n=600),void 0===o&&(o=function(e){return 1+--e*e*e*e*e}),r=e,a=e.scrollLeft,l=e.scrollTop,d=function(t,i){e.scrollLeft=Math.ceil(t),e.scrollTop=Math.ceil(i)},Au({scrollable:r,method:d,startTime:Lu(),startX:a,startY:l,x:t,y:i,duration:n,ease:o,cb:s})}var Mu=function(e,t){var i=t||{};return function(e){return e&&!e.behavior||"smooth"===e.behavior}(i)?Du(e,{block:i.block,inline:i.inline,scrollMode:i.scrollMode,boundary:i.boundary,behavior:function(e){return Promise.all(e.reduce((function(e,t){var n=t.el,o=t.left,s=t.top,r=n.scrollLeft,a=n.scrollTop;return r===o&&a===s?e:[].concat(e,[new Promise((function(e){return Eu(n,o,s,i.duration,i.ease,(function(){return e({el:n,left:[r,o],top:[a,s]})}))}))])}),[]))}}):Promise.resolve(Du(e,t))},Bu=Mu;function Ou(e,t){return e.closest(t)}function $u(e,t,i){const n=pa(e)?e.getBoundingClientRect():e;return n.right>=t&&n.left<=t&&n.bottom>=i&&n.top<=i}function Fu(e,t,i){const n=e&&e.style;if(n){if(null==i){let i={};return document.defaultView&&document.defaultView.getComputedStyle&&(i=document.defaultView.getComputedStyle(e,"")),void 0===t?i:i[t]}t&&(t in n||-1!==t.indexOf("webkit")||(t="-webkit-"+t),n[t]=i+("string"==typeof i?"":"px"))}}function Vu(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=n.offsetX??0,s=n.offsetY??0;Fu(e,"left",`${t+o}px`),Fu(e,"top",`${i+s}px`)}function Pu(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};fa(t)||(t=[t]);const o=[];for(const s of t)e.addEventListener(s,i,n),o.push((()=>{Ru(e,s,i,n)}));return()=>{for(const e of o)e()}}function Nu(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n.once=!0,fa(t)||(t=[t]);const o=[];for(const s of t)e.addEventListener(s,i,n),o.push((()=>{Ru(e,s,i,n)}));return()=>{for(const e of o)e()}}function Ru(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e.removeEventListener(t,i,n)}function Hu(e,t){let i,n;t&&(i=t.scrollTop,n=t.scrollLeft),e?.focus({preventScroll:!0}),t&&t.scrollTo&&"number"==typeof i&&"number"==typeof n&&t.scrollTo(i,n)}function zu(e,t){return Bu(e,{behavior:"auto",inline:"nearest",block:"nearest",...t})}function Wu(e){return Xc?e.relatedTarget:e.relatedTarget??document.activeElement}function ju(e,t){return e.classList.contains?e.classList.contains(t):e.className.indexOf(t)>=0}function Uu(e,t){if(e.classList.add)for(const i of t.split(" "))e.classList.add(i);else e.className.indexOf(t)<0&&(e.className+=` ${t}`);return()=>{Gu(e,t)}}function Gu(e,t){e.classList.remove?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,""))}function qu(e){let t;return"function"==typeof Event?t=new Event(e):(t=document.createEvent("Event"),t.initEvent(e,!0,!0)),t}function Yu(e){return window.requestAnimationFrame?window.requestAnimationFrame(e):setTimeout(e,16)}function Ku(e){return e?String(e).replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,""").replace(/\s/g," "):e}let Zu;function Ju(e){Zu=Zu??document.createElement("canvas");const t=Fu(e,"font-size"),i=Fu(e,"font-family"),n=Zu.getContext("2d");return n&&(n.font=`${t} ${i}`),n?.measureText(e.value)}function Qu(e){const t=Fu(e,"overflow-y");return["scroll","auto","overlay"].includes(t)}function Xu(){return/jsDebug=script/.test(window.location.search)||Ha}function eh(e,t,i){return function(e,t){Xu()?ih(`[DEPRECATED] ${e}`,t):nh(`[DEPRECATED] ${e}`,t)}(`'${e}' is deprecated, use '${t}' instead.`,i)}function th(e,t){if(Xu()){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];ih(`${e}`,t,...n)}}function ih(e,t){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];console.error(oh(e,t),...n)}function nh(e,t){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];console.warn(oh(e,t),...n)}function oh(e,t){return`[SynoVueComponents] ${e}`}function sh(e,t,i){return e[t]=i,i}function rh(e,t){delete e[t]}const ah=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=Ct({}),i={open:function(e){const{to:i,from:n,content:o,order:s=1/0}=e;if(!i||!n||!o)return;t[i]||sh(t,i,{});sh(t[i],n,{to:i,from:n,content:o,order:s})},close:function(e){const{to:i,from:n}=e;if(!i||!n)return;const o=t[i];o&&(rh(o,n),o.size||rh(t,i))},transports:t,getContentForTarget:function(e,i){const n=t[e];if(!n)return[];const o=Object.values(n)??[];return i?o.sort(((e,t)=>(e?.order??0)-(t?.order??0))):o.length>0?[o[o.length-1]]:[]}};return e?xt(i):i}();function lh(){return ah}class dh{constructor(e){this.baseZIndex=e.baseZIndex||2e4,this.popupContainer=e.popupContainer,this.tipContainer=e.tipContainer,this.zIndex=this.baseZIndex,this.acquireCount=0}getPopupContainer(){return ta(this.popupContainer)?this.popupContainer:this.popupContainer?.()}getTipContainerEl(){let e;return ia(this.tipContainer)&&(e=this.tipContainer?.()),ta(this.tipContainer)&&(e=this.tipContainer),ta(e)?document.querySelector(e):e}acquireZIndex(){return this.acquireCount++,++this.zIndex}releaseZIndex(){this.acquireCount--,this.acquireCount<=0&&(this.acquireCount=0,this.zIndex=this.baseZIndex)}}const ch=za();let uh=()=>{ih("you are not install PopupManagerPlugin yet, please install it first")};const hh=Ma({},(function(e){uh=Ra(e,"$popupManager",new dh(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),ch)}));function ph(e){return mh(e)?(e.nodeName||"").toLowerCase():"#document"}function fh(e){return e instanceof HTMLElement}function mh(e){return e instanceof Node}function gh(e){return e.parentNode??function(e){return((mh(e)?e.ownerDocument:e.document)??window.document)?.documentElement}(e)}function vh(e){return["table","td","th"].includes(ph(e))}function yh(e,t){return getComputedStyle(e).position===t}function bh(e){const t=!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none"),i=pa(e)?getComputedStyle(e):e;return"none"!==i.transform||"none"!==i.perspective||!!i.containerType&&"normal"!==i.containerType||!t&&!!i.backdropFilter&&"none"!==i.backdropFilter||!t&&!!i.filter&&"none"!==i.filter||["transform","perspective","filter"].some((e=>(i.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(i.contain||"").includes(e)))}function wh(e){return["html","body","#document"].includes(ph(e))}function Ch(e){return!fh(e)||yh(e,"fixed")?null:e.offsetParent}function xh(e){const t=function(e){return e.ownerDocument.defaultView??window}(e);let i=Ch(e);for(;i&&vh(i)&&yh(i,"static");)i=Ch(i);return i&&wh(i)&&yh(i,"static")&&!bh(i)?t:i||function(e){let t=gh(e);for(;fh(t)&&!wh(t);){if(bh(t))return t;t=gh(t)}return null}(e)||t}const Sh=/^([a-z]+)?->([a-z]+)?$/;function kh(e){return"hidden"===Fu(e,"overflow")}function _h(e,t){if(pa(e)){const t=e.getBoundingClientRect();return{top:t.top,left:t.left,width:t.width,height:t.height}}return na(e)||function(e){return e instanceof DOMRect}(e)?{top:e.top,left:e.left,width:e.width,height:e.height}:fa(e)?{left:t[0],top:t[1],width:0,height:0}:e}function Ih(e){return"t"===e?"top":"b"===e?"bottom":"l"===e?"left":"r"===e?"right":e}function Th(e){const t={...e,right:0,bottom:0};return sa(e.left)&&sa(e.width)&&(t.right=e.left+e.width),sa(e.top)&&sa(e.height)&&(t.bottom=e.top+e.height),t}function Dh(e){return"width"in e&&sa(e.width)?e.width:"offsetWidth"in e&&sa(e.offsetWidth)?e.offsetWidth:0}function Lh(e){return"height"in e&&sa(e.height)?e.height:"offsetHeight"in e&&sa(e.offsetHeight)?e.offsetHeight:0}function Ah(e,t,i,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:["none"],{constrainMinSize:s=0}=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},r="end",a="none",l="none";const d=i+t>e.size,c=i<e.scrollBeginPoint;if(o.includes("shift"))l="shift",(c||d)&&(a="shift",r=c?"begin":"end");else if(o.includes("constrain-size")){let o=t;l="constrain-size",d&&(o=e.size-i-n,r="end"),c&&(o=t+i-n,r="begin"),o>=s&&(c||d)&&(a="constrain-size")}else o.includes("swap")&&(l="swap",(c||d)&&(a="swap",r=c?"begin":"end"));return{method:a,over:r,pickMethod:l}}function Eh(e,t,i,n,o,s,r){const a={size:i,pos:n,offset:s,pushOffset:r};return"constrain-size"===t.method?"end"===t.over?a.size=e.size-n-r:"begin"===t.over&&(a.size=i+n-r,a.pos=r):"shift"===t.method?"end"===t.over?a.pos=e.size-Math.ceil(i)-r:"begin"===t.over&&(a.pos=e.scrollBeginPoint+r):"swap"===t.method&&(a.offset=s=-s,"end"===t.over?a.pos=o.begin-i+e.scrollBeginPoint+s-e.beginPoint:"begin"===t.over&&(a.pos=o.end+s-e.beginPoint)),a}class Mh{constructor(){Mc||(this.doc=document.documentElement,this.body=document.body,kh(this.doc)||kh(this.body)||th("html or body should have overflow hidden, or it will make alignment offset glitch."))}getScroll(e){return e===this.doc||e===this.body?[window.pageXOffset??this.body?.scrollLeft??0,window.pageYOffset??this.body?.scrollTop??0]:[e.scrollLeft,e.scrollTop]}getConstrainToXY(e,t){let i,n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0,right:0,bottom:0},s=0,r=0;if(!e||!t)return!1;if(e==this.doc||e===document.body?(i=document.body.clientWidth,n=document.body.clientHeight):(i=e.clientWidth,n=e.clientHeight),!i||!n)return!1;const a=t.scrollLeft,l=t.scrollTop;s+=o.left+a,r+=o.top+l,i-=o.right,n-=o.bottom;const d=s+i,c=r+n,u=t.getBoundingClientRect(),h=t.offsetWidth,p=t.offsetHeight;let f=u.x,m=u.y,g=!1;return f<s&&(f=s,g=!0),m+p>c&&(m=c-p,g=!0),f+h>d&&(f=d-h,g=!0),m<r&&(m=r,g=!0),!!g&&[f,m]}getArrowPlacement(e){const t=e.match(Sh);if(!t)throw new Error("anchor should be xx->xx or xx->");const i=Ih(t[1]?t[1].charAt(1):""),n=Ih(t[1]?t[1].charAt(0):""),o=Ih(t[2]?t[2].charAt(1):"");return n!==Ih(t[2]?t[2].charAt(0):"")?`${n}-${i}`:i!==o?`${i}-${n}`:`${n}-${i}`}getAlignToXYv2(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{offset:[0,0]},o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=[0,0];fa(n)?(l=[...n],a={pushXOffset:0,pushYOffset:0,constrainWidth:!1,constrainHeight:!1,constrainMinWidth:0,constrainMinHeight:0,...a}):na(n)&&(l=[...n.offset??[0,0]],o=!oa(n.constrain)||n.constrain,s=n.absoluteMode??!0,r=n.containerEl??null,(na(n.constrain)||!0===o)&&(a={pushXOffset:0,pushYOffset:0,constrainWidth:!1,constrainHeight:!1,constrainMinWidth:0,constrainMinHeight:0,...na(n.constrain)?n.constrain:{}}));const{pushXOffset:d,pushYOffset:c,constrainWidth:u,constrainHeight:h,constrainMinWidth:p,constrainMinHeight:f}=a;if(r=r??this.body,fh(e)&&fh(t)){const i=xh(e);i===r||th("[AlignManager] if offsetParent of el is not equal to containerEl, it will cause align wrong position.",void 0,"el",e,"offsetParent:",i,"containerEl:",r),!r||r.contains(t)||th("[AlignManager] targetEl should be in containerEl, or it will cause align wrong position.")}!1===s&&th("[AlignManager] absoluteMode is false, it weird in some cases, and it will be deprecated in the future");const m=i.match(Sh);if(!m||0===m.length)throw new Error("anchor should be xx->xx or xx->");if(!r)throw new Error("containerEl should not be null");const g=this.getAnchorXY(e,m[1],r),v=this.getAnchorXY(t,m[2],r),y=this.getXY(t,r),b=Th(_h(e,g)),w=Th(_h(t,v)),{width:C,height:x}=b;let S=m[1]?m[1].charAt(1):"",k=m[1]?m[1].charAt(0):"",_=m[2]?m[2].charAt(1):"",I=m[2]?m[2].charAt(0):"";const{containerWidth:T,containerHeight:D,containerTop:L,containerLeft:A}=function(e){let t=0,i=0,n=0,o=0;if(e===document.body)t=document.body.clientWidth,i=document.body.clientHeight;else{yh(e,"static")&&th("[AlignManager] if container box did not generate containing block due to position is static, it will caused align wrong position");const s=e.getBoundingClientRect();t=s.width,i=s.height,n=s.top,o=s.left}return{containerWidth:t,containerHeight:i,containerTop:n,containerLeft:o}}(r),E=v[0]-g[0]+l[0]+y[0],M=v[1]-g[1]+l[1]+y[1],B={x:E,y:M};if(o){const e=this.getScroll(r);let t,i,n="r"===S&&"l"===_||"l"===S&&"r"===_?["swap"]:["shift"],o="t"===k&&"b"===I||"b"===k&&"t"===I?["swap"]:["shift"];u&&n.push("constrain-size"),h&&o.push("constrain-size");let s={size:C,pos:E,offset:l[0],pushOffset:d},a={size:x,pos:M,offset:l[1],pushOffset:c};for(;"none"!==(t=Ah({scrollBeginPoint:e[0],size:T+e[0]},s.size,s.pos,s.pushOffset,n,{constrainMinSize:p})).method||n.length>0;)n=Da(n,t.pickMethod),s=Eh({scrollBeginPoint:e[0],size:T+e[0],beginPoint:A},t,s.size,s.pos,{begin:w.left,end:w.right},s.offset,s.pushOffset),"swap"===t.method?[S,_]=[_,S]:"constrain-size"===t.method&&(B.constrainWidth=s.size);for(;"none"!==(i=Ah({scrollBeginPoint:e[1],size:D+e[1]},a.size,a.pos,a.pushOffset,o,{constrainMinSize:f})).method||o.length>0;)o=Da(o,i.pickMethod),a=Eh({scrollBeginPoint:e[1],size:D+e[1],beginPoint:L},i,a.size,a.pos,{begin:w.top,end:w.bottom},a.offset,a.pushOffset),"swap"===i.method?[k,I]=[I,k]:"constrain-size"===i.method&&(B.constrainHeight=a.size);B.x=s.pos,B.y=a.pos}return B.anchor=`${k}${S}->${I}${_}`,B.arrowPlacement=this.getArrowPlacement(B.anchor),B}getAlignToXY(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[0,0],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7?arguments[7]:void 0;const{x:l,y:d}=this.getAlignToXYv2(e,t,i,n,o,s,r,a);return[l,d]}getAnchorXY(e,t,i){if(!t){const[t,n]=this.getScroll(i);if(fa(e)&&sa(e[0])&&sa(e[1]))return[e[0]+t,e[1]+n];if("left"in e&&"top"in e&&sa(e.left)&&sa(e.top))return[e.left+t,e.top+n]}const n=Dh(e),o=Lh(e);return{c:[.5*n,.5*o],t:[.5*n,0],b:[.5*n,o],l:[0,.5*o],r:[n,.5*o],tl:[0,0],bl:[0,o],br:[n,o],tr:[n,0]}[t]}getXY(e,t){const i="getBoundingClientRect"in(n=e)?n.getBoundingClientRect():"left"in n&&"top"in n&&sa(n.left)&&sa(n.top)?{left:n.left,top:n.top,width:Dh(n),height:Lh(n)}:{left:0,top:0,width:0,height:0};var n;const[o,s]=this.getScroll(t),r=t.getBoundingClientRect(),{left:a=0,top:l=0}=i;return[a+o-r.left,l+s-r.top]}}const Bh=za();let Oh=()=>{ih("you are not install AlignManagerPlugin yet, please install it first")};const $h=Ma({},(e=>{Oh=Ra(e,"$alignManager",new Mh,Bh)}));function Fh(e){let{props:t,alignEl:i,onAligned:n=Ca}=e;const o=Oh(),s=function(e,t){let{alignEl:i}=t;return $s((()=>{const{anchor:t}=Nt(e);let{alignment:n}=Nt(e);return n=n??{},{alignOffset:na(n)?n.offset??[0,0]:[0,0],alignPos:ta(n)?n:n.pos??"tl->bl",alignOpts:ta(n)?void 0:n.opts,alignEl:Nt(i),anchor:Nt(t)}}))}(t,{alignEl:i}),r=$s((()=>function(e){return ta(e=ia(e)?e?.():e)?document.querySelector(e):e}(Nt(t).mountTo))),a=Ct({position:[void 0,void 0],constrainWidth:!1,constrainHeight:!1}),l=$s((()=>({left:ca(a.position[0])?`${a.position[0]}px`:void 0,top:ca(a.position[1])?`${a.position[1]}px`:void 0,maxWidth:a.constrainWidth?`${a.constrainWidth}px`:void 0,maxHeight:a.constrainHeight?`${a.constrainHeight}px`:void 0}))),d=()=>{const{alignOffset:e,alignPos:t,alignOpts:i,alignEl:l,anchor:d}=Nt(s);if(!d||!r.value||!l)return a;if(!o)return th("AlignManager is not found, please make sure you have installed it."),a;const c=o.getAlignToXYv2(l,d,t,{offset:e,containerEl:r.value,constrain:i});a.position=[c.x,c.y],a.constrainHeight=!!c.constrainHeight&&c.constrainHeight,a.constrainWidth=!!c.constrainWidth&&c.constrainWidth,ei((()=>{n?.(c)}))};return function(e,t){oo(e,null,{flush:"post"})}((()=>{d()})),{alignStyle:l,result:a,mountTo:r,doAlign:d}}function Vh(e){let{props:t,onAligned:i}=e;const n=Ft(),{alignStyle:o,mountTo:s,doAlign:r}=Fh({props:t,alignEl:n,onAligned:i}),a=function(e){const t=uh(),i=Ft(),n=$s((()=>({zIndex:i.value})));return ji((()=>{const{acquireZIndex:n}=Nt(e);i.value=n?t?.acquireZIndex():void 0})),qi((()=>{const{acquireZIndex:i}=Nt(e);i&&t?.releaseZIndex()})),n}(t),l=$s((()=>[Nt(t)?.innerClass??{},Nt(t)?.customClass??{}])),d=$s((()=>[Nt(t)?.innerStyle??{},Nt(t)?.customStyle??{}]));return{render:e=>_d("div",{ref:n,class:["vue-portal-target",...l.value],style:[o.value,a.value,...d.value]},e?.()??[]),doAlign:r,mountTo:s}}function Ph(e){return{name:e.to,acquireZIndex:e.acquireZIndex,mountTo:e.mountTo}}function Nh(e){return{innerStyle:e.targetStyle,innerClass:e.targetClass,anchor:e.anchor,alignment:e.alignment}}function Rh(e,t,i){const n=lh();let o=null;const s=Ft(null),r=Ft(null);function a(){const{to:i,name:o,order:s,mountTo:r}=e;t.default?n.open({to:i,from:o,order:s,content:t.default}):l()}function l(t){n.close({to:t??e.to,from:e.name}),o?.()}return ys(),ji((()=>{e.disabled||a()})),Gi((()=>{e.disabled?l():a()})),qi((()=>{l()})),no((()=>e.mountTo),(()=>{o?.(),o=function(){const{portalTarget:e,doAlign:t,destroyFn:i}=function(e,t){throw new Error("mount portal target only for vue2")}();return s.value=e,r&&(r.value=t),i}()})),no((()=>e.to),((t,i)=>{e.disabled||(i&&i!==t&&l(i),a())})),{portalTarget:s,doAlign:r}}var Hh=on({name:"Portal",props:{disabled:{type:Boolean,default:!1},name:{type:String,default:()=>String(Math.round(1e7*Math.random()))},order:{type:Number,default:0},slotProps:{type:Object,default:()=>({})},to:{type:String,default:()=>String(Math.round(1e7*Math.random()))},mountTo:{type:[String,HTMLElement,Function],default:void 0},alignment:{type:[String,Object],default:void 0},anchor:{type:[Object,HTMLElement],default:void 0},acquireZIndex:{type:Boolean,default:!1},targetClass:{type:[String,Object,Array],default:void 0},targetStyle:{type:[String,Object,Array],default:void 0}},emits:["aligned"],setup(e,t){let{slots:i,emit:n,expose:o}=t;const s=e=>n("aligned",e);if(e.mountTo){const t=$s((()=>({...Ph(e),...Nh(e)}))),{render:n,mountTo:r,doAlign:a}=Vh({props:t,onAligned:s});return o({doAlign:a}),()=>e.disabled&&i?.default?i.default(e.slotProps):i?.default?_d(Fo,{props:{to:r.value}},[n((()=>i?.default?.(e.slotProps)??[]))]):void 0}{const{portalTarget:t,doAlign:n}=Rh(e,i);o({portalTarget:t,doAlign:n})}return()=>e.disabled&&i.default?i.default(e.slotProps):null}});var zh=function(){this.__data__=[],this.size=0};var Wh=function(e,t){return e===t||e!=e&&t!=t};var jh=function(e,t){for(var i=e.length;i--;)if(Wh(e[i][0],t))return i;return-1},Uh=Array.prototype.splice;var Gh=function(e){var t=this.__data__,i=jh(t,e);return!(i<0)&&(i==t.length-1?t.pop():Uh.call(t,i,1),--this.size,!0)};var qh=function(e){var t=this.__data__,i=jh(t,e);return i<0?void 0:t[i][1]};var Yh=function(e){return jh(this.__data__,e)>-1};var Kh=function(e,t){var i=this.__data__,n=jh(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this};function Zh(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}Zh.prototype.clear=zh,Zh.prototype.delete=Gh,Zh.prototype.get=qh,Zh.prototype.has=Yh,Zh.prototype.set=Kh;var Jh=Zh;var Qh=function(){this.__data__=new Jh,this.size=0};var Xh=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i};var ep=function(e){return this.__data__.get(e)};var tp=function(e){return this.__data__.has(e)};var ip=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var np=function(e){if(!ip(e))return!1;var t=El(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},op=bl["__core-js_shared__"],sp=function(){var e=/[^.]+$/.exec(op&&op.keys&&op.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var rp=function(e){return!!sp&&sp in e},ap=Function.prototype.toString;var lp=function(e){if(null!=e){try{return ap.call(e)}catch(e){}try{return e+""}catch(e){}}return""},dp=/^\[object .+?Constructor\]$/,cp=Function.prototype,up=Object.prototype,hp=cp.toString,pp=up.hasOwnProperty,fp=RegExp("^"+hp.call(pp).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var mp=function(e){return!(!ip(e)||rp(e))&&(np(e)?fp:dp).test(lp(e))};var gp=function(e,t){return null==e?void 0:e[t]};var vp=function(e,t){var i=gp(e,t);return mp(i)?i:void 0},yp=vp(bl,"Map"),bp=vp(Object,"create");var wp=function(){this.__data__=bp?bp(null):{},this.size=0};var Cp=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},xp=Object.prototype.hasOwnProperty;var Sp=function(e){var t=this.__data__;if(bp){var i=t[e];return"__lodash_hash_undefined__"===i?void 0:i}return xp.call(t,e)?t[e]:void 0},kp=Object.prototype.hasOwnProperty;var _p=function(e){var t=this.__data__;return bp?void 0!==t[e]:kp.call(t,e)};var Ip=function(e,t){var i=this.__data__;return this.size+=this.has(e)?0:1,i[e]=bp&&void 0===t?"__lodash_hash_undefined__":t,this};function Tp(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}Tp.prototype.clear=wp,Tp.prototype.delete=Cp,Tp.prototype.get=Sp,Tp.prototype.has=_p,Tp.prototype.set=Ip;var Dp=Tp;var Lp=function(){this.size=0,this.__data__={hash:new Dp,map:new(yp||Jh),string:new Dp}};var Ap=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ep=function(e,t){var i=e.__data__;return Ap(t)?i["string"==typeof t?"string":"hash"]:i.map};var Mp=function(e){var t=Ep(this,e).delete(e);return this.size-=t?1:0,t};var Bp=function(e){return Ep(this,e).get(e)};var Op=function(e){return Ep(this,e).has(e)};var $p=function(e,t){var i=Ep(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this};function Fp(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t<i;){var n=e[t];this.set(n[0],n[1])}}Fp.prototype.clear=Lp,Fp.prototype.delete=Mp,Fp.prototype.get=Bp,Fp.prototype.has=Op,Fp.prototype.set=$p;var Vp=Fp;var Pp=function(e,t){var i=this.__data__;if(i instanceof Jh){var n=i.__data__;if(!yp||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new Vp(n)}return i.set(e,t),this.size=i.size,this};function Np(e){var t=this.__data__=new Jh(e);this.size=t.size}Np.prototype.clear=Qh,Np.prototype.delete=Xh,Np.prototype.get=ep,Np.prototype.has=tp,Np.prototype.set=Pp;var Rp=Np,Hp=function(){try{var e=vp(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();var zp=function(e,t,i){"__proto__"==t&&Hp?Hp(e,t,{configurable:!0,enumerable:!0,value:i,writable:!0}):e[t]=i};var Wp=function(e,t,i){(void 0!==i&&!Wh(e[t],i)||void 0===i&&!(t in e))&&zp(e,t,i)};var jp=function(e){return function(t,i,n){for(var o=-1,s=Object(t),r=n(t),a=r.length;a--;){var l=r[e?a:++o];if(!1===i(s[l],l,s))break}return t}},Up=jp(),Gp="object"==typeof exports&&exports&&!exports.nodeType&&exports,qp=Gp&&"object"==typeof module&&module&&!module.nodeType&&module,Yp=qp&&qp.exports===Gp?bl.Buffer:void 0,Kp=Yp?Yp.allocUnsafe:void 0;var Zp=function(e,t){if(t)return e.slice();var i=e.length,n=Kp?Kp(i):new e.constructor(i);return e.copy(n),n},Jp=bl.Uint8Array;var Qp=function(e){var t=new e.constructor(e.byteLength);return new Jp(t).set(new Jp(e)),t};var Xp=function(e,t){var i=t?Qp(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.length)};var ef=function(e,t){var i=-1,n=e.length;for(t||(t=Array(n));++i<n;)t[i]=e[i];return t},tf=Object.create,nf=function(){function e(){}return function(t){if(!ip(t))return{};if(tf)return tf(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}(),of=nf;var sf=function(e,t){return function(i){return e(t(i))}},rf=sf(Object.getPrototypeOf,Object),af=Object.prototype;var lf=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||af)};var df=function(e){return"function"!=typeof e.constructor||lf(e)?{}:of(rf(e))};var cf=function(e){return Ml(e)&&"[object Arguments]"==El(e)},uf=Object.prototype,hf=uf.hasOwnProperty,pf=uf.propertyIsEnumerable,ff=cf(function(){return arguments}())?cf:function(e){return Ml(e)&&hf.call(e,"callee")&&!pf.call(e,"callee")},mf=ff;var gf=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var vf=function(e){return null!=e&&gf(e.length)&&!np(e)};var yf=function(e){return Ml(e)&&vf(e)};var bf=function(){return!1},wf="object"==typeof exports&&exports&&!exports.nodeType&&exports,Cf=wf&&"object"==typeof module&&module&&!module.nodeType&&module,xf=Cf&&Cf.exports===wf?bl.Buffer:void 0,Sf=(xf?xf.isBuffer:void 0)||bf,kf=Function.prototype,_f=Object.prototype,If=kf.toString,Tf=_f.hasOwnProperty,Df=If.call(Object);var Lf=function(e){if(!Ml(e)||"[object Object]"!=El(e))return!1;var t=rf(e);if(null===t)return!0;var i=Tf.call(t,"constructor")&&t.constructor;return"function"==typeof i&&i instanceof i&&If.call(i)==Df},Af={};Af["[object Float32Array]"]=Af["[object Float64Array]"]=Af["[object Int8Array]"]=Af["[object Int16Array]"]=Af["[object Int32Array]"]=Af["[object Uint8Array]"]=Af["[object Uint8ClampedArray]"]=Af["[object Uint16Array]"]=Af["[object Uint32Array]"]=!0,Af["[object Arguments]"]=Af["[object Array]"]=Af["[object ArrayBuffer]"]=Af["[object Boolean]"]=Af["[object DataView]"]=Af["[object Date]"]=Af["[object Error]"]=Af["[object Function]"]=Af["[object Map]"]=Af["[object Number]"]=Af["[object Object]"]=Af["[object RegExp]"]=Af["[object Set]"]=Af["[object String]"]=Af["[object WeakMap]"]=!1;var Ef=function(e){return Ml(e)&&gf(e.length)&&!!Af[El(e)]};var Mf=function(e){return function(t){return e(t)}},Bf="object"==typeof exports&&exports&&!exports.nodeType&&exports,Of=Bf&&"object"==typeof module&&module&&!module.nodeType&&module,$f=Of&&Of.exports===Bf&&vl.process,Ff=function(){try{var e=Of&&Of.require&&Of.require("util").types;return e||$f&&$f.binding&&$f.binding("util")}catch(e){}}(),Vf=Ff,Pf=Vf&&Vf.isTypedArray,Nf=Pf?Mf(Pf):Ef;var Rf=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},Hf=Object.prototype.hasOwnProperty;var zf=function(e,t,i){var n=e[t];Hf.call(e,t)&&Wh(n,i)&&(void 0!==i||t in e)||zp(e,t,i)};var Wf=function(e,t,i,n){var o=!i;i||(i={});for(var s=-1,r=t.length;++s<r;){var a=t[s],l=n?n(i[a],e[a],a,i,e):void 0;void 0===l&&(l=e[a]),o?zp(i,a,l):zf(i,a,l)}return i};var jf=function(e,t){for(var i=-1,n=Array(e);++i<e;)n[i]=t(i);return n},Uf=/^(?:0|[1-9]\d*)$/;var Gf=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&Uf.test(e))&&e>-1&&e%1==0&&e<t},qf=Object.prototype.hasOwnProperty;var Yf=function(e,t){var i=xl(e),n=!i&&mf(e),o=!i&&!n&&Sf(e),s=!i&&!n&&!o&&Nf(e),r=i||n||o||s,a=r?jf(e.length,String):[],l=a.length;for(var d in e)!t&&!qf.call(e,d)||r&&("length"==d||o&&("offset"==d||"parent"==d)||s&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||Gf(d,l))||a.push(d);return a};var Kf=function(e){var t=[];if(null!=e)for(var i in Object(e))t.push(i);return t},Zf=Object.prototype.hasOwnProperty;var Jf=function(e){if(!ip(e))return Kf(e);var t=lf(e),i=[];for(var n in e)("constructor"!=n||!t&&Zf.call(e,n))&&i.push(n);return i};var Qf=function(e){return vf(e)?Yf(e,!0):Jf(e)};var Xf=function(e){return Wf(e,Qf(e))};var em=function(e,t,i,n,o,s,r){var a=Rf(e,i),l=Rf(t,i),d=r.get(l);if(d)Wp(e,i,d);else{var c=s?s(a,l,i+"",e,t,r):void 0,u=void 0===c;if(u){var h=xl(l),p=!h&&Sf(l),f=!h&&!p&&Nf(l);c=l,h||p||f?xl(a)?c=a:yf(a)?c=ef(a):p?(u=!1,c=Zp(l,!0)):f?(u=!1,c=Xp(l,!0)):c=[]:Lf(l)||mf(l)?(c=a,mf(a)?c=Xf(a):ip(a)&&!np(a)||(c=df(l))):u=!1}u&&(r.set(l,c),o(c,l,n,s,r),r.delete(l)),Wp(e,i,c)}};var tm=function e(t,i,n,o,s){t!==i&&Up(i,(function(r,a){if(s||(s=new Rp),ip(r))em(t,i,a,n,e,o,s);else{var l=o?o(Rf(t,a),r,a+"",t,i,s):void 0;void 0===l&&(l=r),Wp(t,a,l)}}),Qf)};var im=function(e){return e};var nm=function(e,t,i){switch(i.length){case 0:return e.call(t);case 1:return e.call(t,i[0]);case 2:return e.call(t,i[0],i[1]);case 3:return e.call(t,i[0],i[1],i[2])}return e.apply(t,i)},om=Math.max;var sm=function(e,t,i){return t=om(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,s=om(n.length-t,0),r=Array(s);++o<s;)r[o]=n[t+o];o=-1;for(var a=Array(t+1);++o<t;)a[o]=n[o];return a[t]=i(r),nm(e,this,a)}};var rm=function(e){return function(){return e}},am=Hp?function(e,t){return Hp(e,"toString",{configurable:!0,enumerable:!1,value:rm(t),writable:!0})}:im,lm=am,dm=Date.now;var cm=function(e){var t=0,i=0;return function(){var n=dm(),o=16-(n-i);if(i=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},um=cm(lm);var hm=function(e,t){return um(sm(e,t,im),e+"")};var pm=function(e,t,i){if(!ip(i))return!1;var n=typeof t;return!!("number"==n?vf(i)&&Gf(t,i.length):"string"==n&&t in i)&&Wh(i[t],e)};var fm=function(e){return hm((function(t,i){var n=-1,o=i.length,s=o>1?i[o-1]:void 0,r=o>2?i[2]:void 0;for(s=e.length>3&&"function"==typeof s?(o--,s):void 0,r&&pm(i[0],i[1],r)&&(s=o<3?void 0:s,o=1),t=Object(t);++n<o;){var a=i[n];a&&e(t,a,n,s)}return t}))},mm=fm((function(e,t,i){tm(e,t,i)})),gm=mm;function vm(e,t){return t=t??Nl(kd(e)),on({mixins:[Aa("config-provider")],props:{[`configConsumer${t}`]:{type:String,default:void 0},[`disable${t}ConfigOverride`]:{type:Object,default:()=>({})}},data:()=>({syntax:t}),computed:{[`componentProviderConfigValue${t}`](){return gm({},this?.["config-provider"]?.instance?.[e]?.all?.value,this?.["config-provider"]?.instance?.[e]?.[this[`innerConfigConsumer${t}`]]?.value)},[`managerProviderConfigValue${t}`](){return gm(this.$configManager?.props?.[e]?.[this[`innerConfigConsumer${t}`]]?.value,this.$configManager?.props?.[e]?.all?.value)},[`config${t}Value`](){return gm(this[`managerProviderConfigValue${t}`],this[`componentProviderConfigValue${t}`])},[`innerConfigConsumer${t}`](){return this[`configConsumer${t}`]}},methods:{[`get${t}ConfigValue`](e,i){return i=i??this[e],this[`disable${t}ConfigOverride`]?.[e]?this[e]:ia(this[`config${t}Value`]?.[e])?this[`config${t}Value`]?.[e](this)??i:this[`config${t}Value`]?.[e]??i}}})}function ym(e){return ia(e)&&(e=e()),ta(e)?document.querySelector(e):e}const bm="root",wm="ancestor",Cm="manager",xm="config";var Sm=on({components:{vPortal:Hh},mixins:[Aa("adaptive-container-root"),Aa("adaptive-container"),vm("hasPopupContainer","Popup")],props:{popupContainer:{type:[Function,String,HTMLElement],default:void 0},useAdaptiveContainer:{type:[Array,Boolean],default:()=>[bm,wm,Cm,xm]},alignment:{type:[Object,String],default:()=>({pos:"tl->bl",offset:[0,1]})}},data:()=>({}),computed:{innerUseAdaptiveContainer(){let e=this.getPopupConfigValue("useAdaptiveContainer");return!1===e?e=[bm,Cm,xm]:!0===e&&(e=[bm,wm,Cm,xm]),e},innerPopupContainer(){return this.getPopupConfigValue("popupContainer")},innerAlignment(){return this.getPopupConfigValue("alignment")}},mounted(){this.$popupManager||th("without popup manager, z-index will not be adatpive and will not have global popup container injected")},methods:{getRootContainerEl(){const e=this["adaptive-container-root"]?.instance,t=e?.forceUseAdaptiveContainer?.(),i=e?.getAdaptiveContainer?.();return{container:ym(i),type:bm,force:t}},getAncestorContainerEl(){const e=this["adaptive-container"]?.instance,t=e?.forceUseAdaptiveContainer?.(),i=e?.getAdaptiveContainer?.();return{container:ym(i),type:wm,force:t}},getManagerContainerEl(){const e=this.$popupManager?.getPopupContainer();return{container:e?ym(e):null,type:Cm,force:!1}},getConfigContainerEl(){return{container:this.innerPopupContainer?ym(this.innerPopupContainer):null,type:xm,force:!1}},getContainerEl(){if(Mc)return null;const e=[this.getConfigContainerEl(),this.getAncestorContainerEl(),this.getRootContainerEl(),this.getManagerContainerEl()];let t=null;for(const{container:i,force:n,type:o}of e){if(n)return i??document.body;this.innerUseAdaptiveContainer.includes(o)&&i&&!t&&(t=i)}return t??document.body},outOfContainer(e){const t=this.getContainerEl(),i=e?.getBoundingClientRect(),n=t?.getBoundingClientRect();return!i||!n||!function(e,t){return e.right<t.right&&e.left>t.left&&e.top>t.top&&e.bottom<t.bottom}(i,n)},outOfContainerHeight(e){const t=this.getContainerEl(),i=e.getBoundingClientRect(),n=t&&t.getBoundingClientRect();return!!n&&(i.top<n.top||i.bottom>n.bottom)}}}),km=on({name:"PortalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slotProps:{type:Object,default:()=>({})},mountTo:{type:[String,HTMLElement,Function],default:void 0},acquireZIndex:{type:Boolean,default:!1},customClass:{type:[String,Array,Object],default:()=>[]},customStyle:{type:[String,Array,Object],default:()=>[]}},emits:["change","aligned"],setup(e,t){let{emit:i,slots:n,expose:o}=t;const s=Ct({innerStyle:void 0,innerClass:void 0,anchor:void 0,alignment:void 0}),r=lh(),a=$s((()=>{const t=r.getContentForTarget(e.name,e.multiple).map((t=>t.content(e.slotProps))).flat(1);return{vnodes:t,vnodesFn:()=>t}})),{render:l,doAlign:d}=Vh({props:$s((()=>({...s,...e}))),onAligned(e){i("aligned",e)}});return no(a,(t=>{let{vnodes:n}=t;const o=n.length>0,s=r.transports[e.name],a=s?[...Object.keys(s)]:[];i("change",{hasContent:o,sources:a})}),{flush:"post"}),o({doAlign:d,updateData:e=>{Object.assign(s,e)}}),()=>a.value.vnodes.length?l(a.value.vnodesFn):n.default?.()}});d(2556),d(2845),d(570),d(3019),d(1473),d(8208),d(2624);function _m(e,t){return e?.instance}const Im="__synoclickoutside__",Tm="clickoutside",Dm=new Set;let Lm=0,Am=!1;function Em(e){for(const t of Dm)t[Im]&&t[Im].validateFn(e)}function Mm(e,t,i){return n=>{let o=[];var s,r;i&&(o=function(e,t){const i=_m(t),n=t.arg,o=t.modifiers.children&&i?Rc(i):[];if(n){let i=ia(n)?n(e,t):n;i=fa(i)?i:[i],o.push(...i)}return o}(i,t),!n.target||e.contains(n.target)||(s=o,r=n.target,s.some((e=>!!e&&("$el"in e?e.$el.contains(r):e.contains(r)))))||ca(e[Im]?.attachTimestamp)&&n.timeStamp<e[Im].attachTimestamp||e.dispatchEvent(gu(Tm,{bubbles:!1,cancelable:!1})))}}function Bm(e,t,i){if(e[Im])return;const n=Pu(e,Tm,(e=>ia(t.value)?t.value(e):null));e[Im]={id:++Lm,validateFn:Mm(e,t,i),disposedFn:n,attachTimestamp:performance.now()},Dm.add(e)}function Om(e){e[Im]&&(Dm.delete(e),e[Im].disposedFn?.(),delete e[Im])}var $m={[$a](e,t,i){Am||(Pu(document.documentElement,["mousedown","touchstart"],(e=>{Em(e)})),Am=!0),!1!==t.value&&Bm(e,t,i)},[Fa](e,t,i){!1!==t.value?e[Im]?e[Im].validateFn=Mm(e,t,i):Bm(e,t,i):Om(e)},[Va](e){Om(e)}};const Fm={HINT:"hint",INFO:"info",ERROR:"error",CUSTOM:"custom"},Vm={HOVER:"hover",CLICK:"click",LONG_PRESS:"long-press",FOCUS:"focus",CUSTOM:"custom"},Pm=[Vm.CLICK,Vm.LONG_PRESS,Vm.FOCUS];var Nm=on({directives:{clickoutside:$m},components:{vPortalTarget:km},props:{attachToElement:{type:[HTMLElement,Boolean],default:!1},arrow:{type:Boolean,default:!1},extraElement:{type:HTMLElement,default:void 0},tipContainer:{type:Function,default:Ca},portalName:{type:String,default:""},triggerAction:{type:String,default:"hover",validator:e=>Object.values(Vm).includes(e)},interactive:{type:Boolean,default:!1},usePortal:{type:Boolean,default:!1},type:{type:String,default:Fm.HINT,validator:e=>Object.values(Fm).includes(e)}},data:()=>({x:0,y:0,arrowPlacement:"",opacity:0,showTooltip:!1,visible:!1,isActive:!1,zIndex:void 0,overflowOnly:!1,content:"",isHtml:!1,delay:300,cls:"",offset:[20,20],align:"tl->tl",bgOpacity:1,disabled:!1,onActivate:Ca,onDeactivate:Ca,transitionTime:[500,100],dismissTime:500,hideWhenClickOutside:void 0,showTimeout:null,hideTimeout:null}),computed:{innerHideWhenClickOutside(){return ca(this.hideWhenClickOutside)?this.hideWhenClickOutside:Pm.includes(this.triggerAction)},innerOffset(){if(this.arrow){const e=this.$alignManager.getArrowPlacement(this.align);if(e.startsWith("top"))return[this.offset[0],this.offset[1]+9];if(e.startsWith("bottom"))return[this.offset[0],this.offset[1]-9];if(e.startsWith("left"))return[this.offset[0]+9,this.offset[1]];if(e.startsWith("right"))return[this.offset[0]-9,this.offset[1]]}return this.offset},tooltipStyle(){return{left:`${this.x}px`,top:`${this.y}px`,opacity:this.opacity,transition:`opacity ${this.transitionTime[0]}ms`,visibility:this.visible?"visible":"hidden",zIndex:this.zIndex}},tooltipCls(){return[this.cls,"v-tooltip-directive",this.type,{"has-arrow":this.arrow,interactive:this.interactive}]}},watch:{disabled(e){e&&this.hide()}},mounted(){this.zIndex=this.$popupManager?.acquireZIndex()},[Pa](){this.$popupManager?.releaseZIndex()},methods:{onMouseEnter(e){this.interactive&&this.triggerAction===Vm.HOVER&&Nc(this,"trigger-show",e)},onMouseLeave(e){this.interactive&&this.triggerAction===Vm.HOVER&&Nc(this,"trigger-hide",e)},onClickoutside(){this.innerHideWhenClickOutside&&Nc(this,"trigger-hide")},shouldShow(e){if(this.overflowOnly){let t=e;if(ia(this.overflowOnly)&&(t=this.overflowOnly(e)||e),t&&t.offsetWidth>=t.scrollWidth&&t.offsetHeight>=t.scrollHeight)return!1}return!0},removeFromContainer(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},mountOnContainer(){(this.tipContainer?.()??this.$popupManager?.getTipContainerEl()??document.body).appendChild(this.$el)},show(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null),this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),this.disabled||(this.onActivate&&this.onActivate(),this.showTooltip=!0,this.$nextTick((()=>{this.showTimeout=setTimeout((async()=>{const i=this.tipContainer?.()??this.$popupManager?.getTipContainerEl()??document.body;this.x=0,this.y=0,this.visible=!1,await this.$nextTick();const n=this.attachToElement?this.attachToElement:{left:e,top:t,width:0,height:0},{x:o,y:s,arrowPlacement:r}=this.$alignManager.getAlignToXYv2(this.$el,n,this.align,{containerEl:i,offset:this.innerOffset});this.arrowPlacement=r??"",this.x=o,this.y=s,this.visible=!0,this.opacity=this.bgOpacity}),this.delay)})))},hide(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=null),this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),this.opacity=0,this.hideTimeout=setTimeout((()=>{this.onDeactivate&&this.onDeactivate(),this.showTooltip=!1}),this.dismissTime)}}}),Rm=(e,t)=>{const i=e.__vccOpts||e;for(const[e,n]of t)i[e]=n;return i};const Hm=["data-placement"],zm={key:2},Wm=["innerHTML"];var jm=Rm(Nm,[["render",function(e,t,i,n,o,s){const r=Bi("v-portal-target"),a=Fi("clickoutside");return e.showTooltip?Xi((jo(),Ko("div",{key:0,class:ne(e.tooltipCls),style:Q(e.tooltipStyle),onMouseenter:t[0]||(t[0]=function(){return e.onMouseEnter&&e.onMouseEnter(...arguments)}),onMouseleave:t[1]||(t[1]=function(){return e.onMouseLeave&&e.onMouseLeave(...arguments)})},[e.arrow?(jo(),Ko("i",{key:0,class:"tooltip-arrow","data-placement":e.arrowPlacement},null,8,Hm)):ls("",!0),e.usePortal?(jo(),Zo(r,{key:1,name:e.portalName,"custom-class":"tip-portal"},null,8,["name"])):e.isHtml?(jo(),Ko("span",{key:3,innerHTML:e.content},null,8,Wm)):(jo(),Ko("span",zm,ce(e.content),1))],38)),[[a,e.onClickoutside,e.extraElement]]):ls("",!0)}]]);const Um=!Mc&&window&&"IntersectionObserver"in window,Gm=function(e){for(const t of e)for(const e of t.target.__syno_intersection_listeners__||[])ca(t.isVisible)||(t.isVisible=t.isIntersecting),e.fn.apply(e.scope||e.fn,[t])},qm=function(e,t,i,n){if(Um)return e.__syno_intersection_listeners__||(e.__syno_intersection_listeners__=[],e.__syno_intersection__=new IntersectionObserver(Gm,n),e.__syno_intersection__.observe(e)),e.__syno_intersection_listeners__.push({fn:t,scope:i}),()=>Ym(e,t)},Ym=function(e,t){Um&&e&&e.__syno_intersection_listeners__&&(e.__syno_intersection_listeners__=e.__syno_intersection_listeners__.filter((e=>t!==e.fn)),e.__syno_intersection_listeners__.length<=0&&(e.__syno_intersection__?.disconnect(),delete e.__syno_intersection__,delete e.__syno_intersection_listeners__))},Km=function(e,t,i){const n=i=>{const n=i.timeStamp,o=i;let s=!0;const r=window.setTimeout((()=>{t.apply(window,[o]),s=!1}),500);Pu(e,"touchmove",(()=>{s=!1,window.clearTimeout(r)})),Nu(e,"touchend",(e=>{window.clearTimeout(r),e.timeStamp-n>500&&s&&t.apply(window,[o])}))};return Pu(e,"touchstart",n),()=>Ru(e,"touchstart",n)},Zm=Symbol("window_mgr_inject");function Jm(e,t){let i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Ca,s=document.createDocumentFragment();{const r=is(t,n);r.appContext=e._context,Kr(r,s),i=r.component?.proxy,o=()=>{Kr(null,s)}}return{component:i,destroyFn:o,anchorEl:s}}function Qm(e,t,i){{if(!i)throw new Error("parentApp is required");const n=Zr(e,t);n.config.globalProperties=i.config.globalProperties;const{reload:o,...s}=i._context;return delete s.provides[Zm],Object.assign(n._context,s),n}}function Xm(e){return{target:e?.currentTarget??e?.target??null,x:e?.touches?.[0]?.clientX??e?.clientX??0,y:e?.touches?.[0]?.clientY??e?.clientY??0}}function eg(e,t,i){const n=function(e,t){let i={};ta(e.value)?i.content=e.value:na(e.value)?i=e.value:!1===e.value&&(i.disabled=!0),ca(i.isHtml)||(i.isHtml=!!ca(e.modifiers.html)&&e.modifiers.html);const n=t.ctx.appContext.config.globalProperties.$breakpointManager;return!ca(i.triggerAction)&&n?.mobile&&(i.triggerAction="long-press"),i}(t,i);return!0===n.attachToElement&&(n.attachToElement=e),n.extraElement=e,n}function tg(e,t){if(!e._tooltip)return!1;if(na(t))for(const i in t)ea(t,i)&&!ea(e._tooltip.$props,i)&&(e._tooltip[i]=t[i]);return!0}function ig(e,t,i){if(e._tooltip)return;const n=e._svc_tooltip_props_data??{};if(n.disabled)return;const{component:o,destroyFn:s}=Jm(t.ctx.appContext.app,jm,n);e._tooltip=o,e._tooltip_destroy_fn=s,Vc(e._tooltip,"trigger-show",e._svc_tooltip_e_show_cb),Vc(e._tooltip,"trigger-hide",e._svc_tooltip_e_hide_cb),tg(e,n)}function ng(e,t,i,n){if(!0===(t._svc_tooltip_props_data??{}).disabled)return;ig(t,n);const{x:o,y:s}=Xm(e);t._tooltip.shouldShow(t)&&(t._tooltip.isActive=!0,t._tooltip.mountOnContainer(),t._tooltip.show(o,s))}function og(e){const t=e._tooltip;t&&(t.isActive=!1,window.setTimeout((()=>{t&&(t.isActive||sg(e))}),t.transitionTime[1]))}function sg(e){const t=e._tooltip;t&&(t.removeFromContainer(),t.hide(),e._tooltip_destroy_fn?.(),e._tooltip=null)}function rg(e,t,i,n){const o=[],s=t=>{ng(t,e,0,n)},r=()=>{og(e)},a=t=>{!function(e,t,i,n){if(!0===(t._svc_tooltip_props_data??{}).disabled)return;ig(t,n);const{x:o,y:s}=Xm(e);t._tooltip.shouldShow(t)&&(t._tooltip.isActive?t._tooltip.show(o,s):ng(e,t,0,n))}(t,e,0,n)};if(e._svc_tooltip_e_show_cb=s,e._svc_tooltip_e_hide_cb=r,e._svc_tooltip_e_move_cb=a,e._svc_tooltip_e_intersection_cb=t=>{t.target!==e||t.isVisible||og(e)},t.triggerAction&&"hover"!==t.triggerAction)if("click"===t.triggerAction){const t=e=>{s(e)},i=t=>{if(su(t)){e._tooltip?.isActive?r():s(t),t.preventDefault(),t.stopPropagation()}};Pu(e,"click",t),Pu(e,"keydown",i),o.push((()=>Ru(e,"click",t))),o.push((()=>Ru(e,"keydown",i)))}else if("long-press"===t.triggerAction){const t=Km(e,s);o.push(t)}else"focus"===t.triggerAction&&o.push(Pu(e,"focus",s));else Pu(e,"mouseenter",s),Pu(e,"mouseleave",r),Pu(e,"mousemove",a),o.push((()=>Ru(e,"mouseenter",s))),o.push((()=>Ru(e,"mouseleave",r))),o.push((()=>Ru(e,"mousemove",a)));o.push(qm(e,e._svc_tooltip_e_intersection_cb,e)),e._tooltip_disposed_fns=o}function ag(e){if(e._tooltip_disposed_fns){for(const t of e._tooltip_disposed_fns)t?.();delete e._tooltip_disposed_fns}sg(e)}var lg={[$a](e,t,i){const n=eg(e,t,i);e._svc_tooltip_props_data=n,rg(e,n,0,i)},[Fa](e,t,i){const n=eg(e,t,i),o=e._svc_tooltip_props_data;tg(e,n),o&&!wa(o.triggerAction,n.triggerAction)&&(ag(e),rg(e,n,0,i)),e._svc_tooltip_props_data=n,e._tooltip&&!function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}(e)&&og(e)},[Va](e){ag(e)}};const dg={BKG:"bkg-img",SVG:"svg",FOLLOW_MANAGER:"follow-manager",UNKNOWN:"unknown"};class cg{static icons=(()=>Object.create(null))();static register(e,t){if(fa(e))for(const{name:t,component:i}of e)cg.register(t,i);else t&&(this.icons[e]=t)}register(e,t){cg.register(e,t)}constructor(){let{iconType:e=dg.BKG,icons:t=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.values(dg).includes(e)||th(`iconType ${e} is not valid type, please choose one of ${JSON.stringify(Object.values(dg))}`),this.info=Ct({iconType:dg.UNKNOWN}),this.registeredIcons=t,this.registered=!1,this.iconType=e}set iconType(e){if(this.info.iconType=e,e===dg.SVG&&!this.registered){for(const e of this.registeredIcons)this.register(e.name,e.component);this.registered=!0}}get iconType(){return this.info.iconType}get(e){if(e)return cg.icons[e]}get icons(){return cg.icons}}const ug=za();let hg=()=>{i("you are not install IconManagerPlugin yet, please install it first")};const pg=Ma({},(function(e){hg=Ra(e,"$iconManager",new cg(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),ug)}));const fg=["normal","thin-rect"],mg={svgIcon:{type:Object,default:()=>null},name:{type:String,default:void 0},size:{type:[String,Array],default:"normal",validator:e=>fa(e)||fg.includes(e)},type:{type:String,default:dg.FOLLOW_MANAGER,validator:e=>Object.values(dg).includes(e)},svgIconSet:{type:[Boolean,String],default:!1},sprite:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},ariaHidden:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0}};var gg=on({name:"Icon",mixins:[vm("icon")],props:mg,computed:{innerAriaHidden(){return!(ta(this.ariaLabel)&&this.ariaLabel.length>0)&&this.ariaHidden},innerSize(){return this.getIconConfigValue("size")},innerSvgIconSet(){return this.getIconConfigValue("svgIconSet")},innerSvgIcon(){return this.getIconConfigValue("svgIcon")},innerType(){const e=this.getIconConfigValue("type");return e===dg.FOLLOW_MANAGER?this.$iconManager.iconType:e},innerSprite(){return this.getIconConfigValue("sprite")},innerDisabled(){return this.getIconConfigValue("disabled")},innerConfigConsumerIcon(){return this.configConsumerIcon??this.name},iconCls(){return["v-icon",...this.name?[this.name]:[],{[`icon-${this.innerSvgIconSet}`]:this.isSvg&&this.innerSvgIconSet,[`v-icon-size-${this.innerSize}`]:!this.isSvg&&!fa(this.innerSize),disabled:this.innerDisabled,"is-svg":this.isSvg,"is-bkg":this.isBkg}]},iconStyle(){return{width:fa(this.innerSize)?`${this.innerSize[0]}px`:void 0,height:fa(this.innerSize)?`${this.innerSize[1]}px`:void 0}},isSvg(){return this.innerType===dg.SVG},isBkg(){return this.innerType===dg.BKG},svgComponent(){const e=this.innerSvgIcon??this.$iconManager.get(this.name);return e||th(`${this.name} icon is not registered into icon manager.`),e},svgProps(){return{width:fa(this.innerSize)?+this.innerSize[0]:void 0,height:fa(this.innerSize)?+this.innerSize[1]:void 0}},isComponentSvg(){return ma(this.svgComponent)},isHtmlSvg(){const e=ta(this.svgComponent);return e&&th("please use svg icon component instead of html svg, html svg will deprecated in the future."),e}},beforeCreate(){this.$iconManager||th("please import and use IconManagerPlugin when you are in tree-shaking mode or svg icon will unavailable.")},methods:{focus(){this.$el?.focus()}}});const vg=["syno-id","aria-hidden","aria-label","innerHTML"],yg=["syno-id","aria-hidden","aria-label"];var bg=Rm(gg,[["render",function(e,t,i,n,o,s){return e.isSvg&&!e.innerSprite&&e.isHtmlSvg?(jo(),Ko("i",{key:0,class:ne(e.iconCls),style:Q(e.iconStyle),"syno-id":e.synoId,"aria-hidden":e.innerAriaHidden,"aria-label":e.ariaLabel,innerHTML:e.svgComponent},null,14,vg)):(jo(),Ko("i",{key:1,class:ne(e.iconCls),style:Q(e.iconStyle),"syno-id":e.synoId,"aria-hidden":e.innerAriaHidden,"aria-label":e.ariaLabel},[e.isSvg&&!e.innerSprite&&e.isComponentSvg?(jo(),Zo($i(e.svgComponent),oe(hs({key:0},e.svgProps)),null,16)):ls("",!0),rn(e.$slots,"default")],14,yg))}]]);function wg(e,t){cg.register(e,t)}var Cg=on({components:{vIcon:bg},props:{iconType:{type:String,default:dg.FOLLOW_MANAGER}},computed:{innerIconType(){return this.iconType===dg.FOLLOW_MANAGER?this.$iconManager.iconType:this.iconType},useSvgIcon(){return this.innerIconType===dg.SVG},useBkgIcon(){return this.innerIconType===dg.BKG}}}),xg=on({name:"vIconvIconBreadcrumbSlash",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:24}}}),Sg=(e,t)=>{const i=e.__vccOpts||e;for(const[e,n]of t)i[e]=n;return i};const kg=["width","height"],_g=[ts("polygon",{"fill-rule":"evenodd",points:"8.2 18 13 6 11.8 6 7 18"},null,-1)];var Ig=Sg(xg,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 24",fill:"currentColor",width:e.width,height:e.height},[..._g],8,kg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconBreadcrumbSlash.vue"]]),Tg=on({name:"vIconvIconButtonArrowDown",props:{width:{type:[Number,String],default:12},height:{type:[Number,String],default:24}}});const Dg=["width","height"],Lg=[ts("path",{"fill-rule":"evenodd",d:"M3.50325487,11 L8.49676192,11 C8.7729043,11 8.99676192,11.2238576 8.99676192,11.5 C8.99676192,11.651692 8.92789781,11.7951818 8.80955439,11.890078 L6.31280086,13.8921536 C6.13002517,14.0387162 5.86999162,14.0387162 5.68721592,13.8921536 L3.1904624,11.890078 C2.97502825,11.7173275 2.94042633,11.4026417 3.11317684,11.1872075 C3.20807306,11.0688641 3.35156288,11 3.50325487,11 Z"},null,-1)];var Ag=Sg(Tg,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 24",fill:"currentColor",width:e.width,height:e.height},[...Lg],8,Dg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconButtonArrowDown.vue"]]),Eg=on({name:"vIconvIconEditMenuMore",props:{width:{type:[Number,String],default:12},height:{type:[Number,String],default:24}}});const Mg=["width","height"],Bg=[ts("g",{"fill-rule":"evenodd"},[ts("circle",{cx:"6",cy:"16",r:"1"}),ts("circle",{cx:"6",cy:"12",r:"1"}),ts("circle",{cx:"6",cy:"8",r:"1"})],-1)];var Og=Sg(Eg,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 24",fill:"currentColor",width:e.width,height:e.height},[...Bg],8,Mg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconEditMenuMore.vue"]]),$g=on({name:"vIconvIconExpandTableChevronDown",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Fg=["width","height"],Vg=[ts("path",{"fill-rule":"evenodd",d:"M10,10.5857864 L13.2928932,7.29289322 C13.6834175,6.90236893 14.3165825,6.90236893 14.7071068,7.29289322 C15.0976311,7.68341751 15.0976311,8.31658249 14.7071068,8.70710678 L10.7071068,12.7071068 C10.3165825,13.0976311 9.68341751,13.0976311 9.29289322,12.7071068 L5.29289322,8.70710678 C4.90236893,8.31658249 4.90236893,7.68341751 5.29289322,7.29289322 C5.68341751,6.90236893 6.31658249,6.90236893 6.70710678,7.29289322 L10,10.5857864 Z"},null,-1)];var Pg=Sg($g,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Vg],8,Fg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconExpandTableChevronDown.vue"]]),Ng=on({name:"vIconvIconExpandTableChevronUp",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Rg=["width","height"],Hg=[ts("path",{"fill-rule":"evenodd",d:"M13.2928932,11.7071068 C13.6834175,12.0976311 14.3165825,12.0976311 14.7071068,11.7071068 C15.0976311,11.3165825 15.0976311,10.6834175 14.7071068,10.2928932 L10.7071068,6.29289322 C10.3165825,5.90236893 9.68341751,5.90236893 9.29289322,6.29289322 L5.29289322,10.2928932 C4.90236893,10.6834175 4.90236893,11.3165825 5.29289322,11.7071068 C5.68341751,12.0976311 6.31658249,12.0976311 6.70710678,11.7071068 L10,8.41421356 L13.2928932,11.7071068 Z"},null,-1)];var zg=Sg(Ng,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Hg],8,Rg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconExpandTableChevronUp.vue"]]),Wg=on({name:"vIconvIconExpandTableHdd",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:32}}});const jg=["width","height"],Ug=[ts("path",{"fill-rule":"evenodd",d:"M26,2 C27.1045695,2 28,2.8954305 28,4 L28,28 C28,29.1045695 27.1045695,30 26,30 L6,30 C4.8954305,30 4,29.1045695 4,28 L4,4 C4,2.8954305 4.8954305,2 6,2 L26,2 Z M25,25 L7,25 L7,28 L25,28 L25,25 Z M23,26 L23,27 L20,27 L20,26 L23,26 Z M16,5 C11.581722,5 8,8.581722 8,13 C8,17.418278 11.581722,21 16,21 C20.418278,21 24,17.418278 24,13 C24,8.581722 20.418278,5 16,5 Z M16,10 C17.6568542,10 19,11.3431458 19,13 C19,14.6568542 17.6568542,16 16,16 C14.3431458,16 13,14.6568542 13,13 C13,11.3431458 14.3431458,10 16,10 Z"},null,-1)];var Gg=Sg(Wg,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",width:e.width,height:e.height},[...Ug],8,jg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconExpandTableHdd.vue"]]),qg=on({name:"vIconvIconInputSteppersDown",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:12}}});const Yg=["width","height"],Kg=[ts("path",{"fill-rule":"evenodd",d:"M6.50000906,4 L13.4999316,4 C13.776074,4 13.9999316,4.22385763 13.9999316,4.5 C13.9999316,4.64596095 13.9361516,4.78463445 13.8253306,4.87962553 L10.3253693,7.87964413 C10.1381233,8.04014343 9.86181738,8.04014343 9.67457143,7.87964413 L6.17461014,4.87962553 C5.96494875,4.69991266 5.94067067,4.38426246 6.12038354,4.17460108 C6.21537461,4.06378007 6.35404811,4 6.50000906,4 Z"},null,-1)];var Zg=Sg(qg,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 12",fill:"currentColor",width:e.width,height:e.height},[...Kg],8,Yg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconInputSteppersDown.vue"]]),Jg=on({name:"vIconvIconInputSteppersUp",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:12}}});const Qg=["width","height"],Xg=[ts("path",{"fill-rule":"evenodd",d:"M6.50000906,4 L13.4999316,4 C13.776074,4 13.9999316,4.22385763 13.9999316,4.5 C13.9999316,4.64596095 13.9361516,4.78463445 13.8253306,4.87962553 L10.3253693,7.87964413 C10.1381233,8.04014343 9.86181738,8.04014343 9.67457143,7.87964413 L6.17461014,4.87962553 C5.96494875,4.69991266 5.94067067,4.38426246 6.12038354,4.17460108 C6.21537461,4.06378007 6.35404811,4 6.50000906,4 Z",transform:"matrix(1 0 0 -1 0 12)"},null,-1)];var ev=Sg(Jg,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 12",fill:"currentColor",width:e.width,height:e.height},[...Xg],8,Qg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconInputSteppersUp.vue"]]),tv=on({name:"vIconvIconLabelDropdown",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const iv=["width","height"],nv=[ts("path",{"fill-rule":"evenodd",d:"M10.470226,12.5150554 C10.2105274,12.774754 9.78947264,12.774754 9.52977399,12.5150554 L6.22758532,9.2128667 C5.96788667,8.95316804 5.96788667,8.53211333 6.22758532,8.27241468 C6.48728398,8.01271602 6.90833869,8.01271602 7.16803734,8.27241468 L9.99929289,11.1050844 L12.8319627,8.27241468 C13.0916613,8.01271602 13.512716,8.01271602 13.7724147,8.27241468 C14.0321133,8.53211333 14.0321133,8.95316804 13.7724147,9.2128667 L10.470226,12.5150554 Z"},null,-1)];var ov=Sg(tv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...nv],8,iv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconLabelDropdown.vue"]]),sv=on({name:"vIconvIconLabelRemove",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const rv=["width","height"],av=[ts("path",{"fill-rule":"evenodd",d:"M13.330812,6.67780995 C13.591045,6.93804294 13.591045,7.359964 13.330812,7.62019699 L10.9464479,10.0040403 L13.330812,12.3892976 C13.591045,12.6495306 13.591045,13.0714517 13.330812,13.3316846 C13.070579,13.5919176 12.6486579,13.5919176 12.3884249,13.3316846 L10.0038746,10.9466136 L7.61932431,13.3316846 C7.35909131,13.5919176 6.93717025,13.5919176 6.67693726,13.3316846 C6.41670426,13.0714517 6.41670426,12.6495306 6.67693726,12.3892976 L9.06130127,10.0040403 L6.67693726,7.62019699 C6.41670426,7.359964 6.41670426,6.93804294 6.67693726,6.67780995 C6.93717025,6.41757695 7.35909131,6.41757695 7.61932431,6.67780995 L10.0038746,9.06146696 L12.3884249,6.67780995 C12.6486579,6.41757695 13.070579,6.41757695 13.330812,6.67780995 Z"},null,-1)];var lv=Sg(sv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...av],8,rv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconLabelRemove.vue"]]),dv=on({name:"vIconvIconSubmenuTriangleRight",props:{width:{type:[Number,String],default:12},height:{type:[Number,String],default:24}}});const cv=["width","height"],uv=[ts("path",{"fill-rule":"evenodd",d:"M3.99587161,15.501418 L3.99587161,8.50106694 C3.99587161,8.22492456 4.21972924,8.00106694 4.49587161,8.00106694 C4.64184674,8.00106694 4.78053225,8.06485934 4.87552355,8.17569883 L7.87523585,11.6758777 C8.03570005,11.8631135 8.03569992,12.1393787 7.87523555,12.3266143 L4.87552325,15.8267865 C4.6958272,16.0364623 4.38017896,16.0607657 4.17050315,15.8810697 C4.05966388,15.7860784 3.99587161,15.647393 3.99587161,15.501418 Z"},null,-1)];var hv=Sg(dv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 24",fill:"currentColor",width:e.width,height:e.height},[...uv],8,cv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconSubmenuTriangleRight.vue"]]),pv=on({name:"vIconvIconTableDraggableL",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:24}}});const fv=["width","height"],mv=[as('<g fill-rule="evenodd"><rect width="8" height="1" y="18"></rect><rect width="8" height="1" y="15"></rect><rect width="8" height="1" y="12"></rect><rect width="8" height="1" y="9"></rect><rect width="8" height="1" y="6"></rect></g>',1)];var gv=Sg(pv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 24",fill:"currentColor",width:e.width,height:e.height},[...mv],8,fv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableDraggableL.vue"]]),vv=on({name:"vIconvIconTableDraggableS",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:24}}});const yv=["width","height"],bv=[ts("g",{"fill-rule":"evenodd"},[ts("rect",{width:"8",height:"1",y:"15"}),ts("rect",{width:"8",height:"1",y:"12"}),ts("rect",{width:"8",height:"1",y:"9"})],-1)];var wv=Sg(vv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 24",fill:"currentColor",width:e.width,height:e.height},[...bv],8,yv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableDraggableS.vue"]]),Cv=on({name:"vIconvIconTableHeaderMenu",props:{width:{type:[Number,String],default:12},height:{type:[Number,String],default:24}}});const xv=["width","height"],Sv=[ts("path",{"fill-rule":"evenodd",d:"M7,15 L7,17 L5,17 L5,15 L7,15 Z M7,11 L7,13 L5,13 L5,11 L7,11 Z M7,7 L7,9 L5,9 L5,7 L7,7 Z"},null,-1)];var kv=Sg(Cv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 24",fill:"currentColor",width:e.width,height:e.height},[...Sv],8,xv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableHeaderMenu.vue"]]),_v=on({name:"vIconvIconTableSortDown",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:20}}});const Iv=["width","height"],Tv=[ts("path",{"fill-rule":"evenodd",d:"M1.50325487,9 L6.49676192,9 C6.7729043,9 6.99676192,9.22385763 6.99676192,9.5 C6.99676192,9.65169199 6.92789781,9.79518181 6.80955439,9.89007803 L4.31280086,11.8921536 C4.13002517,12.0387162 3.86999162,12.0387162 3.68721592,11.8921536 L1.1904624,9.89007803 C0.97502825,9.71732752 0.940426325,9.40264168 1.11317684,9.18720753 C1.20807306,9.06886411 1.35156288,9 1.50325487,9 Z"},null,-1)];var Dv=Sg(_v,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 20",fill:"currentColor",width:e.width,height:e.height},[...Tv],8,Iv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableSortDown.vue"]]),Lv=on({name:"vIconvIconTableSortUp",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:20}}});const Av=["width","height"],Ev=[ts("path",{"fill-rule":"evenodd",d:"M6.49674387,12.0020756 L1.50323682,12.0020756 C1.22709444,12.0020756 1.00323682,11.778218 1.00323682,11.5020756 C1.00323682,11.3503836 1.07210092,11.2068938 1.19044435,11.1119976 L3.68719787,9.10992197 C3.86997357,8.96335934 4.13000712,8.96335934 4.31278281,9.10992197 L6.80953634,11.1119976 C7.02497049,11.2847481 7.05957241,11.5994339 6.8868219,11.8148681 C6.79192568,11.9332115 6.64843586,12.0020756 6.49674387,12.0020756 Z"},null,-1)];var Mv=Sg(Lv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 20",fill:"currentColor",width:e.width,height:e.height},[...Ev],8,Av)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableSortUp.vue"]]),Bv=on({name:"vIconvIconToastClose",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Ov=["width","height"],$v=[ts("path",{"fill-rule":"evenodd",d:"M10.0038746,3.29974737 C10.3718996,3.29974737 10.6702429,3.59809061 10.6702429,3.96611565 L10.6698747,9.33774737 L16.0425063,9.33837902 C16.4105313,9.33837902 16.7088745,9.63672226 16.7088745,10.0047473 C16.7088745,10.3727723 16.4105313,10.6711156 16.0425063,10.6711156 L10.6698747,10.6707474 L10.6702429,16.0433789 C10.6702429,16.411404 10.3718996,16.7097472 10.0038746,16.7097472 C9.63584957,16.7097472 9.33750633,16.411404 9.33750633,16.0433789 L9.33687468,10.6707474 L3.96524296,10.6711156 C3.59721792,10.6711156 3.29887468,10.3727723 3.29887468,10.0047473 C3.29887468,9.63672226 3.59721792,9.33837902 3.96524296,9.33837902 L9.33687468,9.33774737 L9.33750633,3.96611565 C9.33750633,3.59809061 9.63584957,3.29974737 10.0038746,3.29974737 Z",transform:"rotate(45 10.004 10.005)"},null,-1)];var Fv=Sg(Bv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...$v],8,Ov)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconToastClose.vue"]]),Vv=on({name:"vIconvIconTreeArrowDown",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Pv=["width","height"],Nv=[ts("path",{"fill-rule":"evenodd",d:"M6.50614495,8 L13.4938519,8 C13.7699942,8 13.9938519,8.22385763 13.9938519,8.5 C13.9938519,8.64488452 13.9310054,8.78264522 13.8215851,8.87761216 L10.3277355,11.9099577 C10.1397161,12.0731414 9.86028838,12.0731414 9.67226904,11.9099577 L6.17841943,8.87761216 C5.96986999,8.69661011 5.94753842,8.38081623 6.12854048,8.17226679 C6.22350741,8.06284648 6.36126812,8 6.50614495,8 Z"},null,-1)];var Rv=Sg(Vv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Nv],8,Pv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTreeArrowDown.vue"]]),Hv=on({name:"vIconvIconTreeArrowRight",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const zv=["width","height"],Wv=[ts("path",{"fill-rule":"evenodd",d:"M8,13.4876992 L8,6.5 C8,6.22385763 8.22385763,6 8.5,6 C8.64488452,6 8.78264522,6.06284648 8.87761216,6.17226679 L11.9099577,9.6661164 C12.0731414,9.85413575 12.0731414,10.1335635 11.9099577,10.3215828 L8.87761216,13.8154324 C8.69661011,14.0239819 8.38081623,14.0463134 8.17226679,13.8653114 C8.06284648,13.7703444 8,13.6325837 8,13.4876992 Z"},null,-1)];var jv=Sg(Hv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Wv],8,zv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTreeArrowRight.vue"]]),Uv=on({name:"vIconvIconAboutTickBlue",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Gv=["width","height"],qv=[ts("circle",{cx:"10",cy:"10",r:"7",fill:"#057FEB"},null,-1),ts("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.404 7.90402C13.1697 7.66971 12.7898 7.66971 12.5555 7.90403L9.2321 11.2274L7.67661 9.67192C7.44229 9.43761 7.06239 9.43761 6.82808 9.67192C6.59376 9.90624 6.59376 10.2861 6.82808 10.5204L8.80508 12.4975C8.806 12.4984 8.80691 12.4993 8.80783 12.5002C8.81702 12.5094 8.82644 12.5182 8.83606 12.5267C9.07172 12.7343 9.43134 12.7255 9.65651 12.5003C9.66016 12.4967 9.66376 12.493 9.6673 12.4893L13.404 8.75255C13.6383 8.51824 13.6383 8.13834 13.404 7.90402Z",fill:"white"},null,-1)];var Yv=Sg(Uv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...qv],8,Gv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAboutTickBlue.vue"]]),Kv=on({name:"vIconvIconBetaLabelBlue",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:16}}});const Zv=["width","height"],Jv=[ts("rect",{width:"32",height:"16",rx:"3",fill:"#057FEB"},null,-1),ts("path",{d:"M7.21582 12C8.01335 12 8.62614 11.821 9.0542 11.4629C9.48226 11.1048 9.69629 10.5921 9.69629 9.9248C9.69629 9.52116 9.59131 9.17529 9.38135 8.88721C9.17139 8.59912 8.87435 8.40299 8.49023 8.29883C8.82878 8.1556 9.08594 7.95378 9.26172 7.69336C9.4375 7.43294 9.52539 7.13997 9.52539 6.81445C9.52539 6.17643 9.31543 5.69629 8.89551 5.37402C8.47559 5.05176 7.86361 4.89062 7.05957 4.89062H4.62305V12H7.21582ZM7.06934 7.88379H5.8584V5.88672H7.05957C7.48275 5.88672 7.79443 5.96484 7.99463 6.12109C8.19482 6.27734 8.29492 6.53125 8.29492 6.88281C8.29492 7.20182 8.18669 7.44841 7.97021 7.62256C7.75374 7.79671 7.45345 7.88379 7.06934 7.88379ZM7.23047 11.0137H5.8584V8.79199H7.33301C8.08822 8.80827 8.46582 9.18587 8.46582 9.9248C8.46582 10.2666 8.35677 10.5335 8.13867 10.7256C7.92057 10.9176 7.61784 11.0137 7.23047 11.0137ZM15.5801 12V11.0137H12.167V8.82617H15.0869V7.84961H12.167V5.88672H15.5459V4.89062H10.9316V12H15.5801ZM19.6035 12V5.88672H21.8203V4.89062H16.1807V5.88672H18.3779V12H19.6035ZM22.8164 12L23.3926 10.3447H26.1465L26.7275 12H28.0166L25.3262 4.89062H24.2178L21.5322 12H22.8164ZM25.7998 9.34863H23.7393L24.7695 6.39941L25.7998 9.34863Z",fill:"white"},null,-1)];var Qv=Sg(Kv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 32 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...Jv],8,Zv)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconBetaLabelBlue.vue"]]),Xv=on({name:"vIconvIconAdjust",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const ey=["width","height"],ty=[ts("path",{"fill-rule":"evenodd",d:"M9,12 C10.3062521,12 11.4175144,12.8348501 11.8293257,14.0000889 L19,14 C19.5522847,14 20,14.4477153 20,15 C20,15.5522847 19.5522847,16 19,16 L11.8289758,16.0009007 C11.4168852,17.1656226 10.3058822,18 9,18 C7.69411778,18 6.58311485,17.1656226 6.17102423,16.0009007 L5,16 C4.44771525,16 4,15.5522847 4,15 C4,14.4477153 4.44771525,14 5,14 L6.17067428,14.0000889 C6.58248558,12.8348501 7.69374794,12 9,12 Z M9,13.8 C8.3372583,13.8 7.8,14.3372583 7.8,15 C7.8,15.6627417 8.3372583,16.2 9,16.2 C9.6627417,16.2 10.2,15.6627417 10.2,15 C10.2,14.3372583 9.6627417,13.8 9,13.8 Z M15,6 C16.3062521,6 17.4175144,6.8348501 17.8293257,8.00008893 L19,8 C19.5522847,8 20,8.44771525 20,9 C20,9.55228475 19.5522847,10 19,10 L17.8289758,10.0009007 C17.4168852,11.1656226 16.3058822,12 15,12 C13.6941178,12 12.5831148,11.1656226 12.1710242,10.0009007 L5,10 C4.44771525,10 4,9.55228475 4,9 C4,8.44771525 4.44771525,8 5,8 L12.1706743,8.00008893 C12.5824856,6.8348501 13.6937479,6 15,6 Z M15,7.8 C14.3372583,7.8 13.8,8.3372583 13.8,9 C13.8,9.6627417 14.3372583,10.2 15,10.2 C15.6627417,10.2 16.2,9.6627417 16.2,9 C16.2,8.3372583 15.6627417,7.8 15,7.8 Z"},null,-1)];var iy=Sg(Xv,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...ty],8,ey)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdjust.vue"]]),ny=on({name:"vIconvIconCalendar",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const oy=["width","height"],sy=[ts("path",{"fill-rule":"evenodd",d:"M18,5 C19.1045695,5 20,5.8954305 20,7 L20,18 C20,19.1045695 19.1045695,20 18,20 L6,20 C4.8954305,20 4,19.1045695 4,18 L4,7 C4,5.8954305 4.8954305,5 6,5 L18,5 Z M18,9 L6,9 L6,18 L18,18 L18,9 Z M16,14.5 C16.2761424,14.5 16.5,14.7238576 16.5,15 L16.5,15 L16.5,16 C16.5,16.2761424 16.2761424,16.5 16,16.5 L16,16.5 L15,16.5 C14.7238576,16.5 14.5,16.2761424 14.5,16 L14.5,16 L14.5,15 C14.5,14.7238576 14.7238576,14.5 15,14.5 L15,14.5 Z M12.5,14.5 C12.7761424,14.5 13,14.7238576 13,15 L13,15 L13,16 C13,16.2761424 12.7761424,16.5 12.5,16.5 L12.5,16.5 L11.5,16.5 C11.2238576,16.5 11,16.2761424 11,16 L11,16 L11,15 C11,14.7238576 11.2238576,14.5 11.5,14.5 L11.5,14.5 Z M9,14.5 C9.27614237,14.5 9.5,14.7238576 9.5,15 L9.5,15 L9.5,16 C9.5,16.2761424 9.27614237,16.5 9,16.5 L9,16.5 L8,16.5 C7.72385763,16.5 7.5,16.2761424 7.5,16 L7.5,16 L7.5,15 C7.5,14.7238576 7.72385763,14.5 8,14.5 L8,14.5 Z M9,10.5 C9.27614237,10.5 9.5,10.7238576 9.5,11 L9.5,11 L9.5,12 C9.5,12.2761424 9.27614237,12.5 9,12.5 L9,12.5 L8,12.5 C7.72385763,12.5 7.5,12.2761424 7.5,12 L7.5,12 L7.5,11 C7.5,10.7238576 7.72385763,10.5 8,10.5 L8,10.5 Z M12.5,10.5 C12.7761424,10.5 13,10.7238576 13,11 L13,11 L13,12 C13,12.2761424 12.7761424,12.5 12.5,12.5 L12.5,12.5 L11.5,12.5 C11.2238576,12.5 11,12.2761424 11,12 L11,12 L11,11 C11,10.7238576 11.2238576,10.5 11.5,10.5 L11.5,10.5 Z M16,10.5 C16.2761424,10.5 16.5,10.7238576 16.5,11 L16.5,11 L16.5,12 C16.5,12.2761424 16.2761424,12.5 16,12.5 L16,12.5 L15,12.5 C14.7238576,12.5 14.5,12.2761424 14.5,12 L14.5,12 L14.5,11 C14.5,10.7238576 14.7238576,10.5 15,10.5 L15,10.5 Z"},null,-1)];var ry=Sg(ny,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...sy],8,oy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCalendar.vue"]]),ay=on({name:"vIconvIconChevronDown",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const ly=["width","height"],dy=[ts("path",{"fill-rule":"evenodd",d:"M17.3446662,9.12549451 C17.6599527,9.46877351 17.6500983,9.99914551 17.3222775,10.3304755 L12.6526339,15.0501055 C12.4856695,15.2188572 12.2685602,15.3078522 12.04871,15.3168381 C11.8410076,15.3293442 11.6291326,15.2707164 11.453781,15.1403303 L11.3500516,15.0502393 L11.3500516,15.0502393 L6.67803861,10.3305832 C6.35015851,9.99935953 6.34023792,9.46900715 6.65550145,9.12575304 C6.93222483,8.82446085 7.38481147,8.78109597 7.71149001,9.00848531 L7.81474756,9.09379533 L7.81474756,9.09379533 L12.0009113,13.1753278 L16.1855586,9.09368287 C16.5049348,8.78212832 17.0164053,8.78846904 17.3279598,9.10784525 L17.3446662,9.12549451 Z"},null,-1)];var cy=Sg(ay,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...dy],8,ly)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronDown.vue"]]),uy=on({name:"vIconvIconChevronFirst",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const hy=["width","height"],py=[ts("path",{"fill-rule":"evenodd",d:"M7,6 C7.55228475,6 8,6.44771525 8,7 L8,17 C8,17.5522847 7.55228475,18 7,18 C6.44771525,18 6,17.5522847 6,17 L6,7 C6,6.44771525 6.44771525,6 7,6 Z M16.2693984,6.29739163 C16.6653457,5.90044628 17.3070709,5.90078526 17.703525,6.29891704 C18.068703,6.66579749 18.0965057,7.24266089 17.7870661,7.64144649 L17.7026804,7.73720836 L13.4476016,12.0032859 L17.7026804,16.2691938 C18.0910263,16.6647833 18.0913642,17.2996925 17.703525,17.6957904 C17.3414655,18.0656434 16.7668194,18.0988594 16.3664742,17.7921057 L16.270243,17.7083326 L11.2964117,12.7227705 C10.9008022,12.3254862 10.901309,11.681594 11.2972563,11.2846487 L16.2693984,6.29739163 L16.2693984,6.29739163 Z"},null,-1)];var fy=Sg(uy,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...py],8,hy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronFirst.vue"]]),my=on({name:"vIconvIconChevronLast",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const gy=["width","height"],vy=[ts("path",{"fill-rule":"evenodd",d:"M17,18 C16.4477153,18 16,17.5522847 16,17 L16,7 C16,6.44771525 16.4477153,6 17,6 C17.5522847,6 18,6.44771525 18,7 L18,17 C18,17.5522847 17.5522847,18 17,18 Z M7.73060158,17.7026084 C7.33465427,18.0995537 6.69292908,18.0992147 6.29647501,17.701083 C5.93129703,17.3342025 5.90349428,16.7573391 6.2129339,16.3585535 L6.29731961,16.2627916 L10.5523984,11.9967141 L6.29731961,7.73080615 C5.90897367,7.33521672 5.90863583,6.70030754 6.29647501,6.30420963 C6.65853447,5.93435659 7.23318063,5.90114058 7.63352585,6.20789431 L7.72975699,6.29166738 L12.7035883,11.2772295 C13.0991978,11.6745138 13.098691,12.318406 12.7027437,12.7153513 L7.73060158,17.7026084 L7.73060158,17.7026084 Z"},null,-1)];var yy=Sg(my,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...vy],8,gy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronLast.vue"]]),by=on({name:"vIconvIconChevronLeft",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const wy=["width","height"],Cy=[ts("path",{"fill-rule":"evenodd",d:"M13.2693984,6.29739163 C13.2691732,6.29761762 11.6117925,7.96003663 8.29725631,11.2846487 C7.901309,11.681594 7.90080224,12.3254862 8.29641171,12.7227705 L13.270243,17.7083326 C13.6695687,18.1020577 14.3112939,18.0964645 14.703525,17.6957904 C15.0913642,17.2996925 15.0910263,16.6647833 14.7026804,16.2691938 L10.4476016,12.0032859 L14.7026804,7.73720836 C15.0987966,7.34026301 15.0991345,6.69637087 14.703525,6.29891704 C14.3070709,5.90078526 13.6653457,5.90044628 13.2693984,6.29739163 Z"},null,-1)];var xy=Sg(by,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Cy],8,wy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronLeft.vue"]]),Sy=on({name:"vIconvIconChevronLeftDouble",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const ky=["width","height"],_y=[ts("path",{"fill-rule":"evenodd",d:"M10.2693984,6.29739163 C10.6653457,5.90044628 11.3070709,5.90078526 11.703525,6.29891704 C12.068703,6.66579749 12.0965057,7.24266089 11.7870661,7.64144649 L11.7026804,7.73720836 L7.44760158,12.0032859 L11.7026804,16.2691938 C12.0910263,16.6647833 12.0913642,17.2996925 11.703525,17.6957904 C11.3414655,18.0656434 10.7668194,18.0988594 10.3664742,17.7921057 L10.270243,17.7083326 L5.29641171,12.7227705 C4.90080224,12.3254862 4.901309,11.681594 5.29725631,11.2846487 L10.2693984,6.29739163 L10.2693984,6.29739163 Z M16.2693984,6.29739163 C16.6653457,5.90044628 17.3070709,5.90078526 17.703525,6.29891704 C18.068703,6.66579749 18.0965057,7.24266089 17.7870661,7.64144649 L17.7026804,7.73720836 L13.4476016,12.0032859 L17.7026804,16.2691938 C18.0910263,16.6647833 18.0913642,17.2996925 17.703525,17.6957904 C17.3414655,18.0656434 16.7668194,18.0988594 16.3664742,17.7921057 L16.270243,17.7083326 L11.2964117,12.7227705 C10.9008022,12.3254862 10.901309,11.681594 11.2972563,11.2846487 L16.2693984,6.29739163 L16.2693984,6.29739163 Z"},null,-1)];var Iy=Sg(Sy,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[..._y],8,ky)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronLeftDouble.vue"]]),Ty=on({name:"vIconvIconChevronRight",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Dy=["width","height"],Ly=[ts("path",{"fill-rule":"evenodd",d:"M10.6350897,6.21284147 L10.9510858,6.51854618 L10.9510858,6.51854618 L15.7027437,11.2846487 L15.7027437,11.2846487 C16.098691,11.681594 16.0991978,12.3254862 15.7035883,12.7227705 L10.729757,17.7083326 C10.3304313,18.1020577 9.68870609,18.0964645 9.29647501,17.6957904 C8.90863583,17.2996925 8.90897367,16.6647833 9.29731961,16.2691938 L13.5523984,12.0032859 L9.29731961,7.73720836 C8.90120337,7.34026301 8.90086553,6.69637087 9.29647501,6.29891704 C9.66243261,5.93141078 10.2373786,5.90285223 10.6350897,6.21284147 L10.6350897,6.21284147 Z"},null,-1)];var Ay=Sg(Ty,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Ly],8,Dy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronRight.vue"]]),Ey=on({name:"vIconvIconChevronRightDouble",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const My=["width","height"],By=[ts("path",{"fill-rule":"evenodd",d:"M13.7306016,17.7026084 C13.3346543,18.0995537 12.6929291,18.0992147 12.296475,17.701083 C11.931297,17.3342025 11.9034943,16.7573391 12.2129339,16.3585535 L12.2973196,16.2627916 L16.5523984,11.9967141 L12.2973196,7.73080615 C11.9089737,7.33521672 11.9086358,6.70030754 12.296475,6.30420963 C12.6585345,5.93435659 13.2331806,5.90114058 13.6335258,6.20789431 L13.729757,6.29166738 L18.7035883,11.2772295 C19.0991978,11.6745138 19.098691,12.318406 18.7027437,12.7153513 L13.7306016,17.7026084 L13.7306016,17.7026084 Z M7.73060158,17.7026084 C7.33465427,18.0995537 6.69292908,18.0992147 6.29647501,17.701083 C5.93129703,17.3342025 5.90349428,16.7573391 6.2129339,16.3585535 L6.29731961,16.2627916 L10.5523984,11.9967141 L6.29731961,7.73080615 C5.90897367,7.33521672 5.90863583,6.70030754 6.29647501,6.30420963 C6.65853447,5.93435659 7.23318063,5.90114058 7.63352585,6.20789431 L7.72975699,6.29166738 L12.7035883,11.2772295 C13.0991978,11.6745138 13.098691,12.318406 12.7027437,12.7153513 L7.73060158,17.7026084 L7.73060158,17.7026084 Z"},null,-1)];var Oy=Sg(Ey,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...By],8,My)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronRightDouble.vue"]]),$y=on({name:"vIconvIconChevronUp",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Fy=["width","height"],Vy=[ts("path",{"fill-rule":"evenodd",d:"M17.3446662,14.8759865 C17.6599527,14.5327075 17.6500983,14.0023355 17.3222775,13.6710056 L12.6526339,8.95137552 C12.4856695,8.78262386 12.2685602,8.69362889 12.04871,8.68464298 C11.8410076,8.67213682 11.6291326,8.73076463 11.453781,8.86115077 L11.3500516,8.95124171 L11.3500516,8.95124171 L6.67803861,13.6708978 C6.35015851,14.0021215 6.34023792,14.5324739 6.65550145,14.875728 C6.93222483,15.1770202 7.38481147,15.2203851 7.71149001,14.9929957 L7.80605346,14.9160371 L7.80605346,14.9160371 L12.0009113,10.8261532 L16.1855586,14.9077982 C16.5049348,15.2193527 17.0164053,15.213012 17.3279598,14.8936358 L17.3446662,14.8759865 Z"},null,-1)];var Py=Sg($y,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Vy],8,Fy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronUp.vue"]]),Ny=on({name:"vIconvIconClear",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Ry=["width","height"],Hy=[ts("path",{"fill-rule":"evenodd",d:"M12,5 C15.8659932,5 19,8.13400675 19,12 C19,15.8659932 15.8659932,19 12,19 C8.13400675,19 5,15.8659932 5,12 C5,8.13400675 8.13400675,5 12,5 Z M14.2301,9.13319 C14.0541,8.95619 13.7691,8.95619 13.5931,9.13219 L13.5931,9.13219 L12.0001,10.72519 L10.4061,9.13219 C10.2301,8.95619 9.9451,8.95619 9.7681,9.13219 L9.7681,9.13219 L9.1321,9.76819 C8.9561,9.94619 8.9561,10.23119 9.1321,10.40619 L9.1321,10.40619 L10.7241,11.99819 L9.1321,13.59219 C8.9561,13.77019 8.9561,14.05519 9.1321,14.23119 L9.1321,14.23119 L9.7681,14.86719 C9.9451,15.04519 10.2301,15.04519 10.4061,14.86719 L10.4061,14.86719 L12.0001,13.27419 L13.5941,14.86719 C13.7691,15.04319 14.0541,15.04519 14.2301,14.86719 L14.2301,14.86719 L14.8681,14.23119 C15.0441,14.05519 15.0441,13.77019 14.8681,13.59219 L14.8681,13.59219 L13.2751,12.00019 L14.8681,10.40619 C15.0451,10.23119 15.0441,9.94619 14.8681,9.77019 L14.8681,9.77019 Z"},null,-1)];var zy=Sg(Ny,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Hy],8,Ry)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconClear.vue"]]),Wy=on({name:"vIconvIconColorReset",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const jy=["width","height"],Uy=[ts("path",{"fill-rule":"evenodd",d:"M17.2942784,9.29289322 C17.6679737,9.66658857 17.6679737,10.2724685 17.2942784,10.6461638 L16.0048353,11.827 L16.7113119,13.2640635 C16.8868814,13.7155526 17,14.1944408 17,14.700728 C17,17.0749173 14.6029065,19 12,19 C10.8765596,19 9.9468816,18.6398132 9.22111577,18.0396666 L8.15176229,19.0182386 C7.73927642,19.3959074 7.10256751,19.3818864 6.70710678,18.9864257 C6.36215722,18.6414761 6.33562264,18.0986889 6.62750304,17.7233027 L6.72216741,17.6184225 L6.72216741,17.6184225 L15.8496228,9.26108035 C16.2621087,8.88341148 16.8988176,8.89743249 17.2942784,9.29289322 Z M12.2495452,5.10217946 L12.3,5.16890891 L14,8.52794167 L7,15.0000603 C7,14.5802072 7.08078011,14.1727431 7.21288924,13.7886084 L7.29807859,13.5610146 L11.7,5.16890891 C11.8152463,4.96872057 12.0972432,4.94647742 12.2495452,5.10217946 Z"},null,-1)];var Gy=Sg(Wy,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Uy],8,jy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconColorReset.vue"]]),qy=on({name:"vIconvIconCopy",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Yy=["width","height"],Ky=[ts("path",{"fill-rule":"evenodd",d:"M15.6073092,7 C15.8597225,7 16.1027984,7.0954543 16.2877643,7.2672102 L19.6804577,10.4176026 C19.8842223,10.6068146 20.0000026,10.8723255 20.0000026,11.1503924 L20.0000026,18 C20.0000026,19.1045695 19.1045721,20 18.0000026,20 L10.0000026,20 C8.89543308,20 8.00000258,19.1045695 8.00000258,18 L8.00000258,9 C8.00000258,7.8954305 8.89543308,7 10.0000026,7 L15.6073092,7 Z M15.0000039,9 L10.0000039,9 L10.0000039,17.9998369 L18.0000039,17.9998369 L18.0000039,12 L15.0000039,9 Z M11.5857907,3 C11.8068049,3 12.0202756,3.06828778 12.1938213,3.19234454 L12.2928987,3.27337071 L15,6 L12,6 L11,5 L6,5 L6,15 L7,15 L7,17 L6,17 C4.9480296,17 4.08575339,16.2419554 4.00601726,15.2791935 L4,15.133313 L4,4.86668696 C4,3.88483673 4.81218238,3.08003731 5.84370125,3.00561617 L6,3 L11.5857907,3 Z"},null,-1)];var Zy=Sg(qy,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Ky],8,Yy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCopy.vue"]]),Jy=on({name:"vIconvIconCut",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Qy=["width","height"],Xy=[ts("path",{"fill-rule":"evenodd",d:"M6.70659616,5.33627315 C7.07045431,5.09731461 7.54720376,5.15596697 7.84295714,5.46050986 L7.91890884,5.54962461 L12.019,11.0418393 L16.0798252,5.64492011 C16.3651592,5.26551523 16.8957256,5.17218595 17.2934038,5.43144554 C17.743677,5.7249935 17.9727149,6.26092818 17.8736762,6.78923459 C17.6990234,7.72083454 17.407798,8.45775635 17,9 L16.7442899,9.32037161 L16.7442899,9.32037161 L16.0895923,10.0974149 L16.0895923,10.0974149 L15.41002,10.8871052 L15.41002,10.8871052 L13.5210478,13.0531342 L13.5210478,13.0531342 L14.1549785,13.9017173 C14.775575,13.3412585 15.5979349,13 16.5,13 C18.4329966,13 20,14.5670034 20,16.5 C20,18.4329966 18.4329966,20 16.5,20 C14.5670034,20 13,18.4329966 13,16.5 C13,16.3285245 13.0123314,16.1599291 13.0361557,15.9950523 L11.9813873,14.8027698 L11.9813873,14.8027698 L10.9589078,15.9636824 L10.9589078,15.9636824 C10.9860757,16.1388234 11,16.3177856 11,16.5 C11,18.4329966 9.43299662,20 7.5,20 C5.56700338,20 4,18.4329966 4,16.5 C4,14.5670034 5.56700338,13 7.5,13 C8.40905784,13 9.23716996,13.3465698 9.85941752,13.9147907 L10.4776103,13.0942573 L9.00746374,11.406013 L9.00746374,11.406013 L7.91271776,10.1246629 L7.91271776,10.1246629 L7.45569582,9.57515017 L7.45569582,9.57515017 L7.05679621,9.07509845 C7.03658727,9.04868164 7.0176552,9.02364882 7,9 C6.48137674,8.30531344 6.16087429,7.59439659 6.03849265,6.86724944 C5.93790258,6.26959155 6.20001063,5.66896584 6.70659616,5.33627315 Z M7.5,15 C6.67157288,15 6,15.6715729 6,16.5 C6,17.3284271 6.67157288,18 7.5,18 C8.32842712,18 9,17.3284271 9,16.5 C9,15.6715729 8.32842712,15 7.5,15 Z M16.5,15 C15.6715729,15 15,15.6715729 15,16.5 C15,17.3284271 15.6715729,18 16.5,18 C17.3284271,18 18,17.3284271 18,16.5 C18,15.6715729 17.3284271,15 16.5,15 Z"},null,-1)];var eb=Sg(Jy,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Xy],8,Qy)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCut.vue"]]),tb=on({name:"vIconvIconDataviewChevronDown",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const ib=["width","height"],nb=[ts("path",{"fill-rule":"evenodd",d:"M7.06789499,11.0176425 C6.78200895,10.7317564 6.78200895,10.2682436 7.06789499,9.98235754 C7.35378102,9.69647151 7.81729387,9.69647151 8.1031799,9.98235754 L11.5,13.3779246 L14.8968201,9.98235754 C15.1827061,9.69647151 15.646219,9.69647151 15.932105,9.98235754 C16.217991,10.2682436 16.217991,10.7317564 15.932105,11.0176425 L12.0176425,14.932105 C11.7555803,15.1941672 11.3442622,15.2160057 11.057324,14.9976206 L10.9823575,14.932105 L7.06789499,11.0176425 Z"},null,-1)];var ob=Sg(tb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...nb],8,ib)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconDataviewChevronDown.vue"]]),sb=on({name:"vIconvIconDataviewChevronUp",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const rb=["width","height"],ab=[ts("path",{"fill-rule":"evenodd",d:"M7.06789499,12.9823575 C6.78200895,13.2682436 6.78200895,13.7317564 7.06789499,14.0176425 C7.35378102,14.3035285 7.81729387,14.3035285 8.1031799,14.0176425 L11.5,10.6220754 L14.8968201,14.0176425 C15.1827061,14.3035285 15.646219,14.3035285 15.932105,14.0176425 C16.217991,13.7317564 16.217991,13.2682436 15.932105,12.9823575 L12.0176425,9.06789499 C11.7555803,8.80583279 11.3442622,8.78399427 11.057324,9.00237944 L10.9823575,9.06789499 L7.06789499,12.9823575 Z"},null,-1)];var lb=Sg(sb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...ab],8,rb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconDataviewChevronUp.vue"]]),db=on({name:"vIconvIconDelete",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const cb=["width","height"],ub=[ts("path",{"fill-rule":"evenodd",d:"M11.5,4 C12.3284271,4 13,4.67157288 13,5.5 L13,7 L19,7 C19.5522847,7 20,7.44771525 20,8 C20,8.55228475 19.5522847,9 19,9 L18,9 L18,17.9998419 C18,19.1044114 17.1045695,19.9998419 16,19.9998419 L7,19.9998419 C5.8954305,19.9998419 5,19.1044114 5,17.9998419 L5,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L10,7 L10,5.5 C10,4.67157288 10.6715729,4 11.5,4 Z M16,9 L7,9 L7.00000086,18 L16.0000009,18 L16,9 Z M10,10 C10.5522847,10 11,10.4477153 11,11 L11,16 C11,16.5522847 10.5522847,17 10,17 C9.44771525,17 9,16.5522847 9,16 L9,11 C9,10.4477153 9.44771525,10 10,10 Z M13,10 C13.5522847,10 14,10.4477153 14,11 L14,16 C14,16.5522847 13.5522847,17 13,17 C12.4477153,17 12,16.5522847 12,16 L12,11 C12,10.4477153 12.4477153,10 13,10 Z"},null,-1)];var hb=Sg(db,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...ub],8,cb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconDelete.vue"]]),pb=on({name:"vIconvIconEdit",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const fb=["width","height"],mb=[ts("path",{"fill-rule":"evenodd",d:"M16.7548105,4.55638424 L19.4429959,7.24174971 C20.1853919,7.98359536 20.1853919,9.18361547 19.4446512,9.92876923 L16.9219945,12.4445936 L10.5896958,18.7788142 L4,19.997856 L5.21001447,13.403121 L14.0682805,4.55638424 C14.8106765,3.81453859 16.0132422,3.81453859 16.7548105,4.55638424 Z M12.516,8.931 L7.065,14.377 L6.491,17.503 L9.614,16.925 L15.061,11.476 L12.516,8.931 Z M15.411,6.041 L13.932,7.517 L16.477,10.062 L17.958,8.585 L15.411,6.041 Z"},null,-1)];var gb=Sg(pb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...mb],8,fb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconEdit.vue"]]),vb=on({name:"vIconvIconEye",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const yb=["width","height"],bb=[ts("path",{"fill-rule":"evenodd",d:"M12,6 C15.3333333,6 18.3333333,8 21,12 C18.3333333,16 15.3333333,18 12,18 C8.66666667,18 5.66666667,16 3,12 C5.66666667,8 8.66666667,6 12,6 Z M12,8 C9.790861,8 8,9.790861 8,12 C8,14.209139 9.790861,16 12,16 C14.209139,16 16,14.209139 16,12 C16,9.790861 14.209139,8 12,8 Z M12,10 C13.1045695,10 14,10.8954305 14,12 C14,13.1045695 13.1045695,14 12,14 C10.8954305,14 10,13.1045695 10,12 C10,10.8954305 10.8954305,10 12,10 Z"},null,-1)];var wb=Sg(vb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...bb],8,yb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconEye.vue"]]),Cb=on({name:"vIconvIconEyeSlash",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const xb=["width","height"],Sb=[ts("path",{"fill-rule":"evenodd",d:"M7.05025253,5.70710678 L18.363961,17.0208153 C18.7544853,17.4113396 18.7544853,18.0445046 18.363961,18.4350288 C17.9734367,18.8255531 17.3402718,18.8255531 16.9497475,18.4350288 L5.63603897,7.12132034 C5.24551468,6.73079605 5.24551468,6.09763107 5.63603897,5.70710678 C6.02656326,5.31658249 6.65972824,5.31658249 7.05025253,5.70710678 Z M6.57419297,8.05983619 L8.55328326,10.0400075 C8.20172441,10.635319 8,11.3296358 8,12.0710678 C8,14.2802068 9.790861,16.0710678 12,16.0710678 C12.7414004,16.0710678 13.4356896,15.8693606 14.0309842,15.5178295 L15.6973771,17.1839176 C14.5142042,17.7753511 13.2817452,18.0710678 12,18.0710678 C8.66666667,18.0710678 5.66666667,16.0710678 3,12.0710678 C4.13139509,10.3739752 5.32279274,9.03689798 6.57419297,8.05983619 Z M12,6.07106781 C15.3333333,6.07106781 18.3333333,8.07106781 21,12.0710678 C20.1014093,13.4189538 19.1649687,14.5397403 18.1906781,15.4334271 L15.8645726,13.1069331 C15.9529065,12.776546 16,12.4293066 16,12.0710678 C16,9.86192881 14.209139,8.07106781 12,8.07106781 C11.6417612,8.07106781 11.2945218,8.11816131 10.9641347,8.20649518 L9.29394296,6.5359528 C10.170135,6.22602947 11.072154,6.07106781 12,6.07106781 Z M10.0674756,11.5540266 L12.5170412,14.0035922 C12.3521146,14.0476057 12.1787972,14.0710678 12,14.0710678 C10.8954305,14.0710678 10,13.1756373 10,12.0710678 C10,11.8922706 10.0234621,11.7189532 10.0674756,11.5540266 Z"},null,-1)];var kb=Sg(Cb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Sb],8,xb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconEyeSlash.vue"]]),_b=on({name:"vIconvIconFilter",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Ib=["width","height"],Tb=[ts("path",{"fill-rule":"evenodd",d:"M11.9899414,11 L16,7 L8,7 L11.9899414,11 Z M13,19 C13,19.5522847 12.5522847,20 12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5.16434451,6.64654088 C4.96317235,6.32578616 4.94305513,5.89811321 5.12411008,5.55597484 C5.30516502,5.21383648 5.64715768,5 6.00926756,5 L17.9907324,5 C18.3528423,5 18.694835,5.21383648 18.8758899,5.55597484 C19.0569449,5.89811321 19.0368276,6.32578616 18.8356555,6.64654088 L13,13 L13,19 Z"},null,-1)];var Db=Sg(_b,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Tb],8,Ib)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconFilter.vue"]]),Lb=on({name:"vIconvIconFolder",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Ab=["width","height"],Eb=[ts("path",{"fill-rule":"evenodd",d:"M19,10 L19,17 C19,17.5522847 18.5522847,18 18,18 L6,18 C5.44771525,18 5,17.5522847 5,17 L5,10 L19,10 Z M8.73498141,5 C9.05470012,5 9.35514454,5.15287679 9.54335382,5.41132857 L10.7,7 L18,7 C18.5522847,7 19,7.44771525 19,8 L19,9 L5,9 L5,6 C5,5.44771525 5.44771525,5 6,5 L8.73498141,5 Z"},null,-1)];var Mb=Sg(Lb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Eb],8,Ab)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconFolder.vue"]]),Bb=on({name:"vIconvIconHamburger",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Ob=["width","height"],$b=[ts("path",{"fill-rule":"evenodd",d:"M19,16 C19.5522847,16 20,16.4477153 20,17 C20,17.5522847 19.5522847,18 19,18 L5,18 C4.44771525,18 4,17.5522847 4,17 C4,16.4477153 4.44771525,16 5,16 L19,16 Z M19,11 C19.5522847,11 20,11.4477153 20,12 C20,12.5522847 19.5522847,13 19,13 L5,13 C4.44771525,13 4,12.5522847 4,12 C4,11.4477153 4.44771525,11 5,11 L19,11 Z M19,6 C19.5522847,6 20,6.44771525 20,7 C20,7.55228475 19.5522847,8 19,8 L5,8 C4.44771525,8 4,7.55228475 4,7 C4,6.44771525 4.44771525,6 5,6 L19,6 Z"},null,-1)];var Fb=Sg(Bb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...$b],8,Ob)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconHamburger.vue"]]),Vb=on({name:"vIconvIconHome",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Pb=["width","height"],Nb=[ts("path",{"fill-rule":"evenodd",d:"M12.3178536,5.26176181 L20.0696741,11.645614 C20.1549391,11.7158322 20.167137,11.8418764 20.0969187,11.9271415 C20.058927,11.9732742 20.0022955,12 19.9425326,12 L18,12 L18,18.5 C18,18.7761424 17.7761424,19 17.5,19 L6.5,19 C6.22385763,19 6,18.7761424 6,18.5 L6,12 L4.05746736,12 C3.94701041,12 3.85746736,11.9104569 3.85746736,11.8 C3.85746736,11.7402371 3.88419313,11.6836057 3.93032591,11.645614 L11.6821464,5.26176181 C11.8667743,5.1097153 12.1332257,5.1097153 12.3178536,5.26176181 Z M13.5,13 L10.5,13 C10.2545401,13 10.0503916,13.1768752 10.0080557,13.4101244 L10,13.5 L10,17.5 C10,17.7454599 10.1768752,17.9496084 10.4101244,17.9919443 L10.5,18 L13.5,18 C13.7454599,18 13.9496084,17.8231248 13.9919443,17.5898756 L14,17.5 L14,13.5 C14,13.2545401 13.8231248,13.0503916 13.5898756,13.0080557 L13.5,13 Z"},null,-1)];var Rb=Sg(Vb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Nb],8,Pb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconHome.vue"]]),Hb=on({name:"vIconvIconMinus",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const zb=["width","height"],Wb=[ts("rect",{width:"12",height:"2",x:"6",y:"11","fill-rule":"evenodd",rx:"1"},null,-1)];var jb=Sg(Hb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Wb],8,zb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconMinus.vue"]]),Ub=on({name:"vIconvIconMinusS",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Gb=["width","height"],qb=[ts("rect",{width:"10",height:"2",x:"7",y:"11","fill-rule":"evenodd",rx:"1"},null,-1)];var Yb=Sg(Ub,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...qb],8,Gb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconMinusS.vue"]]),Kb=on({name:"vIconvIconMore",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Zb=["width","height"],Jb=[ts("g",{"fill-rule":"evenodd"},[ts("circle",{cx:"18",cy:"12",r:"2"}),ts("circle",{cx:"12",cy:"12",r:"2"}),ts("circle",{cx:"6",cy:"12",r:"2"})],-1)];var Qb=Sg(Kb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Jb],8,Zb)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconMore.vue"]]),Xb=on({name:"vIconvIconPaintBucket",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const ew=["width","height"],tw=[ts("path",{"fill-rule":"evenodd",d:"M18.4326837,13 C18.466017,12.9210039 18.5417115,12.9078379 18.5891652,12.960502 L18.6136837,13 L19.9316837,16.60012 C19.9876837,16.7885106 20.0236837,16.9889006 20.0236837,17.20009 C20.0236837,18.1948403 19.3516837,19 18.5236837,19 C17.6956837,19 17.0236837,18.1948403 17.0236837,17.20009 C17.0236837,17.0416979 17.0439337,16.8893805 17.0776837,16.7436441 L17.1156837,16.60012 L18.4326837,13 Z M9.3,4 L13.0458059,7.753 L17.1156838,11.8181787 C17.4819461,12.1840632 17.4819461,12.7772789 17.1156838,13.1431634 L11.8102699,18.4431012 C11.4440075,18.8089855 10.8501789,18.8089855 10.4839165,18.4431012 L5.17850262,13.1431634 C4.81224032,12.7772789 4.81224032,12.1840632 5.17850262,11.8181787 L9.8368059,7.165 L8,5.3 L9.3,4 Z M11.1470932,8.50571765 L7.16803288,12.4806711 L7.6878059,12.999 L14.6058059,12.999 L15.1261535,12.4806711 L11.1470932,8.50571765 Z"},null,-1)];var iw=Sg(Xb,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tw],8,ew)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconPaintBucket.vue"]]),nw=on({name:"vIconvIconPen",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const ow=["width","height"],sw=[ts("path",{"fill-rule":"evenodd",d:"M13.2283016,8.55350113 L13.2283016,18.1898972 L11.6283011,20.3313185 L10.0283001,18.1898972 L10.0283001,8.55350113 L13.2283016,8.55350113 Z M12.2283016,4.41207924 C12.7805863,4.41207924 13.2283016,4.85979449 13.2283016,5.41207924 L13.2283016,7.12923675 L10.0283006,7.12923675 L10.0283006,5.41207924 C10.0283006,4.85979449 10.4760158,4.41207924 11.0283006,4.41207924 L12.2283016,4.41207924 Z",transform:"rotate(45 11.628 12.372)"},null,-1)];var rw=Sg(nw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...sw],8,ow)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconPen.vue"]]),aw=on({name:"vIconvIconPlus",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const lw=["width","height"],dw=[ts("g",{"fill-rule":"evenodd"},[ts("rect",{width:"12",height:"2",x:"6",y:"11",rx:"1"}),ts("rect",{width:"2",height:"12",x:"11",y:"6",rx:"1"})],-1)];var cw=Sg(aw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...dw],8,lw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconPlus.vue"]]),uw=on({name:"vIconvIconPlusS",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const hw=["width","height"],pw=[ts("path",{"fill-rule":"evenodd",d:"M12,7 C12.5522847,7 13,7.44771525 13,8 L13,11 L16,11 C16.5522847,11 17,11.4477153 17,12 C17,12.5522847 16.5522847,13 16,13 L13,13 L13,16 C13,16.5522847 12.5522847,17 12,17 C11.4477153,17 11,16.5522847 11,16 L11,13 L8,13 C7.44771525,13 7,12.5522847 7,12 C7,11.4477153 7.44771525,11 8,11 L11,11 L11,8 C11,7.44771525 11.4477153,7 12,7 Z"},null,-1)];var fw=Sg(uw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...pw],8,hw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconPlusS.vue"]]),mw=on({name:"vIconvIconRefresh",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const gw=["width","height"],vw=[ts("path",{"fill-rule":"evenodd",d:"M13,11 L14.829424,9.1725701 C14.1054878,8.44812647 13.1050766,8 12,8 C9.790861,8 8,9.790861 8,12 C8,14.209139 9.790861,16 12,16 C13.8635652,16 15.429479,14.7256022 15.8737865,13.0007613 L17.9169061,13.0008069 C17.4404956,15.8381232 14.9727145,18 12,18 C8.6862915,18 6,15.3137085 6,12 C6,8.6862915 8.6862915,6 12,6 C13.6573563,6 15.1577633,6.67197995 16.2436277,7.75834651 L18,6 L18,11 L13,11 Z"},null,-1)];var yw=Sg(mw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...vw],8,gw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRefresh.vue"]]),bw=on({name:"vIconvIconSearch",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const ww=["width","height"],Cw=[ts("defs",null,[ts("path",{id:"4aa5c3c7c17fbf8d8ec4c3cfd8d2bce7__a",d:"M11.5045299,16.0115621 C9.01779811,16.0115621 7.00139383,13.9944442 7.00139383,11.5068322 C7.00139383,9.01922018 9.01779811,7.00210221 11.5045299,7.00210221 C13.9912618,7.00210221 16.0076661,9.01922018 16.0076661,11.5068322 C16.0076661,13.9944442 13.9912618,16.0115621 11.5045299,16.0115621 M16.7932131,16.302868 C16.622094,16.1326893 16.4049427,16.0496021 16.182788,16.0215727 C17.3115741,14.8503429 18.0090599,13.2616748 18.0090599,11.5068322 C18.0090599,7.91305871 15.0970319,5 11.5045299,5 C7.91202802,5 5,7.91305871 5,11.5068322 C5,15.1006056 7.91202802,18.0136643 11.5045299,18.0136643 C12.7964297,18.0136643 13.9962653,17.6322639 15.0089705,16.9835828 C14.9899573,17.2738876 15.0820214,17.5701987 15.3041761,17.791431 L17.2024982,19.691426 C17.6137846,20.102858 18.2802487,20.102858 18.6915352,19.691426 C19.1028216,19.280995 19.1028216,18.614295 18.6915352,18.201862 L16.7932131,16.302868 Z"})],-1),ts("use",{"xlink:href":"#4aa5c3c7c17fbf8d8ec4c3cfd8d2bce7__a","fill-rule":"evenodd"},null,-1)];var xw=Sg(bw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Cw],8,ww)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconSearch.vue"]]),Sw=on({name:"vIconvIconSettings",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const kw=["width","height"],_w=[ts("path",{"fill-rule":"evenodd",d:"M13,4 L13.6920231,6.7660919 C13.9730893,6.85716604 14.2443181,6.97030467 14.5036578,7.10345602 L16.9497475,5.63603897 L18.363961,7.05025253 L16.8962402,9.49618597 C17.0295437,9.75583269 17.1428001,10.0274 17.2339513,10.3088298 L20,11 L20,13 L17.2339593,13.6922383 C17.1429243,13.973269 17.0298399,14.2444631 16.8967564,14.5037707 L18.363961,16.9497475 L16.9497475,18.363961 L14.5046688,16.8965832 C14.2453283,17.0297794 13.9740931,17.142964 13.6930157,17.234085 L13,20 L11,20 L10.3088298,17.2343988 C10.0274,17.1432458 9.75583269,17.0299867 9.49618597,16.8966791 L7.05025253,18.363961 L5.63603897,16.9497475 L7.10336293,14.5037707 C6.97009519,14.2441577 6.85687846,13.9726303 6.76577033,13.6912455 L4,13 L4,11 L6.76609982,10.3088298 C6.85726908,10.0274 6.97054827,9.75583269 7.10387926,9.49618597 L5.63603897,7.05025253 L7.05025253,5.63603897 L9.49618597,7.10387926 C9.75613654,6.97039224 10.0280356,6.85700398 10.3098179,6.76577984 L11,4 L13,4 Z M12.0003688,9 C10.3459001,9 9,10.3459001 9,12.0003688 C9,13.6545916 10.3459001,15.0002459 12.0003688,15.0002459 C13.6543458,15.0002459 15,13.6545916 15,12.0003688 C15,10.3459001 13.6543458,9 12.0003688,9 Z"},null,-1)];var Iw=Sg(Sw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[..._w],8,kw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconSettings.vue"]]),Tw=on({name:"vIconvIconSort",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Dw=["width","height"],Lw=[ts("path",{"fill-rule":"evenodd",d:"M17.0072369,7 C17.5595217,7 18.0072369,7.44771525 18.0072369,8 L18.0072369,14 L20,14 L16.5126646,18 L13.0253292,14 L14.9868337,14 L14.9868337,8 C14.9868337,7.44771525 15.434549,7 15.9868337,7 L17.0072369,7 Z M9.97467084,16 C10.5269556,16 10.9746708,16.4477153 10.9746708,17 C10.9746708,17.5522847 10.5269556,18 9.97467084,18 L5,18 C4.44771525,18 4,17.5522847 4,17 C4,16.4477153 4.44771525,16 5,16 L9.97467084,16 Z M9.97467084,11 C10.5269556,11 10.9746708,11.4477153 10.9746708,12 C10.9746708,12.5522847 10.5269556,13 9.97467084,13 L5,13 C4.44771525,13 4,12.5522847 4,12 C4,11.4477153 4.44771525,11 5,11 L9.97467084,11 Z M9.97467084,6 C10.5269556,6 10.9746708,6.44771525 10.9746708,7 C10.9746708,7.55228475 10.5269556,8 9.97467084,8 L5,8 C4.44771525,8 4,7.55228475 4,7 C4,6.44771525 4.44771525,6 5,6 L9.97467084,6 Z"},null,-1)];var Aw=Sg(Tw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Lw],8,Dw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconSort.vue"]]),Ew=on({name:"vIconvIconTick",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Mw=["width","height"],Bw=[ts("path",{"fill-rule":"evenodd",d:"M16.0735724,7.24698075 L15.983811,7.33672722 L15.983811,7.33672722 L10.3468876,13.73822 L6.86254572,11.5465541 C6.44710962,11.2852431 5.90344174,11.3640341 5.57928055,11.7325313 L5.25149371,12.10515 C4.88671277,12.5198225 4.92715789,13.1516944 5.34183043,13.5164753 L5.39308324,13.558629 L5.39308324,13.558629 L9.60520727,16.7947579 C10.0226033,17.1154387 10.6171331,17.0576619 10.9649742,16.6626147 L17.7487329,8.95822118 C18.0813323,8.58048411 18.0813697,8.0144184 17.7488203,7.63663734 L17.4849275,7.33685131 C17.1200096,6.92229929 16.4881244,6.88206287 16.0735724,7.24698075 Z"},null,-1)];var Ow=Sg(Ew,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Bw],8,Mw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTick.vue"]]),$w=on({name:"vIconvIconTriangleDown",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Fw=["width","height"],Vw=[ts("path",{"fill-rule":"evenodd",d:"M8.50003418,10 L15.4999658,10 C15.7761082,10 15.9999658,10.2238576 15.9999658,10.5 C15.9999658,10.645961 15.9361857,10.7846345 15.8253647,10.8796255 L12.3254035,13.8796441 C12.1381575,14.0401434 11.8618516,14.0401434 11.6746056,13.8796441 L8.17464432,10.8796255 C7.96498293,10.6999127 7.94070485,10.3842625 8.12041771,10.1746011 C8.21540879,10.0637801 8.35408229,10 8.50003418,10 Z"},null,-1)];var Pw=Sg($w,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Vw],8,Fw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTriangleDown.vue"]]),Nw=on({name:"vIconvIconViewList",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Rw=["width","height"],Hw=[ts("g",{"fill-rule":"evenodd"},[ts("rect",{width:"14",height:"2",x:"5",y:"15",rx:"1"}),ts("rect",{width:"14",height:"2",x:"5",y:"11",rx:"1"}),ts("rect",{width:"14",height:"2",x:"5",y:"7",rx:"1"})],-1)];var zw=Sg(Nw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Hw],8,Rw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconViewList.vue"]]),Ww=on({name:"vIconvIconViewThumbnail",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const jw=["width","height"],Uw=[as('<g fill-rule="evenodd"><rect width="6" height="5" x="13" y="13" rx="1"></rect><rect width="6" height="5" x="5" y="13" rx="1"></rect><rect width="6" height="5" x="13" y="6" rx="1"></rect><rect width="6" height="5" x="5" y="6" rx="1"></rect></g>',1)];var Gw=Sg(Ww,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Uw],8,jw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconViewThumbnail.vue"]]),qw=on({name:"vIconvIconViewTile",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Yw=["width","height"],Kw=[as('<g fill-rule="evenodd"><rect width="6" height="2" x="13" y="15" rx="1"></rect><rect width="6" height="2" x="13" y="11" rx="1"></rect><rect width="6" height="2" x="13" y="7" rx="1"></rect><rect width="6" height="2" x="5" y="15" rx="1"></rect><rect width="6" height="2" x="5" y="11" rx="1"></rect><rect width="6" height="2" x="5" y="7" rx="1"></rect></g>',1)];var Zw=Sg(qw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Kw],8,Yw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconViewTile.vue"]]),Jw=on({name:"vIconvIconWintoolClose",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Qw=["width","height"],Xw=[ts("path",{"fill-rule":"evenodd",d:"M8.5546376,7 C8.8381241,7 9.10828927,7.12032141 9.29793174,7.33103527 L11.9999506,10.334 L14.7020683,7.33103527 C14.864619,7.15042339 15.0863292,7.03622229 15.3248797,7.00727936 L15.4453624,7 L16.5,7 C16.6650347,7 16.8242283,7.06108832 16.9468976,7.1714907 C17.2211362,7.41830544 17.2433676,7.84070262 16.9965529,8.11494122 L16.9965529,8.11494122 L13.4989506,12 L16.9965529,15.8850588 C17.2433676,16.1592974 17.2211362,16.5816946 16.9468976,16.8285093 C16.8242283,16.9389117 16.6650347,17 16.5,17 L15.4453624,17 C15.1618759,17 14.8917107,16.8796786 14.7020683,16.6689647 L11.9999506,13.665 L9.29793174,16.6689647 C9.13538105,16.8495766 8.91367083,16.9637777 8.6751203,16.9927206 L8.5546376,17 L7.5,17 C7.33496532,17 7.1757717,16.9389117 7.05310239,16.8285093 C6.77886379,16.5816946 6.75663236,16.1592974 7.0034471,15.8850588 L7.0034471,15.8850588 L10.4999506,12 L7.0034471,8.11494122 C6.75663236,7.84070262 6.77886379,7.41830544 7.05310239,7.1714907 C7.1757717,7.06108832 7.33496532,7 7.5,7 L8.5546376,7 Z"},null,-1)];var eC=Sg(Jw,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Xw],8,Qw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolClose.vue"]]),tC=on({name:"vIconvIconWintoolFullscreen",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const iC=["width","height"],nC=[ts("path",{"fill-rule":"evenodd",d:"M17,7 C17.5522847,7 18,7.44771525 18,8 L18,16 C18,16.5522847 17.5522847,17 17,17 L7,17 C6.44771525,17 6,16.5522847 6,16 L6,8 C6,7.44771525 6.44771525,7 7,7 L17,7 Z M16,11 L8,11 L8,16 L16,16 L16,11 Z"},null,-1)];var oC=Sg(tC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...nC],8,iC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolFullscreen.vue"]]),sC=on({name:"vIconvIconWintoolHelp",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const rC=["width","height"],aC=[ts("path",{"fill-rule":"evenodd",d:"M12.0141712,16 C12.566456,16 13.0141712,16.4477153 13.0141712,17 C13.0141712,17.5522847 12.566456,18 12.0141712,18 C11.4618865,18 11.0141712,17.5522847 11.0141712,17 C11.0141712,16.4477153 11.4618865,16 12.0141712,16 Z M12.109487,6 C13.5679276,6 15.3166451,6.85772833 15.8407564,8.49557619 C16.3487413,10.0779892 15.5666059,11.83477 14.5506363,12.5544152 C13.2010496,13.5109183 13.0549032,13.9493576 13.0549032,14.0944961 C13.0528874,14.6538842 12.6023533,15.1044183 12.0459889,15.1044183 C11.4896246,15.1044183 11.1171133,14.6518684 11.1171133,14.0944961 C11.1171133,12.7519648 12.2243884,11.7339794 13.3844886,10.9115278 C13.7453191,10.6555196 14.1434421,9.8078703 13.9206948,9.1124149 C13.7009712,8.42603065 12.8281243,8.01682066 12.1104949,8.01682066 C11.3233201,8.01682066 10.3476667,8.38269068 9.96768598,9.40672356 C9.77316005,9.92881906 9.19159807,10.1928905 8.67151838,10.0003804 C8.14942287,9.80686239 7.88333559,9.22630832 8.07786152,8.70421281 C8.68764488,7.06233332 10.2700579,6 12.109487,6 Z"},null,-1)];var lC=Sg(sC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...aC],8,rC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolHelp.vue"]]),dC=on({name:"vIconvIconWintoolMinimize",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const cC=["width","height"],uC=[ts("rect",{width:"12",height:"2",x:"6",y:"11","fill-rule":"evenodd",rx:"1"},null,-1)];var hC=Sg(dC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...uC],8,cC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolMinimize.vue"]]),pC=on({name:"vIconvIconWintoolUnfullscreen",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const fC=["width","height"],mC=[ts("path",{"fill-rule":"evenodd",d:"M7.11111111,10 L14.8888889,10 C15.5025386,10 16,10.4477153 16,11 L16,16 C16,16.5522847 15.5025386,17 14.8888889,17 L7.11111111,17 C6.49746139,17 6,16.5522847 6,16 L6,11 C6,10.4477153 6.49746139,10 7.11111111,10 Z M17,13 L17,9 L10,9 L10,8 C10,7.44771525 10.4477153,7 11,7 L18,7 C18.5522847,7 19,7.44771525 19,8 L19,12 C19,12.5522847 18.5522847,13 18,13 L14,13 L14,16 L8,16 L8,13 L17,13 Z"},null,-1)];var gC=Sg(pC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...mC],8,fC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolUnfullscreen.vue"]]),vC=on({name:"vIconvIconNotifyTrayIconImportant",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:32}}});const yC=["width","height"],bC=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("circle",{fill:"#F58414",cx:"16",cy:"16",r:"16"}),ts("rect",{fill:"#FFF",x:"14.25",y:"7",width:"3.5",height:"11.5",rx:"1.75"}),ts("rect",{fill:"#FFF",x:"14.25",y:"21.25",width:"3.5",height:"3.5",rx:"1.75"})],-1)];var wC=Sg(vC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",width:e.width,height:e.height},[...bC],8,yC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconNotifyTrayIconImportant.vue"]]),CC=on({name:"vIconvIconNotifyTrayIconSuggestion",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:32}}});const xC=["width","height"],SC=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{fill:"#057FEB",width:"32",height:"32",rx:"16"}),ts("path",{d:"M18.51 6.835c.776.212 1.512.52 2.195.91l-.165 2.285c.539.41 1.02.891 1.43 1.43l2.285-.165c.39.683.698 1.42.91 2.195l-1.732 1.5a7.568 7.568 0 0 1 0 2.02l1.732 1.5a9.442 9.442 0 0 1-.91 2.195l-2.285-.165a7.544 7.544 0 0 1-1.43 1.43l.165 2.285c-.683.39-1.42.698-2.195.91l-1.5-1.732a7.568 7.568 0 0 1-2.02 0l-1.5 1.732a9.442 9.442 0 0 1-2.195-.91l.165-2.285a7.544 7.544 0 0 1-1.43-1.43l-2.285.165a9.442 9.442 0 0 1-.91-2.195l1.732-1.5a7.568 7.568 0 0 1 0-2.02l-1.732-1.5c.212-.776.52-1.512.91-2.195l2.285.165c.41-.539.891-1.02 1.43-1.43l-.165-2.285a9.442 9.442 0 0 1 2.195-.91l1.5 1.732a7.568 7.568 0 0 1 2.02 0l1.5-1.732ZM16 12a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z",fill:"#FFF"})],-1)];var kC=Sg(CC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",width:e.width,height:e.height},[...SC],8,xC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconNotifyTrayIconSuggestion.vue"]]),_C=on({name:"vIconvIconNotifyTrayIconTips",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:32}}});const IC=["width","height"],TC=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("circle",{fill:"#FAC000",cx:"16",cy:"16",r:"16"}),ts("path",{d:"M16 7c4.893 0 7.5 3.43 7.5 7.66 0 1.893-1.196 3.907-3.587 6.04V23h-7.826v-2.3C9.696 18.567 8.5 16.553 8.5 14.66 8.5 10.43 11.107 7 16 7Zm.167 5h-.334c-.736 0-1.333.597-1.333 1.333v.334c0 .527.306.983.75 1.199v3.467c0 .369.298.667.667.667h.166a.667.667 0 0 0 .667-.667v-3.467c.444-.217.75-.673.75-1.2v-.333c0-.736-.597-1.333-1.333-1.333ZM20 24v.27a1 1 0 0 1-1 1h-.254L18.5 26.5h-5l-.246-1.23H13a1 1 0 0 1-1-1V24h8Z",fill:"#FFF"})],-1)];var DC=Sg(_C,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",width:e.width,height:e.height},[...TC],8,IC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconNotifyTrayIconTips.vue"]]),LC=on({name:"vIconvIconEmptyDefault",props:{width:{type:[Number,String],default:120},height:{type:[Number,String],default:120}}});const AC=["width","height"],EC=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("circle",{cx:"60",cy:"60",r:"60",fill:"#C6D4E0","fill-opacity":".4"}),ts("path",{fill:"#FFF",d:"M35,74 C36.1045695,74 37,74.8954305 37,76 L37,80 C37,81.1045695 36.1045695,82 35,82 L31,82 C29.8954305,82 29,81.1045695 29,80 L29,76 C29,74.8954305 29.8954305,74 31,74 L35,74 Z M89,74 C90.1045695,74 91,74.8954305 91,76 L91,80 C91,81.1045695 90.1045695,82 89,82 L47,82 C45.8954305,82 45,81.1045695 45,80 L45,76 C45,74.8954305 45.8954305,74 47,74 L89,74 Z M35,56 C36.1045695,56 37,56.8954305 37,58 L37,62 C37,63.1045695 36.1045695,64 35,64 L31,64 C29.8954305,64 29,63.1045695 29,62 L29,58 C29,56.8954305 29.8954305,56 31,56 L35,56 Z M89,56 C90.1045695,56 91,56.8954305 91,58 L91,62 C91,63.1045695 90.1045695,64 89,64 L47,64 C45.8954305,64 45,63.1045695 45,62 L45,58 C45,56.8954305 45.8954305,56 47,56 L89,56 Z M35,38 C36.1045695,38 37,38.8954305 37,40 L37,44 C37,45.1045695 36.1045695,46 35,46 L31,46 C29.8954305,46 29,45.1045695 29,44 L29,40 C29,38.8954305 29.8954305,38 31,38 L35,38 Z M89,38 C90.1045695,38 91,38.8954305 91,40 L91,44 C91,45.1045695 90.1045695,46 89,46 L47,46 C45.8954305,46 45,45.1045695 45,44 L45,40 C45,38.8954305 45.8954305,38 47,38 L89,38 Z"})],-1)];var MC=Sg(LC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 120 120",fill:"currentColor",width:e.width,height:e.height},[...EC],8,AC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconEmptyDefault.vue"]]),BC=on({name:"vIconvIconBreadcrumbSlash",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:24}}});const OC=["width","height"],$C=[ts("polygon",{"fill-rule":"evenodd",points:"8.2 18 13 6 11.8 6 7 18"},null,-1)];var FC=Sg(BC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 24",fill:"currentColor",width:e.width,height:e.height},[...$C],8,OC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconBreadcrumbSlash1.vue"]]),VC=on({name:"vIconvIconBtReturn",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:72}}});const PC=["width","height"],NC=[as('<title>svg/Button/bt_return</title><g id="292fe876bafda7c1b225968077111361__Button/bt_return" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="292fe876bafda7c1b225968077111361__Path" fill="#505A64"><path d="M8.75735931,13 L11.7071068,15.9497475 C12.0976311,16.3402718 12.0976311,16.9734367 11.7071068,17.363961 C11.3165825,17.7544853 10.6834175,17.7544853 10.2928932,17.363961 L5.63603897,12.7071068 C5.24551468,12.3165825 5.24551468,11.6834175 5.63603897,11.2928932 L10.2928932,6.63603897 C10.6834175,6.24551468 11.3165825,6.24551468 11.7071068,6.63603897 C12.0976311,7.02656326 12.0976311,7.65972824 11.7071068,8.05025253 L8.75735931,11 L18,11 C18.5522847,11 19,11.4477153 19,12 C19,12.5522847 18.5522847,13 18,13 L8.75735931,13 Z"></path></g><g id="292fe876bafda7c1b225968077111361___Icon/icn_return" transform="translate(0.000000, 24.000000)" fill="#00B491"><path d="M8.75735931,13 L11.7071068,15.9497475 C12.0976311,16.3402718 12.0976311,16.9734367 11.7071068,17.363961 C11.3165825,17.7544853 10.6834175,17.7544853 10.2928932,17.363961 L5.63603897,12.7071068 C5.24551468,12.3165825 5.24551468,11.6834175 5.63603897,11.2928932 L10.2928932,6.63603897 C10.6834175,6.24551468 11.3165825,6.24551468 11.7071068,6.63603897 C12.0976311,7.02656326 12.0976311,7.65972824 11.7071068,8.05025253 L8.75735931,11 L18,11 C18.5522847,11 19,11.4477153 19,12 C19,12.5522847 18.5522847,13 18,13 L8.75735931,13 Z" id="292fe876bafda7c1b225968077111361__Path"></path></g><g id="292fe876bafda7c1b225968077111361___Icon/icn_return" transform="translate(0.000000, 48.000000)" fill="#FFFFFF"><path d="M8.75735931,13 L11.7071068,15.9497475 C12.0976311,16.3402718 12.0976311,16.9734367 11.7071068,17.363961 C11.3165825,17.7544853 10.6834175,17.7544853 10.2928932,17.363961 L5.63603897,12.7071068 C5.24551468,12.3165825 5.24551468,11.6834175 5.63603897,11.2928932 L10.2928932,6.63603897 C10.6834175,6.24551468 11.3165825,6.24551468 11.7071068,6.63603897 C12.0976311,7.02656326 12.0976311,7.65972824 11.7071068,8.05025253 L8.75735931,11 L18,11 C18.5522847,11 19,11.4477153 19,12 C19,12.5522847 18.5522847,13 18,13 L8.75735931,13 Z" id="292fe876bafda7c1b225968077111361__Path"></path></g></g>',2)];var RC=Sg(VC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 24 72",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...NC],8,PC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconBtReturn.vue"]]),HC=on({name:"vIconvIconCardIcnAxS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}});const zC=["width","height"],WC=[as('<title>svg/card_icn_ax_s</title><g id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Layout/Card/_Asset/card_icn_ax_s"><path d="M3,0 L33,0 C34.6568542,-3.04359188e-16 36,1.34314575 36,3 L36,21 C36,22.6568542 34.6568542,24 33,24 L3,24 C1.34314575,24 2.02906125e-16,22.6568542 0,21 L0,3 C-2.02906125e-16,1.34314575 1.34314575,3.04359188e-16 3,0 Z" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Rectangle-5" fill="#006FCF"></path><g id="d2e2e1c9c3eeec14fd6f0e3323e4072d__American_Express_logo" transform="translate(-0.500000, 5.000000)"><g id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Group-18" transform="translate(1.232836, 0.923582)"><path d="M8.79517612,5.78555224 L8.79517612,5.3582806 L8.5904,5.78555224 L6.81879403,5.78555224 L6.59613134,5.32718806 L6.59613134,5.78555224 L3.28427463,5.78555224 L2.89260896,4.85979701 L2.22946866,4.85979701 L1.81540299,5.78555224 L0.0971223881,5.78555224 L0.0971223881,2.99023284 L1.35687164,0.141239494 L3.76654328,0.141239494 L4.10488358,0.948489552 L4.10488358,0.147271642 L7.05315821,0.147271642 L7.70158806,1.50631642 L8.3351403,0.141239494 L17.6415045,0.141239494 C17.6415045,0.141239494 18.1296239,0.135402985 18.4500776,0.360907463 L18.4487403,0.141239494 L20.7930507,0.141239494 L20.7930507,0.449838806 C20.7930507,0.449838806 21.2144716,0.141239494 21.8376597,0.141239494 C22.4608478,0.141239494 25.9744716,0.141239494 25.9744716,0.141239494 L26.3380537,0.960358209 L26.3380537,0.141239494 L28.9896119,0.141239494 L29.4703761,0.960358209 L29.4703761,0.141239494 L32.0045851,0.141239494 L32.0045851,5.79157015 L29.4005015,5.79157015 L28.7891821,4.80630448 L28.7891821,5.78555224 L25.5530507,5.78555224 L25.0975284,4.77671642 L24.4639761,4.77671642 L24.0365373,5.78555224 L22.0780418,5.78555224 C22.0780418,5.78555224 21.3480358,5.77669254 20.800406,5.38502687 C20.800406,5.58980299 20.800406,5.78555224 20.800406,5.78555224 L16.9011343,5.78555224 C16.9011343,5.78555224 16.9011343,4.65953433 16.9011343,4.46813134 C16.9011343,4.27672836 16.754197,4.28993433 16.754197,4.28993433 L16.6117731,4.28993433 L16.6117731,5.78555224 L8.79517612,5.78555224" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-21" fill="#FFFFFE"></path><polygon id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-32" fill="#006FCF" points="19.1474866 4.95424478 20.1310806 4.95424478 20.1310806 0.943976119 19.1474866 0.943976119"></polygon><polyline id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-33" fill="#006FCF" points="11.0963582 0.948489552 14.3107582 0.948489552 14.3107582 1.81122388 12.0802866 1.81122388 12.0802866 2.56229254 14.248406 2.56229254 14.248406 3.32255522 12.0802866 3.32255522 12.0802866 4.11374328 14.3107582 4.11374328 14.3107582 4.95424478 11.0963582 4.95424478 11.0963582 0.948489552"></polyline><path d="M17.1032358,2.71541493 L15.8780896,2.71541493 L15.8780896,1.80771343 L17.1077493,1.80771343 C17.518806,1.80771343 17.6485254,2.07166567 17.6485254,2.26825075 C17.6485254,2.53654925 17.5057672,2.71541493 17.1032358,2.71541493 Z M17.952597,3.12981493 C18.4893612,2.86201791 18.6324537,2.50445373 18.6324537,2.02101493 C18.6324537,1.16296119 17.9347104,0.948489552 17.4519403,0.948489552 L14.8946627,0.948489552 L14.8946627,4.95424478 L15.8780896,4.95424478 L15.8780896,3.54137313 L17.1655881,3.54137313 C17.5057672,3.54137313 17.6396657,3.88105075 17.6485254,4.22089552 L17.6757731,4.95424478 L18.6324537,4.95424478 L18.5968478,4.13129552 C18.5968478,3.4873791 18.4176478,3.18380896 17.952597,3.12981493 L17.952597,3.12981493 Z" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-34" fill="#006FCF"></path><path d="M1.89831642,3.19534328 L2.48522985,1.79551045 L3.09621493,3.19534328 L1.89831642,3.19534328 Z M8.82810746,0.948489552 L7.62134925,3.63548657 L6.41843582,0.948489552 L4.87651343,0.948489552 L4.87651343,4.80663881 L3.15957015,0.948489552 L1.85819701,0.948489552 L0.105647761,4.95424478 L1.14306866,4.95424478 L1.5273791,4.05991642 L3.49038806,4.05991642 L3.87954627,4.95424478 L5.85977313,4.95424478 L5.85977313,1.98089552 L7.17418507,4.95424478 L8.06851343,4.95424478 L9.41401791,2.03054328 L9.41401791,4.95424478 L10.3976119,4.95424478 L10.3976119,0.948489552 L8.82810746,0.948489552 L8.82810746,0.948489552 Z" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-35" fill="#006FCF"></path><path d="M24.2389731,3.19751642 L24.8248836,1.79751642 L25.4418866,3.19751642 L24.2389731,3.19751642 Z M30.2801194,0.946483582 L30.2801194,3.72007164 L28.6216836,0.946483582 L27.1683582,0.946483582 L27.1683582,4.7081791 L25.4920358,0.948489552 L24.1906627,0.948489552 L22.8362985,4.05088955 C22.8362985,4.05088955 22.2637612,4.05088955 22.2057552,4.03751642 C21.9685493,3.98853731 21.5986149,3.82120597 21.5941015,3.11493731 L21.5941015,2.82440597 C21.5941015,1.88544478 22.1037851,1.81707463 22.7568955,1.81707463 L23.3645373,1.81707463 L23.3645373,0.946483582 L22.0805493,0.946483582 C21.6333851,0.946483582 20.6606567,1.28816716 20.6275582,2.93322985 C20.6053254,4.04202985 21.0880955,4.95625075 22.1786746,4.95625075 L23.4755343,4.95625075 L23.8598448,4.06175522 L25.8221851,4.06175522 L26.2115104,4.95625075 L28.1517851,4.95625075 L28.1517851,2.0230209 L29.9220537,4.95625075 L31.2632119,4.95625075 L31.2632119,0.946483582 L30.2801194,0.946483582 L30.2801194,0.946483582 Z" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-36" fill="#006FCF"></path></g><g id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Group-20" transform="translate(8.086567, 7.768955)"><path d="M0.163319403,0.155964179 L5.28690149,0.155964179 L6.02576716,0.992955224 L6.7825194,0.155964179 L10.7219104,0.155964179 C10.7219104,0.155964179 11.0915104,0.164991045 11.4430567,0.351880597 L11.4430567,0.155964179 C11.4430567,0.155964179 14.5056716,0.155964179 14.9508299,0.155964179 C15.3958209,0.155964179 15.7699343,0.378626866 15.7699343,0.378626866 L15.7699343,0.155964179 L20.2790209,0.155964179 L20.2790209,0.360740299 C20.2790209,0.360740299 20.5996418,0.155964179 21.0314269,0.155964179 C21.4632119,0.155964179 23.9691701,0.155964179 23.9691701,0.155964179 L23.9691701,0.360740299 C23.9691701,0.360740299 24.3387701,0.155964179 24.7304358,0.155964179 C25.1221015,0.155964179 27.0362985,0.155964179 27.0362985,0.155964179 L27.0362985,5.47980896 C27.0362985,5.47980896 26.7335642,5.82266269 26.1058627,5.82266269 L23.0656478,5.82266269 L23.0656478,5.65349254 C23.0656478,5.65349254 22.7762866,5.82266269 22.3356418,5.82266269 C21.894997,5.82266269 14.2577672,5.82266269 14.2577672,5.82266269 C14.2577672,5.82266269 14.2577672,4.5831403 14.2577672,4.44723582 C14.2577672,4.31149851 14.1984239,4.28692537 14.0784,4.28692537 L13.9670687,4.28692537 L13.9670687,5.82266269 L11.4430567,5.82266269 L11.4430567,4.29578507 C11.4430567,4.29578507 11.1627224,4.44723582 10.6953313,4.44723582 C10.2279403,4.44723582 9.78729552,4.44723582 9.78729552,4.44723582 L9.78729552,5.82266269 L6.67570149,5.82266269 L5.96792836,4.95909254 L5.21117612,5.82266269 L0.163319403,5.82266269 L0.163319403,0.155964179" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-22" fill="#FFFFFE"></path><polyline id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-27" fill="#006FCF" points="16.487403 1.00532537 19.7024716 1.00532537 19.7024716 1.86789254 17.4714985 1.86789254 17.4714985 2.61912836 19.6399522 2.61912836 19.6399522 3.37888955 17.4714985 3.37888955 17.4714985 4.1705791 19.7024716 4.1705791 19.7024716 5.0110806 16.487403 5.0110806 16.487403 1.00532537"></polyline><path d="M25.913791,2.56630448 C27.1225552,2.62815522 27.2235224,3.23128358 27.2235224,3.87553433 C27.2235224,4.62626866 26.6065194,5.02896716 25.9627701,5.02896716 L23.8972896,5.02896716 L23.8972896,4.17074627 L25.5067463,4.17074627 C25.7795582,4.17074627 26.1861015,4.17074627 26.1861015,3.78593433 C26.1861015,3.60272239 26.1147224,3.48637612 25.824191,3.45561791 C25.694806,3.43739701 25.2163821,3.41048358 25.1446687,3.40914627 C24.0527522,3.38039403 23.7986627,2.83761194 23.7986627,2.17647761 C23.7986627,1.42524179 24.3260657,1.01435224 24.9703164,1.01435224 L27.0359642,1.01435224 L27.0359642,1.87290746 L25.5244657,1.87290746 C25.1802746,1.8769194 24.8093373,1.83245373 24.8093373,2.22111045 C24.8093373,2.46717612 24.9927164,2.51615522 25.2249075,2.53905672 C25.3056478,2.53905672 25.8419104,2.56680597 25.913791,2.56630448" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-28" fill="#006FCF"></path><path d="M22.2112716,2.56630448 C23.420203,2.62815522 23.5211701,3.23128358 23.5211701,3.87553433 C23.5211701,4.62626866 22.9041672,5.02896716 22.2604179,5.02896716 L20.1947701,5.02896716 L20.1947701,4.17074627 L21.8042269,4.17074627 C22.077206,4.17074627 22.4842507,4.17074627 22.4842507,3.78593433 C22.4842507,3.60272239 22.4123701,3.48637612 22.1216716,3.45561791 C21.9919522,3.43739701 21.5136955,3.41048358 21.4423164,3.40914627 C20.3504,3.38039403 20.0968119,2.83761194 20.0968119,2.17647761 C20.0968119,1.42524179 20.6242149,1.01435224 21.2679642,1.01435224 L23.3334448,1.01435224 L23.3334448,1.87290746 L21.8226149,1.87290746 C21.4779224,1.8769194 21.1069851,1.83245373 21.1069851,2.22111045 C21.1069851,2.46717612 21.2903642,2.51615522 21.5230567,2.53905672 C21.6032955,2.53905672 22.1395582,2.56680597 22.2112716,2.56630448" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-29" fill="#006FCF"></path><path d="M10.2190806,2.83527164 L8.99393433,2.83527164 L8.99393433,1.87357612 L10.2230925,1.87357612 C10.6346507,1.87357612 10.7643701,2.13752836 10.7643701,2.33411343 C10.7643701,2.60241194 10.6212776,2.83527164 10.2190806,2.83527164 Z M8.00181493,4.63512836 L6.58894328,2.9633194 L8.00181493,1.39849552 L8.00181493,4.63512836 Z M4.24195821,4.17074627 L1.97487761,4.17074627 L1.97487761,3.37888955 L4.14349851,3.37888955 L4.14349851,2.61929552 L1.97487761,2.61929552 L1.97487761,1.86789254 L4.36682985,1.87290746 L5.32401194,2.9633194 L4.24195821,4.17074627 Z M10.5502328,1.01418507 L7.09862687,1.01418507 L5.9719403,2.25721791 L4.88152836,1.00532537 L1.00499104,1.00532537 L1.00499104,5.0110806 L4.75615522,5.0110806 L5.93633433,3.68780896 L7.0896,5.0199403 L8.97638209,5.0199403 L8.97638209,3.66056119 L10.2996537,3.66056119 C10.8096716,3.66056119 11.739606,3.64334328 11.739606,2.23882985 C11.739606,1.23751642 11.033003,1.01418507 10.5502328,1.01418507 L10.5502328,1.01418507 Z" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-30" fill="#006FCF"></path><path d="M14.4515104,2.78111045 L13.2268657,2.78111045 L13.2268657,1.87340896 L14.4560239,1.87340896 C14.8675821,1.87340896 14.9968,2.13736119 14.9968,2.33394627 C14.9968,2.60241194 14.854209,2.78111045 14.4515104,2.78111045 Z M15.3007045,3.1961791 C15.8376358,2.92771343 15.9807284,2.57014925 15.9807284,2.08687761 C15.9807284,1.22915821 15.2834866,1.01435224 14.8002149,1.01435224 L12.2429373,1.01435224 L12.2429373,5.0199403 L13.2268657,5.0199403 L13.2268657,3.60706866 L14.5143642,3.60706866 C14.854209,3.60706866 14.9882746,3.94674627 14.9968,4.28659104 L15.0235463,5.0199403 L15.9807284,5.0199403 L15.9446209,4.19749254 C15.9446209,3.55324179 15.7664239,3.24967164 15.3007045,3.1961791 L15.3007045,3.1961791 Z" id="d2e2e1c9c3eeec14fd6f0e3323e4072d__Fill-31" fill="#006FCF"></path></g></g></g></g>',2)];var jC=Sg(HC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 36 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...WC],8,zC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCardIcnAxS.vue"]]),UC=on({name:"vIconvIconCardIcnJcbS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}});const GC=["width","height"],qC=[as('<title>svg/card_icn_jcb_s</title><defs><path d="M3,0 L33,0 C34.6568542,-3.04359188e-16 36,1.34314575 36,3 L36,21 C36,22.6568542 34.6568542,24 33,24 L3,24 C1.34314575,24 2.02906125e-16,22.6568542 0,21 L0,3 C-2.02906125e-16,1.34314575 1.34314575,3.04359188e-16 3,0 Z" id="14fbcc37a27c810f2feb51e537f7e1e1__path-1"></path><linearGradient x1="-57.5270968%" y1="50.1241953%" x2="232.39121%" y2="50.1241953%" id="14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-3"><stop stop-color="#007940" offset="0%"></stop><stop stop-color="#00873F" offset="22.85%"></stop><stop stop-color="#40A737" offset="74.33%"></stop><stop stop-color="#5CB531" offset="100%"></stop></linearGradient><linearGradient x1="0.182516704%" y1="49.95997%" x2="100.273441%" y2="49.95997%" id="14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-4"><stop stop-color="#007940" offset="0%"></stop><stop stop-color="#00873F" offset="22.85%"></stop><stop stop-color="#40A737" offset="74.33%"></stop><stop stop-color="#5CB531" offset="100%"></stop></linearGradient><linearGradient x1="-62.8015845%" y1="49.8578253%" x2="253.671294%" y2="49.8578253%" id="14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-5"><stop stop-color="#007940" offset="0%"></stop><stop stop-color="#00873F" offset="22.85%"></stop><stop stop-color="#40A737" offset="74.33%"></stop><stop stop-color="#5CB531" offset="100%"></stop></linearGradient><linearGradient x1="0.175556793%" y1="50.0058048%" x2="101.808162%" y2="50.0058048%" id="14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-6"><stop stop-color="#1F286F" offset="0%"></stop><stop stop-color="#004E94" offset="47.51%"></stop><stop stop-color="#0066B1" offset="82.61%"></stop><stop stop-color="#006FBC" offset="100%"></stop></linearGradient><linearGradient x1="-0.575855512%" y1="49.9142191%" x2="98.13299%" y2="49.9142191%" id="14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-7"><stop stop-color="#6C2C2F" offset="0%"></stop><stop stop-color="#882730" offset="17.35%"></stop><stop stop-color="#BE1833" offset="57.31%"></stop><stop stop-color="#DC0436" offset="85.85%"></stop><stop stop-color="#E60039" offset="100%"></stop></linearGradient></defs><g id="14fbcc37a27c810f2feb51e537f7e1e1__Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="14fbcc37a27c810f2feb51e537f7e1e1__visa-electron"><mask id="14fbcc37a27c810f2feb51e537f7e1e1__mask-2" fill="white"><use xlink:href="#14fbcc37a27c810f2feb51e537f7e1e1__path-1"></use></mask><path stroke-opacity="0.2" stroke="#48556C" d="M33,0.5 C33.6903559,0.5 34.3153559,0.779822031 34.767767,1.23223305 C35.220178,1.68464406 35.5,2.30964406 35.5,3 L35.5,3 L35.5,21 C35.5,21.6903559 35.220178,22.3153559 34.767767,22.767767 C34.3153559,23.220178 33.6903559,23.5 33,23.5 L33,23.5 L3,23.5 C2.30964406,23.5 1.68464406,23.220178 1.23223305,22.767767 C0.779822031,22.3153559 0.5,21.6903559 0.5,21 L0.5,21 L0.5,3 C0.5,2.30964406 0.779822031,1.68464406 1.23223305,1.23223305 C1.68464406,0.779822031 2.30964406,0.5 3,0.5 L3,0.5 Z"></path><g id="14fbcc37a27c810f2feb51e537f7e1e1__JCB_logo" mask="url(#14fbcc37a27c810f2feb51e537f7e1e1__mask-2)"><g transform="translate(6.000000, 3.000000)"><g id="14fbcc37a27c810f2feb51e537f7e1e1__g6327" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(16.568855, 0.010699)"><path d="M1.47912569,10.9290954 L3.20477234,10.9290954 C3.25407653,10.9290954 3.36911963,10.9126607 3.41842382,10.9126607 C3.74711842,10.8469218 4.02650883,10.5510966 4.02650883,10.1402284 C4.02650883,9.74579485 3.74711842,9.44996971 3.41842382,9.36779606 C3.36911963,9.35136133 3.27051126,9.35136133 3.20477234,9.35136133 L1.47912569,9.35136133 L1.47912569,10.9290954 Z" id="14fbcc37a27c810f2feb51e537f7e1e1__path6338" fill="url(#14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-3)" fill-rule="nonzero"></path><path d="M3.00755558,0.0328694598 C1.36408258,0.0328694598 0.0164347299,1.36408258 0.0164347299,3.02399031 L0.0164347299,6.13015426 L4.24016032,6.13015426 C4.3387687,6.13015426 4.45381181,6.13015426 4.53598546,6.14658899 C5.48919979,6.19589318 6.19589318,6.68893508 6.19589318,7.54354104 C6.19589318,8.21736496 5.71928601,8.79258051 4.8318106,8.90762362 L4.8318106,8.94049308 C5.80145966,9.006232 6.54102251,9.54857809 6.54102251,10.3867493 C6.54102251,11.2906595 5.71928601,11.8823097 4.63459384,11.8823097 L2.33551559e-15,11.8823097 L2.33551559e-15,17.9631598 L4.38807289,17.9631598 C6.03154588,17.9631598 7.37919374,16.6319467 7.37919374,14.972039 L7.37919374,0.0328694598 L3.00755558,0.0328694598 Z" id="14fbcc37a27c810f2feb51e537f7e1e1__path6349" fill="url(#14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-4)" fill-rule="nonzero"></path><path d="M3.81285734,7.74075779 C3.81285734,7.34632428 3.53346693,7.0833686 3.20477234,7.03406441 C3.17190288,7.03406441 3.08972923,7.01762968 3.04042504,7.01762968 L1.47912569,7.01762968 L1.47912569,8.46388591 L3.04042504,8.46388591 C3.08972923,8.46388591 3.18833761,8.46388591 3.20477234,8.44745118 C3.53346693,8.39814699 3.81285734,8.13519131 3.81285734,7.74075779 L3.81285734,7.74075779 Z" id="14fbcc37a27c810f2feb51e537f7e1e1__path6360" fill="url(#14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-5)" fill-rule="nonzero"></path></g><path d="M3.04307224,0.0435686238 C1.39959925,0.0435686238 0.051951397,1.37478175 0.051951397,3.03468947 L0.051951397,10.4138832 C0.890122623,10.8247515 1.76116331,11.0877071 2.632204,11.0877071 C3.66759198,11.0877071 4.2263728,10.4631874 4.2263728,9.60858144 L4.2263728,6.1244187 L6.79019067,6.1244187 L6.79019067,9.59214671 C6.79019067,10.9397946 5.95201944,12.0409215 3.10881116,12.0409215 C1.38316452,12.0409215 0.0355166671,11.6629227 0.0355166671,11.6629227 L0.0355166671,17.9574242 L4.42358956,17.9574242 C6.06706255,17.9574242 7.4147104,16.6262111 7.4147104,14.9663034 L7.4147104,0.0435686238 L3.04307224,0.0435686238 Z" id="14fbcc37a27c810f2feb51e537f7e1e1__path6371" fill="url(#14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-6)" fill-rule="nonzero"></path><path d="M11.3097414,0.0435686238 C9.6662684,0.0435686238 8.31862055,1.37478175 8.31862055,3.03468947 L8.31862055,6.94615519 C9.07461813,6.30520073 10.3893965,5.89433248 12.5094767,5.99294086 C13.643473,6.04224505 14.8596431,6.35450491 14.8596431,6.35450491 L14.8596431,7.61997912 C14.2515581,7.30771925 13.5284299,7.02832884 12.5916503,6.96258992 C10.9810468,6.84754681 10.0113977,7.63641385 10.0113977,9.01693116 C10.0113977,10.4138832 10.9810468,11.2027502 12.5916503,11.0712724 C13.5284299,11.0055335 14.2515581,10.7097083 14.8596431,10.4138832 L14.8596431,11.6793574 C14.8596431,11.6793574 13.6599078,11.9916173 12.5094767,12.0409215 C10.3893965,12.1395298 9.07461813,11.7286616 8.31862055,11.0877071 L8.31862055,17.9902937 L12.7066934,17.9902937 C14.3501664,17.9902937 15.6978143,16.6590806 15.6978143,14.9991729 L15.6978143,0.0435686238 L11.3097414,0.0435686238 Z" id="14fbcc37a27c810f2feb51e537f7e1e1__path6384" fill="url(#14fbcc37a27c810f2feb51e537f7e1e1__linearGradient-7)" fill-rule="nonzero"></path></g></g></g></g>',3)];var YC=Sg(UC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 36 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...qC],8,GC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCardIcnJcbS.vue"]]),KC=on({name:"vIconvIconCardIcnMasterS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}});const ZC=["width","height"],JC=[as('<title>svg/card_icn_master_s</title><defs><path d="M3,0 L33,0 C34.6568542,-3.04359188e-16 36,1.34314575 36,3 L36,21 C36,22.6568542 34.6568542,24 33,24 L3,24 C1.34314575,24 2.02906125e-16,22.6568542 0,21 L0,3 C-2.02906125e-16,1.34314575 1.34314575,3.04359188e-16 3,0 Z" id="e5571040d0c355a952db238c6e5f4c34__path-1"></path></defs><g id="e5571040d0c355a952db238c6e5f4c34__Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="e5571040d0c355a952db238c6e5f4c34__visa-electron"><mask id="e5571040d0c355a952db238c6e5f4c34__mask-2" fill="white"><use xlink:href="#e5571040d0c355a952db238c6e5f4c34__path-1"></use></mask><path stroke-opacity="0.2" stroke="#48556C" d="M33,0.5 C33.6903559,0.5 34.3153559,0.779822031 34.767767,1.23223305 C35.220178,1.68464406 35.5,2.30964406 35.5,3 L35.5,3 L35.5,21 C35.5,21.6903559 35.220178,22.3153559 34.767767,22.767767 C34.3153559,23.220178 33.6903559,23.5 33,23.5 L33,23.5 L3,23.5 C2.30964406,23.5 1.68464406,23.220178 1.23223305,22.767767 C0.779822031,22.3153559 0.5,21.6903559 0.5,21 L0.5,21 L0.5,3 C0.5,2.30964406 0.779822031,1.68464406 1.23223305,1.23223305 C1.68464406,0.779822031 2.30964406,0.5 3,0.5 L3,0.5 Z"></path><g id="e5571040d0c355a952db238c6e5f4c34__Group-9" mask="url(#e5571040d0c355a952db238c6e5f4c34__mask-2)"><g transform="translate(6.500000, 5.000000)"><polygon id="e5571040d0c355a952db238c6e5f4c34__Fill-1" fill="#FF5F00" points="8.26291667 12.5033611 16.3879167 12.5033611 16.3879167 1.49663889 8.26291667 1.49663889"></polygon><path d="M8.65186389,7 C8.65186389,4.767 9.69739167,2.77841667 11.325475,1.49663889 C10.1346972,0.559222222 8.63241944,0 6.999475,0 C3.133725,0 5.83333335e-05,3.13405556 5.83333335e-05,7 C5.83333335e-05,10.8659444 3.133725,14 6.999475,14 C8.63241944,14 10.1346972,13.4407778 11.325475,12.5033611 C9.69739167,11.2215833 8.65186389,9.233 8.65186389,7" id="e5571040d0c355a952db238c6e5f4c34__Fill-2" fill="#EB001B"></path><path d="M23.0254167,6.99996111 C23.0254167,10.8659056 19.8915556,13.9999611 16.026,13.9999611 C14.3930556,13.9999611 12.8905833,13.4407389 11.7,12.5033222 C13.3280833,11.2217389 14.3736111,9.23296111 14.3736111,6.99996111 C14.3736111,4.76696111 13.3280833,2.77837778 11.7,1.4966 C12.8905833,0.559183333 14.3930556,-3.88888893e-05 16.026,-3.88888893e-05 C19.8915556,-3.88888893e-05 23.0254167,3.13401667 23.0254167,6.99996111 L23.0254167,6.99996111 Z" id="e5571040d0c355a952db238c6e5f4c34__Fill-4" fill="#F79E1B"></path></g></g></g></g>',3)];var QC=Sg(KC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 36 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...JC],8,ZC)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCardIcnMasterS.vue"]]),XC=on({name:"vIconvIconCardIcnOthersS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}});const ex=["width","height"],tx=[ts("title",null,"svg/card_icn_others_s",-1),ts("g",{id:"255259143f5d2a6a7c334cb5c61f895e__Symbols",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[ts("g",{id:"255259143f5d2a6a7c334cb5c61f895e__Layout/Card/_Asset/card_icn_others_s"},[ts("rect",{id:"255259143f5d2a6a7c334cb5c61f895e__Rectangle-39",fill:"#A0AABE",x:"0",y:"0",width:"36",height:"24",rx:"3"}),ts("path",{d:"M8.46340332,16.0947266 C9.01281738,16.0947266 9.50144857,15.9936849 9.92929688,15.7916016 C10.3571452,15.5895182 10.6894775,15.3045492 10.9262939,14.9366943 C11.1631104,14.5688395 11.29257,14.1449382 11.3146729,13.6649902 L11.3146729,13.6649902 L9.66169434,13.6649902 C9.64906413,14.0565267 9.54170736,14.3422852 9.33962402,14.5222656 C9.13754069,14.7022461 8.84546712,14.7922363 8.46340332,14.7922363 C8.01187337,14.7922363 7.69375,14.6343587 7.5090332,14.3186035 C7.32431641,14.0028483 7.23195801,13.4771159 7.23195801,12.7414063 L7.23195801,12.7414063 L7.23195801,12.2535645 C7.24143066,11.5746908 7.34247233,11.0805339 7.53508301,10.7710938 C7.72769368,10.4616536 8.03081868,10.3069336 8.44445801,10.3069336 C8.85178223,10.3069336 9.15490723,10.3985026 9.35383301,10.5816406 C9.55275879,10.7647786 9.65853678,11.0663249 9.67116699,11.4862793 L9.67116699,11.4862793 L11.3288818,11.4862793 C11.2594157,10.712679 10.9704997,10.1056396 10.4621338,9.66516113 C9.9537679,9.22468262 9.28120931,9.00444336 8.44445801,9.00444336 C7.86346842,9.00444336 7.35194499,9.14258626 6.9098877,9.41887207 C6.4678304,9.69515788 6.12918294,10.0866943 5.89394531,10.5934814 C5.65870768,11.1002686 5.54108887,11.6915202 5.54108887,12.3672363 L5.54108887,12.3672363 L5.54108887,12.708252 C5.54108887,13.7849772 5.80158691,14.618571 6.32258301,15.2090332 C6.8435791,15.7994954 7.55718587,16.0947266 8.46340332,16.0947266 Z M13.3418213,16 L13.7396729,14.7117187 L16.0178467,14.7117187 L16.4204346,16 L18.2060303,16 L15.6578857,9.10390625 L14.0948975,9.10390625 L11.5656982,16 L13.3418213,16 Z M15.6199951,13.4281738 L14.1375244,13.4281738 L14.8763916,11.0363281 L15.6199951,13.4281738 Z M20.3705322,16 L20.3705322,13.5655273 L21.2704346,13.5655273 L22.4876709,16 L24.2685303,16 L24.2685303,15.9289551 L22.8286865,13.1487305 C23.2423258,12.9529622 23.5462402,12.6972005 23.7404297,12.3814453 C23.9346191,12.0656901 24.0317139,11.6678385 24.0317139,11.1878906 C24.0317139,10.5248047 23.8012126,10.0117025 23.34021,9.64858398 C22.8792074,9.28546549 22.2398031,9.10390625 21.4219971,9.10390625 L21.4219971,9.10390625 L18.7080811,9.10390625 L18.7080811,16 L20.3705322,16 Z M21.4219971,12.2819824 L20.3705322,12.2819824 L20.3705322,10.3874512 L21.4219971,10.3874512 C21.7345947,10.3874512 21.9714111,10.4719157 22.1324463,10.6408447 C22.2934814,10.8097738 22.373999,11.0426432 22.373999,11.3394531 C22.373999,11.636263 22.2942708,11.8675537 22.1348145,12.0333252 C21.9753581,12.1990967 21.7377523,12.2819824 21.4219971,12.2819824 L21.4219971,12.2819824 Z M27.3045166,16 C27.9012939,15.9968424 28.4420247,15.8539632 28.926709,15.5713623 C29.4113932,15.2887614 29.7871419,14.8972249 30.0539551,14.3967529 C30.3207682,13.8962809 30.4541748,13.3302897 30.4541748,12.6987793 L30.4541748,12.6987793 L30.4541748,12.3814453 C30.4510173,11.75625 30.3128743,11.1918376 30.0397461,10.688208 C29.7666178,10.1845785 29.3869222,9.79462077 28.9006592,9.51833496 C28.4143962,9.24204915 27.8665609,9.10390625 27.2571533,9.10390625 L27.2571533,9.10390625 L25.0358154,9.10390625 L25.0358154,16 L27.3045166,16 Z M27.2760986,14.7211914 L26.6982666,14.7211914 L26.6982666,10.3874512 L27.2571533,10.3874512 C27.7465739,10.3874512 28.119165,10.5563802 28.3749268,10.8942383 C28.6306885,11.2320964 28.7585693,11.7341471 28.7585693,12.4003906 L28.7585693,12.4003906 L28.7585693,12.6987793 C28.7585693,13.3681803 28.6306885,13.8725993 28.3749268,14.2120361 C28.119165,14.551473 27.752889,14.7211914 27.2760986,14.7211914 L27.2760986,14.7211914 Z",id:"255259143f5d2a6a7c334cb5c61f895e__CARD",fill:"#FFFFFF","fill-rule":"nonzero"})])],-1)];var ix=Sg(XC,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 36 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...tx],8,ex)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCardIcnOthersS.vue"]]),nx=on({name:"vIconvIconCardIcnRemittanceS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}});const ox=["width","height"],sx=[as('<title>Group 3</title><defs><path d="M3,0 L33,0 C34.6568542,-3.04359188e-16 36,1.34314575 36,3 L36,21 C36,22.6568542 34.6568542,24 33,24 L3,24 C1.34314575,24 2.02906125e-16,22.6568542 0,21 L0,3 C-2.02906125e-16,1.34314575 1.34314575,3.04359188e-16 3,0 Z" id="4d9dfb654fa220e914530b2d341547da__path-1"></path></defs><g id="4d9dfb654fa220e914530b2d341547da__Transaction" stroke="none" stroke-width="1" fill="white" fill-rule="evenodd"><g id="4d9dfb654fa220e914530b2d341547da__01_02_UpcomingInvoice_Remittence" transform="translate(-1162.000000, -149.000000)"><g id="4d9dfb654fa220e914530b2d341547da__Group-3" transform="translate(1162.000000, 149.000000)"><mask id="4d9dfb654fa220e914530b2d341547da__mask-2" fill="white"><use xlink:href="#4d9dfb654fa220e914530b2d341547da__path-1"></use></mask><path stroke-opacity="0.2" stroke="#48556C" d="M33,0.5 C33.6903559,0.5 34.3153559,0.779822031 34.767767,1.23223305 C35.220178,1.68464406 35.5,2.30964406 35.5,3 L35.5,3 L35.5,21 C35.5,21.6903559 35.220178,22.3153559 34.767767,22.767767 C34.3153559,23.220178 33.6903559,23.5 33,23.5 L33,23.5 L3,23.5 C2.30964406,23.5 1.68464406,23.220178 1.23223305,22.767767 C0.779822031,22.3153559 0.5,21.6903559 0.5,21 L0.5,21 L0.5,3 C0.5,2.30964406 0.779822031,1.68464406 1.23223305,1.23223305 C1.68464406,0.779822031 2.30964406,0.5 3,0.5 L3,0.5 Z"></path><path d="M24,16 L24,18 L11,18 L11,16 L24,16 Z M11,10 L11,8.57142857 L17.5,5 L24,8.57142857 L24,10 L22.69,10 L22.69,15 L20.74,15 L20.74,10 L18.47,10 L18.47,15 L16.52,15 L16.52,10 L14.25,10 L14.25,15 L12.3,15 L12.3,10 L11,10 Z" id="4d9dfb654fa220e914530b2d341547da__Combined-Shape" fill="#878E99" fill-rule="nonzero" mask="url(#4d9dfb654fa220e914530b2d341547da__mask-2)"></path></g></g></g>',3)];var rx=Sg(nx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 36 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...sx],8,ox)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCardIcnRemittanceS.vue"]]),ax=on({name:"vIconvIconCardIcnSepaS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}});const lx=["width","height"],dx=[as('<title>svg/card_icn_sepa_s</title><g id="c3bd0f5f12ff0b6048bf118134336254__Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="c3bd0f5f12ff0b6048bf118134336254__4.-Icn/icon_sepa" transform="translate(0.000000, 7.000000)"><path d="M7.91427517,3.13425489 L5.47695146,3.13425489 C5.47695146,2.72371574 5.42994812,2.44820482 5.33641385,2.30796455 C5.19138848,2.10045259 4.79103344,1.9965754 4.13582112,1.9965754 C3.49950461,1.9965754 3.07765558,2.05633205 2.87180931,2.17596658 C2.66608115,2.29596474 2.56309896,2.55693043 2.56309896,2.95874244 C2.56309896,3.32249443 2.65427126,3.5620059 2.83708825,3.67679201 C2.96805986,3.75824531 3.14107465,3.80612336 3.35684122,3.82042617 L3.84836856,3.85606199 C4.90181014,3.92781846 5.55973874,3.97836314 5.82215435,4.00708997 C6.65522351,4.09327047 7.25918094,4.32066091 7.63390854,4.6891401 C7.92880132,4.97665084 8.10465048,5.35240264 8.16074743,5.81639552 C8.1935789,6.09396701 8.20987654,6.40802279 8.20987654,6.75698713 C8.20987654,7.56133841 8.13511998,8.15042028 7.98537066,8.52374788 C7.71397955,9.20870705 7.10435337,9.64130647 6.15578355,9.82300065 C5.75838098,9.89984795 5.15040819,9.9382716 4.33269187,9.9382716 C2.96770556,9.9382716 2.01641947,9.85487895 1.47930598,9.68724516 C0.820078293,9.48191498 0.385474589,9.06592137 0.175140569,8.43950675 C0.0579865268,8.09078483 0,7.51006647 0,6.69710926 L2.43732371,6.69710926 C2.43732371,6.78777454 2.4375599,6.85710681 2.4375599,6.90486365 C2.4375599,7.33867517 2.5590836,7.61770118 2.80154051,7.7419417 C2.96959514,7.82763735 3.17248894,7.87260636 3.41104858,7.87793961 L4.30706442,7.87793961 C4.7643431,7.87793961 5.05616532,7.85393998 5.18205867,7.8056983 C5.40609216,7.71527544 5.55312521,7.56970192 5.62339401,7.36825047 C5.66071324,7.24425238 5.67925476,7.08376999 5.67925476,6.88740937 C5.67925476,6.44753734 5.52277381,6.17990509 5.21040239,6.08390656 C5.09360265,6.04596775 4.55011182,5.99312008 3.58004801,5.9260908 C2.80106811,5.86900077 2.25993926,5.81409252 1.95689766,5.76088122 C1.15890384,5.60767145 0.627104801,5.29264599 0.361736724,4.8143503 C0.12849153,4.4079323 0.0118098833,3.79303265 0.0118098833,2.97049983 C0.0118098833,2.34408521 0.0748746598,1.84178989 0.200886114,1.46397752 C0.327015667,1.08604393 0.530263758,0.799139242 0.810748486,0.602899831 C1.22161432,0.301692336 1.74739033,0.124846567 2.3873679,0.0719988942 C2.91987554,0.0243632622 3.5106059,0 4.16038567,0 C5.18335776,0 5.91238185,0.0603627093 6.34698556,0.179997236 C7.40763117,0.472477592 7.93789493,1.29173774 7.93789493,2.63802009 C7.93789493,2.74844264 7.92998231,2.91353101 7.91427517,3.13425489" id="c3bd0f5f12ff0b6048bf118134336254__Fill-23" fill="#0B4A8E"></path><path d="M21.1894544,5.06691736 L22.8160925,5.06691736 C23.3318415,5.04786744 23.645525,5.00723565 23.758437,4.94357515 C23.9126324,4.85664481 24.0161351,4.68266357 24.0676511,4.42163142 C24.1005838,4.24789131 24.1170501,3.98963225 24.1170501,3.64649253 C24.1170501,3.22618857 24.0843527,2.91463796 24.018605,2.71111728 C23.9247469,2.42609188 23.6999815,2.25247234 23.343956,2.18941469 C23.2736212,2.17988973 23.1050766,2.17482583 22.8380868,2.17482583 L21.1894544,2.17482583 L21.1894544,5.06691736 Z M18.5802469,9.9382716 L18.5802469,0 L23.4414602,0 C24.1082289,0 24.6170385,0.0558235036 24.9665951,0.167349942 C25.766153,0.424162172 26.3026025,0.949964114 26.577355,1.7446352 C26.7192006,2.16168379 26.7901235,2.78960778 26.7901235,3.62804546 C26.7901235,4.63612389 26.7114379,5.36062374 26.5558311,5.80166559 C26.2440294,6.67386262 25.6021954,7.17627415 24.6330343,7.30648881 C24.5190638,7.326021 24.0341304,7.34350353 23.1782341,7.35748954 L22.7450521,7.37231955 L21.1894544,7.37231955 L21.1894544,9.9382716 L18.5802469,9.9382716 L18.5802469,9.9382716 Z" id="c3bd0f5f12ff0b6048bf118134336254__Fill-24" fill="#0B4A8E"></path><path d="M32.1527959,6.28454493 L30.9127192,1.97648962 L29.7092696,6.28454493 L32.1527959,6.28454493 Z M32.6784625,8.22064389 L29.1396981,8.22064389 L28.6642598,9.9382716 L25.9259259,9.9382716 L28.8806826,0 L32.8731715,0 L35.8641975,9.9382716 L33.1833696,9.9382716 L32.6784625,8.22064389 L32.6784625,8.22064389 Z" id="c3bd0f5f12ff0b6048bf118134336254__Fill-25" fill="#0B4A8E"></path><path d="M15.2629807,1.32934698 C16.368092,1.32934698 17.3543585,1.8451527 18.0026904,2.65306476 L18.5802469,1.39836582 C17.6769543,0.533305177 16.4475633,0 15.0915979,0 C12.9804126,0 11.1744314,1.29190058 10.4332218,3.12065519 L9.3069745,3.12065519 L8.64197531,4.56515595 L10.0908184,4.56515595 C10.0799485,4.6991553 10.0729434,4.83327702 10.0729434,4.97009097 C10.0729434,5.13566277 10.0813978,5.29927659 10.097582,5.46093242 L9.36941631,5.46093242 L8.70453789,6.90592268 L10.467764,6.90592268 C11.2301096,8.68841997 13.0135056,9.93981481 15.0915979,9.93981481 C16.1388569,9.93981481 17.1106301,9.62188759 17.9152477,9.07879251 L17.9152477,7.30792073 C17.2672781,8.05538012 16.3195395,8.52774312 15.2629807,8.52774312 C14.0279132,8.52774312 12.9415224,7.88246589 12.3088915,6.90592268 L16.0011709,6.90592268 L16.6660493,5.46093242 L11.7656357,5.46093242 C11.7403933,5.2870392 11.7268662,5.10935239 11.7268662,4.92836149 C11.7268662,4.80598765 11.7331466,4.68483756 11.7447412,4.56515595 L17.078141,4.56515595 L17.7430195,3.12065519 L12.2059893,3.12065519 C12.8183297,2.04988412 13.9578624,1.32934698 15.2629807,1.32934698" id="c3bd0f5f12ff0b6048bf118134336254__Fill-26" fill="#F6BC25"></path><path d="M12.2301558,3.17912611 L17.7018206,3.17912611 L17.6635088,3.1178701 L17.0067181,4.54980508 L17.0447912,4.52506008 L11.7362797,4.52506008 L11.7322217,4.56399706 C11.7204059,4.68481089 11.7144384,4.8073229 11.7144384,4.92789413 C11.7144384,5.10499071 11.727567,5.28499846 11.7532276,5.46221633 L11.7587177,5.49896994 L16.6375642,5.49896994 L16.5994911,5.43783523 L15.9423423,6.8697702 L15.9805348,6.8450252 L12.2534293,6.8450252 L12.2965151,6.91125447 C12.954022,7.93040887 14.0586192,8.53799568 15.251059,8.53799568 C16.2647104,8.53799568 17.2316955,8.09246436 17.9040019,7.31481632 L17.8297653,7.28655365 L17.8297653,9.04187182 L17.8483841,9.00645251 C17.0308271,9.55969735 16.0743449,9.8522706 15.0816994,9.8522706 C13.1015403,9.8522706 11.3233238,8.68197762 10.5514783,6.8707406 L10.5402593,6.8450252 L8.77003936,6.8450252 L8.80870921,6.90640251 L9.46549996,5.47398234 L9.42706881,5.49896994 L10.1931854,5.49896994 L10.1885307,5.45142072 C10.172657,5.28960782 10.1644217,5.12706713 10.1644217,4.9692571 C10.1644217,4.84783678 10.17027,4.71768293 10.1820858,4.5716389 L10.1857856,4.52506008 L8.70821533,4.52506008 L8.74628843,4.58631608 L9.40355658,3.15413851 L9.36536414,3.17912611 L10.5067216,3.17912611 L10.5173438,3.15244033 C10.8789786,2.25749613 11.4941157,1.49452527 12.2959184,0.94540459 C13.1171753,0.383304915 14.0806992,0.0861223068 15.0816994,0.0861223068 C16.3636527,0.0861223068 17.5774565,0.573744382 18.5000428,1.45995505 L18.490614,1.41046505 L17.9202337,2.65450783 L17.9912478,2.64553171 C17.3157188,1.8015331 16.317225,1.3174287 15.251059,1.3174287 C13.9969145,1.3174287 12.8255999,2.00604325 12.1932762,3.11459503 L12.1565159,3.17912611 L12.2301558,3.17912611 Z M15.251059,1.4034297 C16.2916838,1.4034297 17.2664267,1.8760107 17.9254851,2.69975237 L17.9680936,2.75300264 L17.9969766,2.69089754 L18.5674763,1.44709735 L18.5802469,1.41883468 L18.5582863,1.39748605 C17.6200649,0.496234306 16.3853747,0 15.0816994,0 C14.0637513,0 13.084115,0.302277167 12.2486552,0.874323362 C11.4328884,1.43266277 10.8072484,2.20934042 10.4395267,3.11981089 L10.4783159,3.0931251 L9.33827137,3.0931251 L9.32693298,3.1178701 L8.64197531,4.61106108 L10.1399547,4.61106108 L10.0978237,4.56448226 C10.0857692,4.71307356 10.0800403,4.8452895 10.0800403,4.9692571 C10.0800403,5.12997831 10.0880369,5.29530888 10.104388,5.46003295 L10.1466384,5.41309023 L9.40033409,5.41309023 L9.38899571,5.43783523 L8.73172756,6.8697702 L8.70391868,6.93090491 L10.5124504,6.93090491 L10.4737806,6.90494692 C11.2592321,8.74747909 13.0680026,9.9382716 15.0816994,9.9382716 C16.0911735,9.9382716 17.0638874,9.6408464 17.8954086,9.07777633 L17.9141468,9.06503993 L17.9141468,7.17241127 L17.8402682,7.25816968 C17.1841936,8.01713767 16.2404821,8.45235857 15.251059,8.45235857 C14.0870248,8.45235857 13.0089236,7.85859984 12.3670518,6.86419045 L12.3318431,6.93090491 L16.0075082,6.93090491 L16.0188465,6.90640251 L16.6759953,5.47398234 L16.7040429,5.41309023 L11.7950006,5.41309023 L11.8370122,5.44960124 C11.8119485,5.27626493 11.7990585,5.10086654 11.7990585,4.92789413 C11.7990585,4.81011278 11.8049067,4.69063324 11.8166032,4.5722454 L11.7743528,4.61106108 L17.0721226,4.61106108 L17.0832223,4.58631608 L17.7402518,3.15413851 L17.7685381,3.0931251 L12.2301558,3.0931251 L12.2664386,3.15753488 C12.8834853,2.07554759 14.0272298,1.4034297 15.251059,1.4034297 L15.251059,1.4034297 Z" id="c3bd0f5f12ff0b6048bf118134336254__Fill-27" fill="#0B4A8E"></path></g></g>',2)];var cx=Sg(ax,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 36 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...dx],8,lx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCardIcnSepaS.vue"]]),ux=on({name:"vIconvIconCardIcnUnionpayS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}});const hx=["width","height"],px=[as('<title>svg/card_icn_unionpay_s</title><defs><path d="M3,0 L33,0 C34.6568542,-3.04359188e-16 36,1.34314575 36,3 L36,21 C36,22.6568542 34.6568542,24 33,24 L3,24 C1.34314575,24 2.02906125e-16,22.6568542 0,21 L0,3 C-2.02906125e-16,1.34314575 1.34314575,3.04359188e-16 3,0 Z" id="043d81e0ae306ca592e1874153e2bfb4__path-1"></path></defs><g id="043d81e0ae306ca592e1874153e2bfb4__Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="043d81e0ae306ca592e1874153e2bfb4__visa-electron"><mask id="043d81e0ae306ca592e1874153e2bfb4__mask-2" fill="white"><use xlink:href="#043d81e0ae306ca592e1874153e2bfb4__path-1"></use></mask><path stroke-opacity="0.2" stroke="#48556C" d="M33,0.5 C33.6903559,0.5 34.3153559,0.779822031 34.767767,1.23223305 C35.220178,1.68464406 35.5,2.30964406 35.5,3 L35.5,3 L35.5,21 C35.5,21.6903559 35.220178,22.3153559 34.767767,22.767767 C34.3153559,23.220178 33.6903559,23.5 33,23.5 L33,23.5 L3,23.5 C2.30964406,23.5 1.68464406,23.220178 1.23223305,22.767767 C0.779822031,22.3153559 0.5,21.6903559 0.5,21 L0.5,21 L0.5,3 C0.5,2.30964406 0.779822031,1.68464406 1.23223305,1.23223305 C1.68464406,0.779822031 2.30964406,0.5 3,0.5 L3,0.5 Z"></path><g id="043d81e0ae306ca592e1874153e2bfb4__UnionPay_logo" mask="url(#043d81e0ae306ca592e1874153e2bfb4__mask-2)" fill-rule="nonzero"><g transform="translate(5.000000, 4.000000)"><path d="M5.0041631,6.67563305e-05 L11.3820211,6.67563305e-05 C12.2723127,6.67563305e-05 12.8260438,0.725731345 12.6183558,1.61897657 L9.64900715,14.3675416 C9.43945365,15.2576777 8.5480739,15.9839641 7.6571605,15.9839641 L1.27992433,15.9839641 C0.3908764,15.9839641 -0.164098444,15.2576777 0.0435896208,14.3675416 L3.01418186,1.61897657 C3.22186993,0.725731345 4.11278333,6.67563305e-05 5.0041631,6.67563305e-05" id="043d81e0ae306ca592e1874153e2bfb4__Path" fill="#E21836"></path><path d="M10.8513283,6.67563305e-05 L18.1857018,6.67563305e-05 C19.0758378,6.67563305e-05 18.6744527,0.725731345 18.4650546,1.61897657 L15.4961724,14.3675416 C15.2878625,15.2576777 15.3528427,15.9839641 14.4608411,15.9839641 L7.12646775,15.9839641 C6.23446615,15.9839641 5.68244495,15.2576777 5.8919985,14.3675416 L8.86072525,1.61897657 C9.0715224,0.725731345 9.96057035,6.67563305e-05 10.8513283,6.67563305e-05" id="043d81e0ae306ca592e1874153e2bfb4__Path" fill="#00447C"></path><path d="M17.894783,6.67563305e-05 L24.2726409,6.67563305e-05 C25.1641762,6.67563305e-05 25.7179074,0.725731345 25.5085093,1.61897657 L22.5396271,14.3675416 C22.3300736,15.2576777 21.4380719,15.9839641 20.5466922,15.9839641 L14.1717879,15.9839641 C13.2797863,15.9839641 12.7265215,15.2576777 12.9354532,14.3675416 L15.9048017,1.61897657 C16.1124899,0.725731345 17.0027814,6.67563305e-05 17.894783,6.67563305e-05" id="043d81e0ae306ca592e1874153e2bfb4__Path" fill="#007B84"></path><path d="M6.6698338,4.08561434 C6.0139686,4.09229891 5.8202715,4.08561434 5.75840035,4.07100156 C5.7346157,4.18401744 5.2920349,6.2256098 5.29079125,6.2273198 C5.19549725,6.6403641 5.1261643,6.9347961 4.89064975,7.12491775 C4.75695833,7.23544635 4.60088137,7.28876745 4.41993159,7.28876745 C4.12907503,7.28876745 3.95962892,7.14434965 3.93118063,6.8704377 L3.92573971,6.77638735 C3.92573971,6.77638735 4.01434913,6.2231225 4.01434913,6.2200134 C4.01434913,6.2200134 4.47884909,4.35952629 4.56201759,4.11359627 C4.56637033,4.09960531 4.56761397,4.09229891 4.56870215,4.08561434 C3.66457507,4.09354255 3.50430082,4.08561434 3.49326351,4.07100156 C3.48720075,4.09105527 3.46481522,4.20640298 3.46481522,4.20640298 L2.99052159,6.30333735 L2.94979234,6.48117805 L2.87097659,7.06289115 C2.87097659,7.23544635 2.90486581,7.3762887 2.97233334,7.49536735 C3.18841598,7.8729679 3.80479561,7.92955355 4.15348148,7.92955355 C4.60274683,7.92955355 5.0241857,7.8341041 5.3089795,7.6598389 C5.80332685,7.3677387 5.93266555,6.91116695 6.04801325,6.50542905 L6.1014898,6.2972746 C6.1014898,6.2972746 6.57998075,4.36496723 6.66128375,4.11359627 C6.6643929,4.09960531 6.6656365,4.09229891 6.6698338,4.08561434 Z M8.29786885,5.6444252 C8.1825211,5.6444252 7.97172395,5.6724071 7.7823796,5.76521385 C7.71366845,5.80050215 7.6486882,5.8412314 7.58013245,5.8818052 L7.6420036,5.65841615 L7.6081144,5.620796 C7.20657375,5.70209905 7.1167207,5.7129809 6.74580475,5.76521385 L6.7147137,5.78588935 C6.67165265,6.14296985 6.63341065,6.41144085 6.47375825,7.1133208 C6.4129753,7.37199815 6.3498605,7.6331628 6.28659025,7.8912183 L6.3036903,7.92401935 C6.68377815,7.90396565 6.79912585,7.90396565 7.129468,7.90940655 L7.1562063,7.88033645 C7.1981792,7.665342 7.2036201,7.61497455 7.2965823,7.1795447 C7.3402652,6.97310025 7.4313619,6.51948215 7.47628845,6.3579643 C7.5588351,6.3197223 7.6402936,6.28210215 7.71802115,6.28210215 C7.90316825,6.28210215 7.88062725,6.44362005 7.8734763,6.5079785 C7.8655481,6.6160198 7.79808055,6.968903 7.72890305,7.27188505 L7.68273285,7.4674476 C7.65055365,7.61186545 7.6152653,7.7522414 7.5830861,7.8954156 L7.59707705,7.92401935 C7.97172395,7.90396565 8.0859835,7.90396565 8.40591015,7.90940655 L8.4435303,7.88033645 C8.5013596,7.54455335 8.5183042,7.4547003 8.6209046,6.96579385 L8.6725157,6.7411612 C8.7727843,6.30153405 8.82315175,6.0786114 8.74728965,5.8970398 C8.6670748,5.693549 8.47462135,5.6444252 8.29786885,5.6444252 Z M10.1165696,6.1047123 C9.91743155,6.1429543 9.7904247,6.1684489 9.66419515,6.18492715 C9.53905375,6.2049809 9.41702145,6.22316915 9.224568,6.2499074 L9.2093334,6.2637429 L9.19534245,6.27478025 C9.17528875,6.4181099 9.16129775,6.5420076 9.13471495,6.6876691 C9.11217395,6.8383051 9.07750745,7.0094612 9.02107725,7.25539125 C8.97739435,7.4436474 8.95485335,7.5092495 8.9299805,7.5754734 C8.9057295,7.64169725 8.87899125,7.7060557 8.8298674,7.89120275 L8.8413711,7.90830285 L8.8510093,7.9240038 C9.0308709,7.91545375 9.14855045,7.909391 9.26949455,7.90830285 C9.3902832,7.9039501 9.51542455,7.90830285 9.70912165,7.909391 L9.7260663,7.8955555 L9.74425455,7.8803209 C9.77223645,7.7133621 9.77643375,7.66843555 9.7935338,7.58697705 C9.8104784,7.49961125 9.839704,7.3786672 9.9113688,7.0556314 C9.94525805,6.9039072 9.98303365,6.75264935 10.0181665,6.597816 C10.0546985,6.4436045 10.0929404,6.29172485 10.1293169,6.14000065 L10.123876,6.12165695 L10.1165696,6.1047123 Z M10.1208135,5.4841043 C9.93986375,5.37730665 9.6222689,5.41119585 9.40851805,5.5587228 C9.1953891,5.70329605 9.1711381,5.90849685 9.35146605,6.0166936 C9.5293067,6.12053765 9.8481452,6.0896021 10.0600305,5.9408315 C10.2726932,5.79314915 10.299276,5.5898138 10.1208135,5.4841043 Z M11.2151399,7.9574733 C11.5812368,7.9574733 11.9565055,7.8565829 12.2389675,7.5571763 C12.4562938,7.3143554 12.5559405,6.95307765 12.5904516,6.8043071 C12.7028457,6.3112034 12.6153244,6.0809743 12.5054176,5.9407538 C12.3384588,5.72700295 12.043405,5.65844725 11.7373138,5.65844725 C11.5532549,5.65844725 11.1148714,5.6766355 10.7724038,5.9923649 C10.5264737,6.22010665 10.412836,6.5291515 10.3442803,6.82544895 C10.2751028,7.12734285 10.1955097,7.670814 10.695298,7.87306115 C10.8495095,7.93928505 11.0718104,7.9574733 11.2151399,7.9574733 Z M11.1865362,6.84798995 C11.2709484,6.47458675 11.3705951,6.16118915 11.6249197,6.16118915 C11.8242132,6.16118915 11.8386705,6.3943719 11.7500611,6.76901875 C11.7342047,6.85218725 11.6614517,7.16138755 11.5630486,7.29305805 C11.4943374,7.3902175 11.4130344,7.449135 11.3231813,7.449135 C11.296443,7.449135 11.1374124,7.449135 11.1349251,7.21299865 C11.1336815,7.0964073 11.1574661,6.97732865 11.1865362,6.84798995 Z M13.505616,7.9094532 L13.5342197,7.8803831 C13.5747935,7.66538865 13.5814781,7.6148657 13.6713312,7.17959135 C13.7162577,6.9731469 13.8092198,6.5195288 13.8529028,6.3580109 C13.9356049,6.3196135 14.0156643,6.28199335 14.0958791,6.28199335 C14.2797825,6.28199335 14.257397,6.44351125 14.2500907,6.50786965 C14.243406,6.61606645 14.1759386,6.96879415 14.1055173,7.2717762 L14.0618345,7.4673388 C14.0284116,7.61191205 13.9920351,7.7521326 13.9598559,7.89546225 L13.9738469,7.924066 C14.3497374,7.90401225 14.4596441,7.90401225 14.7814363,7.9094532 L14.8203001,7.8803831 C14.8767303,7.54444455 14.8919649,7.45459145 14.9976744,6.9658405 L15.0480419,6.7410524 C15.1487768,6.30142525 15.199766,6.07865805 15.1251476,5.89708645 C15.0426009,5.69359565 14.8489038,5.64447185 14.6746386,5.64447185 C14.5591354,5.64447185 14.3472501,5.6722983 14.1589939,5.7652605 C14.0916819,5.8005488 14.0242143,5.8411226 13.9579904,5.88185185 L14.0156643,5.6584628 L13.9847287,5.6206872 C13.5833436,5.7021457 13.491625,5.71302755 13.1211754,5.7652605 L13.0927271,5.785936 C13.0478006,6.14301645 13.0112686,6.41133205 12.8516162,7.11336745 C12.7908333,7.3720448 12.7277185,7.6332094 12.6646037,7.89126495 L12.6815483,7.924066 C13.0622579,7.90401225 13.1758957,7.90401225 13.505616,7.9094532 Z M16.2673542,7.92398825 C16.2909834,7.80864055 16.4313594,7.12494885 16.432603,7.12494885 C16.432603,7.12494885 16.552148,6.6232951 16.5594545,6.60510685 C16.5594545,6.60510685 16.5970746,6.55287395 16.6346947,6.5321984 L16.6900367,6.5321984 C17.2122106,6.5321984 17.8018519,6.5321984 18.26402,6.192218 C18.5785058,5.9590353 18.7935002,5.61470215 18.889416,5.19621695 C18.9142889,5.09361655 18.9326326,4.97158426 18.9326326,4.84955199 C18.9326326,4.68927774 18.9004534,4.53071349 18.8074912,4.40681575 C18.5718212,4.0770954 18.1025022,4.07103265 17.560741,4.06854536 C17.559031,4.06854536 17.293669,4.07103265 17.293669,4.07103265 C16.6001837,4.07958268 16.3220744,4.0770954 16.2078149,4.06310444 C16.1981767,4.11362735 16.1799884,4.20348043 16.1799884,4.20348043 C16.1799884,4.20348043 15.9315711,5.3547812 15.9315711,5.35664665 C15.9315711,5.35664665 15.3371107,7.80444325 15.3091287,7.91979095 C15.9146265,7.9124846 16.1628884,7.9124846 16.2673542,7.92398825 Z M16.7276569,5.87882045 C16.7276569,5.87882045 16.9917752,4.72985153 16.9905316,4.73420427 L16.9990815,4.67528678 L17.0028125,4.63036024 L17.1083665,4.64124209 C17.1083665,4.64124209 17.6530813,4.68803409 17.6658287,4.68927774 C17.8808231,4.77244624 17.9694325,4.98681887 17.9075614,5.2666381 C17.8511312,5.5223618 17.6852606,5.7373563 17.4721316,5.8412003 C17.2966227,5.9291879 17.0816282,5.9364943 16.8601047,5.9364943 L16.7167751,5.9364943 L16.7276569,5.87882045 Z M18.3721236,6.8692718 C18.3023242,7.1668129 18.2221093,7.7102841 18.7194103,7.9039812 C18.8779745,7.9714487 19.0200605,7.9915024 19.1644784,7.98419605 C19.3169799,7.9759569 19.4582886,7.899473 19.5891818,7.78941075 C19.5773673,7.8346482 19.5655527,7.87988565 19.5537381,7.92527855 L19.576279,7.95434865 C19.9339813,7.9392695 20.0449763,7.9392695 20.4325259,7.94222315 L20.4676588,7.91548485 C20.5242445,7.58281085 20.5775656,7.2597751 20.7246262,6.62334175 C20.7962909,6.3184942 20.8678003,6.01660035 20.9413306,5.71299645 L20.929827,5.6795736 C20.5296854,5.7537257 20.4227323,5.76958215 20.0378253,5.8241469 L20.0085998,5.8479315 C20.0047134,5.8788671 20.0006716,5.908559 19.9969406,5.93825095 C19.9370904,5.84155785 19.8503465,5.7590112 19.7164996,5.70755555 C19.5453434,5.64024345 19.1433365,5.7269874 18.7977597,6.0416286 C18.5549388,6.2662613 18.4383475,6.57406245 18.3721236,6.8692718 Z M19.212514,6.88746005 C19.2981698,6.52074135 19.3965729,6.2104529 19.6515194,6.2104529 C19.8127263,6.2104529 19.8976048,6.35922345 19.8803493,6.61292625 C19.8666693,6.6761965 19.851901,6.74288675 19.8343345,6.8182825 C19.80884,6.92725655 19.7811689,7.03529785 19.7542752,7.14349465 C19.726915,7.2174913 19.6950468,7.28729065 19.6600694,7.33377175 C19.5944673,7.4267339 19.4383904,7.48440775 19.3485373,7.48440775 C19.3230426,7.48440775 19.165722,7.48440775 19.1602811,7.2524687 C19.1590374,7.13696555 19.1828221,7.01804235 19.212514,6.88746005 Z M23.6010903,5.6766044 L23.5701548,5.6413161 C23.1742105,5.72153095 23.1025456,5.73427825 22.7387807,5.7834021 L22.7120423,5.81014035 C22.7107988,5.8144931 22.7097105,5.8211777 22.7078451,5.82724045 L22.7066014,5.8211777 C22.4357986,6.4459519 22.4437268,6.3111723 22.2232914,6.80303235 C22.2220477,6.7806468 22.2220477,6.76665585 22.2208042,6.7428712 L22.1656175,5.6766044 L22.130951,5.6413161 C21.7161968,5.72153095 21.7064031,5.73427825 21.3233616,5.7834021 L21.2935143,5.81014035 C21.2893169,5.8228877 21.2893169,5.83687865 21.2868297,5.85211325 L21.2893169,5.8575542 C21.3371971,6.1022406 21.3256934,6.04767585 21.3737291,6.4338264 C21.3961146,6.6233262 21.425962,6.8139142 21.4483475,7.0010822 C21.4861232,7.3143243 21.5072651,7.4685358 21.5534352,7.94656035 C21.2947578,8.37344015 21.2335085,8.53495805 20.9844694,8.90960495 L20.9861794,8.91333585 L20.810826,9.1906678 C20.7907723,9.2198934 20.7725841,9.2399471 20.7470894,9.24849715 C20.7191075,9.26233265 20.682731,9.2648199 20.632208,9.2648199 L20.5350486,9.2648199 L20.3906308,9.7451763 L20.8860663,9.75372635 C21.1769228,9.7524827 21.3597381,9.61645945 21.4581412,9.4336442 L21.7696733,8.89981125 L21.7646987,8.89981125 L21.7974998,8.8621911 C22.0070533,8.4110603 23.6010903,5.6766044 23.6010903,5.6766044 Z M18.372108,11.9853625 L18.1619326,11.9853625 L18.9398302,9.41242455 L19.1978857,9.41242455 L19.2798105,9.14737355 L19.2877387,9.4421165 C19.2781005,9.6243099 19.4214302,9.7858278 19.7979425,9.75908955 L20.2333723,9.75908955 L20.3832311,9.263654 L20.2193814,9.263654 C20.1251756,9.263654 20.0814927,9.23986935 20.0869337,9.1888801 L20.0790054,8.8890071 L19.2726596,8.8890071 L19.2726596,8.89056165 C19.0119614,8.8960026 18.233442,8.91558995 18.0758105,8.95756285 C17.8850671,9.00668665 17.6840635,9.15125995 17.6840635,9.15125995 L17.7630347,8.885898 L17.0087664,8.885898 L16.8516013,9.41242455 L16.0632883,12.0246927 L15.9103204,12.0246927 L15.7603062,12.5165528 L17.2626247,12.5165528 L17.2122572,12.6805579 L17.9525345,12.6805579 L18.0016584,12.5165528 L18.2093465,12.5165528 L18.372108,11.9853625 Z M17.7557284,9.9352202 C17.6349398,9.96864305 17.4101516,10.0699998 17.4101516,10.0699998 L17.6100669,9.41242455 L18.2093465,9.41242455 L18.0647732,9.8915373 C18.0647732,9.8915373 17.8796261,9.90241915 17.7557284,9.9352202 Z M17.7672321,10.8746356 C17.7672321,10.8746356 17.5789759,10.8982648 17.4550781,10.9262467 C17.3330458,10.9632451 17.1042159,11.0798364 17.1042159,11.0798364 L17.3106603,10.3955229 L17.913049,10.3955229 L17.7672321,10.8746356 Z M17.431449,11.9914253 L16.830304,11.9914253 L17.0045692,11.4139095 L17.6038487,11.4139095 L17.431449,11.9914253 Z M18.8791404,10.3955229 L19.7456474,10.3955229 L19.6211278,10.7987735 L18.7431173,10.7987735 L18.6112912,11.2396443 L19.3795505,11.2396443 L18.7978375,12.0587374 C18.7571082,12.1188986 18.7205762,12.1401959 18.6800025,12.1571405 C18.6392732,12.177816 18.5857967,12.202067 18.5239255,12.202067 L18.3107965,12.202067 L18.1643577,12.6849107 L18.7218198,12.6849107 C19.0115882,12.6849107 19.1827443,12.5530847 19.3091294,12.3800631 L19.7080273,11.8341047 L19.7936831,12.3884578 C19.8118713,12.4923017 19.8864898,12.5530847 19.9370127,12.5767139 C19.9928211,12.6046958 20.050495,12.6527315 20.1319535,12.6598824 C20.2193192,12.6636133 20.282434,12.666567 20.3244069,12.666567 L20.5983189,12.666567 L20.7627904,12.1262049 L20.6547491,12.1262049 C20.5927224,12.1262049 20.4859248,12.1157894 20.4677366,12.0963575 C20.4495483,12.0727283 20.4495483,12.0363518 20.4397546,11.9810098 L20.3528552,11.4254131 L19.9970183,11.4254131 L20.1530954,11.2396443 L21.0293959,11.2396443 L21.1641755,10.7987735 L20.3528552,10.7987735 L20.4792402,10.3955229 L21.2880733,10.3955229 L21.4380875,9.8982219 L19.0266674,9.8982219 L18.8791404,10.3955229 Z M11.5605924,12.1037106 L11.7628395,11.4309008 L12.5940582,11.4309008 L12.7459378,10.9304907 L11.9139419,10.9304907 L12.0409488,10.5163582 L12.8539791,10.5163582 L13.0046152,10.0318045 L10.9703292,10.0318045 L10.8228023,10.5163582 L11.2849704,10.5163582 L11.1616945,10.9304907 L10.6982827,10.9304907 L10.5446931,11.4394508 L11.0067057,11.4394508 L10.7371465,12.3295869 C10.70077,12.4474219 10.7542466,12.4923484 10.7881358,12.5470686 C10.8228023,12.6003897 10.8579352,12.635678 10.9369064,12.6557317 C11.0183649,12.67392 11.0741733,12.6848018 11.1500354,12.6848018 L12.087119,12.6848018 L12.2540778,12.1304488 L11.8387016,12.1875009 C11.7584868,12.1875009 11.5363414,12.1778627 11.5605924,12.1037106 Z M11.655933,8.88286665 L11.4452913,9.2635763 C11.4002093,9.34674475 11.3596355,9.3983559 11.3231036,9.4221405 C11.2909244,9.44219425 11.2271878,9.4505888 11.1348474,9.4505888 L11.0249406,9.4505888 L10.8780355,9.93762975 L11.2430442,9.93762975 C11.418553,9.93762975 11.5533326,9.87327135 11.6176911,9.8410921 C11.6868686,9.8040938 11.7050568,9.8252357 11.7585334,9.7736246 L11.8818094,9.6668269 L13.0216064,9.6668269 L13.1728643,9.15973225 L12.3385365,9.15973225 L12.484198,8.88286665 L11.655933,8.88286665 Z M13.3386416,12.1134887 C13.3192097,12.0855067 13.3332007,12.0362275 13.3628926,11.9336271 L13.6744247,10.9024932 L14.7826644,10.9024932 C14.9441823,10.9001614 15.0607736,10.8982959 15.1366357,10.892855 C15.2180942,10.8843049 15.3067037,10.8552348 15.4032413,10.8030019 C15.5028881,10.7482817 15.5538773,10.6906078 15.5969384,10.6243839 C15.644974,10.5583155 15.7220798,10.4137422 15.7883037,10.1908196 L16.1798952,8.8859291 L15.0298381,8.8926137 C15.0298381,8.8926137 14.6757113,8.9448466 14.5197898,9.00252045 C14.3624692,9.0668789 14.137681,9.24658505 14.137681,9.24658505 L14.2415251,8.88888275 L13.531095,8.88888275 L12.5364931,12.1874854 C12.5012048,12.3155803 12.4775756,12.4085425 12.4721017,12.4643509 C12.4702692,12.5245121 12.5479968,12.5840514 12.5983643,12.6289779 C12.6579036,12.6739045 12.7458911,12.6665981 12.8303033,12.6739045 C12.9190682,12.6805891 13.0452978,12.6847863 13.2195629,12.6847863 L13.7655214,12.6847863 L13.933102,12.1189296 L13.4443511,12.1650998 C13.3921182,12.1650998 13.3543426,12.1371178 13.3386416,12.1134887 Z M13.8754282,10.2060541 L15.0394763,10.2060541 L14.9654797,10.4379932 C14.9550642,10.4434341 14.9301913,10.4264895 14.8117345,10.4404805 L13.8037634,10.4404805 L13.8754282,10.2060541 Z M14.1086109,9.42815665 L15.2824526,9.42815665 L15.1980405,9.7075095 C15.1980405,9.7075095 14.6447757,9.7020686 14.5561663,9.71839135 C14.1662847,9.7858589 13.938543,9.9941688 13.938543,9.9941688 L14.1086109,9.42815665 Z M14.9915339,11.2146937 C14.9818957,11.2493602 14.9666611,11.2705021 14.9453638,11.2863585 C14.9217345,11.3015931 14.8834926,11.307034 14.8264406,11.307034 L14.6605699,11.307034 L14.6703636,11.0245721 L13.9804537,11.0245721 L13.9524718,12.4054801 C13.9513836,12.5051268 13.9610218,12.5628007 14.0339303,12.6089709 C14.1068387,12.6666447 14.3314714,12.6739511 14.6338316,12.6739511 L15.0661524,12.6739511 L15.2222294,12.1570628 L14.8458724,12.1777383 L14.7207311,12.1850447 C14.703631,12.1777383 14.6873082,12.1710537 14.66912,12.1528655 C14.6532635,12.1371645 14.6265253,12.1468028 14.630878,12.047156 L14.6338316,11.6931847 L15.0285323,11.6768619 C15.2416613,11.6768619 15.332758,11.6075288 15.4104855,11.5414604 C15.4846376,11.4781902 15.5088886,11.4054372 15.5368706,11.307034 L15.6030945,10.9936365 L15.0607114,10.9936365 L14.9915339,11.2146937 Z" id="043d81e0ae306ca592e1874153e2bfb4__Shape" fill="#FEFEFE"></path></g></g></g></g>',3)];var fx=Sg(ux,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 36 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...px],8,hx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCardIcnUnionpayS.vue"]]),mx=on({name:"vIconvIconCardIcnVisaS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}});const gx=["width","height"],vx=[as('<title>svg/card_icn_visa_s</title><defs><path d="M3,0 L33,0 C34.6568542,-3.04359188e-16 36,1.34314575 36,3 L36,21 C36,22.6568542 34.6568542,24 33,24 L3,24 C1.34314575,24 2.02906125e-16,22.6568542 0,21 L0,3 C-2.02906125e-16,1.34314575 1.34314575,3.04359188e-16 3,0 Z" id="66fe313b85899047d9acc63d5b4a6510__path-1"></path></defs><g id="66fe313b85899047d9acc63d5b4a6510__Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="66fe313b85899047d9acc63d5b4a6510__visa-electron"><mask id="66fe313b85899047d9acc63d5b4a6510__mask-2" fill="white"><use xlink:href="#66fe313b85899047d9acc63d5b4a6510__path-1"></use></mask><path stroke-opacity="0.2" stroke="#48556C" d="M33,0.5 C33.6903559,0.5 34.3153559,0.779822031 34.767767,1.23223305 C35.220178,1.68464406 35.5,2.30964406 35.5,3 L35.5,3 L35.5,21 C35.5,21.6903559 35.220178,22.3153559 34.767767,22.767767 C34.3153559,23.220178 33.6903559,23.5 33,23.5 L33,23.5 L3,23.5 C2.30964406,23.5 1.68464406,23.220178 1.23223305,22.767767 C0.779822031,22.3153559 0.5,21.6903559 0.5,21 L0.5,21 L0.5,3 C0.5,2.30964406 0.779822031,1.68464406 1.23223305,1.23223305 C1.68464406,0.779822031 2.30964406,0.5 3,0.5 L3,0.5 Z"></path><path d="M17.2212118,15.8586546 L15.5721993,8.12149691 L13.5776822,8.12149691 L15.2268445,15.8586546 L17.2212118,15.8586546 L17.2212118,15.8586546 Z M25.6122077,10.8625454 L26.6622059,13.7682462 L27.2661646,10.8625454 L25.6122077,10.8625454 L25.6122077,10.8625454 Z M27.8385095,8.12149691 L29.6827486,8.12149691 L28.0714928,15.8586546 L26.3701901,15.8586546 C25.986779,15.8586546 25.6637487,15.6355093 25.5206625,15.2914685 L22.527838,8.12149691 L24.6224405,8.12149691 L25.0383645,9.27692048 L27.5968361,9.27692048 L27.8385095,8.12149691 L27.8385095,8.12149691 Z M22.6316691,10.6475199 C22.640509,12.6893596 19.8192382,12.8025864 19.8379668,13.7148657 C19.8441097,13.9921433 20.1075083,14.287465 20.6835988,14.3629495 C20.9693218,14.3999399 21.7572699,14.4297126 22.6506974,14.0166532 L23.0000975,15.6580644 C22.5201967,15.8321899 21.9027534,16 21.1345827,16 C19.1628395,16 17.7757272,14.9489315 17.7646398,13.4425503 C17.7520542,12.3286281 18.7554558,11.7076105 19.5098423,11.336654 C20.287752,10.9574272 20.5484536,10.7141327 20.5447078,10.3753548 C20.539314,9.8562863 19.924268,9.62652482 19.3519231,9.61780351 C18.3483717,9.60216529 17.7670371,9.88996861 17.3034677,10.1067985 L16.941482,8.41065353 C17.4081978,8.19622954 18.2682135,8.00962352 19.1587941,8 C21.254895,8 22.6255262,9.03888879 22.6316691,10.6475199 L22.6316691,10.6475199 Z M14.3713238,15.8586546 L11.1396726,8.12149691 L9.03158553,8.12149691 L7.4411559,14.2963367 C7.34481617,14.6760145 7.26076237,14.8155555 6.96754798,14.9759976 C6.48794693,15.2374866 5.69610326,15.4819841 5,15.634156 L5.04704615,15.8586546 L8.44096155,15.8586546 C8.87321679,15.8586546 9.2621716,15.5699491 9.36105842,15.070278 L10.2011469,10.5926358 L12.2759721,15.8586546 L14.3713238,15.8586546 L14.3713238,15.8586546 Z" id="66fe313b85899047d9acc63d5b4a6510__path4163" fill="#1A1F71" fill-rule="nonzero" mask="url(#66fe313b85899047d9acc63d5b4a6510__mask-2)" transform="translate(17.341374, 12.000000) scale(1, -1) translate(-17.341374, -12.000000) "></path></g></g>',3)];var yx=Sg(mx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 36 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...vx],8,gx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCardIcnVisaS.vue"]]),bx=on({name:"vIconvIconLogoStorage",props:{width:{type:[Number,String],default:256},height:{type:[Number,String],default:256}}});const wx=["width","height"],Cx=[as('<title>Web/icn_storage_256</title><defs><linearGradient x1="74.953334%" y1="93.1039263%" x2="25.1285299%" y2="6.80092918%" id="0dec2786b2da2a5302645e700f4cc132__linearGradient-1"><stop stop-color="#3869E6" offset="0%"></stop><stop stop-color="#00CAD4" offset="100%"></stop></linearGradient><linearGradient x1="0.00223702117%" y1="49.8225902%" x2="100.031264%" y2="49.8225902%" id="0dec2786b2da2a5302645e700f4cc132__linearGradient-2"><stop stop-color="#3869E6" offset="0%"></stop><stop stop-color="#2ACCD4" offset="100%"></stop></linearGradient><linearGradient x1="7.40148657e-15%" y1="50.2214208%" x2="99.9999965%" y2="50.2214208%" id="0dec2786b2da2a5302645e700f4cc132__linearGradient-3"><stop stop-color="#3869E6" stop-opacity="0" offset="0%"></stop><stop stop-color="#3869E6" stop-opacity="0.4" offset="100%"></stop></linearGradient></defs><g id="0dec2786b2da2a5302645e700f4cc132__Web/icn_storage_256" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><rect id="0dec2786b2da2a5302645e700f4cc132__Rectangle" x="0" y="0" width="256" height="256"></rect><path d="M16,128 C16,174.3925 53.6075,212 100,212 L100,212 C146.3925,212 184,174.3925 184,128 L184,128 C184,115.5855 181.284,103.8115 176.4505,93.203 L176.4505,93.203 C176.4505,93.203 176.4505,93.203 176.447,93.203 L176.447,93.203 C160.228,94.75 136.6275,109.128 136.6275,109.128 L136.6275,109.128 C136.6275,109.128 106.104,126.9255 94.4805,133.4635 L94.4805,133.4635 C81.03,141.034 67.1735,145.6575 54.941,146.9945 L54.941,146.9945 C67.0055,144.5725 80.3965,138.7205 93.119,129.988 L93.119,129.988 C104.1125,122.4455 132.942,102.0055 132.942,102.0055 L132.942,102.0055 C132.942,102.0055 154.747,85.9125 170.7315,82.7135 L170.7315,82.7135 C155.797,59.435 129.708,44 100,44 L100,44 C53.6075,44 16,81.6075 16,128" id="0dec2786b2da2a5302645e700f4cc132__Fill-2" fill="url(#0dec2786b2da2a5302645e700f4cc132__linearGradient-1)" fill-rule="nonzero"></path><path d="M179.73,93.0384888 C178.631,93.0699797 177.539,93.1329615 176.4505,93.2029412 L176.4505,93.2029412 C176.4505,93.2029412 176.4505,93.2029412 176.447,93.2029412 L176.447,93.2029412 C160.228,94.7494929 136.6275,109.123327 136.6275,109.123327 L136.6275,109.123327 C136.6275,109.123327 106.104,126.915669 94.4805,133.451775 L94.4805,133.451775 C53.9155,156.27216 9.5845,152.500254 17.6205,111.59711 L17.6205,111.59711 C16.581,116.901572 16,122.377485 16,127.989858 L16,127.989858 C16,168.948986 45.3405,203.036105 84.1485,210.450456 L84.1485,210.450456 C84.39,210.499442 84.6385,210.537931 84.8835,210.583418 L84.8835,210.583418 C86.1855,210.821349 87.498,211.027789 88.821,211.202738 L88.821,211.202738 C89.2025,211.251724 89.584,211.304209 89.969,211.349696 L89.969,211.349696 C90.018,211.353195 90.0705,211.363692 90.123,211.37069 L90.123,211.37069 C91.32,211.50715 92.5275,211.619118 93.7385,211.710091 L93.7385,211.710091 C93.938,211.724087 94.1375,211.738083 94.337,211.755578 L94.337,211.755578 C94.5925,211.769574 94.8445,211.797566 95.1,211.811562 L95.1,211.811562 C96.7205,211.909533 98.355,211.965517 100,211.965517 L100,211.965517 L180.5,211.965517 C182.306,211.965517 184.084,211.850051 185.848,211.696095 L185.848,211.696095 C186.408,211.643611 186.968,211.580629 187.5245,211.514148 L187.5245,211.514148 C188.767,211.37069 189.9955,211.174746 191.217,210.950811 L191.217,210.950811 C191.791,210.845842 192.3825,210.761866 192.9495,210.639402 L192.9495,210.639402 C194.402,210.331491 195.8265,209.950101 197.2335,209.537221 L197.2335,209.537221 C198.196,209.253803 199.141,208.931897 200.0825,208.602992 L200.0825,208.602992 C200.5795,208.428043 201.073,208.242596 201.563,208.05715 L201.563,208.05715 C205.112,206.699544 208.514,205.034026 211.706,203.057099 L211.706,203.057099 C211.7095,203.057099 211.7095,203.057099 211.7095,203.057099 L211.7095,203.057099 C212.679,202.458773 213.6415,201.853448 214.5655,201.209635 L214.5655,201.209635 C215.3495,200.660294 216.1125,200.075963 216.8685,199.484635 L216.8685,199.484635 C217.6175,198.910801 218.356,198.333469 219.0665,197.728144 L219.0665,197.728144 C219.4655,197.392241 219.8365,197.024848 220.225,196.678448 L220.225,196.678448 C220.6415,196.297059 221.0685,195.929665 221.4745,195.541278 L221.4745,195.541278 C222.066,194.977941 222.654,194.411105 223.221,193.830274 L223.221,193.830274 C224.005,193.022008 224.7505,192.189249 225.4855,191.342495 L225.4855,191.342495 C226.014,190.726673 226.539,190.110852 227.043,189.477535 L227.043,189.477535 C227.379,189.057657 227.687,188.613286 228.009,188.18641 L228.009,188.18641 C228.324,187.763032 228.6495,187.350152 228.954,186.919777 L228.954,186.919777 C229.479,186.18499 229.9935,185.443205 230.4765,184.687424 L230.4765,184.687424 C230.9875,183.896653 231.4705,183.091886 231.9465,182.276623 L231.9465,182.276623 C232.4645,181.370385 232.972,180.464148 233.4445,179.540416 L233.4445,179.540416 C233.805,178.830122 234.1515,178.105832 234.484,177.374544 L234.484,177.374544 C234.974,176.321349 235.4395,175.254158 235.8595,174.169473 L235.8595,174.169473 C235.9295,173.998022 235.989,173.816075 236.0555,173.641126 L236.0555,173.641126 C236.241,173.151268 236.423,172.664909 236.591,172.175051 L236.591,172.175051 C236.9935,171.023884 237.3715,169.86572 237.7075,168.69356 L237.7075,168.69356 C237.9,168.007759 238.068,167.31146 238.2395,166.615162 L238.2395,166.615162 C238.5195,165.470994 238.7785,164.319828 238.992,163.158164 L238.992,163.158164 C239.139,162.339402 239.258,161.506643 239.3735,160.677383 L239.3735,160.677383 C239.517,159.631187 239.6535,158.58499 239.7445,157.531795 L239.7445,157.531795 C239.832,156.51359 239.867,155.481389 239.902,154.449189 L239.902,154.449189 C239.9335,153.539452 239.9755,152.633215 239.9615,151.71998 L239.9615,151.71998 C239.9545,151.317596 239.916,150.918712 239.902,150.516329 L239.902,150.516329 C239.867,149.816531 239.8425,149.120233 239.7935,148.423935 L239.7935,148.423935 C239.734,147.538692 239.6955,146.653448 239.5975,145.768205 L239.5975,145.768205 C239.4855,144.798986 239.314,143.85426 239.16,142.899037 L239.16,142.899037 C238.992,141.884331 238.8485,140.869625 238.628,139.858418 L238.628,139.858418 C238.516,139.351065 238.376,138.854209 238.243,138.357353 L238.243,138.357353 C238.187,138.129919 238.124,137.909483 238.068,137.685548 L238.068,137.685548 C237.7565,136.474899 237.452,135.267748 237.06,134.074594 L237.06,134.074594 C236.892,133.549746 236.6785,133.045892 236.4965,132.524544 L236.4965,132.524544 C236.01,131.170436 235.506,129.816329 234.9145,128.479716 L234.9145,128.479716 C234.813,128.245284 234.6905,128.028347 234.589,127.800913 L234.589,127.800913 C234.498,127.615467 234.407,127.43002 234.3195,127.244574 L234.3195,127.244574 C233.672,125.865974 232.9895,124.494371 232.223,123.143763 L232.223,123.143763 C232.0585,122.860345 231.8835,122.583925 231.7085,122.304006 L231.7085,122.304006 C231.607,122.132556 231.502,121.961105 231.397,121.789655 L231.397,121.789655 C230.662,120.572008 229.9025,119.378854 229.094,118.227688 L229.094,118.227688 C228.6775,117.639858 228.2365,117.073022 227.799,116.499189 L227.799,116.499189 C227.085,115.557961 226.357,114.634229 225.5905,113.741988 L225.5905,113.741988 C225.02,113.08068 224.425,112.436866 223.823,111.800051 L223.823,111.800051 C223.1265,111.051268 222.4125,110.316481 221.681,109.606187 L221.681,109.606187 C221.002,108.958874 220.302,108.336055 219.5985,107.716734 L219.5985,107.716734 C218.846,107.062424 218.09,106.42211 217.3165,105.813286 L217.3165,105.813286 C217.103,105.641836 216.879,105.48788 216.6585,105.319929 L216.6585,105.319929 C216.1615,104.942039 215.661,104.560649 215.1535,104.193256 L215.1535,104.193256 C214.289,103.577434 213.421,102.975609 212.532,102.408773 L212.532,102.408773 C211.86,101.978398 211.174,101.569016 210.4845,101.163134 L210.4845,101.163134 C209.4695,100.571805 208.4475,100.00497 207.4045,99.4766227 L207.4045,99.4766227 C207.268,99.406643 207.128,99.3471602 206.9915,99.2771805 L206.9915,99.2771805 C206.519,99.0462475 206.043,98.8153144 205.56,98.5913793 L205.56,98.5913793 C204.4085,98.0560345 203.243,97.5486815 202.0565,97.0903144 L202.0565,97.0903144 C201.885,97.0203347 201.703,96.9573529 201.5245,96.8943712 L201.5245,96.8943712 C201.129,96.7439148 200.7335,96.5969574 200.331,96.456998 L200.331,96.456998 C199.106,96.0266227 197.867,95.6207404 196.614,95.2708418 L196.614,95.2708418 C195.998,95.0923935 195.3715,94.9419371 194.745,94.7879817 L194.745,94.7879817 C193.541,94.487069 192.33,94.221146 191.112,93.997211 L191.112,93.997211 C190.629,93.9132353 190.139,93.8467546 189.6525,93.7767748 L189.6525,93.7767748 C189.3585,93.727789 189.061,93.6823022 188.7635,93.6403144 L188.7635,93.6403144 C187.6855,93.486359 186.604,93.3463996 185.5155,93.255426 L185.5155,93.255426 C184.875,93.1994422 184.2205,93.1889452 183.573,93.1574544 L183.573,93.1574544 C183.209,93.1399594 182.8485,93.1119675 182.4845,93.1014706 L182.4845,93.1014706 C181.683,93.0734787 180.885,93.0384888 180.08,93.0384888 L180.08,93.0384888 C179.9645,93.0384888 179.849,93.0384888 179.73,93.0384888" id="0dec2786b2da2a5302645e700f4cc132__Fill-5" fill="url(#0dec2786b2da2a5302645e700f4cc132__linearGradient-2)" fill-rule="nonzero"></path><path d="M176.447,93.203 C160.228,94.75 136.6275,109.128 136.6275,109.128 L136.6275,109.128 C136.6275,109.128 106.104,126.9255 94.4805,133.4635 L94.4805,133.4635 C92.9615,134.321 91.432,135.1225 89.9025,135.9065 L89.9025,135.9065 C89.4685,136.127 89.0345,136.3405 88.597,136.5575 L88.597,136.5575 C87.428,137.1385 86.259,137.695 85.0935,138.2305 L85.0935,138.2305 C84.691,138.4125 84.292,138.598 83.8965,138.7765 L83.8965,138.7765 C80.7395,140.18 77.593,141.4155 74.478,142.4865 L74.478,142.4865 C74.2715,142.553 74.072,142.616 73.869,142.6825 L73.869,142.6825 C72.4235,143.1725 70.985,143.624 69.557,144.0335 L69.557,144.0335 C69.4065,144.079 69.256,144.1245 69.109,144.163 L69.109,144.163 C64.2335,145.549 59.477,146.494 54.9445,146.9945 L54.9445,146.9945 L54.941,146.9945 C30.2835,149.6825 12.248,138.9515 17.6205,111.6025 L17.6205,111.6025 C16.581,116.9085 16,122.386 16,128 L16,128 C16,130.3555 16.1225,132.6795 16.3115,134.986 L16.3115,134.986 C16.336,135.2975 16.3535,135.6125 16.385,135.924 L16.385,135.924 C16.588,138.1115 16.889,140.271 17.2565,142.4025 L17.2565,142.4025 C17.323,142.7875 17.3895,143.1725 17.463,143.554 L17.463,143.554 C17.8585,145.6715 18.3275,147.761 18.8805,149.8225 L18.8805,149.8225 C18.9645,150.1375 19.059,150.4525 19.1465,150.7675 L19.1465,150.7675 C19.7485,152.9025 20.41,155.0095 21.173,157.0745 L21.173,157.0745 C21.201,157.1445 21.2325,157.2215 21.2605,157.295 L21.2605,157.295 C22.034,159.3775 22.902,161.4215 23.833,163.427 L23.833,163.427 C23.917,163.5985 23.987,163.777 24.0745,163.952 L24.0745,163.952 C25.0055,165.919 26.024,167.837 27.102,169.7165 L27.102,169.7165 C27.249,169.9685 27.389,170.224 27.5395,170.476 L27.5395,170.476 C28.628,172.331 29.7865,174.144 31.0115,175.901 L31.0115,175.901 C31.155,176.104 31.2985,176.307 31.4455,176.51 L31.4455,176.51 C32.7335,178.3265 34.0775,180.101 35.5055,181.802 L35.5055,181.802 C35.523,181.83 35.5475,181.851 35.5685,181.8755 L35.5685,181.8755 C38.547,185.435 41.823,188.739 45.351,191.763 L45.351,191.763 C45.456,191.8505 45.5575,191.945 45.659,192.0325 L45.659,192.0325 C47.3845,193.492 49.159,194.885 50.9965,196.2045 L50.9965,196.2045 C51.1085,196.285 51.217,196.3585 51.3255,196.439 L51.3255,196.439 C57.076,200.534 63.362,203.9325 70.068,206.4875 L70.068,206.4875 C70.0715,206.491 70.075,206.4945 70.082,206.4945 L70.082,206.4945 C72.301,207.3415 74.5655,208.0905 76.8685,208.7485 L76.8685,208.7485 C76.949,208.7695 77.0295,208.794 77.1065,208.815 L77.1065,208.815 C79.413,209.4695 81.7615,210.0295 84.1485,210.4845 L84.1485,210.4845 C84.39,210.5335 84.6385,210.572 84.8835,210.6175 L84.8835,210.6175 C86.1855,210.8555 87.498,211.062 88.8175,211.237 L88.8175,211.237 C89.2515,211.293 89.6785,211.349 90.1125,211.4015 L90.1125,211.4015 C90.116,211.4015 90.1195,211.4015 90.123,211.405 L90.123,211.405 C91.32,211.5415 92.5275,211.6535 93.7385,211.7445 L93.7385,211.7445 C93.938,211.7585 94.1375,211.7725 94.337,211.79 L94.337,211.79 C94.5925,211.804 94.8445,211.832 95.1,211.846 L95.1,211.846 C96.7205,211.944 98.355,212 100,212 L100,212 C146.3925,212 184,174.3925 184,128 L184,128 C184,115.5855 181.284,103.8115 176.4505,93.203 L176.4505,93.203 C176.4505,93.203 176.4505,93.203 176.447,93.203" id="0dec2786b2da2a5302645e700f4cc132__Fill-8" fill="url(#0dec2786b2da2a5302645e700f4cc132__linearGradient-3)" fill-rule="nonzero"></path></g>',3)];var xx=Sg(bx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 256 256",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"currentColor",width:e.width,height:e.height},[...Cx],8,wx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconLogoStorage.vue"]]),Sx=on({name:"vIconvIconOverview",props:{width:{type:[Number,String],default:22},height:{type:[Number,String],default:22}}});const kx=["width","height"],_x=[ts("path",{"fill-rule":"evenodd",d:"M18,4 C19.1045695,4 20,4.8954305 20,6 L20,17 C20,18.1045695 19.1045695,19 18,19 L4,19 C2.8954305,19 2,18.1045695 2,17 L2,6 C2,4.8954305 2.8954305,4 4,4 L18,4 Z M16.5,14 L12.5,14 C12.2238576,14 12,14.2238576 12,14.5 C12,14.7761424 12.2238576,15 12.5,15 L12.5,15 L16.5,15 C16.7761424,15 17,14.7761424 17,14.5 C17,14.2238576 16.7761424,14 16.5,14 L16.5,14 Z M7.5,10 C6.11928813,10 5,11.1192881 5,12.5 C5,13.8807119 6.11928813,15 7.5,15 C8.88071187,15 10,13.8807119 10,12.5 C10,11.1192881 8.88071187,10 7.5,10 Z M16.5,11 L12.5,11 C12.2238576,11 12,11.2238576 12,11.5 C12,11.7761424 12.2238576,12 12.5,12 L12.5,12 L16.5,12 C16.7761424,12 17,11.7761424 17,11.5 C17,11.2238576 16.7761424,11 16.5,11 L16.5,11 Z M18,6 L4,6 L4,8 L18,8 L18,6 Z"},null,-1)];var Ix=Sg(Sx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"currentColor",width:e.width,height:e.height},[..._x],8,kx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconOverview.vue"]]),Tx=on({name:"vIconvIconColorPickerTransparentBg",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:8}}});const Dx=["width","height"],Lx=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("path",{fill:"#CCC",d:"M4,4 L4,8 L0,8 L0,4 L4,4 Z M8,0 L8,4 L4,4 L4,0 L8,0 Z"}),ts("path",{fill:"#FFF",d:"M8,4 L8,8 L4,8 L4,4 L8,4 Z M4,0 L4,4 L0,4 L0,0 L4,0 Z"})],-1)];var Ax=Sg(Tx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 8",fill:"currentColor",width:e.width,height:e.height},[...Lx],8,Dx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconColorPickerTransparentBg.vue"]]),Ex=on({name:"vIconvIconScheduleTableColorClear",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Mx=["width","height"],Bx=[ts("g",{fill:"none","fill-rule":"evenodd",transform:"translate(5 5)"},[ts("rect",{width:"13",height:"13",x:".5",y:".5",fill:"#FFF",stroke:"#DCDEE0",rx:"1"}),ts("rect",{width:"1",height:"18",x:"6.468",y:"-2",fill:"#E6E8EA",transform:"rotate(-45 6.968 7)"})],-1)];var Ox=Sg(Ex,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Bx],8,Mx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconScheduleTableColorClear.vue"]]),$x=on({name:"vIconvIconAdvancedFilter",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:72}}});const Fx=["width","height"],Vx=[as('<defs><path id="de6c993ddea6b90b2fed11b95bac73e6__a" d="M11.9899414,11 L16,7 L8,7 L11.9899414,11 Z M13,19 C13,19.5522847 12.5522847,20 12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5.16434451,6.64654088 C4.96317235,6.32578616 4.94305513,5.89811321 5.12411008,5.55597484 C5.30516502,5.21383648 5.64715768,5 6.00926756,5 L17.9907324,5 C18.3528423,5 18.694835,5.21383648 18.8758899,5.55597484 C19.0569449,5.89811321 19.0368276,6.32578616 18.8356555,6.64654088 L13,13 L13,19 Z"></path><path id="de6c993ddea6b90b2fed11b95bac73e6__b" d="M11.9899414,11 L16,7 L8,7 L11.9899414,11 Z M13,19 C13,19.5522847 12.5522847,20 12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5.16434451,6.64654088 C4.96317235,6.32578616 4.94305513,5.89811321 5.12411008,5.55597484 C5.30516502,5.21383648 5.64715768,5 6.00926756,5 L17.9907324,5 C18.3528423,5 18.694835,5.21383648 18.8758899,5.55597484 C19.0569449,5.89811321 19.0368276,6.32578616 18.8356555,6.64654088 L13,13 L13,19 Z"></path><path id="de6c993ddea6b90b2fed11b95bac73e6__c" d="M11.9899414,11 L16,7 L8,7 L11.9899414,11 Z M13,19 C13,19.5522847 12.5522847,20 12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5.16434451,6.64654088 C4.96317235,6.32578616 4.94305513,5.89811321 5.12411008,5.55597484 C5.30516502,5.21383648 5.64715768,5 6.00926756,5 L17.9907324,5 C18.3528423,5 18.694835,5.21383648 18.8758899,5.55597484 C19.0569449,5.89811321 19.0368276,6.32578616 18.8356555,6.64654088 L13,13 L13,19 Z"></path></defs><g fill="none" fill-rule="evenodd"><g transform="translate(0 48)"><path fill="#505A64" d="M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"></path><use xlink:href="#de6c993ddea6b90b2fed11b95bac73e6__a" fill="#057FEB"></use></g><g transform="translate(0 24)"><path fill="#057FEB" d="M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"></path><use xlink:href="#de6c993ddea6b90b2fed11b95bac73e6__b" fill="#057FEB"></use></g><path fill="#505A64" d="M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"></path><use xlink:href="#de6c993ddea6b90b2fed11b95bac73e6__c" fill="#505A64"></use></g>',2)];var Px=Sg($x,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 72",fill:"currentColor",width:e.width,height:e.height},[...Vx],8,Fx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdvancedFilter.vue"]]),Nx=on({name:"vIconvIconAdvancedFilterHover",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}});const Rx=["width","height"],Hx=[ts("defs",null,[ts("path",{id:"20c59f455a52b10fb2d9c16c6cf093fe__a",d:"M11.9899414,11 L16,7 L8,7 L11.9899414,11 Z M13,19 C13,19.5522847 12.5522847,20 12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5.16434451,6.64654088 C4.96317235,6.32578616 4.94305513,5.89811321 5.12411008,5.55597484 C5.30516502,5.21383648 5.64715768,5 6.00926756,5 L17.9907324,5 C18.3528423,5 18.694835,5.21383648 18.8758899,5.55597484 C19.0569449,5.89811321 19.0368276,6.32578616 18.8356555,6.64654088 L13,13 L13,19 Z"})],-1),ts("g",{fill:"none","fill-rule":"evenodd"},[ts("path",{fill:"#057FEB",d:"M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"}),ts("use",{"xlink:href":"#20c59f455a52b10fb2d9c16c6cf093fe__a",fill:"#057FEB"})],-1)];var zx=Sg(Nx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 24",fill:"currentColor",width:e.width,height:e.height},[...Hx],8,Rx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdvancedFilterHover.vue"]]),Wx=on({name:"vIconvIconAdvancedFilterNormal",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}});const jx=["width","height"],Ux=[ts("defs",null,[ts("path",{id:"1477dcbfe9316ddfc1ce6e477ce427be__a",d:"M11.9899414,11 L16,7 L8,7 L11.9899414,11 Z M13,19 C13,19.5522847 12.5522847,20 12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5.16434451,6.64654088 C4.96317235,6.32578616 4.94305513,5.89811321 5.12411008,5.55597484 C5.30516502,5.21383648 5.64715768,5 6.00926756,5 L17.9907324,5 C18.3528423,5 18.694835,5.21383648 18.8758899,5.55597484 C19.0569449,5.89811321 19.0368276,6.32578616 18.8356555,6.64654088 L13,13 L13,19 Z"})],-1),ts("g",{fill:"none","fill-rule":"evenodd"},[ts("path",{fill:"#505A64",d:"M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"}),ts("use",{"xlink:href":"#1477dcbfe9316ddfc1ce6e477ce427be__a",fill:"#505A64"})],-1)];var Gx=Sg(Wx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 24",fill:"currentColor",width:e.width,height:e.height},[...Ux],8,jx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdvancedFilterNormal.vue"]]),qx=on({name:"vIconvIconAdvancedFilterOn",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}});const Yx=["width","height"],Kx=[ts("defs",null,[ts("path",{id:"1d04dbcd59e44265f821f81561f0665f__a",d:"M11.9899414,11 L16,7 L8,7 L11.9899414,11 Z M13,19 C13,19.5522847 12.5522847,20 12,20 C11.4477153,20 11,19.5522847 11,19 L11,13 L5.16434451,6.64654088 C4.96317235,6.32578616 4.94305513,5.89811321 5.12411008,5.55597484 C5.30516502,5.21383648 5.64715768,5 6.00926756,5 L17.9907324,5 C18.3528423,5 18.694835,5.21383648 18.8758899,5.55597484 C19.0569449,5.89811321 19.0368276,6.32578616 18.8356555,6.64654088 L13,13 L13,19 Z"})],-1),ts("g",{fill:"none","fill-rule":"evenodd"},[ts("path",{fill:"#505A64",d:"M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"}),ts("use",{"xlink:href":"#1d04dbcd59e44265f821f81561f0665f__a",fill:"#057FEB"})],-1)];var Zx=Sg(qx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 24",fill:"currentColor",width:e.width,height:e.height},[...Kx],8,Yx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdvancedFilterOn.vue"]]),Jx=on({name:"vIconvIconAdvancedSearch",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:72}}});const Qx=["width","height"],Xx=[as('<defs><path id="78368ccdae25a2ee2ff60da9474e076a__a" d="M11.5045299,16.0115621 C9.01779811,16.0115621 7.00139383,13.9944442 7.00139383,11.5068322 C7.00139383,9.01922018 9.01779811,7.00210221 11.5045299,7.00210221 C13.9912618,7.00210221 16.0076661,9.01922018 16.0076661,11.5068322 C16.0076661,13.9944442 13.9912618,16.0115621 11.5045299,16.0115621 M16.7932131,16.302868 C16.622094,16.1326893 16.4049427,16.0496021 16.182788,16.0215727 C17.3115741,14.8503429 18.0090599,13.2616748 18.0090599,11.5068322 C18.0090599,7.91305871 15.0970319,5 11.5045299,5 C7.91202802,5 5,7.91305871 5,11.5068322 C5,15.1006056 7.91202802,18.0136643 11.5045299,18.0136643 C12.7964297,18.0136643 13.9962653,17.6322639 15.0089705,16.9835828 C14.9899573,17.2738876 15.0820214,17.5701987 15.3041761,17.791431 L17.2024982,19.691426 C17.6137846,20.102858 18.2802487,20.102858 18.6915352,19.691426 C19.1028216,19.280995 19.1028216,18.614295 18.6915352,18.201862 L16.7932131,16.302868 Z"></path><path id="78368ccdae25a2ee2ff60da9474e076a__b" d="M11.5045299,16.0115621 C9.01779811,16.0115621 7.00139383,13.9944442 7.00139383,11.5068322 C7.00139383,9.01922018 9.01779811,7.00210221 11.5045299,7.00210221 C13.9912618,7.00210221 16.0076661,9.01922018 16.0076661,11.5068322 C16.0076661,13.9944442 13.9912618,16.0115621 11.5045299,16.0115621 M16.7932131,16.302868 C16.622094,16.1326893 16.4049427,16.0496021 16.182788,16.0215727 C17.3115741,14.8503429 18.0090599,13.2616748 18.0090599,11.5068322 C18.0090599,7.91305871 15.0970319,5 11.5045299,5 C7.91202802,5 5,7.91305871 5,11.5068322 C5,15.1006056 7.91202802,18.0136643 11.5045299,18.0136643 C12.7964297,18.0136643 13.9962653,17.6322639 15.0089705,16.9835828 C14.9899573,17.2738876 15.0820214,17.5701987 15.3041761,17.791431 L17.2024982,19.691426 C17.6137846,20.102858 18.2802487,20.102858 18.6915352,19.691426 C19.1028216,19.280995 19.1028216,18.614295 18.6915352,18.201862 L16.7932131,16.302868 Z"></path><path id="78368ccdae25a2ee2ff60da9474e076a__c" d="M11.5045299,16.0115621 C9.01779811,16.0115621 7.00139383,13.9944442 7.00139383,11.5068322 C7.00139383,9.01922018 9.01779811,7.00210221 11.5045299,7.00210221 C13.9912618,7.00210221 16.0076661,9.01922018 16.0076661,11.5068322 C16.0076661,13.9944442 13.9912618,16.0115621 11.5045299,16.0115621 M16.7932131,16.302868 C16.622094,16.1326893 16.4049427,16.0496021 16.182788,16.0215727 C17.3115741,14.8503429 18.0090599,13.2616748 18.0090599,11.5068322 C18.0090599,7.91305871 15.0970319,5 11.5045299,5 C7.91202802,5 5,7.91305871 5,11.5068322 C5,15.1006056 7.91202802,18.0136643 11.5045299,18.0136643 C12.7964297,18.0136643 13.9962653,17.6322639 15.0089705,16.9835828 C14.9899573,17.2738876 15.0820214,17.5701987 15.3041761,17.791431 L17.2024982,19.691426 C17.6137846,20.102858 18.2802487,20.102858 18.6915352,19.691426 C19.1028216,19.280995 19.1028216,18.614295 18.6915352,18.201862 L16.7932131,16.302868 Z"></path></defs><g fill="none" fill-rule="evenodd"><g transform="translate(0 48)"><path fill="#505A64" d="M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"></path><use xlink:href="#78368ccdae25a2ee2ff60da9474e076a__a" fill="#057FEB"></use></g><g transform="translate(0 24)"><path fill="#057FEB" d="M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"></path><use xlink:href="#78368ccdae25a2ee2ff60da9474e076a__b" fill="#057FEB"></use></g><path fill="#505A64" d="M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"></path><use xlink:href="#78368ccdae25a2ee2ff60da9474e076a__c" fill="#505A64"></use></g>',2)];var eS=Sg(Jx,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 72",fill:"currentColor",width:e.width,height:e.height},[...Xx],8,Qx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdvancedSearch.vue"]]),tS=on({name:"vIconvIconAdvancedSearchHover",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}});const iS=["width","height"],nS=[ts("defs",null,[ts("path",{id:"5735458ff4e191f1afe91887c2b802ca__a",d:"M11.5045299,16.0115621 C9.01779811,16.0115621 7.00139383,13.9944442 7.00139383,11.5068322 C7.00139383,9.01922018 9.01779811,7.00210221 11.5045299,7.00210221 C13.9912618,7.00210221 16.0076661,9.01922018 16.0076661,11.5068322 C16.0076661,13.9944442 13.9912618,16.0115621 11.5045299,16.0115621 M16.7932131,16.302868 C16.622094,16.1326893 16.4049427,16.0496021 16.182788,16.0215727 C17.3115741,14.8503429 18.0090599,13.2616748 18.0090599,11.5068322 C18.0090599,7.91305871 15.0970319,5 11.5045299,5 C7.91202802,5 5,7.91305871 5,11.5068322 C5,15.1006056 7.91202802,18.0136643 11.5045299,18.0136643 C12.7964297,18.0136643 13.9962653,17.6322639 15.0089705,16.9835828 C14.9899573,17.2738876 15.0820214,17.5701987 15.3041761,17.791431 L17.2024982,19.691426 C17.6137846,20.102858 18.2802487,20.102858 18.6915352,19.691426 C19.1028216,19.280995 19.1028216,18.614295 18.6915352,18.201862 L16.7932131,16.302868 Z"})],-1),ts("g",{fill:"none","fill-rule":"evenodd"},[ts("path",{fill:"#057FEB",d:"M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"}),ts("use",{"xlink:href":"#5735458ff4e191f1afe91887c2b802ca__a",fill:"#057FEB"})],-1)];var oS=Sg(tS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 24",fill:"currentColor",width:e.width,height:e.height},[...nS],8,iS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdvancedSearchHover.vue"]]),sS=on({name:"vIconvIconAdvancedSearchNormal",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}});const rS=["width","height"],aS=[ts("defs",null,[ts("path",{id:"2e56b3640f1b51e280e7900e17ad3d1b__a",d:"M11.5045299,16.0115621 C9.01779811,16.0115621 7.00139383,13.9944442 7.00139383,11.5068322 C7.00139383,9.01922018 9.01779811,7.00210221 11.5045299,7.00210221 C13.9912618,7.00210221 16.0076661,9.01922018 16.0076661,11.5068322 C16.0076661,13.9944442 13.9912618,16.0115621 11.5045299,16.0115621 M16.7932131,16.302868 C16.622094,16.1326893 16.4049427,16.0496021 16.182788,16.0215727 C17.3115741,14.8503429 18.0090599,13.2616748 18.0090599,11.5068322 C18.0090599,7.91305871 15.0970319,5 11.5045299,5 C7.91202802,5 5,7.91305871 5,11.5068322 C5,15.1006056 7.91202802,18.0136643 11.5045299,18.0136643 C12.7964297,18.0136643 13.9962653,17.6322639 15.0089705,16.9835828 C14.9899573,17.2738876 15.0820214,17.5701987 15.3041761,17.791431 L17.2024982,19.691426 C17.6137846,20.102858 18.2802487,20.102858 18.6915352,19.691426 C19.1028216,19.280995 19.1028216,18.614295 18.6915352,18.201862 L16.7932131,16.302868 Z"})],-1),ts("g",{fill:"none","fill-rule":"evenodd"},[ts("path",{fill:"#505A64",d:"M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"}),ts("use",{"xlink:href":"#2e56b3640f1b51e280e7900e17ad3d1b__a",fill:"#505A64"})],-1)];var lS=Sg(sS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 24",fill:"currentColor",width:e.width,height:e.height},[...aS],8,rS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdvancedSearchNormal.vue"]]),dS=on({name:"vIconvIconAdvancedSearchOn",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}});const cS=["width","height"],uS=[ts("defs",null,[ts("path",{id:"26be36d2e21dbd5c3acf2b283fb2ce44__a",d:"M11.5045299,16.0115621 C9.01779811,16.0115621 7.00139383,13.9944442 7.00139383,11.5068322 C7.00139383,9.01922018 9.01779811,7.00210221 11.5045299,7.00210221 C13.9912618,7.00210221 16.0076661,9.01922018 16.0076661,11.5068322 C16.0076661,13.9944442 13.9912618,16.0115621 11.5045299,16.0115621 M16.7932131,16.302868 C16.622094,16.1326893 16.4049427,16.0496021 16.182788,16.0215727 C17.3115741,14.8503429 18.0090599,13.2616748 18.0090599,11.5068322 C18.0090599,7.91305871 15.0970319,5 11.5045299,5 C7.91202802,5 5,7.91305871 5,11.5068322 C5,15.1006056 7.91202802,18.0136643 11.5045299,18.0136643 C12.7964297,18.0136643 13.9962653,17.6322639 15.0089705,16.9835828 C14.9899573,17.2738876 15.0820214,17.5701987 15.3041761,17.791431 L17.2024982,19.691426 C17.6137846,20.102858 18.2802487,20.102858 18.6915352,19.691426 C19.1028216,19.280995 19.1028216,18.614295 18.6915352,18.201862 L16.7932131,16.302868 Z"})],-1),ts("g",{fill:"none","fill-rule":"evenodd"},[ts("path",{fill:"#505A64",d:"M22.5114886,11 L27.4989252,11 C27.7750675,11 27.9989252,11.2238576 27.9989252,11.5 C27.9989252,11.6514018 27.9303231,11.7946495 27.812363,11.8895596 L25.3186448,13.8959939 C25.1356288,14.0432477 24.874785,14.0432477 24.691769,13.8959939 L22.1980508,11.8895596 C21.9829029,11.7164527 21.9488221,11.40171 22.121929,11.1865621 C22.2168391,11.0686021 22.3600869,11 22.5114886,11 Z"}),ts("use",{"xlink:href":"#26be36d2e21dbd5c3acf2b283fb2ce44__a",fill:"#057FEB"})],-1)];var hS=Sg(dS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 24",fill:"currentColor",width:e.width,height:e.height},[...uS],8,cS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdvancedSearchOn.vue"]]),pS=on({name:"vIconvIconCheckbox",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:240}}});const fS=["width","height"],mS=[as('<g fill="none" fill-rule="evenodd"><g transform="translate(0 220)"><g fill="#E64040" transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill-opacity=".08" stroke="#E64040" rx="3"></rect><path d="M4,8 L14,8 C14.5522847,8 15,8.44771525 15,9 C15,9.55228475 14.5522847,10 14,10 L4,10 C3.44771525,10 3,9.55228475 3,9 C3,8.44771525 3.44771525,8 4,8 Z"></path></g><rect width="20" height="20"></rect></g><g transform="translate(0 200)"><g fill="#E64040" transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill-opacity=".08" stroke="#E64040" rx="3"></rect><path d="M14.0195478,4.16280725 L7.16264069,11.0180472 L7.16264069,11.0180472 L3.98672151,7.83262424 C3.59678109,7.44151694 2.96361682,7.440571 2.57250952,7.83051142 C2.5720443,7.83097525 2.57157954,7.83143954 2.57111523,7.83190429 L2.21255597,8.19080567 C1.82268695,8.58172149 1.82283785,9.21462645 2.21289322,9.60535632 L6.45553391,13.847997 C6.8460582,14.2385213 7.47922318,14.2385213 7.86974747,13.847997 L15.7878849,5.92985957 C16.1784092,5.53933528 16.1784092,4.9061703 15.7878849,4.51564601 C15.7873992,4.51516034 15.7869131,4.51467517 15.7864264,4.5141905 L15.4322169,4.16143772 C15.0414924,3.77232013 14.4095171,3.77293281 14.0195478,4.16280725 Z"></path></g><rect width="20" height="20"></rect></g><g transform="translate(0 180)"><rect width="17" height="17" x="1.5" y="1.5" fill="#E64040" fill-opacity=".08" stroke="#E64040" rx="3"></rect><rect width="20" height="20"></rect></g><g transform="translate(0 160)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#C6D4E0" fill-opacity=".2" stroke="#C6D4E0" stroke-opacity=".7" rx="3"></rect><path fill="#057FEB" fill-opacity=".4" d="M4,8 L14,8 C14.5522847,8 15,8.44771525 15,9 C15,9.55228475 14.5522847,10 14,10 L4,10 C3.44771525,10 3,9.55228475 3,9 C3,8.44771525 3.44771525,8 4,8 Z"></path></g><rect width="20" height="20"></rect></g><g transform="translate(0 140)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#FFF" stroke="#7C8A98" stroke-opacity=".5" rx="3"></rect><path fill="#057FEB" d="M4,8 L14,8 C14.5522847,8 15,8.44771525 15,9 C15,9.55228475 14.5522847,10 14,10 L4,10 C3.44771525,10 3,9.55228475 3,9 C3,8.44771525 3.44771525,8 4,8 Z"></path></g><rect width="20" height="20"></rect></g><g transform="translate(0 120)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#FFF" stroke="#C6D4E0" stroke-opacity=".7" rx="3"></rect><path fill="#057FEB" d="M4,8 L14,8 C14.5522847,8 15,8.44771525 15,9 C15,9.55228475 14.5522847,10 14,10 L4,10 C3.44771525,10 3,9.55228475 3,9 C3,8.44771525 3.44771525,8 4,8 Z"></path></g><rect width="20" height="20"></rect></g><g transform="translate(0 100)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#C6D4E0" fill-opacity=".2" stroke="#C6D4E0" stroke-opacity=".7" rx="3"></rect><path fill="#057FEB" fill-opacity=".4" d="M14.0195478,4.16280725 L7.16264069,11.0180472 L7.16264069,11.0180472 L3.98672151,7.83262424 C3.59678109,7.44151694 2.96361682,7.440571 2.57250952,7.83051142 C2.5720443,7.83097525 2.57157954,7.83143954 2.57111523,7.83190429 L2.21255597,8.19080567 C1.82268695,8.58172149 1.82283785,9.21462645 2.21289322,9.60535632 L6.45553391,13.847997 C6.8460582,14.2385213 7.47922318,14.2385213 7.86974747,13.847997 L15.7878849,5.92985957 C16.1784092,5.53933528 16.1784092,4.9061703 15.7878849,4.51564601 C15.7873992,4.51516034 15.7869131,4.51467517 15.7864264,4.5141905 L15.4322169,4.16143772 C15.0414924,3.77232013 14.4095171,3.77293281 14.0195478,4.16280725 Z"></path></g><rect width="20" height="20"></rect></g><g transform="translate(0 80)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#FFF" stroke="#7C8A98" stroke-opacity=".5" rx="3"></rect><path fill="#057FEB" d="M14.0195478,4.16280725 L7.16264069,11.0180472 L7.16264069,11.0180472 L3.98672151,7.83262424 C3.59678109,7.44151694 2.96361682,7.440571 2.57250952,7.83051142 C2.5720443,7.83097525 2.57157954,7.83143954 2.57111523,7.83190429 L2.21255597,8.19080567 C1.82268695,8.58172149 1.82283785,9.21462645 2.21289322,9.60535632 L6.45553391,13.847997 C6.8460582,14.2385213 7.47922318,14.2385213 7.86974747,13.847997 L15.7878849,5.92985957 C16.1784092,5.53933528 16.1784092,4.9061703 15.7878849,4.51564601 C15.7873992,4.51516034 15.7869131,4.51467517 15.7864264,4.5141905 L15.4322169,4.16143772 C15.0414924,3.77232013 14.4095171,3.77293281 14.0195478,4.16280725 Z"></path></g><rect width="20" height="20"></rect></g><g transform="translate(0 60)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#FFF" stroke="#C6D4E0" stroke-opacity=".7" rx="3"></rect><path fill="#057FEB" d="M14.0195478,4.16280725 L7.16264069,11.0180472 L7.16264069,11.0180472 L3.98672151,7.83262424 C3.59678109,7.44151694 2.96361682,7.440571 2.57250952,7.83051142 C2.5720443,7.83097525 2.57157954,7.83143954 2.57111523,7.83190429 L2.21255597,8.19080567 C1.82268695,8.58172149 1.82283785,9.21462645 2.21289322,9.60535632 L6.45553391,13.847997 C6.8460582,14.2385213 7.47922318,14.2385213 7.86974747,13.847997 L15.7878849,5.92985957 C16.1784092,5.53933528 16.1784092,4.9061703 15.7878849,4.51564601 C15.7873992,4.51516034 15.7869131,4.51467517 15.7864264,4.5141905 L15.4322169,4.16143772 C15.0414924,3.77232013 14.4095171,3.77293281 14.0195478,4.16280725 Z"></path></g><rect width="20" height="20"></rect></g><g transform="translate(0 40)"><rect width="17" height="17" x="1.5" y="1.5" fill="#C6D4E0" fill-opacity=".2" stroke="#C6D4E0" stroke-opacity=".7" rx="3"></rect><rect width="20" height="20"></rect></g><g transform="translate(0 20)"><rect width="17" height="17" x="1.5" y="1.5" fill="#FFF" stroke="#7C8A98" stroke-opacity=".5" rx="3"></rect><rect width="20" height="20"></rect></g><rect width="17" height="17" x="1.5" y="1.5" fill="#FFF" stroke="#C6D4E0" stroke-opacity=".7" rx="3"></rect><rect width="20" height="20"></rect></g>',1)];var gS=Sg(pS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 240",fill:"currentColor",width:e.width,height:e.height},[...mS],8,fS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckbox.vue"]]),vS=on({name:"vIconvIconCheckboxCheckedDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const yS=["width","height"],bS=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#C6D4E0","fill-opacity":".2",stroke:"#C6D4E0","stroke-opacity":".7",rx:"3"}),ts("path",{fill:"#057FEB","fill-opacity":".4",d:"M15.0195478,5.16280725 L8.16264069,12.0180472 L8.16264069,12.0180472 L4.98672151,8.83262424 C4.59678109,8.44151694 3.96361682,8.440571 3.57250952,8.83051142 C3.5720443,8.83097525 3.57157954,8.83143954 3.57111523,8.83190429 L3.21255597,9.19080567 C2.82268695,9.58172149 2.82283785,10.2146264 3.21289322,10.6053563 L7.45553391,14.847997 C7.8460582,15.2385213 8.47922318,15.2385213 8.86974747,14.847997 L16.7878849,6.92985957 C17.1784092,6.53933528 17.1784092,5.9061703 16.7878849,5.51564601 C16.7873992,5.51516034 16.7869131,5.51467517 16.7864264,5.5141905 L16.4322169,5.16143772 C16.0414924,4.77232013 15.4095171,4.77293281 15.0195478,5.16280725 Z"})],-1)];var wS=Sg(vS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...bS],8,yS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxCheckedDisable.vue"]]),CS=on({name:"vIconvIconCheckboxCheckedError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const xS=["width","height"],SS=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#E64040","fill-opacity":".08",stroke:"#E64040",rx:"3"}),ts("path",{fill:"#E64040",d:"M15.0195478,5.16280725 L8.16264069,12.0180472 L8.16264069,12.0180472 L4.98672151,8.83262424 C4.59678109,8.44151694 3.96361682,8.440571 3.57250952,8.83051142 C3.5720443,8.83097525 3.57157954,8.83143954 3.57111523,8.83190429 L3.21255597,9.19080567 C2.82268695,9.58172149 2.82283785,10.2146264 3.21289322,10.6053563 L7.45553391,14.847997 C7.8460582,15.2385213 8.47922318,15.2385213 8.86974747,14.847997 L16.7878849,6.92985957 C17.1784092,6.53933528 17.1784092,5.9061703 16.7878849,5.51564601 C16.7873992,5.51516034 16.7869131,5.51467517 16.7864264,5.5141905 L16.4322169,5.16143772 C16.0414924,4.77232013 15.4095171,4.77293281 15.0195478,5.16280725 Z"})],-1)];var kS=Sg(CS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...SS],8,xS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxCheckedError.vue"]]),IS=on({name:"vIconvIconCheckboxCheckedHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const TS=["width","height"],DS=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF",stroke:"#7C8A98","stroke-opacity":".5",rx:"3"}),ts("path",{fill:"#057FEB",d:"M15.0195478,5.16280725 L8.16264069,12.0180472 L8.16264069,12.0180472 L4.98672151,8.83262424 C4.59678109,8.44151694 3.96361682,8.440571 3.57250952,8.83051142 C3.5720443,8.83097525 3.57157954,8.83143954 3.57111523,8.83190429 L3.21255597,9.19080567 C2.82268695,9.58172149 2.82283785,10.2146264 3.21289322,10.6053563 L7.45553391,14.847997 C7.8460582,15.2385213 8.47922318,15.2385213 8.86974747,14.847997 L16.7878849,6.92985957 C17.1784092,6.53933528 17.1784092,5.9061703 16.7878849,5.51564601 C16.7873992,5.51516034 16.7869131,5.51467517 16.7864264,5.5141905 L16.4322169,5.16143772 C16.0414924,4.77232013 15.4095171,4.77293281 15.0195478,5.16280725 Z"})],-1)];var LS=Sg(IS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...DS],8,TS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxCheckedHover.vue"]]),AS=on({name:"vIconvIconCheckboxCheckedNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const ES=["width","height"],MS=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF",stroke:"#C6D4E0","stroke-opacity":".7",rx:"3"}),ts("path",{fill:"#057FEB",d:"M15.0195478,5.16280725 L8.16264069,12.0180472 L8.16264069,12.0180472 L4.98672151,8.83262424 C4.59678109,8.44151694 3.96361682,8.440571 3.57250952,8.83051142 C3.5720443,8.83097525 3.57157954,8.83143954 3.57111523,8.83190429 L3.21255597,9.19080567 C2.82268695,9.58172149 2.82283785,10.2146264 3.21289322,10.6053563 L7.45553391,14.847997 C7.8460582,15.2385213 8.47922318,15.2385213 8.86974747,14.847997 L16.7878849,6.92985957 C17.1784092,6.53933528 17.1784092,5.9061703 16.7878849,5.51564601 C16.7873992,5.51516034 16.7869131,5.51467517 16.7864264,5.5141905 L16.4322169,5.16143772 C16.0414924,4.77232013 15.4095171,4.77293281 15.0195478,5.16280725 Z"})],-1)];var BS=Sg(AS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...MS],8,ES)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxCheckedNormal.vue"]]),OS=on({name:"vIconvIconCheckboxIndeterminateDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const $S=["width","height"],FS=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#C6D4E0","fill-opacity":".2",stroke:"#C6D4E0","stroke-opacity":".7",rx:"3"}),ts("path",{fill:"#057FEB","fill-opacity":".4",d:"M5,9 L15,9 C15.5522847,9 16,9.44771525 16,10 C16,10.5522847 15.5522847,11 15,11 L5,11 C4.44771525,11 4,10.5522847 4,10 C4,9.44771525 4.44771525,9 5,9 Z"})],-1)];var VS=Sg(OS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...FS],8,$S)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxIndeterminateDisable.vue"]]),PS=on({name:"vIconvIconCheckboxIndeterminateError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const NS=["width","height"],RS=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#E64040","fill-opacity":".08",stroke:"#E64040",rx:"3"}),ts("path",{fill:"#E64040",d:"M5,9 L15,9 C15.5522847,9 16,9.44771525 16,10 C16,10.5522847 15.5522847,11 15,11 L5,11 C4.44771525,11 4,10.5522847 4,10 C4,9.44771525 4.44771525,9 5,9 Z"})],-1)];var HS=Sg(PS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...RS],8,NS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxIndeterminateError.vue"]]),zS=on({name:"vIconvIconCheckboxIndeterminateHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const WS=["width","height"],jS=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF",stroke:"#7C8A98","stroke-opacity":".5",rx:"3"}),ts("path",{fill:"#057FEB",d:"M5,9 L15,9 C15.5522847,9 16,9.44771525 16,10 C16,10.5522847 15.5522847,11 15,11 L5,11 C4.44771525,11 4,10.5522847 4,10 C4,9.44771525 4.44771525,9 5,9 Z"})],-1)];var US=Sg(zS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...jS],8,WS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxIndeterminateHover.vue"]]),GS=on({name:"vIconvIconCheckboxIndeterminateNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const qS=["width","height"],YS=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF",stroke:"#C6D4E0","stroke-opacity":".7",rx:"3"}),ts("path",{fill:"#057FEB",d:"M5,9 L15,9 C15.5522847,9 16,9.44771525 16,10 C16,10.5522847 15.5522847,11 15,11 L5,11 C4.44771525,11 4,10.5522847 4,10 C4,9.44771525 4.44771525,9 5,9 Z"})],-1)];var KS=Sg(GS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...YS],8,qS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxIndeterminateNormal.vue"]]),ZS=on({name:"vIconvIconCheckboxUncheckedDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const JS=["width","height"],QS=[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#C6D4E0","fill-opacity":".2","fill-rule":"evenodd",stroke:"#C6D4E0","stroke-opacity":".7",rx:"3"},null,-1)];var XS=Sg(ZS,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...QS],8,JS)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxUncheckedDisable.vue"]]),ek=on({name:"vIconvIconCheckboxUncheckedError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const tk=["width","height"],ik=[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#E64040","fill-opacity":".08","fill-rule":"evenodd",stroke:"#E64040",rx:"3"},null,-1)];var nk=Sg(ek,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...ik],8,tk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxUncheckedError.vue"]]),ok=on({name:"vIconvIconCheckboxUncheckedHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const sk=["width","height"],rk=[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF","fill-rule":"evenodd",stroke:"#7C8A98","stroke-opacity":".5",rx:"3"},null,-1)];var ak=Sg(ok,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...rk],8,sk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxUncheckedHover.vue"]]),lk=on({name:"vIconvIconCheckboxUncheckedNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const dk=["width","height"],ck=[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF","fill-rule":"evenodd",stroke:"#C6D4E0","stroke-opacity":".7",rx:"3"},null,-1)];var uk=Sg(lk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...ck],8,dk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCheckboxUncheckedNormal.vue"]]),hk=on({name:"vIconvIconRadio",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:160}}});const pk=["width","height"],fk=[as('<g fill="none" fill-rule="evenodd"><g transform="translate(0 140)"><g fill="#E64040" transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill-opacity=".08" stroke="#E64040" rx="8.5"></rect><rect width="10" height="10" x="4" y="4" rx="5"></rect></g><rect width="20" height="20"></rect></g><g transform="translate(0 120)"><rect width="17" height="17" x="1.5" y="1.5" fill="#E64040" fill-opacity=".08" stroke="#E64040" rx="8.5"></rect><rect width="20" height="20"></rect></g><g transform="translate(0 100)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#C6D4E0" fill-opacity=".2" stroke="#C6D4E0" stroke-opacity=".7" rx="8.5"></rect><rect width="10" height="10" x="4" y="4" fill="#057FEB" fill-opacity=".4" rx="5"></rect></g><rect width="20" height="20"></rect></g><g transform="translate(0 80)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#FFF" stroke="#7C8A98" stroke-opacity=".5" rx="8.5"></rect><rect width="10" height="10" x="4" y="4" fill="#057FEB" rx="5"></rect></g><rect width="20" height="20"></rect></g><g transform="translate(0 60)"><g transform="translate(1 1)"><rect width="17" height="17" x=".5" y=".5" fill="#FFF" stroke="#C6D4E0" stroke-opacity=".7" rx="8.5"></rect><rect width="10" height="10" x="4" y="4" fill="#057FEB" rx="5"></rect></g><rect width="20" height="20"></rect></g><g transform="translate(0 40)"><rect width="17" height="17" x="1.5" y="1.5" fill="#C6D4E0" fill-opacity=".2" stroke="#C6D4E0" stroke-opacity=".7" rx="8.5"></rect><rect width="20" height="20"></rect></g><g transform="translate(0 20)"><rect width="17" height="17" x="1.5" y="1.5" fill="#FFF" stroke="#7C8A98" stroke-opacity=".5" rx="8.5"></rect><rect width="20" height="20"></rect></g><rect width="17" height="17" x="1.5" y="1.5" fill="#FFF" stroke="#C6D4E0" stroke-opacity=".7" rx="8.5"></rect><rect width="20" height="20"></rect></g>',1)];var mk=Sg(hk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 160",fill:"currentColor",width:e.width,height:e.height},[...fk],8,pk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadio.vue"]]),gk=on({name:"vIconvIconRadioSelectedDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const vk=["width","height"],yk=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#C6D4E0","fill-opacity":".2",stroke:"#C6D4E0","stroke-opacity":".7",rx:"8.5"}),ts("rect",{width:"10",height:"10",x:"5",y:"5",fill:"#057FEB","fill-opacity":".4",rx:"5"})],-1)];var bk=Sg(gk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...yk],8,vk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadioSelectedDisable.vue"]]),wk=on({name:"vIconvIconRadioSelectedError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Ck=["width","height"],xk=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#E64040","fill-opacity":".08",stroke:"#E64040",rx:"8.5"}),ts("rect",{width:"10",height:"10",x:"5",y:"5",fill:"#E64040",rx:"5"})],-1)];var Sk=Sg(wk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...xk],8,Ck)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadioSelectedError.vue"]]),kk=on({name:"vIconvIconRadioSelectedHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const _k=["width","height"],Ik=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF",stroke:"#7C8A98","stroke-opacity":".5",rx:"8.5"}),ts("rect",{width:"10",height:"10",x:"5",y:"5",fill:"#057FEB",rx:"5"})],-1)];var Tk=Sg(kk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Ik],8,_k)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadioSelectedHover.vue"]]),Dk=on({name:"vIconvIconRadioSelectedNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Lk=["width","height"],Ak=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF",stroke:"#C6D4E0","stroke-opacity":".7",rx:"8.5"}),ts("rect",{width:"10",height:"10",x:"5",y:"5",fill:"#057FEB",rx:"5"})],-1)];var Ek=Sg(Dk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Ak],8,Lk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadioSelectedNormal.vue"]]),Mk=on({name:"vIconvIconRadioUnselectedDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Bk=["width","height"],Ok=[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#C6D4E0","fill-opacity":".2","fill-rule":"evenodd",stroke:"#C6D4E0","stroke-opacity":".7",rx:"8.5"},null,-1)];var $k=Sg(Mk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Ok],8,Bk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadioUnselectedDisable.vue"]]),Fk=on({name:"vIconvIconRadioUnselectedError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Vk=["width","height"],Pk=[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#E64040","fill-opacity":".08","fill-rule":"evenodd",stroke:"#E64040",rx:"8.5"},null,-1)];var Nk=Sg(Fk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Pk],8,Vk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadioUnselectedError.vue"]]),Rk=on({name:"vIconvIconRadioUnselectedHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Hk=["width","height"],zk=[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF","fill-rule":"evenodd",stroke:"#7C8A98","stroke-opacity":".5",rx:"8.5"},null,-1)];var Wk=Sg(Rk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...zk],8,Hk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadioUnselectedHover.vue"]]),jk=on({name:"vIconvIconRadioUnselectedNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const Uk=["width","height"],Gk=[ts("rect",{width:"17",height:"17",x:"1.5",y:"1.5",fill:"#FFF","fill-rule":"evenodd",stroke:"#C6D4E0","stroke-opacity":".7",rx:"8.5"},null,-1)];var qk=Sg(jk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Gk],8,Uk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRadioUnselectedNormal.vue"]]),Yk=on({name:"vIconvIconStatusError",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Kk=["width","height"],Zk=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("circle",{cx:"12",cy:"12",r:"8",fill:"#E64040"}),ts("path",{fill:"#FFF",d:"M13,14 L13,16 L11,16 L11,14 L13,14 Z M13,8 L13,13 L11,13 L11,8 L13,8 Z"})],-1)];var Jk=Sg(Yk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...Zk],8,Kk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusError.vue"]]),Qk=on({name:"vIconvIconStatusInfo",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const Xk=["width","height"],e_=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("rect",{width:"16",height:"16",x:"4",y:"4",fill:"#057FEB",rx:"8"}),ts("path",{fill:"#FFF",d:"M10,16 L10,15 L11,15 L11,12.5 L10,12.5 L10,11.5 L13,11.5 L13,15 L14,15 L14,16 L10,16 Z M13,8 L13,10 L11,10 L11,8 L13,8 Z"})],-1)];var t_=Sg(Qk,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...e_],8,Xk)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusInfo.vue"]]),i_=on({name:"vIconvIconStatusNormal",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const n_=["width","height"],o_=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("circle",{cx:"12",cy:"12",r:"8",fill:"#14B41A"}),ts("path",{fill:"#FFF",d:"M10.5961941,15 C10.0439093,15 9.59619408,14.5522847 9.59619408,14 C9.59619408,13.4477153 10.0439093,13 10.5961941,13 L12.5961941,13 L12.5961941,8 C12.5961941,7.44771525 13.0439093,7 13.5961941,7 C14.1484788,7 14.5961941,7.44771525 14.5961941,8 L14.5961941,14 L14.5961941,14 C14.5961941,14.5128358 14.2101539,14.9355072 13.7128152,14.9932723 L13.5961941,15 L13.5961941,15 L10.5961941,15 Z",transform:"rotate(45 12.096 11)"})],-1)];var s_=Sg(i_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...o_],8,n_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusNormal.vue"]]),r_=on({name:"vIconvIconStatusProcessing",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const a_=["width","height"],l_=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("circle",{cx:"12",cy:"12",r:"8",fill:"#057FEB"}),ts("path",{fill:"#FFF",d:"M10,12 L9.12868191,12.8719483 C9.50219717,14.1035434 10.6464093,15 12,15 C12.8880739,15 13.6860206,14.6141196 14.2353163,14.0008825 L16.031633,14.0012214 C15.2950485,15.482278 13.7663751,16.5 12,16.5 C10.2420496,16.5 8.7195388,15.4919629 7.97896038,14.0223813 L7,15 L7,12 L10,12 Z M12,7.5 C13.7587528,7.5 15.2818509,8.5089575 16.0220532,9.97963121 L17,9 L17,12 L14,12 L14.8716241,11.1290613 C14.4984281,9.89694657 13.3539606,9 12,9 C11.1114527,9 10.3131288,9.3862919 9.76380548,10.0000983 L7.96786527,9.99978782 C8.70425709,8.51818431 10.2332237,7.5 12,7.5 Z"})],-1)];var d_=Sg(r_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...l_],8,a_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusProcessing.vue"]]),c_=on({name:"vIconvIconStatusWarning",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const u_=["width","height"],h_=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("circle",{cx:"12",cy:"12",r:"8",fill:"#F58414"}),ts("path",{fill:"#FFF",d:"M13,14 L13,16 L11,16 L11,14 L13,14 Z M13,8 L13,13 L11,13 L11,8 L13,8 Z"})],-1)];var p_=Sg(c_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...h_],8,u_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusWarning.vue"]]),f_=on({name:"vIconvIconFolder",props:{width:{type:[Number,String],default:16},height:{type:[Number,String],default:16}}});const m_=["width","height"],g_=[ts("g",{fill:"none","fill-rule":"evenodd"},[ts("path",{fill:"#FCBC30",d:"M0.5,1 L6.79289322,1 C6.92550146,1 7.05267842,1.05267842 7.14644661,1.14644661 L9,3 L9,3 L15.5005595,3.00727377 C15.7764832,3.00758251 16,3.23134955 16,3.50727346 L16,8.5 C16,8.77614237 15.7761424,9 15.5,9 L0.5,9 C0.223857625,9 3.38176876e-17,8.77614237 0,8.5 L0,1.5 C-3.38176876e-17,1.22385763 0.223857625,1 0.5,1 Z"}),ts("rect",{width:"16",height:"10",y:"5",fill:"#FFD359",rx:".5"})],-1)];var v_=Sg(f_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",width:e.width,height:e.height},[...g_],8,m_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconFolder1.vue"]]),y_=on({name:"vIconvIconError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const b_=["width","height"],w_=[ts("circle",{cx:"10",cy:"10",r:"8",fill:"#E64040"},null,-1),ts("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 6H9V11H11V6ZM11 12H9V14H11V12Z",fill:"white"},null,-1)];var C_=Sg(y_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...w_],8,b_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconError.vue"]]),x_=on({name:"vIconvIconInfo",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const S_=["width","height"],k_=[ts("rect",{x:"2",y:"2",width:"16",height:"16",rx:"8",fill:"#057FEB"},null,-1),ts("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9 6H11V8H9V6ZM9 9.5H8V10.5H9V13H8V14H9H11H12V13H11V10.5V9.5H9Z",fill:"white"},null,-1)];var __=Sg(x_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...k_],8,S_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconInfo.vue"]]),I_=on({name:"vIconvIconNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const T_=["width","height"],D_=[ts("circle",{cx:"10",cy:"10",r:"8",fill:"#14B41A"},null,-1),ts("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.9852 7.23224C13.5946 6.84171 12.9615 6.84171 12.571 7.23224L9.03542 10.7678L7.6212 9.35356C7.23068 8.96303 6.59751 8.96303 6.20699 9.35356C5.81647 9.74408 5.81647 10.3772 6.20699 10.7678L8.32831 12.8891C8.71884 13.2796 9.352 13.2796 9.74252 12.8891L13.9852 8.64645C14.3757 8.25592 14.3757 7.62276 13.9852 7.23224Z",fill:"white"},null,-1)];var L_=Sg(I_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...D_],8,T_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconNormal.vue"]]),A_=on({name:"vIconvIconProcessing",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const E_=["width","height"],M_=[ts("circle",{cx:"10",cy:"10",r:"8",fill:"#057FEB"},null,-1),ts("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.0322 12C13.2959 13.4817 11.7669 14.5 10 14.5C8.24169 14.5 6.71892 13.4916 5.97851 12.0215L5 13V10H5.5H7H8L7.12854 10.8715C7.5019 12.1033 8.64623 13 10 13C10.8885 13 11.6868 12.6137 12.2361 12H14.0322ZM14.0215 7.97851C13.2811 6.50845 11.7583 5.5 10 5.5C8.23314 5.5 6.70411 6.51828 5.96776 8H7.76389C8.31321 7.38625 9.1115 7 10 7C11.3538 7 12.4981 7.89669 12.8715 9.12854L12 10H13H14.5H15V7L14.0215 7.97851Z",fill:"white"},null,-1)];var B_=Sg(A_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...M_],8,E_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconProcessing.vue"]]),O_=on({name:"vIconvIconWarning",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const $_=["width","height"],F_=[ts("circle",{cx:"10",cy:"10",r:"8",fill:"#F58414"},null,-1),ts("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11 6H9V11H11V6ZM11 12H9V14H11V12Z",fill:"white"},null,-1)];var V_=Sg(O_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...F_],8,$_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWarning.vue"]]),P_=on({name:"vIconvIconWhitetip",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});const N_=["width","height"],R_=[ts("g",{fill:"#057FEB","fill-rule":"evenodd"},[ts("rect",{width:"18",height:"18",x:"3",y:"3","fill-opacity":".15",rx:"9"}),ts("path",{d:"M10,16 L10,15 L11,15 L11,12.5 L10,12.5 L10,11.5 L13,11.5 L13,15 L14,15 L14,16 L10,16 Z M13,8 L13,10 L11,10 L11,8 L13,8 Z"})],-1)];var H_=Sg(P_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...R_],8,N_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWhitetip.vue"]]),z_=on({name:"vIconvIconWhitetipSmall",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const W_=["width","height"],j_=[ts("rect",{opacity:"0.15",x:"2",y:"2",width:"16",height:"16",rx:"8",fill:"#057FEB"},null,-1),ts("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9 6H11V8H9V6ZM9 9.5H8V10.5H9V13H8V14H9H11H12V13H11V10.5V9.5H9Z",fill:"#057FEB"},null,-1)];var U_=Sg(z_,[["render",function(e,t,i,n,o,s){return jo(),Ko("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...j_],8,W_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWhitetipSmall.vue"]]),G_=on({name:"vIconvIconWhitetipSmallWhite",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});const q_=["width","height"],Y_=[ts("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2ZM11 8V6H9V8H11ZM8 9.5H9H11V10.5V13H12V14H11H9H8V13H9V10.5H8V9.5Z",fill:"white"},null,-1)];let K_="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Ig,Z_="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Ag,J_="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Og,Q_="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Pg,X_="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:zg,eI=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Zg),tI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ev,iI=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:lv),nI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:hv,oI=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:wv),sI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:kv,rI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Dv,aI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Mv,lI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Fv,dI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Rv,cI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:jv,uI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Yv,hI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Qv,pI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:iy,fI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ry,mI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:cy,gI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:fy,vI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:yy,yI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:xy,bI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Iy,wI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Ay,CI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Oy,xI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Py,SI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:zy,kI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Gy,_I="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Zy,II="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eb,TI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ob,DI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:lb,LI=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:wb),AI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:kb,EI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Db,MI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Mb,BI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Fb,OI=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:jb),$I="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Yb,FI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Qb,VI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:iw,PI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:rw,NI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:cw,RI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:fw,HI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:yw,zI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:xw,WI=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Ow),jI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Pw,UI=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eC),GI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:oC,qI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:lC,YI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:hC,KI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:gC,ZI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:wC,JI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:kC,QI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:DC,XI=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Ix),eT=("undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:Jk),tT="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:t_,iT="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:s_,nT="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:d_,oT="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:p_;"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG;function sT(e){return e.modelValue}const rT=e=>"modelValue";wg("select-adjust",pI),wg("select-dropdown",jI),wg("select-clear",SI);const aT=on({name:"SelectInput",components:{vIcon:bg},directives:{tooltip:lg},mixins:[Cg],props:{clearIconCls:{type:Array,default:()=>[]},searchIconCls:{type:Array,default:()=>[]},allowClear:{type:Boolean,default:!1},allowEdit:{type:Boolean,default:!1},[rT()]:{type:String,default:""},inputTooltip:{type:[Object,String,Boolean],default:()=>({disabled:!0})},clearable:{type:Boolean,default:!1},hideTrigger:{type:Boolean,default:void 0},placeholder:{type:String,default:""},inputAttrs:{type:Object,default:()=>{}},openDropdown:{type:Function,default:Ca},toggleDropdown:{type:Function,default:Ca},closeDropdown:{type:Function,default:Ca},advanced:{type:Boolean,default:!1},hasRightAdvIcon:{type:Boolean,default:!1},displayField:{type:String,default:"label"},valueField:{type:String,default:"value"},triggerQueryAction:{type:String,default:"all"},autoOpenDropdownCharCount:{type:Number,default:-1},toggleDropdownOnClick:{type:Boolean,default:!0},mode:{type:String,default:"normal"},selectedOption:{type:Object,default:()=>({})},displayTextFormat:{type:Object,default:()=>({key:void 0,group:"{group}:{option}",option:"{option}",delimiter:","})},displayMode:{type:String,default:"none",validator:e=>["text","none","html"].includes(e)},groupOptions:{type:Object,default:()=>({})},enterKeyHint:{type:String,default:void 0},disabled:{type:Boolean,default:!1},hasPrefix:{type:Boolean,default:!1},hasSuffix:{type:Boolean,default:!1},dropdownShown:{type:Boolean,default:!1}},emits:["click-icon","click-advanced-icon","keydown","focus","blur","clear","update:model-value","arrow-up","arrow-down","key-enter","key-esc"],data:()=>({focused:!1}),computed:{textDisplayCls(){return["v-select2-text-display","v-select2-input",{placeholder:this.showPlaceholder}]},showPlaceholder(){return!this.display},display(){let{group:e,option:t,key:i}=this.displayTextFormat;const n=this.selectedOption;if(!n)return"";ca(i)||(i=this.displayField);let o="";return n.inGroup?(o=e.replace("{group}",this.groupOptions[n.inGroup][i]||""),o=o.replace("{option}",n[i]||"")):o=t.replace("{option}",n[i]||""),o},isTextDisplayMode(){return"text"===this.displayMode},isHtmlDisplayMode(){return"html"===this.displayMode},isLabelDisplayMode(){return"label"===this.displayMode},isNoneDisplayMode(){return"none"===this.displayMode},innerVal(){return sT(this)},innerHasSuffix(){return this.hasSuffix||this.hasClearIcon||this.hasRightAdvIcon||this.hasTriggerIcon},hasClearIcon(){return this.allowClear&&this.focused},hasTriggerIcon(){return!this.hideTrigger},prefixCls(){return{"prefix-wrapper--has-icon":this.hasPrefix}},suffixCls(){return{"suffix-wrapper--has-icon":!this.hasTriggerIcon&&(this.hasClearIcon||this.hasRightAdvIcon||this.hasSuffix)}}},methods:{canOpenDropdown(e){return!(-1!==this.autoOpenDropdownCharCount&&this.autoOpenDropdownCharCount>this.getInputEl().value.length)},getInputEl(){return this.$refs.input},onInput(e){this.canOpenDropdown()?this.openDropdown("keyword"):this.closeDropdown(),Nc(this,"update:model-value",e.target.value)},onKeyDown(e){this.advanced||(pu(e)?(Nc(this,"key-enter"),e.preventDefault(),e.stopPropagation()):function(e){return e.key?"Escape"===e.key||"Esc"===e.key||"esc"===e.key:e.keyCode===nu.esc}(e)?(Nc(this,"key-esc"),this.dropdownShown&&(this.closeDropdown(),e.stopPropagation())):du(e)?(Nc(this,"arrow-up"),e.preventDefault(),e.stopPropagation()):cu(e)?(Nc(this,"arrow-down"),e.preventDefault(),e.stopPropagation()):e.stopPropagation(),Nc(this,"keydown",e))},onClick(){this.toggleDropdownOnClick&&this.toggleDropdown(this.triggerQueryAction)},focus(){this.$refs.input.focus()},selectInput(){this.$refs.input&&this.$refs.input.select&&this.$refs.input.select()},onFocus(e){this.focused=!0,Nc(this,"focus",e)},onBlur(e){this.focused=!1,Nc(this,"blur",e)},onClear(e){Nc(this,"clear"),this.focus(),e.preventDefault()}}}),lT={class:"input-wrapper"},dT={class:"v-select-ul-wrap"},cT=["data-placeholder"],uT=["innerHTML"],hT=["value","enterkeyhint","placeholder"];var pT=Rm(aT,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Fi("tooltip");return jo(),Ko("div",lT,[e.hasPrefix?(jo(),Ko("span",{key:0,class:ne(["prefix-wrapper",e.prefixCls])},[rn(e.$slots,"prefix")],2)):ls("",!0),ts("ul",dT,[e.isTextDisplayMode||e.isHtmlDisplayMode?Xi((jo(),Ko("div",{key:0,ref:"input",class:ne([e.textDisplayCls,"v-select2-text-display v-select2-input select-input"]),"data-placeholder":e.placeholder,tabindex:"-1",onFocus:t[0]||(t[0]=function(){return e.onFocus&&e.onFocus(...arguments)}),onBlur:t[1]||(t[1]=function(){return e.onBlur&&e.onBlur(...arguments)}),onKeydown:t[2]||(t[2]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)})},[e.isHtmlDisplayMode?(jo(),Ko("div",{key:0,innerHTML:e.showPlaceholder?e.placeholder:e.display},null,8,uT)):e.isTextDisplayMode?(jo(),Ko(Po,{key:1},[rs(ce(e.showPlaceholder?e.placeholder:e.display),1)],64)):ls("",!0)],42,cT)),[[a,{overflowOnly:!0,content:e.display}]]):e.isNoneDisplayMode?Xi((jo(),Ko("input",hs({key:1,ref:"input"},e.inputAttrs,{value:e.innerVal,enterkeyhint:e.enterKeyHint,class:"v-select2-input select-input",placeholder:e.placeholder,onInput:t[3]||(t[3]=function(){return e.onInput&&e.onInput(...arguments)}),onFocus:t[4]||(t[4]=function(){return e.onFocus&&e.onFocus(...arguments)}),onBlur:t[5]||(t[5]=function(){return e.onBlur&&e.onBlur(...arguments)}),onKeydown:t[6]||(t[6]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)}),onClick:t[7]||(t[7]=Wr((function(){return e.onClick&&e.onClick(...arguments)}),["stop"]))}),null,16,hT)),[[a,e.inputTooltip]]):ls("",!0)]),e.innerHasSuffix?(jo(),Ko("span",{key:1,class:ne(["suffix-wrapper",e.suffixCls])},[e.hasClearIcon?(jo(),Zo(r,{key:0,name:"select-clear",class:ne(e.clearIconCls),"svg-icon-set":"set25",onMousedown:Wr(e.onClear,["stop"])},null,8,["class","onMousedown"])):ls("",!0),e.hasRightAdvIcon?(jo(),Zo(r,{key:1,name:"select-adjust",class:ne(e.searchIconCls),"svg-icon-set":"set13",disabled:e.disabled,onClick:t[8]||(t[8]=t=>e.$emit("click-advanced-icon"))},null,8,["class","disabled"])):ls("",!0),e.hasTriggerIcon?(jo(),Zo(r,{key:2,name:"select-dropdown",class:"v-select2-dropdown-icon","svg-icon-set":"set12"})):ls("",!0),rn(e.$slots,"suffix")],2)):ls("",!0)])}]]);const fT=on({name:"SelectBaseOption",components:{vPortal:Hh,vIcon:bg},directives:{tooltip:lg},props:{id:{type:String,default:void 0},option:{type:Object,default:()=>({})},display:{type:String,default:void 0},value:{type:[Number,String,Boolean],default:void 0},selectable:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},activated:{type:Boolean,default:!1},customClass:{type:[Array,Object,String],default:void 0},isSelected:{type:Boolean,default:void 0},tooltip:{type:[Boolean,Object],default:!1},active:{type:Function,default:Ca},hover:{type:Function,default:Ca},hoverOut:{type:Function,default:Ca},toggle:{type:Function,default:Ca},synoId:{type:String,default:""},useSynoId:{type:Boolean,default:!0}},emits:["click","active","hover","mouseenter","hover-out","mouseleave"],computed:{innerCls(){return["v-select2-dropdown-menu-item",this.customClass?this.customClass:"",{unselectable:!1===this.selectable,disabled:this.disabled,activated:this.activated,"is-selected":this.isSelected,"has-icon":!!this.option.icon}]},mergedTooltip(){if(!1===this.tooltip)return!1;const e=Object.assign({},this.tooltip);return!0===e.overflowOnly&&(e.overflowOnly=()=>this.$refs.text),e},innerIcon(){return na(this.option.icon)?this.option.icon:{name:this.option.icon}}},methods:{onClick(e){this.active(),Nc(this,"active",e),Nc(this,"click",e)},onHover(e){this.hover(),Nc(this,"hover",e),Nc(this,"mouseenter",e)},onHoverOut(e){this.hoverOut(),Nc(this,"hover-out",e),Nc(this,"mouseleave",e)}}}),mT=["id","syno-id","aria-selected"],gT={key:1,class:"item-desc"},vT={class:"item-suffix"};var yT=Rm(fT,[["render",function(e,t,i,n,o,s){const r=Bi("v-portal"),a=Bi("v-icon"),l=Fi("tooltip");return Xi((jo(),Ko("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:ne(e.innerCls),role:"option","aria-selected":e.activated,onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)}),onMouseenter:t[1]||(t[1]=function(){return e.onHover&&e.onHover(...arguments)}),onMouseleave:t[2]||(t[2]=function(){return e.onHoverOut&&e.onHoverOut(...arguments)})},[e.mergedTooltip.usePortal?(jo(),Zo(r,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:Ii((()=>[rn(e.$slots,"tooltip-portal",{option:e.option})])),_:3},8,["name","to"])):ls("",!0),rn(e.$slots,"inner-option",{option:e.option},(()=>[e.option.icon?(jo(),Zo(a,hs({key:0,class:"item-icon"},e.innerIcon),null,16)):ls("",!0),ts("span",{ref:"text",class:"option-text"},ce(e.display),513),e.option.desc?(jo(),Ko("span",gT,ce(e.option.desc),1)):ls("",!0),ts("div",vT,[rn(e.$slots,"suffix",{option:e.option})])]))],42,mT)),[[l,e.mergedTooltip]])}]]);wg("select-option-tick",WI),wg("select-option-untick",Ia);const bT=on({name:"SelectTickOption",components:{vIcon:bg,vPortal:Hh},directives:{tooltip:lg},extends:yT,mixins:[Cg],computed:{innerTickIcon(){return gm({name:this.isSelected?"select-option-tick":"select-option-untick",svgIconSet:"set03"},this.option?.tickIcon??{})},innerCls(){return["v-select2-dropdown-menu-item tick",this.customClass?this.customClass:"",{unselectable:!1===this.selectable,disabled:this.disabled,activated:this.activated,"is-selected":this.isSelected}]}}}),wT=["id","syno-id","aria-selected"],CT={class:"item-suffix"};var xT=Rm(bT,[["render",function(e,t,i,n,o,s){const r=Bi("v-portal"),a=Bi("v-icon"),l=Fi("tooltip");return Xi((jo(),Ko("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:ne(e.innerCls),unselectable:"unselectable",role:"option","aria-selected":e.activated,onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)}),onMouseenter:t[1]||(t[1]=function(){return e.onHover&&e.onHover(...arguments)}),onMouseleave:t[2]||(t[2]=function(){return e.onHoverOut&&e.onHoverOut(...arguments)})},[e.mergedTooltip.usePortal?(jo(),Zo(r,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:Ii((()=>[rn(e.$slots,"tooltip-portal",{option:e.option})])),_:3},8,["name","to"])):ls("",!0),rn(e.$slots,"inner-option",{option:e.option},(()=>[is(a,oe(os(e.innerTickIcon)),null,16),e.option.icon?(jo(),Zo(a,hs({key:0,class:"item-icon"},e.innerIcon),null,16)):ls("",!0),ts("span",{ref:"text",class:"option-text"},ce(e.display),513),ts("div",CT,[rn(e.$slots,"suffix",{option:e.option})])]))],42,wT)),[[l,e.mergedTooltip]])}]]);const ST=on({name:"SelectCheckOption",components:{vPortal:Hh,vIcon:bg},directives:{tooltip:lg},extends:yT,emits:["toggle"],computed:{innerCls(){return["v-select2-dropdown-menu-item check",this.customClass?this.customClass:"",{unselectable:!1===this.selectable,disabled:this.disabled,activated:this.activated,"is-selected":this.isSelected}]}},methods:{onToggle(e){this.toggle(),Nc(this,"toggle",e)}}}),kT=["id","syno-id","aria-selected"],IT={class:"item-suffix"};var TT=Rm(ST,[["render",function(e,t,i,n,o,s){const r=Bi("v-portal"),a=Bi("v-icon"),l=Fi("tooltip");return Xi((jo(),Ko("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:ne(e.innerCls),unselectable:"unselectable",role:"option","aria-selected":e.activated,onClick:t[0]||(t[0]=function(){return e.onToggle&&e.onToggle(...arguments)}),onMouseenter:t[1]||(t[1]=function(){return e.onHover&&e.onHover(...arguments)}),onMouseleave:t[2]||(t[2]=function(){return e.onHoverOut&&e.onHoverOut(...arguments)})},[e.mergedTooltip.usePortal?(jo(),Zo(r,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:Ii((()=>[rn(e.$slots,"tooltip-portal",{option:e.option})])),_:3},8,["name","to"])):ls("",!0),rn(e.$slots,"inner-option",{option:e.option},(()=>[is(a,{name:"checkbox-icon",sprite:""}),e.option.icon?(jo(),Zo(a,hs({key:0,class:"item-icon"},e.innerIcon),null,16)):ls("",!0),ts("span",{ref:"text",class:"option-text"},ce(e.display),513),ts("div",IT,[rn(e.$slots,"suffix",{option:e.option})])]))],42,kT)),[[l,e.mergedTooltip]])}]]);const DT=on({name:"SelectDividerOption",extends:yT,methods:{}}),LT={class:"v-select2-dropdown-divider"};var AT=Rm(DT,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",LT)}]]),ET=Rm(on({name:"SelectNoMatchOption",extends:yT,data:()=>({}),computed:{innerCls:()=>["v-select2-dropdown-menu-item","not-found"],mergedTooltip(){return{content:this.display,overflowOnly:!0}}},methods:{}}),[["render",function(e,t,i,n,o,s){const r=Fi("tooltip");return Xi((jo(),Ko("li",{class:ne(e.innerCls)},[rs(ce(e.display),1)],2)),[[r,e.mergedTooltip]])}]]);const MT=on({name:"SelectGroupOption",extends:yT,computed:{innerCls(){return["v-select2-dropdown-menu-item-group-label",{unselectable:!1===this.selectable,[this.customClass]:!!this.customClass}]}},methods:{}}),BT=["syno-id"];var OT=Rm(MT,[["render",function(e,t,i,n,o,s){return jo(),Ko("li",{class:ne(e.innerCls),"syno-id":`${e.synoId}-option-${e.value}`},ce(e.display),11,BT)}]]),$T=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var i=-1;return e.some((function(e,n){return e[0]===t&&(i=n,!0)})),i}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var i=e(this.__entries__,t),n=this.__entries__[i];return n&&n[1]},t.prototype.set=function(t,i){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=i:this.__entries__.push([t,i])},t.prototype.delete=function(t){var i=this.__entries__,n=e(i,t);~n&&i.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var i=0,n=this.__entries__;i<n.length;i++){var o=n[i];e.call(t,o[1],o[0])}},t}()}(),FT="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,VT=void 0!==d.g&&d.g.Math===Math?d.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),PT="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(VT):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var NT=["top","right","bottom","left","width","height","size","weight"],RT="undefined"!=typeof MutationObserver,HT=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var i=!1,n=!1,o=0;function s(){i&&(i=!1,e()),n&&a()}function r(){PT(s)}function a(){var e=Date.now();if(i){if(e-o<2)return;n=!0}else i=!0,n=!1,setTimeout(r,t);o=e}return a}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,i=t.indexOf(e);~i&&t.splice(i,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){FT&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),RT?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){FT&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,i=void 0===t?"":t;NT.some((function(e){return!!~i.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),zT=function(e,t){for(var i=0,n=Object.keys(t);i<n.length;i++){var o=n[i];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},WT=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||VT},jT=ZT(0,0,0,0);function UT(e){return parseFloat(e)||0}function GT(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];return t.reduce((function(t,i){return t+UT(e["border-"+i+"-width"])}),0)}function qT(e){var t=e.clientWidth,i=e.clientHeight;if(!t&&!i)return jT;var n=WT(e).getComputedStyle(e),o=function(e){for(var t={},i=0,n=["top","right","bottom","left"];i<n.length;i++){var o=n[i],s=e["padding-"+o];t[o]=UT(s)}return t}(n),s=o.left+o.right,r=o.top+o.bottom,a=UT(n.width),l=UT(n.height);if("border-box"===n.boxSizing&&(Math.round(a+s)!==t&&(a-=GT(n,"left","right")+s),Math.round(l+r)!==i&&(l-=GT(n,"top","bottom")+r)),!function(e){return e===WT(e).document.documentElement}(e)){var d=Math.round(a+s)-t,c=Math.round(l+r)-i;1!==Math.abs(d)&&(a-=d),1!==Math.abs(c)&&(l-=c)}return ZT(o.left,o.top,a,l)}var YT="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof WT(e).SVGGraphicsElement}:function(e){return e instanceof WT(e).SVGElement&&"function"==typeof e.getBBox};function KT(e){return FT?YT(e)?function(e){var t=e.getBBox();return ZT(0,0,t.width,t.height)}(e):qT(e):jT}function ZT(e,t,i,n){return{x:e,y:t,width:i,height:n}}var JT=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ZT(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=KT(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),QT=function(e,t){var i=function(e){var t=e.x,i=e.y,n=e.width,o=e.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,r=Object.create(s.prototype);return zT(r,{x:t,y:i,width:n,height:o,top:i,right:t+n,bottom:o+i,left:t}),r}(t);zT(this,{target:e,contentRect:i})},XT=function(){function e(e,t,i){if(this.activeObservations_=[],this.observations_=new $T,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=i}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof WT(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new JT(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof WT(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new QT(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),eD="undefined"!=typeof WeakMap?new WeakMap:new $T,tD=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var i=HT.getInstance(),n=new XT(t,i,this);eD.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){tD.prototype[e]=function(){var t;return(t=eD.get(this))[e].apply(t,arguments)}}));var iD=void 0!==VT.ResizeObserver?VT.ResizeObserver:tD;const nD=function(e){for(const t of e)for(const e of t.target.__syno_resize_listeners__||[])e.fn.apply(e.scope||e.fn,[t])},oD=function(e,t,i){return e.__syno_resize_listeners__||(e.__syno_resize_listeners__=[],e.__syno_resize__=new iD(nD),e.__syno_resize__.observe(e)),e.__syno_resize_listeners__.push({fn:t,scope:i}),()=>sD(e,t)},sD=function(e,t){e&&e.__syno_resize_listeners__&&(e.__syno_resize_listeners__=e.__syno_resize_listeners__.filter((e=>t!==e.fn)),e.__syno_resize_listeners__.length<=0&&(e.__syno_resize__?.disconnect(),e.__syno_resize__=null,e.__syno_resize_listeners__=null))};var rD=function(){return bl.Date.now()},aD=/\s/;var lD=function(e){for(var t=e.length;t--&&aD.test(e.charAt(t)););return t},dD=/^\s+/;var cD=function(e){return e?e.slice(0,lD(e)+1).replace(dD,""):e},uD=/^[-+]0x[0-9a-f]+$/i,hD=/^0b[01]+$/i,pD=/^0o[0-7]+$/i,fD=parseInt;var mD=function(e){if("number"==typeof e)return e;if(Bl(e))return NaN;if(ip(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ip(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=cD(e);var i=hD.test(e);return i||pD.test(e)?fD(e.slice(2),i?2:8):uD.test(e)?NaN:+e},gD=Math.max,vD=Math.min;var yD=function(e,t,i){var n,o,s,r,a,l,d=0,c=!1,u=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var i=n,s=o;return n=o=void 0,d=t,r=e.apply(s,i)}function f(e){return d=e,a=setTimeout(g,t),c?p(e):r}function m(e){var i=e-l;return void 0===l||i>=t||i<0||u&&e-d>=s}function g(){var e=rD();if(m(e))return v(e);a=setTimeout(g,function(e){var i=t-(e-l);return u?vD(i,s-(e-d)):i}(e))}function v(e){return a=void 0,h&&n?p(e):(n=o=void 0,r)}function y(){var e=rD(),i=m(e);if(n=arguments,o=this,l=e,i){if(void 0===a)return f(l);if(u)return clearTimeout(a),a=setTimeout(g,t),p(l)}return void 0===a&&(a=setTimeout(g,t)),r}return t=mD(t)||0,ip(i)&&(c=!!i.leading,s=(u="maxWait"in i)?gD(mD(i.maxWait)||0,t):s,h="trailing"in i?!!i.trailing:h),y.cancel=function(){void 0!==a&&clearTimeout(a),d=0,n=l=o=a=void 0},y.flush=function(){return void 0===a?r:v(rD())},y},bD=on({name:"Scrollbar",mixins:[La("adaptive-container")],props:{viewTag:{type:String,default:"div"},hasPadding:{type:Boolean,default:!1},viewStyle:{type:[String,Array,Object],default:""},viewClass:{type:[String,Array,Object],default:""},innerStyle:{type:[String,Array,Object],default:""},innerClass:{type:[String,Array,Object],default:""},minYRailHeight:{type:Number,default:0},minYBarHeight:{type:Number,default:12},minXRailWidth:{type:Number,default:0},minXBarWidth:{type:Number,default:12},showXRail:{type:Boolean,default:!0},showYRail:{type:Boolean,default:!0},activeAdaptiveScrollbar:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},barHiddenUnderBreakpoint:{type:[String,Boolean],default:"xxs"},overscroll:{type:[String,Boolean],default:!1}},emits:["scroll","reach-top","reach-bottom","not-reach-top","not-reach-bottom","reach-left","reach-right","not-reach-left","not-reach-right","bar-pointer-down","rail-pointer-down"],data:()=>({disposedSwallowClick:null,viewCachedRect:null,hideBarWhenUnderBreakpoint:null,yBarHeight:0,yBarTop:0,xBarWidth:0,xBarLeft:0,yRailExists:!1,xRailExists:!1,reachTop:!0,reachLeft:!0,reachBottom:!1,reachRight:!1,yRailHeight:void 0,xRailWidth:void 0,barHidden:!1,keepBarShowing:!1}),computed:{wrapperCls(){const e=this.xRailExists,t=this.yRailExists;return["v-scrollbar",{disabled:this.disabled,"with-padding":this.hasPadding,"is-active":e||t,"x-active":e,"y-active":t,"reach-top":this.reachTop,"reach-bottom":this.reachBottom,"reach-left":this.reachLeft,"reach-right":this.reachRight,[`overscroll-${this.overscroll}`]:this.overscroll}]},yBarStyle(){return{height:`${this.yBarHeight}px`,transform:`translate3d(0, ${this.yBarTop}px, 0)`}},xBarStyle(){return{width:`${this.xBarWidth}px`,transform:`translate3d(${this.xBarLeft}px, 0, 0)`}},realMinYBarHeight(){return this.$scrollbar?.minLength||this.minYBarHeight},realMinXBarWidth(){return this.$scrollbar?.minLength||this.minXBarWidth},hasYRail(){return this.yRailExists&&this.showYRail},hasXRail(){return this.xRailExists&&this.showXRail},xRailStyle(){return{width:`${this.xRailWidth}px`,minWidth:`${this.minXRailWidth}px`}},yRailStyle(){return{height:`${this.yRailHeight}px`,minHeight:`${this.minYRailHeight}px`}},barCls(){return{hidden:this.barHidden&&!this.keepBarShowing}}},watch:{async hasXRail(){await this.$nextTick(),this.updateRail()},async hasYRail(){await this.$nextTick(),this.updateRail()}},created(){this.hideBarWhenUnderBreakpoint=yD((()=>{this.barHiddenUnderBreakpoint&&this.$breakpointManager.lessAndEqThan(this.barHiddenUnderBreakpoint)&&(this.barHidden=!0)}),500)},mounted(){oD(this.$refs.inner,this.updateScroll,this),oD(this.$refs.view,this.onViewResize,this),this.updateRail(),this.hideBarWhenUnderBreakpoint?.()},[Pa](){sD(this.$refs.inner,this.updateScroll),sD(this.$refs.view,this.onViewResize)},methods:{showBar(){this.barHidden=!1},updateRail(){const e=this.viewCachedRect?.height??this.$refs?.view.offsetHeight,t=this.viewCachedRect?.width??this.$refs?.view.offsetWidth,i=this.$refs["y-rail"]?parseInt(Fu(this.$refs["y-rail"],"marginTop"),10):0,n=this.$refs["y-rail"]?parseInt(Fu(this.$refs["y-rail"],"marginBottom"),10):0,o=this.$refs["x-rail"]?parseInt(Fu(this.$refs["x-rail"],"marginRight"),10):0,s=this.$refs["x-rail"]?parseInt(Fu(this.$refs["x-rail"],"marginLeft"),10):0;this.yRailHeight=e-i-n,this.xRailWidth=t-s-o},onViewResize(){const e=this.$refs.view;e&&(this.viewCachedRect={height:e.offsetHeight,width:e.offsetWidth},this.updateRail(),this.updateScroll())},getAdaptiveContainer(){return this.activeAdaptiveScrollbar?this.$refs.inner:null},getScrollEl(){return this.$refs.view},isReachTop(){return 0===this.$refs.view.scrollTop},isReachBottom(){const e=this.$refs.view,t=this.viewCachedRect?.height??e.offsetHeight,i=e.scrollTop,n=e.scrollHeight;return i>=n-t-1||n<=t},isReachRight(){const e=this.$refs.view,t=this.viewCachedRect?.width??e.offsetWidth,i=e.scrollLeft,n=e.scrollWidth;return i>=n-t-1||n<=t},isReachLeft(){return 0===this.$refs.view.scrollLeft},updateScroll(){this.showBar(),Yu((()=>{const e=this.$refs.view;if(!e)return;const t=this.viewCachedRect?.height??e.offsetHeight,i=this.viewCachedRect?.width??e.offsetWidth,n=this.yRailHeight??t,o=this.xRailWidth??i,s=e.scrollHeight,r=e.scrollTop,a=e.scrollWidth,l=e.scrollLeft,d=this.isReachLeft(),c=this.isReachRight(),u=this.isReachTop(),h=this.isReachBottom();Nc(this,c?"reach-right":"not-reach-right"),Nc(this,d?"reach-left":"not-reach-left"),Nc(this,u?"reach-top":"not-reach-top"),Nc(this,h?"reach-bottom":"not-reach-bottom"),this.yRailExists=s>t,this.xRailExists=a>i,this.yBarHeight=Math.max(n*t/s,this.realMinYBarHeight),this.yBarTop=(n-this.yBarHeight)*r/(s-t),this.reachTop=u,this.reachBottom=h,this.xBarWidth=Math.max(o*i/a,this.realMinXBarWidth),this.xBarLeft=(o-this.xBarWidth)*l/(a-i),this.reachLeft=d,this.reachRight=c,this.hideBarWhenUnderBreakpoint?.()}))},update(){this.updateScroll()},handleScroll(e){this.disabled||(this.updateScroll(),Nc(this,"scroll",e))},onBarPointerDown(e,t){if(this.disabled)return;const i=this.$refs.view,n=i.offsetHeight,o=i.offsetWidth,s=i.scrollHeight,r=i.scrollWidth,a=i.scrollTop,l=i.scrollLeft,d=yu(e),c=document.onselectstart,u=document.ondragstart;document.onselectstart=()=>!1,document.ondragstart=()=>!1,this.swallowClick(),this.keepBarShowing=!0;const h=e=>{e.preventDefault(),Yu((()=>{const i=this.$refs.view;if(!i)return;const[c,u]=yu(e),h=c-d[0],p=u-d[1];if("y"===t){const e=(s-n)/(n-this.yBarHeight);i.scrollTop=a+p*e}else if("x"===t){const e=(r-o)/(o-this.xBarWidth);i.scrollLeft=l+h*e}}))},p=e=>{e.stopPropagation(),Ru(document.documentElement,"touchmove",h),Ru(document.documentElement,"mousemove",h),document.onselectstart=c,document.ondragstart=u,window.setTimeout((()=>{this.disposedSwallowClick?.(),delete this.disposedSwallowClick}),0),this.keepBarShowing=!1,this.hideBarWhenUnderBreakpoint?.()};Pu(document.documentElement,"touchmove",h,{passive:!1}),Pu(document.documentElement,"mousemove",h),Nu(document.documentElement,"touchend",p),Nu(document.documentElement,"mouseup",p),Nc(this,"bar-pointer-down",e,t)},swallowClick(){this.disposedSwallowClick||(this.disposedSwallowClick=Pu(document.documentElement,"click",(e=>e.stopPropagation()),{capture:!0}))},onRailPointerDown(e,t){if(this.disabled)return;const i=this.$refs.view,n=i.offsetHeight,o=i.offsetWidth,s=e.target?.getBoundingClientRect(),r=i.scrollHeight,a=i.scrollWidth,l=yu(e);if(this.showBar(),this.hideBarWhenUnderBreakpoint?.(),"y"===t){const e=l[1]-s.top-this.yBarHeight/2;i.scrollTop=e*r/n}else if("x"===t){const e=l[0]-s.left-this.xBarWidth/2;i.scrollLeft=e*a/o}Nc(this,"rail-pointer-down",e,t)},ensureVisible(e){zu(e,{scrollMode:"if-needed",behavior:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"smooth":"auto"})},getScrollTop(){const e=this.$refs.view;let t=e.scrollTop;const i=this.viewCachedRect?.height??e.offsetHeight,n=e.scrollHeight;return t+i>n&&(t=n-i),t},getScrollLeft(){return this.$refs.view.scrollLeft},setScroll(e,t){const i=this.$refs.view;i&&(ca(e)&&(i.scrollLeft=e),ca(t)&&(i.scrollTop=t))},resetScrollTop(){this.$refs.view.scrollTop=0},resetScrollLeft(){this.$refs.view.scrollLeft=0}}}),wD=Rm(bD,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{ref:"scrollbar",class:ne(e.wrapperCls)},[(jo(),Zo($i(e.viewTag),{ref:"view",class:ne(["v-scrollbar-view",e.viewClass]),style:Q(e.viewStyle),onScrollPassive:e.handleScroll},{default:Ii((()=>[ts("div",{ref:"inner",class:ne(["v-scrollbar-inner",e.innerClass]),style:Q(e.innerStyle)},[rn(e.$slots,"default")],6)])),_:3},40,["class","style","onScrollPassive"])),e.hasYRail?(jo(),Ko("div",{key:0,ref:"y-rail",class:"y-rail rail",style:Q(e.yRailStyle),onTouchstart:t[2]||(t[2]=t=>e.onRailPointerDown(t,"y")),onMousedown:t[3]||(t[3]=Wr((t=>e.onRailPointerDown(t,"y")),["stop"]))},[ts("div",{ref:"y-bar",class:ne(["y-bar bar",e.barCls]),style:Q(e.yBarStyle),onTouchstart:t[0]||(t[0]=Wr((t=>e.onBarPointerDown(t,"y")),["stop"])),onMousedown:t[1]||(t[1]=Wr((t=>e.onBarPointerDown(t,"y")),["stop"]))},null,38)],36)):ls("",!0),e.hasXRail?(jo(),Ko("div",{key:1,ref:"x-rail",class:"x-rail rail",style:Q(e.xRailStyle),onTouchstart:t[6]||(t[6]=t=>e.onRailPointerDown(t,"x")),onMousedown:t[7]||(t[7]=Wr((t=>e.onRailPointerDown(t,"x")),["stop"]))},[ts("div",{ref:"x-bar",class:ne(["x-bar bar",e.barCls]),style:Q(e.xBarStyle),onTouchstart:t[4]||(t[4]=Wr((t=>e.onBarPointerDown(t,"x")),["stop"])),onMousedown:t[5]||(t[5]=Wr((t=>e.onBarPointerDown(t,"x")),["stop"]))},null,38)],36)):ls("",!0)],2)}]]);const CD=on({name:"VirtualScrollbar",extends:wD,props:{itemSize:{type:Number,default:void 0},total:{type:Number,default:0},updateBufferItemsNum:{type:Number,default:5},bufferItemsNum:{type:Number,default:10},bufferSize:{type:Number,default:200}},emits:["visible"],data:()=>({bufferStart:0,bufferEnd:0,virtualTotalSize:0,visibleStart:0,visibleEnd:0}),computed:{offsetHeight(){return this.visibleStart*+this.itemSize},offsetStyle(){return{transform:`translateY(${this.offsetHeight}px)`,position:"static"}},ghostStyle(){return{height:this.virtualTotalSize+"px",top:0,left:0,width:"1px",position:"absolute"}}},watch:{total(){this.$nextTick((()=>{this.updateVisible(),this.updateScroll()}))},bufferItemsNum(){this.$nextTick((()=>{this.updateVisible(),this.updateScroll()}))},itemSize(){this.$nextTick((()=>{this.updateVisible(),this.updateScroll()}))}},created(){this.$_scrollTop=void 0},mounted(){this.$nextTick((()=>{qm(this.$el,this.onVisibleChanged),oD(this.$refs.view,this.onScrollViewportChanged)}))},[Pa](){Ym(this.$el,this.onVisibleChanged),sD(this.$refs.view,this.onScrollViewportChanged)},methods:{onScrollViewportChanged(e){this.$_scrollViewportHeight=e.contentRect.height},onVisibleChanged(e){(e.isVisible||0!==e.boundingClientRect.width||0!==e.boundingClientRect.height)&&(this.handleVirtualScroll({checkScrollSticky:!1}),Nc(this,"visible"),this.$nextTick((()=>{this.updateScroll()})))},getBuffer(e){let t=e;return t<0&&(t=0),{bufferStart:t,bufferEnd:t+this.$_scrollViewportHeight}},findAnchor(e,t){let i=0,n=0,o=0;return i=Math.max(Math.min(~~(e/+this.itemSize),this.total),0),n=Math.max(Math.min(~~(t/+this.itemSize),this.total),0),o=this.total*+this.itemSize,i=xa(i-this.bufferItemsNum,0,this.total-1),n=xa(n+this.bufferItemsNum,0,this.total-1),{start:i,end:n,total:o}},getVisibleItems(e,t){return this.bufferStart=e,this.bufferEnd=t,this.findAnchor(this.bufferStart,this.bufferEnd)},isScrollSticky(e,t,i){let n=(this.visibleStart+this.updateBufferItemsNum)*+this.itemSize,o=(this.visibleEnd-this.updateBufferItemsNum)*+this.itemSize;return e>this.$_scrollTop&&i>=o||e<this.$_scrollTop&&t<=n},handleVirtualScroll(){let{checkScrollSticky:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.$refs.view.scrollTop,{bufferStart:i,bufferEnd:n}=this.getBuffer(t);if(!e||this.isScrollSticky(t,i,n)){const{start:e,end:t,total:o}=this.getVisibleItems(i,n);this.renderVisibleItems(e,t,o)}this.$_scrollTop=t},updateVisible(){this.handleVirtualScroll({checkScrollSticky:!1})},renderVisibleItems(e,t,i){this.visibleStart=e,this.visibleEnd=t,this.virtualTotalSize=i},handleScroll(e){"scroll"===e.type&&this.handleVirtualScroll(),wD.methods.handleScroll.apply(this,arguments)},scrollToIndex(e){const t=this.itemSize*e;this.$refs.view.scrollTop=t,this.handleVirtualScroll()},ensureVisible(e){zu(e,{scrollMode:"if-needed",behavior:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"smooth":"auto"})}}}),xD={ref:"inner",class:"v-scrollbar-inner"};var SD=Rm(CD,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{ref:"scrollbar",class:ne(e.wrapperCls)},[(jo(),Zo($i(e.viewTag),{ref:"view",class:ne(["v-scrollbar-view",e.viewClass]),style:Q(e.viewStyle),onScrollPassive:e.handleScroll},{default:Ii((()=>[ts("div",xD,[ts("div",{class:"v-scrollbar-virtual-wrapper",style:Q(e.offsetStyle)},[rn(e.$slots,"default",{start:e.visibleStart,end:e.visibleEnd})],4),ts("div",{style:Q(e.ghostStyle)},null,4)],512)])),_:3},40,["class","style","onScrollPassive"])),e.yRailExists?(jo(),Ko("div",{key:0,ref:"y-rail",class:"y-rail rail",style:Q(e.yRailStyle),onTouchstart:t[2]||(t[2]=t=>e.onRailPointerDown(t,"y")),onMousedown:t[3]||(t[3]=t=>e.onRailPointerDown(t,"y"))},[ts("div",{ref:"y-bar",class:"y-bar bar",style:Q(e.yBarStyle),onTouchstart:t[0]||(t[0]=Wr((t=>e.onBarPointerDown(t,"y")),["stop"])),onMousedown:t[1]||(t[1]=Wr((t=>e.onBarPointerDown(t,"y")),["stop"]))},null,36)],36)):ls("",!0),e.xRailExists?(jo(),Ko("div",{key:1,ref:"x-rail",class:"x-rail rail",style:Q(e.xRailStyle),onTouchstart:t[6]||(t[6]=t=>e.onRailPointerDown(t,"x")),onMousedown:t[7]||(t[7]=t=>e.onRailPointerDown(t,"x"))},[ts("div",{ref:"x-bar",class:"x-bar bar",style:Q(e.xBarStyle),onTouchstart:t[4]||(t[4]=Wr((t=>e.onBarPointerDown(t,"x")),["stop"])),onMousedown:t[5]||(t[5]=Wr((t=>e.onBarPointerDown(t,"x")),["stop"]))},null,36)],36)):ls("",!0)],2)}]]),kD=on({name:"SpinIcon"});const ID={class:"v-spin-icon"},TD=[ts("i",null,[ts("i")],-1)];var DD=Rm(kD,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",ID,TD)}]]);let LD=0;var AD={beforeCreate(){this.uuid=LD.toString(),LD++}};const ED="tick",MD="check",BD="base",OD=on({name:"SelectDropdown",components:{vBaseOption:yT,vDividerOption:AT,SpinIcon:DD,vGroupOption:OT,vNoMatchOption:ET},mixins:[AD,Bc],props:{virtualScrollbar:{type:Boolean,default:!1},virtualItemHeight:{type:Number,default:28},virtualBufferSize:{type:Number,default:200},options:{type:Array,default:()=>[]},advanced:{type:Boolean,default:!1},dropdownCls:{type:Array,default:()=>[]},loading:{type:Boolean,default:!1},maxHeight:{type:[Number,String],default:184},notFoundText:{type:String,default:void 0},value:{type:[Array,Number,String,Boolean],default:""},displayField:{type:String,default:"label"},valueField:{type:String,default:"value"},getOptionTooltip:{type:Function,required:!0},loadingText:{type:String,default:void 0},useOptionSlot:{type:[Boolean,String],default:void 0},showNotFound:{type:Boolean,default:!0},defaultOption:{type:[Function,String],default:BD}},emits:["blur","hover-index","select","toggle","shown"],data(){let e=0;return fa(this.value)||(e=this.findActiveIndexByValue(this.value),-1===e&&(e=0)),{activeIndex:e,visible:!1}},computed:{innerNotFoundText(){return this.notFoundText??this._i18n("search","no_search_result")},scrollbar(){return this.virtualScrollbar?SD:wD},optionsNum(){return this.showNotFound&&(!this.options||0===this.options.length)||this.loading?1:this.options.length},dropdownMenuWrapperStyle(){return this.virtualScrollbar?{visibility:this.visible?"visible":"hidden"}:{}},hasTopActionsSlot(){return Ya(this,"top-actions")},hasBottomActionsSlot(){return Ya(this,"bottom-actions")},listStyles(){return{maxHeight:sa(this.maxHeight)?this.maxHeight-16+"px":this.maxHeight}}},watch:{options(){this.virtualScrollbar&&this.$nextTick((()=>this.resetScroll())),!1===this.moveActiveIndex("none")&&this.moveActiveIndex("none",0)},loading(){this.virtualScrollbar&&this.$nextTick((()=>this.$refs.scrollbar.updateVisible()))},activeIndex:{handler(e){this.$nextTick((()=>{Nc(this,"hover-index",e)}))},immediate:!0}},mounted(){Vc(this,"shown",this.onShown)},methods:{onShown(){this.virtualScrollbar||(this.$refs?.scrollbar?.ensureVisible(this.$el),this.moveActiveIndex("none"))},onScrollbarVisible(){Nc(this,"scrollbar-visible"),this.$nextTick((()=>{this.visible=!0,this.moveActiveIndex("none")}))},getVisibleOptions(e,t){let i=this.options.map(((e,t)=>({index:t,option:e})));return this.virtualScrollbar&&(i=i.slice(e,t+1)),i},closeDropdown(){Nc(this,"close-dropdown")},clearSelection(){this.activeIndex=-1},useComponent(e){if(ca(e.useComponent))return ia(e.useComponent)?e.useComponent():e.useComponent;if(ta(this.defaultOption)){if(this.defaultOption===BD)return yT;if(this.defaultOption===ED)return xT;if(this.defaultOption===MD)return TT}return this.defaultOption?.()},getSlot(e){return e.useSlot||this.useOptionSlot},useSlot(e){return ca(e.useSlot)?Boolean(e.useSlot):Boolean(this.useOptionSlot)},getOptionClass(e){return e.child&&eh("option.child","option.indent",this),{[e.class]:!!e.class,indent:e.child||e.indent}},isOptionSelectable(e){const t=this.options[e];return!!t&&"-"!==t&&"group-label"!==t.type&&(!ca(t.selectable)||t.selectable)},isOptionSelected(e){return Array.isArray(this.value)?this.value.includes(e[this.valueField]):e[this.valueField]===this.value},findActiveIndexByValue(e){return this.options.findIndex((t=>t[this.valueField]===e))},setActiveIndex(e){let{ensureVisible:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e<0||e>=this.options.length||(this.activeIndex=e,t&&this.$nextTick((()=>this.ensureActiveIndexVisible())))},moveActiveIndex(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.activeIndex;if("up"===e){for(let e=t-1;e>=0;e--)if(this.isOptionSelectable(e))return this.setActiveIndex(e)}else if("down"===e){for(let e=t+1,i=this.options.length;e<i;e++)if(this.isOptionSelectable(e))return this.setActiveIndex(e)}else{for(let e=t,i=this.options.length;e<i;e++)if(this.isOptionSelectable(e))return this.setActiveIndex(e);this.clearSelection()}return!1},async ensureActiveIndexVisible(){const e=this.activeIndex,t=this.options[e];this.virtualScrollbar&&(this.$refs.scrollbar.scrollToIndex(e),await this.$nextTick());const i=this.$refs.dropdownMenu?.querySelector("#"+this.getOptionId(t));i&&this.$refs.scrollbar&&this.$refs.scrollbar.ensureVisible(i)},setActiveIndexByValue(e){this.activeIndex=this.options.findIndex((t=>t[this.valueField]===e))},getActiveIndex(){return this.activeIndex<0||this.options.length<=this.activeIndex?-1:this.activeIndex},getActiveOptionAria(){const e=this.getActiveOption();return e?this.getOptionId(e):""},getActiveOption(){return this.activeIndex<0||this.options.length<=this.activeIndex?null:this.options[this.activeIndex]},onHoverOption(e){this.activeIndex=e},onClickOption(e,t){-1!==t?!1!==e.selectable&&Nc(this,"select",t,e):this.clearSelection()},onToggleOption(e,t){-1!==t?!1!==e.selectable&&Nc(this,"toggle",t,e):this.clearSelection()},focus(){this.$refs.dropdown.focus()},resetScroll(){this.$refs.scrollbar&&(this.$refs.scrollbar.resetScrollTop(),this.$refs.scrollbar.update())},getOptionId(e){return Ta(`option-${e[this.valueField]}-${this.uuid}`)}}}),$D=["syno-id"],FD={key:0,class:"v-select2-dropdown-loading-text",role:"menuitem","aria-selected":"false"};var VD=Rm(OD,[["render",function(e,t,i,n,o,s){const r=Bi("spin-icon"),a=Bi("v-no-match-option"),l=Bi("v-divider-option"),d=Bi("v-group-option");return jo(),Ko("div",{ref:"dropdown",tabindex:-1,class:"v-select2-dropdown-menu-wrapper",style:Q(e.dropdownMenuWrapperStyle),onBlur:t[2]||(t[2]=t=>e.$emit("blur",t))},[rn(e.$slots,"dropdown",{options:e.options},(()=>[ts("div",{"syno-id":`${e.synoId}-dropdown-menu`,class:ne(e.dropdownCls)},[e.hasTopActionsSlot?(jo(),Ko("div",{key:0,onMouseenter:t[0]||(t[0]=t=>e.clearSelection())},[rn(e.$slots,"top-actions")],32)):ls("",!0),(jo(),Zo($i(e.scrollbar),{ref:"scrollbar",virtual:e.virtualScrollbar,"item-size":e.virtualItemHeight,total:e.optionsNum,"buffer-size":e.virtualBufferSize,onVisible:e.onScrollbarVisible},{default:Ii((t=>{let{start:i,end:n}=t;return[ts("ul",{ref:"dropdownMenu",class:"v-select2-dropdown-menu",role:"listbox",style:Q(e.listStyles)},[rn(e.$slots,"before-options"),e.loading?(jo(),Ko("li",FD,[is(r),rs(" "+ce(e.loadingText),1)])):(jo(),Ko(Po,{key:1},[!e.showNotFound||e.options&&0!==e.options.length?ls("",!0):rn(e.$slots,"notfound-item",{key:0},(()=>[(jo(),Zo(a,{key:"option-no-match",display:e.innerNotFoundText},null,8,["display"]))])),(jo(!0),Ko(Po,null,tn(e.getVisibleOptions(i,n),(t=>{let{option:i,index:n}=t;return jo(),Ko(Po,null,[e.useSlot(i)?rn(e.$slots,e.getSlot(i),{key:0,id:e.getOptionId(i),option:i,synoId:`${e.synoId}-option-${i[e.valueField]}`,display:i[e.displayField],value:i[e.valueField],disabled:i.disabled,activated:n===e.activeIndex,customClass:e.getOptionClass(i),isSelected:e.isOptionSelected(i),selectable:e.isOptionSelectable(n),tooltip:e.getOptionTooltip(i),active:()=>e.onClickOption(i,n),toggle:()=>e.onToggleOption(i,n),hover:()=>e.onHoverOption(n)}):"-"===i?(jo(),Zo(l,{key:`option-divider-${n}`})):"group-label"===i.type?(jo(),Zo(d,{key:i[e.displayField],display:i[e.displayField]},null,8,["display"])):(jo(),Zo($i(e.useComponent(i)),{id:e.getOptionId(i),ref_for:!0,ref:`option-${n}`,key:i[e.valueField],option:i,"syno-id":e.synoId,value:i[e.valueField],display:i[e.displayField],disabled:i.disabled,activated:n===e.activeIndex,"custom-class":e.getOptionClass(i),selectable:e.isOptionSelectable(n),"is-selected":e.isOptionSelected(i),tooltip:e.getOptionTooltip(i),active:()=>e.onClickOption(i,n),toggle:()=>e.onToggleOption(i,n),hover:()=>e.onHoverOption(n)},{"tooltip-portal":Ii((t=>{let{option:i}=t;return[rn(e.$slots,"tooltip-portal",{option:i})]})),"inner-option":Ii((t=>{let{option:i}=t;return[rn(e.$slots,"inner-option",{option:i})]})),suffix:Ii((t=>{let{option:i}=t;return[rn(e.$slots,"suffix",{option:i})]})),_:2},1032,["id","option","syno-id","value","display","disabled","activated","custom-class","selectable","is-selected","tooltip","active","toggle","hover"]))],64)})),256))],64)),rn(e.$slots,"after-options")],4)]})),_:3},40,["virtual","item-size","total","buffer-size","onVisible"])),e.hasBottomActionsSlot?(jo(),Ko("div",{key:1,onMouseenter:t[1]||(t[1]=t=>e.clearSelection())},[rn(e.$slots,"bottom-actions")],32)):ls("",!0)],10,$D)]))],36)}]]);function PD(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}wg("select-search",zI),wg("select-filter",EI);const ND="panel";var RD=on({name:"BaseSelect",directives:{clickoutside:$m,tooltip:lg},components:{vSelectInput:pT,vSelectDropdown:VD},mixins:[Bc,wu,Sm,Cg,La("trigger-action",[{expose:"closeDropdown",internal:"closeAdvancedPanel"}])],props:{[rT()]:{type:[Array,Number,String,Boolean],default:void 0},width:{type:[Number,String],default:250},height:{type:[Number,String],default:"auto"},maxHeight:{type:[Number,String],default:200},dropdownWidth:{type:[String,Number],default:void 0},dropdownOffset:{type:Array,default:()=>{}},customDropdownCls:{type:String,default:""},disabled:{type:Boolean,default:!1},filter:{type:Function,default:void 0},search:{type:Function,default:void 0},align:{type:String,default:void 0},minSearchChar:{type:[Number,String],default:1},loading:{type:Boolean,default:void 0},loadingText:{type:String,default:void 0},notFoundText:{type:String,default:void 0},tooltip:{type:Boolean,default:!1},mapOptionToTooltip:{type:Function,default:null},shouldMenuClose:{type:Function,default:()=>!0},options:{type:[Object,Array],default:()=>[]},groupOptions:{type:Object,default:()=>{}},clearable:{type:Boolean,default:!1},editable:{type:Boolean,default:void 0},hideTrigger:{type:Boolean,default:void 0},position:{type:String,default:"absolute"},displayField:{type:String,default:"label"},valueField:{type:String,default:"value"},closeOnSelect:{type:Boolean,default:!0},placeholder:{type:String,default:""},nullValue:{type:[String,Array],default:null},inputScrollable:{type:Boolean,default:!1},inputTooltip:{type:[Object,String,Boolean],default:()=>({disabled:!0})},useOptionSlot:{type:[Boolean,String],default:void 0},triggerQueryAction:{type:String,default:"all"},caseSensitive:{type:Boolean,default:!1},virtualScrollbar:{type:Boolean,default:!1},virtualItemHeight:{type:Number,default:28},virtualBufferSize:{type:Number,default:200},showNotFound:{type:Boolean,default:!0},showDropdown:{type:Boolean,default:!0},displayTextFormat:{type:Object,default:()=>({})},displayMode:{type:String,default:"none",validator:e=>["label","text","none"].includes(e)},advanced:{type:[Boolean,Object],default:!1},searchIconActive:{type:Boolean,default:!1},defaultOption:{type:[Function,String],default:BD},enterKey:{type:String,default:void 0,validator:e=>!e||Object.values(jc).includes(e)},customIcon:{type:String,default:void 0,validator:e=>["search","filter","custom","none"].includes(e)}},emits:["display-changed","is-active","update:model-value","input","internal-select","select","focus","blur","clear","dropdown-hidden","dropdown-shown","close-dropdown","click-icon","click-advanced-icon"],data:()=>({id:PD(),activeDescendant:null,isFocused:!1,dropdownStyle:{},isSearching:!1,show:!1,showAdvanced:!1,dropItemNodeList:[],display:"",currentQueryAction:"all",visibleOptions:[],searchOptions:[],defaultChildOptionIndent:!0}),computed:{innerLoading(){return ca(this.loading)?this.loading:this.isSearching},innerLoadingText(){return this.loadingText??this._i18n("uicommon","searching")},innerNotFoundText(){return this.notFoundText??this._i18n("search","no_search_result")},innerAdvancedType(){return na(this.advanced)?this.advanced?.type??ND:ND},hasAdvancedPanel(){return this.innerAdvancedType===ND},hasAdvancedMenu(){return"menu"===this.innerAdvancedType},innerAlignment(){(ca(this.align)||ca(this.dropdownOffset))&&th("The prop 'align', 'dropdownOffset' is deprecated, please use 'alignment' instead.");let e=ca(this.align)?this.align:this.getPopupConfigValue("alignment");return ta(this.alignment)&&(e={pos:e}),gm(e,{offset:this.dropdownOffset})},wrapStyles(){return{"--width":ra(this.width)?`${this.width}px`:this.width,"--height":ra(this.height)?`${this.height}px`:this.height}},mergedDisplayTextFormat(){return gm({group:"{group}:{option}",option:"{option}",delimiter:this._i18n("common","comma")},this.displayTextFormat)},currentOptions(){return this.isSearchMode?this.transformGroupOptions(this.searchOptions):this.transformGroupOptions(this.options)},allowClear(){return this.clearable&&!!this.display},allowEdit(){return ca(this.editable)?this.editable:!(!this.search&&!this.filter)},_hideTrigger(){return ca(this.hideTrigger)?this.hideTrigger:!(!this.search&&!this.filter)},innerCustomIcon(){return this.customIcon?this.customIcon:this.search?"search":this.filter?"filter":"none"},inputAttrs(){return{disabled:this.disabled,readonly:!this.allowEdit,autocomplete:"off","aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":this.activeDescendant,"aria-expanded":this.show}},wrapCls(){return{"v-select2-wrapper":!0,"has-prefix":this.hasPrefix(),disabled:this.disabled,focused:this.isFocused,pressed:this.show||this.showAdvanced,readonly:!this.allowEdit,"allow-clear":this.allowClear,"hide-trigger":this._hideTrigger,"right-advanced-icon":"right"===this.advanceIconPos}},dropdownCls(){return["v-select2-dropdown",this.customDropdownCls]},clearIconCls(){return["v-select2-clear-icon",{"hide-trigger":this._hideTrigger,"has-right-advanced-icon":"right"===this.advanceIconPos}]},advanceIconPos(){return oa(this.advanced)?this.advanced?"left":"none":this.advanced?.icon??"left"},searchIcon(){let e={};return"left"===this.advanceIconPos?(e.sprite=!0,"search"==this.innerCustomIcon?e.name="select-advanced-search":"filter"==this.innerCustomIcon&&(e.name="select-advanced-filter")):(e.svgIconSet="set01","search"==this.innerCustomIcon?e.name="select-search":"filter"==this.innerCustomIcon&&(e.name="select-filter")),e},searchIconCls(){return[{normal:"search"===this.innerCustomIcon,advanced:"left"===this.advanceIconPos,"show-advanced-panel":this.showAdvanced,active:this.searchIconActive}]},isActive(){return this.show||this.isFocused},selectedOption(){return this.currentOptions.find((e=>"-"!==e&&e[this.valueField]===sT(this)))},isSearchMode(){return this.search},autoOpenDropdownCharCount(){return this.isSearchMode?+this.minSearchChar:-1},inputMode(){return this.search?"search":"normal"},innerGroupOptions(){return this.currentOptions.reduce(((e,t)=>("-"===e||"-"===t||"group-label"===t.type&&(e[t[this.valueField]]=t),e)),{})},enterKeyHint(){return ca(this.enterKey)?this.enterKey:this.isSearchMode?jc.Search:jc.Enter}},watch:{options:{handler(e){this.isSearchMode&&(this.searchOptions=e)},immediate:!0},currentOptions(){this.doQuery(this.currentQueryAction)},display(e){this.currentQueryAction="keyword",this.doQuery(this.currentQueryAction),Nc(this,"display-changed",e)},show:{async handler(e){Nc(this,e?"dropdown-shown":"dropdown-hidden"),await this.repositionMenu(),await this.$nextTick(),this.$refs.dropdown&&Nc(this.$refs.dropdown,"shown")},immediate:!0},isActive:{handler(e){Nc(this,"is-active",e)}}},created(){this._searchingDebounce=yD(this.searching,250)},mounted(){oD(this.$el,this.onInputWidthChanged,this),this.onInputWidthChanged()},[Pa](){sD(this.$el,this.onInputWidthChanged)},methods:{onInputWidthChanged(){const{width:e}=this.$el.getBoundingClientRect();let t=this.dropdownWidth??e;t=ta(t)?t:`${t}px`,this.dropdownStyle={width:t}},hasPrefix(){return"none"!==this.innerCustomIcon||this.hasPrefixSlot()},hasPrefixSlot(){return Ya(this,"icon")},hasSuffix(){return Ya(this,"input-right")},transformGroupOptions(e){if(na(e)){let t=[];for(let i in e)ea(e,i)&&(t.push({type:"group-label",[this.valueField]:i,[this.displayField]:i,...this.groupOptions?.[i]??{}}),t=t.concat(e[i].options.map((e=>"-"===e?e:{...e,indent:this.groupOptions?.[i]?.indent??this.defaultChildOptionIndent,inGroup:i}))));return t}return e},setLoading(e){th("setLoading is deprecated now, use `loading` prop instead"),this.isSearching=e},isEmptyStateValue(e){return Array.isArray(this.nullValue)&&this.nullValue.includes(e)||this.nullValue===e},getOptionTooltip(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("-"===e)return!1;let t=this.mapOptionToTooltip?this.mapOptionToTooltip(e):e[this.displayField];if(ta(t))t={content:t};else if(!1===t)return!1;return{delay:300,bgOpacity:1,offset:[25,25],attachToElement:!0,overflowOnly:!0,content:e[this.displayField],...t}},getValidOptions(){return this.currentOptions.filter((e=>"-"===e||!0!==e.hide&&"group-label"!==e.type))},getVisibleOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";if(this.filter)return this.filter(this.display,this.currentOptions,e);let t=Object.create(null),i=0,n=this.currentOptions.filter((n=>{if("-"===n)return!0;if(n.hide)return!1;let o=!1;if(!this.search&&this.allowEdit&&this.display&&"group-label"!==n.type||(o=!0),"keyword"===e){let e=n[this.displayField],t=this.display;this.caseSensitive||(e=e.toUpperCase(),t=t.toUpperCase()),e.includes(t)&&(o=!0)}else"all"===e&&(o=!0);return ia(n.filter)&&(o=n.filter(this.display,n,i,{query:e})),o&&(i++,n.inGroup&&(t[n.inGroup]=!0)),o}));return n=n.filter((e=>"-"===e||"group-label"!==e.type||!!t[e[this.valueField]])),this.filterLegalDividerOption(n)},doQuery(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";this.visibleOptions=this.getVisibleOptions(e),this.repositionMenu()},register(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},unregister(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},filterLegalDividerOption(e){let t=null,i=!1,n=[];for(let o=0;o<e.length;o++){let s=e[o];"-"!==s?(i&&t&&n.push(t),i=!0,n.push(s),t=null):t=s}return n},clickOutside(){this.closeDropdown(),this.advanced&&this.closeAdvancedPanel()},doSearch(e){!this.search||e.length<+this.minSearchChar||(this.isSearching=!0,this._searchingDebounce(e))},async searching(e){this._searchingDefer=this._searchingDefer||Promise.resolve(),this._searchingDefer=this._searchingDefer.then((async()=>{this.isSearching=!0;const t=await this.search(e);t&&(this.searchOptions=t),this.isSearching=!1}))},async repositionMenu(){await this.$nextTick(),this.$el&&this.$refs.dropdown&&this.$refs.dropdown.$el&&this.show&&this.$refs.portal?.doAlign()},focusInput(){this.$refs.input&&this.$refs.input.focus()},onClick(){this._hideTrigger||(this.$refs.input.focus(),this.toggleDropdown(this.triggerQueryAction))},openDropdown(e){return!this.show&&(e&&(this.currentQueryAction=e),this.doQuery(this.currentQueryAction),this.show=!0,!0)},closeDropdown(){this.show&&(this.shouldMenuClose&&!this.shouldMenuClose()||(this.show=!1,Nc(this,"close-dropdown")))},toggleDropdown(e){this.disabled||(this.allowEdit&&this.$refs.input.getInputEl()?.focus(),this.show?this.closeDropdown():this.openDropdown(e))},openAdvancedPanel(){this.showAdvanced=!0,this.closeDropdown()},closeAdvancedPanel(){this.showAdvanced=!1},toggleAdvancedPanel(){this.disabled||(this.showAdvanced?this.closeAdvancedPanel():this.openAdvancedPanel())},onClickIcon(){Nc(this,"click-icon"),this.advanced&&this.toggleAdvancedPanel()},onClickAdvancedIcon(){Nc(this,"click-advanced-icon"),this.toggleAdvancedPanel()},onEnter(){if(this.$refs.dropdown){const e=this.$refs.dropdown.getActiveIndex();this.select(e)}},onArrow(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.advanced||(this.openDropdown(),this.$refs.dropdown&&this.$refs.dropdown.moveActiveIndex(e))},clear(){this.display="";const e=this.findOptions(this.display);Nc(this,"clear"),Nc(this,"update:model-value",e&&e[this.valueField])},canCloseOnSelect(e){return"-"!==e&&ca(e.closeOnSelect)?e.closeOnSelect:this.closeOnSelect},select(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||this.visibleOptions.length<=e)return;const t=this.visibleOptions[e];Nc(this,"internal-select",e),Nc(this,"select",t),this.canCloseOnSelect(t)&&(this.closeDropdown(),ei().then((()=>this.$refs.input.focus())))},onScrollbarVisible(){this.repositionMenu()},onHoverIndexChanged(){this.activeDescendant=this.$refs.dropdown?.getActiveOptionAria()},inDataTableBehavior(){this.$el.addEventListener("mousedown",(e=>{e.stopPropagation(),Em(e)})),this.$el.addEventListener("keydown",(e=>e.stopPropagation()))},setDisplay(e){this.display=e},onFocus(e){this.isFocused=!0,Nc(this,"focus",e)},onBlur(e){this.isFocused=!1,Nc(this,"blur",e)}}});const HD="toggle",zD="select",WD="select-keep",jD="range",UD="range-keep";function GD(e){return e===jD||e===UD}function qD(e){let{isCtrlMode:t=ou(e),isShiftMode:i=ru(e)}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i?t?UD:jD:t?HD:zD}function YD(){let{toggle:e="toggleItem",selectRange:t,isMultipleSelected:i="isMultipleSelected",select:n="selectItem",getItemValue:o="getItemValue",isItemDisabled:s="isItemDisabled",itemsKey:r="selectedItems"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{data:()=>({lastSelectIndex:-1,lastSelectRangeIndex:-1,[r]:new Set,forceSelectedItems:new Set}),methods:{clearSelection(){let{force:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?(this[r]=new Set,this.forceSelectedItems=new Set):this[r]=new Set(this.forceSelectedItems),!0},resetSelectIndex(){this.lastSelectIndex=this.lastSelectRangeIndex=-1},addSelectedItem(e){let{forceSelect:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this[o](e);if(t)this.forceSelectedItems.add(i);else if(this[s](e))return!1;return this[r].add(i),!0},removeSelectedItem(e){let{forceSelect:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this[o](e);if(t)this.forceSelectedItems.delete(i);else if(this[s](e))return!1;return this[r].delete(i),!0},isItemSelected(e){const t=this[o](e);return this[r].has(t)},selectItems(e){for(const t of e)this.addSelectedItem(t);this[r]=new Set(this[r])},selectItemsRange(e,t,i){let{keepSelection:n=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n||this.clearSelection();const o=xa(Math.min(e,t),0,i.length-1),s=xa(Math.max(e,t),0,i.length-1);return this.selectItems(i.slice(o,s+1)),this.lastSelectRangeIndex=t,!0},onClickItem(o,s,r){let{selectStrategy:a}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=arguments.length>4?arguments[4]:void 0;const d=this[i]();if(a=a??qD(o),GD(a)&&-1!==this.lastSelectIndex&&d){const e=a===UD;return this[t](e?this.lastSelectRangeIndex:this.lastSelectIndex,s,{keepSelection:e},l)}if(a===HD&&d)return this[e](r,s,l);{const e=a===WD;return this[n](r,s,{keepSelection:e,...l})}},toggleItem(e,t){let{forceSelect:i=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.isItemSelected(e)?this.removeSelectedItem(e,{forceSelect:i}):(this.addSelectedItem(e,{forceSelect:i}),this.lastSelectIndex=this.lastSelectRangeIndex=t),this[r]=new Set(this[r]),!0},selectItem(e,t){let{forceSelect:i=!1,keepSelection:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return!(!i&&this[s](e)||(n||this.clearSelection(),this.addSelectedItem(e,{forceSelect:i}),this.lastSelectIndex=this.lastSelectRangeIndex=t,0))}}}}wg("multiple-select-label-remove",iI);const KD=on({name:"MultipleSelectInput",components:{vScrollbar:wD,vIcon:bg},extends:pT,mixins:[YD({toggle:"toggleLabel",selectRange:"selectRange",select:"selectLabel",getItemValue:"getLabelValue",isItemDisabled:"isDisabled",itemsKey:"selectedLabels"})],props:{selectedOptions:{type:Array,default:()=>[]},getOptionTooltip:{type:Function,required:!0},allowInvalidLabel:{type:Boolean,default:!1},groupOptions:{type:Object,default:()=>({})},displayMode:{type:String,default:"label",validator:e=>["label","text","html"].includes(e)},displayText:{type:[String,Boolean],default:!1},disabled:{type:Boolean,default:!1},labelEditable:{type:Boolean,default:!1},dropdownShown:{type:Boolean,default:!1}},emits:["click-icon","focus","blur","is-editing","item-removed","commit","focus-out","editing-label-input","reposition-menu","focus-in"],data:()=>({editingOption:void 0,editingOptionText:""}),computed:{isEditing(){return ca(this.editingOption)},inputWrapperCls(){return{"input-wrapper--display":this.isTextDisplayMode||this.isHtmlDisplayMode}},textDisplayCls(){return{placeholder:this.showPlaceholder}},display(){if(this.displayText)return this.displayText;let{group:e,option:t,delimiter:i,key:n}=this.displayTextFormat;return ca(n)||(n=this.displayField),this.selectedOptions.map((i=>{let o="";return i.inGroup?(o=e.replace("{group}",this.groupOptions[i.inGroup][n]),o=o.replace("{option}",i[n])):o=t.replace("{option}",i[n]),o})).join(i)},containerCls(){return[{"hide-trigger":this.hideTrigger},"v-multiselect-ct"]},innerValue(){return sT(this)}},watch:{isEditing(e){Nc(this,"is-editing",e)},async[rT()](e){await this.$nextTick(),this.onResizeMultipleInput()},async selectedOptions(e){await this.$nextTick(),this.onResizeMultipleInput()},placeholder(e){this.onResizeMultipleInput()},async editingOption(e){await this.$nextTick(),this.onResizeLabelEditingInput(),this.$refs["editing-label-input"]?.[0]?.focus()},async editingOptionText(e){await this.$nextTick(),this.onResizeLabelEditingInput()}},methods:{isMultipleSelected:()=>!0,clearInput(){this.editingOptionText="",this.editingOption=void 0,Nc(this,"update:model-value","")},selectWithEditingLabel(e){this.isEditing&&(this.editingOptionText=e[this.displayField])},focus(){this.$refs["editing-label-input"]?.[0]||this.getInputEl()?.focus()},isOptionEditing(e){return this.editingOption===e[this.valueField]},getEditingOption(){if(this.editingOption)return this.selectedOptions.find((e=>e[this.valueField]===this.editingOption))},itemWrapperClasses(e){return["v-multiselect-item-wrapper",{"v-multiselect-item-disabled":this.isDisabled(e),"v-multiselect-item-invalid":this.isInvalid(e),selected:this.isSelected(e),[e.labelCls]:!!e.labelCls,"has-icon":this.hasOptionIcon(e)}]},isDisabled(e){return!!this.disabled||(e&&ca(e.irremovable)?(eh("irremovable","disabled",this),e&&!0===e.irremovable):e&&!0===e.disabled)},hasOptionIcon:e=>e&&!!e.labelIcon,getOptionIcon:e=>na(e.labelIcon)?e.labelIcon:{name:e.labelIcon,svgIconSet:"set11"},isInvalid:e=>"invalid"===e?.type,isSearch:e=>"search"===e?.type,isSelected(e){return this.isItemSelected(e)},removeOption(e){return this.remove(e[this.valueField])},remove(e){const t=this.selectedOptions;fa(e)||(e=[e]);const i=t.filter((t=>!!this.isDisabled(t)||!e.includes(t[this.valueField])));Nc(this,"item-removed",e,i),Nc(this,"reposition-menu")},onKeyDownOnInput(e){const t=e.target;if(ca(t.value)){const i=t.value?.length,n=this.selectedOptions;this.onBackspaceOnInput(e),au(e)&&0===t.selectionStart&&n.length>0?(this.isEditing?this.lastSelectIndex=this.selectedOptions.findIndex((e=>e[this.valueField]===this.editingOption)):this.resetSelectIndex(),this.hasPrevSelectableLabel()&&(this.$refs["label-wrapper"]?.focus(),this.selectPrevLabel())):lu(e)&&t.selectionStart===i&&n.length>0&&(this.isEditing?(this.lastSelectIndex=this.selectedOptions.findIndex((e=>e[this.valueField]===this.editingOption)),this.$refs["label-wrapper"]?.focus(),this.selectNextLabel()):this.resetSelectIndex()),pu(e)&&Nc(this,"commit",{autoHighlightLabel:this.isEditing,selectFromDropdown:!0})}pT.methods.onKeyDown.apply(this,arguments)},onBackspaceOnInput(e){"Backspace"===e.key&&0===e.target.value.length&&(this.isEditing&&(this.lastSelectIndex=this.selectedOptions.findIndex((e=>e[this.valueField]===this.editingOption)),Nc(this,"commit",{selectFromDropdown:!1})),this.hasPrevSelectableLabel()&&(this.$refs["label-wrapper"]?.focus(),this.selectPrevLabel()))},onDelete(e){"Delete"===e.key&&this.selectedLabels.size>0&&(this.remove(Array.from(this.selectedLabels)),this.selectPrevLabel())},onBackspace(e){if("Backspace"!==e.key)return;if(this.selectedLabels.size>0)return this.remove(Array.from(this.selectedLabels)),void ei((()=>{this.selectPrevLabel()}));const t=this.selectedOptions;t.length>0&&this.removeOption(t[t.length-1])},onEnter(e){pu(e)&&1===this.selectedLabels.size&&this.editLabel(Array.from(this.selectedLabels)[0])},getOptionKey(e){return e[this.valueField]},onResizeLabelEditingInput(){const e=this.$refs["editing-label-input"]?.[0];if(e){Fu(e,"width",`${(Ju(e)?.width??0)+5}px`),Fu(e,"flex","")}},onResizeMultipleInput(){const e=this.getInputEl();if(!this.isTextDisplayMode&&e)if(0===this.selectedOptions.length)Fu(e,"width",""),Fu(e,"flex","");else if(0===e.value.length)Fu(e,"width","100%"),Fu(e,"flex","1 1 0");else{Fu(e,"width",`${(Ju(e)?.width??0)+5}px`),Fu(e,"flex","")}},onLabelWrapperKeyDown(e){this.onBackspace(e),this.onDelete(e),this.onEnter(e),this.onSelectLabelByKeyboard(e)},onSelectLabelByKeyboard(e){if(!au(e)&&!lu(e))return;const t=this.selectedOptions,i=au(e)?-1:1,n=au(e)?"selectPrevLabel":"selectNextLabel";if(-1===this.lastSelectIndex&&t.length>0)this.selectLabel(t[t.length-1],t.length-1);else if(ru(e)){const e=xa(this.lastSelectRangeIndex+i,0,t.length-1);this.selectRange(this.lastSelectIndex,e)}else this[n]()},ensureLabelVisible(e){this.$refs.scrollbar?.ensureVisible(this.$refs[`label-${e}`]?.[0])},ensureInputVisible(){this.$refs.scrollbar?.ensureVisible(this.$refs.input)},hasPrevSelectableLabel(){return(this.lastSelectIndex>=0?this.selectedOptions.slice(0,this.lastSelectIndex):this.selectedOptions).some((e=>!this.isDisabled(e)))},hasNextSelectableLabel(){return(this.lastSelectIndex>=0?this.selectedOptions.slice(this.lastSelectIndex+1,this.selectedOptions.length):this.selectedOptions).some((e=>!this.isDisabled(e)))},selectPrevLabel(){let{addSelect:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.selectedOptions;for(let i=(-1!==this.lastSelectIndex?this.lastSelectIndex:t.length)-1;i>=0;i--)if(e?this.addSelectedLabel(t[i]):this.selectLabel(t[i],i))return this.selectedLabels=new Set(this.selectedLabels),this.lastSelectIndex=this.lastSelectRangeIndex=i,void this.$nextTick((()=>this.ensureLabelVisible(i)))},selectNextLabel(){let{addSelect:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.selectedOptions;for(let i=this.lastSelectIndex+1;i<t.length;i++)if(e?this.addSelectedLabel(t[i]):this.selectLabel(t[i],i))return this.selectedLabels=new Set(this.selectedLabels),this.lastSelectIndex=this.lastSelectRangeIndex=i,void this.ensureLabelVisible(i);this.$refs.input?.focus()},addSelectedLabel(e){return!!e&&this.addSelectedItem(e)},selectLabel(e,t){return!!e&&this.selectItem(e,t)},getLabelValue(e){return e[this.valueField]},selectRange(e,t){let{keepSelection:i=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.selectItemsRange(e,t,this.selectedOptions,{keepSelection:i})},toggleLabel(e,t){return this.toggleItem(e,t)},onSelectLabel(e){if(!e)return;const t=this.selectedOptions.findIndex((t=>t[this.valueField]===e[this.valueField]));this.selectLabel(e,t),this.$refs["label-wrapper"]?.focus(),this.$nextTick((()=>{this.ensureLabelVisible(t)}))},onDblClickLabel(e,t,i){this.onClickLabel(e,t,i),this.editLabel(i[this.valueField])},editLabel(e){if(!this.labelEditable)return!1;const t=this.selectedOptions.find((t=>t[this.valueField]===e));if(this.isDisabled(t)||!t)return!1;this.editingOption=t[this.valueField],this.editingOptionText=t[this.displayField]},onClickLabel(e,t,i){this.onClickItem(e,t,i)},onBlur(){this.clearSelection(),this.resetSelectIndex()},onFocus(){this.isEditing&&Nc(this,"commit",{selectFromDropdown:!0})},onFocusOut(e){const t=Wu(e);this.$refs["label-wrapper"]?.contains(t)||(this.focused=!1,Nc(this,"focus-out",e))},onFocusIn(){this.focused=!0,Nc(this,"focus-in")},canOpenDropdown(e){const t=this.isEditing?this.$refs["editing-label-input"]?.[0]:this.getInputEl();return!(t&&-1!==this.autoOpenDropdownCharCount&&this.autoOpenDropdownCharCount>t.value.length)},onInput(e){this.canOpenDropdown()?this.openDropdown("keyword"):this.closeDropdown(),this.$emit("update:model-value",e.target.value)},onLabelEditingInput(e){this.canOpenDropdown()?this.openDropdown("keyword"):this.closeDropdown(),this.$emit("editing-label-input",e.target.value)}}}),ZD=["data-placeholder"],JD=["innerHTML"],QD=["syno-id","onDblclick","onClick"],XD={class:"v-multiselect-item-label"},eL=["value","placeholder"];var tL=Rm(KD,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-scrollbar"),l=Fi("tooltip");return jo(),Ko("div",{class:ne(["input-wrapper",e.inputWrapperCls])},[e.hasPrefix?(jo(),Ko("span",{key:0,class:ne(["prefix-wrapper",e.prefixCls])},[rn(e.$slots,"prefix")],2)):ls("",!0),e.isTextDisplayMode||e.isHtmlDisplayMode?Xi((jo(),Ko("div",{key:1,ref:"input",class:ne(["v-select2-text-display select-input",e.textDisplayCls]),"data-placeholder":e.placeholder,tabindex:"-1",onKeydown:t[0]||(t[0]=function(){return e.onKeyDownOnInput&&e.onKeyDownOnInput(...arguments)})},[e.isHtmlDisplayMode?(jo(),Ko("div",{key:0,innerHTML:e.showPlaceholder?e.placeholder:e.display},null,8,JD)):e.isTextDisplayMode?(jo(),Ko(Po,{key:1},[rs(ce(e.showPlaceholder?e.placeholder:e.display),1)],64)):ls("",!0)],42,ZD)),[[l,{overflowOnly:!0,content:e.display}]]):e.isLabelDisplayMode?(jo(),Zo(a,{key:2,ref:"scrollbar",class:ne(["select-input",e.containerCls]),"view-style":{width:"100%"},disabled:e.disabled},{default:Ii((()=>[ts("ul",{ref:"label-wrapper",class:"v-select-ul-wrap",tabindex:"-1",onFocusin:t[10]||(t[10]=function(){return e.onFocusIn&&e.onFocusIn(...arguments)}),onFocusout:t[11]||(t[11]=function(){return e.onFocusOut&&e.onFocusOut(...arguments)}),onFocus:t[12]||(t[12]=function(){return e.onFocus&&e.onFocus(...arguments)}),onBlur:t[13]||(t[13]=function(){return e.onBlur&&e.onBlur(...arguments)}),onKeydown:t[14]||(t[14]=Wr((function(){return e.onLabelWrapperKeyDown&&e.onLabelWrapperKeyDown(...arguments)}),["stop"]))},[(jo(!0),Ko(Po,null,tn(e.selectedOptions,((i,n)=>(jo(),Ko(Po,{key:e.getOptionKey(i)},[e.isOptionEditing(i)?Xi((jo(),Ko("input",{key:e.getOptionKey(i),ref_for:!0,ref:"editing-label-input","onUpdate:modelValue":t[1]||(t[1]=t=>e.editingOptionText=t),class:"v-multiselect-item-wrapper--editing",onClick:t[2]||(t[2]=Wr((function(){return e.onClick&&e.onClick(...arguments)}),["stop"])),onInput:t[3]||(t[3]=function(){return e.onLabelEditingInput&&e.onLabelEditingInput(...arguments)}),onKeydown:t[4]||(t[4]=function(){return e.onKeyDownOnInput&&e.onKeyDownOnInput(...arguments)})},null,32)),[[Pr,e.editingOptionText]]):(jo(),Ko("li",{key:e.getOptionKey(i),ref_for:!0,ref:`label-${n}`,"syno-id":`${e.synoId}-selected-${i[e.valueField]}`,class:ne(e.itemWrapperClasses(i)),onDblclick:t=>e.onDblClickLabel(t,n,i),onClick:Wr((t=>e.onClickLabel(t,n,i)),["stop"])},[rn(e.$slots,"pre-label",{option:i}),e.hasOptionIcon(i)?(jo(),Zo(r,hs({key:0,class:"v-multiselect-item-label-icon",ref_for:!0},e.getOptionIcon(i),{disabled:e.isDisabled(i)}),null,16,["disabled"])):ls("",!0),Xi((jo(),Ko("div",XD,[rs(ce(i[e.displayField]),1)])),[[l,e.getOptionTooltip(i)]]),e.isDisabled(i)?ls("",!0):(jo(),Zo(r,{key:1,name:"multiple-select-label-remove",class:"v-multiselect-item-remove",onClick:Wr((t=>e.removeOption(i)),["stop"])},null,8,["onClick"]))],42,QD))],64)))),128)),e.isEditing?ls("",!0):Xi((jo(),Ko("input",hs({key:0,ref:"input"},e.inputAttrs,{value:e.innerValue,class:"v-multiselect-input",placeholder:e.placeholder,onInput:t[5]||(t[5]=function(){return e.onInput&&e.onInput(...arguments)}),onFocus:t[6]||(t[6]=t=>e.$emit("focus",t)),onBlur:t[7]||(t[7]=t=>e.$emit("blur",t)),onKeydown:t[8]||(t[8]=function(){return e.onKeyDownOnInput&&e.onKeyDownOnInput(...arguments)}),onClick:t[9]||(t[9]=Wr((function(){return e.onClick&&e.onClick(...arguments)}),["stop"]))}),null,16,eL)),[[l,e.inputTooltip]])],544)])),_:3},8,["class","disabled"])):ls("",!0),e.innerHasSuffix?(jo(),Ko("span",{key:3,class:ne(["suffix-wrapper",e.suffixCls])},[e.hasClearIcon?(jo(),Zo(r,{key:0,name:"select-clear",class:ne(e.clearIconCls),"svg-icon-set":"set25",onMousedown:Wr(e.onClear,["stop"])},null,8,["class","onMousedown"])):ls("",!0),e.hasTriggerIcon?(jo(),Zo(r,{key:1,name:"select-dropdown",class:"v-select2-dropdown-icon","svg-icon-set":"set12"})):ls("",!0)],2)):ls("",!0)],2)}]]);function iL(e,t){return e.split(new RegExp(t.join("|")))}const nL="normal";var oL=on({name:"MultipleSelect",components:{vMultipleSelectInput:tL,vSelectDropdown:VD,vPortal:Hh},extends:RD,props:{[rT()]:{type:Array,default:()=>[]},hideSelected:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},editable:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!1},allowInvalidLabel:{type:Boolean,default:!1},autoAddLabel:{type:[Boolean,Object],default:void 0},editLabel:{type:Boolean,default:!1},displayMode:{type:String,default:"label",validator:e=>["label","text","html"].includes(e)},displayText:{type:[String,Boolean],default:!1},defaultOption:{type:[Function,String],default:MD},minSearchChar:{type:[Number,String],default:1},search:{type:Function,default:void 0}},emits:["item-removed"],data:()=>({isEditing:!1,defaultChildOptionIndent:!1}),computed:{innerAutoAddLabel(){return this.allowInvalidLabel?(eh("allowInvalidLabel","autoAddLabel",this),this.allowInvalidLabel):ca(this.autoAddLabel)?Boolean(this.autoAddLabel):Boolean(this.search)},validateLabel(){return na(this.autoAddLabel)?this.autoAddLabel.validate??(()=>!0):()=>!0},autoAddKey(){return na(this.autoAddLabel)?this.autoAddLabel.addKey??[" "]:[" "]},innerHideSelected(){return!!this.isEditing||this.hideSelected},innerDefaultOption(){return this.isSearchMode||this.isEditing?BD:this.defaultOption},selectedOptions(){return sT(this).reduce(((e,t)=>{if(na(t))e.push(t);else{const i=this.getOptionByValue(t);e.push({type:nL,...i})}return e}),[])},wrapCls(){return["v-select2-wrapper","v-multiselect-wrapper",`v-multiselect-wrapper--display-${this.displayMode}`,{"v-multiselect-wrapper--full-width":0===sT(this).length,"allow-clear":this.allowClear,"is-advanced":this.advanced,disabled:this.disabled,focused:this.isFocused,pressed:this.show,readonly:!this.allowEdit}]},inputAttrs(){return{id:this.id,disabled:this.disabled,readonly:!this.allowEdit,autocomplete:"off",type:"text",placeholder:this.placeholder,role:"combobox","aria-autocomplete":"list","aria-haspopup":"listbox","aria-labelledby":this.valueArray.length>0?this.valueArray.map((e=>`${this.id}-selected-${e}`)).join(" "):void 0}},allowClear(){const e=this.selectedOptions.reduce(((e,t)=>("-"!==t&&(t.irremovable||t.disabled)||e++,e)),0);return this.clearable&&(!!this.display||e>0)&&!this.disabled},_placeholder(){return 0===sT(this).length?this.placeholder:""},valueArray(){return sT(this).map((e=>na(e)?e[this.valueField]:e))},innerValue(){return sT(this)}},watch:{[rT()](){this.closeOnSelect||(this.visibleOptions=this.getVisibleOptions())},display(e){if(this.doSearch(e),this.innerAutoAddLabel){let t=iL(e,this.autoAddKey);if(t.length>1){const e=this.addLabels(t.slice(0,t.length-1));this.display=t[t.length-1],Nc(this,"update:model-value",[...sT(this),...e]),this.$nextTick((()=>{this.$refs.input?.onResizeMultipleInput()}))}}}},methods:{getSlots(){return Ka(this)},findOptions(e){return this.getValidOptions().find((t=>e&&"-"!==t&&t[this.displayField]===e))},getVisibleOptions(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";const t=this.isEditing?this.$refs.input.editingOptionText:this.display,i=this.innerHideSelected;if(this.filter)return this.filter(t,this.currentOptions,e);if(ia(this.search))return this.searchOptions;let n=Object.create(null),o=0,s=this.currentOptions.filter((s=>{if("-"===s)return!0;if(s.hide)return!1;if(s[this.valueField]===this.$refs.input.getEditingOption()?.[this.valueField])return!0;if(i&&this.valueArray.includes(s[this.valueField]))return!1;let r=!1;"group-label"===s.type&&(r=!0),t||(r=!0);let a=s[this.displayField],l=t;return this.caseSensitive||(a=a.toUpperCase(),l=l.toUpperCase()),a.includes(l)&&(r=!0),ia(s.filter)&&(r=s.filter(this.display,s,o,{query:e})),r&&(o++,s.inGroup&&(n[s.inGroup]=!0)),r}));return s=s.filter((e=>"-"===e||"group-label"!==e.type||!!n[e[this.valueField]])),this.filterLegalDividerOption(s)},getOptionByValue(e){return this.currentOptions.find((t=>"-"!==t&&t[this.valueField]===e))},clearInput(){this.$refs.input?.clearInput()},commitLabels(e){const t=this.addLabel(e);if(t||this.isEditing){const e=this.getNewValue(t,{targetOption:this.$refs.input?.getEditingOption()});Nc(this,"update:model-value",e),this.$refs.input?.clearInput()}return t},onCommit(){let{selectFromDropdown:e=!1,text:t,autoHighlightLabel:i=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=this.isEditing;if(t=t??(n?this.$refs.input?.editingOptionText:this.display),this.$refs.dropdown&&e){const e=this.$refs.dropdown.getActiveIndex(),t=this.$refs.dropdown.getActiveOption();if(-1!==e)return this.select(e),void(i&&this.$nextTick((()=>this.$refs.input?.onSelectLabel(t))))}let o=this.findOptions(t);if(n){if(o)return this.selectOption(o),this.clearInput(),void(i&&this.$nextTick((()=>this.$refs.input?.onSelectLabel(o))));if(!this.innerAutoAddLabel){if(t)this.selectOption(this.$refs.input.getEditingOption());else{const e=this.getNewValue(null,{targetOption:this.$refs.input?.getEditingOption()});Nc(this,"update:model-value",e)}return void this.clearInput()}}if(this.innerAutoAddLabel&&!o){const e=this.commitLabels(t);i?this.$nextTick((()=>this.$refs.input?.onSelectLabel(e))):this.$nextTick((()=>this.$refs.input?.ensureInputVisible()))}else o&&this.selectOption(o),this.clearInput()},onKeydown(e){if(this.innerAutoAddLabel&&function(e,t){return t.includes(e.key)}(e,this.autoAddKey)){const t=this.addLabel(this.display);t&&(Nc(this,"update:model-value",[...sT(this),t]),e.preventDefault(),this.clearInput())}},addLabel(e){if(e)return{type:this.validateLabel(e)?nL:"invalid",[this.displayField]:e,[this.valueField]:PD()}},addLabels(e){let t=[];for(const i of e)i&&t.push(this.addLabel(i));return t},async searching(e){this._searchingDefer=this._searchingDefer||Promise.resolve(),this._searchingDefer=this._searchingDefer.then((async()=>{this.isSearching=!0;const t=await this.search(e);t&&(this.searchOptions=t.filter((e=>"-"===e||!this.valueArray.includes(e[this.valueField])))),this.isSearching=!1}))},canCloseOnSelect(e){return!!this.isEditing||(ca(e.closeOnSelect)?e.closeOnSelect:!!this.isSearchMode||this.closeOnSelect)},getNewValue(e){let{targetOption:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=sT(this);if(t){const n=this.valueArray.findIndex((e=>e===t[this.valueField]));if(n>=0)return e?[...i.slice(0,n),e,...i.slice(n+1)]:i.filter(((e,t)=>t!==n))}return[...i,e]},selectOption(e){e=this.isSearchMode?{type:"search",...e}:e[this.valueField];const t=this.getNewValue(e,{targetOption:this.$refs.input?.getEditingOption()});Nc(this,"update:model-value",t)},select(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||this.visibleOptions.length<=e)return;let t=this.visibleOptions[e];"-"===t||t.disabled||(!this.valueArray.some((e=>e===t[this.valueField]))||this.isEditing?(this.selectOption(t),RD.methods.select.apply(this,[e]),this.repositionMenu(),this.clearInput()):this.toggle(e,t))},removeSelect(e){const t=[...sT(this)];t.splice(e,1),Nc(this,"update:model-value",t)},toggle(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=arguments.length>1?arguments[1]:void 0;if("-"===t||t.disabled)return;const i=this.valueArray.findIndex((e=>t[this.valueField]===e));-1===i?this.select(e):this.removeSelect(i),this.clearInput()},isOptionSelected(e){return this.valueArray.includes(e[this.valueField])},clear(){const e=this.selectedOptions.reduce(((e,t)=>((t.irremovable||t.disabled)&&e.push(t[this.valueField]),e)),[]);Nc(this,"update:model-value",e),Nc(this,"clear"),this.clearInput()},onItemRemoved(e,t){const i=sT(this).filter((t=>{const i=na(t)?t[this.valueField]:t;return!e.includes(i)}));Nc(this,"update:model-value",i),Nc(this,"item-removed",e,t)},onBlur(e){RD.methods.onBlur.apply(this,[e]);const t=Wu(e);this.$refs.dropdown?.$el?.contains(t)||this.onCommit()},onEditingLabelInput(e){if(this.currentQueryAction="keyword",this.doQuery(this.currentQueryAction),this.doSearch(e),this.innerAutoAddLabel){const t=iL(e,this.autoAddKey);t.length>1&&this.onCommit({text:t[0]})}},onEditingLabel(e){this.isEditing=e,e&&(this.currentQueryAction="keyword",this.doQuery(this.currentQueryAction))}}}),sL=Rm(oL,[["render",function(e,t,i,n,o,s){const r=Bi("v-multiple-select-input"),a=Bi("v-select-dropdown"),l=Bi("v-portal"),d=Fi("clickoutside"),c=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapCls),style:Q(e.wrapStyles),onClick:t[4]||(t[4]=function(){return e.onClick&&e.onClick(...arguments)})},[rn(e.$slots,"input",{hasIcon:e.hasPrefix(),hasPrefix:e.hasPrefix(),searchIconCls:e.searchIconCls},(()=>[is(r,{ref:"input",modelValue:e.display,"onUpdate:modelValue":t[0]||(t[0]=t=>e.display=t),"input-tooltip":e.inputTooltip,placeholder:e._placeholder,disabled:e.disabled,"input-attrs":e.inputAttrs,"open-dropdown":e.openDropdown,"toggle-dropdown":e.toggleDropdown,"close-dropdown":e.closeDropdown,advanced:!!e.advanced,"selected-options":e.selectedOptions,"display-field":e.displayField,"value-field":e.valueField,"clear-icon-cls":e.clearIconCls,"allow-clear":e.allowClear,"hide-trigger":e._hideTrigger,"get-option-tooltip":e.getOptionTooltip,"trigger-query-action":e.triggerQueryAction,"display-mode":e.displayMode,"display-text-format":e.mergedDisplayTextFormat,"group-options":e.innerGroupOptions,"display-text":e.displayText,"auto-open-dropdown-char-count":e.autoOpenDropdownCharCount,"toggle-dropdown-on-click":!e.isSearchMode,"label-editable":e.editLabel,"dropdown-shown":e.show&&e.showDropdown,onClickIcon:e.onClickIcon,onIsEditing:e.onEditingLabel,onItemRemoved:e.onItemRemoved,onClear:e.clear,onArrowUp:t[1]||(t[1]=t=>e.onArrow("up")),onArrowDown:t[2]||(t[2]=t=>e.onArrow("down")),onKeydown:e.onKeydown,onCommit:t[3]||(t[3]=function(){let{autoHighlightLabel:t=!1,selectFromDropdown:i=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.onCommit({selectFromDropdown:i,autoHighlightLabel:t})}),onEditingLabelInput:e.onEditingLabelInput,onRepositionMenu:e.repositionMenu,onFocusIn:e.onFocus,onFocusOut:e.onBlur},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,oe(os(t)))]))})))]),1032,["modelValue","input-tooltip","placeholder","disabled","input-attrs","open-dropdown","toggle-dropdown","close-dropdown","advanced","selected-options","display-field","value-field","clear-icon-cls","allow-clear","hide-trigger","get-option-tooltip","trigger-query-action","display-mode","display-text-format","group-options","display-text","auto-open-dropdown-char-count","toggle-dropdown-on-click","label-editable","dropdown-shown","onClickIcon","onIsEditing","onItemRemoved","onClear","onKeydown","onEditingLabelInput","onRepositionMenu","onFocusIn","onFocusOut"])])),e.show&&e.showDropdown?(jo(),Zo(l,{key:0,ref:"portal","mount-to":e.getContainerEl(),anchor:e.$el,"acquire-z-index":"",alignment:e.innerAlignment},{default:Ii((()=>[is(a,{ref:"dropdown",style:Q(e.dropdownStyle),"syno-id":e.synoId,options:e.visibleOptions,advanced:!!e.advanced,"dropdown-cls":e.dropdownCls,loading:e.innerLoading,"loading-text":e.innerLoadingText,"max-height":+e.maxHeight,"not-found-text":e.innerNotFoundText,value:e.innerValue,"display-field":e.displayField,"value-field":e.valueField,"get-option-tooltip":e.getOptionTooltip,"virtual-scrollbar":e.virtualScrollbar,"virtual-item-height":e.virtualItemHeight,"virtual-buffer-size":e.virtualBufferSize,"show-not-found":e.showNotFound,"default-option":e.innerDefaultOption,onCloseDropdown:e.closeDropdown,onSelect:e.select,onToggle:e.toggle,onScrollbarVisible:e.onScrollbarVisible,onBlur:e.onBlur},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,oe(os(t)))]))})))]),1032,["style","syno-id","options","advanced","dropdown-cls","loading","loading-text","max-height","not-found-text","value","display-field","value-field","get-option-tooltip","virtual-scrollbar","virtual-item-height","virtual-buffer-size","show-not-found","default-option","onCloseDropdown","onSelect","onToggle","onScrollbarVisible","onBlur"])])),_:3},8,["mount-to","anchor","alignment"])):ls("",!0)],6)),[[d,e.clickOutside,void 0,{children:!0}],[c]])}]]);let rL;rL=function(e,t){return function(e,t,i){const n=Ld(i);return n.attrs=function(){return{"show-dropdown":!1,"hide-trigger":!0,"auto-add-label":!0,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}(n.attrs),Ad(void 0,sL,n)}(0,0,t)},rL.componentName="SuperboxSelect";const aL=['a[href]:not([tabindex^="-"])','area[href]:not([tabindex^="-"])','input:not([type="hidden"]):not([type="radio"]):not([disabled]):not([tabindex^="-"])','input[type="radio"]:not([disabled]):not([tabindex^="-"])','select:not([disabled]):not([tabindex^="-"])','textarea:not([disabled]):not([tabindex^="-"])','button:not([disabled]):not([tabindex^="-"])','iframe:not([tabindex^="-"])','audio[controls]:not([tabindex^="-"])','video[controls]:not([tabindex^="-"])','[contenteditable]:not([tabindex^="-"])','[tabindex]:not([tabindex^="-"])'];function lL(e){return Array.from(e.querySelectorAll(aL.join(","))).filter((e=>hL(e)))}function dL(e){for(let t=0;t<e.childNodes.length;t++){const i=e.childNodes[t];if(uL(i)||dL(i))return!0}return!1}function cL(e){for(let t=e.childNodes.length-1;t>=0;t--){const i=e.childNodes[t];if(uL(i)||cL(i))return!0}return!1}function uL(e){return e instanceof HTMLElement&&!!hL(e)&&(e&&"focus"in e&&ia(e.focus)&&e.focus(),document.activeElement===e)}function hL(e){if(null!==e.getAttribute("tabIndex"))return!0;if("disabled"in e&&e.disabled)return!1;switch(e.nodeName){case"A":return"href"in e&&!!e.href&&"ref"in e&&"ignore"!==e.ref;case"INPUT":return"type"in e&&"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}var pL=Rm(on({name:"TrapFocus",props:{selfFocusable:{type:Boolean,default:!1},focusLast:{type:Boolean,default:!1},bodyClass:{type:Array,default:()=>[]}},emits:["focus"],computed:{innerBodyClass(){return["v-trap-focus-body",...this.bodyClass]}},methods:{shouldFocus(){if(this.$el===document.activeElement){if(this.selfFocusable)return!1}else if(this.$el?.contains(document.activeElement))return!1;return this.selfFocusable?"self":this.focusLast?"last":"first"},focus(){const e=this.shouldFocus();!1!==e&&("self"===e?this.focusTrapper():"last"===e?this.focusLastDescendantInBody():"first"===e&&this.focusFirstDescendantInBody(),Nc(this,"focus"))},focusTrapper(){this.$refs.trapper&&this.$refs.trapper.focus()},focusFirstDescendantInBody(){this.$refs.body&&dL(this.$refs.body)},focusLastDescendantInBody(){this.$refs.body&&cL(this.$refs.body)}}}),[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{ref:"trapper",tabindex:"-1",onFocus:t[2]||(t[2]=function(){return e.focus&&e.focus(...arguments)})},[ts("div",{class:"v-trap-focus-indicator",tabindex:"0",onFocus:t[0]||(t[0]=function(){return e.focusLastDescendantInBody&&e.focusLastDescendantInBody(...arguments)})},null,32),ts("div",{ref:"body",class:ne(e.innerBodyClass)},[rn(e.$slots,"default")],2),rn(e.$slots,"alert-last"),ts("div",{class:"v-trap-focus-indicator",tabindex:"0",onFocus:t[1]||(t[1]=function(){return e.focusFirstDescendantInBody&&e.focusFirstDescendantInBody(...arguments)})},null,32)],544)}]]),fL=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,mL=/^\w*$/;var gL=function(e,t){if(xl(e))return!1;var i=typeof e;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=e&&!Bl(e))||(mL.test(e)||!fL.test(e)||null!=t&&e in Object(t))};function vL(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var i=function(){var n=arguments,o=t?t.apply(this,n):n[0],s=i.cache;if(s.has(o))return s.get(o);var r=e.apply(this,n);return i.cache=s.set(o,r)||s,r};return i.cache=new(vL.Cache||Vp),i}vL.Cache=Vp;var yL=vL;var bL=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wL=/\\(\\)?/g,CL=function(e){var t=yL(e,(function(e){return 500===i.size&&i.clear(),e})),i=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(bL,(function(e,i,n,o){t.push(n?o.replace(wL,"$1"):i||e)})),t})),xL=CL;var SL=function(e,t){return xl(e)?e:gL(e,t)?[e]:xL(Vl(e))};var kL=function(e){if("string"==typeof e||Bl(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var _L=function(e,t){for(var i=0,n=(t=SL(t,e)).length;null!=e&&i<n;)e=e[kL(t[i++])];return i&&i==n?e:void 0};var IL=function(e,t,i){var n=null==e?void 0:_L(e,t);return void 0===n?i:n};function TL(){return window?.Ext}function DL(){return window?.SYNO}function LL(e){const t=DL()?.API?.RequestPromise;return t(e)}function AL(e,t,i){const n=t.split(/[-.]/),o=i.split(/[-.]/);for(let t=0,i=Math.max(n.length,o.length);t<i;t++){const i=n[t]??"0",s=o[t]??"0",[r,a]=[aa(i),aa(s)];if(r>a)return">"===e||">="===e;if(r<a)return"<"===e||"<="===e}return"="===e||">="===e||"<="===e}var EL=on({emits:["show"],data:()=>({active:!1}),async mounted(){this.defaultFocus&&ei((()=>{this.focus()}))},methods:{isVisible(){return!this.hidden},getTitle(){return this.currentTitle},show(e,t,i){t=t||Ca,this.hidden=!1,this.toFront({focus:!!this.defaultFocus&&"default"}),ei((()=>{t?.apply(i??this)}))},focus(){this.$refs.trapFocus&&this.$refs.trapFocus.focus()},toFront(){let{focus:e="default"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.manager;t&&(t.bringToFront(this)&&"default"===e||"force"===e)&&window.setTimeout((()=>{this.focus()}),0)},alignTo(e){},getWidth(){return this.getCurrentWidth()},getHeight(){return this.getCurrentHeight()},setPosition(e,t){this.left=e,this.top=t},getSize(){return{width:this.width,height:this.height}},getGroupWinAccessTime(e){return[this,...IL(this,"modalWins",[])].reduce(((t,i)=>{return Math.max(t,(n=i,(e?e(n.id):n._lastAccess)||0));var n}),0)},getTopWin(){let e=this;for(;e.owner;)if(e=e.owner,TL()?.Window&&e instanceof TL().Window)return e.getTopWin();return e},getMountEl(){const e=this.getTopWin();return TL()?.Window&&e instanceof TL().Window?e.el.dom.parentElement:e._isVue&&e.$el.parentElement?e.$el.parentElement:document.querySelector("#sds-desktop")||document.querySelector("body")},setActive(e){this.active=e;const t=this.getTopWin();let i;if(TL()?.Window&&TL().Window,i=t.taskButton,this.active){i&&i.setState("active");for(const e of this.modalWins)e.hideForMinimize&&(delete e.hideForMinimize,e.show());DL()?.SDS?.StatusNotifier&&SYNO.SDS.StatusNotifier.fireEvent("windowActivate",this)}else i&&i.setState("deactive")},afterShow(){this.$emit("show")},isModalized(){return this.modal},maximize(){return this.onMaximize()},restore(){return this.onRestore()},close(e){return this.onClose(e)},minimize(){return this.onMinimize()},getEl(){return{dom:this.$el,getSize:this.getSize}}}});function ML(e,t,i,n,o){let s=t-e;return i+s<n?n-i:i+s>o?o-i:s}var BL=Rm(on({name:"Resizable",components:{vPortal:Hh},mixins:[Aa("window")],props:{windowProperty:{type:Object,default:()=>({})}},emits:["resize-end"],data:()=>({prefixCls:"v-window-resizable",isResizing:!1,top:void 0,left:void 0,startTop:void 0,startLeft:void 0,width:void 0,height:void 0,currentWidth:void 0,currentHeight:void 0,direction:void 0,startX:void 0,startY:void 0,diffX:void 0,diffY:void 0,minWidth:void 0,minHeight:void 0,maxHeight:void 0,maxWidth:void 0,maximized:void 0,isFit:void 0,constrainRect:void 0,resizeHandles:void 0}),computed:{horizontal(){return this.direction?-1!==this.direction.indexOf("w")?"w":-1!==this.direction.indexOf("e")?"e":null:null},vertical(){return this.direction?-1!==this.direction.indexOf("s")?"s":-1!==this.direction.indexOf("n")?"n":null:null},ghostStyle(){return{top:`${this.top}px`,left:`${this.left}px`,width:`${this.currentWidth+this.diffX}px`,height:`${this.currentHeight+this.diffY}px`}},maskStyle(){return{cursor:`${this.direction}-resize`}}},watch:{windowProperty:{immediate:!0,deep:!0,handler(e){this.top=+e.top,this.left=+e.left,this.width=e.width,this.height=e.height,this.minWidth=+e.minWidth,this.minHeight=+e.minHeight,this.maxWidth=+e.maxWidth,this.maxHeight=+e.maxHeight,this.maximized=e.maximized,this.constrainRect=e.constrainRect,this.resizeHandles=e.resizeHandles,this.isFit=e.isFit}}},methods:{getMountEl(){return this.window.instance.$el.parentNode??document.body},mouseMove(e){let{pageX:t,pageY:i}=e;const n=this.getMountEl().getBoundingClientRect();i<n.top&&(i=n.top),t<n.left&&(t=n.left),"e"===this.horizontal?this.diffX=ML(this.startX,t,this.currentWidth,this.minWidth,this.maxWidth):"w"===this.horizontal&&(this.diffX=ML(t,this.startX,this.currentWidth,this.minWidth,this.maxWidth),this.left=this.startLeft-this.diffX),"s"===this.vertical?this.diffY=ML(this.startY,i,this.currentHeight,this.minHeight,this.maxHeight):"n"===this.vertical&&(this.diffY=ML(i,this.startY,this.currentHeight,this.minHeight,this.maxHeight),this.top=this.startTop-this.diffY)},mouseUp(){this.isResizing=!1,Nc(this,"resize-end",{top:this.top,left:this.left,width:this.currentWidth+this.diffX,height:this.currentHeight+this.diffY})},mouseDown(e,t){let i;this.currentWidth="auto"===this.width?this.window.instance.getCurrentWidth():+this.width,this.currentHeight="auto"===this.height?this.window.instance.getCurrentHeight():+this.height,this.direction=e,this.isResizing=!0,this.startX=t.pageX,this.startY=t.pageY,this.diffX=this.diffY=0,this.startTop=this.top,this.startLeft=this.left,Nu(document,"mouseup",(()=>{this.mouseUp(),i?.()})),i=Pu(document,"mousemove",(e=>this.mouseMove(e)))}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-portal");return e.isFit?ls("",!0):(jo(),Ko("div",{key:0,class:ne(e.prefixCls)},[e.isResizing?(jo(),Zo(r,{key:0,"mount-to":e.getMountEl},{default:Ii((()=>[ts("div",{ref:"ghost",class:ne(`${e.prefixCls}-ghost`),style:Q(e.ghostStyle)},null,6),ts("div",{ref:"resizing-mask",class:ne(`${e.prefixCls}-resizing-mask`),style:Q(e.maskStyle)},null,6)])),_:1},8,["mount-to"])):ls("",!0),["all","nw"].some((t=>e.resizeHandles.includes(t)))?(jo(),Ko("div",{key:1,class:ne(`handler ${e.prefixCls}-nw`),onMousedown:t[0]||(t[0]=t=>e.mouseDown("nw",t))},null,34)):ls("",!0),["all","ne"].some((t=>e.resizeHandles.includes(t)))?(jo(),Ko("div",{key:2,class:ne(`handler ${e.prefixCls}-ne`),onMousedown:t[1]||(t[1]=t=>e.mouseDown("ne",t))},null,34)):ls("",!0),["all","sw"].some((t=>e.resizeHandles.includes(t)))?(jo(),Ko("div",{key:3,class:ne(`handler ${e.prefixCls}-sw`),onMousedown:t[2]||(t[2]=t=>e.mouseDown("sw",t))},null,34)):ls("",!0),["all","se"].some((t=>e.resizeHandles.includes(t)))?(jo(),Ko("div",{key:4,class:ne(`handler ${e.prefixCls}-se`),onMousedown:t[3]||(t[3]=t=>e.mouseDown("se",t))},null,34)):ls("",!0),["all","n"].some((t=>e.resizeHandles.includes(t)))?(jo(),Ko("div",{key:5,class:ne(`handler ${e.prefixCls}-n`),onMousedown:t[4]||(t[4]=t=>e.mouseDown("n",t))},null,34)):ls("",!0),["all","s"].some((t=>e.resizeHandles.includes(t)))?(jo(),Ko("div",{key:6,class:ne(`handler ${e.prefixCls}-s`),onMousedown:t[5]||(t[5]=t=>e.mouseDown("s",t))},null,34)):ls("",!0),["all","w"].some((t=>e.resizeHandles.includes(t)))?(jo(),Ko("div",{key:7,class:ne(`handler ${e.prefixCls}-w`),onMousedown:t[6]||(t[6]=t=>e.mouseDown("w",t))},null,34)):ls("",!0),["all","e"].some((t=>e.resizeHandles.includes(t)))?(jo(),Ko("div",{key:8,class:ne(`handler ${e.prefixCls}-e`),onMousedown:t[7]||(t[7]=t=>e.mouseDown("e",t))},null,34)):ls("",!0)],2))}]]);function OL(e,t){return t-e}var $L=Rm(on({name:"Draggable",mixins:[Aa("window")],props:{windowProperty:{type:Object,default:()=>({})},prefixCls:{type:String,default:void 0}},emits:["dragging","drag-end","window.header"],data:()=>({isDragging:!1,top:void 0,left:void 0,startTop:void 0,startLeft:void 0,width:void 0,height:void 0,currentWidth:void 0,currentHeight:void 0,diffX:void 0,diffY:void 0,maximized:void 0,isFit:void 0,constrainRect:void 0,headerEl:void 0}),computed:{ghostCls(){const e=["v-window-draggable"];return this.prefixCls?e.concat(this.prefixCls):e},ghostStyle(){return{top:`${this.top}px`,left:`${this.left}px`,width:`${this.currentWidth}px`,height:`${this.currentHeight}px`}}},watch:{windowProperty:{deep:!0,immediate:!0,handler(e){this.top=+e.top,this.left=+e.left,this.width=e.width,this.height=e.height,this.maximized=e.maximized,this.constrainRect=e.constrainRect,this.isFit=e.isFit}},async isDragging(e){if(Nc(this,"dragging",e),await ei(),e){const e=this.window.instance.$el.parentNode||document.body;if(!e)return;const t=this.headerEl.cloneNode(!0);this.$refs.ghost.appendChild(t),e.appendChild(this.$refs.ghost)}}},async mounted(){await ei(),this.window.instance.$refs.header?.$el&&(this.headerEl=this.window.instance.$refs.header?.$el,this.disposedFn=Pu(this.headerEl,"mousedown",(e=>this.mouseDown(e))))},[Pa](){this.disposedFn?.()},methods:{mouseMove(e){let{pageX:t,pageY:i,clientX:n,clientY:o}=e;if(function(e){return e[0]<0||e[1]<0||e[0]>window.innerWidth||e[1]>window.innerHeight}([n,o])||Math.max(Math.abs(t-this.startX),Math.abs(i-this.startY))<5/window.devicePixelRatio)return;this.isDragging||(this.isDragging=!0),this.diffX=OL(this.startX,t),this.diffY=OL(this.startY,i);let s=this.startTop+this.diffY,r=this.startLeft+this.diffX;s<=this.constrainRect.top&&(this.diffY=this.constrainRect.top-this.startTop,s=this.constrainRect.top),Fu(this.$refs.ghost,"top",`${s}px`),Fu(this.$refs.ghost,"left",`${r}px`)},mouseUp(){this.isDragging=!1,this.$nextTick((()=>{this.activeElement&&(this.activeElement.focus(),delete this.activeElement)})),this.$emit("drag-end",{top:this.startTop+this.diffY,left:this.startLeft+this.diffX})},mouseDown(e){if(this.isFit)return;let t;this.activeElement=document.activeElement,this.currentWidth="auto"===this.width?this.window.instance.getCurrentWidth():+this.width,this.currentHeight="auto"===this.height?this.window.instance.getCurrentHeight():+this.height,this.startX=e.pageX,this.startY=e.pageY,this.startTop=this.top,this.startLeft=this.left,this.diffX=this.diffY=0,Nu(document.documentElement,"mouseup",(()=>{this.mouseUp(),t?.()})),t=Pu(document.documentElement,"mousemove",(e=>this.mouseMove(e)))}}}),[["render",function(e,t,i,n,o,s){return e.isDragging?(jo(),Ko("div",{key:0,ref:"ghost",class:ne(e.ghostCls),style:Q(e.ghostStyle)},null,6)):ls("",!0)}]]);wg("window-tool-close",UI),wg("window-tool-maximize",GI),wg("window-tool-restore",KI),wg("window-tool-help",qI),wg("window-tool-minimize",YI);var FL=Rm(on({name:"WindowHeaderToolWrapper",components:{vIcon:bg},props:{showHelp:{type:Boolean,default:!1},showMinimize:{type:Boolean,default:!0},showMaximize:{type:Boolean,default:!0},showFullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},maximized:{type:Boolean,default:!1},darkTheme:{type:Boolean,default:!1}},emits:["help","minimzie","restore","maximize","close"],methods:{onClickHelp(){Nc(this,"help")},onClickMinimize(){Nc(this,"minimize")},onClickRestore(){Nc(this,"restore")},onClickMaximize(){Nc(this,"maximize")},onClickClose(){Nc(this,"close")}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-icon");return jo(),Ko("div",{class:ne(["window-header-tool-wrapper",e.darkTheme?"dark":"light"])},[e.showHelp?(jo(),Zo(r,{key:0,class:"tool help",name:"window-tool-help","svg-icon-set":e.darkTheme?"set23":"set21",onClick:e.onClickHelp},null,8,["svg-icon-set","onClick"])):ls("",!0),e.showMinimize?(jo(),Zo(r,{key:1,class:"tool minimize",name:"window-tool-minimize","svg-icon-set":"set21",onClick:e.onClickMinimize},null,8,["onClick"])):ls("",!0),e.showMaximize&&e.maximized?(jo(),Zo(r,{key:2,class:"tool restore",name:"window-tool-restore","svg-icon-set":"set21",onClick:e.onClickRestore},null,8,["onClick"])):ls("",!0),e.showMaximize&&!e.maximized?(jo(),Zo(r,{key:3,class:"tool maximize",name:"window-tool-maximize","svg-icon-set":"set21",onClick:e.onClickMaximize},null,8,["onClick"])):ls("",!0),e.showClose?(jo(),Zo(r,{key:4,class:"tool close",name:"window-tool-close","svg-icon-set":e.darkTheme?"set23":"set22",onClick:e.onClickClose},null,8,["svg-icon-set","onClick"])):ls("",!0)],2)}]]),VL=Rm(on({name:"WindowHeader",components:{vWindowHeaderToolWrapper:FL},mixins:[Wc],props:{showHelp:{type:Boolean,default:!1},showMinimize:{type:Boolean,default:!0},showMaximize:{type:Boolean,default:!0},showFullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},iconUrl:{type:String,default:void 0},title:{type:String,default:void 0},maximized:{type:Boolean,default:!1},showAppIcon:{type:Boolean,default:!0},isModalized:{type:Boolean,default:!1},isWizard:{type:Boolean,default:!1},darkTheme:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},inMobile:{type:Boolean,default:!1}},emits:["fullscreen","help","minimize","restore","maximize","close"],data:()=>({prefixCls:"v-window-header"}),computed:{wrapperCls(){return[`${this.prefixCls}-wrapper`,{"modal-win":this.isModalized,"wizard-win":this.isWizard,draggable:this.draggable,"mobile-fit":this.inMobile}]},iconStyle(){let e={};return this.iconUrl&&(e.backgroundImage=`url(${this.iconUrl})`),e},titleTooltip(){return{content:this.title,overflowOnly:!0}}},methods:{onDblClick(){this.maximized?Nc(this,"restore"):Nc(this,"maximize")},getTitleEl(){return this.$refs.title}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-window-header-tool-wrapper"),a=Fi("tooltip");return jo(),Ko("div",{class:ne(e.wrapperCls),onDblclick:t[6]||(t[6]=function(){return e.onDblClick&&e.onDblClick(...arguments)})},[e.showAppIcon?(jo(),Ko("div",{key:0,class:"app-icon",style:Q(e.iconStyle)},null,4)):ls("",!0),ts("div",{class:ne(e.prefixCls+"-text")},[Xi((jo(),Ko("div",{ref:"title",class:ne(e.prefixCls+"-title")},[rs(ce(e.title),1)],2)),[[a,e.titleTooltip]]),rn(e.$slots,"sub-title")],2),is(r,{"dark-theme":e.darkTheme,"show-fullscreen":e.showFullscreen,"show-help":e.showHelp,"show-minimize":e.showMinimize,"show-maximize":e.showMaximize,"show-close":e.showClose,maximized:e.maximized,onFullscreen:t[0]||(t[0]=t=>e.$emit("fullscreen")),onHelp:t[1]||(t[1]=t=>e.$emit("help")),onMinimize:t[2]||(t[2]=t=>e.$emit("minimize")),onRestore:t[3]||(t[3]=t=>e.$emit("restore")),onMaximize:t[4]||(t[4]=t=>e.$emit("maximize")),onClose:t[5]||(t[5]=t=>e.$emit("close"))},null,8,["dark-theme","show-fullscreen","show-help","show-minimize","show-maximize","show-close","maximized"])],34)}]]);function PL(e){if(fa(e)&&e.length>1)throw new Error("expect only one child");return e[0]}function NL(e){{const t=(t,i)=>{let{attrs:n,slots:o}=i;return t.wrap?Fs(e,n,o):t.multiple?o.default?.():PL(o.default())};return t.componentName="WithWrap",t.props=["wrap","multiple"],t}}wg("toast-close",lI);var RL=Rm(on({name:"Toast",components:{withTransition:NL(js),vIcon:bg},mixins:[Wc,Bc,Sm,Cg],props:{showClose:{type:Boolean,default:void 0},delay:{type:[Number,String,Boolean],default:5e3},onClick:{type:Function,default:Ca},text:{type:String,default:""},actionBtnText:{type:String,default:""},actionBtnCls:{type:String,default:""},textCls:{type:String,default:""},onClickActionBtn:{type:Function,default:Ca},animate:{type:[Boolean,String],default:!0},icon:{type:[String,Boolean],default:!1},interactive:{type:Boolean,default:!1},onDestroy:{type:Function,default:Ca}},data:()=>({prefix:"v-toast",left:0,top:0,destroyTimer:null}),computed:{innerShowClose(){return oa(this.showClose)?this.showClose:!!this.interactive},toastStyle(){return{left:this.left+"px",top:this.top+"px"}},wrapCls(){return[this.prefix,{"has-icon":this.hasIcon,"has-close":this.innerShowClose}]},extendedActionBtnCls(){return[`${this.prefix}-action-btn`,this.actionBtnCls]},extendedTextCls(){return[`${this.prefix}-text`,this.textCls]},delayTime(){return!0===this.delay?5e3:this.delay},delayDestroy(){return!1!==this.delay},hasIcon(){return!!this.icon},transitionName(){return ta(this.animate)?this.animate:"fadeInUp"},hasAnimate(){return Boolean(this.animate)}},mounted(){this.delayDestroy&&(this.destroyTimer=window.setTimeout((()=>this.destroy()),this.delayTime))},methods:{destroy(){this.onDestroy?.(),this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},doAlign(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=t?.anchorEl??e,n=t?.offset,o=t?.align??"t->t",s=!oa(t?.constrainMode)||t?.constrainMode,r=!oa(t?.absoluteMode)||t?.absoluteMode,a=t?.containerEl??this.getContainerEl(),{x:l,y:d}=this.$alignManager.getAlignToXYv2(this.$refs.root,i,o,{offset:n,constrain:s,absoluteMode:r,containerEl:a});this.left=l,this.top=d},onMouseEnter(){this.interactive&&this.destroyTimer&&(window.clearTimeout(this.destroyTimer),this.destroyTimer=null)},onMouseLeave(){this.delayDestroy&&this.interactive&&(this.destroyTimer&&window.clearTimeout(this.destroyTimer),this.destroyTimer=window.setTimeout((()=>this.destroy()),this.delayTime))}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("with-transition");return jo(),Zo(a,{wrap:e.hasAnimate,name:e.transitionName,appear:""},{default:Ii((()=>[ts("div",{ref:"root",class:ne(e.wrapCls),style:Q(e.toastStyle),onMouseenter:t[2]||(t[2]=function(){return e.onMouseEnter&&e.onMouseEnter(...arguments)}),onMouseleave:t[3]||(t[3]=function(){return e.onMouseLeave&&e.onMouseLeave(...arguments)})},[e.hasIcon?(jo(),Zo(r,{key:0,name:e.icon},null,8,["name"])):ls("",!0),ts("div",{class:ne(e.extendedTextCls),onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)})},ce(e.text),3),e.actionBtnText?(jo(),Ko("button",{key:1,class:ne(e.extendedActionBtnCls),onClick:t[1]||(t[1]=()=>e.onClickActionBtn(this))},ce(e.actionBtnText),3)):ls("",!0),e.innerShowClose?(jo(),Zo(r,{key:2,name:"toast-close",class:ne(`${e.prefix}-close-btn`),role:"button","aria-label":e._i18n("common","close"),"svg-icon-set":"set24",onClick:e.destroy},null,8,["class","aria-label","onClick"])):ls("",!0)],38)])),_:1},8,["wrap","name"])}]]);const HL=function(e,t,i,n){const{destroyFn:o,component:s,anchorEl:r}=Jm(e,RL,{onDestroy:()=>o?.(),...i});return t.appendChild(r),s.doAlign(t,n),s};var zL=Rm(on({name:"SpinInner",components:{SpinIcon:DD},props:{prefix:{type:String,default:"v-spin"},tip:{type:String,default:void 0},showIcon:{type:Boolean,default:!0}},computed:{textClasses(){return[`${this.prefix}-text`,{"has-icon":this.showIcon}]},wrapClasses(){return[this.prefix]}}}),[["render",function(e,t,i,n,o,s){const r=Bi("spin-icon");return jo(),Ko("div",{class:ne(e.wrapClasses)},[ts("div",{class:ne(e.textClasses)},[rn(e.$slots,"default",{},(()=>[rs(ce(e.tip),1)]))],2),e.showIcon?rn(e.$slots,"icon",{key:0},(()=>[is(r)])):ls("",!0)],2)}]]),WL=on({name:"Spin",components:{vSpinInner:zL},props:{type:{type:String,default:"circle"},maskStyle:{type:Object,default:()=>{}},onlyMask:{type:Boolean,default:!1},spinning:{type:Boolean,default:!1},mask:{type:Boolean,default:!0},delay:{type:Number,default:0},size:{type:String,default:void 0},tip:{type:String,default:void 0},showIcon:{type:Boolean,default:!0}},data:()=>({prefix:"v-spin",delayedShow:!1}),computed:{wrapperClass(){return[`${this.prefix}-wrapper`,this.type]}},watch:{spinning(e){!0===e&&(this.delayedShow=!1,this.delayedTimeout())}},mounted(){this.delayedTimeout()},methods:{delayedTimeout(){this.delay>0?window.setTimeout((()=>{this.delayedShow=!0}),this.delay):this.delayedShow=!0},getSpinInnerSlots(){return Za("inner-",this)}}});const jL={key:1,class:"loader-inner"};var UL=Rm(WL,[["render",function(e,t,i,n,o,s){const r=Bi("v-spin-inner");return jo(),Ko("div",{class:ne(e.wrapperClass)},["circle"===e.type?(jo(),Ko(Po,{key:0},[Xi(ts("div",{class:ne(e.prefix+"-wrapper-masking"),style:Q(e.maskStyle)},null,6),[[lr,e.mask&&e.delayedShow&&e.spinning]]),rn(e.$slots,"default"),e.delayedShow&&e.spinning&&!e.onlyMask?rn(e.$slots,"spin-inner",{key:0},(()=>[is(r,{tip:e.tip,prefix:e.prefix,delay:e.delay,"show-icon":e.showIcon},nn({_:2},[tn(e.getSpinInnerSlots(),(t=>{let{name:i,exposeName:n}=t;return{name:i,fn:Ii((t=>[rn(e.$slots,n,oe(os(t)))]))}}))]),1032,["tip","prefix","delay","show-icon"])])):ls("",!0)],64)):"large-dots"===e.type?(jo(),Ko("div",jL)):ls("",!0)],2)}]]);function GL(e){return e.$.uid}var qL=Rm(on({name:"Layout",mixins:[La("layout"),Aa("layout"),Aa("layout-container")],props:{tag:{type:String,default:"div"},type:{type:String,default:"none"},order:{type:Number,default:0},customLayoutStyles:{type:Object,default:()=>({})}},emits:["keydown"],data:()=>({children:[],parent:null,sibling:null,active:!0}),computed:{layoutData(){return this.$layoutManager?this.$layoutManager.getLayoutData(this):{}},currentLayoutStyles(){const{styles:e}=this.layoutData;let t={},i={};for(let[i,n]of Object.entries(this.customLayoutStyles))t[n]=e[i];for(const[t,n]of Object.entries(e))i[`--svc-${t}`]=n;return{...i,...t}},currentClass(){return["v-layout",{"pass-through":this.passThrough},"layout-"+this.type.replace(".","-")]},passThrough(){const{props:e}=this.layoutData;return Boolean(e?.["pass-through"])}},mounted(){if(this.$layoutManager&&(this.layout&&(this.layout.register(this),this.parent=this.layout.instance,this.sibling=this.parent.children),this["layout-container"])){const e=this["layout-container"].instance;Vc(e,"activate",this.onContainerActivate),Vc(e,"deactivate",this.onContainerDeactivate)}},[Pa](){if(this.layout&&this.layout.unregister(this),this["layout-container"]){const e=this["layout-container"].instance;Pc(e,"activate",this.onContainerActivate),Pc(e,"deactivate",this.onContainerDeactivate)}},methods:{onContainerActivate(){this.active=!0},onContainerDeactivate(){this.active=!1},register(e){this.children=this.children||[],this.children.push(e)},unregister(e){const t=this.children.findIndex((t=>GL(t)===GL(e)));this.children.splice(t,1)},getSiblingIndex(){return this.sibling?this.sibling.filter((e=>e.active)).sort(((e,t)=>e.order>t.order?1:e.order<t.order?-1:0)).findIndex((e=>GL(e)===GL(this))):-1},onKeydown(e){Nc(this,"keydown",e)},onClick(e){this.$layoutManager.debug&&(e.stopPropagation(),function(){console.log(...arguments)}("Layout on this element ",this.$el,"with below paths: "),function(e,t){console.table(e,t)}(this.$layoutManager.getLayoutData(this).paths))}}}),[["render",function(e,t,i,n,o,s){return jo(),Zo($i(e.tag),{style:Q(e.currentLayoutStyles),class:ne(e.currentClass),onClick:e.onClick,onKeydown:e.onKeydown},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},40,["style","class","onClick","onKeydown"])}]]);function YL(e){return Mc?null:e.$el?.parentNode}function KL(e,t){let i,{parentApp:n,containerEl:o,onDestroy:s}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=null,a=null,l=null;const d=e=>{let{payload:t}=e;r?.unmount(),s?.({payload:t})};if("mount"in e&&"unmount"in e&&(l=r=e),!r){if(!n)return ih("parentApp is required when app is not provided"),{app:r,rootComponent:i,win:a};l=r=Qm(e,t,n)}const c=document.createDocumentFragment();if(l){const e={window:void 0};Ba(l,Zm,e),i=r?.mount(c),o?.appendChild(c),a=e.window,a?.setDestroyCallback(d)}return{app:r,rootComponent:i,win:a}}const ZL="AppWindow",JL=[0,16],QL={OWNER:Symbol("owner"),STATUS:Symbol("status")};function XL(e,t){e.removeModalWindow(t),e.unmask(),t.owner=null}const eA="window-inject",tA=on({name:"Window",components:{vResizable:BL,vDraggable:$L,vWindowHeader:VL,vTrapFocus:pL,vSpin:UL,vLayout:qL},mixins:[Wc,EL,Bc,La("window"),La("adaptive-container-root"),vm("window")],inject:{[eA]:{from:Zm,default:Ca}},props:{id:{type:String,default:()=>`syno-${PD()}`},inline:{type:Boolean,default:!1},toggleGrayOverlay:{type:Boolean,default:!0},closable:{type:Boolean,default:!0},minimizable:{type:Boolean,default:!0},maximizable:{type:Boolean,default:!0},width:{type:[String,Number],default:300},height:{type:[String,Number],default:300},minWidth:{type:[String,Number],default:void 0},minHeight:{type:[String,Number],default:void 0},maxWidth:{type:[String,Number],default:void 0},maxHeight:{type:[String,Number],default:void 0},showHelp:{type:Boolean,default:!1},showMinimize:{type:Boolean,default:!0},showMaximize:{type:Boolean,default:!0},showFullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},beforeClose:{type:Function,default:Ca},beforeMinimize:{type:Function,default:Ca},beforeMaximize:{type:Function,default:Ca},maximizeHook:{type:Function,default:Ca},minimizeHook:{type:Function,default:Ca},restoreHook:{type:Function,default:Ca},fullscreenHook:{type:Function,default:Ca},closeHook:{type:Function,default:Ca},title:{type:String,default:void 0},resizable:{type:Boolean,default:!1},resizeHandles:{type:String,default:"all"},draggable:{type:Boolean,default:!0},helpParams:{type:String,default:void 0},alwaysOnTop:{type:[Boolean,Function],default:!1},isSkipActive:{type:[Boolean,Function],default:!1},customCls:{type:String,default:""},type:{type:String,validator:e=>["launch","component"].includes(e),default:"launch"},layoutType:{type:String,default:"none"},layoutOrder:{type:Number,default:0},mobileBreakpoint:{type:[String,Boolean,Object],default:()=>({fit:"xxs",center:"sm"})},stickyCenter:{type:Boolean,default:!1},defaultFocus:{type:Boolean,default:!0},closeByEscKey:{type:Boolean,default:!0},onHelp:{type:Function,default:void 0}},emits:["resize","close","zindex-changed","window-resize","hide","maximize","restore"],data(){return{name:void 0,prefixCls:"v-window",closeDisabled:!1,isFit:!1,currentTitle:void 0,initialized:!1,iconUrl:void 0,formalTitle:void 0,top:0,left:0,currentWidth:0,currentHeight:0,dragging:!1,hidden:!0,maximized:!1,blink:!1,autoWidth:!1,autoHeight:!1,isMobile:!1,isStandalone:!1,isFullsize:!1,isStandaloneMainWindow:!1,lastFocusElement:Mc?null:document.activeElement,forceAlwaysOnTop:!1,containerMasked:!1,constrainRect:{left:0,right:0,bottom:0,top:0},maskStack:[],statusMaskInfo:{opacity:void 0,text:this._i18n("common","loading")},maskInfo:{opacity:void 0,text:this._i18n("common","loading")},onDestroy:Ca,onMinimized:Ca,svc:!0}},computed:{isLastMaskByOwner(){return this.lastMaskLayer?.type===QL.OWNER},lastMaskLayer(){return this.maskStack[this.maskStack.length-1]},innerConfigConsumerWindow(){return this.configConsumerWindow??this.name},innerDraggable(){return this.getWindowConfigValue("draggable")},innerMinHeight(){return this[`get${this.syntax}ConfigValue`]("minHeight")},blinkWhenTouched(){return this.isLastMaskByOwner},showWindow(){return this.isComponentType||!this.hidden&&!this.dragging},maskInnerCls(){return`${this.prefixCls}-mask-inner`},maskCls(){return`${this.prefixCls}-mask`},maskStyle(){return{opacity:this.lastMaskLayer?.opacity,backgroundColor:"#FFFFFF"}},windowCls(){return[this.prefixCls,{"active-win":this.active,"deactive-win":!this.active,blink:this.blink,"is-safari":Jc,"auto-height":this.autoHeight,"mobile-fit":this.inFitBreakpoint}]},headerProps(){return{inMobile:this.inFitBreakpoint,showHelp:this.showHelp,showFullscreen:this.showFullscreen,showMaximize:!this.inFitBreakpoint&&!this.isStandaloneMainWindow&&this.showMaximize,showMinimize:!this.isStandalone&&this.showMinimize,showClose:!this.isStandaloneMainWindow&&this.showClose,draggable:this.innerDraggable,iconUrl:this.iconUrl,title:this.currentTitle,maximized:this.maximized}},windowProperty(){return{top:this.top,left:this.left,width:this.autoWidth?"auto":this.currentWidth,height:this.autoHeight?"auto":this.currentHeight,minWidth:this.minWidth,minHeight:this.innerMinHeight,maxWidth:this.maxWidth,maxHeight:this.maxHeight,maximized:this.maximized,hidden:this.hidden,constrainRect:this.constrainRect,resizeHandles:this.resizeHandles,isFit:this.isFit}},windowStyle(){const e="width"===this.isFit||"both"===this.isFit,t="height"===this.isFit||"both"===this.isFit;return{position:this.isComponentType?"relative":"absolute",width:!e&&this.autoWidth?"auto":`${this.currentWidth}px`,height:!t&&this.autoHeight?"auto":`${this.currentHeight}px`,minWidth:e?"auto":!!this.minWidth&&`${this.minWidth}px`,minHeight:e?"auto":!!this.innerMinHeight&&`${this.innerMinHeight}px`,maxWidth:t?"none":!!this.maxWidth&&`${this.maxWidth}px`,maxHeight:t?"none":!!this.maxHeight&&`${this.maxHeight}px`,top:`${this.top}px`,left:`${this.left}px`}},isComponentType(){return"component"===this.type},canMinimize(){return this.minimizable},isFixSizeMode(){return this.hidden||Boolean(this.isFit)},inFitBreakpoint(){return this.inBreakpoint("fit","xxs")},inCenterBreakpoint(){return this.inBreakpoint("center","sm")},inMobileBreakpoint(){return this.inFitBreakpoint||this.inCenterBreakpoint},isMasking(){return this.maskStack.length>0}},watch:{title:{immediate:!0,handler(e){this.currentTitle=e}},hidden:{async handler(e){e?this.setActive(!1):(this.setActive(!0),this.toFront({focus:!!this.defaultFocus&&"default"}),this.afterShow(),await this.$nextTick(),this.setIntrinsicSize())}},width:{immediate:!0,async handler(e){const t=this[`get${this.syntax}ConfigValue`]("width")||e;"auto"===t?(this.autoWidth=!0,await this.$nextTick(),this.setIntrinsicWidth()):(this.currentWidth=+t,this.autoWidth=!1)}},height:{immediate:!0,async handler(e){"auto"===e?(this.autoHeight=!0,await this.$nextTick(),this.setIntrinsicHeight()):(this.currentHeight=+e,this.autoHeight=!1)}},isComponentType:{immediate:!0,handler(e){e&&!this.initialized&&this.init()}}},[Pa](){for(const e of this.modalWins)e?.doClose?.();this.modalWins=[],this.messageBox=null,this.unWindowResize?.(),this.unResize?.(),this.unBreakpointWatch?.()},created(){this.modalWins=[],this[eA]&&(this[eA].window=this)},async mounted(){const e=yD((()=>{this.onWindowResize(),this.onSticky(),Nc(this,"window-resize")}),0);this.unResize=oD(this.getWindowEl(),this.onSticky,this),this.unWindowResize=Pu(window,"resize",e),this.unBreakpointWatch=this.$watch((()=>this.$breakpointManager.current),(()=>{e()})),await this.$nextTick(),this.initDraggable()},methods:{getWindowEl(){return this.$refs._window?.$el??this.$refs._window},getAdaptiveContainer(){return this.appInstance?.fullsize?document.body:null},setDestroyCallback(e){this.onDestroy=e},setMinimizedCallback(e){this.onMinimized=e},destroy(){this.onDestroy?.()},registerManager(e){return e?this.manager=e:this.$windowManager.isActive()&&(this.manager=this.$windowManager),this.manager?.register(this),()=>{this.manager?.unregister(this)}},pushModalWindow(e){this.modalWins.push(e)},inBreakpoint(e,t){return!this.$breakpointManager&&this.mobileBreakpoint?(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1):ta(this.mobileBreakpoint)?this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint):na(this.mobileBreakpoint)?!1!==this.mobileBreakpoint?.[e]&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint?.[e]??t):this.mobileBreakpoint},init(e,t){this.constrainRect=this.getConstrainRect(),this.initialized=!0,this.appInstance=t},getConstrainRect(){const e=YL(this);if(!e)return{top:0,left:0,bottom:0,right:0};const{top:t,left:i,bottom:n,right:o}=e.getBoundingClientRect();return{top:t,left:i,bottom:n,right:o}},async doBreakpointFit(){this.inFitBreakpoint?await this.fitContainerWithTaskbar():this.inCenterBreakpoint&&await this.fitContainer({padding:[this.manager.densePadding,0],fit:"width",pos:"center"})},onSticky(){this.stickyCenter&&this.alignCenterToContainer()},onWindowResize(){this.isComponentType||(this.isFullsize?this.fitContainer():this.maximized?this.fitContainerWithTaskbar():this.inMobileBreakpoint?this.doBreakpointFit():(this.doConstrain(),this.restoreSizePos()))},setIntrinsicSize(){this.setIntrinsicHeight(),this.setIntrinsicWidth()},setIntrinsicHeight(){this.isFixSizeMode||(this.currentHeight=this.getWindowEl().offsetHeight)},setIntrinsicWidth(){this.isFixSizeMode||(this.currentWidth=this.getWindowEl().offsetWidth)},doUnmaskContainer(){this.manager.unmaskContainer&&this.manager.unmaskContainer(this.id),this.containerMasked=!1},doMaskContainer(e){this.manager.maskContainer&&this.manager.maskContainer(this.id,e),this.containerMasked=!0},tryConstrainHeight(e){let{isFullsize:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this.getCurrentHeight();let n=this.getFullHeight(e,{withinTaskbar:t});n<this.innerMinHeight&&(n=this.innerMinHeight),this.constrainHeight(n,i)},constrainHeight(e,t){this.hidden||t>e&&(this.autoHeight=!1,this.currentHeight=e)},doConstrain(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:YL(this);const t=this.$alignManager.getConstrainToXY(e,this.getWindowEl());!fa(t)||t[0]===this.left&&t[1]===this.top||this.setPosition(t[0],t[1]),this.tryConstrainHeight(e,{isFullsize:!0})},getCurrentWidth(){const e=this.getWindowEl();return!0===this.autoWidth?e?.offsetWidth:this.currentWidth},getCurrentHeight(){const e=this.getWindowEl();return!0===this.autoHeight?e?.offsetHeight:this.currentHeight},setForceAlwaysOnTop(e){this.forceAlwaysOnTop=e},isAlwaysOnTop(){return!!this.forceAlwaysOnTop||(oa(this.alwaysOnTop)?this.alwaysOnTop:this.alwaysOnTop())},initDraggable(){this.broadcast("Draggable","window.header",this.$refs.header)},setDragging(e){this.dragging=e},onDragEnd(e){let{top:t,left:i}=e;this.top=t,this.left=i},onResizeEnd(e){let{top:t,left:i,width:n,height:o}=e;this.currentWidth=n,this.currentHeight=o,this.autoWidth=!1,this.autoHeight=!1,this.top=t,this.left=i,Nc(this,"resize",{top:t,left:i,width:n,height:o}),this.$nextTick((()=>{Nc(this,"window-resize")}))},async onEsc(e){return!!this.closeByEscKey&&(e.stopPropagation(),e.preventDefault(),this.onClose())},async onClose(){let{forceClose:e=!1,payload:t={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!1!==this.closable&&(!0===e||!1!==await this.beforeClose())&&void await this.doClose({payload:t})},whenClosed(){if(this._closedDefer)return this._closedDefer;const e=function(e){return e.$.isUnmounted}(this)?Promise.resolve():new Promise(((e,t)=>{this._closedResolver=e}));return this._closedDefer=e},async doClose(){let{payload:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.closeHook(),!1===await this.onMinimize()){this.hidden=!0;for(let e of this.modalWins)e.onMinimize();Nc(this,"hide"),this.onMinimized?.()}Nc(this,"close",{payload:e}),this._closedResolver?.(e),this.onDestroy?.({payload:e})},async onMinimize(){if(this.isStandalone||!this.canMinimize)return!1;if(!1===await this.beforeMinimize())return!1;this.minimizeHook(),this.hidden=!0,Nc(this,"hide"),this.onMinimized?.(),DL()?.SDS?.StatusNotifier&&DL()?.SDS.StatusNotifier.fireEvent("windowMinimize",this);for(let e of this.modalWins)e.hideForMinimize=!0,e.onMinimize()},onFullsize(){this.left=0,this.top=0,this.isFullsize=!0,this.fitContainer()},doMaximize(){this.inFitBreakpoint||this.isStandaloneMainWindow||this.onMaximize()},doMinimize(){this.onMinimize()},doFullscreen(){this.onFullscreen()},doRestore(){this.inFitBreakpoint||this.isStandaloneMainWindow||this.onRestore()},onMaximize(){return!!this.maximizable&&!1!==this.beforeMaximize()&&(this.maximizeHook(),void(this.maximized||(this.fitContainerWithTaskbar(),this.maximized=!0,DL()?.SDS?.StatusNotifier&&DL()?.SDS.StatusNotifier.fireEvent("windowBeforeMaximize",this),Nc(this,"maximize"),this.$nextTick((()=>{Nc(this,"window-resize")})))))},getFullHeight(e){let{withinTaskbar:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=e.clientHeight;return!t&&DL()?.SDS?.TaskBar?.height?i-DL()?.SDS.TaskBar.height():i},fitContainerWithTaskbar(){let e=0;DL()?.SDS?.TaskBar&&(e=DL()?.SDS.TaskBar.height()),this.fitContainer({pos:[0,e]})},storeSizeAndPos(){this._storeSizeAndPosProps={width:this.currentWidth,height:this.currentHeight,top:this.top,left:this.left}},getStoreSizeAndPos(){return this._storeSizeAndPosProps},async fitContainer(){let{padding:e=[0,0],pos:t="center",fit:i="both"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=YL(this);this.isFit||this.storeSizeAndPos(),this.isFit=i,fa(t)&&(this.left=t[0],this.top=t[1]);const o="both"===i||"height"===i;"both"===i||"width"===i?(this.currentWidth=n.clientWidth-2*e[0],fa(t)&&(this.currentWidth-=t[0])):this.currentWidth=this.getStoreSizeAndPos().width,o?(this.currentHeight=n.clientHeight-2*e[1],fa(t)&&(this.currentHeight-=t[1])):this.currentHeight=this.getStoreSizeAndPos().height,await this.$nextTick(),"center"===t&&this.alignCenterToContainer(),await this.$nextTick()},restoreSizePos(){const e=this.getStoreSizeAndPos();if(this.isFit&&e){const{width:t,height:i,top:n,left:o}=e;this.currentWidth=t,this.currentHeight=i,this.top=n,this.left=o}this.isFit=!1},_onHelp(){if(this.onHelp)return this.onHelp()},onRestore(){this.isStandalone||(this.restoreHook(),this.restoreSizePos(),this.maximized=!1,DL()?.SDS?.StatusNotifier&&DL()?.SDS.StatusNotifier.fireEvent("windowRestore",this),Nc(this,"restore"),this.$nextTick((()=>{Nc(this,"window-resize")})))},onFullscreen(){this.fullscreenHook()},getStateParam:function(){let e={};return(this.maximized||this.hidden)&&(e.maximized=this.maximized,e.minimized=this.hidden),e},setStatus(e,t){const i=this.maskStack.findIndex((e=>e.type===QL.STATUS));-1!==i&&this.maskStack.splice(i,1),this.maskStack.push({opacity:e,text:t,type:QL.STATUS})},setStatusBusy(e,t){e=sa(e)?e:.4,t=t||this._i18n("common","loading"),this.setStatus(e,t)},clearStatus(){const e=this.maskStack.findIndex((e=>e.type===QL.STATUS));-1!==e&&this.maskStack.splice(e,1)},mask(e){this.maskStack.push({opacity:e,text:void 0,type:QL.OWNER})},unmask(){const e=this.maskStack.findLastIndex((e=>e.type===QL.OWNER));-1!==e&&this.maskStack.splice(e,1)},onMaskMouseDown(){this.blinkWhenTouched&&this.blinkModalChild()},blinkModalChild(){if(!this.manager)return;this.modalWins.sort(this.manager.sortWindows);let e=this.modalWins[this.modalWins.length-1];e?e.blinkModalChild():this.modal&&(this.toFront({focus:"force"}),this.blinkShadow(3))},blinkShadow(e){e<=0||(this.blink=!0,window.setTimeout((()=>{this.blink=!1}),100*e*2))},openWindow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.lastFocusElement=document.activeElement,TL()&&e instanceof TL().Window)return e.owner=this,{type:"extjs",...this.openExtWindow(e)};const{win:n,app:o,rootComponent:s}=KL(e,t,{parentApp:this.$.appContext.app,containerEl:this.getMountEl(),onDestroy:e=>{this.lastFocusElement?.focus?.(),i?.onDestroy?.(e)},...i});return DL()?.SDS?.Desktop&&s&&DL()?.SDS.Desktop.appendChild(s),this.alwaysOnTop&&n.setForceAlwaysOnTop(!0),n.setOwner(this),n.init(this.manager,this.instance,i),{window:n,component:s,app:o,type:"vue"}},onExtWindowHide(e){e.hideForMinimize||XL(this,e),this.lastFocusElement&&this.lastFocusElement.focus()},onExtWindowDestroy(e){XL(this,e),this.lastFocusElement&&this.lastFocusElement.focus()},onExtWindowShow(e){e.owner||(e.owner=this),this.modalWins.includes(e)||this.pushModalWindow(e),this.isLastMaskByOwner||this.mask(0)},openExtWindow(e){return this.lastFocusElement=document.activeElement,e.on("beforedestroy",(()=>{this.onExtWindowDestroy(e)})),e.on("show",(()=>{this.onExtWindowShow(e)})),e.on("hide",(()=>{this.onExtWindowHide(e)})),e.alignTo(this.getWindowEl(),"c-c"),e.onOpenByVue(),{window:e}},openModalWindow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;this.lastFocusElement=document.activeElement;let n=this.openWindow(e,t,i);return"vue"===n.type&&this.pushModalWindow(n.window),n},removeModalWindow(e){let t=this.modalWins.indexOf(e);-1!==t&&this.modalWins.splice(t,1)},alignCenterToContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[0,0];const t=YL(this);this.alignCenterToElement(t,t,e)},alignToElement(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:YL(this);const s=this.getWindowEl().getBoundingClientRect();s.width=this.autoWidth?s.width:this.currentWidth,s.height=this.autoHeight?s.height:this.currentHeight;const r=this.$alignManager.getAlignToXYv2(s,e,t,i,!0,!0,o,n);this.left=r.x,this.top=r.y,ei((()=>{this.doConstrain(o)}))},alignCenterToElement(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:YL(this),i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];this.alignToElement(e,"c->c",i,t)},getMsgBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.messageBox||(e=e||this.$messageWindow,this.messageBox=this.openWindow(e,{synoId:`${this.synoId}-msgbox`,...t},i).window,this.pushModalWindow(this.messageBox)),this.messageBox},showAboutWindow(){let e,t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(i.className)try{e=DL()?.SDS.Config.FnMap[i.className].config}catch{throw new Error(`Failed to get jsConfig of ${i.className}`)}else e=this.jsConfig;if(!e)throw new Error("Cannot find jsConfig");try{t=DL()?.SDS.UIFeatures.IconSizeManager.getIconPath(`${encodeURI(e.jsBaseURL)}/${e.icon||e.icon_32}`,"desktop")}catch{throw new Error("Failed to get icon path")}const n=window._S,o=this.openWindow(this.$aboutWindow,{name:e.title,customName:Array.isArray(e.customAboutTitle)?e.customAboutTitle:null,icon:t,copyrightYear:e.buildTime?e.buildTime.split("-")[0]:n&&n("builddate")?n("builddate").split("/")[0]:"",desc:i.desc,isBeta:i.isBeta,swapNameAndDesc:i.swapNameAndDesc}).window;this.pushModalWindow(o)},setZIndex(e){const t=this.getWindowEl();t&&Fu(t,"zIndex",`${e}`),Nc(this,"zindex-changed",e)},getZIndex(){const e=this.getWindowEl();return e?Fu(e,"zIndex"):0},getToastBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getWindowEl(),o=this.getWindowConfigValue("toastAlignConfig",{});return t=gm({text:e},t),HL(this.$.appContext.app,n,t,gm({constrainMode:!1,absoluteMode:!0,anchorEl:n,containerEl:n,offset:JL,align:"t->t"},i,o))},open(){this.show()}}});var iA=Rm(on({name:"Whitetip",components:{vPortal:Hh,vIcon:bg},directives:{tooltip:lg},mixins:[Aa("form-item")],props:{disabled:{type:Boolean,default:!1},content:{type:[String,Boolean],default:""},delay:{type:Number,default:300},tooltipOptions:{type:Object,default:()=>({})},forceSimple:{type:Boolean,default:!1},portalName:{type:String,default:()=>"whitetip-"+String(Math.round(1e7*Math.random()))},size:{type:String,default:void 0,validator:e=>["normal","small",void 0].includes(e)},type:{type:String,default:"normal"},transitionTime:{type:Array,default:()=>[500,100]},triggerAction:{type:String,default:"adaptive",validator:e=>["hover","click","adaptive"].includes(e)},hasPadding:{type:Boolean,default:!0},hasMargin:{type:Boolean,default:void 0},mobileBreakpoint:{type:[String,Boolean],default:void 0},tipContainer:{type:Function,default:Ca}},data:()=>({isFieldDisabled:void 0}),computed:{innerHasMargin(){return ca(this.hasMargin)?this.hasMargin:!this?.["form-item"]?.instance?.inFlexForm},iconCls(){return{"has-margin":this.innerHasMargin,[this.type]:!0}},isMobile(){return this.$breakpointManager?ca(this.mobileBreakpoint)?ta(this.mobileBreakpoint)?this.$breakpointManager.lessAndEqThan(this.mobileBreakpoint):this.mobileBreakpoint:this.$breakpointManager.mobile:(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1)},innerTriggerAction(){return"adaptive"===this.triggerAction?this.isMobile?"click":"hover":this.triggerAction},currentDisabled(){return this.disabled||this.isFieldDisabled},innerSize(){return ca(this.size)?this.size:this?.["form-item"]?.instance?.inFlexForm||"white"===this.type?"small":"normal"},whiteTipCls(){return{"v-whitetip-wrapper":!0,disabled:this.currentDisabled,[this.innerSize]:!0}}},created(){this._unregister=this.registerFormItemOnCreated()},[Pa](){this._unregister()},methods:{useSlot(){return!1===this.content},getExtraElements(){return this.$refs.tooltip?._tooltip},hideTooltip(){this.$refs.tooltip?._svc_tooltip_e_hide_cb?.()},onActivate(){Nc(this,"activate")},onDeactivate(){Nc(this,"deactivate")},tipOpts(){let e={content:this.content,cls:"v-whitetip-tooltip text-tip",delay:this.delay,bgOpacity:1,offset:[25,25],attachToElement:!0,interactive:!0,onActivate:this.onActivate,onDeactivate:this.onDeactivate,transitionTime:this.transitionTime,triggerAction:this.innerTriggerAction,tipContainer:this.tipContainer};return this.useSlot()&&(this.forceSimple||(e.cls="v-whitetip-tooltip complex-tip"),e.usePortal=!0,e.portalName=this.portalName),!1===this.hasPadding&&(e.cls="v-whitetip-tooltip no-padding"),Object.assign(e,this.tooltipOptions),e},registerFormItemOnCreated(){if(!this["form-item"])return Ca;let e;return this["form-item"].register(this,(t=>{e=t.$watch("isFieldDisabled",(e=>this.isFieldDisabled=e),{immediate:!0})})),()=>{e(),this["form-item"].unregister(this)}}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-portal"),l=Fi("tooltip");return Xi((jo(),Ko("div",{ref:"tooltip",class:ne(e.whiteTipCls),tabindex:"-1"},[rn(e.$slots,"custom",{disabled:e.currentDisabled},(()=>[is(r,{class:ne(["v-whitetip-icon",e.iconCls]),sprite:""},null,8,["class"])])),is(a,{name:e.portalName,to:e.portalName},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["name","to"])],2)),[[l,e.tipOpts()]])}]]);wg("adv-grid-sort-down",rI),wg("adv-grid-sort-up",aI);const nA="ASC",oA="DESC",sA="UNKNOWN",rA=on({name:"AdvancePanelGrid",components:{vIcon:bg,vWhitetip:iA},props:{columns:{type:Array,default:()=>[]},data:{type:Array,default:()=>[]},localSortFunc:{type:Function,default:void 0}},emits:["update:sort"],data:()=>({activeHoverActionRows:new Set,sort:{columnIndex:-1,order:nA}}),computed:{isEmpty(){return 0===this.data.length},innerData(){const{columnIndex:e,order:t}=this.sort;if(-1===e)return[...this.data];const i=this.columns[e],n=this.localSortFunc?this.localSortFunc(i):void 0;return[...this.data].sort(n??((e,n)=>{const o=e[i.field],s=n[i.field];if(o!==s){if(t===oA)return o<s?1:-1;if(t===nA)return o<s?-1:1}return 0}))}},methods:{isSortable:e=>!(e?.sort?.disable??1),getTableHeadCls(e){return{"head-cell":!0,"disable-sort":!this.isSortable(e)}},hasSortIcon(e){return this.sort.columnIndex===e},getSortIconCls(e){return{activate:this.hasSortIcon(e)}},getSortIconName(e,t){let i=sA;return i=t!==this.sort.columnIndex?e?.sort?.defaultOrder??nA:this.sort.order,i===nA?"adv-grid-sort-up":"adv-grid-sort-down"},onSort(e,t){if(!this.isSortable(e))return;let i=sA;i=t!==this.sort.columnIndex?e?.sort?.defaultOrder??nA:this.sort.order===nA?oA:nA,this.sort={columnIndex:t,order:i}},getCellTooltip:e=>e?.tooltip??!1,getHeaderTip:e=>!!ta(e.tip)&&e.tip,getHeaderTipSlotName:e=>`${e.field}.tip`,getCellSlotName:e=>e?.slot??"default-cell",useCellSlot:e=>Boolean(e.slot),getCellHtml:e=>e?.html??!1,getCellContent:e=>ta(e)?e:e?.content??"",getRowHoverActionSlotName:e=>`${e.field}-row-hover-action`,hasRowHoverAction(e){return this.columns.length>0&&this.columns.length-1===e},getRowHoverActionCls(e){return{"keep-activate":this.activeHoverActionRows.has(e)}},activateHoverAction(e){return()=>{this.activeHoverActionRows.add(e),this.activeHoverActionRows=new Set(this.activeHoverActionRows)}},deactivateHoverAction(e){return()=>{this.activeHoverActionRows.delete(e),this.activeHoverActionRows=new Set(this.activeHoverActionRows)}}}}),aA={class:"adv-grid"},lA={class:"adv-grid-thead"},dA={role:"row",class:"table-head-row"},cA=["onClick"],uA={class:"head-cell-content"},hA={class:"adv-grid-body"},pA={key:0,class:"empty-body"},fA=["colspan"],mA={class:"empty-body-content"},gA={class:"cell-wrapper"},vA={class:"cell"},yA=["innerHTML"],bA={key:0,class:"row-hover-action"};var wA=Rm(rA,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-whitetip"),l=Fi("tooltip");return jo(),Ko("table",aA,[ts("thead",lA,[ts("tr",dA,[(jo(!0),Ko(Po,null,tn(e.columns,((t,i)=>(jo(),Ko("th",{key:i,class:"table-head"},[Xi((jo(),Ko("div",{class:ne(e.getTableHeadCls(t)),onClick:n=>e.onSort(t,i)},[ts("div",uA,ce(t.title),1),e.isSortable(t)?(jo(),Zo(r,{key:0,class:ne(["sort-icon",e.getSortIconCls(i)]),name:e.getSortIconName(t,i),"svg-icon-set":"set02"},null,8,["class","name"])):ls("",!0),Boolean(t.tip)?(jo(),Zo(a,{key:1,size:"small",class:"head-cell-tip",content:e.getHeaderTip(t),"has-margin":!1,type:"white"},{default:Ii((()=>[rn(e.$slots,e.getHeaderTipSlotName(t))])),_:2},1032,["content"])):ls("",!0)],10,cA)),[[l,e.getCellTooltip(t)]])])))),128))])]),ts("tbody",hA,[e.isEmpty?(jo(),Ko("tr",pA,[ts("td",{colspan:e.columns.length},[ts("div",mA,[rn(e.$slots,"empty-body")])],8,fA)])):ls("",!0),(jo(!0),Ko(Po,null,tn(e.innerData,((t,i)=>(jo(),Ko("tr",{key:i,role:"row",class:ne(["table-row",e.getRowHoverActionCls(i)])},[(jo(!0),Ko(Po,null,tn(e.columns,((n,o)=>(jo(),Ko("td",{key:o,class:"table-cell"},[ts("div",gA,[Xi((jo(),Ko("div",vA,[rn(e.$slots,e.getCellSlotName(t[n.field]),{cell:t[n.field]},(()=>[e.getCellHtml(t[n.field])?(jo(),Ko("div",{key:0,innerHTML:e.getCellHtml(t[n.field])},null,8,yA)):ls("",!0),rs(" "+ce(e.getCellContent(t[n.field])),1)]))])),[[l,e.getCellTooltip(t[n.field])]]),e.hasRowHoverAction(o)?(jo(),Ko("div",bA,[rn(e.$slots,"row-hover-action",{item:t,column:n,index:i,activate:e.activateHoverAction(i),deactivate:e.deactivateHoverAction(i)})])):ls("",!0)])])))),128))],2)))),128))])])}]]);const CA=on({name:"AdvancePanelForm",props:{fields:{type:Array,default:()=>[]}},computed:{formCls(){return["adv-form",{mobile:this.isMobile}]},isMobile(){return this.$breakpointManager?this.$breakpointManager.mobile:(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1)}},methods:{getValueCls:e=>({"multiple-line":e.multipleLine})}}),xA={class:"adv-form-label"};var SA=Rm(CA,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:ne(e.formCls)},[(jo(!0),Ko(Po,null,tn(e.fields,(t=>(jo(),Ko(Po,{key:t.name},[ts("div",xA,[rn(e.$slots,`${t.name}-label`)]),ts("div",{class:ne([e.getValueCls(t),"adv-form-value"])},[rn(e.$slots,`${t.name}-value`)],2)],64)))),128))],2)}]]);const kA=on({name:"AdvancePanelColumns",props:{columns:{type:Array,default:()=>[]}}}),_A={class:"adv-columns"};var IA=Rm(kA,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",_A,[(jo(!0),Ko(Po,null,tn(e.columns,((t,i)=>(jo(),Ko("div",{key:i,class:"adv-column"},[rn(e.$slots,t.name)])))),128))])}]]);const TA="top",DA="bottom",LA=on({name:"Affix",props:{target:{type:Function,default:()=>document.documentElement},scrollContainers:{type:Array,default:()=>[]},offsetTop:{type:Number,default:0},offsetBottom:{type:Number,default:0},fix:{type:String,default:TA},innerClass:{type:Object,default:()=>({})},innerStyle:{type:Object,default:()=>({})}},data:()=>({fixed:!1,placeholderRect:void 0,top:0}),computed:{fixedTop(){return this.fix===TA},fixedBottom(){return this.fix===DA},placeholderStyle(){return{width:`${this.placeholderRect.width}px`,height:`${this.placeholderRect.height}px`}},_innerStyle(){let e=this.innerStyle;return this.fixed&&(e={...e,position:"fixed",width:`${this.placeholderRect.width}px`,height:`${this.placeholderRect.height}px`}),(this.fixedTop||this.fixedBottom)&&(e.top=`${this.top}px`),e}},mounted(){this.disposedFn=[],this.$nextTick((()=>{const e=this.scrollContainers?.length>0?this.scrollContainers:function(e){const t=[];let i=e;for(;i;)(document.documentElement===i||Qu(i))&&t.push(i),i=i.parentNode;return t}(this.$el);this.disposedFn.push(oD(this.$refs.inner,(()=>{this.updatePos()})));for(const t of e)this.disposedFn.push(Pu(t,"scroll",(()=>this.updatePos())));this.updatePos()}))},[Pa](){for(const e of this.disposedFn)e?.()},methods:{updatePos(){this.fixed=!1,this.$nextTick((()=>{const e=(this.target?.()??document.documentElement).getBoundingClientRect(),t=this.$refs.inner.getBoundingClientRect();this.placeholderRect=t,this.fixedTop?t.top<e.top+this.offsetTop&&(this.fixed=TA,this.top=e.top+this.offsetTop):this.fixedBottom&&t.bottom>e.bottom-this.offsetBottom&&(this.fixed=DA,this.top=e.bottom-this.offsetBottom-t.height)}))}}}),AA={class:"affix-wrapper"};var EA=Rm(LA,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",AA,[e.fixed?(jo(),Ko("div",{key:0,class:"affix-placeholder",style:Q(e.placeholderStyle)},null,4)):ls("",!0),ts("div",{ref:"inner",class:ne(["affix-inner",e.innerClass]),style:Q(e._innerStyle)},[rn(e.$slots,"default")],6)])}]]),MA=on({name:"ButtonDropdown",mixins:[Aa("button")],emits:["update:is-open"],data:()=>({dropdownItem:null}),async mounted(){th("button-dropdown is deprecated, please use button with dropdown slot directly instead"),this.button&&(this.button.register(this),await this.$nextTick(),this.getDropdownItem())},[Pa](){this.button&&this.button.unregister(this),this.dropdownItem&&(this.dropdownItem=null)},methods:{getDropdownItem(){const e=PL(Rc(this));this.dropdownItem=e,this.button.instance?.$el&&this.dropdownItem?.setTriggerButton?.(this.button.instance.$el),this.dropdownItem.$on("update:is-open",(e=>this.$emit("update:is-open",e)))}},render(){return Ka(this)?.default()}}),BA=(d(569),Rm(on({name:"Menu",components:{vScrollbar:wD,vTrapFocus:pL},mixins:[Wc,La("menu"),Aa("menu"),Aa("sub-menu-item"),Aa("trigger-action"),Sm,vm("menu")],props:{width:{type:[Number,String],default:170,validator:e=>"string"!=typeof e||"auto"===e},alignment:{type:String,default:"tl->tr"},defaultAlignment:{type:Object,default:()=>({pos:"tl->tr"})},height:{type:Number,default:void 0},useScrollbar:{type:Boolean,default:!1},position:{type:Array,default:()=>[0,0]},isOpen:{type:Boolean,default:!0},isRoot:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:void 0},emitEventOnly:{type:Boolean,default:!1},zIndex:{type:Number,default:15e3},autoFocus:{type:[Boolean,Number],default:!0},onClose:{type:Function,default:void 0},triggerAction:{type:Object,default:()=>{}},focusTriggerWhenClosed:{type:[Boolean,Function],default:!0}},emits:["item-select","item-change","item-created","item-hover","item-hover-out","item-removed","group-created","select","change","menu-closed","menu-opened","close-menu","mouseenter","mouseleave"],data:()=>({activeIndex:0,items:[],groups:[],subMenus:[],parentMenuItem:null,triggerButton:null,showIcon:!1,isOver:!1,isOutOfBound:!1,forceScroll:void 0,forceHeight:void 0,forceWidth:void 0}),computed:{menuCls(){return["v-menu",{"v-menu-icon-menu":this.showIcon}]},innerWidth(){return this.getMenuConfigValue("width")},menuStyle(){let e=this.height?`${this.height}px`:"auto",t=ta(this.innerWidth)?this.innerWidth:+this.innerWidth+"px";return ca(this.forceHeight)&&(e=`${this.forceHeight}px`),ca(this.forceWidth)&&(t=`${this.forceWidth}px`),{height:e,width:t,left:`${this.position[0]}px`,top:`${this.position[1]}px`,zIndex:this.zIndex}}},watch:{isOpen:{immediate:!0,async handler(e){!0===e&&this.autoActiveItem()}},isOver:{handler(e){this.isRoot||!1===e&&this.tryCloseMenu()}}},created(){Vc(this,"item-created",(e=>{this.items.push(e),(e.icon||"checkbox"===e.type||"select"===e.type)&&(this.showIcon=!0)})),Vc(this,"item-hover",(e=>{const t=this.items.indexOf(e);t>=0&&this.activeItemByIndex(t)})),Vc(this,"item-hover-out",(e=>{this.deactiveItem(e)})),Vc(this,"item-removed",(e=>{this.items=this.items.filter((t=>t!==e))})),Vc(this,"group-created",(e=>{this.groups.push(e)})),Vc(this,"select",((e,t)=>{this.isRoot?(!1===this.emitEventOnly&&e.setSelected(t),Nc(this,"item-select",e,t),this.canCloseOnSelect(e)&&this.closeMenu(e)):this.dispatch("Menu","select",[e,t])})),Vc(this,"change",((e,t,i)=>{this.isRoot?Nc(this,"item-change",e,t,i):this.dispatch("Menu","change",[e,t,i])}))},mounted(){if(this.isRoot){this.getTriggerAction()?.register?.(this)}else this.menu?.register(this),this["sub-menu-item"]?.register?.(this);Nc(this,"menu-opened")},[Pa](){if(this.isRoot){this.getTriggerAction()?.unregister?.(this)}else this.menu?.unregister(this),this["sub-menu-item"]?.unregister(this);Nc(this,"menu-closed")},methods:{async autoActiveItem(){sa(this.autoFocus)?(await ei(),this.activeItemByIndex(this.autoFocus)):this.autoFocus&&(await ei(),this.tryActiveFirstItem())},getDefaultAlignment(){return this.defaultAlignment},canCloseOnSelect(e){return ca(e.closeOnSelect)?ia(e.closeOnSelect)?e.closeOnSelect():e.closeOnSelect:ca(this.closeOnSelect)?this.closeOnSelect:"item"===e.type},canClose(){return this.subMenus?!this.isOver&&this.subMenus.every((e=>e.canClose())):!this.isOver},tryCloseMenu(){this.parentMenuItem&&this.parentMenuItem.tryCloseMenu()},getTriggerAction(){return this.triggerAction?this.triggerAction:this["trigger-action"]},async closeMenu(e){if(this.subMenus)for(const e of this.subMenus)await e.closeMenu();if(this.onClose?.(),this.isRoot){const t=this.getTriggerAction();t?.closeDropdown?.(),await this.$nextTick();const i=e?.focusTriggerWhenClosed??this.focusTriggerWhenClosed;!0===i?t?.focusTrigger?.():ia(i)&&i()}Nc(this,"close-menu")},register(e){if("Menu"===e.$options.name){if(e.isRoot)return;this.subMenus.push(e)}else"MenuSubmenu"===e.$options.name&&(e.parentMenu=this)},unregister(e){const t=this.subMenus.indexOf(e);t>-1&&this.subMenus.splice(t,1)},withinSubMenuEl(e){return this.subMenus.some((t=>t.contains(e)))},onMouseEnter(){this.isOver=!0,Nc(this,"mouseenter")},onMouseLeave(){this.isOver=!1,Nc(this,"mouseleave")},async onArrowKeydown(e){du(e)?this.activePrevItem():cu(e)?this.activeNextItem():hu(e)||pu(e)?this.items[this.activeIndex]&&this.items[this.activeIndex].hasChildMenu&&this.items[this.activeIndex].openChildMenuWithFocus():uu(e)&&(this.parentMenuItem?.$el?.focus(),await this.closeMenu())},tryActiveFirstItem(){for(let e=0,t=this.items.length;e<t;e++)if(this.items[e].activatable)return this.activeItemByIndex(e)},activePrevItem(){if(-1===this.activeIndex)return this.tryActiveFirstItem();for(let e=this.activeIndex-1;e>=0;e--)if(this.items[e].activatable)return this.activeItemByIndex(e)},activeNextItem(){if(-1===this.activeIndex)return this.tryActiveFirstItem();for(let e=this.activeIndex+1;e<this.items.length;e++)if(this.items[e].activatable)return this.activeItemByIndex(e)},activeItemByIndex(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||this.items.length<=e)return;const t=this.items[e];this.activeItem(t,e)},activeItem(e,t){e&&(-1!==this.activeIndex&&this.items[this.activeIndex].deactivate(),e.activate(),this.activeIndex=t)},deactiveItem(e){e&&(e.deactivate(),this.activeIndex=-1)},async tryConstrain(e){e.constrainHeight&&(this.forceHeight=e.constrainHeight,this.forceScroll=!0,await ei(),await this.autoActiveItem()),e.constrainWidth&&(this.forceWidth=e.constrainWidth)}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-scrollbar"),a=Bi("v-trap-focus"),l=Fi("syno-id");return Xi((jo(),Zo(a,{ref:"menu",style:Q(e.menuStyle),class:ne(e.menuCls),tabindex:"-1",role:"listbox",onMouseenter:e.onMouseEnter,onMouseleave:e.onMouseLeave,onKeydown:[Ur(Wr(e.onArrowKeydown,["prevent"]),["up","native"]),Ur(Wr(e.onArrowKeydown,["prevent"]),["down","native"]),Ur(Wr(e.onArrowKeydown,["prevent"]),["right","native"]),Ur(Wr(e.onArrowKeydown,["prevent"]),["left","native"]),Ur(Wr(e.onArrowKeydown,["prevent"]),["enter","native"]),t[0]||(t[0]=Ur(Wr((t=>e.closeMenu()),["prevent","stop"]),["esc","native"]))]},{default:Ii((()=>[rn(e.$slots,"top-actions"),e.forceScroll||e.useScrollbar?(jo(),Zo(r,{key:0,"active-adaptive-scrollbar":!1},{default:Ii((()=>[rn(e.$slots,"default")])),_:3})):rn(e.$slots,"default",{key:1}),rn(e.$slots,"bottom-actions")])),_:3},8,["style","class","onMouseenter","onMouseleave","onKeydown"])),[[lr,e.isOpen],[l]])}]]));wg("btn-arrow",Z_);const OA={NORMAL:"normal",SMALL:"small"},$A=["","footbar","dropdown","styleless-dropdown","styleless","split","border","border-dropdown","border-split","footbar-border","footbar-border-dropdown","welcome","round","round-border"];var FA=on({name:"Button",components:{vIcon:bg,vPortal:Hh},directives:{clickoutside:$m,tooltip:lg},mixins:[Wc,Sm,La("trigger-action",["closeDropdown",{expose:"focusTrigger",internal:"focus"}]),wu,Aa("breakpoint-buttons-group"),Cg,vm("button")],props:{type:{type:String,default:"",validator:e=>$A.includes(e)},size:{type:String,default:OA.NORMAL,validator:e=>Object.values(OA).includes(e)},display:{type:String,default:"text",validator:e=>["text","icon","icon-text"].includes(e)},suffix:{type:String,default:"grey"},htmlType:{type:String,default:"button"},disabled:{type:Boolean,default:!1},icon:{type:String,default:void 0},alignment:{type:[Object,String],default:()=>({pos:"tl->bl",offset:[0,1],opts:{constrainHeight:!1}})},menuAlign:{type:String,default:void 0},menuConstrainHeight:{type:Boolean,default:void 0},tooltip:{type:[Object,String,Boolean],default:!1},dropdownOffset:{type:Array,default:()=>{}},useBreakpoint:{type:Boolean,default:!0},name:{type:String,default:""},mobileBreakpoint:{type:[String,Boolean],default:"xxs"},active:{type:Boolean,default:!1},getExtraElements:{type:Function,default:void 0},dropdownIcon:{type:Object,default:()=>({})}},emits:["click","dropdown-show","dropdown-open","dropdown-close","click-dropdown"],data:()=>({prefixCls:"v-btn",clickTimer:null,hasDropdownSlot:!1,dropdownShown:!1,dropdownItem:null}),computed:{isMobile(){return!this.$breakpointManager&&this.mobileBreakpoint?(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1):this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint)},isStyleless(){return this.type.includes("styleless")},isDropdown(){return this.type.includes("dropdown")},hasDropdown(){return this.isDropdown||this.isSplitMode},isSplitMode(){return this.type.includes("split")},isBorder(){return this.type.includes("border")},dropdownSvgIconSet(){return this.isBorder?"set13":this.isStyleless||"grey"==this.suffix||"cancel"===this.suffix?"set01":"set02"},innerDropdownIconBinding(){return this.getButtonConfigValue("dropdownIcon")},btnClassObj(){const{prefixCls:e,type:t,suffix:i,icon:n}=this;return{[e]:!0,[`${e}-${t}`]:t,[`${e}-styleless`]:this.isStyleless,[`${e}-${i}`]:i,[`${e}-${this.size}`]:this.size,[`${e}-menu-shown`]:this.dropdownShown,[`${e}-dropdown-shown`]:this.dropdownShown,[`${e}-pressed`]:this.dropdownShown,[`${e}-active`]:this.active,[`${e}-dropdown`]:this.hasDropdown,[`${e}-split`]:this.isSplitMode,[`${e}-disabled`]:this.disabled,mobile:this.isMobile,[`${e}-display-${this.display}`]:!0,...n&&{[n]:!0}}},ariaLabel(){if(this.icon){const e=this.getTip();return e&&e.content||this.name}},innerAlignment(){(ca(this.menuAlign)||ca(this.dropdownOffset)||ca(this.menuConstrainHeight))&&th("The prop 'menuAlign', 'dropdownOffset', 'menuConstrainHeight' is deprecated, please use 'alignment' instead.");let e=this.getPopupConfigValue("alignment");return ta(e)&&(e={pos:e}),gm(e,{pos:this.menuAlign,offset:this.dropdownOffset,opts:{constrainHeight:this.menuConstrainHeight}})}},watch:{dropdownShown:{async handler(e){Nc(this,"dropdown-show",e),Nc(this,!0===e?"dropdown-open":"dropdown-close",e)},immediate:!0}},mounted(){this["breakpoint-buttons-group"]&&this.useBreakpoint&&this["breakpoint-buttons-group"].register(this),this.hasDropdownSlot=Ya(this,"dropdown")},[Pa](){this["breakpoint-buttons-group"]&&this.useBreakpoint&&this["breakpoint-buttons-group"].unregister(this),this.clearDropdownItem()},methods:{innerGetExtraElements(){let e=this.getExtraElements?.()??[];return e=fa(e)?e:[e],[this.$el,...e]},focus(){this.$el?.focus()},closeDropdown(){this.dropdownShown=!1},hasDefaultSlot(){return Ya(this,"default")},hasIconSlot(){return Ya(this,"icon")},onClickoutside(){this.closeDropdown()},getTip(){return!1!==this.tooltip&&(na(this.tooltip)?this.tooltip:{content:this.tooltip})},setDropdownItem(e){this.clearDropdownItem(),this.dropdownItem=e},clearDropdownItem(){this.dropdownItem&&(this.dropdownItem=null)},register(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>{};(function(e){return va(e,BA)}(e)||function(e){return ia(e.isMenu)&&e.isMenu()}(e)||function(e){return va(e,MA)}(e))&&(this.setDropdownItem(e),t(this))},unregister(e){e&&this.dropdownItem===e&&this.clearDropdownItem()},handleClick(e){this.disabled||(e.stopPropagation(),this.hasDropdownSlot&&(this.isSplitMode?this.dropdownShown=!1:this.dropdownShown=!this.dropdownShown),this.dispatch("ButtonGroup","button.click",this),Nc(this,"click",e))},handleDropdownBtnClick(e){this.disabled||this.isSplitMode&&(e.stopPropagation(),this.dropdownShown=!this.dropdownShown,Nc(this,"click-dropdown",e))},handleKeydown(e){this.hasDropdown&&e.stopPropagation(),this.dropdownShown=!0},onDropdownAligned(e){this.dropdownItem?.tryConstrain(e)}}});const VA=["type","aria-haspopup","aria-expanded","aria-disabled","aria-label","role"],PA={key:0,class:"v-btn-content"},NA=ts("i",{class:"split-div"},null,-1);var RA=Rm(FA,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-portal"),l=Fi("tooltip"),d=Fi("clickoutside"),c=Fi("syno-id");return Xi((jo(),Ko("button",{type:e.htmlType,class:ne(e.btnClassObj),"aria-haspopup":e.hasDropdown,"aria-expanded":e.dropdownShown,"aria-disabled":e.disabled,"aria-label":e.ariaLabel,role:e.hasDropdown?"combobox":"button",onClick:t[0]||(t[0]=function(){return e.handleClick&&e.handleClick(...arguments)}),onKeydown:t[1]||(t[1]=Ur((function(){return e.handleKeydown&&e.handleKeydown(...arguments)}),["down"]))},[e.hasDefaultSlot()||e.hasIconSlot()?Xi((jo(),Ko("span",{key:0,class:ne(`${e.prefixCls}-text`)},[rn(e.$slots,"icon",{disabled:"disabled"}),e.hasDefaultSlot()?(jo(),Ko("span",PA,[rn(e.$slots,"default")])):ls("",!0),e.isDropdown?(jo(),Zo(r,hs({key:1,class:e.prefixCls+"-dropdown-btn",name:"btn-arrow","svg-icon-set":e.dropdownSvgIconSet},e.innerDropdownIconBinding,{onClick:e.handleDropdownBtnClick}),null,16,["class","svg-icon-set","onClick"])):ls("",!0)],2)),[[l,e.getTip()]]):ls("",!0),e.isSplitMode?(jo(),Ko(Po,{key:1},[NA,is(r,hs({class:e.prefixCls+"-dropdown-btn split-btn",name:"btn-arrow","svg-icon-set":e.dropdownSvgIconSet},e.innerDropdownIconBinding,{onClick:e.handleDropdownBtnClick}),null,16,["class","svg-icon-set","onClick"])],64)):ls("",!0),e.dropdownShown?(jo(),Zo(a,{key:2,ref:"portal","mount-to":e.getContainerEl(),"acquire-z-index":"",alignment:e.innerAlignment,anchor:e.$el,onAligned:e.onDropdownAligned},{default:Ii((()=>[Xi((jo(),Ko("div",{ref:"dropdown",class:ne(e.prefixCls+"-dropdown")},[rn(e.$slots,"dropdown",{closeDropdown:e.closeDropdown,focusTrigger:e.focus})],2)),[[d,e.onClickoutside,e.innerGetExtraElements(),{children:!0}]])])),_:3},8,["mount-to","alignment","anchor","onAligned"])):ls("",!0)],42,VA)),[[c]])}]]);wg("alert-bar-close",lI),wg("alert-bar-status-info",tT),wg("alert-bar-status-processing",nT),wg("alert-bar-status-normal",iT),wg("alert-bar-status-warning",oT),wg("alert-bar-status-error",eT);var HA=Rm(on({name:"AlertBar",components:{withAffix:NL(EA),vButton:RA,vLayout:qL,vRichText:Ec,vIcon:bg},mixins:[Wc,Bc,Cg,Aa("alert-bar-container"),vm("alertBar")],props:{affix:{type:[Boolean,Object],default:!1},suffix:{type:String,default:"grey"},showClose:{type:Boolean,default:void 0},onClick:{type:Function,default:Ca},text:{type:String,default:""},actionType:{type:[Boolean,String],default:!1},actionText:{type:String,default:"close"},actionCls:{type:String,default:""},textCls:{type:String,default:""},onClickActionBtn:{type:Function,default:Ca},icon:{type:[Boolean,String,Object],default:!1},closeIcon:{type:Object,default:()=>({})}},emits:["close"],data:()=>({prefix:"v-alert-bar"}),computed:{innerAffixBind(){const e=oa(this.affix)?{}:this.affix;return{target:this["alert-bar-container"]?()=>this["alert-bar-container"]?.instance?.getScrollEl():void 0,...e}},innerCloseIconBinding(){return this.getAlertBarConfigValue("closeIcon")},innerShowClose(){return!!oa(this.showClose)&&this.showClose},wrapCls(){return[this.prefix,`${this.prefix}-${this.suffix}`,{"has-icon":this.hasIcon,"has-btn":this.hasActionButton,"has-link":this.hasActionLink,"has-close":this.innerShowClose}]},extendedActionBtnCls(){return[`${this.prefix}-action`,"right",this.actionCls]},extendedActionLinkCls(){return[`${this.prefix}-action`,"right",`${this.prefix}-action__link`,this.actionCls,{"has-close":this.innerShowClose}]},extendedTextCls(){return[`${this.prefix}-text`,this.textCls,{"has-btn":this.hasActionButton,"has-link":this.hasActionLink,"has-icon":this.hasIcon,"has-close":this.innerShowClose}]},hasIcon(){return Boolean(this.icon)},innerIcon(){const e=this.getAlertBarConfigValue("icon"),t=ta(e)?e:function(e){switch(e){case"gery":default:return"info";case"blue":return"processing";case"green":return"normal";case"orange":return"warning";case"red":return"error"}}(this.suffix);return gm({name:`alert-bar-status-${t}`},na(e)?e:{})},hasActionButton(){return"button"===this.actionType},hasActionLink(){return"link"===this.actionType}},methods:{onClose(){Nc(this,"close")}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-rich-text"),l=Bi("v-button"),d=Bi("v-layout"),c=Bi("with-affix"),u=Fi("syno-id");return jo(),Zo(c,hs({wrap:e.affix},e.innerAffixBind),{default:Ii((()=>[Xi((jo(),Zo(d,{type:"alert-bar"},{default:Ii((()=>[ts("div",{class:ne(e.wrapCls),tabindex:"-1"},[e.hasIcon?(jo(),Zo(r,hs({key:0},e.innerIcon,{class:"alert-bar-status-icon"}),null,16)):ls("",!0),ts("div",{tabindex:"0",class:ne(e.extendedTextCls),onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)})},[rn(e.$slots,"text",{},(()=>[is(a,{text:e.text,"allow-attrs":["href","target"]},null,8,["text"])]))],2),e.hasActionButton?(jo(),Zo(l,{key:1,"syno-id":`${e.synoId}-action-button`,class:ne(e.extendedActionBtnCls),suffix:e.suffix,size:"small",onClick:t[1]||(t[1]=()=>e.onClickActionBtn(this))},{default:Ii((()=>[rs(ce(e.actionText),1)])),_:1},8,["syno-id","class","suffix"])):ls("",!0),e.hasActionLink?(jo(),Ko("button",{key:2,class:ne(e.extendedActionLinkCls),onClick:t[2]||(t[2]=()=>e.onClickActionBtn(this))},ce(e.actionText),3)):ls("",!0),e.innerShowClose?(jo(),Zo(r,hs({key:3,tabindex:"0",name:"alert-bar-close",class:`${e.prefix}-close right`,size:[20,20],role:"button","aria-label":e._i18n("common","close"),"svg-icon-set":"set21"},e.innerCloseIconBinding,{onClick:e.onClose}),null,16,["class","aria-label","onClick"])):ls("",!0)],2)])),_:3})),[[u]])])),_:3},16,["wrap"])}]]);const zA=["#CF272D","#FFFFFF","#CF5600","#FFFFFF","#D1970F","#A67003","#18AD90","#FFFFFF","#FFFFFF","#0890C2","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#252AB8","#FFFFFF","#0067E6","#FFFFFF"],WA=["#FFC3BD","#FF968F","#FFC987","#FFAB52","#FFEE99","#FFD447","#A5FADE","#26D4AC","#18AD90","#65DFF7","#8CCBFF","#2789F2","#003B99","#00304D","#A5B5FA","#252AB8","#91F0FF","#4E65E6"],jA=on({name:"Avatar",components:{vButton:RA,vIcon:bg},mixins:[Cg],props:{size:{type:String,default:"normal"},username:{type:String,default:"Red Huang"},showAccountSwitcher:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},computed:{initialName(){return function(e){const t=e.split(" ");return t.length>0?((t.shift()||"").charAt(0)+(t?.pop()?.charAt(0)??"")).toUpperCase():""}(this.username)},avatarCls(){return[`v-avatar--${this.size}`]},avatarStyle(){return{"--bkg-color":WA[this.username.length%WA.length],"--front-color":zA[this.username.length%zA.length]}}}}),UA={key:0,class:"rounded-icon"};var GA=Rm(jA,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-button"),l=Fi("syno-id");return Xi((jo(),Zo(a,{"syno-id":`${e.synoId}-button`,class:ne(["v-avatar",e.avatarCls]),display:"text",type:"styleless",style:Q(e.avatarStyle),"menu-align":"tr->br",disabled:e.disabled},{dropdown:Ii((()=>[rn(e.$slots,"dropdown")])),default:Ii((()=>[rs(ce(e.initialName)+" ",1),e.showAccountSwitcher?(jo(),Ko("div",UA,[is(r,{name:"avatar-user",sprite:""})])):ls("",!0)])),_:3},8,["syno-id","style","class","disabled"])),[[l]])}]]);const qA=["none","regular","dense"],YA=["row","column"],KA=["start","end","baseline","center","stretch"],ZA=["space-between","space-around","space-evenly"];var JA=on({name:"Space",props:{alignItem:{type:String,default:"center",validator:e=>KA.includes(e)},justifyContent:{type:String,default:"center",validator:e=>KA.includes(e)||ZA.includes(e)},direction:{type:String,default:"row",validator:e=>YA.includes(e)},spacing:{type:String,default:"regular",validator:e=>qA.includes(e)}},data:()=>({}),computed:{wrapperCls(){return["v-space",`direction-${this.direction}`,`align-${this.alignItem}`,`justify-content-${this.justifyContent}`,`spacing-${this.spacing}`]}}}),QA=Rm(JA,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:ne(e.wrapperCls)},[rn(e.$slots,"default")],2)}]]);wg("menu-item-tick",WI),wg("menu-item-untick",Ia);const XA=on({name:"MenuItem",components:{vIcon:bg},mixins:[Wc],props:{id:{type:String,default:void 0},title:{type:String,default:void 0},desc:{type:String,default:void 0},icon:{type:[String,Object],default:void 0},iconType:{type:String,default:void 0},type:{type:String,default:"item"},disabled:{type:Boolean,default:void 0},selected:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},closeOnSelect:{type:[Boolean,Function],default:void 0},tooltip:{type:[String,Object],default:()=>{}},useHtml:{type:Boolean,default:!1},focusTriggerWhenClosed:{type:[Boolean,Function],default:void 0}},emits:["click","update:selected","selected","changed"],data(){return{isGroupItem:!1,innerSelected:this.selected,innerDisabled:this.disabled||!1,active:!1}},computed:{iconProps(){const e=this.getIconType();if(na(this.icon))return this.icon;let t=ta(this.icon)?{name:this.icon}:{};return"checkbox"===e?(t.name="menu-item-checkbox",t.sprite=!0):"select"===e&&(t={name:this.innerSelected?"menu-item-tick":"menu-item-untick",svgIconSet:"set03"}),t},role(){return"checkbox"===this.type?"checkbox":"select"===this.type?"option":"menuitem"},ariaChecked(){return"checkbox"===this.type&&Boolean(this.innerSelected)},ariaSelected(){return"select"===this.type&&!this.innerSelected},showIcon(){const e=this.getIconType();return this.icon||"checkbox"===e||"select"===e},iconCls(){const e=this.getIconType();return["v-icon","icon--left",{[`v-icon--${e}`]:"checkbox"===e||"select"===e,"v-checkbox-icon":"checkbox"===e}]},itemCls(){const e=this.getIconType();return["v-menu-item",{"v-menu-item-disabled disabled":this.innerDisabled,"v-checkbox-wrapper v-menu-item-checkbox":"checkbox"===e,"v-menu-item-checkbox-checked checked":"checkbox"===e&&this.innerSelected,"v-menu-item-checkbox-indeterminate indeterminate":this.indeterminate,"v-menu-item-select":"select"===e,"v-menu-item-select-selected selected":"select"===e&&this.innerSelected,active:this.active}]},activatable(){return!this.innerDisabled},mergedTooltip(){const e=ta(this.tooltip)?{content:this.tooltip,overflowOnly:!1}:this.tooltip;return gm({content:this.desc?`${this.title} ${this.desc}`:this.title,overflowOnly:()=>this.$refs.text},e)}},watch:{selected(e){this.indeterminate?this.innerSelected=!1:this.innerSelected=e},indeterminate(){this.indeterminate&&(this.innerSelected=!1)},disabled:{handler(e){this.innerDisabled=e},immediate:!0}},created(){"MenuGroup"===this.$parent.$options.name&&(this.isGroupItem=!0),this.dispatch("MenuGroup","item-created",this),this.dispatch("Menu","item-created",this)},[Pa](){this.dispatch("MenuGroup","item-removed",this),this.dispatch("Menu","item-removed",this)},methods:{hasSuffix(){return Ya(this,"suffix")},getIconType(){return ca(this.iconType)?this.iconType:this.type},onClick(e){if(this.innerDisabled)return;Nc(this,"click",e);const t="item"===this.type||!this.innerSelected;this.isGroupItem?this.dispatch("MenuGroup","select",[this,t]):this.dispatch("Menu","select",[this,t])},setSelected(e){if(e===this.innerSelected||this.indeterminate)return;const t=this.innerSelected;this.innerSelected=e,"checkbox"!==this.type&&"select"!==this.type||this.dispatch("Menu","change",[this,e,t]),Nc(this,"update:selected",e,t),Nc(this,"changed",e,t),this.innerSelected&&Nc(this,"selected",e,t)},setDisabled(e){void 0===this.disabled&&e!==this.innerDisabled&&(this.innerDisabled=e)},onMouseEnter(e){this.innerDisabled||this.dispatch("Menu","item-hover",this)},onMouseLeave(e){this.innerDisabled||this.dispatch("Menu","item-hover-out",this)},activate(){this.$el.focus(),this.active=!0},deactivate(){this.active=!1}}}),eE=["role","aria-checked","aria-selected","tabindex"],tE=["innerHTML"],iE={key:2,class:"item-suffix"};var nE=Rm(XA,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Fi("tooltip"),l=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.itemCls),role:e.role,"aria-checked":e.ariaChecked,"aria-selected":e.ariaSelected,tabindex:e.activatable?"0":"",onClick:t[0]||(t[0]=Wr((t=>e.onClick(t)),["prevent"])),onKeydown:[t[1]||(t[1]=Ur(Wr((t=>e.onClick(t)),["prevent"]),["enter"])),t[2]||(t[2]=Ur(Wr((t=>e.onClick(t)),["prevent"]),["space"]))],onMouseenter:t[3]||(t[3]=function(){return e.onMouseEnter&&e.onMouseEnter(...arguments)}),onMouseleave:t[4]||(t[4]=function(){return e.onMouseLeave&&e.onMouseLeave(...arguments)})},[rn(e.$slots,"default",{},(()=>[e.showIcon?(jo(),Zo(r,hs({key:0,class:e.iconCls},e.iconProps),null,16,["class"])):ls("",!0),rn(e.$slots,"title",{},(()=>[e.useHtml?(jo(),Ko("span",{key:0,ref:"text",class:"title",innerHTML:e.title},null,8,tE)):(jo(),Ko("span",{key:1,ref:"text",class:"title"},ce(e.title),513))])),e.desc?(jo(),Ko("span",{key:1,ref:"desc",class:"desc"},ce(e.desc),513)):ls("",!0),e.hasSuffix()?(jo(),Ko("div",iE,[rn(e.$slots,"suffix")])):ls("",!0)]))],42,eE)),[[a,e.mergedTooltip],[l]])}]]);const oE=on({name:"MenuGroup",mixins:[Wc],props:{title:{type:String,default:void 0},singleSelect:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:()=>({items:[]}),computed:{groupCls(){return["v-menu-group",{"v-menu-group-disabled":this.disabled}]}},watch:{disabled(e){this.setDisableAll(e)}},created(){Vc(this,"item-created",(e=>{e.setDisabled(this.disabled),this.items.push(e)})),Vc(this,"select",((e,t)=>{this.singleSelect?(this.onSingleSelect(e),this.dispatch("Menu","select",[e,!0])):this.dispatch("Menu","select",[e,t])})),this.dispatch("Menu","group-created",this)},methods:{onSingleSelect(e){for(let t of this.items)t!==e?t.setSelected(!1):t.setSelected(!0)},setDisableAll(e){for(let t of this.items)t.setDisabled&&t.setDisabled(e)}}}),sE={key:0,class:"v-menu-group-title"};var rE=Rm(oE,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:ne(e.groupCls)},[rn(e.$slots,"title",{},(()=>[e.title?(jo(),Ko("div",sE,ce(e.title),1)):ls("",!0)])),rn(e.$slots,"default")],2)}]]);const aE=on({name:"MenuDivider"}),lE={class:"v-menu-item-divider"};var dE=Rm(aE,[["render",function(e,t,i,n,o,s){const r=Fi("syno-id");return Xi((jo(),Ko("div",lE,null,512)),[[r]])}]]);function cE(e){return void 0!==e&&""!==e}var uE=on({name:"SingleSelect",components:{vSelectInput:pT,vSelectDropdown:VD,vIcon:bg,vPortal:Hh},extends:RD,props:{forceSelection:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!0},displayMode:{type:String,default:"none",validator:e=>["text","none","html"].includes(e)},defaultOption:{type:[Function,String],default:BD}},data:()=>({lastSelectedOption:void 0,defaultChildOptionIndent:!0,searchPlaceholderOption:void 0}),computed:{selectedOption(){const e=sT(this);return this.isEmptyStateValue(e)?null:this.currentOptions.find((t=>cE(e)&&"-"!==t&&t[this.valueField]===e))},innerValue(){return sT(this)}},watch:{display(e){this.doSearch(e)},currentOptions:{immediate:!0,deep:!0,handler(){const e=this.selectedOption;e&&!this.search&&(this.display=e[this.displayField])}},[rT()]:{immediate:!0,handler(e){if(!ca(e)&&this.clearable&&this.tryRememberLastSelectedOption(null),this.isEmptyStateValue(e))return Nc(this,"update:model-value",null),this.display="",void this.tryRememberLastSelectedOption(null);cE(e)&&this.$refs.dropdown&&this.$refs.dropdown.setActiveIndexByValue(e);const t=this.selectedOption;this.tryRememberLastSelectedOption(t),t&&(this.display=t[this.displayField])}}},methods:{getSlots(){return Ka(this)},getValidOptions(){const e=[...this.currentOptions];return this.searchPlaceholderOption&&e.push(this.searchPlaceholderOption),e.filter((e=>"-"===e||!0!==e.hide&&"group-label"!==e.type))},findOptions(e){return this.getValidOptions().find((t=>this.isOptionMatchedDisplay(e,t)))},isOptionMatchedDisplay(e,t){return"-"!==t&&(this.search?e===t[this.displayField]:!(!e||e!==t[this.displayField]))},tryRememberLastSelectedOption(e){this.lastSelectedOption=e},handleForceSelection(e){return!(""===this.display&&this.clearable||e||(this.lastSelectedOption?this.display=this.lastSelectedOption[this.displayField]:this.display="",0))},onFocus(e){this.advanced&&this.closeAdvancedPanel(),RD.methods.onFocus.apply(this,[e])},onBlur(e){const t=Wu(e);if(RD.methods.onBlur.apply(this,[e]),this.$refs.dropdown&&this.$refs.dropdown.$el.contains(t)||this.$el.contains(t))return;if(this.selectedOption&&this.display===this.selectedOption[this.displayField])return;if(!this.allowEdit)return;this.search&&this.commitSearchOption(this.display);const i=this.findOptions(this.display);this.forceSelection?!1===this.handleForceSelection(i)&&Nc(this,"update:model-value",i?.[this.valueField]):Nc(this,"update:model-value",i?.[this.valueField])},select(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||this.visibleOptions.length<=e)return;const t=this.visibleOptions[e];"-"===t||t.disabled||(this.display=t[this.displayField],Nc(this,"update:model-value",t[this.valueField]),RD.methods.select.apply(this,[e]))},openDropdown(e){const t=this.selectOnFocus&&this.allowEdit;RD.methods.openDropdown.apply(this,[e])&&t&&"all"===e&&this.$refs.input.selectInput()},async openAdvancedPanel(){RD.methods.openAdvancedPanel.apply(this)},closeAdvancedPanel(){RD.methods.closeAdvancedPanel.apply(this)},onEnter(){RD.methods.onEnter.apply(this)},createOption(e){return{type:"normal",[this.displayField]:e,[this.valueField]:e}},commitSearchOption(e){return this.searchPlaceholderOption=this.createOption(e)}}});const hE={key:1,class:"v-select2-advanced"};var pE=Rm(uE,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-select-input"),l=Bi("v-portal"),d=Bi("v-select-dropdown"),c=Fi("clickoutside"),u=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapCls),style:Q(e.wrapStyles),onClick:t[3]||(t[3]=function(){return e.onClick&&e.onClick(...arguments)})},[rn(e.$slots,"input",{hasIcon:e.hasPrefix(),hasPrefix:e.hasPrefix(),searchIconCls:e.searchIconCls},(()=>[is(a,{ref:"input",modelValue:e.display,"onUpdate:modelValue":t[0]||(t[0]=t=>e.display=t),"input-tooltip":e.inputTooltip,placeholder:e.placeholder,disabled:e.disabled,"selected-option":e.selectedOption,"input-attrs":e.inputAttrs,"open-dropdown":e.openDropdown,"toggle-dropdown":e.toggleDropdown,"close-dropdown":e.closeDropdown,advanced:!!e.advanced,"has-right-adv-icon":"right"===e.advanceIconPos,"search-icon-cls":e.searchIconCls,"clear-icon-cls":e.clearIconCls,"allow-clear":e.allowClear,"hide-trigger":e._hideTrigger,"display-field":e.displayField,"value-field":e.valueField,"trigger-query-action":e.triggerQueryAction,"auto-open-dropdown-char-count":e.autoOpenDropdownCharCount,"toggle-dropdown-on-click":!e.isSearchMode,"display-mode":e.displayMode,"display-text-format":e.mergedDisplayTextFormat,"group-options":e.innerGroupOptions,"enter-key-hint":e.enterKeyHint,"has-prefix":e.hasPrefix(),"has-suffix":e.hasSuffix(),"dropdown-shown":e.show&&e.showDropdown,onClickAdvancedIcon:e.onClickAdvancedIcon,onClear:e.clear,onArrowUp:t[1]||(t[1]=t=>e.onArrow("up")),onArrowDown:t[2]||(t[2]=t=>e.onArrow("down")),onKeyEnter:e.onEnter,onFocus:e.onFocus,onBlur:e.onBlur},{prefix:Ii((()=>[rn(e.$slots,"icon",{disabled:e.disabled,class:ne(e.searchIconCls)},(()=>[e.hasPrefix()?(jo(),Zo(r,hs({key:0,class:e.searchIconCls,disabled:e.disabled},e.searchIcon,{onClick:e.onClickIcon}),null,16,["class","disabled","onClick"])):ls("",!0)]))])),suffix:Ii((()=>[rn(e.$slots,"input-right")])),_:3},8,["modelValue","input-tooltip","placeholder","disabled","selected-option","input-attrs","open-dropdown","toggle-dropdown","close-dropdown","advanced","has-right-adv-icon","search-icon-cls","clear-icon-cls","allow-clear","hide-trigger","display-field","value-field","trigger-query-action","auto-open-dropdown-char-count","toggle-dropdown-on-click","display-mode","display-text-format","group-options","enter-key-hint","has-prefix","has-suffix","dropdown-shown","onClickAdvancedIcon","onClear","onKeyEnter","onFocus","onBlur"])])),e.showAdvanced&&e.advanced?(jo(),Zo(l,{ref:"advanced-portal",key:"advanced","mount-to":e.getContainerEl(),anchor:e.$el,alignment:e.innerAlignment},{default:Ii((()=>[e.hasAdvancedMenu?rn(e.$slots,"advanced-menu",{key:0}):e.hasAdvancedPanel?(jo(),Ko("div",hE,[rn(e.$slots,"advanced-panel",{display:e.display})])):ls("",!0)])),_:3},8,["mount-to","anchor","alignment"])):ls("",!0),e.show&&e.showDropdown?(jo(),Zo(l,{ref:"portal",key:"dropdown","mount-to":e.getContainerEl(),anchor:e.$el,"acquire-z-index":"",alignment:e.innerAlignment},{default:Ii((()=>[rn(e.$slots,"dropdown",{style:Q(e.dropdownStyle),synoId:e.synoId,options:e.visibleOptions,useOptionSlot:e.useOptionSlot,advanced:!!e.advanced,dropdownCls:e.dropdownCls,loading:e.innerLoading,loadingText:e.innerLoadingText,maxHeight:+e.maxHeight,notFoundText:e.innerNotFoundText,value:e.innerValue,valueField:e.valueField,displayField:e.displayField,getOptionTooltip:e.getOptionTooltip,virtualScrollbar:e.virtualScrollbar,virtualItemHeight:e.virtualItemHeight,virtualBufferSize:e.virtualBufferSize,showNotFound:e.showNotFound,defaultOption:e.defaultOption},(()=>[is(d,{ref:"dropdown",style:Q(e.dropdownStyle),"syno-id":e.synoId,options:e.visibleOptions,"use-option-slot":e.useOptionSlot,advanced:!!e.advanced,"dropdown-cls":e.dropdownCls,loading:e.innerLoading,"loading-text":e.innerLoadingText,"max-height":+e.maxHeight,"not-found-text":e.innerNotFoundText,value:e.innerValue,"value-field":e.valueField,"display-field":e.displayField,"get-option-tooltip":e.getOptionTooltip,"virtual-scrollbar":e.virtualScrollbar,"virtual-item-height":e.virtualItemHeight,"virtual-buffer-size":e.virtualBufferSize,"show-not-found":e.showNotFound,"default-option":e.defaultOption,onCloseDropdown:e.closeDropdown,onHoverIndex:e.onHoverIndexChanged,onSelect:e.select,onScrollbarVisible:e.onScrollbarVisible},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,oe(os(t)))]))})))]),1032,["style","syno-id","options","use-option-slot","advanced","dropdown-cls","loading","loading-text","max-height","not-found-text","value","value-field","display-field","get-option-tooltip","virtual-scrollbar","virtual-item-height","virtual-buffer-size","show-not-found","default-option","onCloseDropdown","onHoverIndex","onSelect","onScrollbarVisible"])]))])),_:3},8,["mount-to","anchor","alignment"])):ls("",!0)],6)),[[c,e.clickOutside,void 0,{children:!0}],[u]])}]]);const fE=on({name:"OverflowListItem",mixins:[Aa("overflow-list")],data:()=>({visible:!0}),methods:{hide(){this.visible=!1},show(){this.visible=!0}}}),mE={key:0,class:"v-overflow-item"};var gE=Rm(fE,[["render",function(e,t,i,n,o,s){return e.visible?(jo(),Ko("div",mE,[rn(e.$slots,"default")])):ls("",!0)}]]);const vE={START:"start",FROM:"from"},yE=on({name:"OverflowList",components:{vOverflowListItem:gE},mixins:[La("overflow-list")],props:{collapseDirection:{type:String,validator:e=>Object.values(vE).includes(e),default:vE.END},items:{type:Array,default:()=>[]},minVisibleItemsNum:{type:Number,default:0}},data:()=>({visibleItems:[]}),computed:{isCollapsedFromStart(){return this.collapseDirection===vE.START},isCollapsedFromEnd(){return this.collapseDirection===vE.END},isOverflowing(){return this.visibleItems.length<this.items.length},overflowItems(){return this.items.slice(this.visibleItems.length)}},watch:{items:{handler(e,t){wa(e,t)||(this.showAllItems(),this.$nextTick((()=>{this.onMeasure()})))},immediate:!0}},mounted(){this.disposeFn=oD(this.$el,this.onResize,this),this.prevWidth=this.$el.getBoundingClientRect().width,this.$nextTick((()=>{this.showAllItems(),this.onMeasure()}))},[Pa](){this.disposeFn?.()},methods:{onResize(e){e.contentRect.width>this.prevWidth&&this.showAllItems(),this.prevWidth=e.contentRect.width,this.onMeasure()},showAllItems(){this.visibleItems=this.items.slice()},onMeasure(){this.measuring=this.measuring??Promise.resolve(),this.measuring=this.measuring.then((()=>this.remeasure()))},getItemKey:(e,t)=>e.id??t,remeasure(){return(this.$refs.measure?.getBoundingClientRect()?.width??0)<.8&&this.visibleItems.length>this.minVisibleItemsNum?(this.isCollapsedFromEnd?this.visibleItems.pop():this.isCollapsedFromStart&&this.visibleItems.shift(),this.$nextTick().then((()=>this.remeasure()))):Promise.resolve()}}}),bE={class:"v-overflow-list"},wE={key:0,ref:"measure",class:"v-overflow-list-spacer"},CE={key:3,ref:"measure",class:"v-overflow-list-spacer"};var xE=Rm(yE,[["render",function(e,t,i,n,o,s){const r=Bi("v-overflow-list-item");return jo(),Ko("div",bE,[e.isCollapsedFromStart?(jo(),Ko("i",wE,null,512)):ls("",!0),rn(e.$slots,"overflow-start-anchor",{visibleItems:e.visibleItems,overflowItems:e.overflowItems}),e.isOverflowing&&e.isCollapsedFromStart?rn(e.$slots,"overflow-item",{key:1,visibleItems:e.visibleItems,overflowItems:e.overflowItems}):ls("",!0),(jo(!0),Ko(Po,null,tn(e.visibleItems,((t,i)=>(jo(),Zo(r,{key:e.getItemKey(t,i)},{default:Ii((()=>[rn(e.$slots,"default",{item:t,visibleIndex:i,visibleItems:e.visibleItems,overflowItems:e.overflowItems})])),_:2},1024)))),128)),e.isOverflowing&&e.isCollapsedFromEnd?rn(e.$slots,"overflow-item",{key:2,visibleItems:e.visibleItems,overflowItems:e.overflowItems}):ls("",!0),rn(e.$slots,"overflow-end-anchor",{visibleItems:e.visibleItems,overflowItems:e.overflowItems}),e.isCollapsedFromEnd?(jo(),Ko("i",CE,null,512)):ls("",!0)])}]]);const SE=on({components:{vAvatar:GA,vButton:RA,vSpace:QA,vMenu:BA,vMenuItem:nE},mixins:[Bc],props:{username:{type:String,default:""},email:{type:String,default:"example@synology.com"}},emits:["click-manage-profile"],methods:{onClickManagerProfile(){Nc(this,"click-manage-profile")}}}),kE={class:"app-profile-menu__info-wrapper"},_E={class:"app-profile-menu__name"},IE={class:"app-profile-menu__email"};var TE=Rm(SE,[["render",function(e,t,i,n,o,s){const r=Bi("v-avatar"),a=Bi("v-button"),l=Bi("v-space"),d=Bi("v-menu-item"),c=Bi("v-menu");return jo(),Zo(c,{class:"app-profile-menu",width:300},{default:Ii((()=>[is(d,{class:"profile-menu-item"},{default:Ii((()=>[is(l,{class:"profile-menu-item__wrapper",direction:"column",spacing:"none"},{default:Ii((()=>[is(r,{class:"app-profile-menu__avatar",username:e.username,size:"large",disabled:""},null,8,["username"]),ts("div",kE,[ts("div",_E,ce(e.username),1),ts("div",IE,ce(e.email),1)]),is(l,{class:"app-profile-menu__actions"},{default:Ii((()=>[is(a,{onClick:e.onClickManagerProfile},{default:Ii((()=>[rs(ce(e._i18n("common","synology_account_settings")),1)])),_:1},8,["onClick"])])),_:1})])),_:1})])),_:1}),rn(e.$slots,"profile-menu-items")])),_:3})}]]);wg("app-bar-hamburger",BI),wg("app-bar-more",FI);const DE=on({name:"AppBar",components:{vAvatar:GA,vSpace:QA,vMenu:BA,vMenuItem:nE,vMenuDivider:dE,vMenuGroup:rE,vButton:RA,vSingleSelect:pE,vOverflowList:xE,vIcon:bg,vAppProfileMenu:TE},mixins:[Bc,Cg],props:{hasAvatar:{type:Boolean,default:!0},hasSignin:{type:Boolean,default:!1},hasLaunch:{type:Boolean,default:!0},hasRegionSelector:{type:Boolean,default:!0},hasMore:{type:Boolean,default:!1},service:{type:Object,default:()=>({})},serviceItems:{type:Array,default:()=>[]},serviceItemsNotBuy:{type:Array,default:()=>[]},region:{type:String,default:""},regionOptions:{type:Array,default:()=>[]},username:{type:String,default:""},email:{type:String,default:""},showHamburgerIcon:{type:Boolean,default:!1},mobileBreakpoint:{type:[Boolean,String],default:"xxs"},toolbarButtons:{type:Array,default:()=>[]}},emits:["click-signin","click-service-item","select-region","click-hamburger","click-logo","click-more-products","click-manage-profile"],data:()=>({}),computed:{isMobile(){return!this.$breakpointManager&&this.mobileBreakpoint?(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1):this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint)},appClass(){return{"v-app-bar--mobile":this.isMobile}},appIconStyle(){return{backgroundImage:`url("${this.service.iconUrl}")`}},innerRegionOptions(){return[{type:"group-label",title:this._i18n("common","data_center"),regionCode:"data-center"},...this.regionOptions.map((e=>({inGroup:"data-center",...e})))]}},methods:{getSlots(){return Ka(this)},onClickHamburgerIcon(){Nc(this,"click-hamburger")},onClickLogo(){Nc(this,"click-logo")},onClickMoreProducts(){Nc(this,"click-more-products")},onClickServiceItem(e){Nc(this,"click-service-item",e)},getServiceIconStyle:e=>({backgroundImage:`url("${e.iconUrl}")`}),onSelectRegion(e){Nc(this,"select-region",e)},onClickSignin(){Nc(this,"click-signin")}}}),LE={class:"v-app-bar__app-name"},AE={class:"v-app-bar-launch-menu-item__title"},EE={class:"v-app-bar-launch-menu-item__title"};var ME=Rm(DE,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-space"),l=Bi("v-single-select"),d=Bi("v-overflow-list"),c=Bi("v-button"),u=Bi("v-menu-item"),h=Bi("v-menu-group"),p=Bi("v-menu-divider"),f=Bi("v-menu"),m=Bi("v-app-profile-menu"),g=Bi("v-avatar"),v=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(["v-app-bar",e.appClass])},[e.showHamburgerIcon?(jo(),Zo(r,{key:0,class:"v-app-bar__hamburger",name:"app-bar-hamburger","svg-icon-set":"set13",onClick:e.onClickHamburgerIcon},null,8,["onClick"])):ls("",!0),is(a,{class:"v-app-bar__title",onClick:e.onClickLogo},{default:Ii((()=>[is(r,{size:[32,32],class:"v-app-bar__app-icon",style:Q(e.appIconStyle),sprite:""},null,8,["style"]),ts("span",LE,[rn(e.$slots,"app-name",{},(()=>[rs(ce(e.service.name),1)]))]),rn(e.$slots,"subtitle")])),_:3},8,["onClick"]),e.isMobile?ls("",!0):(jo(),Zo(a,{key:1,class:"v-app-bar__navbar-items-group"},{default:Ii((()=>[rn(e.$slots,"navbar-items")])),_:3})),is(a,{class:"v-app-bar__right-toolbar","justify-content":"end"},{default:Ii((()=>[!e.isMobile&&e.hasRegionSelector?(jo(),Zo(l,{key:0,"syno-id":`${e.synoId}-single-select-region`,"value-field":"regionCode","display-field":"title",width:220,options:e.innerRegionOptions,value:e.region,onSelect:e.onSelectRegion},null,8,["syno-id","options","value","onSelect"])):ls("",!0),is(a,{class:"v-app-bar__toolbar-buttons","justify-content":"end"},{default:Ii((()=>[rn(e.$slots,"toolbar-buttons",{},(()=>[is(d,{items:e.toolbarButtons,class:"v-app-bar__toolbar-overflow-list","collapse-direction":"start"},{default:Ii((t=>[rn(e.$slots,"toolbar-buttons-item",oe(os(t)))])),"overflow-item":Ii((t=>[rn(e.$slots,"toolbar-buttons-overflow-item",oe(os(t)))])),_:3},8,["items"])])),e.hasMore?(jo(),Zo(c,{key:0,"syno-id":`${e.synoId}-more-button`,display:"icon",type:"styleless",class:"v-app-bar-icon-button","menu-align":"tr->br"},{dropdown:Ii((()=>[rn(e.$slots,"more-dropdown")])),default:Ii((()=>[is(r,{name:"app-bar-more",class:"v-app-bar__more"})])),_:3},8,["syno-id"])):ls("",!0),!e.isMobile&&e.hasLaunch?(jo(),Zo(c,{key:1,"syno-id":`${e.synoId}-launch-button`,display:"icon",type:"styleless",class:"v-app-bar-icon-button","menu-align":"tr->br"},{dropdown:Ii((()=>[rn(e.$slots,"launch-dropdown",{},(()=>[e.serviceItems.concat(e.serviceItemsNotBuy).length>0?(jo(),Zo(f,{key:0,class:"v-app-bar-launch-menu",width:270,"syno-id":`${e.synoId}-launch-menu`},{"bottom-actions":Ii((()=>[ts("div",{class:"v-app-bar-launch-menu__action v-app-bar-launch-menu__more-product",onClick:t[0]||(t[0]=function(){return e.onClickMoreProducts&&e.onClickMoreProducts(...arguments)})},ce(e._i18n("common","more_products")),1)])),default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.serviceItems,((t,i)=>(jo(),Zo(u,{id:t.id,key:t.id,class:"v-app-bar-launch-menu__item v-app-bar-launch-menu-item","syno-id":`${e.synoId}-serviceItem-menu-item-${i}`,onClick:i=>e.onClickServiceItem(t)},{default:Ii((()=>[is(r,{class:"v-app-bar-launch-menu-item__icon",style:Q(e.getServiceIconStyle(t)),sprite:""},null,8,["style"]),ts("span",AE,ce(t.title),1)])),_:2},1032,["id","syno-id","onClick"])))),128)),is(h,{title:e._i18n("common","explore"),class:"v-app-bar-launch-menu-item-group","syno-id":`${e.synoId}-launch-menu-group`},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.serviceItemsNotBuy,((t,i)=>(jo(),Zo(u,{id:t.id,key:t.id,class:"v-app-bar-launch-menu__item v-app-bar-launch-menu-item","syno-id":`${e.synoId}-service-not-buy-menu-item-${i}`,onClick:i=>e.onClickServiceItem(t)},{default:Ii((()=>[is(r,{class:"v-app-bar-launch-menu-item__icon",style:Q(e.getServiceIconStyle(t)),sprite:""},null,8,["style"]),ts("span",EE,ce(t.title),1)])),_:2},1032,["id","syno-id","onClick"])))),128))])),_:1},8,["title","syno-id"]),is(p)])),_:1},8,["syno-id"])):ls("",!0)]))])),default:Ii((()=>[is(r,{name:"v-app-bar__launch",sprite:""})])),_:3},8,["syno-id"])):ls("",!0),e.hasAvatar?(jo(),Zo(g,{key:2,"syno-id":`${e.synoId}-avatar`,username:e.username,size:"small"},{dropdown:Ii((()=>[is(m,{username:e.username,email:e.email,onClickManageProfile:t[1]||(t[1]=t=>e.$emit("click-manage-profile"))},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,oe(os(t)))]))})))]),1032,["username","email"])])),_:3},8,["syno-id","username"])):ls("",!0),e.hasSignin?(jo(),Zo(c,{key:3,"syno-id":`${e.synoId}-signin-button`,suffix:"main",onClick:e.onClickSignin},{default:Ii((()=>[rs(ce(e._i18n("common","sign_in")),1)])),_:1},8,["syno-id","onClick"])):ls("",!0)])),_:3})])),_:3})],2)),[[v]])}]]),BE=Rm(on({name:"NavbarItem",components:{vButton:RA},props:{buttonType:{type:String,default:""},name:{type:String,default:"Item"},active:{type:Boolean,default:!1}},computed:{btnClass(){return{active:this.active}}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-button"),a=Fi("syno-id");return Xi((jo(),Zo(r,{"syno-id":`${e.synoId}-navbar-button`,class:ne(["v-navbar-item",e.btnClass]),type:e.buttonType,display:"text"},{dropdown:Ii((()=>[rn(e.$slots,"dropdown")])),default:Ii((()=>[rs(ce(e.name)+" ",1)])),_:3},8,["syno-id","class","type"])),[[a]])}]]);const OE="app_instance_inject";var $E=on({name:"AppInstance",mixins:[La("app-instance")],inject:{[OE]:{default:Ca}},props:{shouldLaunch:{type:Function,default:void 0},canOpen:{type:[Function,Boolean],default:!0},fullsize:{type:Boolean,default:!1},className:{type:String,default:void 0,required:!0}},emits:["openparamchanged"],data:()=>({windowState:void 0,fromRestore:void 0,autoStart:void 0,autoCenter:void 0,isMainApp:!1,notifyMsg:!0,initialized:!1,trayItem:void 0,appTrayItemName:void 0,onDestroy:Ca}),created(){this.id=GL(this),this[OE]&&(this[OE].app=this)},mounted(){this.register()},[Pa](){!0===this.fullsize&&SYNO.SDS.StatusNotifier.fireEvent("fullsizeappdestroy"),this.jsConfig&&!0===this.jsConfig.upgradeApp&&SYNO.SDS.StatusNotifier.fireEvent("upgradeappdestroy"),this.taskButton?.destroy?.(),this.window?.destroy?.(),this.trayItem?.destroy?.(),this.appItem?.destroy?.(),this.taskButton=null,this.items=null,this.window=null,this.trayItem=null,this.appItem=null,this.unregister()},methods:{setDestroyCallback(e){this.onDestroy=e},setAppWindow(e){this.window=e},destroy(){this.onDestroy?.()},getJsConfig(){return this.jsConfig},init(e,t,i){if(!1!==this.shouldLaunch?.()){if(!this.initialized){if(_S&&_S("standalone")){const e=_S("standaloneAppName");this.jsConfig.jsID===e||this.jsConfig.jsID===DL()?.SDS?.Config?.FnMap?.[e]?.config?.launchApp?this.isMainApp=!0:this.isMainApp=!1}this.addWindowItem(e,t,i),this.addTrayItem(e),this.addAppItem(e),this.initialized=!0}}else this.onDestroy?.()},shouldNotifyMsg(){return this.notifyMsg},addWindowItem(e,t,i){this.window&&(this.addItem(this.window),this.window.setParams(Object.assign({appInstance:this,fromRestore:e.fromRestore,autoStart:e.autoStart,autoCenter:e.autoCenter},e.windowState||{}),t,i))},addTrayItem(e){const t=TL();if(!this.trayItem&&this.appTrayItemName&&t){const i=t.getClassByName(this.appTrayItemName);this.trayItem=new i(t.apply({appInstance:this})),this.addItem(this.trayItem),this.trayItem.open(e)}},addAppItem(e){const t=TL();if(!this.appItem&&this.appItemName&&t){const i=t.getClassByName(this.appItemName);this.appItem=new i(t.apply({appInstance:this})),this.addItem(this.appItem),this.appItem.open(e)}},addItem(e){e.instance=this,this.items=this.items||[],this.items.push(e)},removeItem(e){e.instance=null,this.items=this.items||[];const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1),this.checkAlive()},checkAlive(){this.items&&0!==this.items.length||this.onDestroy?.()},register(){this.jsConfig=SYNO.SDS.Config.FnMap[this.className].config,SYNO.SDS.AppMgr&&SYNO.SDS.AppMgr.register(this)},unregister(){SYNO.SDS.AppMgr&&SYNO.SDS.AppMgr.unregister(this)},setTaskButton(e){this.taskButton=e},beforeInit(e){let{taskButton:t}=e;this.setTaskButton(t)},setParams(e){this.windowState=e.windowState,this.fromRestore=e.fromRestore,this.autoStart=e.autoStart,this.autoCenter=e.autoCenter,this.initialized||this.init(e,this.jsConfig,e.manager)},getUserSettings(e){if(SYNO.SDS.UserSettings)return SYNO.SDS.UserSettings.getProperty(this.getJsConfig().jsID,e)},setUserSettings(e,t){if(SYNO.SDS.UserSettings)return SYNO.SDS.UserSettings.setProperty(this.getJsConfig().jsID,e,t)},getStateParam(){let e={windowState:{}};return this.window?(e=Object.assign(e,{windowState:this.window.getStateParam()},this.window.openConfig),e):e},async open(e){this.initialized||((ia(this.canOpen)?await this.canOpen():this.canOpen)||this.onDestroy?.(),this.setParams(e));const t=this.items||[];for(const e of t)e.open?.()},setOpenParam(e){Nc(this,"openparamchanged",this,e)}},render(){return Ka(this).default?.()}});const FE=on({name:"ModalWindow",components:{vLayout:qL,vResizable:BL,vDraggable:$L,vWindowHeader:VL,vTrapFocus:pL,vSpin:UL},extends:tA,props:{minimizable:{type:Boolean,default:!0},maximizable:{type:Boolean,default:!1},showHelp:{type:Boolean,default:!1},showMinimize:{type:Boolean,default:!1},showMaximize:{type:Boolean,default:!1},showFullscreen:{type:Boolean,default:!1},showClose:{type:Boolean,default:!0},maskContainer:{type:[Boolean,Object],default:!0},headerCls:{type:String,default:""},bodyCls:{type:String,default:""},darkTheme:{type:Boolean,default:!1},showHeader:{type:Boolean,default:!0},layoutType:{type:String,default:"modal"}},data:()=>({modal:!0,hidden:!0,ownerMasked:!1,isExtOwner:!1,ownerMinimizable:!1,autoAlignAfterInit:!0}),computed:{extendedBodyCls(){return[this.prefixCls+"-body",this.bodyCls]},canMinimize(){return this.minimizable||this.ownerMinimizable}},[Pa](){this.manager&&this.containerMasked&&this.doUnmaskContainer(),this.unregisterManager?.()},methods:{init(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.unregisterManager=this.registerManager(e),this.maskOwner(),this.hidden=!1,this.isComponentType||ei((()=>{this.align(i.align??{}),ei((()=>this.onWindowResize()))})),tA.methods.init.apply(this,arguments)},maskOwner(){this.isComponentType||(this.owner?(this.owner.mask(0,null,null,!0),this.ownerMasked=!0):this.manager&&this.maskContainer&&this.doMaskContainer(na(this.maskContainer)?this.maskContainer:void 0))},align(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.isExtOwner&&this.owner.el.dom?e=this.owner.el.dom:this.owner&&this.owner.$el&&(e=this.owner.$el);const i=t.el??e,n=t.anchor??"c->c",o=t.offset??[0,0];this.alignToElement(i,n,o,t)},alignCenterToOwner(){let e;if(this.isExtOwner&&this.owner.el.dom?e=this.owner.el.dom:this.owner&&this.owner.$el&&(e=this.owner.$el),e)return this.alignCenterToElement(e)},setOwner(e){TL()?.Window&&e instanceof TL().Window&&(this.isExtOwner=!0),this.ownerMinimizable=e.minimizable,this.owner=e},hideFromOwner(){return!!this.owner&&(this.isExtOwner?this.owner?.modalWin?.remove?.(this):this.owner?.removeModalWindow?.(this),this.ownerMasked&&(this.owner.unmask(!0),this.ownerMasked=!1),!0)},async doClose(){let{payload:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.hideFromOwner()&&(this.owner=null),await tA.methods.doClose.apply(this,arguments)},hasOwnerWin(e){let t=this;for(;t;){if(t===e)return!0;t=t.owner}return!1},setZIndex(e){tA.methods.setZIndex.apply(this,arguments)}}}),VE=["aria-label"],PE={class:"focus-last-alert",tabindex:"0",role:"alert"};var NE=Rm(FE,[["render",function(e,t,i,n,o,s){const r=Bi("v-window-header"),a=Bi("v-trap-focus"),l=Bi("v-resizable"),d=Bi("v-draggable"),c=Bi("v-spin"),u=Bi("v-layout"),h=Fi("syno-id");return Xi((jo(),Zo(u,{ref:"_window",class:ne(e.windowCls),style:Q(e.windowStyle),type:`window.${e.layoutType}`,order:e.layoutOrder,onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:Ur(e.onEsc,["native","esc"])},{default:Ii((()=>[rn(e.$slots,"fullsize-window-mask"),e.showHeader?(jo(),Zo(r,hs({key:0,ref:"header"},e.headerProps,{"is-modalized":"","show-app-icon":!1,class:e.headerCls,"dark-theme":e.darkTheme,onClose:e.onClose,onMinimize:e.onMinimize,onMaximize:e.onMaximize,onFullscreen:e.onFullscreen,onRestore:e.onRestore}),null,16,["class","dark-theme","onClose","onMinimize","onMaximize","onFullscreen","onRestore"])):ls("",!0),is(a,{ref:"trapFocus",class:ne(e.extendedBodyCls)},{"alert-last":Ii((()=>[ts("div",PE,ce(e._i18n("desktop","window_last_hint")),1)])),default:Ii((()=>[ts("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"dialog","aria-label":e.currentTitle},null,8,VE),rn(e.$slots,"default")])),_:3},8,["class"]),e.resizable?(jo(),Zo(l,{key:1,"window-property":e.windowProperty,onResizeEnd:e.onResizeEnd},null,8,["window-property","onResizeEnd"])):ls("",!0),e.innerDraggable&&!e.isComponentType?(jo(),Zo(d,{key:2,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):ls("",!0),e.isMasking?(jo(),Ko("div",{key:3,class:ne(e.maskCls),onMousedown:t[0]||(t[0]=Wr((function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)}),["stop"]))},[is(c,{"only-mask":!e.lastMaskLayer.text,tip:e.lastMaskLayer.text,spinning:e.isMasking,"mask-style":e.maskStyle},null,8,["only-mask","tip","spinning","mask-style"])],34)):ls("",!0)])),_:3},8,["class","style","type","order","onKeydown"])),[[lr,e.showWindow],[h]])}]]);wg("about-beta-label-blue",hI),wg("about-tick-blue",uI);const RE={FETCHING:Symbol("fetching"),UPDATE_AVAILABLE:Symbol("update_available"),FAILED:Symbol("failed"),UP_TO_DATE:Symbol("up_to_date"),UNKNOWN:Symbol("unknown")},HE=on({name:"AboutWindowV2",components:{vSpinIcon:DD,vConfigProvider:Ja,vIcon:bg,vResizable:BL,vDraggable:$L,vWindowHeader:VL,vTrapFocus:pL,vSpin:UL,vLayout:qL,vWhitetip:iA},extends:NE,mixins:[Bc,Cg],props:{width:{type:[String,Number],default:700},height:{type:[String,Number],default:"auto"},draggable:{type:Boolean,default:!1},maskContainer:{type:[Boolean,Object],default:!0},tagline:{type:String,default:""},icon:{type:String,default:""},copyrightYear:{type:String,default:(new Date).getFullYear().toString()},tosUrl:{type:String,default:"https://www.synology.com/company/legal"},privacyUrl:{type:String,default:"https://www.synology.com/company/legal/privacy"},beta:{type:Boolean,default:!1},title:{type:String,default:""},subscript:{type:[Boolean,String],default:!1},subTitle:{type:[Boolean,String],default:!1},version:{type:String,default:""},fetchVersion:{type:Function,default:Ca},releaseNotesUrl:{type:String,default:""}},data:()=>({fetchStatus:RE.FETCHING,iconConfig:{all:{value:{type:"svg"}}}}),computed:{isFetchFailed(){return this.fetchStatus===RE.FAILED},isFetching(){return this.fetchStatus===RE.FETCHING},isUpToDate(){return this.fetchStatus===RE.UP_TO_DATE},isUpdateAvailable(){return this.fetchStatus===RE.UPDATE_AVAILABLE},versionStatusText(){return this.fetchStatus===RE.FETCHING?`${this._i18n("about","check_for_update")}`:this.fetchStatus==RE.UPDATE_AVAILABLE?this._i18n("about","update_available"):this.fetchStatus==RE.FAILED?"":this.fetchStatus==RE.UP_TO_DATE?this._i18n("about","update_up_to_date"):""},aboutWindowCls(){return["v-about-window-v2",...this.windowCls]},aboutHeaderProps(){return{...this.headerProps,title:""}},iconStyle(){return{backgroundImage:this.icon?`url(${this.icon})`:""}},aboutMaskContainer(){return!!this.maskContainer&&{...this.maskContainer,maskCls:["v-about-window-v2-mask"]}}},mounted(){this.hasVersionInfo()&&this.tryFetching()},methods:{async tryFetching(){const{newVersion:e,betaVersion:t}=await(this.fetchVersion?.())??{};let i=null;i=e&&t?AL(">",e,t)?e:t:e??t,i?AL(">",i,this.version)?this.fetchStatus=RE.UPDATE_AVAILABLE:AL("<=",i,this.version)?this.fetchStatus=RE.UP_TO_DATE:this.fetchStatus=RE.UNKNOWN:this.fetchStatus=RE.FAILED},hasVersionInfo:()=>iu?._S?.("is_admin"),maskOwner(){this.isComponentType||this.manager&&this.maskContainer&&this.doMaskContainer(this.aboutMaskContainer)}}}),zE=["aria-label"],WE={class:"v-about-window-v2-body-wrapper"},jE={class:"page-wrapper"},UE={class:"icon-wrapper"},GE={class:"content-wrapper"},qE={class:"title-wrapper"},YE={class:"title"},KE={key:0,class:"subscript"},ZE={class:"badge-wrapper"},JE={key:0,class:"sub-title"},QE={key:1,class:"version-wrapper"},XE={key:0,class:"version-status"},eM={class:"version-num"},tM=["href"],iM={class:"tagline-wrapper"},nM=ts("div",{class:"divider"},null,-1),oM={class:"footer-wrapper"},sM={class:"footer-content"},rM={class:"content-row"},aM=["href"],lM=ts("i",{class:"ellipsis"},null,-1),dM=["href"],cM={class:"content-row copyright"},uM={class:"focus-last-alert",tabindex:"0",role:"alert"};var hM=Rm(HE,[["render",function(e,t,i,n,o,s){const r=Bi("v-window-header"),a=Bi("v-icon"),l=Bi("v-whitetip"),d=Bi("v-spin-icon"),c=Bi("v-trap-focus"),u=Bi("v-resizable"),h=Bi("v-draggable"),p=Bi("v-spin"),f=Bi("v-layout"),m=Bi("v-config-provider"),g=Fi("syno-id");return jo(),Zo(m,{icon:e.iconConfig},{default:Ii((()=>[Xi((jo(),Zo(f,{ref:"_window",class:ne(e.aboutWindowCls),style:Q(e.windowStyle),type:`window.${e.layoutType}`,order:e.layoutOrder,onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:Ur(e.onEsc,["native","esc"])},{default:Ii((()=>[e.showHeader?(jo(),Zo(r,hs({key:0,ref:"header"},e.aboutHeaderProps,{"is-modalized":"","show-app-icon":!1,class:e.headerCls,onClose:e.onClose,onMinimize:e.onMinimize,onMaximize:e.onMaximize,onFullscreen:e.onFullscreen,onRestore:e.onRestore}),null,16,["class","onClose","onMinimize","onMaximize","onFullscreen","onRestore"])):ls("",!0),is(c,{ref:"trapFocus",class:ne(e.extendedBodyCls)},{"alert-last":Ii((()=>[ts("div",uM,ce(e._i18n("desktop","window_last_hint")),1)])),default:Ii((()=>[ts("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"dialog","aria-label":e.currentTitle},null,8,zE),ts("div",WE,[ts("div",jE,[ts("div",UE,[is(a,{name:"app-icon",size:[72,72],style:Q(e.iconStyle),type:"bkg-img","disable-config-override":{type:!0}},null,8,["style"])]),ts("div",GE,[ts("div",qE,[ts("div",YE,[rs(ce(e.title)+" ",1),e.subscript?(jo(),Ko("span",KE,ce(e.subscript),1)):ls("",!0)]),ts("div",ZE,[rn(e.$slots,"badge",{},(()=>[e.beta?(jo(),Zo(a,{key:0,name:"about-beta-label-blue"})):ls("",!0)]))])]),e.subTitle?(jo(),Ko("div",JE,ce(e.subTitle),1)):ls("",!0),e.hasVersionInfo()?(jo(),Ko("div",QE,[e.isFetchFailed?ls("",!0):(jo(),Ko("div",XE,[ts("span",null,ce(e.versionStatusText),1),e.isUpdateAvailable?(jo(),Zo(l,{key:0,content:e._i18n("about","update_package_tip"),"tooltip-options":{isHtml:!0},size:"small"},null,8,["content"])):e.isUpToDate?(jo(),Zo(a,{key:1,name:"about-tick-blue"})):e.isFetching?(jo(),Zo(d,{key:2,class:"about-window-v2-spin-icon"})):ls("",!0)])),ts("div",eM,[rs(ce(e._i18n("update","version"))+": "+ce(e.version)+" (",1),ts("a",{class:"release-notes link",href:e.releaseNotesUrl,target:"_blank"},ce(e._i18n("update","update_dsm_release_note")),9,tM),rs(") ")])])):ls("",!0),ts("div",iM,ce(e.tagline),1)])]),nM,ts("div",oM,[ts("div",sM,[ts("div",rM,[ts("a",{class:"link terms",href:e.tosUrl,target:"_blank"},ce(e._i18n("common","terms_of_service")),9,aM),lM,ts("a",{class:"link privacy",href:e.privacyUrl,target:"_blank"},ce(e._i18n("common","privacy_statements")),9,dM)]),ts("div",cM,ce(e._i18n("copyright","copyright").replace("{0}",e.copyrightYear)),1)])])])])),_:3},8,["class"]),e.resizable?(jo(),Zo(u,{key:1,"window-property":e.windowProperty,onResizeEnd:e.onResizeEnd},null,8,["window-property","onResizeEnd"])):ls("",!0),e.innerDraggable&&!e.isComponentType?(jo(),Zo(h,{key:2,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):ls("",!0),e.isMasking?(jo(),Ko("div",{key:3,class:ne(e.maskCls),onMousedown:t[0]||(t[0]=Wr((function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)}),["stop"]))},[is(p,{"only-mask":!e.lastMaskLayer.text,tip:e.lastMaskLayer.text,spinning:e.isMasking,"mask-style":e.maskStyle},null,8,["only-mask","tip","spinning","mask-style"])],34)):ls("",!0)])),_:3},8,["class","style","type","order","onKeydown"])),[[lr,e.showWindow],[g]])])),_:3},8,["icon"])}]]);wg("app-window-header-hamburger",BI);var pM=Rm(on({name:"AppWindowHeader",components:{vWindowHeaderToolWrapper:FL,vButton:RA,vIcon:bg,vMenu:BA,vMenuItem:nE},extends:VL,mixins:[Cg],props:{isStandalone:{type:Boolean,default:!1},showHamburgerIcon:{type:Boolean,default:!1}},emits:["help","fullscreen","minimize","restore","maximize","close","click-hamburger-icon","taskbar-menu"],data:()=>({user:""}),computed:{wrapperCls(){return[`${this.prefixCls}-wrapper`,{standalone:this.isStandalone,"modal-win":this.isModalized,"wizard-win":this.isWizard,draggable:this.draggable,mobile:this.inMobile}]}},mounted(){this.user=iu._S?.("user")},methods:{onContextMenu(e){this.isStandalone||Nc(this,"taskbar-menu",e)},isLogoutVisible(){return iu._S?.("rewrite_mode")&&this.showHelp},isBannerVisible(){return!this.isStandalone||"true"!==iu._S?.("remove_banner")},isHelpVisibleInTool(){return!this.isStandalone&&this.showHelp},onLogout(){SYNO.SDS.StatusNotifier.fireEvent("logout"),window.onbeforeunload=SYNO.SDS.onBasicBeforeUnload;try{SYNO.SDS.Utils.Logout.action()}catch(e){}},onClickHamburgerIcon(){Nc(this,"click-hamburger-icon")}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-menu-item"),l=Bi("v-menu"),d=Bi("v-button"),c=Bi("v-window-header-tool-wrapper"),u=Fi("tooltip");return e.isBannerVisible()?(jo(),Ko("div",{key:0,class:ne(e.wrapperCls),onDblclick:t[7]||(t[7]=function(){return e.onDblClick&&e.onDblClick(...arguments)}),onContextmenu:t[8]||(t[8]=function(){return e.onContextMenu&&e.onContextMenu(...arguments)})},[e.showHamburgerIcon?(jo(),Zo(r,{key:0,name:"app-window-header-hamburger","svg-icon-set":"set13",onClick:e.onClickHamburgerIcon},null,8,["onClick"])):ls("",!0),e.showAppIcon?(jo(),Ko("div",{key:1,class:"app-icon",style:Q(e.iconStyle)},null,4)):ls("",!0),ts("div",{class:ne(e.prefixCls+"-text")},[Xi((jo(),Ko("div",{class:ne(e.prefixCls+"-title")},[rs(ce(e.title),1)],2)),[[u,e.titleTooltip]]),rn(e.$slots,"sub-title")],2),e.isStandalone?(jo(),Zo(d,{key:2,type:"dropdown","menu-align":"tr->br",class:"user-menu-btn","syno-id":`${e.synoId}-user-menu-btn`},{dropdown:Ii((()=>[e.isLogoutVisible()||e.showHelp?(jo(),Zo(l,{key:0,width:"auto","syno-id":`${e.synoId}-user-menu`},{default:Ii((()=>[e.isLogoutVisible()?(jo(),Zo(a,{key:0,title:e.$i18n("common","logout"),"syno-id":`${e.synoId}-user-menu-logout`,onClick:e.onLogout},null,8,["title","syno-id","onClick"])):ls("",!0),e.showHelp?(jo(),Zo(a,{key:1,title:e.$i18n("common","alt_help"),"syno-id":`${e.synoId}-user-menu-help`,onClick:t[0]||(t[0]=t=>e.$emit("help"))},null,8,["title","syno-id"])):ls("",!0)])),_:1},8,["syno-id"])):ls("",!0)])),default:Ii((()=>[rs(ce(e.user)+" ",1)])),_:1},8,["syno-id"])):ls("",!0),is(c,{"dark-theme":e.darkTheme,"show-fullscreen":e.showFullscreen,"show-help":e.isHelpVisibleInTool(),"show-minimize":e.showMinimize,"show-maximize":e.showMaximize,"show-close":e.showClose,maximized:e.maximized,onFullscreen:t[1]||(t[1]=t=>e.$emit("fullscreen")),onHelp:t[2]||(t[2]=t=>e.$emit("help")),onMinimize:t[3]||(t[3]=t=>e.$emit("minimize")),onRestore:t[4]||(t[4]=t=>e.$emit("restore")),onMaximize:t[5]||(t[5]=t=>e.$emit("maximize")),onClose:t[6]||(t[6]=t=>e.$emit("close"))},null,8,["dark-theme","show-fullscreen","show-help","show-minimize","show-maximize","show-close","maximized"])],34)):ls("",!0)}]]);function fM(e){const t=iu._S?.("builddate");return e.buildTime?e.buildTime.split("-")[0]:t?t.split("/")[0]:0}const mM=on({name:ZL,components:{vAppWindowHeader:pM,vLayout:qL,vTrapFocus:pL,vResizable:BL,vDraggable:$L,vSpin:UL},extends:tA,mixins:[Aa("app-instance")],props:{defaultMaximized:{type:Boolean,default:!1},showHelp:{type:Boolean,default:!0},windowName:{type:String,default:void 0},toggleMinimizable:{type:Boolean,default:!0},hasTaskButton:{type:Boolean,default:!0},layoutType:{type:String,default:"app"},maskContainer:{type:[Boolean,Object],default:!1},showHamburgerIcon:{type:Boolean,default:!1},showAppIcon:{type:Boolean,default:!0}},emits:["click-hamburger-icon"],data:()=>({moveDirty:!1,resizeDirty:!1,autoRestoreSizePos:!0,isStandaloneMainWindow:!1,top:void 0,left:void 0}),computed:{headerProps(){return{inMobile:this.inMobileBreakpoint,showHelp:this.showHelp,showFullscreen:this.showFullscreen,showMaximize:!this.inFitBreakpoint&&!this.isStandaloneMainWindow&&this.showMaximize,showMinimize:!this.isStandalone&&this.showMinimize,showClose:!this.isStandaloneMainWindow&&this.showClose,showAppIcon:this.showAppIcon,draggable:this.draggable,iconUrl:this.iconUrl,title:this.currentTitle,maximized:this.maximized,isStandalone:this.isStandaloneMainWindow}}},created(){this["app-instance"]?.instance.setAppWindow(this)},[Pa](){this.taskButton?.destroy?.(),this.taskButton=null,this.manager&&this.containerMasked&&this.doUnmaskContainer()},methods:{onTaskbarMenu(e){this.taskButton?.showMenuPortal?.(e.pageX,e.pageY,!1)},onClickHamburgerIcon(){Nc(this,"click-hamburger-icon")},getInstance(){return this.instance},getJsID(){let e=this.getInstance();if(e)return e.jsConfig.jsID},applySizeAndPos(e,t){const i=!this.isStandalone&&this.getInstance()&&(!0===e.autoStart||!0!==e.fromRestore&&!1!==e.autoRestoreSizePos&&!1!==t.autoRestoreSizePos);t?.alwaysCenter?this.manager.centerWindow(this,{withOffset:!0}):i&&this.applyRestoreSizePos(),!1!==e?.autoCenter?this.centerItIfOutOfBound():this.constrainXYInBound()},init(e,t,i){var n;this.initialized||(this.unregisterManager=this.registerManager(i),this.isStandaloneMainWindow=(n=this.getInstance(),!!iu._S&&iu._S("standalone")&&n&&n.isMainApp),this.isStandalone=iu._S?.("standalone"),this.isMobile=iu._S?.("isMobile"),this.jsConfig=t,this.autoStart=e?.autoStart,!1!==this.toggleMinimizable&&(this.iconUrl=this.getIcon()),this.isStandaloneMainWindow&&this.applyStandaloneSettings(),this.isMobile&&this.applyMobileSettings(),this.initTaskButton(),this.currentTitle=DL()?.SDS?.UIString?.GetLocalizedString?.(e?.title??t?.title,this.getJsID())??e?.title??t?.title,this.hidden=!1,this.initialized=!0,tA.methods.init.apply(this,[i,this.getInstance()]),this.isComponentType||this.applySizeAndPos(e,t),this.maskContainer&&this.doMaskContainer(na(this.maskContainer)?this.maskContainer:void 0),this.$nextTick((()=>{this.onWindowResize()})))},constrainXYInBound(){this.top<0?this.top=0:this.top+this.currentHeight>this.constrainRect.bottom&&(this.top=this.constrainRect.bottom-this.currentHeight),this.left<0?this.left=0:this.left+this.currentWidth>this.constrainRect.right&&(this.left=this.constrainRect.right-this.currentWidth)},centerItIfOutOfBound(){let e={top:this.top,left:this.left,bottom:this.top+this.currentHeight,right:this.left+this.currentWidth};this.manager&&function(e,t){return e.left<t.left||e.right>t.right||e.top<t.top||e.bottom>t.bottom}(e,this.constrainRect)&&this.manager.centerWindow(this)},initTaskButton(){const e=this.getInstance()?.getJsConfig();!0!==e?.hideTaskBtn&&!iu._S?.("standalone")&&this.toggleMinimizable&&this.hasTaskButton&&(this.taskButton=this.getInstance()?.taskButton,this.taskButton&&(this.taskButton.init(this),this.taskButton.setState("deactive")))},setParams(e,t,i){this.autoRestoreSizePos=ca(e.autoRestoreSizePos)?e.autoRestoreSizePos:this.autoRestoreSizePos,this.initialized||this.init(e,t,i)},applyFavIcon(){const e=["FavHeaderV7_small","FavHeaderV7_medium","FavHeaderV7_large"];for(const t of e){const e=this.getIcon(t),i=SYNO.SDS.UIFeatures.IconSizeManager.getRes(t);SYNO.SDS.Utils.addFavIconLink(e,"image/png",`${i}x${i}`)}},applyStandaloneSettings(){this.applyFavIcon(),this.onMaximize()},applyMobileSettings(){this.onMaximize()},getIcon(e){const t=this.jsConfig?.icon||this.jsConfig?.icon_16;if(!t||!SYNO.SDS.UIFeatures.IconSizeManager)return;let i=this.jsConfig.jsBaseURL+"/"+t;e||(e=this.isStandalone?"StandaloneHeader":"Header");let n=SYNO.SDS.UIFeatures.IconSizeManager.getIconPath(i,e);return this.jsConfig.version&&(n=`${n}&app_version=${this.jsConfig.version}`),n},async onClose(){let{forceClose:e=!1,payload:t={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!this.isStandalone&&!1!==await tA.methods.onClose.apply(this,arguments)&&void 0},async doClose(){let{payload:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.getInstance();await tA.methods.doClose.apply(this,arguments),t&&t.removeItem(this)},updateTaskButton(e){this.taskButton&&this.taskButton.updateActionState(e)},getSizeAndPosition(){let e={};if(this.maximized){const{width:t,height:i,top:n,left:o}=this.getStoreSizeAndPos();e={width:t,height:i,top:n,left:o}}else e={left:this.left,top:this.top,width:this.currentWidth,height:this.currentHeight};return e},storeSizeAndPos(){const e=this.getInstance().getUserSettings("restoreSizePos")??{},t={width:e.width,height:e.height,top:e.top??e.pageY,left:e.left??e.pageX};this._storeSizeAndPosProps={width:t.width??this.currentWidth,height:t.height??this.currentHeight,top:t.top??this.top,left:t.left??this.left}},saveRestoreData(){let e=this.getInstance().getUserSettings("restoreSizePos"),t=Object.assign(this.getSizeAndPosition(),{fromRestore:!0,maximized:this.maximized});e&&(this.moveDirty?this.moveDirty=!1:(e.pageX&&(t.left=e.pageX),e.pageY&&(t.top=e.pageY)),this.resizeDirty?this.resizeDirty=!1:(e.width&&(t.width=e.width),e.height&&(t.height=e.height))),this.getInstance().setUserSettings("restoreSizePos",t)},applyRestoreSizePos(){let e=this.getInstance().getUserSettings("restoreSizePos")||{};return ca(this.minWidth)&&ca(e.width)&&e.width<+this.minWidth&&(e.width=+this.minWidth),ca(this.minHeight)&&ca(e.height)&&e.height<+this.minHeight&&(e.height=+this.minHeight),this.resizable&&(e.width&&(this.currentWidth=e.width),e.height&&(this.currentHeight=e.height)),this.getInstance().fullsize?this.onFullsize():!ca(e.maximized)&&this.defaultMaximized||ca(e.maximized)&&e.maximized?this.onMaximize():e.top&&e.left?(this.top=e.top,this.left=e.left):this.manager.centerWindow(this,{withOffset:!0}),e},restoreSizePos(){const e=this.getStoreSizeAndPos();if(this.isFit&&e){const{width:t,height:i,top:n,left:o}=e;ca(t)&&ca(i)?(this.currentWidth=t,this.currentHeight=i):(this.currentWidth=this.width,this.currentHeight=this.height),ca(n)||ca(o)?(this.top=n,this.left=o):this.manager?.centerWindow(this)}this.isFit=!1},onDragEnd(){tA.methods.onDragEnd.apply(this,arguments),this.moveDirty=!0,this.saveRestoreData()},onResizeEnd(){tA.methods.onResizeEnd.apply(this,arguments),this.resizeDirty=!0,this.saveRestoreData()},onMaximize(){if(!1===tA.methods.onMaximize.apply(this,arguments))return!1;this.updateTaskButton("maximize")},onMinimize(){iu._S("standalone")||this.minimizable&&(tA.methods.onMinimize.apply(this,arguments),this.updateTaskButton("minimize"))},onRestore(){tA.methods.onRestore.apply(this,arguments),this.updateTaskButton("restore")},doMaximize(){tA.methods.doMaximize.apply(this,arguments),this.saveRestoreData()},doMinimize(){tA.methods.doMinimize.apply(this,arguments),this.saveRestoreData()},doRestore(){tA.methods.doRestore.apply(this,arguments),this.saveRestoreData()},getHelpParams(){let e=this.getJsID(),t=this.helpParams;return ta(t)&&t&&(e+=":"+t),e},_onHelp(){if(this.onHelp)return this.onHelp();const e=this.getHelpParams();iu._S("standalone")?SYNO.SDS.WindowLaunch("SYNO.SDS.HelpBrowser.Application",{topic:e}):SYNO.SDS.AppLaunch("SYNO.SDS.HelpBrowser.Application",{topic:e},!1)},getOpenConfig(){},showAboutWindowV2(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.getIcon("About"),i=DL()?.SDS?.Packages.getPkgId(this.jsConfig.jsID),n=this.openWindow(hM,{title:this.currentTitle,icon:t,version:this.jsConfig.version,copyrightYear:fM(this.jsConfig),fetchVersion:()=>Promise.all([LL({api:"SYNO.Core.Package.Server",method:"list",version:2,params:{filter_ids:[i]}}),LL({api:"SYNO.Core.Package.Info",method:"get",version:1})]).then((e=>{let[{packages:t,beta_packages:i},{config:n}]=e;return{newVersion:t?.[0]?.version,betaVersion:n.blBetaChannel?i?.[0]?.version:null}})).catch((e=>(ih(e),{newVersion:null,betaVersion:null}))),synoId:`${this.jsConfig.jsID}-about-winodw-v2`,...e}).window;this.pushModalWindow(n)}}}),gM=["aria-label"],vM={class:"focus-last-alert",tabindex:"0",role:"alert"};var yM=Rm(mM,[["render",function(e,t,i,n,o,s){const r=Bi("v-app-window-header"),a=Bi("v-trap-focus"),l=Bi("v-resizable"),d=Bi("v-draggable"),c=Bi("v-spin"),u=Bi("v-layout"),h=Fi("syno-id");return Xi((jo(),Zo(u,{ref:"_window",class:ne(e.windowCls),style:Q(e.windowStyle),type:`window.${e.layoutType}`,order:e.layoutOrder,onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:Ur(e.onEsc,["esc","native"])},{default:Ii((()=>[is(r,hs({ref:"header"},e.headerProps,{"syno-id":`${e.synoId}-header`,"show-hamburger-icon":e.showHamburgerIcon,onClose:e.onClose,onMinimize:e.doMinimize,onMaximize:e.doMaximize,onFullscreen:e.doFullscreen,onRestore:e.doRestore,onHelp:e._onHelp,onClickHamburgerIcon:e.onClickHamburgerIcon,onTaskbarMenu:e.onTaskbarMenu}),null,16,["syno-id","show-hamburger-icon","onClose","onMinimize","onMaximize","onFullscreen","onRestore","onHelp","onClickHamburgerIcon","onTaskbarMenu"]),is(a,{ref:"trapFocus",class:ne(e.prefixCls+"-body")},{"alert-last":Ii((()=>[ts("div",vM,ce(e._i18n("desktop","window_last_hint")),1)])),default:Ii((()=>[ts("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"application","aria-label":e.currentTitle},null,8,gM),rn(e.$slots,"default")])),_:3},8,["class"]),e.resizable?(jo(),Zo(l,{key:0,"window-property":e.windowProperty,onResizeEnd:e.onResizeEnd},null,8,["window-property","onResizeEnd"])):ls("",!0),e.innerDraggable&&!e.isComponentType?(jo(),Zo(d,{key:1,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):ls("",!0),e.isMasking?(jo(),Ko("div",{key:2,class:ne(e.maskCls),onMousedown:t[0]||(t[0]=Wr((function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)}),["stop"]))},[is(c,{"only-mask":!e.lastMaskLayer.text,tip:e.lastMaskLayer.text,spinning:e.isMasking,"mask-style":e.maskStyle},null,8,["only-mask","tip","spinning","mask-style"])],34)):ls("",!0),rn(e.$slots,"wrapper-mask")])),_:3},8,["class","style","type","order","onKeydown"])),[[lr,e.showWindow],[h]])}]]),bM=Rm(on({name:"ModuleList",components:{withScrollbar:NL(wD)},mixins:[La("module-list")],props:{[rT()]:{type:String,default:void 0},beforeSelect:{type:Function,default:Ca},scrollbar:{type:[Boolean,Object],default:!0}},emits:["selected","update:model-value","input"],data:()=>({prefixCls:"v-module-list",options:[]}),computed:{hasScrollbar(){return Boolean(this.scrollbar)},scrollbarProps(){return na(this.scrollbar)?this.scrollbar:{}}},methods:{async onBeforeSelect(e,t){return e===t||!1!==await this.beforeSelect(e,t)&&void 0},async onOptionSelected(e,t,i){const n=this[rT()];if(!1===await this.onBeforeSelect(e,n))return!1;this.targetOption=t,Nc(this,"update:model-value",e,i),Nc(this,"selected",e,i)},register(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};const i=sT(this);Vc(e,"selected",this.onOptionSelected),i===sT(e)&&e.innerSelectable&&(this.targetOption=e),this.options.push(e),t(this)},async selectModule(e,t){const i=this.options.find((t=>sT(t)===e));return null!==e||i?i?.onSelect(null,t):(Nc(this,"update:model-value",null,t),void Nc(this,"selected",null,t))},unregister(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};Pc(e,"selected",this.onOptionSelected),this.options=this.options.filter((t=>GL(t)!==GL(e))),t(this)},onArrowKeydown(e){if(!this.targetOption)return;const t=[...this.$el.querySelectorAll(".module-item-option:not(.non-selectable)")];let i=t.findIndex((e=>this.targetOption.$el?.contains(e)));if(-1===i)return;i=xa(i+(du(e)?-1:cu(e)?1:0),0,t.length-1),t[i].focus(),t[i].click()},focus(){this.$el?.focus()}}}),[["render",function(e,t,i,n,o,s){const r=Bi("with-scrollbar");return jo(),Ko("div",{class:ne(e.prefixCls),role:"list",onKeydown:[t[0]||(t[0]=Ur(Wr((function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)}),["prevent"]),["up"])),t[1]||(t[1]=Ur(Wr((function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)}),["prevent"]),["down"]))]},[is(r,hs({wrap:e.hasScrollbar},e.scrollbarProps),{default:Ii((()=>[rn(e.$slots,"default")])),_:3},16,["wrap"])],34)}]]);const wM=on({name:"PageListAppWindow",components:{vModuleList:bM,vLayout:qL,withTransition:NL("transition"),vAppWindowHeader:pM,vTrapFocus:pL,vSpin:UL,vResizable:BL,vDraggable:$L},extends:yM,mixins:[La("page-list-app-window")],props:{mobileBreakpoint:{type:[String,Boolean,Object],default:()=>({fit:"sm",center:false})},module:{type:String,default:void 0},layoutType:{type:String,default:"page-list-app"},moduleListLayoutType:{type:String,default:"auto"},showModules:{type:[Boolean,String],default:"auto"},showHamburgerIcon:{type:[Boolean,String],default:"auto"}},emits:["selected-module","module.changed"],data:()=>({selectedVal:void 0,innerShowModules:!1}),computed:{innerShowHanmburgerIcon(){return"auto"===this.showHamburgerIcon?this.inFitBreakpoint:this.showHamburgerIcon},innerModuleListLayoutType(){return"auto"===this.moduleListLayoutType?Ya(this,"module-list-toolbar-wrapper")?"toolbar":"panel":this.moduleListLayoutType},windowCls(){return[this.prefixCls,"v-page-list-app-window",{"active-win":this.active,"deactive-win":!this.active,blink:this.blink,"mobile-fit":this.inFitBreakpoint}]},hasModules(){return oa(this.showModules)?this.showModules:!this.inFitBreakpoint||this.innerShowModules},maskContentStyle(){return{opacity:this.lastMaskLayer?.opacity,backgroundColor:"#FFFFFF"}}},watch:{module:{async handler(e){await this.$nextTick(),this.selectModule(e)},immediate:!0}},created(){Vc(this,"module.changed",(e=>{this.currentModule=e}))},[Pa](){Pc(this,"module.changed")},methods:{onModuleListValueChanged(e,t){this.selectedVal=e,Nc(this,"selected-module",e,t),this.innerShowModules=!1},selectModule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.$refs["module-list"]?.selectModule(e,t)},onClickHamburgerIcon(){this.innerShowModules=!this.innerShowModules},onClickModuleListMask(){this.innerShowModules=!1},async onPageListAppWindowBeforeClose(){return!this.currentModule||!1!==await this.currentModule.canLeave()||(this.currentModule.customLeaveLostChangeDialog?this.customLeaveLostChangeDialog():this.showConfirmLostChangedDialog())},async onClose(){let{forceClose:e=!1,payload:t={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!this.isStandalone&&!1!==await this.onPageListAppWindowBeforeClose()&&!1!==await tA.methods.onClose.apply(this,arguments)&&void 0},async onBeforeSelectModule(e,t){return!this.currentModule||!1!==await this.currentModule.canLeave()||this.showConfirmLostChangedDialog()},async showConfirmLostChangedDialog(){const e=await this.getMsgBox().confirmLostChange();return"dont_save"===e?!1!==await this.currentModule.confirmDontSave():"save"===e&&!1!==await this.currentModule.confirmSave()},getHelpParams(){let e,t=this.helpParams;return ca(this.currentModule?.helpParams)&&(t=ia(this.currentModule?.helpParams)?this.currentModule.helpParams?.():this.currentModule.helpParams),ca(this.currentModule?.helpTopic)&&(e=ia(this.currentModule?.helpTopic)?this.currentModule.helpTopic?.():this.currentModule.helpTopic),e||(e=this.getJsID()),ta(t)&&t&&(e+=":"+t),e},setStatusBusy(e,t){t=t||this._i18n("common","loading"),this.setStatus(e,t)},focusModules(){this.$refs["module-list"]?.focus()}}}),CM=["aria-label"],xM={class:"page-list-app-top-bar"},SM={class:"page-list-app-main"},kM={key:0,class:"container"},_M={class:"focus-last-alert",tabindex:"0",role:"alert"};var IM=Rm(wM,[["render",function(e,t,i,n,o,s){const r=Bi("v-app-window-header"),a=Bi("v-module-list"),l=Bi("v-layout"),d=Bi("with-transition"),c=Bi("v-spin"),u=Bi("v-trap-focus"),h=Bi("v-resizable"),p=Bi("v-draggable"),f=Fi("syno-id");return Xi((jo(),Zo(l,{ref:"_window",class:ne(e.windowCls),style:Q(e.windowStyle),type:`window.${e.layoutType}`,onMousedown:t[2]||(t[2]=t=>e.toFront()),onKeydown:Ur(e.onEsc,["esc","native"])},{default:Ii((()=>[is(r,hs({ref:"header"},e.headerProps,{"show-hamburger-icon":e.innerShowHanmburgerIcon,onClose:e.onClose,onMinimize:e.doMinimize,onMaximize:e.doMaximize,onFullscreen:e.doFullscreen,onRestore:e.doRestore,onHelp:e._onHelp,onClickHamburgerIcon:e.onClickHamburgerIcon,onTaskbarMenu:e.onTaskbarMenu}),null,16,["show-hamburger-icon","onClose","onMinimize","onMaximize","onFullscreen","onRestore","onHelp","onClickHamburgerIcon","onTaskbarMenu"]),is(u,{ref:"trapFocus",class:ne(e.prefixCls+"-body"),"body-class":["page-list-app-window-trap-body"]},{"alert-last":Ii((()=>[ts("div",_M,ce(e._i18n("desktop","window_last_hint")),1)])),default:Ii((()=>[ts("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"application","aria-label":e.currentTitle},null,8,CM),ts("div",xM,[rn(e.$slots,"top-bar")]),ts("div",SM,[is(d,{wrap:e.inFitBreakpoint,name:"slide"},{default:Ii((()=>[Xi(is(l,{class:"module-list-layout",type:`module-list.${e.innerModuleListLayoutType}`},{default:Ii((()=>[rn(e.$slots,"module-list-toolbar-wrapper"),is(a,{ref:"module-list",value:e.selectedVal,"model-value":e.selectedVal,"before-select":e.onBeforeSelectModule,tabindex:"0","aria-label":e.currentTitle,onInput:e.onModuleListValueChanged,"onUpdate:modelValue":e.onModuleListValueChanged},{default:Ii((()=>[rn(e.$slots,"module-options")])),_:3},8,["value","model-value","before-select","aria-label","onInput","onUpdate:modelValue"])])),_:3},8,["type"]),[[lr,e.hasModules]])])),_:3},8,["wrap"]),is(js,{name:"fade"},{default:Ii((()=>[e.hasModules?(jo(),Ko("div",{key:0,class:"module-list-mask",onClick:t[0]||(t[0]=function(){return e.onClickModuleListMask&&e.onClickModuleListMask(...arguments)})})):ls("",!0)])),_:1}),(jo(),Ko("div",kM,[rn(e.$slots,"default"),e.isMasking?(jo(),Zo(c,{key:0,"only-mask":!e.lastMaskLayer.text,class:"page-list-container-spin",tip:e.lastMaskLayer.text,spinning:e.isMasking,"mask-style":e.maskContentStyle},null,8,["only-mask","tip","spinning","mask-style"])):ls("",!0)]))])])),_:3},8,["class"]),e.resizable?(jo(),Zo(h,{key:0,"window-property":e.windowProperty,onResizeEnd:e.onResizeEnd},null,8,["window-property","onResizeEnd"])):ls("",!0),e.innerDraggable&&!e.isComponentType?(jo(),Zo(p,{key:1,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):ls("",!0),e.isMasking?(jo(),Ko("div",{key:2,class:ne(e.maskCls),onMousedown:t[1]||(t[1]=Wr((function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)}),["stop"]))},null,34)):ls("",!0),rn(e.$slots,"wrapper-mask")])),_:3},8,["class","style","type","onKeydown"])),[[lr,e.showWindow],[f]])}]]),TM=Rm(on({name:"PageListModule",mixins:[Aa("page-list-app-window")],props:{[rT()]:{type:String,default:void 0,required:!0},canLeave:{type:Function,default:Ca},customLeaveLostChangeDialog:{type:Function,default:void 0},confirmSave:{type:Function,default:Ca},confirmDontSave:{type:Function,default:Ca},confirmCancel:{type:Function,default:Ca},helpParams:{type:[String,Function],default:void 0},helpTopic:{type:[String,Function],default:void 0}},emits:["module-focus","module.changed","activated","deactivated"],data:()=>({innerCls:"page-list-module",activated:!1}),mounted(){this.appWindow=this["page-list-app-window"]?.instance,this.appWindow&&(this.disposedFn=Vc(this.appWindow,"selected-module",this.onCurrentModuleChanged),this.onCurrentModuleChanged(this.appWindow.selectedVal))},[Pa](){this.disposedFn?.(),delete this.appWindow},methods:{onCurrentModuleChanged(e,t){const i=sT(this)===e;this.activated!==i?(this.activated=i,this.activated?(Nc(this.appWindow,"module.changed",this),Nc(this,"activated",t)):Nc(this,"deactivated",t)):this.activated&&Nc(this,"module-focus",t)}}}),[["render",function(e,t,i,n,o,s){return e.activated?(jo(),Ko("div",{key:0,class:ne(e.innerCls)},[rn(e.$slots,"default")],2)):ls("",!0)}]]);const DM=on({name:"AppWizardWindow",components:{vWindowHeader:VL,vLayout:qL,vTrapFocus:pL,vDraggable:$L,vSpin:UL},extends:yM,mixins:[La("wizard-window")],props:{width:{type:[String,Number],default:480},minWidth:{type:[String,Number],default:420},height:{type:[String,Number],default:"auto"},showClose:{type:Boolean,default:!0},minimizable:{type:Boolean,default:!1},maximizable:{type:Boolean,default:!1},showHelp:{type:Boolean,default:!0},showMinimize:{type:Boolean,default:!1},showMaximize:{type:Boolean,default:!1},showFullscreen:{type:Boolean,default:!1},layoutType:{type:String,default:"wizard"}},emits:["wizard.currentStep","wizard.stepScroll"],data:()=>({subTitle:void 0,subTitleOpacity:0}),computed:{innerSubTitle(){return this.inFitBreakpoint?this.subTitle:` - ${this.subTitle}`},windowCls(){return[this.prefixCls,"v-wizard-window",{"active-win":this.active,"deactive-win":!this.active,blink:this.blink,"is-safari":Jc,"auto-height":this.autoHeight,"mobile-fit":this.inFitBreakpoint}]},subTitleStyle(){return{opacity:this.subTitleOpacity}}},methods:{setCurrentStep(e){this.subTitle=e.headline,this.focus()},onHeadlineIntersection(e){this.headerTitleWidth=this.$refs.header.getTitleEl()?.offsetWidth},onStepScrolled(e){this.subTitleOpacity=e?Math.min(e,24)/24:0},getToastBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getWindowEl();t=gm({text:e},t),HL(this.$.appContext.app,this.$el,t,gm({constrainMode:!1,absoluteMode:!0,anchorEl:n,containerEl:n,offset:JL,align:"t->t"},i))},tryConstrainHeight(){let{isFullsize:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!0},clearStatusBusy(){this.clearStatus()}}}),LM=["id"],AM=["aria-label"],EM={class:"focus-last-alert",tabindex:"0",role:"alert"};var MM=Rm(DM,[["render",function(e,t,i,n,o,s){const r=Bi("v-window-header"),a=Bi("v-trap-focus"),l=Bi("v-draggable"),d=Bi("v-spin"),c=Bi("v-layout"),u=Fi("syno-id");return Xi((jo(),Zo(c,{ref:"_window",type:`window.${e.layoutType}`,class:ne(e.windowCls),style:Q(e.windowStyle),order:e.layoutOrder,onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:Ur(e.onEsc,["esc","native"])},{default:Ii((()=>[is(r,hs({ref:"header"},e.headerProps,{"is-modalized":"","is-wizard":"","show-app-icon":!1,"dark-theme":"","show-help":e.showHelp,onHelp:e._onHelp,onClose:e.onClose,onTaskbarMenu:e.onTaskbarMenu}),{"sub-title":Ii((()=>[e.inFitBreakpoint?ls("",!0):(jo(),Ko("div",{key:0,id:`${e.id}-subtitle`,class:"sub-wrapper",style:Q(e.subTitleStyle)},ce(e.innerSubTitle),13,LM))])),_:1},16,["show-help","onHelp","onClose","onTaskbarMenu"]),e.inFitBreakpoint?(jo(),Ko("div",{key:0,class:"headline-transform",style:Q(e.subTitleStyle)},[ts("div",{class:"headline-text",style:Q(e.headlineStyle)},ce(e.innerSubTitle),5)],4)):ls("",!0),is(a,{ref:"trapFocus",class:ne(e.prefixCls+"-body")},{"alert-last":Ii((()=>[ts("div",EM,ce(e._i18n("desktop","window_last_hint")),1)])),default:Ii((()=>[ts("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"application","aria-label":e.currentTitle},null,8,AM),rn(e.$slots,"default")])),_:3},8,["class"]),e.innerDraggable?(jo(),Zo(l,{key:1,"prefix-cls":"v-wizard-window","window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):ls("",!0),e.isMasking?(jo(),Ko("div",{key:2,class:ne(e.maskCls),onMousedown:t[0]||(t[0]=Wr((function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)}),["stop"]))},[is(d,{"only-mask":!e.lastMaskLayer.text,tip:e.lastMaskLayer.text,spinning:e.isMasking,"mask-style":e.maskStyle},null,8,["only-mask","tip","spinning","mask-style"])],34)):ls("",!0)])),_:3},8,["type","class","style","order","onKeydown"])),[[lr,e.showWindow],[u]])}]]);wg("breadcrumb-slash",K_),wg("action-dropdown",jI);const BM=on({name:"Breadcrumb",components:{vButton:RA,vMenu:BA,vMenuItem:nE,vMenuDivider:dE,vIcon:bg},directives:{tooltip:lg,iconify:Cg},props:{items:{type:Array,required:!0,default:()=>[]},actionMenuItems:{type:[Array,Boolean],default:!1}},emits:["click-item"],data:()=>({displayItems:[]}),computed:{hasActionMenu(){return!0===this.actionMenuItems||fa(this.actionMenuItems)&&this.actionMenuItems.length>0},innerActionMenuItems(){return oa(this.actionMenuItems)?[]:this.actionMenuItems}},watch:{actionMenuItems(){this.genFeasibleDisplayItems()},items(){this.genFeasibleDisplayItems()}},mounted(){this.genFeasibleDisplayItems(),oD(this.$el,this.genFeasibleDisplayItems,this)},[Pa](){sD(this.$el,this.genFeasibleDisplayItems)},methods:{async isWidthFit(){return await this.$nextTick(),(this.$refs.measure?.getBoundingClientRect()?.width??0)>0},async genFeasibleDisplayItems(){const e=e=>({...e,type:"normal"}),t=e=>({display:"/",type:"divider",id:`v-breadcrumb-divider-${e}`}),i=e=>({...e,type:"action",items:this.innerActionMenuItems}),n=e=>({display:"...",type:"compressed",id:"v-breadcrumb-compressed",items:e}),o=[],s=[],r=[];for(let t=0;t<this.items.length;t++){const n=this.items[t];t===this.items.length-1&&this.hasActionMenu?o.push(i(n)):0===t||t===this.items.length-1?o.push(e(n)):r.push(e(n))}for(;;){const e=[];o[0]&&e.push(o[0]),s.length>0&&(e.push(t(e.length)),e.push(n(s)));for(const i of r)e.push(t(e.length)),e.push(i);if(o[1]&&(e.push(t(e.length)),e.push(o[1])),this.displayItems=e,await this.isWidthFit())break;if(r.length>0)s.push(r.shift());else if(o[0]&&!o[0].ellipsis)o[0].ellipsis=!0;else{if(!o[1]||o[1].ellipsis)break;o[1].ellipsis=!0}}},getItemClass(e){const{type:t,ellipsis:i}=e,n=["item"];switch(i&&n.push("ellipsis"),t){case"normal":n.push("normal");break;case"action":n.push("action");break;case"compressed":n.push("compressed");break;case"divider":n.push("divider")}return n},getItemTooltip:e=>"divider"!==e.type&&"compressed"!==e.type&&{content:e.display},onClickItem(e){"compressed"!==e.type&&"action"!==e.type&&Nc(this,"click-item",e)}}}),OM={class:"v-breadcrumb"},$M={ref:"measure",class:"v-breadcrumb-spacer"};var FM=Rm(BM,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-menu-item"),l=Bi("v-menu"),d=Bi("v-button"),c=Bi("v-menu-divider"),u=Fi("tooltip"),h=Fi("syno-id");return Xi((jo(),Ko("div",OM,[(jo(!0),Ko(Po,null,tn(e.displayItems,((t,i)=>(jo(),Ko(Po,{key:i},["divider"===t.type?(jo(),Zo(r,{key:`slash-${i}`,name:"breadcrumb-slash",class:ne(e.getItemClass(t))},null,8,["class"])):"compressed"===t.type?Xi((jo(),Zo(d,{key:`compressed-button-${i}`,"syno-id":`${e.synoId}-compressed-button-${i}`,type:"styleless",class:ne(e.getItemClass(t)),onClick:i=>e.onClickItem(t)},{dropdown:Ii((()=>[is(l,{width:200,"syno-id":`${e.synoId}-compressed-menu`},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(t.items,(t=>(jo(),Zo(a,{key:`compressed-${t.id}`,"syno-id":`${e.synoId}-compressed-menu-menuItem-${t.id}`,tooltip:t.display,title:t.display,onClick:i=>e.onClickItem(t)},null,8,["syno-id","tooltip","title","onClick"])))),128))])),_:2},1032,["syno-id"])])),default:Ii((()=>[ts("span",null,ce(t.display),1)])),_:2},1032,["syno-id","class","onClick"])),[[u,e.getItemTooltip(t)]]):"action"===t.type?Xi((jo(),Zo(d,{key:`action-button-${i}`,"syno-id":`${e.synoId}-action-button-${i}`,type:"styleless",class:ne(e.getItemClass(t)),onClick:i=>e.onClickItem(t)},{dropdown:Ii((()=>[rn(e.$slots,"action-menu-dropdown",{items:t.items},(()=>[is(l,{width:200,"syno-id":`${e.synoId}-action-menu`},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(t.items,((t,i)=>(jo(),Ko(Po,{key:i},["-"===t?(jo(),Zo(c,{key:`action-divider-${i}`,"syno-id":`${e.synoId}-action-menu-divider-${i}`},null,8,["syno-id"])):(jo(),Zo(a,{key:`action-${t.id}`,"syno-id":`${e.synoId}-action-menu-menuItem-${t.id}`,title:t.display,tooltip:t.display,onClick:i=>e.onClickItem(t)},null,8,["syno-id","title","tooltip","onClick"]))],64)))),128))])),_:2},1032,["syno-id"])]))])),default:Ii((()=>[ts("span",null,ce(t.display),1),is(r,{name:"action-dropdown","svg-icon-set":"set13"})])),_:2},1032,["syno-id","class","onClick"])),[[u,e.getItemTooltip(t)]]):Xi((jo(),Zo(d,{key:t.id,"syno-id":`${e.synoId}-remain-button-${i}`,type:"styleless",class:ne(e.getItemClass(t)),onClick:i=>e.onClickItem(t)},{default:Ii((()=>[ts("span",null,ce(t.display),1)])),_:2},1032,["syno-id","class","onClick"])),[[u,e.getItemTooltip(t)]])],64)))),128)),ts("div",$M,null,512)])),[[h]])}]]);const VM=on({name:"ButtonGroup"}),PM={class:"v-btn-group"};var NM=Rm(VM,[["render",function(e,t,i,n,o,s){const r=Fi("syno-id");return Xi((jo(),Ko("div",PM,[rn(e.$slots,"default")])),[[r]])}]]);const RM=on({name:"ButtonSplit"}),HM={class:"v-button-split"};var zM=Rm(RM,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",HM)}]]);wg("buttons-group-more",FI);var WM=Rm(on({name:"BreakpointButtonsGroup",components:{vButton:RA,vSpace:QA,vIcon:bg,vMenu:BA,vMenuItem:nE},mixins:[La("breakpoint-buttons-group"),Cg],props:{dense:{type:Boolean,default:!1},menuAlign:{type:String,default:"tr->br"}},data:()=>({buttons:[]}),computed:{spacing(){return this.dense?"dense":"regular"},wrapperCls(){return{dense:this.dense}},names(){return this.buttons.map((e=>e.name))}},methods:{register(e){this.buttons.push(e)},unregister(e){this.buttons.splice(this.buttons.findIndex((t=>GL(t)===GL(e))),1)},getUid:e=>GL(e)}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-menu-item"),l=Bi("v-menu"),d=Bi("v-button"),c=Bi("v-space");return jo(),Ko("div",{class:ne(["breakpoint-buttons-group",e.wrapperCls])},[e.$breakpointManager.mobile?rn(e.$slots,"mobile",{key:0,names:e.names},(()=>[is(d,{type:"styleless",class:"breakpoint-buttons-group-more-button","use-breakpoint":!1,"menu-align":e.menuAlign,display:"icon"},{dropdown:Ii((()=>[is(l,null,{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.buttons,(t=>(jo(),Zo(a,{key:e.getUid(t),title:t.name,disabled:t.disabled,onClick:t.handleClick},null,8,["title","disabled","onClick"])))),128))])),_:1})])),default:Ii((()=>[is(r,{name:"buttons-group-more","svg-icon-set":"set13"})])),_:1},8,["menu-align"])])):ls("",!0),Xi(is(c,{"justify-content":"start",spacing:e.spacing},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["spacing"]),[[lr,!e.$breakpointManager.mobile]])],2)}]]),jM=on({name:"SlideUpDownTransition",emits:["before-enter","enter","after-enter","before-leave","leave","after-leave"],methods:{onBeforeEnter(e){e.dataset||(e.dataset={}),e.dataset.overflow=Fu(e,"overflow"),e.dataset.paddingTop=e.dataset.paddingTop?e.dataset.paddingTop:Fu(e,"padding-top"),e.dataset.paddingBottom=e.dataset.paddingBottom?e.dataset.paddingBottom:Fu(e,"padding-bottom"),this.reflow=e.scrollHeight,Fu(e,"max-height","0"),Fu(e,"padding-top","0"),Fu(e,"padding-bottom","0"),this.reflow=e.scrollHeight,Nc(this,"before-enter",e)},onEnter(e){0!==e.scrollHeight?Fu(e,"max-height",`${e.scrollHeight}px`):Fu(e,"max-height",""),Fu(e,"padding-top",e.dataset.paddingTop),Fu(e,"padding-bottom",e.dataset.paddingBottom),Fu(e,"overflow","hidden"),Nc(this,"enter",e)},onAfterEnter(e){Fu(e,"max-height",""),e.removeAttribute("data-padding-top"),e.removeAttribute("data-padding-bottom"),Nc(this,"after-enter",e)},onBeforeLeave(e){e.dataset||(e.dataset={}),Fu(e,"max-height",`${e.scrollHeight}px`),e.dataset.overflow=Fu(e,"overflow"),e.dataset.paddingTop=e.dataset.paddingTop?e.dataset.paddingTop:Fu(e,"padding-top"),e.dataset.paddingBottom=e.dataset.paddingBottom?e.dataset.paddingBottom:Fu(e,"padding-bottom"),Fu(e,"overflow","hidden"),Nc(this,"before-leave",e)},onLeave(e){0!==e.scrollHeight&&(Fu(e,"max-height","0"),Fu(e,"padding-top","0"),Fu(e,"padding-bottom","0")),Nc(this,"leave",e)},onAfterLeave(e){Fu(e,"max-height",""),Fu(e,"padding-top",e.dataset.paddingTop),Fu(e,"padding-bottom",e.dataset.paddingBottom),Fu(e,"overflow",e.dataset.overflow),e.removeAttribute("data-padding-top"),e.removeAttribute("data-padding-bottom"),e.removeAttribute("overflow"),Nc(this,"after-leave",e)}}}),UM=Rm(jM,[["render",function(e,t,i,n,o,s){return jo(),Zo(js,{name:"slide-up-down",onBeforeEnter:t[0]||(t[0]=t=>e.onBeforeEnter(t)),onEnter:e.onEnter,onAfterEnter:t[1]||(t[1]=t=>e.onAfterEnter(t)),onBeforeLeave:t[2]||(t[2]=t=>e.onBeforeLeave(t)),onLeave:e.onLeave,onAfterLeave:t[3]||(t[3]=t=>e.onAfterLeave(t))},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["onEnter","onLeave"])}]]);wg("card-arrow-up",xI),wg("card-arrow-down",mI);const GM=on({name:"Card",components:{vLayout:qL,withSlideTransition:NL(UM),vIcon:bg},mixins:[Cg],props:{layoutType:{type:String,default:"regular"},layoutOrder:{type:Number,default:0},hasHeader:{type:Boolean,default:!0},title:{type:String,default:void 0},expandable:{type:Boolean,default:!1},expanded:{type:Boolean,default:!0}},data:()=>({innerExpanded:!0}),computed:{},watch:{expanded:{handler(e){this.innerExpanded=e},immediate:!0}},methods:{toggleExpand(){this.innerExpanded=!this.innerExpanded}}}),qM={key:0,class:"v-card-header"},YM={class:"v-card-title"},KM={class:"actions-wrapper"},ZM={key:0,class:"v-card-body"};var JM=Rm(GM,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("with-slide-transition"),l=Bi("v-layout");return jo(),Zo(l,{class:"v-card-wrapper",type:`card.${e.layoutType}${e.hasHeader?"-has-header":""}`,order:e.layoutOrder},{default:Ii((()=>[e.hasHeader?(jo(),Ko("div",qM,[ts("div",YM,[rn(e.$slots,"title",{},(()=>[rs(ce(e.title),1)]))]),ts("div",KM,[rn(e.$slots,"header-actions"),e.expandable?(jo(),Zo(r,{key:0,name:e.innerExpanded?"card-arrow-up":"card-arrow-down","svg-icon-set":"set31",onClick:e.toggleExpand},null,8,["name","onClick"])):ls("",!0)])])):ls("",!0),is(a,{wrap:e.expandable},{default:Ii((()=>[e.innerExpanded?(jo(),Ko("div",ZM,[rn(e.$slots,"body")])):ls("",!0)])),_:3},8,["wrap"])])),_:3},8,["type","order"])}]]),QM=on({name:"Checkbox",components:{vIcon:bg},mixins:[wu,Cg],props:{stopPropagation:{type:Boolean,default:!1},[rT()]:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{type:String,default:()=>`syno-${PD()}`},name:{type:String,default:void 0},labelColor:{type:String,default:"normal",validator:e=>["normal","red"].includes(e)}},emits:["change","focus","blur","update:model-value"],data:()=>({prefixCls:"v-checkbox",isFocused:!1}),computed:{innerValue(){return sT(this)},wrapperCls(){return[`${this.prefixCls}-wrapper`,{checked:!this.indeterminate&&!0===this.innerValue,indeterminate:this.indeterminate,disabled:this.disabled,focused:this.isFocused}]},labelCls(){return[`${this.prefixCls}-label`,{[`label-color-${this.labelColor}`]:!0}]}},methods:{onChange(e){const t=!!this.indeterminate||!this.innerValue;Nc(this,"update:model-value",t),Nc(this,"change",t,e)},onFocus(){this.$refs.input.focus()},onFocusInput(){this.isFocused=!0,Nc(this,"focus",this)},onBlurInput(){this.isFocused=!1,Nc(this,"blur",this)},onClick(e){this.stopPropagation&&e.stopPropagation(),this.disabled||this.onChange(e)},onDblClick(e){this.stopPropagation&&e.stopPropagation()}}});const XM=["aria-checked","aria-labelledby","value","checked","disabled","name"],eB=["id"];var tB=Rm(QM,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapperCls),tabindex:"-1",onClick:t[4]||(t[4]=function(){return e.onClick&&e.onClick(...arguments)}),onDblclick:t[5]||(t[5]=function(){return e.onDblClick&&e.onDblClick(...arguments)}),onFocus:t[6]||(t[6]=function(){return e.onFocus&&e.onFocus(...arguments)})},[is(r,{name:"checkbox",class:ne(e.prefixCls+"-icon"),sprite:""},null,8,["class"]),ts("input",{ref:"input",type:"checkbox",role:"checkbox","aria-checked":e.innerValue?"true":"false","aria-labelledby":e.id,class:ne(e.prefixCls+"-input"),value:e.innerValue,checked:e.innerValue,disabled:e.disabled,name:e.name,onChange:t[0]||(t[0]=function(){return e.onChange&&e.onChange(...arguments)}),onClick:t[1]||(t[1]=Wr((()=>{}),["stop"])),onFocus:t[2]||(t[2]=function(){return e.onFocusInput&&e.onFocusInput(...arguments)}),onBlur:t[3]||(t[3]=function(){return e.onBlurInput&&e.onBlurInput(...arguments)})},null,42,XM),ts("label",{id:e.id,class:ne(e.labelCls)},[rn(e.$slots,"default")],10,eB)],34)),[[a]])}]]);const iB=on({name:"Divider"}),nB={class:"v-divider"};var oB=Rm(iB,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",nB)}]]),sB=d(9818),rB=d(4498);const aB=["#FFFFFF","#FFE0E0","#FFEFD9","#FFFAC7","#D1FFD9","#CCFFF6","#E0F0FF","#E0E4FF","#F0E0FF","#FFE0F0","#F2F2F2","#FAB6B6","#FADBAF","#FAF29B","#A7FAB5","#96FAE9","#B4D7FA","#BBC4FA","#D8B6FA","#FAB6D8","#D9D9D9","#FA8484","#FAC170","#FAEC4B","#62F57A","#5CE6CF","#70B5FA","#8998FA","#BF84FA","#FA84BF","#A6A6A6","#E64C4C","#E69E39","#E6D517","#20D93F","#1DC4A8","#2F8DEB","#5266EB","#984CE6","#E64C99","#666666","#BF0F0F","#BF7000","#B3A400","#00A61C","#00997F","#0063C7","#142DCC","#6E10CC","#BF0F67","#333333","#730000","#734300","#736900","#007313","#007360","#004285","#00138C","#4A0094","#730039"],lB=["#000000","#FF0000","#FF9500","#FFEA00","#19FA3E","#00FAE5","#0582FF","#1A38FF","#8C1AFF","#FF1A8C"],dB=[].slice,cB=["keyword","gray","hex"],uB={};for(const e of Object.keys(rB))uB[dB.call(rB[e].labels).sort().join("")]=e;const hB={};function pB(e,t){if(!(this instanceof pB))return new pB(e,t);if(t&&t in cB&&(t=null),t&&!(t in rB))throw new Error("Unknown model: "+t);let i,n;if(e)if(e instanceof pB)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){const t=sB.get(e);if(null===t)throw new Error("Unable to parse color from string: "+e);this.model=t.model,n=rB[this.model].channels,this.color=t.value.slice(0,n),this.valpha="number"==typeof t.value[n]?t.value[n]:1}else if(e.length>0){this.model=t||"rgb",n=rB[this.model].channels;const i=dB.call(e,0,n);this.color=gB(i,n),this.valpha="number"==typeof e[n]?e[n]:1}else if("number"==typeof e)this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;const t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);const n=t.sort().join("");if(!(n in uB))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=uB[n];const o=rB[this.model].labels,s=[];for(i=0;i<o.length;i++)s.push(e[o[i]]);this.color=gB(s)}else this.model="rgb",this.color=[0,0,0],this.valpha=1;if(hB[this.model])for(n=rB[this.model].channels,i=0;i<n;i++){const e=hB[this.model][i];e&&(this.color[i]=e(this.color[i]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}pB.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in sB.to?this:this.rgb();t=t.round("number"==typeof e?e:1);const i=1===t.valpha?t.color:t.color.concat(this.valpha);return sB.to[t.model](i)},percentString(e){const t=this.rgb().round("number"==typeof e?e:1),i=1===t.valpha?t.color:t.color.concat(this.valpha);return sB.to.rgb.percent(i)},array(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object(){const e={},t=rB[this.model].channels,i=rB[this.model].labels;for(let n=0;n<t;n++)e[i[n]]=this.color[n];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){const e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){const e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new pB(this.color.map(function(e){return function(t){return function(e,t){return Number(e.toFixed(t))}(t,e)}}(e)).concat(this.valpha),this.model)},alpha(e){return arguments.length>0?new pB(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:fB("rgb",0,mB(255)),green:fB("rgb",1,mB(255)),blue:fB("rgb",2,mB(255)),hue:fB(["hsl","hsv","hsl","hwb","hcg"],0,(e=>(e%360+360)%360)),saturationl:fB("hsl",1,mB(100)),lightness:fB("hsl",2,mB(100)),saturationv:fB("hsv",1,mB(100)),value:fB("hsv",2,mB(100)),chroma:fB("hcg",1,mB(100)),gray:fB("hcg",2,mB(100)),white:fB("hwb",1,mB(100)),wblack:fB("hwb",2,mB(100)),cyan:fB("cmyk",0,mB(100)),magenta:fB("cmyk",1,mB(100)),yellow:fB("cmyk",2,mB(100)),black:fB("cmyk",3,mB(100)),x:fB("xyz",0,mB(100)),y:fB("xyz",1,mB(100)),z:fB("xyz",2,mB(100)),l:fB("lab",0,mB(100)),a:fB("lab",1),b:fB("lab",2),keyword(e){return arguments.length>0?new pB(e):rB[this.model].keyword(this.color)},hex(e){return arguments.length>0?new pB(e):sB.to.hex(this.rgb().round().color)},hexa(e){if(arguments.length>0)return new pB(e);const t=this.rgb().round().color;let i=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===i.length&&(i="0"+i),sB.to.hex(t)+i},rgbNumber(){const e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){const e=this.rgb().color,t=[];for(const[i,n]of e.entries()){const e=n/255;t[i]=e<=.03928?e/12.92:((e+.055)/1.055)**2.4}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){const t=this.luminosity(),i=e.luminosity();return t>i?(t+.05)/(i+.05):(i+.05)/(t+.05)},level(e){const t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark(){const e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight(){return!this.isDark()},negate(){const e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){const t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){const t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){const t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){const t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){const t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){const t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){const e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return pB.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){const t=this.hsl();let i=t.color[0];return i=(i+e)%360,i=i<0?360+i:i,t.color[0]=i,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);const i=e.rgb(),n=this.rgb(),o=void 0===t?.5:t,s=2*o-1,r=i.alpha()-n.alpha(),a=((s*r==-1?s:(s+r)/(1+s*r))+1)/2,l=1-a;return pB.rgb(a*i.red()+l*n.red(),a*i.green()+l*n.green(),a*i.blue()+l*n.blue(),i.alpha()*o+n.alpha()*(1-o))}};for(const e of Object.keys(rB)){if(cB.includes(e))continue;const t=rB[e].channels;pB.prototype[e]=function(){if(this.model===e)return new pB(this);if(arguments.length>0)return new pB(arguments,e);const i="number"==typeof arguments[t]?t:this.valpha;return new pB((n=rB[this.model][e].raw(this.color),Array.isArray(n)?n:[n]).concat(i),e);var n},pB[e]=function(i){return"number"==typeof i&&(i=gB(dB.call(arguments),t)),new pB(i,e)}}function fB(e,t,i){e=Array.isArray(e)?e:[e];for(const n of e)(hB[n]||(hB[n]=[]))[t]=i;return e=e[0],function(n){let o;return arguments.length>0?(i&&(n=i(n)),o=this[e](),o.color[t]=n,o):(o=this[e]().color[t],i&&(o=i(o)),o)}}function mB(e){return function(t){return Math.max(0,Math.min(e,t))}}function gB(e,t){for(let i=0;i<t;i++)"number"!=typeof e[i]&&(e[i]=0);return e}wg("color-picker-reset",kI),wg("color-picker-custom",VI);const vB=on({name:"ColorPickerDropdown",components:{vTrapFocus:pL,vDivider:oB,vIcon:bg},mixins:[Bc,Cg],props:{customDropdownCls:{type:String,default:""},commonOptions:{type:Array,default:()=>lB},options:{type:Array,default:()=>aB},customOptions:{type:Array,default:()=>[]},hasCustom:{type:Boolean,default:!0},filterSameColor:{type:Boolean,default:!1},currentColor:{type:Object,default:()=>({})}},emits:["close-dropdown","select","reset","show-custom"],data:()=>({activeIndex:-1}),computed:{hasTopDivider(){return this.hasCustom||Ya(this,"top-custom")||Ya(this,"bottom-custom")},hasBottomDivider(){return Ya(this,"bottom")},dropdownStyle:()=>({overflow:"hidden"}),dropdownCls(){return["v-color-picker-dropdown","v-select-dropdown-placement-bottomLeft",this.customDropdownCls]},colorWrapperCls:()=>["default-color-wrapper"],innerOptions(){return this.options.map((e=>({color:e,alpha:1})))},innerCommonOptions(){return this.commonOptions.map((e=>({color:e,alpha:1})))},innerCustomOptions(){return this.customOptions.slice(0,30).map((e=>na(e)?e:{color:e,alpha:1})).filter((e=>!this.filterSameColor||![...this.innerOptions,...this.innerCommonOptions].some((t=>{return n=e,(i=t).color===n.color&&i.alpha===n.alpha;var i,n}))))},allOptions(){return this.innerCommonOptions.concat(this.innerOptions).concat(this.innerCustomOptions)}},watch:{currentColor:{handler(){this.activeIndex=this.currentColor?this.allOptions.findIndex((e=>e.color===this.currentColor.color&&e.alpha===this.currentColor.alpha)):-1},immediate:!0}},methods:{commonColorItemCls(e){return["color-item",{activated:this.activeIndex===e}]},colorItemCls(e){return e+=this.commonOptions.length,["color-item",{activated:this.activeIndex===e}]},customColorItemCls(e){return e+=this.commonOptions.length+this.options.length,["color-item",{activated:this.activeIndex===e}]},colorBlockCls:e=>({"has-border":"#FFFFFF"===pB(e.color).hex()}),colorBlockStyle:e=>({"user-select":"none","background-color":pB(e.color).alpha(sa(e.alpha)?e.alpha:1).string()}),closeDropdown(e){Nc(this,"close-dropdown",e)},reset(){Nc(this,"reset"),this.closeDropdown()},arrowSelect(e,t){const i=xa(this.activeIndex+e+10*t,0,this.allOptions.length-1);this.select(i)},clearSelection(){this.select(-1)},select(e){const t=this.allOptions[e];this.activeIndex=e,Nc(this,"select",e,t)},onClickButtonOption(e){this.select(e),this.closeDropdown()},onClickCustom(){Nc(this,"show-custom")}}}),yB=["syno-id"],bB={class:"reset-button-wrapper"},wB=["syno-id"],CB=["aria-activedescendant"],xB=["id","syno-id","aria-selected","onClick"],SB={class:"color-block"},kB=["aria-activedescendant"],_B=["id","syno-id","aria-selected","onClick"],IB={class:"color-block"},TB={key:1,class:"custom-button-wrapper"},DB=["syno-id"],LB={key:2,class:"custom-color-wrapper"},AB=["syno-id","aria-selected","onClick"],EB={class:"color-block"};var MB=Rm(vB,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-divider"),l=Bi("v-trap-focus"),d=Fi("auto-focus");return jo(),Ko("div",{ref:"dropdown","syno-id":`${e.synoId}-dropdown-menu`,style:Q(e.dropdownStyle),class:ne(e.dropdownCls),onKeydown:t[12]||(t[12]=Ur((function(){return e.closeDropdown&&e.closeDropdown(...arguments)}),["esc"]))},[is(l,{ref:"dropdownTrapFocus"},{default:Ii((()=>[ts("div",bB,[is(r,{name:"color-picker-reset","svg-icon-set":"set01"}),ts("button",{"syno-id":`${e.synoId}-reset-btn`,class:"reset color-picker-button",onClick:t[0]||(t[0]=t=>e.reset())},ce(e._i18n("common","reset")),9,wB)]),is(a),Xi((jo(),Ko("ul",{class:"common-color-wrapper",role:"menu",tabindex:"0","aria-activedescendant":`option-${e.activeIndex}`,onKeydown:[t[1]||(t[1]=Ur(Wr((t=>e.arrowSelect(0,-1)),["prevent"]),["up"])),t[2]||(t[2]=Ur(Wr((t=>e.arrowSelect(-1,0)),["prevent"]),["left"])),t[3]||(t[3]=Ur(Wr((t=>e.arrowSelect(0,1)),["prevent"]),["down"])),t[4]||(t[4]=Ur(Wr((t=>e.arrowSelect(1,0)),["prevent"]),["right"])),t[5]||(t[5]=Ur(Wr((function(){return e.closeDropdown&&e.closeDropdown(...arguments)}),["prevent"]),["enter"]))]},[(jo(!0),Ko(Po,null,tn(e.innerCommonOptions,((t,i)=>(jo(),Ko("li",{key:i,id:`options-${i}`,"syno-id":`${e.synoId}-option-${t.color}`,class:ne(e.commonColorItemCls(i)),role:"menuitem","aria-selected":i===e.activeIndex,onClick:t=>e.onClickButtonOption(i)},[ts("i",SB,[ts("i",{class:ne(["cover",e.colorBlockCls(t)]),style:Q(e.colorBlockStyle(t))},null,6)])],10,xB)))),128))],40,CB)),[[d]]),is(a),ts("ul",{class:ne(e.colorWrapperCls),role:"menu",tabindex:"0","aria-activedescendant":`option-${e.activeIndex}`,onKeydown:[t[6]||(t[6]=Ur(Wr((t=>e.arrowSelect(0,-1)),["prevent"]),["up"])),t[7]||(t[7]=Ur(Wr((t=>e.arrowSelect(-1,0)),["prevent"]),["left"])),t[8]||(t[8]=Ur(Wr((t=>e.arrowSelect(0,1)),["prevent"]),["down"])),t[9]||(t[9]=Ur(Wr((t=>e.arrowSelect(1,0)),["prevent"]),["right"])),t[10]||(t[10]=Ur(Wr((function(){return e.closeDropdown&&e.closeDropdown(...arguments)}),["prevent"]),["enter"]))]},[(jo(!0),Ko(Po,null,tn(e.innerOptions,((t,i)=>(jo(),Ko("li",{key:i,id:`options-${i}`,"syno-id":`${e.synoId}-option-${t.color}`,class:ne(e.colorItemCls(i)),role:"menuitem","aria-selected":i+e.commonOptions.length===e.activeIndex,onClick:t=>e.onClickButtonOption(i+e.commonOptions.length)},[ts("i",IB,[ts("i",{class:ne(["cover",e.colorBlockCls(t)]),style:Q(e.colorBlockStyle(t))},null,6)])],10,_B)))),128))],42,kB),e.hasTopDivider?(jo(),Zo(a,{key:0})):ls("",!0),rn(e.$slots,"top-custom"),e.hasCustom?(jo(),Ko("div",TB,[is(r,{name:"color-picker-custom","svg-icon-set":"set01"}),ts("button",{"syno-id":`${e.synoId}-custom-btn`,class:"custom color-picker-button",onClick:t[11]||(t[11]=t=>e.onClickCustom())},ce(e._i18n("common","custom")),9,DB)])):ls("",!0),rn(e.$slots,"bottom-custom"),e.innerCustomOptions.length>0?(jo(),Ko("ul",LB,[(jo(!0),Ko(Po,null,tn(e.innerCustomOptions,((t,i)=>(jo(),Ko("li",{key:i,"syno-id":`${e.synoId}-option-${t.color}`,class:ne(e.customColorItemCls(i)),role:"menuitem","aria-selected":i+e.commonOptions.length+e.options.length===e.activeIndex,onClick:t=>e.onClickButtonOption(i+e.commonOptions.length+e.options.length)},[ts("i",EB,[ts("i",{class:ne(["cover",e.colorBlockCls(t)]),style:Q(e.colorBlockStyle(t))},null,6)])],10,AB)))),128))])):ls("",!0),e.hasBottomDivider?(jo(),Zo(a,{key:3})):ls("",!0),rn(e.$slots,"bottom")])),_:3},512)],46,yB)}]]);wg("color-picker-dropdown",Z_);const BB=on({name:"ColorPicker",components:{vColorPickerDropdown:MB,vIcon:bg,vPortal:Hh},directives:{clickoutside:$m},mixins:[Wc,Bc,wu,Sm,Cg],props:{align:{type:String,default:void 0},dropdownOffset:{type:Array,default:()=>{}},alignOptions:{type:Object,default:()=>{}},disabled:{type:Boolean,default:!1},[rT()]:{type:String,default:""},alpha:{type:Number,default:1},customDropdownCls:{type:String,default:""},options:{type:Array,default:()=>aB},commonOptions:{type:Array,default:()=>lB},customOptions:{type:Array,default:()=>[]},position:{type:String,default:"absolute"},dropdownWidth:{type:String,default:"234px"},id:{type:String,default:()=>`syno-${PD()}`},name:{type:String,default:""},hasCustom:{type:Boolean,default:!0},filterSameColor:{type:Boolean,default:!1}},emits:["select","showcustom","update:model-value","input"],data:()=>({prefix:"v-select",orgValue:"",isFocused:!1,found:!1,show:!1,container:null,activeIndex:-1}),computed:{currentColor(){return{color:sT(this),alpha:this.alpha}},innerAlignment(){(ca(this.align)||ca(this.alignOptions)||ca(this.dropdownOffset))&&th("The prop 'align', 'dropdownOffset' is deprecated, please use 'alignment' instead.");let e=ca(this.align)?this.align:this.getPopupConfigValue("alignment");return ta(this.alignment)&&(e={pos:e}),gm(e,{offset:this.dropdownOffset,opts:this.alignOptions})},wrapCls(){return[`${this.prefix}-wrapper v-color-picker-wrapper`,{disabled:this.disabled,focused:this.isFocused||this.show}]},dropdownCls(){return[`${this.prefix}-dropdown`,"v-color-picker-dropdown",`${this.prefix}-dropdown-placement-bottomLeft`,this.customDropdownCls]},iconStyle(){const e=this.currentColor;return{backgroundColor:pB(e.color||"#FFFFFF").alpha(e.alpha).string()}}},watch:{show:{async handler(e){e||this.$refs.colorPickerBtn&&this.$refs.colorPickerBtn.focus()}}},mounted(){this.orgValue=sT(this)||""},methods:{clickOutside(){this.show=!1},reset(){Nc(this,"input",this.orgValue)},showCustom(){this.show=!1,Nc(this,"showcustom")},showDropdown(){this.show=!0},closeDropdown(e){this.show=!1},toggleDropdown(){this.disabled||(this.show?this.closeDropdown():this.showDropdown())},updateActiveIndex(e){return this.$refs.dropdown?.updateActiveIndex(e)},clearSelection(){return this.activeIndex=-1,this.$refs.dropdown?.clearSelection()},select(e,t){const i=t?t.color:"";Nc(this,"update:model-value",i),Nc(this,"select",t)}}}),OB=["aria-expanded"],$B=["name"];var FB=Rm(BB,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-color-picker-dropdown"),l=Bi("v-portal"),d=Fi("syno-id"),c=Fi("clickoutside");return Xi((jo(),Ko("div",{ref:"colorPickerBtn",class:ne(e.wrapCls),tabindex:"0",role:"combobox","aria-haspopup":"true","aria-expanded":e.show,onClick:t[0]||(t[0]=function(){return e.toggleDropdown&&e.toggleDropdown(...arguments)}),onKeydown:[t[1]||(t[1]=Ur(Wr((function(){return e.showDropdown&&e.showDropdown(...arguments)}),["prevent","stop"]),["enter"])),t[2]||(t[2]=Ur(Wr((function(){return e.showDropdown&&e.showDropdown(...arguments)}),["prevent","stop"]),["down"]))],onFocus:t[3]||(t[3]=t=>e.isFocused=!0),onBlur:t[4]||(t[4]=t=>e.isFocused=!1)},[Xi((jo(),Ko("span",{ref:"colorIcon",class:ne(e.prefix+"-color-icon"),style:Q(e.iconStyle),name:e.name},[ts("i",{class:"cover",style:Q(e.iconStyle)},null,4)],14,$B)),[[d]]),is(r,{name:"color-picker-dropdown",class:ne(e.prefix+"-dropdown-icon"),"svg-icon-set":"set01"},null,8,["class"]),e.show?(jo(),Zo(l,{key:0,"mount-to":e.getContainerEl(),alignment:e.innerAlignment,anchor:e.$el,"acquire-z-index":""},{default:Ii((()=>[is(a,{ref:"dropdown","syno-id":e.synoId,"filter-same-color":e.filterSameColor,"has-custom":e.hasCustom,options:e.options,"current-color":e.currentColor,"common-options":e.commonOptions,"custom-options":e.customOptions,onSelect:e.select,onCloseDropdown:e.closeDropdown,onReset:e.reset,onShowCustom:e.showCustom},nn({_:2},[tn(e.$slots,((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,oe(os(t)))]))})))]),1032,["syno-id","filter-same-color","has-custom","options","current-color","common-options","custom-options","onSelect","onCloseDropdown","onReset","onShowCustom"])])),_:3},8,["mount-to","alignment","anchor"])):ls("",!0)],42,OB)),[[c,e.clickOutside,void 0,{children:!0}]])}]]);wg("status-error",eT),wg("status-normal",iT);const VB=on({name:"StatusBar",components:{SpinIcon:DD,vIcon:bg},directives:{tooltip:lg},mixins:[Bc,Cg],props:{state:{type:String,default:""},successText:{type:String,default:void 0},errorText:{type:String,default:void 0},loadingText:{type:String,default:void 0},text:{type:String,default:void 0},show:{type:Boolean,default:!1},autoHide:{type:Boolean,default:!0}},data:()=>({successState:void 0,errorState:void 0,loadingState:void 0}),computed:{innerSuccessText(){return this.successText??this._i18n("common","setting_applied")},innerErrorText(){return this.errorText??this._i18n("common","error_system")},innerLoadingText(){return this.loadingText??this._i18n("common","loading")},stateBarCls(){return"success"===this.state?"success":"error"===this.state?"error":"loading"},currentText(){return"success"===this.state?this.innerSuccessText:"error"===this.state?this.innerErrorText:this.innerLoadingText}}}),PB={class:"status-text"};var NB=Rm(VB,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("spin-icon"),l=Fi("tooltip");return jo(),Zo(js,{name:"fade"},{default:Ii((()=>[Xi(ts("div",{class:ne(["v-status-bar",e.stateBarCls])},[Xi((jo(),Ko("div",PB,[e.useSvgIcon?(jo(),Ko(Po,{key:0},["success"===e.state?(jo(),Zo(r,{key:0,name:"status-normal"})):"error"===e.state?(jo(),Zo(r,{key:1,name:"status-error"})):(jo(),Zo(a,{key:2,class:"status-icon"}))],64)):(jo(),Ko(Po,{key:1},["loading"!==e.state?(jo(),Zo(r,{key:0,name:"status-icon"})):(jo(),Zo(a,{key:1,class:"status-icon"}))],64)),rs(" "+ce(e.currentText),1)])),[[l,{overflowOnly:!0,content:e.currentText}]])],2),[[lr,e.show]])])),_:1})}]]);const RB=on({name:"Toolbar",data:()=>({})}),HB={class:"v-toolbar"},zB={class:"main-wrapper"},WB={class:"right-wrapper"};var jB=Rm(RB,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",HB,[ts("div",zB,[rn(e.$slots,"default")]),ts("div",WB,[rn(e.$slots,"right")])])}]]);wg("menu-submenu-triangle-right",nI);const UB=on({name:"MenuSubmenu",components:{vMenu:BA,vIcon:bg,vPortal:Hh},mixins:[Wc,La("sub-menu-item"),Aa("menu"),Sm,Cg],props:{title:{type:String,default:void 0},desc:{type:String,default:void 0},icon:{type:[String,Object],default:void 0},disabled:{type:Boolean,default:!1},width:{type:[Number,String],default:188,validator:e=>!ta(e)||"auto"===e},height:{type:Number,default:void 0},useScrollbar:{type:Boolean,default:!1},zIndex:{type:Number,default:15e3},tooltip:{type:[String,Object],default:()=>{}},constrainHeight:{type:Boolean,default:!1},onClose:{type:Function,default:void 0},arrowIcon:{type:Boolean,default:!0},alignment:{type:[Object,String],default:()=>({})},useHtml:{type:Boolean,default:!1},disableMenuConfigOverride:{type:Object,default:()=>({})}},emits:["reposition-done","menu-opened","menu-closed"],data:()=>({isOpen:!1,subPosX:0,subPosY:0,isOver:!1,hasChildMenu:!0,parentMenu:null,active:!1,menuStyle:{top:0,left:0,zIndex:void 0}}),computed:{innerAlignment(){const e=gm({pos:"tl->tr",opts:{constrainHeight:!1}},this.menu?.instance?.getDefaultAlignment()??{},{opts:{constrainHeight:this.constrainHeight}});return na(this.alignment)?gm(e,this.alignment):gm(e,{pos:this.alignment})},showIcon(){return this.icon},iconProps(){if(na(this.icon))return this.icon;let e=ta(this.icon)?{name:this.icon}:{};return"checkbox"===this.type?e={name:"menu-item-checkbox",sprite:!0}:"select"===this.type&&(e={name:this.innerSelected?"menu-item-tick":"menu-item-untick",svgIconSet:"set03"}),e},iconCls:()=>["v-icon","icon--left"],itemCls(){return["v-menu-submenu-item",{disabled:this.disabled,active:this.active||this.isOpen}]},activatable(){return!this.disabled},innerTooltip(){const e=ta(this.tooltip)?{content:this.tooltip,overflowOnly:!1}:this.tooltip;return gm({content:this.desc?`${this.title} ${this.desc}`:this.title,overflowOnly:()=>this.$refs.text},e)}},watch:{isOver:{handler(e){!1===e&&this.tryCloseMenu()}}},created(){this.dispatch("Menu","item-created",this)},mounted(){this.menu.register(this)},[Pa](){this.menu.unregister(this),this.dispatch("Menu","item-removed",this)},methods:{innerOnClose(){this.isOpen=!1,this.onClose?.()},getSlots(){return Ka(this)},register(e){e.parentMenuItem=this},unregister(e){delete e.parentMenuItem},canClose(){return this.$refs.childMenu?!this.isOver&&this.$refs.childMenu.canClose():!this.isOver},tryCloseMenu(){window.setTimeout((()=>{this.canClose()&&(this.closeMenu(),this.parentMenu&&this.parentMenu.tryCloseMenu())}),0)},closeMenu(){this.$refs.childMenu?.closeMenu()},async openChildMenu(){return this.isOver=!0,this.disabled||(this.isOpen=!0),await this.$nextTick()},async openChildMenuWithFocus(){await this.openChildMenu(),Vc(this,"reposition-done",(()=>{Hu(this.$refs.childMenu.$refs.menu.$el)}))},onMouseEnter(e){this.dispatch("Menu","item-hover",this),this.openChildMenu()},onMouseLeave(e){this.dispatch("Menu","item-hover-out",this)},activate(){this.$el.focus(),this.active=!0},deactivate(){this.active=!1,this.isOver=!1},onMenuAligned(e){this.$refs.childMenu.tryConstrain(e),Nc(this,"reposition-done")},onMenuOpened(){Nc(this,"menu-opened")},onMenuClosed(){Nc(this,"menu-closed")}}}),GB=["tabindex"],qB=["innerHTML"],YB={class:"item-suffix"};var KB=Rm(UB,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-menu"),l=Bi("v-portal"),d=Fi("tooltip"),c=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.itemCls),role:"menuitem",tabindex:e.activatable?"0":"",onMouseenter:t[0]||(t[0]=function(){return e.onMouseEnter&&e.onMouseEnter(...arguments)}),onMouseleave:t[1]||(t[1]=function(){return e.onMouseLeave&&e.onMouseLeave(...arguments)})},[rn(e.$slots,"content",{},(()=>[e.showIcon?(jo(),Zo(r,hs({key:0,class:e.iconCls},e.iconProps),null,16,["class"])):ls("",!0),rn(e.$slots,"title",{},(()=>[e.useHtml?(jo(),Ko("span",{key:0,ref:"text",class:"title",innerHTML:e.title},null,8,qB)):(jo(),Ko("span",{key:1,ref:"text",class:"title"},ce(e.title),513))])),e.desc?(jo(),Ko("span",{key:1,ref:"desc",class:"desc"},ce(e.desc),513)):ls("",!0),ts("div",YB,[rn(e.$slots,"suffix"),e.arrowIcon?(jo(),Zo(r,{key:0,name:"menu-submenu-triangle-right","svg-icon-set":"set01",size:"thin-rect"})):ls("",!0)])])),e.isOpen?(jo(),Zo(l,{key:0,ref:"portal","mount-to":e.getContainerEl(),anchor:e.$el,alignment:e.innerAlignment,"acquire-z-index":"",onAligned:e.onMenuAligned},{default:Ii((()=>[is(a,{ref:"childMenu",width:e.width,height:e.height,"use-scrollbar":e.useScrollbar,"is-root":!1,"z-index":e.zIndex,"syno-id":`${e.synoId}-child-menu`,"on-close":e.innerOnClose,"default-alignment":e.innerAlignment,"disable-menu-config-override":e.disableMenuConfigOverride,onMenuOpened:e.onMenuOpened,onMenuClosed:e.onMenuClosed},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,oe(os(t)))]))})))]),1032,["width","height","use-scrollbar","z-index","syno-id","on-close","default-alignment","disable-menu-config-override","onMenuOpened","onMenuClosed"])])),_:3},8,["mount-to","anchor","alignment","onAligned"])):ls("",!0)],42,GB)),[[d,e.innerTooltip],[c]])}]]);const ZB=on({name:"OverflowToolbar",components:{vOverflowList:xE,vButton:RA,vButtonSplit:zM,vMenu:BA,vMenuItem:nE,vMenuSubmenu:KB,vMenuDivider:dE},extends:jB,mixins:[Bc],props:{items:{type:Array,default:()=>[]},minVisibleItemsNum:{type:Number,default:1},getMoreButtonText:{type:Function,default:void 0},moreMenu:{type:Object,default:()=>({})}},emits:["click-item"],data:()=>({}),computed:{},methods:{getInnerMoreButtonText(e){return this.getMoreButtonText?this.getMoreButtonText(e):e.visibleItems.length<=0?this._i18n("common","action"):this._i18n("common","more")},isDropdown:e=>"dropdown"===e.type,isDivider:e=>"divider"===e.type,isDividerMenuItem:e=>"divider"===e.type,getButtonType:e=>"basic"===e.type?"":e.type,getItemId:e=>e.id??e.title,getItemSynoId(e){return`${this.synoId}-${this.getItemId(e)}`},onClickItem(e){this.isDropdown(e)||Nc(this,"click-item",e)},getMenuBind:e=>e.menuBind??e.bind}}),JB={class:"v-toolbar v-overflow-toolbar"},QB={class:"right-wrapper"};var XB=Rm(ZB,[["render",function(e,t,i,n,o,s){const r=Bi("v-button-split"),a=Bi("v-menu-divider"),l=Bi("v-menu-item"),d=Bi("v-menu"),c=Bi("v-button"),u=Bi("v-menu-submenu"),h=Bi("v-overflow-list"),p=Fi("syno-id");return Xi((jo(),Ko("div",JB,[is(h,{items:e.items,"min-visible-items-num":e.minVisibleItemsNum},nn({default:Ii((t=>{let{item:i}=t;return[rn(e.$slots,i.slot,{item:i},(()=>[e.isDivider(i)?(jo(),Zo(r,oe(hs({key:0},i.bind)),null,16)):(jo(),Zo(c,hs({key:1,type:e.getButtonType(i)},i.bind,{"syno-id":e.getItemSynoId(i),onClick:t=>e.onClickItem(i)}),nn({default:Ii((()=>[rs(ce(i.title)+" ",1)])),_:2},[i.menuItems||i.slot?{name:"dropdown",fn:Ii((()=>[is(d,hs({"syno-id":`${e.getItemSynoId(i)}-menu`},i.menu),{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(i.menuItems,(t=>(jo(),Ko(Po,null,[e.isDividerMenuItem(t)?(jo(),Zo(a,hs({key:0,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),onClick:i=>e.onClickItem(t)}),null,16,["syno-id","onClick"])):(jo(),Zo(l,hs({key:1,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),title:t.title,onClick:i=>e.onClickItem(t)}),null,16,["syno-id","title","onClick"]))],64)))),256))])),_:2},1040,["syno-id"])])),key:"0"}:void 0]),1040,["type","syno-id","onClick"]))]))]})),"overflow-item":Ii((t=>[rn(e.$slots,"overflow-item",oe(os(t)),(()=>[is(c,{type:"dropdown","syno-id":`${e.synoId}-more`},{dropdown:Ii((()=>[is(d,hs({"syno-id":`${e.synoId}-more-menu`},e.moreMenu),{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(t.overflowItems,((t,i)=>(jo(),Ko(Po,null,[t.menuItems?(jo(),Zo(u,hs({key:t.id,title:t.title,"syno-id":`${e.getItemSynoId(t)}-submenu`,ref_for:!0},e.getMenuBind(t)),{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(t.menuItems,(t=>(jo(),Ko(Po,null,[e.isDividerMenuItem(t)?(jo(),Zo(a,hs({key:0,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),onClick:i=>e.onClickItem(t)}),null,16,["syno-id","onClick"])):(jo(),Zo(l,hs({key:1,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),title:t.title,onClick:i=>e.onClickItem(t)}),null,16,["syno-id","title","onClick"]))],64)))),256))])),_:2},1040,["title","syno-id"])):e.isDivider(t)?i>0?(jo(),Zo(a,hs({key:2,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":`divider-${i}`}),null,16,["syno-id"])):ls("",!0):(jo(),Zo(l,hs({key:1,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),title:t.title,onClick:i=>e.onClickItem(t)}),null,16,["syno-id","title","onClick"]))],64)))),256))])),_:2},1040,["syno-id"])])),default:Ii((()=>[rs(ce(e.getInnerMoreButtonText(t))+" ",1)])),_:2},1032,["syno-id"])]))])),_:2},[tn(["overflow-start-anchor","overflow-end-anchor"],(t=>({name:t,fn:Ii((i=>[rn(e.$slots,t,oe(os(i)))]))})))]),1032,["items","min-visible-items-num"]),ts("div",QB,[rn(e.$slots,"right")])])),[[p]])}]]);const eO="basic",tO="row";var iO=Rm(on({name:"Panel",components:{vButton:RA,vSpin:UL,vStatusBar:NB,vLayout:qL,vScrollbar:wD,withTransitionGroup:NL(Ar)},mixins:[Bc,La("alert-bar-container"),vm("panel")],props:{loadingText:{type:String,default:void 0},tbar:{type:[Boolean,Object],default:!1},fbar:{type:[Boolean,Object],default:!0},hasTbar:{type:Boolean,default:!1},hasFbar:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},successText:{type:String,default:void 0},errorText:{type:String,default:void 0},showStatusBar:{type:Boolean,default:!1},autoHideStatusBar:{type:Boolean,default:!0},autoHideTimer:{type:Number,default:5e3},statusBarState:{type:String,default:"loading"},loadingType:{type:String,default:"spin"},cancel:{type:Function,default:()=>{}},cancelBtnDisabled:{type:Boolean,default:!1},confirm:{type:Function,default:()=>{}},confirmBtnDisabled:{type:Boolean,default:!1},useDefaultTBar:{type:Boolean,default:!0},tbarBorder:{type:Boolean,default:!1},cancelText:{type:String,default:void 0},confirmText:{type:String,default:void 0},fluidFooter:{type:Boolean,default:!0},layoutType:{type:String,default:"content"},layoutOrder:{type:Number,default:0},mobileBreakpoint:{type:[String,Boolean],default:"xxs"},footerDirection:{type:Object,default:()=>({mobile:tO,desktop:tO})},detectScroll:{type:Boolean,default:!1},scrollbarOption:{type:Object,default:()=>({})}},emits:["update:show-status-bar","click-toolbar-item"],data:()=>({prefixCls:"v-panel",reachYEnd:!0,reachYStart:!0,toolbarShown:!0,$_scroll:0}),computed:{innerDetectScroll(){return this.getPanelConfigValue("detectScroll")},hasConfirmButton(){return na(this.fbar)?!oa(this.fbar.confirm)||this.fbar.confirm:Boolean(this.fbar)},hasCancelButton(){return na(this.fbar)?!oa(this.fbar.cancel)||this.fbar.cancel:Boolean(this.fbar)},confirmBinding(){return na(this.fbar)&&na(this.fbar.confirm)?this.fbar.confirm:{}},cancelBinding(){return na(this.fbar)&&na(this.fbar.cancel)?this.fbar.cancel:{}},innerLoadingText(){return this.loadingText??this._i18n("common","loading")},innerSuccessText(){return this.successText??this._i18n("common","setting_applied")},innerErrorText(){return this.errorText??this._i18n("common","error_system")},hasToolbarTransition(){return Boolean(this.tbar?.transition)},toolbarScrollTransition(){return"scroll"===this.tbar?.transition?.action},transitionToolbarName(){return this.tbar?.transition?.name??"slide-toolbar"},toolbarComponent(){return this.toolbarType===eO?jB:XB},toolbarType(){return na(this.tbar)?this.tbar.type:!0===this.tbar?eO:this.hasTbar?(eh("hasTbar","tbar",this),eO):"none"},useFooter(){return!0!==this.hasFbar?(eh("hasFbar","fbar",this),this.hasFbar):this.fbar},useToolbar(){return this.toolbarScrollTransition?this.toolbarShown:this.useBasicToolbar||this.useOverflowToolbar},useBasicToolbar(){return this.toolbarType===eO},useOverflowToolbar(){return"overflow"===this.toolbarType},tbarCls(){let e=!1!==this.tbar?.defaultStyle;return!1===this.useDefaultTBar&&(eh("useDefaultTBar","tbar.defaultStyle",this),e=this.useDefaultTBar),this.tbarBorder&&eh("tbarBorder","tbar.border",this),["tbar-wrapper",{"default-tbar":e,"tbar-has-border":this.tbar?.border||this.tbarBorder}]},footerCls(){return this.isMobile?this.footerDirection?.mobile??tO:this.footerDirection?.desktop??tO},bodyWrapperCls(){return["layout-body-wrapper",{"reach-y-start":this.innerDetectScroll&&this.reachYStart,"reach-y-end":this.innerDetectScroll&&this.reachYEnd}]},panelCls(){return["v-panel",{mobile:this.isMobile}]},bodyWrapper:()=>({"flex-bug":tu("<",17)}),fbarCls(){return["fbar-wrapper",{"fbar-wrapper--fluid":this.fluidFooter,"reach-y-start":this.innerDetectScroll&&this.reachYStart,"reach-y-end":this.innerDetectScroll&&this.reachYEnd}]},isSpinType(){return"spin"===this.loadingType},panelBodyStyle(){return{"--panel-in-tabs-padding-top":this.useToolbar?"8px":"0"}},isMobile(){return!this.$breakpointManager&&this.mobileBreakpoint?(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1):this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint)}},watch:{statusBarState(e){this.delayHideStatusBar()},showStatusBar(e){this.delayHideStatusBar()}},async mounted(){await this.$nextTick(),this.detectReachStartEnd()},methods:{hasScrollBodySlot(){return Ya(this,"scroll-body")},hasContentBodySlot(){return Ya(this,"content-body")},delayHideStatusBar(){this.autoHideStatusBar&&"loading"!==this.statusBarState&&window.setTimeout((()=>{Nc(this,"update:show-status-bar",!1)}),this.autoHideTimer)},detectReachStartEnd(){if(this.getScrollEl()&&this.innerDetectScroll){const e=this.getScrollEl(),t=e.scrollTop;this.reachYStart=0===t,this.reachYEnd=e.scrollHeight<=e.offsetHeight||t===e.scrollHeight-e.offsetHeight}},determineToolbarShownWhenScroll(){const e=this.$refs.scrollbar?.getScrollTop()??0;Math.abs(e-this.$data.$_scroll)>20&&(e>this.$data.$_scroll?this.toolbarShown=!1:this.toolbarShown=!0,this.$data.$_scroll=e)},handleScroll(e){this.toolbarScrollTransition&&this.determineToolbarShownWhenScroll(),this.detectReachStartEnd()},getScrollEl(){return this.$refs.scrollbar?.getScrollEl()},onClickToolbarItem(e){Nc(this,"click-toolbar-item",e)}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-layout"),a=Bi("v-scrollbar"),l=Bi("with-transition-group"),d=Bi("v-status-bar"),c=Bi("v-button"),u=Bi("v-spin"),h=Fi("syno-id");return Xi((jo(),Zo(r,{class:ne(e.panelCls),type:`panel.${e.layoutType}`,order:e.layoutOrder},{default:Ii((()=>[is(u,{class:ne(e.prefixCls+"-wrapper"),tip:e.innerLoadingText,spinning:e.loading,"only-mask":!e.isSpinType},{"spin-inner":Ii((()=>[rn(e.$slots,"spin-inner")])),default:Ii((()=>[is(r,{class:ne(e.bodyWrapperCls),type:"panel-body",style:Q(e.panelBodyStyle),"custom-layout-styles":{"layout-padding-top":"--svc-panel-layout-padding-top"}},{default:Ii((()=>[is(l,{wrap:e.hasToolbarTransition,name:e.transitionToolbarName,multiple:!0,tag:"div",class:"layout-body-wrapper-transition"},{default:Ii((()=>[rn(e.$slots,"tbar-wrapper",{},(()=>[e.useToolbar?(jo(),Zo($i(e.toolbarComponent),{key:"toolbar",class:ne(e.tbarCls),items:e.tbar.items,"min-visible-items-num":e.tbar.minVisibleItemsNum,"syno-id":`${e.synoId}-toolbar`,"get-more-button-text":e.tbar.getMoreButtonText,"more-menu":e.tbar.moreMenu,onClickItem:e.onClickToolbarItem},nn({right:Ii((()=>[rn(e.$slots,"tbar-right")])),default:Ii((()=>[rn(e.$slots,"tbar")])),_:2},[tn(["overflow-start-anchor","overflow-end-anchor"],(t=>({name:t,fn:Ii((i=>[rn(e.$slots,t,oe(os(i)))]))})))]),1064,["class","items","min-visible-items-num","syno-id","get-more-button-text","more-menu","onClickItem"])):ls("",!0)])),ts("div",{key:"body-wrapper",class:ne(["body-wrapper",e.bodyWrapper])},[rn(e.$slots,"body"),e.hasScrollBodySlot()?(jo(),Zo(a,hs({key:0},e.scrollbarOption,{ref:"scrollbar",onScroll:e.handleScroll}),{default:Ii((()=>[is(r,{type:e.useToolbar?"toolbar-content":"content"},{default:Ii((()=>[rn(e.$slots,"scroll-body")])),_:3},8,["type"])])),_:3},16,["onScroll"])):ls("",!0),e.hasContentBodySlot()?(jo(),Zo(r,{key:1,type:e.useToolbar?"toolbar-content":"content"},{default:Ii((()=>[rn(e.$slots,"content-body")])),_:3},8,["type"])):ls("",!0)],2)])),_:3},8,["wrap","name"])])),_:3},8,["class","style"]),e.useFooter?(jo(),Zo(r,{key:0,class:ne(e.fbarCls),type:"panel-fbar"},{default:Ii((()=>["statusbar"===e.loadingType?rn(e.$slots,"status-bar",{key:0},(()=>[is(d,{state:e.statusBarState,show:e.showStatusBar,"success-text":e.innerSuccessText,"error-text":e.innerErrorText,"loading-text":e.innerLoadingText},null,8,["state","show","success-text","error-text","loading-text"])])):ls("",!0),rn(e.$slots,"fbar",{},(()=>[ts("div",{class:ne(["default pull-right button-region",e.footerCls])},[e.hasCancelButton?(jo(),Zo(c,hs({key:0,"syno-id":`${e.synoId}-fbar-cancel`,type:"footbar",suffix:"cancel",disabled:e.cancelBtnDisabled},e.cancelBinding,{onClick:e.cancel}),{default:Ii((()=>[rs(ce(e.cancelText||e._i18n("common","cancel")),1)])),_:1},16,["syno-id","disabled","onClick"])):ls("",!0),e.hasConfirmButton?(jo(),Zo(c,hs({key:1,"syno-id":`${e.synoId}-fbar-commit`,type:"footbar",suffix:"main",disabled:e.confirmBtnDisabled},e.confirmBinding,{onClick:e.confirm}),{default:Ii((()=>[rs(ce(e.confirmText||e._i18n("common","commit")),1)])),_:1},16,["syno-id","disabled","onClick"])):ls("",!0)],2)]))])),_:3},8,["class"])):ls("",!0)])),_:3},8,["class","tip","spinning","only-mask"])])),_:3},8,["class","type","order"])),[[h]])}]]);const nO="function"==typeof Map?new Map:function(){const e=[],t=[];return{has:t=>e.indexOf(t)>-1,get:i=>t[e.indexOf(i)],set(i,n){-1===e.indexOf(i)&&(e.push(i),t.push(n))},delete(i){const n=e.indexOf(i);n>-1&&(e.splice(n,1),t.splice(n,1))}}}();function oO(e){const t=nO.get(e);t&&t.destroy()}function sO(e){const t=nO.get(e);t&&t.update()}let rO=null;Mc?(rO=e=>e,rO.destroy=e=>e,rO.update=e=>e):(rO=(e,t)=>(e&&Array.prototype.forEach.call(e.length?e:[e],(e=>function(e){if(!e||!e.nodeName||"TEXTAREA"!==e.nodeName||nO.has(e))return;let t=null,i=null,n=null;function o(){if(0===e.scrollHeight)return;const n=function(e){const t=[];for(;e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+t+"px",i=e.clientWidth,n.forEach((e=>{e.node.scrollTop=e.scrollTop})),o&&(document.documentElement.scrollTop=o)}function s(){o();const t=Math.round(parseFloat(e.style.height)),i=window.getComputedStyle(e,null);let s="content-box"===i.boxSizing?Math.round(parseFloat(i.height)):e.offsetHeight;if(s<t?"hidden"===i.overflowY&&(o(),s="content-box"===i.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==i.overflowY&&(o(),s="content-box"===i.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),n!==s){n=s;const t=qu("autosize:resized");try{e.dispatchEvent(t)}catch{}}const r=qu("autosize:updated");try{e.dispatchEvent(r)}catch{}}const r=()=>{e.clientWidth!==i&&s()},a=(t=>{window.removeEventListener("resize",r,!1),e.removeEventListener("input",s,!1),e.removeEventListener("keyup",s,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",s,!1),Object.keys(t).forEach((i=>{e.style[i]=t[i]})),nO.delete(e)}).bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),window.addEventListener("resize",r,!1),e.addEventListener("keyup",s,!1),e.addEventListener("autosize:update",s,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",nO.set(e,{destroy:a,update:s}),function(){const i=window.getComputedStyle(e,null);"vertical"===i.resize?e.style.resize="none":"both"===i.resize&&(e.style.resize="horizontal"),t="content-box"===i.boxSizing?-(parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)):parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),isNaN(t)&&(t=0),s()}()}(e))),e),rO.destroy=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],oO),e),rO.update=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],sO),e));var aO=Rm(on({name:"HighlightBox",components:{},mixins:[],props:{color:{type:String,default:"blue"},hideInnerCls:{type:Boolean,default:!1}},data:()=>({prefixCls:"v-highlight-box"}),computed:{wrapperCls(){return[this.prefixCls,`${this.prefixCls}-${this.color}`]},innerCls(){return[{[`${this.prefixCls}-inner`]:!this.hideInnerCls}]}}}),[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:ne(e.wrapperCls)},[ts("div",{class:ne(e.innerCls)},[rn(e.$slots,"default")],2)],2)}]]);wg("input-clear",SI),wg("input-eye",LI),wg("input-eye-slash",AI),wg("input-password-rule-tick",WI);const lO=on({name:"Input",components:{vIcon:bg,vHighlightBox:aO,vScrollbar:wD,vPortal:Hh},directives:{tooltip:lg},mixins:[Wc,wu,Cg,Bc],props:{type:{type:String,default:"text"},id:{type:String,default:()=>`syno-${PD()}`},[rT()]:{type:[String,Number],default:void 0},placeholder:{type:[String,Number],default:void 0},disabled:{type:Boolean,default:!1},autosize:{type:[Boolean,Object],default:!1},strengthChecker:{type:[Function,Boolean],default:!1},mask:{type:[RegExp,Function],default:null},numberOnly:{type:Boolean,default:!1},defaultShowStrengthChecker:{type:Boolean,default:!1},maxlength:{type:Number,default:void 0},readonly:{type:Boolean,default:!1},focusClass:{type:[Boolean,String],default:"focused"},disableHoverStyle:{type:Boolean,default:!1},fitContainer:{type:Boolean,default:!0},autocomplete:{type:String,default:"off"},showPasswordVisibilityIcon:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},passwordPortalName:{type:String,default:()=>"password-portal"+String(Math.round(1e7*Math.random()))},passwordRules:{type:Array,default:()=>[]},mobileBreakpoint:{type:[String,Boolean],default:"xxs"},inputAttrs:{type:Object,default:()=>({})}},emits:["focus","blur","strength-check","paste","keydown","clear","click","keyup","update:model-value","input"],data(){const e=this[rT()];return{composing:!1,showPasswordInfoInMobile:!1,prefixCls:"v-textfield",currentValue:null==e?"":e,isFocused:!1,isInvalid:!1,showStrength:this.defaultShowStrengthChecker,strength:"",strengthText:this._i18n("common","password_strength"),maskPassword:!0,passwordRulesChecked:[]}},computed:{isMobile(){return!this.$breakpointManager&&this.mobileBreakpoint?(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1):this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint)},hasPasswordInfo(){return"password"===this.type&&(this.passwordRules.length>0||Boolean(this.strengthChecker))},hasPasswordRules(){return this.passwordRules.length>0},textareaRows(){return this.autosize?.minRows??2},textareaStyle(){const e=this.autosize?.lineHeight??18;return{maxHeight:this.autosize?.maxRows?this.autosize.maxRows*e+10+"px":"auto"}},inputType(){return"password"===this.type?this.maskPassword?"password":"text":this.type},wrapperCls(){return[`${this.prefixCls}-wrapper`,{[this.focusClass]:!!this.focusClass&&this.isFocused,"disabled-hover":this.disableHoverStyle,disabled:this.disabled,invalid:this.isInvalid}]},inputWrapperCls(){return[`${this.prefixCls}-input-wrapper`,{password:"password"===this.type,"mask-password":this.maskPassword}]},textareaWrapperCls(){return[`${this.prefixCls}-textarea-wrapper`,{"auto-size":this.autosize},{"fit-container":this.fitContainer}]},inputContainerCls(){return{textarea:"textarea"===this.type,"only-suffix-icons":this.hasSuffixIcons&&!Ya(this,"suffix")}},inputCls(){return["textarea"===this.type?`${this.prefixCls}-textarea`:`${this.prefixCls}-input`,{"fit-container":this.fitContainer}]},strengthCheckerCls(){return[`${this.prefixCls}-strength`,`${this.strength}`]},isPasswordType(){return"password"===this.type},showClear(){return this.clearable&&this.currentValue},showPasswordIcon(){return this.isPasswordType&&this.showPasswordVisibilityIcon},hasPrefix(){return Ya(this,"prefix")},hasSuffixIcons(){return this.showClear||this.showPasswordIcon||Ya(this,"suffix-icons")},hasSuffix(){return this.hasSuffixIcons||Ya(this,"suffix")},suffixIconCount(){let e=0;return this.showClear&&e++,this.showPasswordIcon&&e++,e},suffixIconsCls:()=>({}),suffixWrapperCls(){return{"has-suffix-icons":this.hasSuffixIcons}},passwordTipOpts(){return!(!this.hasPasswordInfo||this.isMobile)&&{portalName:this.passwordPortalName,type:"info",cls:"password-info-tip",triggerAction:"custom",hideWhenClickOutside:!0,usePortal:!0,attachToElement:!0,arrow:!0,align:"tl->tr",offset:[0,0]}}},watch:{strengthChecker:{handler(){this.strengthChecker&&this.checkStrength()},immediate:!0},passwordRules:{handler(){this.hasPasswordRules&&this.checkPasswordRules()},immediate:!0},async[rT()](e){this.currentValue=e,this.hasPasswordRules&&this.checkPasswordRules(),this.strengthChecker&&this.checkStrength()}},created(){this.checkStrengthDebounced=yD((()=>{this.checkStrength()}),250)},async mounted(){if(await this.$nextTick(),"textarea"===this.type){this.autosize?rO(this.$refs.textarea):this.updateTextFieldHeight();const e=yD((()=>{this.$refs?.textarea&&!function(e){return null===e.offsetParent}(this.$refs.textarea)&&(this.autosize?rO.update(this.$refs.textarea):this.updateTextFieldHeight())}),30);this.disposeFn=oD(this.$refs.textarea,e)}},[Pa](){"textarea"===this.type&&(this.disposeFn?.(),rO.destroy(this.$refs.textarea))},methods:{onMouseDown(e){const t=this.$refs.scrollbar.getScrollEl(),i=e.clientY,n=e.offsetY,o=t.clientHeight-e.offsetY;let s;const r=e=>{let r=e.clientY>i?1:-1,a=Math.abs(e.clientY-i),l=0;1===r&&a>=o?l=a-o:-1===r&&a>=n&&(l=n-a),l*=1,t.scrollTop+=l,s&&window.clearInterval(s),s=window.setInterval((()=>{t.scrollTop+=l}),100)};Nu(document,"mouseup",(e=>{Ru(document,"mousemove",r),window.clearInterval(s)})),Pu(document,"mousemove",r)},onCompositionStart(){this.composing=!0},onCompositionEnd(e){this.composing=!1,this.onInput(e)},updateTextFieldHeight(){if(this.$refs.textarea){const e=this.$refs.textarea.scrollTop;Fu(this.$refs["fake-textarea"],"height",`${this.$refs.textarea.scrollHeight}px`),this.$refs.scrollbar.update(),this.$refs.scrollbar.getScrollEl().scrollTop=e}},onScroll(){this.$refs.textarea&&this.$refs.scrollbar&&(this.$refs.textarea.scrollTop=this.$refs.scrollbar?.getScrollTop())},setFocus(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(this.$refs.input||this.$refs.textarea).focus(e)},setBlur(){(this.$refs.input||this.$refs.textarea).blur()},selectText(){(this.$refs.input||this.$refs.textarea).select()},setInputValue(e){this.$refs.input&&(this.$refs.input.value=e)},onWheel(e){const t=e.deltaY,i=this.$refs.scrollbar?.getScrollEl();i&&(i.scrollTop+=t)},onInput(e){if(!0===this.composing)return;let t=e.target.value;(this.mask||this.numberOnly)&&(t=this.filterMaskValue(t),this.setInputValue(t)),Nc(this,"update:model-value",t),this.checkStrengthDebounced()},onFocus(){this.hasPasswordInfo&&(this.$refs?.["input-container"]?._svc_tooltip_e_show_cb?.(),this.showPasswordInfoInMobile=!0),this.isFocused=!0,this.selectOnFocus&&this.selectInput(),Nc(this,"focus",this)},selectInput(){("textarea"===this.type?this.$refs.textarea:this.$refs.input).select()},onBlur(e){this.showPasswordInfoInMobile&&(this.showPasswordInfoInMobile=!1),this.isFocused=!1,Nc(this,"blur",this,e)},async checkStrength(){if(!this.strengthChecker)return;const{strength:e,strengthText:t}=await this.strengthChecker(this.currentValue);this.strength=e,this.strengthText=t,this.showStrength=!0,Nc(this,"strength-check",{strength:e,strengthText:t})},async checkPasswordRules(){this.passwordRulesChecked=await Promise.all(this.passwordRules.map((e=>e?.check?.(this.currentValue))))},filterMaskValue(e){if(this.mask&&(e=ia(this.mask)?this.mask(e):e.replace(this.mask,"")),this.numberOnly){let t="-"===e.substr(0,1);ra(e=t?"-"+e.substr(1).replace(/[^\d]/g,"").replace(/^0*/,""):e.replace(/[^\d]/g,"").replace(/^0+(?!$)/,""))&&(e=+e)}return e},onPaste(){Nc(this,"paste",event),"textarea"!==this.type||this.autosize||this.updateTextFieldHeight()},onKeyUp(e){"textarea"!==this.type||this.autosize||this.updateTextFieldHeight(),this.$emit("keyup",e)},onKeyDown(e){this.handleEnterKeyHint(e),Nc(this,"keydown",e)},onClickVisibilityIcon(){this.disabled||(this.maskPassword=!this.maskPassword)},async onClear(e){this.disabled||(Nc(this,"update:model-value",""),Nc(this,"clear",e),await this.$nextTick(),this.updateTextFieldHeight(),this.setFocus())},copyValue(){return("textarea"===this.type?this.$refs.textarea:this.$refs.input).select(),document.execCommand("Copy")},cutValue(){return("textarea"===this.type?this.$refs.textarea:this.$refs.input).select(),document.execCommand("Copy")&&this.onClear()},inDataTableBehavior(){this.$el.addEventListener("mousedown",(e=>e.stopPropagation())),this.$el.addEventListener("keydown",(e=>e.stopPropagation()))},getRuleItemCls(e,t){return["rule-checked-item",{checked:this.passwordRulesChecked[t]}]},onClick(e){Nc(this,"click",e)}}}),dO={class:"strength-text"},cO=ts("div",{class:"strength-line"},[ts("div",{class:"strength-cover"})],-1),uO={key:1,class:"v-input-password-rules"},hO={class:"rule-header"},pO={class:"rule-wrapper"},fO={class:"rule-text"},mO=["id","placeholder","disabled","value","readonly","maxlength","enterkeyhint","rows"],gO={key:0,class:"prefix-wrapper"},vO=["id","type","placeholder","disabled","value","enterkeyhint","autocomplete","readonly","maxlength","aria-describedby"],yO={ref:"fake-textarea",class:"fake-textarea"},bO={class:"strength-text"},wO=ts("div",{class:"strength-line"},[ts("div",{class:"strength-cover"})],-1),CO={key:1,class:"v-input-password-rules"},xO={class:"rule-header"},SO={class:"rule-wrapper"},kO={class:"rule-text"};var _O=Rm(lO,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-portal"),l=Bi("v-scrollbar"),d=Bi("v-highlight-box"),c=Fi("tooltip"),u=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapperCls),onClick:t[19]||(t[19]=function(){return e.onClick&&e.onClick(...arguments)})},[Xi((jo(),Ko("div",{ref:"input-container",class:ne(["input-container",e.inputContainerCls])},[e.hasPasswordInfo?(jo(),Zo(a,{key:0,name:e.passwordPortalName,to:e.passwordPortalName},{default:Ii((()=>[e.strengthChecker?(jo(),Ko("div",{key:0,class:ne([e.strengthCheckerCls,"v-input-strength-wrapper"])},[ts("div",dO,ce(e.strengthText||e._i18n("common","password_strength")),1),cO],2)):ls("",!0),e.hasPasswordRules?(jo(),Ko("div",uO,[rn(e.$slots,"password-rule-header",{},(()=>[ts("div",hO,ce(e._i18n("common","password_must"))+" "+ce(e._i18n("common","colon")),1)])),ts("div",pO,[(jo(!0),Ko(Po,null,tn(e.passwordRules,((t,i)=>(jo(),Ko("div",{key:i,class:ne(e.getRuleItemCls(t,i))},[is(r,{name:"input-password-rule-tick"}),ts("div",fO,ce(t.text),1)],2)))),128))])])):ls("",!0)])),_:3},8,["name","to"])):ls("",!0),"textarea"===e.type?(jo(),Ko("div",{key:1,class:ne(e.textareaWrapperCls)},["textarea"===e.type?(jo(),Ko("textarea",{key:0,id:e.id,ref:"textarea",class:ne(e.inputCls),placeholder:e.placeholder,disabled:e.disabled,value:e.currentValue,readonly:e.readonly,maxlength:e.maxlength,enterkeyhint:e.enterKey,rows:e.textareaRows,style:Q(e.textareaStyle),onInput:t[0]||(t[0]=function(){return e.onInput&&e.onInput(...arguments)}),onCompositionstart:t[1]||(t[1]=function(){return e.onCompositionStart&&e.onCompositionStart(...arguments)}),onCompositionend:t[2]||(t[2]=function(){return e.onCompositionEnd&&e.onCompositionEnd(...arguments)}),onKeyup:t[3]||(t[3]=function(){return e.onKeyUp&&e.onKeyUp(...arguments)}),onKeydown:t[4]||(t[4]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)}),onPaste:t[5]||(t[5]=function(){return e.onPaste&&e.onPaste(...arguments)}),"onAutosize:updated":t[6]||(t[6]=function(){return e.updateTextFieldHeight&&e.updateTextFieldHeight(...arguments)}),onWheel:t[7]||(t[7]=Wr((function(){return e.onWheel&&e.onWheel(...arguments)}),["stop","prevent"])),onMousedown:t[8]||(t[8]=function(){return e.onMouseDown&&e.onMouseDown(...arguments)}),onBlur:t[9]||(t[9]=function(){return e.onBlur&&e.onBlur(...arguments)}),onFocus:t[10]||(t[10]=function(){return e.onFocus&&e.onFocus(...arguments)})},null,46,mO)):ls("",!0),e.hasSuffix?(jo(),Ko("span",{key:1,class:ne(["suffix-wrapper",e.suffixWrapperCls])},[e.showClear?(jo(),Zo(r,{key:0,name:"input-clear","svg-icon-set":"set25",onClick:Wr(e.onClear,["stop"])},null,8,["onClick"])):ls("",!0),e.showPasswordIcon?(jo(),Zo(r,{key:1,name:e.maskPassword?"input-eye":"input-eye-slash",class:"password-icon","svg-icon-set":"set13",onClick:Wr(e.onClickVisibilityIcon,["stop"])},null,8,["name","onClick"])):ls("",!0),rn(e.$slots,"suffix-icons")],2)):ls("",!0)],2)):(jo(),Ko("div",{key:2,class:ne(e.inputWrapperCls)},[e.hasPrefix?(jo(),Ko("span",gO,[rn(e.$slots,"prefix")])):ls("",!0),ts("input",hs({id:e.id},e.inputAttrs,{ref:"input",type:e.inputType,class:e.inputCls,placeholder:e.placeholder,disabled:e.disabled,value:e.currentValue,enterkeyhint:e.enterKey,autocomplete:e.autocomplete,readonly:e.readonly,maxlength:e.maxlength,"aria-describedby":e.strengthChecker?`${e.id}-strength`:void 0,onInput:t[11]||(t[11]=function(){return e.onInput&&e.onInput(...arguments)}),onCompositionstart:t[12]||(t[12]=function(){return e.onCompositionStart&&e.onCompositionStart(...arguments)}),onCompositionend:t[13]||(t[13]=function(){return e.onCompositionEnd&&e.onCompositionEnd(...arguments)}),onKeyup:t[14]||(t[14]=function(){return e.onKeyUp&&e.onKeyUp(...arguments)}),onKeydown:t[15]||(t[15]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)}),onPaste:t[16]||(t[16]=function(){return e.onPaste&&e.onPaste(...arguments)}),onBlur:t[17]||(t[17]=function(){return e.onBlur&&e.onBlur(...arguments)}),onFocus:t[18]||(t[18]=function(){return e.onFocus&&e.onFocus(...arguments)})}),null,16,vO),e.hasSuffix?(jo(),Ko("span",{key:1,class:ne(["suffix-wrapper",e.suffixWrapperCls])},[e.showClear?(jo(),Zo(r,{key:0,name:"input-clear",class:"clear-icon","svg-icon-set":"set25",onClick:Wr(e.onClear,["stop"])},null,8,["onClick"])):ls("",!0),e.showPasswordIcon?(jo(),Zo(r,{key:1,name:e.maskPassword?"input-eye":"input-eye-slash",class:"password-icon","svg-icon-set":"set13",onClick:Wr(e.onClickVisibilityIcon,["stop"])},null,8,["name","onClick"])):ls("",!0),rn(e.$slots,"suffix-icons"),rn(e.$slots,"suffix")],2)):ls("",!0)],2))],2)),[[c,e.passwordTipOpts]]),"textarea"===e.type?(jo(),Zo(l,{key:0,ref:"scrollbar",class:"textarea-fake-scrollbar","has-padding":"",disabled:e.disabled,onScroll:e.onScroll},{default:Ii((()=>[ts("div",yO,null,512)])),_:1},8,["disabled","onScroll"])):ls("",!0),e.hasPasswordInfo&&e.showPasswordInfoInMobile&&e.isMobile?(jo(),Zo(d,{key:1,class:"password-rule-wrapper",color:"grey","hide-inner-cls":""},{default:Ii((()=>[e.strengthChecker?(jo(),Ko("div",{key:0,class:ne([e.strengthCheckerCls,"v-input-strength-wrapper"])},[ts("div",bO,ce(e.strengthText||e._i18n("common","password_strength")),1),wO],2)):ls("",!0),e.hasPasswordRules?(jo(),Ko("div",CO,[ts("div",xO,ce(e._i18n("common","password_must")),1),ts("div",SO,[(jo(!0),Ko(Po,null,tn(e.passwordRules,((t,i)=>(jo(),Ko("div",{key:i,class:ne(e.getRuleItemCls(t,i))},[is(r,{name:"input-password-rule-tick"}),ts("div",kO,ce(t.text),1)],2)))),128))])])):ls("",!0)])),_:1})):ls("",!0)],2)),[[u]])}]]);const IO=on({name:"ColorCustomPanel",components:{vPanel:iO,vInput:_O},mixins:[Wc,AD],props:{initial:{type:String,default:"#FFFFFF"},initAlpha:{type:[Number,String],default:1},colorWrapperStyle:{type:Object,default:()=>{}},hasAlpha:{type:Boolean,default:!1}},emits:["colorselected","colorselectcanceled"],data:()=>({prefixCls:"v-color-custom-panel",currentColor:pB(),inputRValue:0,inputGValue:0,inputBValue:0,inputAValue:0,inputHex:"",joe:null,hue:0,alpha:1,saturation:0,value:0,areaPointerStyle:{top:0,left:0},alphaPointerStyle:{top:0},huePointerStyle:{top:0}}),computed:{alphaCoverStyle(){return{"--current-color":this.currentColor.hex()}},colorAreaStyle(){return{backgroundColor:pB().saturationv(100).value(100).hue(this.hue).rgb().string()}},minimapColorStyle(){return{backgroundColor:this.currentColor.string()}}},watch:{initial:{async handler(e){this.currentColor=pB(e).alpha(this.initAlpha),this.hue=this.currentColor.hue(),this.saturation=this.currentColor.saturationv(),this.value=this.currentColor.value(),this.alpha=+this.initAlpha,await this.$nextTick(),this.alignPointer(),this.updateColor()},immediate:!0},alpha(){this.updateColor()},hue(){this.updateColor()},value(){this.updateColor()},saturation(){this.updateColor()}},mounted(){oD(this.$el,this.alignPointer,this)},[Pa](){sD(this.$el,this.alignPointer)},methods:{alignPointer(){this.setHuePointer(this.hue),this.setAreaPointer(this.saturation,this.value),this.setAlphaPointer(this.alpha)},updateColor(){this.currentColor=pB().hue(this.hue).saturationv(this.saturation).value(this.value).alpha(this.alpha),this.alphaPointerStyle.backgroundColor=this.currentColor.rgb().string(),this.huePointerStyle.backgroundColor=pB().saturationv(100).value(100).hue(this.hue).hex(),this.areaPointerStyle.backgroundColor=this.currentColor.hex(),this.inputRValue=Math.round(this.currentColor.red()),this.inputBValue=Math.round(this.currentColor.blue()),this.inputGValue=Math.round(this.currentColor.green()),this.inputAValue=Math.round(100*this.alpha),this.inputHex=this.currentColor.hex()},confirm(){Nc(this,"colorselected",this.currentColor.hex(),this.alpha)},cancel(){Nc(this,"colorselectcanceled")},setAlphaPointer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.alpha;if(!this.hasAlpha)return;const t=this.setPointerPosition(0,1,this.$refs.alpha.getBoundingClientRect(),!0)(e);this.alphaPointerStyle.top=`${t}px`},setHuePointer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hue;const t=this.setPointerPosition(0,360,this.$refs.hue.getBoundingClientRect())(e);this.huePointerStyle.top=`${t}px`},setAreaPointer(e,t){const i=this.$refs.area.getBoundingClientRect(),n=ka(e,0,100),o=ka(t,0,100);this.areaPointerStyle.left=n*i.width+"px",this.areaPointerStyle.top=(1-o)*i.height+"px"},setPointerPosition:(e,t,i,n)=>o=>{const s=ka(o,e,t);return n?i.height-s*i.height:s*i.height},onAlphaBarMouseDown(e){const t=this.$refs.area.getBoundingClientRect(),i=t.y,n=e=>{let n=e.clientY-i;n=xa(n,0,t.height),this.alpha=1-ka(n,0,t.height),Yu((()=>{this.alphaPointerStyle.top=`${n}px`}))};Pu(document,"mousemove",n),Nu(document,"mouseup",(()=>{Ru(document,"mousemove",n)}))},onHueBarMouseDown(e){const t=this.$refs.hue.getBoundingClientRect(),i=t.y,n=e=>{let n=e.clientY-i;n=xa(n,0,t.height);const o=ka(n,0,t.height);this.hue=360*o,Yu((()=>{this.huePointerStyle.top=`${n}px`}))};Pu(document,"mousemove",n),Nu(document,"mouseup",(()=>{Ru(document,"mousemove",n)}))},onColorAreaMouseDown(e){const t=this.$refs.area.getBoundingClientRect(),i=t.x,n=t.y,o=e=>{let o=e.clientX-i,s=e.clientY-n;o=xa(o,0,t.width),s=xa(s,0,t.height);const r=ka(o,0,t.width),a=ka(s,0,t.height);this.saturation=100*r,this.value=100*(1-a),Yu((()=>{this.areaPointerStyle={left:`${o}px`,top:`${s}px`,backgroundColor:this.currentColor.hex()}}))};Pu(document,"mousemove",o),Nu(document,"mouseup",(()=>{Ru(document,"mousemove",o)}))},onInputHexBlur(e,t){const i=t.target.value;try{this.currentColor=pB(i).alpha(this.alpha),this.hue=this.currentColor.hue(),this.saturation=this.currentColor.saturationv(),this.value=this.currentColor.value(),this.setHuePointer(this.hue),this.setAreaPointer(this.saturation,this.value),this.setAlphaPointer(this.alpha)}catch(e){}},onInput(e,t){this.currentColor=this.currentColor[e](t),this.hue=this.currentColor.hue(),this.value=this.currentColor.value(),this.saturation=this.currentColor.saturationv(),this.setHuePointer(this.hue),this.setAreaPointer(this.saturation,this.value)},onInputAlpha(e){this.currentColor=this.currentColor.alpha(e/100),this.alpha=this.currentColor.alpha(),this.setAlphaPointer(this.alpha)}}}),TO=ts("div",{class:"color-bg cover-right"},null,-1),DO=ts("div",{class:"color-bg cover-bottom"},null,-1),LO={class:"color-bar"},AO={class:"display-area"},EO={class:"minimap"},MO={class:"form"},BO={class:"r-value field"},OO={class:"g-value field"},$O={class:"b-value field"},FO={key:0,class:"a-value field"},VO={class:"real-value field"};var PO=Rm(IO,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-panel");return jo(),Zo(a,{confirm:e.confirm,cancel:e.cancel,class:ne(e.prefixCls),"fluid-footer":!0,"syno-id":e.synoId},{body:Ii((()=>[ts("div",{class:"color-wrapper",style:Q(e.colorWrapperStyle)},[ts("div",{ref:"area",class:"color-area",style:Q(e.colorAreaStyle),onMousedown:t[0]||(t[0]=function(){return e.onColorAreaMouseDown&&e.onColorAreaMouseDown(...arguments)})},[TO,DO,ts("div",{class:"pointer",style:Q(e.areaPointerStyle)},null,4)],36),ts("div",LO,[ts("div",{ref:"hue",class:"hue bar",onMousedown:t[1]||(t[1]=function(){return e.onHueBarMouseDown&&e.onHueBarMouseDown(...arguments)})},[ts("div",{class:"pointer",style:Q(e.huePointerStyle)},null,4)],544),e.hasAlpha?(jo(),Ko("div",{key:0,ref:"alpha",class:"alpha bar",onMousedown:t[2]||(t[2]=function(){return e.onAlphaBarMouseDown&&e.onAlphaBarMouseDown(...arguments)})},[ts("div",{class:"cover",style:Q(e.alphaCoverStyle)},null,4),ts("div",{class:"pointer",style:Q(e.alphaPointerStyle)},null,4)],544)):ls("",!0)]),ts("div",AO,[ts("div",EO,[ts("div",{class:"minimap-color",style:Q(e.minimapColorStyle)},null,4)]),ts("div",MO,[ts("div",BO,[rs(" R: "),is(r,{value:e.inputRValue,onInput:t[3]||(t[3]=t=>e.onInput("red",t))},null,8,["value"])]),ts("div",OO,[rs(" G: "),is(r,{value:e.inputGValue,onInput:t[4]||(t[4]=t=>e.onInput("green",t))},null,8,["value"])]),ts("div",$O,[rs(" B: "),is(r,{value:e.inputBValue,onInput:t[5]||(t[5]=t=>e.onInput("blue",t))},null,8,["value"])]),e.hasAlpha?(jo(),Ko("div",FO,[rs(" A: "),is(r,{value:e.inputAValue,onInput:e.onInputAlpha},null,8,["value","onInput"])])):ls("",!0),ts("div",VO,[is(r,{value:e.inputHex,onBlur:e.onInputHexBlur},null,8,["value","onBlur"])])])])],4)])),_:1},8,["confirm","cancel","class","syno-id"])}]]),NO=Rm(on({name:"ColorCustomWindow",components:{vColorCustomPanel:PO,vModalWindow:NE},mixins:[Bc],props:{},emits:["color-selected","color-select-cancelled"],data:()=>({}),methods:{onCancel(){Nc(this,"color-select-cancelled"),this.$refs.window.close({payload:{action:"color-select-cancelled"}})},onColorSelected(e){Nc(this,"color-selected",e),this.$refs.window.close({payload:{action:"color-selected",color:e}})}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-color-custom-panel"),a=Bi("v-modal-window");return jo(),Zo(a,{ref:"window",title:e._i18n("personal_settings","customize_color"),width:458,height:370,"show-close":!1,"show-maximize":!1,resizable:!1,"show-minimize":!1,"syno-id":e.synoId},{default:Ii((()=>[is(r,{"syno-id":`${e.synoId}-panel`,onColorselected:e.onColorSelected,onColorselectcanceled:e.onCancel},null,8,["syno-id","onColorselected","onColorselectcanceled"])])),_:1},8,["title","syno-id"])}]]);wg("copy",_I),wg("cut",II);var RO=Rm(on({name:"CopyCutField",components:{vInput:_O,vButton:RA,vIcon:bg},mixins:[Cg,Bc],props:{[rT()]:{type:String,default:""},type:{type:String,default:"copy",validator:e=>["copy","cut"].includes(e)},readonly:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},inputType:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1}},emits:["input-focused","action-success","action-failed","update:model-value"],data:()=>({prefix:"v-copy-cut-field"}),computed:{innerDisabled(){return this.disabled||!sT(this)},wrapperCls(){return[`${this.prefix}-wrapper`]},inputCls(){return[`${this.prefix}-input`]},buttonCls(){return[`${this.prefix}-button`,this.type,{disabled:this.innerDisabled}]},tipContent(){return"copy"===this.type?this._i18n("uicommon","copy"):this._i18n("uicommon","cut")},innerValue(){return sT(this)}},methods:{onInputValueChange(e){Nc(this,"update:model-value",e)},onInputFocus(e){Nc(this,"input-focused",e)},onClickButton(){("copy"===this.type?this.$refs.input.copyValue():this.$refs.input.cutValue())?Nc(this,"action-success",sT(this)):Nc(this,"action-failed")}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-icon"),l=Bi("v-button");return jo(),Ko("div",{class:ne(e.wrapperCls)},[is(r,{ref:"input","syno-id":"v-copy-cut-field-input",class:ne(e.inputCls),name:"input",readonly:e.readonly,value:e.innerValue,"model-value":e.innerValue,disabled:e.disabled,type:e.inputType,autosize:e.autosize,"fit-container":"",onInput:e.onInputValueChange,"onUpdate:modelValue":e.onInputValueChange,onFocus:e.onInputFocus},null,8,["class","readonly","value","model-value","disabled","type","autosize","onInput","onUpdate:modelValue","onFocus"]),is(l,{"syno-id":"v-copy-cut-field-button",display:"icon",disabled:e.innerDisabled,tooltip:e.tipContent,onClick:e.onClickButton},{icon:Ii((()=>[is(a,{type:e.iconType,name:e.type,class:ne(e.buttonCls),"svg-icon-set":"set01"},null,8,["type","name","class"])])),_:1},8,["disabled","tooltip","onClick"])],2)}]]);var HO=function(e,t){for(var i=-1,n=null==e?0:e.length;++i<n&&!1!==t(e[i],i,e););return e},zO=sf(Object.keys,Object),WO=Object.prototype.hasOwnProperty;var jO=function(e){if(!lf(e))return zO(e);var t=[];for(var i in Object(e))WO.call(e,i)&&"constructor"!=i&&t.push(i);return t};var UO=function(e){return vf(e)?Yf(e):jO(e)};var GO=function(e,t){return e&&Wf(t,UO(t),e)};var qO=function(e,t){return e&&Wf(t,Qf(t),e)};var YO=function(e,t){for(var i=-1,n=null==e?0:e.length,o=0,s=[];++i<n;){var r=e[i];t(r,i,e)&&(s[o++]=r)}return s};var KO=function(){return[]},ZO=Object.prototype.propertyIsEnumerable,JO=Object.getOwnPropertySymbols,QO=JO?function(e){return null==e?[]:(e=Object(e),YO(JO(e),(function(t){return ZO.call(e,t)})))}:KO,XO=QO;var e$=function(e,t){return Wf(e,XO(e),t)};var t$=function(e,t){for(var i=-1,n=t.length,o=e.length;++i<n;)e[o+i]=t[i];return e},i$=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)t$(t,XO(e)),e=rf(e);return t}:KO,n$=i$;var o$=function(e,t){return Wf(e,n$(e),t)};var s$=function(e,t,i){var n=t(e);return xl(e)?n:t$(n,i(e))};var r$=function(e){return s$(e,UO,XO)};var a$=function(e){return s$(e,Qf,n$)},l$=vp(bl,"DataView"),d$=vp(bl,"Promise"),c$=vp(bl,"Set"),u$=vp(bl,"WeakMap"),h$="[object Map]",p$="[object Promise]",f$="[object Set]",m$="[object WeakMap]",g$="[object DataView]",v$=lp(l$),y$=lp(yp),b$=lp(d$),w$=lp(c$),C$=lp(u$),x$=El;(l$&&x$(new l$(new ArrayBuffer(1)))!=g$||yp&&x$(new yp)!=h$||d$&&x$(d$.resolve())!=p$||c$&&x$(new c$)!=f$||u$&&x$(new u$)!=m$)&&(x$=function(e){var t=El(e),i="[object Object]"==t?e.constructor:void 0,n=i?lp(i):"";if(n)switch(n){case v$:return g$;case y$:return h$;case b$:return p$;case w$:return f$;case C$:return m$}return t});var S$=x$,k$=Object.prototype.hasOwnProperty;var _$=function(e){var t=e.length,i=new e.constructor(t);return t&&"string"==typeof e[0]&&k$.call(e,"index")&&(i.index=e.index,i.input=e.input),i};var I$=function(e,t){var i=t?Qp(e.buffer):e.buffer;return new e.constructor(i,e.byteOffset,e.byteLength)},T$=/\w*$/;var D$=function(e){var t=new e.constructor(e.source,T$.exec(e));return t.lastIndex=e.lastIndex,t},L$=wl?wl.prototype:void 0,A$=L$?L$.valueOf:void 0;var E$=function(e){return A$?Object(A$.call(e)):{}};var M$=function(e,t,i){var n=e.constructor;switch(t){case"[object ArrayBuffer]":return Qp(e);case"[object Boolean]":case"[object Date]":return new n(+e);case"[object DataView]":return I$(e,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return Xp(e,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(e);case"[object RegExp]":return D$(e);case"[object Symbol]":return E$(e)}};var B$=function(e){return Ml(e)&&"[object Map]"==S$(e)},O$=Vf&&Vf.isMap,$$=O$?Mf(O$):B$;var F$=function(e){return Ml(e)&&"[object Set]"==S$(e)},V$=Vf&&Vf.isSet,P$=V$?Mf(V$):F$,N$="[object Arguments]",R$="[object Function]",H$="[object Object]",z$={};z$[N$]=z$["[object Array]"]=z$["[object ArrayBuffer]"]=z$["[object DataView]"]=z$["[object Boolean]"]=z$["[object Date]"]=z$["[object Float32Array]"]=z$["[object Float64Array]"]=z$["[object Int8Array]"]=z$["[object Int16Array]"]=z$["[object Int32Array]"]=z$["[object Map]"]=z$["[object Number]"]=z$[H$]=z$["[object RegExp]"]=z$["[object Set]"]=z$["[object String]"]=z$["[object Symbol]"]=z$["[object Uint8Array]"]=z$["[object Uint8ClampedArray]"]=z$["[object Uint16Array]"]=z$["[object Uint32Array]"]=!0,z$["[object Error]"]=z$[R$]=z$["[object WeakMap]"]=!1;var W$=function e(t,i,n,o,s,r){var a,l=1&i,d=2&i,c=4&i;if(n&&(a=s?n(t,o,s,r):n(t)),void 0!==a)return a;if(!ip(t))return t;var u=xl(t);if(u){if(a=_$(t),!l)return ef(t,a)}else{var h=S$(t),p=h==R$||"[object GeneratorFunction]"==h;if(Sf(t))return Zp(t,l);if(h==H$||h==N$||p&&!s){if(a=d||p?{}:df(t),!l)return d?o$(t,qO(a,t)):e$(t,GO(a,t))}else{if(!z$[h])return s?t:{};a=M$(t,h,l)}}r||(r=new Rp);var f=r.get(t);if(f)return f;r.set(t,a),P$(t)?t.forEach((function(o){a.add(e(o,i,n,o,t,r))})):$$(t)&&t.forEach((function(o,s){a.set(s,e(o,i,n,s,t,r))}));var m=u?void 0:(c?d?a$:r$:d?Qf:UO)(t);return HO(m||t,(function(o,s){m&&(o=t[s=o]),zf(a,s,e(o,i,n,s,t,r))})),a};var j$=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};var U$=function(e,t){return t.length<2?e:_L(e,Qa(t,0,-1))};var G$=function(e,t){return t=SL(t,e),null==(e=U$(e,t))||delete e[kL(j$(t))]};var q$=function(e){return Lf(e)?void 0:e},Y$=wl?wl.isConcatSpreadable:void 0;var K$=function(e){return xl(e)||mf(e)||!!(Y$&&e&&e[Y$])};var Z$=function e(t,i,n,o,s){var r=-1,a=t.length;for(n||(n=K$),s||(s=[]);++r<a;){var l=t[r];i>0&&n(l)?i>1?e(l,i-1,n,o,s):t$(s,l):o||(s[s.length]=l)}return s};var J$=function(e){return(null==e?0:e.length)?Z$(e,1):[]};var Q$=function(e){return um(sm(e,void 0,J$),e+"")}((function(e,t){var i={};if(null==e)return i;var n=!1;t=Cl(t,(function(t){return t=SL(t,e),n||(n=t.length>1),t})),Wf(e,a$(e),i),n&&(i=W$(i,7,q$));for(var o=t.length;o--;)G$(i,t[o]);return i})),X$=Q$;var eF=function(e){return W$(e,5)};function tF(e){return oa(e.disableSort)?e.disableSort:!!e.action}function iF(e,t){let i=e.findIndex((e=>e.pivot));return-1===i&&(i=t),{id:i,column:e[i]}}const nF=/(\d+)%/;function oF(e,t){const i=+e.el.dataset.width,n=i+t,o=e.getMinWidth();return n<=o&&(t=-(i-o)),t}function sF(e,t){const i=+e.el.dataset.width;return Math.ceil(i+t)}function rF(e,t){e.el.dataset.width=t}function aF(e,t){let i=e.findIndex((e=>e.id===t))+1,n=e[i];for(;n&&!0===n.data.hide;)n=e[++i];return n}function lF(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{visible:!1,noFixed:!1,omitColumns:[]};return e.filter((e=>!(t.visible&&e.data.hide||t.noFixed&&e.data.width||t.omitColumns&&t.omitColumns.includes(e.id))))}function dF(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{onlyVisible:!1,noFixedColumns:!1,omitColumns:[]};return(e=lF(e,{visible:t.onlyVisible,noFixed:t.noFixedColumns,omitColumns:t.omitColumns})).reduce(((e,t)=>e+t.getCurrentWidth()),0)}function cF(e,t){const i=e.getCurrentWidth();let n=1;t<0&&(n=-1,t=Math.abs(t));const o=Math.floor(i+n*Math.floor(t*i)),s=e.getMinWidth();return rF(e,Math.max(s,o)),s>o?s-o:0}function uF(e,t){const i=nF.exec(e);return i&&i[1]?Math.floor(t*+i[1]/100):+e}var hF=on({emits:["column-resize"],data:()=>({colsData:{}}),mounted(){this.$_container=this.takeContainer(),this.$_resizeLeftMarker=this.createResizeIndicator(this.$_container),this.$_resizeRightMarker=this.createResizeIndicator(this.$_container),this.$_resizeIndicator=this.createResizeIndicator(this.$_container)},[Pa](){this.removeResizeIndicator(this.$_container,this.$_resizeLeftMarker),this.removeResizeIndicator(this.$_container,this.$_resizeRightMarker),this.removeResizeIndicator(this.$_container,this.$_resizeIndicator)},methods:{adjustResizeIndicatorStyleByMouseMoveEvent(e,t,i){const n=this.$_cols,o=this.$_container.getBoundingClientRect(),s=aF(n,i.id),r=function(e,t){let i=e.findIndex((e=>e.id===t))-1,n=e[i];for(;n&&!0===n.data.hide;)n=e[--i];return n}(n,i.id),a=r&&r.headerEl?r.headerEl.getBoundingClientRect().right-o.left:0,l=s&&s.headerEl?s.headerEl.getBoundingClientRect().right-o.left:o.width,d=s.getMinWidth(),c=a+i.getMinWidth(),u=l-d,h=Math.min(Math.max(c,e.clientX-o.left),u);function p(e,t){e.style.left=`${t}px`,Gu(e,"col-resizable-indicator--hidden")}p(this.$_resizeLeftMarker,a),p(this.$_resizeRightMarker,l),p(this.$_resizeIndicator,h)},removeResizeIndicator(e,t){t&&e.removeChild(t)},createResizeIndicator(e){const t=document.createElement("div");return Uu(t,"col-resizable-indicator"),Uu(t,"col-resizable-indicator--hidden"),e.appendChild(t),t},takeCols(){let e=[...this.$refs["header-col-group"].querySelectorAll("col")];const t=[...this.$refs.theader.querySelectorAll("th")].reduce(((e,t)=>(e[t.getAttribute("name")]=t,e)),{}),i=this.currentColumns.reduce(((e,t)=>(e[t[this.fieldInfo.columnKey]]=t,e)),{}),n=this;e=e.map((e=>({id:e.getAttribute("name"),el:e,headerEl:t[e.getAttribute("name")],data:i[e.getAttribute("name")],getWidth(e){const t=uF(this.data.defaultWidth,e);return uF(this.data.width,e)||t||this.headerEl.clientWidth||100},getCurrentWidth(){return+this.el.dataset.width||100},getMinWidth(){const{action:e,tip:t,title:i,field:o,minWidth:s}=this.data,r=n.groupInfo;if(r.action&&r.actionField===o)return 84;let a=0;return ju(this.headerEl,"is-draggable")&&ju(this.headerEl,"cell-first")&&(a+=16),ju(this.headerEl,"last-th-cell")&&(a+=17),s?(a+=s,a):(i&&(a+=24),e&&(a+=28),t&&(a+=26),tF(this.data)||(a+=12),a+16)},canResize:!1})));const o=e.reduce(((e,t)=>(e[t.id]=t,e)),{});return{cols:e,colsMap:o}},takeContainer(){return this.$refs.container},applyColsWidth(e,t){for(const i of e)if(i.el){const e=this.colsData[i.id];let n=ca(e)?+e:i.getWidth(t);n<i.getMinWidth()&&(n=i.getMinWidth()),i.el.dataset.width=n}return!0},buildCols(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{applyHeadersWidth:!1,containerWidth:void 0,omitColumns:[],forceFit:!1};if(!this.$refs.theader)return;const{cols:t,colsMap:i}=this.takeCols(),n=this.takeContainer(),o=ca(e.containerWidth)?e.containerWidth:n.clientWidth;e.applyHeadersWidth&&o>0&&this.applyColsWidth(t,o);const s=dF(t,this.currentColumns,{onlyVisible:!0});(e.forceFit||s!==this.tableWidth||e.containerWidth)&&function(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{omitFixedColumns:!1,omitColumns:[]},o=dF(e,{onlyVisible:!0});const s=dF(e,{onlyVisible:!0,noFixedColumns:n.omitFixedColumns,omitColumns:n.omitColumns}),r=o-s;let a=function(e,t,i){return(i-e)/t}(o,s,i);const l=lF(e,{visible:!0,noFixed:n.omitFixedColumns,omitColumns:n.omitColumns});if(0===i||i<r)return;const d=[];let c=[];for(const e of l){const t=cF(e,a);t>0?a+=a>0?t/i:-t/i:d.push(e.id)}if(c=n.omitColumns&&n.omitColumns.length>=1?n.omitColumns:[],c=c.concat(d),o=dF(e,{onlyVisible:!0}),o>i){let e=o-i;for(const i of c){const n=t[i];if(n&&e>0){let t=e,i=+n.el.dataset.width-t;const o=n.getMinWidth();o>i&&(i=o,t=o-+n.el.dataset.width),e-=t,rF(n,i)}}}else if(o<i){let e=i-o;const t=Object.keys(l).length,n=Math.floor(e/t);e%=t;for(const t of l){const i=t.getMinWidth();rF(t,Math.max(i,+t.el.dataset.width+n+(e>0?1:0))),e>0&&e--}}}(t,i,o,{omitFixedColumns:e.applyHeadersWidth,omitColumns:e.omitColumns}),this.renderColumns(t,e),this.tableWidth=dF(t,this.currentColumns,{onlyVisible:!0}),this.$refs.scrollbar&&this.$refs.scrollbar.update(),this.$_cols=t,this.$_colsMap=i},onHeaderCellMouseMove(e,t,i){e._isGroup&&e._subColumns.length>0&&(t=e._subColumns[e._subColumns.length-1][this.fieldInfo.columnKey]);let n=i.target;for(;n&&"TH"!==n.tagName;)n=n.parentNode;const o=this.$_colsMap?.[t];o&&(n.getBoundingClientRect().right-i.pageX<10?(Fu(n,"cursor","col-resize"),n._canResize=!0,o.canResize=!0):(Fu(n,"cursor",""),n._canResize=!1,o.canResize=!1))},onHeaderCellMouseDown(e,t,i,n){e._isGroup&&e._subColumns.length>0&&(t=e._subColumns[e._subColumns.length-1][this.fieldInfo.columnKey]);const o=this.$_colsMap?.[t];if(!o||!o.canResize||0!==n.button)return;o.headerEl._resizing=!0,n.stopPropagation();const s=document.onselectstart,r=document.ondragstart;document.onselectstart=()=>!1,document.ondragstart=()=>!1;const a={startX:n.clientX,dragging:!0,diff:0},l=e=>{e.stopPropagation(),a.dragging&&(a.diff=Math.ceil(e.clientX-a.startX),this.adjustResizeIndicatorStyleByMouseMoveEvent(e,i,o))};Nu(document,"mouseup",(e=>{e.stopPropagation(),a.dragging=!1,Ru(document,"mousemove",l);const i=aF(this.$_cols,t);let n=oF(o,a.diff);n=-oF(i,-n);const d=sF(o,n),c=sF(i,-n);rF(o,d),rF(i,c),this.renderColumn(o),this.renderColumn(i),Uu(this.$_resizeIndicator,"col-resizable-indicator--hidden"),Uu(this.$_resizeLeftMarker,"col-resizable-indicator--hidden"),Uu(this.$_resizeRightMarker,"col-resizable-indicator--hidden"),document.onselectstart=s,document.ondragstart=r,delete o.headerEl._resizing,Nc(this,"column-resize",this.colsData)})),Pu(document,"mousemove",l)},renderColumn(e){e.el.setAttribute("width",e.el.dataset.width),sh(this.colsData,e.id,e.el.dataset.width)},renderColumns(e,t){t.applyHeadersWidth||0!==Object.keys(this.colsData).length||ih("should apply headers width before render it. or you will get wrong width on col");for(const t of e)this.renderColumn(t)}}});function pF(e,t,i){e[t]?i[t]=e[t]:i[t]||(i[t]=Ca)}const fF=.1;class mF{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.manager=null,this.id=PD(),this.el=e,this.payload=i,this.isOver=t.isOver??!1,this.applyOpts(t),this.order=t.order??10,this.ddTargets=new Set,this.draggingId=t.draggingId??PD(),t.zoneCls&&this.updateCls(t.zoneCls)}updateCls(e){if(!this.el)return!1;this.restoreClsFn?.(),this.restoreClsFn=Uu(this.el,e)}addTarget(e){this.ddTargets.add(e)}removeTarget(e){this.ddTargets.delete(e)}purge(){for(const e of this.ddTargets)e.unregisterDragZone(this);this.manager=null,delete this.el}applyOpts(e){e.extDDGroup&&window.Ext&&window.Ext.dd.DDM.regDragDrop(this,e.extDDGroup),pF(e,"notifyEnter",this),pF(e,"notifyDrop",this),pF(e,"notifyOver",this),pF(e,"notifyOut",this),pF(e,"notifyValidDrop",this),pF(e,"notifyInvalidDrop",this)}getEl(){return this.el}_notifyValidDrop(e,t,i){const n=this.notifyValidDrop(e,t,i);!1!==n&&ta(n)&&this.manager?.updateGhostCls(n)}_notifyOver(e,t,i){const n=this.notifyOver(e,t,i);!1!==n&&ta(n)&&this.manager?.updateGhostCls(n)}notifyEnter(e,t,i){}notifyDrop(e,t,i){}notifyOver(e,t,i){}notifyOut(e,t){}notifyValidDrop(e,t,i){}notifyInvalidDrop(e,t,i){}}class gF{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.el=e,this.manager=null,this.isDragging=!1,this.isEnteringZone=!1,this.targetZones=[],this.applyOpts(t),this.payload=i,this.autoScrollElement=!!ca(t.autoScrollElement)&&t.autoScrollElement,this.draggingId=t.draggingId??PD()}setAutoScrollElement(e){this.autoScrollElement=e}applyOpts(e){pF(e,"onDragEnter",this),pF(e,"onDragOver",this),pF(e,"onDragOut",this),pF(e,"onDrag",this),pF(e,"onBeforeDrag",this),pF(e,"onBeforeDrop",this),pF(e,"onBeforeDragOut",this),pF(e,"onBeforeDragOver",this),pF(e,"onBeforeDragEnter",this),pF(e,"onDrop",this),pF(e,"onValidDrop",this),pF(e,"onInvalidDrop",this),pF(e,"startDrag",this),pF(e,"endDrag",this),this.getTargetEl=e.getTargetEl,this.getTargetContent=e.getTargetContent,this.renderGhost=e.renderGhost,this._alignOffset={x:e.offsetX||20,y:e.offsetY||20},this._ghostCls=e.ghostCls||"x-dd-drag-proxy",this.validStatusCls=e.validGhostCls||"dd-valid",this.invalidStatusCls=e.invalidGhostCls||"dd-invalid"}isDraggable(){return this.el?._markDraggable}get alignOffset(){return this._alignOffset}set ghostCls(e){this._ghostCls=e}get ghostCls(){return this._ghostCls}getValidStatusCls(){return this.validStatusCls}getInvalidStatusCls(){return this.invalidStatusCls}set el(e){if(this._el){for(const e of this._el?._disposePointEventFns??[])e?.();delete this._el._markDraggable,delete this._el._ddTarget}e&&(e._markDraggable=!0,e._ddTarget=this,e._disposePointEventFns=[Pu(e,"mousedown",(e=>this.handleMouseDown(e))),Pu(e,"long-press",(e=>this.handleMouseDown(e)))]),this._el=e}get el(){return this._el}addMetaProp(e,t){this._meta||(this._meta={}),this._meta[e]=t}getMetaProp(e){return this._meta?this._meta[e]:null}handleMouseDown(e){if(!(e&&bu(e)&&0!==e.button||!0===this.isDragging))return this.manager?.handleMouseDown(e,this)}registerDragZones(e){fa(e)||(e=[e]);for(const t of e)this.registerDragZone(t);return()=>{this.unregisterDragZones(e)}}registerDragZone(e){if(!this.isDragZoneRegistered(e))return e.addTarget(this),this.targetZones.push(e),()=>{this.unregisterDragZone(e)}}isDragZoneRegistered(e){return this.targetZones.includes(e)}unregisterDragZones(e){fa(e)||(e=[e]);for(const t of e)this.unregisterDragZone(t)}unregisterDragZone(e){const t=this.targetZones.indexOf(e);t>-1&&this.targetZones.splice(t,1),e.removeTarget(this)}getTargetZones(){return this.targetZones}purge(){for(const e of this._el?._disposePointEventFns??[])e?.();for(const e of this.targetZones)this.unregisterDragZone(e);this.manager=null,delete this.el?._markDraggable,delete this.el?._ddTarget,delete this.el?._disposePointEventFns,delete this._el}_startDrag(e,t){this.isDragging=!0,this.startDrag(e,t,this),this.el&&(this.el.__isDragging=!0)}_endDrag(){this.isDragging=!1,this.endDrag(this),setTimeout((()=>{this.el&&(this.el.__isDragging=!1)}),0)}_onDragEnter(e,t){if(this.isEnteringZone)return;if(this.isEnteringZone=!0,this.enteredZone=t,!1===this.onBeforeDragEnter(e,t))return!1;const i=this.onDragEnter(e,t,this);!1!==i&&ta(i)&&this.manager?.updateGhostCls(i)}_onDragOut(e,t){if(this.isEnteringZone=!1,delete this.enteredZone,!1===this.onBeforeDragOut(e,t))return!1;const i=this.onDragOut(e,t,this);!1!==i&&ta(i)&&this.manager?.updateGhostCls(i)}_onDragOver(e,t){if(!1===this.onBeforeDragOver(e,t))return!1;const i=this.onDragOver(e,t,this);!1!==i&&ta(i)&&this.manager?.updateGhostCls(i)}_onDrag(e){if(this.autoScrollElement&&!vu(e)){const t=["none","none"],i=[0,0];this._keepScrolling&&(window.clearInterval(this._keepScrolling),this._keepScrolling=null);const n=(e,t)=>{this.autoScrollElement&&("left"===e[0]?this.autoScrollElement.scrollLeft-=t[0]*fF:"right"===e[0]&&(this.autoScrollElement.scrollLeft+=t[0]*fF),"top"===e[1]?this.autoScrollElement.scrollTop-=t[1]*fF:"bottom"===e[1]&&(this.autoScrollElement.scrollTop+=t[1]*fF))},o=(e,t)=>{this._keepScrolling=window.setInterval((()=>{n(e,t)}),100),n(e,t)},s=this.autoScrollElement.getBoundingClientRect();e.clientX<s.left?(i[0]=Math.abs(e.clientX-s.left),t[0]="left"):e.clientX>s.right&&(i[0]=Math.abs(e.clientX-s.right),t[0]="right"),e.clientY<s.top?(i[1]=Math.abs(e.clientY-s.top),t[1]="top"):e.clientY>s.bottom&&(i[1]=Math.abs(e.clientY-s.bottom),t[1]="bottom"),o(t,i)}this.onDrag(e,this)}_onDrop(e,t){this._keepScrolling&&(window.clearInterval(this._keepScrolling),this._keepScrolling=null),!1!==this.onBeforeDrop(e)&&(this.isEnteringZone&&this.enteredZone?(this.onDrop(e,t,this,{valid:!0}),this.onValidDrop(e,this.enteredZone,this),this.enteredZone.notifyValidDrop(e,this.enteredZone,this)):(this.onDrop(e,t,this,{valid:!1}),this.onInvalidDrop(e,t,this),t&&t.notifyInvalidDrop(e,t,this)),this.isEnteringZone=!1)}onDragEnter(e,t,i){}onDragOver(e,t,i){}onDragOut(e,t,i){}onDrag(e,t){}startDrag(e,t,i){}onBeforeDrop(e){}onBeforeDragOut(e,t){}onBeforeDragOver(e,t){}onBeforeDragEnter(e,t){}onBeforeDrag(e,t){}onDrop(e,t,i,n){}onValidDrop(e,t,i){}onInvalidDrop(e,t,i){}beforeEndDrag(){}endDrag(e){}on(e,t){return Pu(this.el,e,t)}off(e,t){return Ru(this.el,e,t)}}class vF{constructor(){this.startX=0,this.startY=0,this.startThreshold=10,this.globalDragStart=null,this.globalSelectStart=null,delete this.currentDragTarget,this.preEnterZone=null,this._disposePointEventFns=[],this._ghostStatusCls="",this.dragZones=[],delete this.ghostEl}get globalDragZones(){return this.dragZones}isDraggable(e){return e.isDraggable()}hideGhost(){this.ghostEl&&Fu(this.ghostEl,"display","none"),this._ghostStatusCls=""}unhideGhost(){this.ghostEl&&Fu(this.ghostEl,"display","block")}setGhostClass(e){this.ghostEl&&(this.ghostEl.className="",e.ghostCls&&Uu(this.ghostEl,e.ghostCls),Uu(this.ghostEl,"v-dd-ghost"))}updateValidGhostCls(){this.currentDragTarget&&this.updateGhostCls(this.currentDragTarget.getValidStatusCls())}updateInvalidGhostCls(){this.currentDragTarget&&this.updateGhostCls(this.currentDragTarget.getInvalidStatusCls())}updateGhostCls(e){e&&e!==this._ghostStatusCls&&(this.ghostEl&&(ha(this._ghostStatusCls)&&Gu(this.ghostEl,this._ghostStatusCls),Uu(this.ghostEl,e)),this._ghostStatusCls=e)}destroyGhost(){this.ghostEl&&(this._destroyGhost?.(),this.ghostEl?.parentNode?.removeChild(this.ghostEl),delete this.ghostEl)}createGhost(){if(this.ghostEl)return;const e=document.body,t=document.createElement("div");return Fu(t,"position","absolute"),Fu(t,"cursor","move"),Fu(t,"zIndex","999999"),Fu(t,"backgroundColor","white"),e.insertBefore(t,e.firstChild),this.ghostEl=t,this.ghostEl}destroyDragTarget(e){e.purge()}registerDragTarget(e){return e.manager=this,()=>{this.destroyDragTarget(e)}}registerDragZone(e){return this.dragZones.push(e),e.manager=this,()=>{this.destroyDragZone(e)}}destroyDragZone(e){this.dragZones=Da(this.dragZones,e),e.purge()}getZones(e){if(!e)return this.dragZones;const t=e.getTargetZones(),i=new Set(t);for(const n of this.globalDragZones)i.has(n)||n.draggingId!==e.draggingId||(i.add(n),t.push(n));return t.sort(((e,t)=>t.order-e.order))}isOverDragZones(e,t){if(!this.ghostEl)return null;const i=this.getZones(this.currentDragTarget).map((e=>({rect:e.el?.getBoundingClientRect()??new DOMRect,zone:e}))).filter((e=>!!e));for(const{rect:n,zone:o}of i){if(o.isOver&&o.isOver(e,n,this.currentDragTarget))return o;if($u(n,t[0],t[1])&&o.el?.contains(e.target))return o}return null}handleMouseMove(e){let t,i,n,o;if(e.preventDefault(),vu(e)?(t=e.touches[0].pageX,i=e.touches[0].pageY,n=e.touches[0].clientX,o=e.touches[0].clientY):(t=e.pageX,i=e.pageY,n=e.clientX,o=e.clientY),!this.currentDragTarget)return!0;if(Math.max(Math.abs(t-this.startX),Math.abs(i-this.startY))<this.startThreshold)return!0;this.currentDragTarget.isDragging||this.startDrag(t,i),this.ghostEl&&Vu(this.ghostEl,t,i,{offsetX:this.currentDragTarget?.alignOffset?.x,offsetY:this.currentDragTarget?.alignOffset?.y}),this.currentDragTarget._onDrag(e);const s=this.isOverDragZones(e,[n,o]);s?(this.updateValidGhostCls(),this.currentDragTarget.isEnteringZone&&(this.currentDragTarget._onDragOver(e,s),s.notifyOver(e,this,this.currentDragTarget),this.preEnterZone!==s&&(this.currentDragTarget.enteredZone?.notifyOut(e,this.currentDragTarget),this.currentDragTarget._onDragOut(e,this.preEnterZone??null))),this.currentDragTarget.isEnteringZone||(this.currentDragTarget._onDragEnter(e,s),s.notifyEnter(e,this,this.currentDragTarget))):(this.updateInvalidGhostCls(),this.currentDragTarget.isEnteringZone&&(this.currentDragTarget.enteredZone?.notifyOut(e,this.currentDragTarget),this.currentDragTarget._onDragOut(e,this.preEnterZone))),this.preEnterZone=s}handleMouseDown(e,t){let i,n;vu(e)?(i=e.touches[0].pageX,n=e.touches[0].pageY):(i=e.pageX,n=e.pageY),this.currentDragTarget&&this.handleMouseUp(e),this.currentDragTarget=t,!1!==this.currentDragTarget.onBeforeDrag(e,this.currentDragTarget)?(this._disposePointEventFns=[Pu(document.documentElement,"mousemove",(e=>this.handleMouseMove(e))),Pu(document.documentElement,"touchmove",(e=>this.handleMouseMove(e)),{passive:!1}),Nu(document.documentElement,"mouseup",(e=>this.handleMouseUp(e))),Nu(document.documentElement,"touchend",(e=>this.handleMouseUp(e)))],this.startX=i,this.startY=n):delete this.currentDragTarget}setGhostHtml(e){this.ghostEl&&(this.ghostEl.innerHTML=e)}startDrag(e,t){this.currentDragTarget&&(this.globalSelectStart=document.onselectstart,this.globalDragStart=document.ondragstart,document.onselectstart=()=>!1,document.ondragstart=()=>!1,this.createGhost(),this.setGhostClass(this.currentDragTarget),this.currentDragTarget._startDrag(e,t),this.ghostEl&&(this.currentDragTarget.renderGhost&&(this._destroyGhost=this.currentDragTarget.renderGhost(this.ghostEl)),this.currentDragTarget.getTargetContent?this.ghostEl.innerHTML=this.currentDragTarget.getTargetContent(this.currentDragTarget):this.currentDragTarget.getTargetEl&&this.ghostEl.appendChild(this.currentDragTarget.getTargetEl()),Vu(this.ghostEl,e,t,{offsetX:this.currentDragTarget?.alignOffset?.x,offsetY:this.currentDragTarget?.alignOffset?.y})))}handleMouseUp(e){if(this.currentDragTarget){bu(e)&&this.handleMouseMove(e),this.startX=0,this.startY=0,this.destroyGhost(),this.stopDrag(e);for(const e of this._disposePointEventFns??[])e?.();this._disposePointEventFns=[]}}stopDrag(e){document.onselectstart=this.globalSelectStart,document.ondragstart=this.globalDragStart,this.globalSelectStart=null,this.globalDragStart=null,this.currentDragTarget&&(this.preEnterZone&&this.preEnterZone.notifyDrop(e,this,this.currentDragTarget),this.currentDragTarget._onDrop(e,this.preEnterZone),this.currentDragTarget.beforeEndDrag(),this.currentDragTarget._endDrag(),delete this.currentDragTarget,this.preEnterZone=null)}stopEvents(e){e.stopPropagation(),e.preventDefault()}}const yF=za();let bF=()=>{v("you are not install DragDropManagerPlugin yet, please install it first")};const wF=Ma({},(e=>{Ra(e,"$ddm",new vF,yF);const t=Na(e);t&&(t.$DragZone=mF,t.$DragDropTarget=gF)})),CF=on({name:"Ghost",components:{vIcon:bg,vRichText:Ec},props:{nums:{type:[Number,String,Boolean],default:!1},icon:{type:[Boolean,Object],default:!1},title:{type:String,default:""}},data:()=>({}),computed:{showIcon(){return Boolean(this.icon)},iconProps(){return na(this.icon)?this.icon:{}},showNums(){return oa(this.nums)?this.nums:+this.nums>=2},innerNums(){return+this.nums>99?"99+":this.nums}}}),xF={class:"v-ghost"},SF={class:"ghost-title-wrapper"},kF={class:"ghost-title"},_F={key:0,class:"ghost-dot-nums"};var IF=Rm(CF,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-rich-text");return jo(),Ko("div",xF,[rn(e.$slots,"default",{},(()=>[ts("div",SF,[e.showIcon?(jo(),Zo(r,oe(hs({key:0},e.iconProps)),null,16)):ls("",!0),ts("div",kF,[rn(e.$slots,"title",{},(()=>[is(a,{text:e.title},null,8,["text"])]))])]),e.showNums?(jo(),Ko("i",_F,ce(e.innerNums),1)):ls("",!0)]))])}]]);const TF="always",DF="hover",LF="never",AF="INSERT_TOP",EF="INSERT_BOTTOM",MF="INSERT_INNER",BF="INSERT_UNKNOWN";function OF(e,t,i){const{width:n,height:o}=e.getBoundingClientRect(),{offsetTop:s,offsetLeft:r}=e;!function(e,t){t===MF&&ju(e,"landed-inner")||t===AF&&ju(e,"landed-up")||t===EF&&ju(e,"landed-down")||(Gu(e,"landed-down"),Gu(e,"landed-up"),Gu(e,"landed-inner"),t===EF?Uu(e,"landed-down"):t===AF?Uu(e,"landed-up"):t===MF&&Uu(e,"landed-inner"))}(t,i),Fu(t,"left",`${r}px`),Fu(t,"top",`${s}px`),Fu(t,"width",`${n}px`),Fu(t,"height",`${o}px`)}function $F(e,t,i){let n;this.$_draggingIndicator=function(e){const t=document.createElement("div");return Uu(t,"data-table-draggable-indicator"),e.appendChild(t),t._svcContainer=e,t}(this.$refs["table-body"]),this.rowDraggableStates.isDragging=!0;const o=i.payload.index,s=Array.from(this.selectIndexes);s.includes(o)?n=s:(this.selectRow(o,{ensureRowVisible:!0,forceSelect:!1}),n=[o]),this.rowDraggableStates.draggingIndexes=n.sort(),this.rowDraggableStates.triggerIndex=o}function FF(e){var t;(t=this.$_draggingIndicator)?.parentNode?.removeChild(t),delete this.$_draggingIndicator,this.rowDraggableStates.isDragging=!1,this.rowDraggableStates.draggingIndexes=[],this.rowDraggableStates.triggerIndex=-1}function VF(e,t,i,n){const o=t.getBoundingClientRect(),s=[e[0]-o.x,e[1]-o.y];return this.isItemDraggable(i)?this.allowReorder?this.canLandedRowInner(i)?s[1]>o.height-3?EF:s[1]<3?AF:this.rowDraggableStates.draggingIndexes.includes(n)?BF:MF:s[1]>o.height/2?EF:AF:this.canLandedRowInner(i)&&!this.rowDraggableStates.draggingIndexes.includes(n)?MF:BF:BF}function PF(e,t,i,n,o){const s=VF.call(this,e,t,i,n);if(n<0||n>=this.current.legnth)return{insertType:BF,landedIndex:-1};if(o.includes(n)){if(s===AF){if(n-1>=0&&!o.includes(n))return{insertType:EF,landedIndex:n-1}}else if(s===EF&&n+1<this.current.length&&!o.includes(n))return{insertType:AF,landedIndex:n+1};return{insertType:BF,landedIndex:n}}return{insertType:s,landedIndex:n}}function NF(e,t,i){if(na(this.isDraggable))return this.isDraggable.onDragEnter?.(e,t,i)}function RF(e,t,i){if(na(this.isDraggable))return this.isDraggable.onDrop?.(e,t,i)}function HF(e,t,i){if(na(this.isDraggable)){const n=this.isDraggable.onDragOver?.(e,t,i);if(!1===n)return}let n,o;vu(e)?(n=e.touches[0].clientX,o=e.touches[0].clientY):(n=e.clientX,o=e.clientY);const s=Ou(document.elementFromPoint(n,o),"tr");if(!s)return;const r=+s.getAttribute("index"),{insertType:a,landedIndex:l}=PF.call(this,[n,o],s,this.getRow(r),r,this.rowDraggableStates.draggingIndexes);this.rowDraggableStates.insertType=a,this.rowDraggableStates.landedIndex=l,Fu(this.$_draggingIndicator,"display","block"),OF.call(this,s,this.$_draggingIndicator,a)}function zF(){const{draggingIndexes:e,insertType:t}=this.rowDraggableStates;0!==e.length&&t!==BF&&(ca(this.customActionOnValidDrop)?this.current=this.customActionOnValidDrop(this.current,this.rowDraggableStates):t!==AF&&t!==EF||(this.current=function(e){let{draggingIndexes:t,insertType:i,landedIndex:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=t.map((t=>e[t])),s=e[n],r=e.slice();if(0===o.length)return r;for(const e of t.reverse())r.splice(e,1);const a=r.findIndex((e=>e===s));return i===EF?r.splice(a+1,0,...o):r.splice(a,0,...o),r}(this.current,this.rowDraggableStates)),this.clearSelection(),this.$emit("drop",{data:this.current,draggableStates:this.rowDraggableStates}),this.$emit("reorder",{data:this.current}))}function WF(e,t,i){if(na(this.isDraggable)){const n=this.isDraggable.onDragOut?.(e,t,i);if(!1===n)return}Fu(this.$_draggingIndicator,"display","none")}var jF=on({props:{getDraggingGhostProps:{type:Function,default:void 0},isDraggable:{type:[Boolean,Object],default:!1}},[Pa](){if(this._destroyFns)for(const e of this._destroyFns)e?.()},emits:["reorder","drop"],data:()=>({rowDraggableStates:{isDragging:!1,draggingIndexes:[],triggerIndex:-1,landedIndex:-1,insertType:BF}}),computed:{allowRowDrop(){return!!na(this.isDraggable)&&(this.isDraggable.allowRowDrop??!1)},allowReorder(){return na(this.isDraggable)?this.isDraggable.allowReorder??!0:this.isDraggable},draggingId(){return na(this.isDraggable)?this.isDraggable.draggingId??`dragging-${PD()}`:`dragging-${PD()}`}},methods:{getLandedClass(e){if(!this.rowDraggableStates)return[];const{landedIndex:t,insertType:i,isDragging:n}=this.rowDraggableStates,o=["is-landed"];return!1===n||t!==e?[]:(i===EF?o.push("landed-down"):i===AF?o.push("landed-up"):i===MF?o.push("landed-inner"):o.push("landed-unknown"),o)},getDraggingClass(e){return this.rowDraggableStates&&!1!==this.rowDraggableStates.isDragging&&this.rowDraggableStates.draggingIndexes.includes(e)?["is-dragging"]:[]},renderDraggingGhost(e){const{column:t}=iF(this.columns,0),{draggingIndexes:i,triggerIndex:n}=this.rowDraggableStates,o=this.current[n],s=this.getDraggingGhostProps?.(t.field,o,n)??{},{destroyFn:r,anchorEl:a}=Jm(this.$.appContext.app,IF,{nums:i.length,title:this.getCellValue(t.field,o,n),...s});return e.appendChild(a),r},buildDraggableCols(){const e=this.$refs.content&&[...this.$refs.content.querySelectorAll("table")];if(e){if(this._destroyFns)for(const e of this._destroyFns)e?.();this._destroyFns=[],this.dragZone=new mF(e[0],{draggingId:this.draggingId},{componentName:this.$options.name}),this._destroyFns.push(this.$ddm.registerDragZone(this.dragZone));for(const{index:e,item:t}of this.currentVisible){let i=this.$refs[`row-${e}`]?.[0];if(i=i?.$el??i,i)if(i._ddTarget)i._ddTarget.payload={index:e};else if(!this.isItemDisabled(t)&&this.isItemDraggable(t)){const t=new gF(i,{renderGhost:e=>this.renderDraggingGhost(e),startDrag:$F.bind(this),endDrag:FF.bind(this),onDragEnter:NF.bind(this),onDragOver:HF.bind(this),onDragOut:WF.bind(this),onDrop:RF.bind(this),onValidDrop:zF.bind(this),ghostCls:"v-table-dd-ghost",draggingId:this.draggingId},{index:e,componentName:this.$options.name});this._destroyFns.push(t.registerDragZone(this.dragZone),this.$ddm.registerDragTarget(t))}}}},canLandedRowInner(e){return e?.[this.fieldInfo.rowInfo]?.allowDrop??this.allowRowDrop}}});const UF=[-4,-9];function GF(e,t){if(t.el._resizing||t.el._canResize)return!1}function qF(e,t,i){this.colDraggableStates.isDragging=!0,this.colDraggableStates.draggingIndex=i.payload.index,this.colDraggableStates.draggingKey=i.payload.key,this.$_topMoveableIndicator=eV(document.body,"top"),this.$_bottomMoveableIndicator=eV(document.body,"bottom")}function YF(e){window.setTimeout((()=>{this.colDraggableStates={isDragging:!1,draggingIndex:-1,landedIndex:-1,draggingKey:null,landedKey:null},function(e){for(const t of e)t&&t.parentNode&&t.parentNode.removeChild(t)}([this.$_topMoveableIndicator,this.$_bottomMoveableIndicator])}),0)}function KF(e,t){const i=t?Gu:Uu;for(const t of e)i(t,"col-moveable-indicator--hidden")}function ZF(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",n=arguments.length>3?arguments[3]:void 0,{top:o,right:s,left:r,bottom:a}=e.getBoundingClientRect();const[l,d]=this.$alignManager.getScroll(document.body);let c=0;e.getAttribute("is-group")&&(c=20),r=("before"===n?r:s)+UF[0]+l,o=("top"===i?o:a+t.offsetWidth+c)+UF[1]+d,Fu(t,"left",`${r}px`),Fu(t,"top",`${o}px`)}function JF(e){let t=Ou(document.elementFromPoint(e.clientX,e.clientY),"th");if(!t||!t._markDraggable)return;let i="before",n=t.cellIndex;const o=t,{width:s}=t.getBoundingClientRect();if(function(e,t){const{x:i,y:n}=t.getBoundingClientRect();return[e.pageX-i,e.pageY-n]}(e,t)[0]>s/2){i="after";const e=function(e,t,i){let n=e.findIndex((e=>e[i]===t)),o=e[++n];for(;o&&QF(o);)o=e[++n];return{col:o,index:n}}(this.columns,t.getAttribute("name"),this.fieldInfo.columnKey);e.col?(t=this.$options.headersMap[e.col[this.fieldInfo.columnKey]],n=e.index):(t=null,n=e.index)}if(this.colDraggableStates.landedIndex=n,this.colDraggableStates.position=i,this.colDraggableStates.landedKey=t?t.getAttribute("name"):"n/a",this.colDraggableStates.draggingKey===this.colDraggableStates.landedKey)return KF([this.$_topMoveableIndicator,this.$_bottomMoveableIndicator],!1),!1;KF([this.$_topMoveableIndicator,this.$_bottomMoveableIndicator],!0),ZF.call(this,o,this.$_topMoveableIndicator,"top",i),ZF.call(this,o,this.$_bottomMoveableIndicator,"bottom",i)}function QF(e){return e.hide||e.groupKey}function XF(){const{draggingIndex:e,landedIndex:t,draggingKey:i,landedKey:n}=this.colDraggableStates;if(-1===e||-1===t)return;const o=this.columns.findIndex((e=>e[this.fieldInfo.columnKey]===i));let s=-1;s=t===this.columns.length?t:this.columns.findIndex((e=>e[this.fieldInfo.columnKey]===n));let r=this.columns.slice();r=function(e,t,i){const n=e[t],o=e.slice();let s=t;return n?(o.splice(i,0,n),i<t&&s++,o.splice(s,1),o):o}(r,o,s),this.$emit("update:columns",r)}function eV(e,t){const i=document.createElement("div");return Uu(i,"col-moveable-indicator"),Uu(i,t),e.appendChild(i),i}var tV=on({emits:["update:columns"],data:()=>({colDraggableStates:{isDragging:!1,draggingIndex:-1,landedIndex:-1}}),methods:{removeMoveableColsDD(){if(this.$options.moveableDD){for(const e of this.$options.moveableDD)e.purge();this.$options.moveableDD=[]}},buildMoveableCols(){this.removeMoveableColsDD(),this.$options.moveableDD=this.$options.moveableDD||[];const e=this.$refs.theader;if(!e)return;const t=this.isGroupHeadMode?this.firstColumnRow:this.currentVisibleColumns,i=t.length,n=new mF(e);this.$options.headersMap=[...this.$refs.theader.querySelectorAll("th")].reduce(((e,t)=>(e[t.getAttribute("name")]=t,e)),{});for(let e=0;e<i;e++){const i=t[e],o=this.getHeaderCell(e);if(!o||QF(i))continue;const s=new gF(o,{onBeforeDrag:GF.bind(this),startDrag:qF.bind(this),endDrag:YF.bind(this),onDragOver:JF.bind(this),onValidDrop:XF.bind(this),ghostCls:"v-table-dd-ghost col-moveable-ghost",getTargetContent:function(){return`\n <div class="col-moveable">\n <div class="dd-drop-icon"></div>\n <div class="col-desc">\n ${o.innerText}\n </div>\n </div>`}.bind(this)},{index:e,key:i[this.fieldInfo.columnKey]});s.registerDragZone(n),this.$ddm.registerDragTarget(s),this.$options.moveableDD.push(s)}}}});function iV(e,t){return e>=0&&e<t.length}function nV(e){return fa(e)?e.map((e=>nV(e))):e?.$el??e}var oV=on({mixins:[YD({toggle:"toggleRowItem",selectRange:"selectRange",select:"selectRowItem",getItemValue:"getItemValue",isItemDisabled:"isRowUnselectable",itemsKey:"selectIndexes"})],props:{multipleSelected:{type:Boolean,default:!1}},emits:["rowclick","rowclear"],data:()=>({hoverIndex:null}),computed:{innerMultipleSelected(){return"checkbox"===this.innerSelectionMode||"file-list"===this.innerSelectionMode||this.multipleSelected}},watch:{hoverIndex(e,t){Yu((()=>{let i=nV(this.$refs[`row-${e}`]),n=nV(this.$refs[`row-${t}`]);this.groupTable&&(i=nV(this.$refs.groupNode.$refs[`row-${e}`]),n=nV(this.$refs.groupNode.$refs[`row-${t}`])),this.toggleHoverRow("row-hover",i,n),this.toggleHoverRow("row-hover",this.$refs[`expandable-row-${e}`],this.$refs[`expandable-row-${t}`])}))}},methods:{isMultipleSelected(){return this.innerMultipleSelected},toggleHoverRow(e,t,i){t=t&&t[0],(i=i&&i[0])&&Gu(i,e),t&&Uu(t,e)},ensureRowVisible(e){const t=nV(this.$refs[`row-${e}`]);t&&t[0]&&this.$refs.scrollbar.ensureVisible(t[0])},getItemValue:e=>e.index,selectRowItem(e,t,i){let{index:n}=e;return this.selectRow(n,i)},toggleRowItem(e,t,i){let{index:n}=e;return this.toggleRow(n,i)},toggleRow(e){let{ensureRowVisible:t=!0,forceSelect:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t&&this.ensureRowVisible(e),this.toggleItem({index:e},e,{ensureRowVisible:t,forceSelect:i})},selectRow(e){let{ensureRowVisible:t=!0,forceSelect:i,keepSelection:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t&&this.ensureRowVisible(e),this.selectItem({index:e},e,{ensureRowVisible:t,forceSelect:i,keepSelection:n})},selectPrevRow(){iV(this.lastSelectIndex-1,this.current)&&this.selectRow(this.lastSelectIndex-1)},selectNextRow(){iV(this.lastSelectIndex+1,this.current)&&this.selectRow(this.lastSelectIndex-1)},defaultSelect(){if(this.clearSelection(),!0!==this.defaultSelected)if(this.innerMultipleSelected){const e=fa(this.defaultSelected)?this.defaultSelected:[this.defaultSelected];for(const t of e)this.clickRow(t,null,{selectStrategy:WD,forceSelect:this.isRowUnselectable({index:t})})}else this.clickRow(this.defaultSelected,null);else{let e=!1,t=-1;const i=this.getAllRange({filter:!1});for(const n of i)this.isRowDefaultSelected(n)&&(this.clickRow(n,null,{selectStrategy:WD,forceSelect:this.isRowUnselectable({index:n})}),e=!0),-1===t&&this.isRowSelectable(n)&&(t=n);e||this.clickRow(t,null)}},clearSelectedRows(){this.clearSelection(),Nc(this,"rowclear")},clickRow(e,t){let{selectStrategy:i,forceSelect:n=!1,isCtrlMode:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s={},r=!1;if(this.innerMultipleSelected){i=i??qD(t,{isCtrlMode:ou(t)||"checkbox"===this.innerSelectionMode||o}),r=this.onClickItem(t,e,{index:e},{selectStrategy:i},{forceSelect:n});const a=Array.from(this.selectIndexes);s={indexes:a,rows:this.getRows(a)}}else{i=i??qD(t);const n=i===WD;r=this.selectRow(e,{keepSelection:n});const o=Array.from(this.selectIndexes);s={index:o[0],row:this.getRow(o[0])}}return r&&(Nc(this,"rowclick",s),this.$nextTick((()=>{this.toggleHoverRow("row-hover",nV(this.$refs[`row-${this.hoverIndex}`]),null),this.toggleHoverRow("row-hover",this.$refs[`expandable-row-${this.hoverIndex}`],null)}))),{result:r,payload:s}},getRow(e){if(sa(e))return this.current?this.current[e]:null;if(ta(e)){const[t,i]=e.split(":"),n=this.categories.find((e=>e.key===t));return n?n.items[i]:null}return null},getRows(e){return e.map((e=>this.getRow(e)))},unselectCategory(e){if(this.innerMultipleSelected){for(const[t]of e.items.entries()){const i=`${e.key}:${t}`;this.selectIndexes.delete(i)}this.selectIndexes=new Set(this.selectIndexes)}},selectCategory(e){if(this.innerMultipleSelected){for(const[t]of e.items.entries()){const i=`${e.key}:${t}`;this.selectIndexes.add(i)}this.selectIndexes=new Set(this.selectIndexes)}},selectAll(){if(this.innerMultipleSelected){const e=this.getAllRange({filter:this.filtered,pagination:!!this.autoPagination&&{pageNum:this.currentPageNum,pageSize:this.currentPageSize}});this.clearSelection(),this.selectRows(e)}},selectRows(e){let{forceSelect:t,ensureRowVisible:i=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.innerMultipleSelected&&e.length>1)throw new Error("selectRows with multiple indexes only work in multiple-selected mode");for(const i of e)this.isRowSelectable(i)&&this.addSelectedItem({index:i},{forceSelect:t});i&&e.length>0&&this.ensureRowVisible(e[e.length-1]),this.selectIndexes=new Set(this.selectIndexes)},deselectRows(e){let{forceSelect:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const i of e)this.isRowSelectable({index:i})&&this.removeSelectedItem({index:i},{forceSelect:t});this.selectIndexes=new Set(this.selectIndexes)},selectRange(e,t){let{keepSelection:i=!1,forceSelect:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i||this.clearSelection();let o="add";this.isSelectionMode&&this.isItemSelected({index:t})&&(o="remove");const s=this.getVisibleRange(e,t);return"add"===o?this.selectRows(s,{forceSelect:n}):this.deselectRows(s,{forceSelect:n}),this.lastSelectRangeIndex=t,!0},getIndex(e){if(this.groupTable){const[t,i]=e.split(":");return[this.categories.findIndex((e=>e.key===t)),+i]}return e},getAllRange(){let{filter:e=!1,pagination:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=[];if(this.groupTable)for(const t of this.categories){const n=this.getItems(t.items,{filter:e});i=i.concat(n.map((e=>{let{index:i}=e;return`${t.key}:${i}`})))}else i=this.getItems(this.current,{filter:e}).map((e=>{let{index:t}=e;return t}));if(t){const{pageNum:e,pageSize:n}=t,o=(e-1)*n;i=i.slice(o,o+this.pageSize)}return i},getVisibleRange(e,t){if(this.groupTable){const i=this.categories;let n=[],[o,s]=this.getIndex(e),[r,a]=this.getIndex(t);(o===r?s<a:o<r)||([o,r]=[r,o],[s,a]=[a,s]);for(let e=o;e<=r;e++){const t=this.getItems(i[e].items,{filter:this.filtered});let l,d;l=e===o?s:0,d=e===r?a:i[e].items.length-1;const c=t.findIndex((e=>{let{index:t}=e;return t===l})),u=t.findIndex((e=>{let{index:t}=e;return t===d}));n=n.concat(t.slice(c,u+1).map((t=>{let{index:n}=t;return`${i[e].key}:${n}`})))}return n}e>t&&([e,t]=[t,e]);const i=this.currentPagingData.findIndex((t=>{let{index:i}=t;return i===e})),n=this.currentPagingData.findIndex((e=>{let{index:i}=e;return i===t}));return this.currentPagingData.slice(i,n+1).map((e=>{let{index:t}=e;return t}))},hoverRow(e){this.hoverIndex=e},getSelectedRowClass(e){return this.isItemSelected({index:e})?["row-selected"]:[]},getRowClass(e,t){const i={"row-disabled":this.isItemDisabled&&this.isItemDisabled(t)};let n=this.customRowClasses||[];if(t[this.fieldInfo.rowInfo]&&t[this.fieldInfo.rowInfo].customClasses){const e=t[this.fieldInfo.rowInfo].customClasses;(Array.isArray(e)||ta(e))&&(n=n.concat(e))}return["row",i].concat(n).concat(this.getSelectedRowClass(e))},isRowUnselectable(e){let{index:t}=e;return!this.isRowSelectable(t)},isRowDefaultSelected(e){const t=this.getRow(e);return!!t&&Boolean(t?.[this.fieldInfo.rowInfo]?.defaultSelected)},isRowForceSelected(e){return this.isRowUnselectable({index:e})&&this.selectIndexes.has(e)},isRowSelectable(e){const t=this.getRow(e);return!t||!t[this.fieldInfo.rowInfo]||!t[this.fieldInfo.rowInfo].unselectable}}});wg("pagination-first",gI),wg("pagination-last",vI),wg("pagination-right",wI),wg("pagination-right-double",CI),wg("pagination-left",yI),wg("pagination-left-double",bI),wg("pagination-refresh",HI);const sV=["start","end","total","filteredCount","selectedCount"];var rV=on({name:"Pagination",components:{SpinIcon:DD,vIcon:bg,vSingleSelect:pE,vRichText:Ec},directives:{tooltip:lg,iconify:Cg},mixins:[Bc],props:{[rT()]:{type:Number,default:1},total:{type:[Number,String],default:0},start:{type:[Number,String],default:0},end:{type:[Number,String],default:0},selectedCount:{type:[Number,String],default:0},filteredCount:{type:[Number,String],default:0},switchPage:{type:Boolean,default:!0},pageShiftUnit:{type:Number,default:5},pageSize:{type:Number,default:10},showTotal:{type:Boolean,default:!0},hideRefreshBtn:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},itemsPerPage:{type:[Boolean,Array],default:!1},mode:{type:String,default:"normal",validator:e=>["normal","less"].includes(e)},hasFirstBtn:{type:Boolean,default:!0},hasLastBtn:{type:Boolean,default:!0},hasNext:{type:Boolean,default:void 0},hasPrev:{type:Boolean,default:void 0},endless:{type:Boolean,default:!1},mobileBreakpoint:{type:[Object,Boolean],default:()=>({"hide-per-page":"sm","hide-total-items":"xxs",less:"sm"})},totalTextMode:{type:String,validator:e=>["total","range","filter","select"].includes(e),default:"total"},totalTextFormat:{type:Object,default:()=>({})},beforeSwitchPage:{type:Function,default:void 0}},emits:["update:page-size","update:model-value","change","change-page","refresh"],data(){return{current:sT(this),prefixCls:"v-pagination",activeBtn:void 0}},computed:{innerTotalTextFormat(){return gm({total:"{total} {items}",range:"{start}-{end} {items}",filter:"{filteredCount} {items}",select:`<span class="selected-item">{selectedCount}</span> / {total} {items} ${this._i18n("common","selected")}`},this.totalTextFormat)},currentPageShiftUnit(){return this.lessMode?1:this.pageShiftUnit},prevBtnIconName(){return 1===this.currentPageShiftUnit?"pagination-left":"pagination-left-double"},nextBtnIconName(){return 1===this.currentPageShiftUnit?"pagination-right":"pagination-right-double"},prevBtnClass(){return[this.prefixCls+"-prev",{disabled:!this._hasPrev(),single:1===this.currentPageShiftUnit}]},nextBtnClass(){return[this.prefixCls+"-next",{disabled:!this._hasNext(),single:1===this.currentPageShiftUnit}]},prevLabel(){return this._i18n("uicommon","pre_x_pages").replace("{0}",`${this.currentPageShiftUnit}`)},nextLabel(){return this._i18n("uicommon","next_x_pages").replace("{0}",`${this.currentPageShiftUnit}`)},wrapperCls(){return[this.prefixCls,{less:this.lessMode,"rwd--less":this.isLessByRWD}]},isPerPageHidden(){return this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint?.["hide-per-page"]??"sm")},isTotalItemsHidden(){return this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint?.["hide-total-items"]??"xxs")},isLessByRWD(){return this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint?.less??"sm")},lessMode(){return"less"===this.mode||this.isLessByRWD},currentPageSize:{get(){return this.pageSize},set(e){e!==this.pageSize&&(Nc(this,"update:page-size",e),Nc(this,"update:model-value",1))}},allPages(){const e="filter"===this.totalTextMode?this.filteredCount:this.total;return Math.ceil(+e/this.pageSize)},pageList(){if(this.lessMode)return[this.current];const e=[],t=this.pageLeft,i=this.pageRight;for(let n=t;n<=i;n++)e.push(n);return e},pageLeft(){return this.allPages<5?1:this.current-2},pageRight(){return this.allPages<5?this.allPages:this.current+2},totalText(){let e=this.innerTotalTextFormat[this.totalTextMode];for(const t of sV)if(ca(this[t])){const i=ia(this[t])?this[t](this):this[t];e=e.replace(`{${t}}`,`${i}`)}return e=e.replace("{items}",this.getItemsText(this.totalTextMode)),e}},watch:{current(e){Nc(this,"update:model-value",e),Nc(this,"change",e)},[rT()](e){this.current=e},allPages(){this._outOfRange(sT(this))&&(this.current=1)}},methods:{getItemsText(e){let t=!1;return"total"===e?t=1==+this.total:"range"===e?t=+this.start==+this.end:"filter"===e?t=1==+this.filteredCount:"select"===e&&(t=1==+this.selectedCount),t?this._i18n("uicommon","item"):this._i18n("uicommon","items")},getPageButtonClass(e){return[this.prefixCls+"-item",this.prefixCls+"-item-"+e,this.current==e?this.prefixCls+"-item-active":"",this._outOfRange(e)?this.prefixCls+"-item-ghost":""]},async _handleChange(e){!1!==await(this.beforeSwitchPage?.({pageNum:e,pageSize:this.currentPageSize}))&&(e=Math.max(e,1),this.endless||(e=Math.min(e,this.allPages)),Nc(this,"change-page",{pageNum:e}),this._isValid(e)&&(this.current=e,await this.$nextTick(),this.$refs.page[e-this.pageLeft]?.focus()))},_handleRefresh(){Nc(this,"refresh")},_prev(){this._hasPrev()&&this._handleChange(this.current-this.currentPageShiftUnit)},_first(){this._handleChange(1)},_last(){this._handleChange(this.allPages)},_next(){this._hasNext()&&this._handleChange(this.current+this.currentPageShiftUnit)},_hasPrev(){return ca(this.hasPrev)?this.hasPrev:this.current>1},_hasNext(){return ca(this.hasNext)?this.hasNext:!!this.endless||this.current<this.allPages},_isValid(e){return sa(e)&&e!==this.current},_outOfRange(e){return this.endless?e<1:e<1||e>this.allPages},async activateBtnByArrowKeydown(e){["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),["ArrowUp","ArrowLeft"].includes(e.key)&&await this.setActiveBtnToLeft(),["ArrowDown","ArrowRight"].includes(e.key)&&await this.setActiveBtnToRight(),this.focusActiveBtn())},async setActiveBtnToLeft(){await this.$nextTick();const e=[this.$refs.firstBtn,this.$refs.prevBtn,...this.$refs.page,this.$refs.nextBtn,this.$refs.lastBtn].filter((e=>0===e.tabIndex));let t=e.indexOf(this.activeBtn);-1===t&&(t=e.length);const i=Math.max(0,t-1);this.activeBtn=e[i]},async setActiveBtnToRight(){await this.$nextTick();const e=[this.$refs.firstBtn,this.$refs.prevBtn,...this.$refs.page,this.$refs.nextBtn,this.$refs.lastBtn].filter((e=>0===e.tabIndex)),t=e.indexOf(this.activeBtn),i=Math.min(t+1,e.length-1);this.activeBtn=e[i]},focusActiveBtn(){this.activeBtn&&this.activeBtn.focus()}}});const aV=["tabindex","aria-pressed","aria-label","syno-id","onFocus","onClick","onKeydown"],lV={key:0,class:"items-per-page-wrapper"},dV={class:"items-per-page-text"};var cV=Rm(rV,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-single-select"),l=Bi("v-rich-text"),d=Bi("spin-icon"),c=Fi("tooltip"),u=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapperCls)},[ts("div",{class:ne(e.prefixCls+"-left")},[e.switchPage?(jo(),Ko("ul",{key:0,class:"left-paging",onKeydown:t[12]||(t[12]=function(){return e.activateBtnByArrowKeydown&&e.activateBtnByArrowKeydown(...arguments)})},[e.hasFirstBtn?Xi((jo(),Zo(r,{key:0,ref:"firstBtn",role:"button",name:"pagination-first","svg-icon-set":"set13",tabindex:e._hasPrev()?0:-1,"aria-label":e._i18n("extlang","firstpage"),class:ne([e.prefixCls+"-first",e._hasPrev()?"":"disabled"]),"syno-id":`${e.synoId}-pagination-first`,onFocus:t[0]||(t[0]=t=>e.activeBtn=e.$refs.firstBtn),onClick:t[1]||(t[1]=t=>e._first()),onKeyup:t[2]||(t[2]=Ur(Wr((t=>e._first()),["prevent"]),["native","enter"]))},null,8,["tabindex","aria-label","class","syno-id"])),[[c,e._i18n("extlang","firstpage")]]):ls("",!0),Xi(is(r,{ref:"prevBtn",role:"button","svg-icon-set":"set13",name:e.prevBtnIconName,tabindex:e._hasPrev()?0:-1,"aria-label":e.prevLabel,class:ne(e.prevBtnClass),"syno-id":`${e.synoId}-pagination-prev`,onFocus:t[3]||(t[3]=t=>e.activeBtn=e.$refs.prevBtn),onClick:t[4]||(t[4]=t=>e._prev()),onKeyup:t[5]||(t[5]=Ur(Wr((t=>e._prev()),["prevent"]),["native","enter"]))},null,8,["name","tabindex","aria-label","class","syno-id"]),[[c,e.prevLabel]]),(jo(!0),Ko(Po,null,tn(e.pageList,((t,i)=>(jo(),Ko("li",{ref_for:!0,ref:"page",key:`${t}-${i}`,role:"button",class:ne(e.getPageButtonClass(t)),tabindex:e._outOfRange(t)?-1:0,"aria-pressed":e.current==t,"aria-label":e._i18n("uicommon","goto_page").replace("{0}",`${t}`),"syno-id":`${e.synoId}-pagination-${i}`,onFocus:t=>e.activeBtn=e.$refs.page[i],onClick:i=>e._handleChange(t),onKeydown:Ur(Wr((i=>e._handleChange(t)),["prevent"]),["enter"])},ce(e._outOfRange(t)?"":t),43,aV)))),128)),Xi(is(r,{ref:"nextBtn",role:"button","svg-icon-set":"set13",name:e.nextBtnIconName,tabindex:e._hasNext()?0:-1,"aria-label":e.nextLabel,class:ne(e.nextBtnClass),"syno-id":`${e.synoId}-pagination-next`,onFocus:t[6]||(t[6]=t=>e.activeBtn=e.$refs.nextBtn),onClick:t[7]||(t[7]=t=>e._next()),onKeyup:t[8]||(t[8]=Ur(Wr((t=>e._next()),["prevent"]),["native","enter"]))},null,8,["name","tabindex","aria-label","class","syno-id"]),[[c,e.nextLabel]]),e.hasLastBtn&&!e.endless?Xi((jo(),Zo(r,{key:1,ref:"lastBtn",role:"button",name:"pagination-last","svg-icon-set":"set13",tabindex:e._hasNext()?0:-1,"aria-label":e._i18n("extlang","lastpage"),class:ne([e.prefixCls+"-last",e._hasNext()?"":"disabled"]),"syno-id":`${e.synoId}-pagination-last`,onFocus:t[9]||(t[9]=t=>e.activeBtn=e.$refs.lastBtn),onClick:t[10]||(t[10]=t=>e._last()),onKeyup:t[11]||(t[11]=Ur(Wr((t=>e._last()),["prevent"]),["native","enter"]))},null,8,["tabindex","aria-label","class","syno-id"])),[[c,e._i18n("extlang","lastpage")]]):ls("",!0)],32)):ls("",!0)],2),rn(e.$slots,"right-wrapper",{},(()=>[ts("div",{class:ne(e.prefixCls+"-right")},[e.isPerPageHidden?ls("",!0):(jo(),Ko(Po,{key:0},[e.itemsPerPage?(jo(),Ko("div",lV,[ts("span",dV,ce(e._i18n("common","items_perpage")),1),is(a,{modelValue:e.currentPageSize,"onUpdate:modelValue":t[13]||(t[13]=t=>e.currentPageSize=t),width:98,"syno-id":`${e.synoId}-per-page-select`,options:e.itemsPerPage},null,8,["modelValue","syno-id","options"])])):ls("",!0),rn(e.$slots,"right")],64)),!e.showTotal||e.endless||e.isTotalItemsHidden?ls("",!0):rn(e.$slots,"total",{key:1},(()=>[ts("div",{class:ne(e.prefixCls+"-total")},[is(l,{text:e.totalText},null,8,["text"])],2)])),e.loading?(jo(),Zo(d,{key:2})):Xi((jo(),Zo(r,{key:3,role:"button",tabindex:"0",name:"pagination-refresh",class:"v-pagination-refresh","svg-icon-set":"set13","aria-label":e._i18n("common","refresh"),"syno-id":`${e.synoId}-pagination-refresh`,onClick:t[14]||(t[14]=t=>e._handleRefresh()),onKeyup:t[15]||(t[15]=Ur(Wr((t=>e._handleRefresh()),["prevent"]),["native","enter"]))},null,8,["aria-label","syno-id"])),[[lr,!e.hideRefreshBtn]])],2)]))],2)),[[u]])}]]),uV=on({name:"SlideUpDown",props:{expand:{type:Boolean,default:!1},duration:{type:Number,default:240},tag:{type:String,default:"div"}},emits:["update:expand","expand","collapse","before-expand","before-collapse"],data:()=>({prefix:"v-slide-up-down",style:{},inTransition:!1}),watch:{expand(e,t){this.inTransition?this.$emit("update:expand",t):this.doLayout(e,!0)}},mounted(){this.doLayout(this.expand,!1)},methods:{async setHeight(e,t,i){this.style={height:e},i&&await this.$nextTick(),this.forceRelayout=this.$refs.wrapper.scrollHeight,this.style={height:t,overflow:"hidden","transition-property":"height","transition-timing-function":"ease","transition-duration":this.duration+"ms"},e===t&&this.onTransitionEnd()},onTransitionEnd(){this.inTransition&&(this.inTransition=!1),this.expand?(this.style={},this.$emit("expand")):(this.style={height:"0px",overflow:"hidden"},this.$emit("collapse"))},doLayout(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];t&&(this.inTransition=!0),e?(this.$emit("before-expand"),t?this.setHeight("0px",`${this.$refs.wrapper.scrollHeight}px`,!0):this.setHeight("0px","auto",!1)):(this.$emit("before-collapse"),this.setHeight(`${this.$refs.wrapper.scrollHeight}px`,"0px",t))}},render(){return _d(this.tag,{style:this.style,ref:"wrapper",attrs:{"aria-hidden":!this.expand},directives:[{name:"syno-id"}],on:{transitionend:this.onTransitionEnd}},this.$slots.default)}});const hV=on({name:"TreeNode",components:{vSlideUpDown:uV},props:{node:{type:Object,required:!0},columns:{type:Array,required:!0},index:{type:Number,required:!0},level:{type:Number,required:!0},defaultExpand:{type:Boolean,default:!1}},data(){return{prefix:"v-table-tree-node",currentExpand:this.defaultExpand||this.node.expanded||!1}},computed:{expandable(){return!this.node.leaf&&this.node.children}},methods:{toggle(){this.expandable&&(this.currentExpand=!this.currentExpand)}}}),pV=["syno-id"],fV={class:"cell-content"},mV={class:"cell-text"},gV={class:"tree-child"};var vV=Rm(hV,[["render",function(e,t,i,n,o,s){const r=Bi("tree-node",!0),a=Bi("v-slide-up-down");return jo(),Ko("div",{class:ne(e.prefix+"-ct")},[ts("table",{class:ne(e.prefix+"-table")},[ts("tr",null,[(jo(!0),Ko(Po,null,tn(e.columns,((i,n)=>(jo(),Ko("td",{key:n,"syno-id":`${e.synoId}-td-${n}`},[rn(e.$slots,"td",{content:e.node[i.field],column:i,index:e.index,cindex:n,node:e.node},(()=>[ts("div",fV,[0===n?(jo(),Ko("span",{key:0,class:ne("cell-indent-"+e.level)},null,2)):ls("",!0),0===n?(jo(),Ko("span",{key:1,class:ne(["cell-expandable",{show:e.expandable,expand:e.currentExpand,collapse:!e.currentExpand}]),onClick:t[0]||(t[0]=t=>e.toggle())},null,2)):ls("",!0),ts("span",mV,[i.fn||i.field?i.fn?(jo(),Ko(Po,{key:1},[rs(ce(i.fn(e.node,this)),1)],64)):(jo(),Ko(Po,{key:2},[rs(ce(e.node[i.field]),1)],64)):(jo(),Ko(Po,{key:0},[rs(ce(e.node[i.field]),1)],64))])])]))],8,pV)))),128))])],2),is(a,{expand:e.currentExpand,"syno-id":`${e.synoId}-slide-up-down`},{default:Ii((()=>[ts("div",gV,[(jo(!0),Ko(Po,null,tn(e.node.children,((t,i)=>(jo(),Ko(Po,null,[!e.node.leaf&&e.node.children?(jo(),Zo(r,{key:i,node:t,columns:e.columns,index:i,level:e.level+1,"syno-id":`${e.synoId}-${i}`},null,8,["node","columns","index","level","syno-id"])):ls("",!0)],64)))),256))])])),_:1},8,["expand","syno-id"])],2)}]]);const yV={columns:{type:Array,default:()=>[],required:!0},columnIdField:{type:String,default:void 0,required:!0},followHeadColGroup:{type:Boolean,default:!1},colsData:{type:Object,default:()=>{}}};let bV;bV=(e,t)=>((e,t,i)=>{const n=Ld(i);return Ad(e,"colgroup",n,t.columns.map((i=>{const n=i[t.columnIdField];return Ad(e,"col",{attrs:{name:n,width:!!t.followHeadColGroup&&t.colsData[n]},key:i[t.columnIdField]})})))})(void 0,e,t),bV.props=yV;var wV=on({name:"Expansion",props:{expand:{type:Boolean,default:!1},active:{type:Boolean,default:!1},duration:{type:Number,default:240}},emits:["expand","collapse"],data:()=>({}),watch:{expand(){this.active&&this.doLayout(!0)}},mounted(){this.$nextTick((()=>{this.doLayout(!1),Pu(this.$el,"transitionend",this.onTransitionEnd)}))},[Pa](){},methods:{setHeight(e,t,i){i&&(Fu(this.$el,"height",e),Fu(this.$el,"transition",`height ease ${this.duration}ms`),this.forceRelayout=this.$el.scrollHeight),Fu(this.$el,"height",t)},onTransitionEnd(e){this.expand?Nc(this,"expand"):Nc(this,"collapse")},doLayout(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=this.$el.scrollHeight;this.$nextTick((()=>{if(e){Fu(this.$el,"height","auto");const e=this.$el.scrollHeight;this.setHeight(`${t}px`,`${e}px`,!0)}else this.setHeight(`${t}px`,"auto",!1)}))}},render(){const e=Ka(this).default();if(e&&e.length){if(!(e.length>1))return e[0];ih("basic expansion component should only handle one child")}}}),CV=on({name:"Radio",components:{vIcon:bg},mixins:[Aa("radio-group"),Cg,wu],model:{prop:"model",event:"input"},props:{stopPropagation:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:""},[rT("model")]:{type:[String,Number,Boolean],default:""},disabled:{type:Boolean,default:!1},id:{type:String,default:()=>`syno-${PD()}`},name:{type:String,default:""},labelColor:{type:String,default:"normal",validator:e=>["normal","red"].includes(e)}},emits:["focus","blur","click","update:model-value","input"],data:()=>({prefixCls:"v-radio",isGroup:!1,isFocused:!1,disabledKey:"innerDisabled"}),computed:{wrapperCls(){return[`${this.prefixCls}-wrapper`,{checked:this.isChecked,disabled:this.innerDisabled,focused:this.isFocused}]},labelCls(){return[`${this.prefixCls}-label`,{[`label-color-${this.labelColor}`]:!0}]},innerModel:{get(){return this.isGroup?this["radio-group"]?.instance.innerValue:this.modelValue},set(e){this.isGroup?this["radio-group"]?.instance.change(e):Nc(this,"update:model-value",e)}},isChecked(){return this.innerModel===this.value},innerDisabled(){return this.isGroup&&this["radio-group"]?.instance.disabled||this.disabled}},created(){this["radio-group"]&&(this.isGroup=!0)},methods:{onFocus(){this.$refs.input.focus()},onFocusInput(){this.isFocused=!0,Nc(this,"focus",this)},onBlurInput(){this.isFocused=!1,Nc(this,"blur",this)},onClick(e){this.stopPropagation&&e.stopPropagation(),this.innerDisabled||(Nc(this,"click",e,this),this.innerModel!==this.value&&(this.innerModel=this.value))},onDblClick(e){this.stopPropagation&&e.stopPropagation()}}});const xV=["id","disabled","name","tabindex","aria-checked","value"];var SV=Rm(CV,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapperCls),tabindex:"-1",onClick:t[4]||(t[4]=function(){return e.onClick&&e.onClick(...arguments)}),onDblclick:t[5]||(t[5]=function(){return e.onDblClick&&e.onDblClick(...arguments)}),onFocus:t[6]||(t[6]=function(){return e.onFocus&&e.onFocus(...arguments)})},[is(r,{name:"radio",class:"v-radio-icon",sprite:""}),Xi(ts("input",{id:e.id,ref:"input","onUpdate:modelValue":t[0]||(t[0]=t=>e.innerModel=t),type:"radio",class:ne(e.prefixCls+"-input"),disabled:e.innerDisabled,name:e.name,tabindex:e.isChecked?0:-1,"aria-checked":e.isChecked?"true":"false",value:e.value,onClick:t[1]||(t[1]=Wr((()=>{}),["stop"])),onFocus:t[2]||(t[2]=function(){return e.onFocusInput&&e.onFocusInput(...arguments)}),onBlur:t[3]||(t[3]=function(){return e.onBlurInput&&e.onBlurInput(...arguments)})},null,42,xV),[[Nr,e.innerModel]]),ts("label",{class:ne(e.labelCls)},[rn(e.$slots,"default")],2)],34)),[[a]])}]]);function kV(e){return!!na(e.isDraggable)&&(e.isDraggable?.showIcon??TF)===DF}function _V(e,t,i){return"enable"===t.action||"checkbox"===t.action?Ad(e,tB,{props:{synoId:`${t.synoId??i.attrs?.["syno-id"]??""}-checkbox`,[rT()]:t.value,stopPropagation:!0,disabled:t.isActionDisabled},on:{change:Id(i,"action-change")}}):"radio"===t.action?Ad(e,SV,{props:{synoId:`${t.synoId??i.attrs?.["syno-id"]??""}-radio`,[rT("model")]:t.value,value:!0,stopPropagation:!0,disabled:t.isActionDisabled},on:{click:Id(i,"action-change")}}):null}function IV(e,t,i){return Ad(e,wV,{props:{active:t.expandable,expand:t.expand},scopedSlots:{default:()=>[TV(e,t,i)]}})}function TV(e,t,i){const n=[];t.showExpandIcon&&n.push(Ad(e,bg,{class:["expand-icon",t.expandIconCls],props:{name:t.expand?"data-table-expand-up":"data-table-expand-down",svgIconSet:"set32"},nativeOn:{click:e=>{e.stopPropagation();Id(i,"toggle-expand")?.()}}}));const o=t.action?function(e,t,i){return Ad(e,"div",{class:["cell","action-cell"],directives:[{name:"tooltip",value:t.tooltip}]},[_V(e,t,i)])}(e,t,i):function(e,t,i){const n=[];if(t.expandable&&t.expand){const e=t.hasExpandSlot?t.expandSlot:"basic-expand-default",o=Td(i)[e];o&&n.push(o({row:t.item,data:t.value}))}else{const o=Td(i)[t.fieldSlot],s=o?o({data:t.value,row:t.item,update:t.updateItem,initialData:t.initialValue}):function(e,t){return t.getHtml?Ad(e,"div",{class:["html-content"],domProps:{innerHTML:t.getHtml(t.item)}}):t.contentFn?t.contentFn(t.item):t.value}(e,t);n.push(s)}return Ad(e,"div",{class:["cell","content-cell"],directives:[{name:"tooltip",value:t.tooltip}]},n)}(e,t,i);return n.push(o),Ad(e,"div",{class:["inner-cell"]},n)}wg("data-table-draggable-s",oI),wg("data-table-expand-up",X_),wg("data-table-expand-down",Q_);const DV={column:{type:Object,default:()=>({})},value:{type:[String,Number,Boolean,Object,Array],default:void 0},initialValue:{type:[String,Number,Boolean,Object,Array],default:void 0},item:{type:Object,default:()=>({})},fieldKey:{type:String,default:void 0},index:{type:Number,default:0},cindex:{type:Number,default:0},expandable:{type:Boolean,default:!1},hasExpandSlot:{type:Boolean,default:!1},expandSlot:{type:String,default:void 0},expand:{type:Boolean,default:!1},showExpandIcon:{type:Boolean,default:!1},action:{type:String,default:void 0},isActionDisabled:{type:Boolean,default:!1},tooltip:{type:[String,Boolean,Object],default:void 0},useFieldSlot:{type:Boolean,default:!1},fieldSlot:{type:String,default:void 0},contentFn:{type:Function,default:void 0},getHtml:{type:Function,default:void 0},updateItem:{type:Function,default:void 0},hidden:{type:Boolean,default:!1},isDraggable:{type:[Boolean,Object],default:!1}};let LV;LV=(e,t)=>function(e,t,i){let n=[];t.hidden||(n=[t.expandable?IV(e,t,i):TV(e,t,i)],0===t.cindex&&function(e){return na(e.isDraggable)?(e.isDraggable?.showIcon??TF)!==LF:Boolean(e.isDraggable)}(t)&&n.push(function(e,t){return Ad(e,bg,{class:{"show-icon-only-hover":kV(t)},props:{svgIconSet:"set26",name:"data-table-draggable-s"}})}(e,t)));const o=Ld(i,[]);return o.attrs={"syno-id":t.synoId,...o.attrs},Ad(e,"td",o,n)}(void 0,e,t),LV.props=DV,wg("data-table-chevron-up",xI),wg("data-table-chevron-down",mI);const AV=on({name:"GroupNode",components:{vIcon:bg,vCheckbox:tB,vTableCell:LV,vSlideUpDownTransition:UM,vColGroup:bV},directives:{tooltip:lg},mixins:[Aa("data-table"),Cg],props:{categories:{type:Array,default:()=>[]},groupInfo:{type:Object,default:()=>{}},fieldInfo:{type:Object,default:()=>({itemKey:"id",rowInfo:"_rowInfo"})}},emits:["category-action"],data:()=>({actionSortDirection:"ASC",prefix:"v-table-group-node",categoryExpandRecord:{},$_categories:[],visibleItems:{}}),computed:{table(){return this["data-table"].instance},rowClass(){return[{"with-border":this.groupInfo.rowBorder}]},containerClass(){return[`${this.prefix}-ct`,{expandable:this.groupInfo.expandable}]},titleClass(){return[`${this.prefix}-group-title`,{"with-border":this.groupInfo.titleBorder,expandable:this.groupInfo.expandable}]},tableClass(){return[{[`${this.prefix}-table`]:!0}]},currentCategories:{set(e){for(const t of e)ea(this.categoryExpandRecord,t.key)||sh(this.categoryExpandRecord,t.key,this.groupInfo.defaultExpand);for(const t of e)for(const e of this.table.currentVisibleColumns)e.field===this.groupInfo.actionField&&this.setCategoryEnableState(e,t);this.$data.$_categories=e.sort(this.getCategoriesSortFn())},get(e){return this.table.filtered?this.$data.$_categories.filter((e=>this.isCategoryFilter(e))):this.$data.$_categories}}},watch:{categories:{handler(e){this.currentCategories=e.slice()},immediate:!0}},created(){this.activeIndexes={}},mounted(){this.unwatch=this.$watch((()=>[this.table.visibleStart,this.table.visibleEnd]),(()=>{this.updateCategoryVisibleItems(this.table.visibleStart,this.table.visibleEnd)}),{immediate:!0})},[Pa](){this.unwatch?.()},methods:{getSlots(){return Ka(this)},getCategoriesSortFn(){return this.table.sortColumn&&this.table.sortColumn.field===this.groupInfo.actionField?(e,t)=>{let i=e.enableIndeterminate?1:e.enableState?2:0,n=t.enableIndeterminate?1:t.enableState?2:0;if(i!==n){if("DESC"===this.table.sortColumn.sort)return i<n?1:-1;if("ASC"===this.table.sortColumn.sort)return i<n?-1:1}return 0}:this.groupInfo.sortCategoryFn},setActiveCell(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-2,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,s=null;return!(n<-1||(s=-1===n?this.table.getHeaderCell(o):this.getCell(i,n,o),o<0||this.table.currentColumns.length<=o||(this.activeIndexes.prevCell&&this.activeIndexes.prevCell.setAttribute("tabindex","-1"),s&&s.setAttribute("tabindex","0"),this.activeIndexes={row:n,col:o,categoryIndex:i,category:t,prevCell:s},0)))},focusActiveCell(){const{row:e,col:t,categoryIndex:i}=this.activeIndexes;if(e<-1)return!1;if(t<0||this.table.currentColumns.length<=t)return!1;let n;return n=-1===e?this.table.getHeaderCell(t):this.getCell(i,e,t),n&&n.focus(),n===document.activeElement},setActiveCellWithFocus(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-2,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;if(this.setActiveCell(e,t,i,n,o))return t?this.table.clickRow(`${t.key}:${n}`,e):this.table.clearSelectedRows(),this.focusActiveCell(e)},getCell(e,t,i){const n=this.$refs[`cell-${e}-${t}-${i}`];return n&&n[0]},selectCellByKeydown(e){if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.key))return;let{row:t,col:i,categoryIndex:n,category:o}=this.activeIndexes;e.preventDefault();let s=t,r=i;return"ArrowUp"===e.key&&(s=t-1),"ArrowDown"===e.key&&(s=t+1),"ArrowLeft"===e.key&&(r=i-1),"ArrowRight"===e.key&&(r=i+1),o?s<0?(n-=1,o=this.currentCategories[n],s=o?o.items.length-1:-1):s>o.items.length-1&&(n+=1,s=0,o=this.currentCategories[n]):(n=0,o=this.currentCategories[n]),this.setActiveCellWithFocus(e,o,n,s,r)},toggleCategory(e){if(!1===this.groupInfo.expandable)return;let t=this.categoryExpandRecord[e]||!1;t=!t,sh(this.categoryExpandRecord,e,t),this.table.virtualScroll&&(this.table.renderVisibleItems({checkScrollSticky:!1}),this.updateCategoryVisibleItems(this.table.visibleStart,this.table.visibleEnd))},itemAction(e,t,i,n,o,s){return this.groupInfo.actionField===o.field&&this.$nextTick((()=>this.setCategoryEnableState(o,s))),this.table.itemAction(e,t,i,n,o,s)},setCategoriesEnableState(e){for(const t of this.categories)this.setCategoryEnableState(e,t)},setCategoryEnableState(e,t){if(this.groupInfo.actionField!==e.field)return;let i=!1,n=!1;const o=Object.entries(t.items);if(o){for(let[s,r]of o)this.table.isActionDisabled(r,e)||this.table.isActionHidden(r,e)||(!0===this.table.getCellValue(e.field,r,s,t.key)?i=!0:n=!0);i&&n?t.enableIndeterminate=!0:i?(t.enableState=!0,t.enableIndeterminate=!1):(t.enableState=!1,t.enableIndeterminate=!1)}},categoryAction(e){const t=!e.enableState,i=this.table.getColumnByField(this.groupInfo.actionField)??this.table.selectionActionColumn;if(sh(e,"enableState",t),sh(e,"enableIndeterminate",!1),this.table.isSelectionModeColumn(i)&&(t?this.table.selectCategory(e):this.table.unselectCategory(e)),e&&e.items)for(const n of e.items)this.table.isActionDisabled(n,i)||this.table.isActionHidden(n,i)||(n[this.groupInfo.actionField]=t);this.table.setHeadState(i),Nc(this,"category-action",{column:i,category:e,enableState:t})},getContentCellClasses(e,t,i,n){let o=this.table.getContentCellClasses(e,t,i,n);return"left"!==(t.align||"left")||t.action||0!==i||o.push("group-indent"),o},getVirtualGroupStyle(e){return!!this.table.virtualScroll&&(this.categoryExpandRecord[e.key]?{height:e.items.length*this.table.virtualRowHeight+"px"}:{height:0})},updateCategoryVisibleItems(e,t){let i=0,n={};for(const o of this.currentCategories){const s=this.categoryExpandRecord[o.key]?o.items.length:0;let r=i+s;e<=r&&t>=i&&(n[o.key]={start:e<i?0:e-i,end:t>r?s:t-i}),i+=s+1}this.visibleItems=n},getTableOffsetStyle(e){return!!this.table.virtualScroll&&{transform:`translateY(${(this.visibleItems[e.key]?.start??0)*+this.table.virtualRowHeight}px`}},isCategoryFilter(e){return this.table.getItems(e.items,{filter:this.table.filtered}).length>0},getVisibleItems(e){const t=this.table.getItems(e.items,{filter:this.table.filtered});if(this.table.virtualScroll){const i=this.visibleItems[e.key]?.start??0,n=this.visibleItems[e.key]?.end??0;return t.slice(i,n)}return t},updateItem(e,t,i){return n=>{this.currentCategories[e].items[t][i]=n}}}}),EV=["onClick"],MV={class:"content"},BV=["syno-id"];var OV=Rm(AV,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-checkbox"),l=Bi("v-col-group"),d=Bi("v-table-cell"),c=Bi("v-slide-up-down-transition"),u=Fi("tooltip");return jo(),Ko("div",{class:ne(e.containerClass)},[(jo(!0),Ko(Po,null,tn(e.currentCategories,((i,n)=>(jo(),Ko("div",{key:i.key,class:ne(e.prefix+"-group")},[ts("div",{class:ne(e.titleClass),onClick:t=>e.toggleCategory(i.key)},[e.groupInfo.expandable?(jo(),Zo(r,{key:0,"syno-id":`${e.synoId}-group-${i.key}-arrow`,class:"arrow group-expand-icon",name:!0===e.categoryExpandRecord[i.key]?"data-table-chevron-up":"data-table-chevron-down","svg-icon-set":"set31"},null,8,["syno-id","name"])):ls("",!0),"enable"===e.groupInfo.action?(jo(),Zo(a,{key:1,"syno-id":`${e.synoId}-group-checkbox`,value:i.enableState,"model-value":i.enableState,indeterminate:i.enableIndeterminate,"stop-propagation":"",onChange:t=>e.categoryAction(i)},null,8,["syno-id","value","model-value","indeterminate","onChange"])):ls("",!0),ts("span",MV,[rn(e.$slots,"group-title",{category:i},(()=>[rs(ce(i.key),1)]))])],10,EV),is(c,null,{default:Ii((()=>[!0===e.categoryExpandRecord[i.key]?(jo(),Ko("div",{key:0,class:ne(`${e.prefix}-table-wrapper`),"syno-id":`${e.synoId}-group-${i.key}-slideUpDown`,style:Q(e.getVirtualGroupStyle(i))},[ts("table",{class:ne(e.tableClass),style:Q(e.getTableOffsetStyle(i)),onMouseleave:t[0]||(t[0]=function(){return e.table.onMouseLeave&&e.table.onMouseLeave(...arguments)})},[is(l,{ref_for:!0,ref:"body-col-group",columns:e.table.isGroupHeadMode?e.table.flattenColumns:e.table.currentVisibleColumns,"column-id-field":e.table.fieldInfo.columnKey,"cols-data":e.table.colsData,"follow-head-col-group":""},null,8,["columns","column-id-field","cols-data"]),ts("tbody",null,[(jo(!0),Ko(Po,null,tn(e.getVisibleItems(i),(t=>{let{item:o,index:s}=t;return Xi((jo(),Zo($i(e.table.useBodyRow()),{key:`${i.key}:${s}`,ref_for:!0,ref:`row-${i.key}:${s}`,item:o,index:s,categroy:i,"syno-id":`${e.synoId}-tr-${s}`,class:ne(e.table.getRowClass(`${i.key}:${s}`,o).concat(e.rowClass)),onClick:t=>e.table.clickRow(`${i.key}:${s}`,t),onDblclick:t=>e.table.rowDblClick(`${i.key}:${s}`,o,t),onMouseover:t=>e.table.hoverRow(`${i.key}:${s}`)},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.table.isGroupHeadMode?e.table.flattenColumns:e.table.currentVisibleColumns,((t,r)=>(jo(),Zo(d,{ref_for:!0,ref:`cell-${n}-${s}-${r}`,key:t[e.table.fieldInfo.columnKey],role:"cell","syno-id":`${e.synoId}-td-${o[e.table.fieldInfo.rowKey]}-${t[e.table.fieldInfo.columnKey]}`,value:e.table.getCellValue(t.field,o,s,i.key),item:o,class:ne(e.getContentCellClasses(s,t,r,o)),tabindex:"-1","aria-colindex":r+1,"field-key":t.fieldKey,index:s,cindex:r,expandable:e.table.isBasicExpandable,"has-expand-slot":e.table.hasBasicExpandSlot(t),"expand-slot":e.table.getBasicExpandSlot(t),expand:e.table.expandState[o[e.table.fieldInfo.rowKey]],"show-expand-icon":e.table.expandable&&t[e.table.fieldInfo.columnKey]===e.table.firstVisibleColumnId,action:t.action,"is-action-disabled":e.table.isActionDisabled(o,t),tooltip:e.table.getCellTooltip(t,o),"use-field-slot":t.useSlot||!t.fn&&!t.field,"field-slot":e.table.getFieldSlotName(t),"content-fn":t.fn,"get-html":t.getHtml,"hover-action-cls":e.table.rowHoverActionCls(o[e.table.fieldInfo.rowKey]),"hover-action-activate":e.table.activateHoverAction(o),"hover-action-deactivate":e.table.deactivateHoverAction(o),"has-hover-action":e.table.isLastVisibleCell(t),"update-item":e.updateItem(n,s,t.field),column:t,hidden:e.table.getCellHidden(t,o),onFocus:t=>e.setActiveCell(t,i,n,s,r),onClick:i=>e.table.onCellClick(o,t,s,r,i),onContextmenu:n=>e.table.onCellContextMenu(o,t,`${i.key}:${s}`,r,n),onActionChange:(n,r)=>e.itemAction(n,r,s,o,t,i),onToggleExpand:t=>e.table.toggleRowExpand(o)},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,hs({ref_for:!0},t))]))})))]),1032,["syno-id","value","item","class","aria-colindex","field-key","index","cindex","expandable","has-expand-slot","expand-slot","expand","show-expand-icon","action","is-action-disabled","tooltip","use-field-slot","field-slot","content-fn","get-html","hover-action-cls","hover-action-activate","hover-action-deactivate","has-hover-action","update-item","column","hidden","onFocus","onClick","onContextmenu","onActionChange","onToggleExpand"])))),128))])),_:2},1064,["item","index","categroy","syno-id","class","onClick","onDblclick","onMouseover"])),[[u,e.table.getRowTooltip(o)]])})),128))])],38)],14,BV)):ls("",!0)])),_:2},1024)],2)))),128))],2)}]]),$V=on({props:{virtualScroll:{type:Boolean,default:!1},virtualRowHeight:{type:[Number,String],default:29},virtualMobileCardRowHeight:{type:[Number,String],default:272},updateBufferItemsNum:{type:Number,default:5},bufferItemsNum:{type:Number,default:10},bufferSize:{type:Number,default:200}},data:()=>({sizes:[],bufferStart:0,bufferEnd:0,virtualTotalSize:0,visibleStart:0,visibleEnd:0}),computed:{innerRowHeight(){return this.isMobile?+this.virtualMobileCardRowHeight:+this.virtualRowHeight},size(){return this.groupTable?this.categories.reduce(((e,t)=>e+(t.items.length+1)),0):this.currentPagingData.length},tableOffsetStyle(){return this.virtualScroll?this.autoRowHeight?{transform:`translateY(${this.sizes[this.visibleStart]?this.sizes[this.visibleStart].acc:0}px)`}:{transform:`translateY(${this.visibleStart*this.innerRowHeight}px`}:{}},virtualBodyStyle(){return{height:this.virtualTotalSize+"px",top:0,left:0,width:"1px",position:"absolute"}}},watch:{isMobile:{handler(){this.$_cachedSizes={},this.renderVisibleItems({checkScrollSticky:!1,autoFocus:!0})}},virtualScroll:{async handler(e){e?(await ei(),this.onScrollViewportChanged(),this.intersectionListener=qm(this.$el,this.onVisibleChanged),this.$refs.scrollbar&&(this.resizeListener=oD(this.$refs.scrollbar.$el,this.onScrollViewportChanged)),this.updateSizes(),this.renderVisibleItems({checkScrollSticky:!1,autoFocus:!0})):(this.intersectionListener?.(),this.resizeListener?.())},immediate:!0},isEmpty(e){ei((()=>{e?this.resizeListener?.():this.$refs.scrollbar&&this.virtualScroll&&(this.resizeListener=oD(this.$refs.scrollbar.$el,this.onScrollViewportChanged),this.onScrollViewportChanged())}))},current:{async handler(){await ei(),this.$refs.scrollbar&&this.virtualScroll&&(this.updateSizes(),this.renderVisibleItems({checkScrollSticky:!1,autoFocus:!0}))},immediate:!0}},created(){this.$_scrollTop=void 0,this.$_scrollViewportHeight=0,this.$_cachedSizes={}},mounted(){this.virtualScroll&&this.groupTable&&this.autoRowHeight&&th("group table only support virtual scroll with fixed size currently",this)},[Pa](){this.intersectionListener?.(),this.resizeListener?.()},methods:{onScrollViewportChanged(e){this.$_scrollViewportHeight=e?.contentRect?.height??this.$refs.scrollbar?.$el?.offsetHeight},updateSizes(){let e=0;this.sizes=this.current.reduce(((t,i)=>(t.push({item:i,acc:e}),e+=this.$_cachedSizes[i[this.fieldInfo.rowKey]]??this.innerRowHeight,t)),[])},onVisibleChanged(e){e.isVisible&&this.renderVisibleItems({checkScrollSticky:!1})},findAnchor(e,t){let i,n=0,o=0,s=0;const r=this.size;if(this.autoRowHeight){if(this.sizes.length>0){for(n=Math.max(Math.min(function(e,t){let i=0,n=t.length;for(;i<n;){const o=i+~~((n-i)/2);e<=t[o].acc?n=o:i=o+1}return i}(e,this.sizes),this.sizes.length),0),o=n,i=this.sizes.length;o<i&&this.sizes[o].acc<t;o++);s=this.sizes[this.sizes.length-1].acc}}else n=Math.max(Math.min(~~(e/this.innerRowHeight),r),0),o=Math.max(Math.min(~~(t/this.innerRowHeight),r),0),s=r*this.innerRowHeight;return n=xa(n-this.bufferItemsNum,0,r-1),o=xa(o+this.bufferItemsNum,0,r-1),{start:n,end:o,total:s}},getVisibleItems(e,t){return this.bufferStart=e,this.bufferEnd=t,this.findAnchor(this.bufferStart,this.bufferEnd)},isScrollSticky(e,t,i){const n=this.sizes[xa(this.visibleStart+this.updateBufferItemsNum,0,this.sizes.length-1)],o=this.sizes[xa(this.visibleEnd-this.updateBufferItemsNum,0,this.sizes.length-1)];let s,r;return this.autoRowHeight?(r=n.acc,s=o.acc):(r=(this.visibleStart+this.updateBufferItemsNum)*this.innerRowHeight,s=(this.visibleEnd-this.updateBufferItemsNum)*this.innerRowHeight),e>this.$_scrollTop&&i>=s||e<this.$_scrollTop&&t<=r},getBuffer(e){let t=e;return t<0&&(t=0),{bufferStart:t,bufferEnd:t+this.$_scrollViewportHeight}},renderVisibleItems(){let{checkScrollSticky:e=!0,autoFocus:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.$refs.scrollbar)return;if(this.autoRowHeight&&this.sizes.length<=0)return;const i=this.$refs.scrollbar.getScrollTop(),{bufferStart:n,bufferEnd:o}=this.getBuffer(i);if(!e||this.isScrollSticky(i,n,o)){const{start:e,end:i,total:s}=this.getVisibleItems(n,o);this.renderRange(e,i,s,{autoFocus:t})}this.$_scrollTop=i},renderRange(e,t,i){let{autoFocus:n=!0}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.visibleStart=xa(e,0,this.sizes.length-1),this.visibleEnd=xa(t,0,this.sizes.length-1),this.virtualTotalSize=i,this.autoRowHeight&&Yu((()=>{ei((()=>{for(let e=this.visibleStart;e<=this.visibleEnd;e++){const t=this.current[e];let i=this.$refs[`row-${e}`]?.[0];i=i?.$el??i,i&&(this.$_cachedSizes[t[this.fieldInfo.rowKey]]=i.offsetHeight)}this.updateSizes()}))})),n&&ei((()=>{this.focusActiveCell()}))}}});wg("data-table-sort-down",rI),wg("data-table-sort-up",aI);const FV=on({name:"TableHeaderCell",components:{vCheckbox:tB,vWhitetip:iA,vIcon:bg},mixins:[vm("tableHeaderCell","HeaderCell")],props:{columnKey:{type:[String,Number],default:PD()},column:{type:Object,default:()=>{}},synoId:{type:String,default:""},tooltip:{type:[Boolean,String,Object],default:!1},cindex:{type:Number,default:-1},isActionDisabled:{type:Boolean,default:!1},disableSort:{type:Boolean,default:!1},sorting:{type:Boolean,default:!1},sortIcon:{type:Object,default:()=>({})}},emits:["action-change","sort","mousedown","mousemove","focus"],computed:{sortIconName(){let e=this.column.sort;return this.sorting||(e=this.column.defaultSortOrder??"ASC"),"ASC"===e?"data-table-sort-up":"data-table-sort-down"},innerSortIcon(){return this.getHeaderCellConfigValue("sortIcon")}},methods:{isActionCell:e=>!(ca(e.headerAction)&&"none"===e.headerAction||!e.action),getHeaderTip:e=>!!ta(e.tip)&&e.tip,getHeaderTipSlotName:e=>`${e.field||e.fieldKey}.tip`,getHeaderSlotName:e=>`${e.field||e.fieldKey}.th`,onClickSort(){Nc(this,"sort")},onActionChange(){Nc(this,"action-change")}}}),VV=["name","syno-id","aria-sort","aria-colindex"],PV={class:"inner-cell"},NV={key:0,class:"cell-title"},RV={class:"cell-title"};var HV=Rm(FV,[["render",function(e,t,i,n,o,s){const r=Bi("v-checkbox"),a=Bi("v-icon"),l=Bi("v-whitetip"),d=Fi("tooltip");return Xi((jo(),Ko("th",{name:e.columnKey,"syno-id":e.synoId,role:"columnheader",tabindex:"-1","aria-sort":("ASC"===e.column.sort?"ascending":"DESC"===e.column.sort&&"descending")||"none","aria-colindex":e.cindex+1,onMousedown:t[3]||(t[3]=t=>e.$emit("mousedown",t)),onMousemove:t[4]||(t[4]=t=>e.$emit("mousemove",t)),onFocus:t[5]||(t[5]=t=>e.$emit("focus",t))},[ts("div",PV,[e.isActionCell(e.column)?(jo(),Ko("div",{key:0,class:"action-cell cell",onClick:t[1]||(t[1]=function(){return e.onClickSort&&e.onClickSort(...arguments)})},["enable"===e.column.action||"checkbox"===e.column.action?(jo(),Ko(Po,{key:0},[is(r,{"syno-id":`${e.synoId}-head-action`,value:e.column.enableState,"model-value":e.column.enableState,indeterminate:e.column.enableIndeterminate,disabled:e.isActionDisabled,"stop-propagation":"",onChange:t[0]||(t[0]=t=>e.onActionChange())},null,8,["syno-id","value","model-value","indeterminate","disabled"]),e.column.title?(jo(),Ko("span",NV,ce(e.column.title),1)):ls("",!0),e.disableSort?ls("",!0):(jo(),Zo(a,hs({key:1,class:"v-table-column-sorter",name:"ASC"===e.column.sort?"data-table-sort-up":"data-table-sort-down","svg-icon-set":"set16"},e.innerSortIcon),null,16,["name"]))],64)):ls("",!0),Boolean(e.column.tip)?(jo(),Zo(l,{key:1,size:"small",content:e.getHeaderTip(e.column)},{default:Ii((()=>[rn(e.$slots,e.getHeaderTipSlotName(e.column))])),_:3},8,["content"])):ls("",!0)])):(jo(),Ko("div",{key:1,class:"head-cell cell",onClick:t[2]||(t[2]=function(){return e.onClickSort&&e.onClickSort(...arguments)})},[rn(e.$slots,"th",{title:e.column.title,column:e.column,cindex:e.cindex},(()=>[rn(e.$slots,e.getHeaderSlotName(e.column),{title:e.column.title,column:e.column,cindex:e.cindex},(()=>[ts("span",RV,ce(e.column.title),1)]))])),e.disableSort?ls("",!0):(jo(),Zo(a,hs({key:0,class:"v-table-column-sorter",name:e.sortIconName,"svg-icon-set":"set16"},e.innerSortIcon),null,16,["name"])),e.column.tip?(jo(),Zo(l,{key:1,size:"small",content:e.getHeaderTip(e.column)},{default:Ii((()=>[rn(e.$slots,e.getHeaderTipSlotName(e.column))])),_:3},8,["content"])):ls("",!0)]))])],40,VV)),[[d,e.tooltip]])}]]);function zV(e){const t=Ka(e)["mobile-header-actions"];if(t)return _d("div",{class:"action-wrapper"},t({row:e.value}))}function WV(e,t,i){const n=e.getFieldSlotName(t),o=`mobile-${n}`,s=e.value,r=e.getCellValue(t.field,s,i),a=Ka(e)[o],l=Ka(e)[n];return a?a({data:r,row:s,update:e.updateItem(e.index,t.field)}):l?l({data:r,row:s,update:e.updateItem(e.index,t.field)}):t.getHtml?_d("div",{staticClass:"html-content",domProps:{innerHTML:t.getHtml(s)}}):t.fn?t.fn(s):r}wg("data-table-mobile-chevron-up",xI),wg("data-table-mobile-chevron-down",mI);var jV=on({mixins:[Bc,Cg],props:{columns:{type:Array,default:()=>[]},index:{type:Number,default:0},updateItem:{type:Function,default:void 0},value:{type:Object,default:()=>({})},getCellValue:{type:Function,default:void 0},getFieldSlotName:{type:Function,default:void 0},getHeaderTipSlotName:{type:Function,default:void 0},fieldAlignment:{type:[String,Object],default:"adaptive",validator:e=>!!na(e)||["adaptive","horizontal","vertical"].includes(e)},mobileRowCollapsible:{type:[Boolean,Object],default:!0}},emits:["rowclick"],data(){return{expanded:!!na(this.mobileRowCollapsible)&&this.mobileRowCollapsible.defaultExpanded}},computed:{hasSlider(){return!!this.mobileRowCollapsible},isCollapsible(){const{column:e}=iF(this.columns);return this.hasSlider&&(Ya(this,"mobile-header")||!!e)},isSlideContainDescription(){return!!na(this.mobileRowCollapsible)&&this.mobileRowCollapsible.containDesc},isFieldAlignmentAdaptive(){return"adaptive"===this.fieldAlignment||!!na(this.fieldAlignment)&&"adaptive"===this.fieldAlignment.strategy},currentFieldAlignment(){if(this.isFieldAlignmentAdaptive){if(!this.$breakpointManager)return void th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active.");const e=this.fieldAlignment.breakpoint??"xxs";return this.$breakpointManager.lessAndEqThan(e)?"vertical":"horizontal"}return this.fieldAlignment}},methods:{toggleExpand(e){e.stopPropagation(),this.expanded=!this.expanded}},render(){const e=function(e){const{id:t,column:i}=iF(e.columns),n=[],o=Ka(e)["mobile-header"];return o?n.push(o({row:e.value})):i&&n.push(WV(e,i,t)),n.length>0?_d("div",{class:"header-wrapper",on:{click:e.toggleExpand}},[e.hasSlider?(s=e.expanded,r=e.toggleExpand,_d(bg,{class:["header-expand-arrow"],props:{name:s?"data-table-mobile-chevron-up":"data-table-mobile-chevron-down",svgIconSet:"set31"},nativeOn:{click:r}})):null,_d("div",{class:"header-title"},n),zV(e)]):null;var s,r}(this),t=function(e){const t=Ka(e)["mobile-desc"];return t?_d("div",{class:"desc-wrapper"},t({row:e.value})):null}(this),i=function(e){const t=e.columns.filter((e=>!1!==e.mobile)),i=_d("div",{class:["field-wrapper",`field-align-${e.currentFieldAlignment}`]},t.map(((t,i)=>function(e,t,i,n){let o=i.title;ta(i.patchColon)?o+=i.patchColon:!1!==i.patchColon&&(o+=t._i18n("common","pure_colon"));const s=[o];if(i.tip){const n=Ka(t)[`${i.field}.tip`];ta(i.tip)?s.push(e(iA,{props:{size:"small",content:i.tip}})):n&&s.push(e(iA,{props:{size:"small"},scopedSlots:{default:n}}))}return[e("div",{class:"mobile-label"},s),e("div",{class:"mobile-value"},[WV(t,i,n)])]}(_d,e,t,i))));return _d("div",{class:"content-wrapper"},[i])}(this);let n=[e,t,i];if(this.isCollapsible){n=[e];const o=[];this.isSlideContainDescription?o.push(t):n.push(t),o.push(i);const s=this.expanded||!e?_d("div",{},o):null;n.push(_d(UM,{},[s]))}return _d("div",{class:["mobile-row-card-wrapper",{collapsible:this.isCollapsible}],on:{click:()=>Nc(this,"rowclick",{index:this.index,row:this.value})}},n)}});wg("data-table-header-menu",sI);const UV="local",GV="__actionable_selection_mode__",qV="__file_list_selection_mode__",YV="selection-mode",KV=on({name:"DataTable",components:{vIcon:bg,vTableCell:LV,vTableHeaderCell:HV,vPagination:cV,vSpin:UL,vTreeNode:vV,vGroupNode:OV,vButton:RA,vScrollbar:wD,vMenu:BA,vMenuItem:nE,vColGroup:bV,vSlideUpDownTransition:UM,vMobileRowCard:jV,withTransition:NL(js)},directives:{tooltip:lg},mixins:[jF,tV,hF,oV,Bc,La("data-table"),La("form-controller"),Aa("form"),$V,Cg,vm("dataTable","Table")],props:{expandable:{type:[Boolean,Object],default:!1},customRowClasses:{type:Array,default:()=>[]},enableHdMenu:{type:[Boolean,String],default:!0},loadingText:{type:String,default:void 0},data:{type:Function,default:void 0},total:{type:Number,default:void 0},showTotal:{type:Boolean,default:!0},currentData:{type:Array,default:()=>[]},columns:{type:Array,required:!0},pagination:{type:[Boolean,Object],default:!1},showPagingBar:{type:[Boolean,String],default:!0},hideRefreshBtn:{type:Boolean,default:!1},responseParamsName:{type:Object,default:()=>({total:"total",results:"items"})},autoRowHeight:{type:Boolean,default:!1},header:{type:[Boolean,Object],default:()=>({hidden:!1,border:"visible"})},hideHeader:{type:Boolean,default:!1},groupTable:{type:Boolean,default:!1},groupInfo:{type:Object,default:()=>({})},treeOption:{type:Object,default:()=>({})},pageNum:{type:Number,default:1},pageSize:{type:Number,default:10},itemsPerPage:{type:[Boolean,Array],default:!1},emptyText:{type:String,default:void 0},sortInfoKey:{type:Object,default:()=>({by:"sort_by",order:"sort_direction"})},autoScrollVisibleWhenSort:{type:Boolean,default:!0},sortMethod:{type:String,default:UV},isLocalSort:{type:Boolean,default:!0},isCustomSort:{type:Boolean,default:!1},localSortFunc:{type:Function,default:null},minColumns:{type:[Number,String],default:3},fieldInfo:{type:Object,default:()=>({columnKey:"_id",itemKey:"id",rowInfo:"_rowInfo",rowKey:"_key",expandableKey:"_expandableKey"})},columnMoveable:{type:Boolean,default:!1},selectionMode:{type:String,default:"none",validator:e=>("normal"===e&&ih("selection mode property should used `none` instead of `normal`"),["none","checkbox","radio","file-list"].includes(e))},selectionModeColumn:{type:Object,default:()=>({})},loadingType:{type:[String,Object],default:()=>"spin",validator:e=>!!na(e)||-1!==["spin","refresh"].indexOf(e)},beforeSort:{type:Function,default:Ca},beforeRefresh:{type:Function,default:Ca},beforeSwitchPage:{type:Function,default:Ca},customActionOnValidDrop:{type:Function,default:void 0},defaultSelected:{type:[Boolean,Array,Number,String],default:!1},hasCover:{type:Boolean,default:!1},mobileRowCollapsible:{type:[Boolean,Object],default:!0},mobileFieldAlignment:{type:[String,Object],default:"adaptive",validator:e=>!!na(e)||["adaptive","horizontal","vertical"].includes(e)},mobileBreakpoint:{type:[String,Boolean],default:void 0},paginationBreakpoint:{type:[Object,Boolean],default:void 0},cellTooltipDefaultProps:{type:Object,default:()=>({})},activeAdaptiveScrollbar:{type:Boolean,default:!0},hoverActionKeepActivate:{type:Boolean,default:!1},totalTextFormat:{type:Object,default:()=>({})},totalTextMode:{type:String,validator:e=>["auto","total","range","filter","select"].includes(e),default:"auto"},pageStart:{type:[Number,String],default:void 0},pageEnd:{type:[Number,String],default:void 0},selectedCount:{type:[Number,String],default:void 0},filteredCount:{type:[Number,String],default:void 0},defaultBodyRow:{type:[Object,Function,String],default:"tr"},onFilter:{type:Function,default:void 0}},emits:["update:page-num","pagination-animate-show","local-sorted","sort","on-sort-click","update:current-data","dataloaded","head-action","column-display","action","rowdblclick","selected-change","cell-click","rowclick","on-rowclick","contextmenu","cell-contextmenu","update:page-size","switch-page","refresh","scroll","reach-top","reach-bottom","not-reach-top","not-reach-bottom"],data(){return{currentTotal:this.total,prefix:"v-table",defaultCurrent:1,currentLoading:!1,sortInfo:{},sortColumn:null,currentPageNum:this.pageNum,currentPageSize:null,paramsName:{},categories:[],categoriesMap:{},activeHoverActionRows:new Set,currentColumns:[],selectionActionColumn:null,$_current:[],$_filteredCurrent:null,$_initData:void 0,$_hasData:!1,minVisible:0,maxVisible:0,containerStyle:{width:"100%"},expandState:{},firstColumnRow:[],secondColumnRow:[],flattenColumns:[],filterFields:null,filtered:!1,paginationAnimationShow:!1,$_paginationScroll:0}},computed:{innerHeaderHidden(){return!0===this.hideHeader?(eh("hideHeader","header",this),this.hideHeader):oa(this.header)?this.header:this.header?.hidden??!1},headerBorder(){return na(this.header)?(this.hasGroupHeader&&"hover"===this.header.border&&th("border hover mode is not supported in group header",this),this.header.border):"visible"},innerSpinBinding(){if(na(this.loadingType)){const{type:e,...t}=this.loadingType;return"spin"===e?gm({spinning:this.currentLoading,tip:this.innerLoadingText},t):{}}return{spinning:"spin"===this.loadingType&&this.currentLoading,tip:this.innerLoadingText}},innerPaginationLoading(){return na(this.loadingType)?"refresh"===this.loadingType.type&&(ca(this.loadingType.spinning)?this.loadingType.spinning:this.currentLoading):"refresh"===this.loadingType&&this.currentLoading},innerLoadingText(){return this.loadingText??this._i18n("common","loading")},innerTotalTextFormat(){return gm({total:"{total} {items}",range:"{start}-{end} {items}",filter:"{filteredCount} {items}",select:`<span class="selected-item">{selectedCount}</span> / {total} {items} ${this._i18n("common","selected")}`},this.totalTextFormat)},showDraggableIndicator(){return na(this.isDraggable)?this.isDraggable?.showIcon!==LF:Boolean(this.isDraggable)},innerPaginationBreakpoint(){return this.paginationBreakpoint?this.paginationBreakpoint:oa(this.mobileBreakpoint)?this.mobileBreakpoint:void 0},canSwitchPage(){return na(this.pagination)?!0===this.pagination.switchPage:this.pagination},autoPagination(){return!!na(this.pagination)&&"pagination"===this.pagination.data},innerSelectionMode(){return this.getTableConfigValue("selectionMode")},innerPageStart(){return ca(this.pageStart)?this.pageStart:(this.currentPageNum-1)*this.currentPageSize},innerPageEnd(){return ca(this.pageEnd)?this.pageEnd:this.currentPageNum*this.currentPageSize},innerSelectedCount(){return ca(this.selectedCount)?this.selectedCount:this.selectIndexes.size},innerFilteredCount(){return ca(this.filteredCount)?this.filteredCount:this.filtered?this.currentFilteredData.length:this.currentTotal},innerTotalTextMode(){return"auto"===this.totalTextMode?this.filtered?"filter":this.isSelectionMode&&this.innerSelectedCount>0?"select":"total":this.totalTextMode},tableHeaderCls(){return[`${this.prefix}-header`,`border-${this.headerBorder}`,{"group-header":this.hasGroupHeader}]},isBasicExpandable(){return oa(this.expandable)?this.expandable:na(this.expandable)&&"basic"===this.expandable.type},isAdvanceExpandable(){return na(this.expandable)&&"advance"===this.expandable.type},animateShowPagingBar(){return!this.isStickyPagination||this.paginationAnimationShow},havePagingBar(){return!0===this.showPagingBar||this.isStickyPagination},isGroupHeadMode(){return this.currentVisibleColumns.some((e=>"group"===e.type))},hasGroupHeader(){return!!this.isGroupHeadMode&&this.firstColumnRow.some((e=>e._isGroup))},currentVisibleColumns(){return this.currentColumns.filter((e=>!e.hide))},lastVisibleColumnId(){const e=e=>e.length<=0?null:e[e.length-1];if(this.isGroupHeadMode){let t=[];const i=e(this.firstColumnRow);return t.push(i[this.fieldInfo.columnKey]),i._subColumns&&t.push(e(i._subColumns)[this.fieldInfo.columnKey]),t}return[e(this.currentVisibleColumns)[this.fieldInfo.columnKey]]},firstVisibleColumnId(){const e=this.currentVisibleColumns;return e.length<=0?null:e[0][this.fieldInfo.columnKey]},firstNonActionVisibleColumnId(){const e=this.currentVisibleColumns;if(e.length<=0)return null;for(let t=0,i=e.length;t<i;t++){const i=e[t];if(!i.action)return i[this.fieldInfo.columnKey]}return null},showEmptyText(){return Boolean(this.emptyText)},contentClass(){return["v-table-content",{"auto-row-height":this.autoRowHeight,expandable:!!this.expandable}]},hdMenuItems(){return this.currentColumns.filter((e=>!e.hideMenuItem&&"group"!==e.type))},tableCls(){return[this.prefix,{mobile:this.isMobile,"hide-header":this.innerHeaderHidden,"show-cover-bottom-border":"border-cover"===this.showPagingBar}]},paginationCls(){return{"sticky-scroll":this.isStickyPagination}},current:{get:function(){return this.filtered&&this.$data.$_filteredCurrent?this.$data.$_filteredCurrent:this.$data.$_current||[]},set:function(e){if(this.$data.$_current=e,e){this.isSelectionMode&&this.clearSelectedRows(),!0===this.groupTable&&this.groupingCategory(e),this.expandable&&this.setDefaultRowExpand(e),ei((()=>{this.buildCols({applyHeadersWidth:!0}),this.isDraggable&&this.buildDraggableCols()}));for(const e of this.activeColumns)e.action&&this.setHeadState(e)}}},currentFilteredData(){return this.getItems(this.current,{filter:this.filtered})},currentPagingData(){let e=this.currentFilteredData;if(this.autoPagination){const t=(this.currentPageNum-1)*this.currentPageSize;e=e.slice(t,t+this.currentPageSize)}return e},currentVisible(){let e=this.currentPagingData;return this.virtualScroll&&(e=e.slice(this.visibleStart,this.visibleEnd+1)),e},activeColumns(){return this.isGroupHeadMode?this.flattenColumns:this.currentVisibleColumns},isAllColumnHide(){return 0===this.currentVisibleColumns.length},mergeGroupInfo(){return Object.assign({defaultExpand:!0,rowBorder:!0,titleBorder:!0,expandable:!0,sortCategoryFn:(e,t)=>e<t?-1:e>t?1:0},this.groupInfo)},isEmpty(){return this.currentTotal<=0},isEmptyWithFilteredData(){return ca(this.filteredCount)?this.filteredCount<=0:!!this.filtered&&this.currentFilteredData.length<=0},isHdMenuShowInStickyMode(){return(!0===this.enableHdMenu||"sticky"===this.enableHdMenu)&&this.hdMenuItems.length>0},isHdMenuShowInHoverMode(){return"hover"===this.enableHdMenu},isFilesListSelectionMode(){return"file-list"===this.innerSelectionMode},isActionableSelectionMode(){return"checkbox"===this.innerSelectionMode||"radio"===this.innerSelectionMode},isSelectionMode(){return this.isFilesListSelectionMode||this.isActionableSelectionMode},indentExpandCellCount(){const e=this.currentVisibleColumns;let t,i=0;for(i=0,t=e.length;i<t&&e[i].action;i++);return i},isMobile(){return this.$breakpointManager?ca(this.mobileBreakpoint)?ta(this.mobileBreakpoint)?this.$breakpointManager.lessAndEqThan(this.mobileBreakpoint):this.mobileBreakpoint:this.$breakpointManager.mobile:(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1)},isStickyPagination(){return"sticky-scroll"===this.showPagingBar}},watch:{defaultSelected(e){ei((()=>{this.tryDefaultSelect()}))},pageSize:{immediate:!0,handler(e){this.currentPageSize=e}},pageNum(e){this.currentPageNum=e},currentPageNum(e){this.$refs.scrollbar&&(this.$refs.scrollbar?.resetScrollTop(),ei((()=>{this.handleStickyPagination()}))),Nc(this,"update:page-num",e),this.form&&this.resetField(),this.data&&this.loadData()},isMobile(e){e||ei((()=>{this.buildCols({applyHeadersWidth:!0,forceFit:!0})}))},isEmpty(){ei((()=>{this.buildCols({applyHeadersWidth:!0,forceFit:!0}),this.isDraggable&&this.buildDraggableCols()}))},columns:{immediate:!0,handler(e){this.setCurrentColumns(e)}},selectionMode:{handler(e){this.setCurrentColumns(this.columns)}},selectionModeColumn:{handler(e){this.setCurrentColumns(this.columns)}},currentVisible:{handler(e){this.isDraggable&&ei((()=>{this.buildDraggableCols()}))}},currentVisibleColumns:{immediate:!0,handler(e){this.columnMoveable&&ei((()=>{this.buildMoveableCols()})),this.isGroupHeadMode&&this.convertGroupColumns()}},isGroupHeadMode:{handler(e){this.secondColumnRow=[],this.flattenColumns=[],e&&this.convertGroupColumns()}},total(e){this.setTotal(e)},currentData:{immediate:!0,handler(e){ca(this.total)||this.setTotal(e.length),this.setData(e),this.sort()}},selectIndexes(e){this.rowSelectionChange(e),this.saveSelections()},lastSelectIndex(e){this.saveSelections()}},created(){this.filter=yD(this._filter,250),this.activeIndexes={row:-1,col:0},this.paramsName=Object.assign({},{total:"total",results:"items"},this.responseParamsName),this.getSortInfo(),this.loadData()},async mounted(){this.disposedFns=[],this.form&&this.disposedFns.push(this.form.instance?.addFormController(this)),await ei(),this.isDraggable&&this.buildDraggableCols(),this.columnMoveable&&this.buildMoveableCols(),this.disposedFns.push(oD(this.$el,this.updateContainerWidth,this))},[Pa](){for(const e of this.disposedFns)e()},methods:{getSlots(){return Ka(this)},useBodyRow(){return ia(this.defaultBodyRow)?this.defaultBodyRow():this.defaultBodyRow},getPureTableData(e){return e.map((e=>X$(e,[this.fieldInfo.rowKey,this.fieldInfo.rowInfo])))},onScrollContentTouchEnd(){this.isStickyPagination&&window.setTimeout((()=>{this.scrollContentSwipeFailed=!1}),0)},onScrollContentTouchStart(){this.isStickyPagination&&(this.$refs.scrollbar?.isReachBottom()||(this.scrollContentSwipeFailed=!0))},onScrollContentSwipe(e){this.isStickyPagination&&"vertical"===e.axis&&!this.scrollContentSwipeFailed&&(this.paginationAnimationShow=!0,Nc(this,"pagination-animate-show",!0,{action:"swipe"}))},async _filter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._filteringDefer=this._filteringDefer??Promise.resolve(),this._filteringDefer=this._filteringDefer.then((async()=>{const{fields:t,autoLoading:i}=e;if(this.filtered=!0,t&&(this.filterFields=t),ia(this.onFilter)){i&&this.setLoading(!0);const t=await(this.onFilter?.(e));fa(t)?this.$data.$_filteredCurrent=t:this.$data.$_filteredCurrent=null,i&&this.setLoading(!1)}await ei(),this.virtualScroll&&this.renderVisibleItems({checkScrollSticky:!1,autoFocus:!1}),this.$refs.scrollbar?.update(),this.$refs.scrollbar?.resetScrollTop()}))},async clearFilter(){this.filter.cancel(),this.filtered=!1,this.$data.$_filteredCurrent=null,this.filterFields=null,await ei(),this.virtualScroll&&this.renderVisibleItems({checkScrollSticky:!1,autoFocus:!1}),this.$refs.scrollbar?.update(),this.$refs.scrollbar?.resetScrollTop(),this.virtualScroll&&this.onScrollViewportChanged()},isColumnDisableSort:e=>tF(e),isColumnSorting(e){return this.sortColumn===e},setCurrentColumns(e){this.currentColumns=e.slice();for(let e of this.currentColumns)e[this.fieldInfo.columnKey]=e[this.fieldInfo.columnKey]||PD(),e.sort&&(this.sortColumn=e),e.action&&this.groupTable&&(e.disableSort=!0);if(this.isSelectionMode){const e=this.isFilesListSelectionMode?qV:GV,t=this.isFilesListSelectionMode?"checkbox":this.innerSelectionMode;this.selectionActionColumn=gm({[this.fieldInfo.columnKey]:e,action:t,field:e,className:YV,fieldClassName:YV,width:44,align:"center",disableSort:!0,hideMenuItem:!0},this.selectionModeColumn),this.currentColumns.splice(0,0,this.selectionActionColumn)}ei((()=>{this.buildCols({applyHeadersWidth:!0})}))},getFlattenColumns:e=>e.reduce(((e,t)=>(t._isGroup?e=e.concat(t._subColumns):e.push(t),e)),[]),getSecondColumns:e=>e.reduce(((e,t)=>(t._isGroup&&(e=e.concat(t._subColumns)),e)),[]),convertGroupColumns(){if(!this.isGroupHeadMode)return;let e=Object.create(null);this.groupColumns=this.groupColumns??this.currentColumns.reduce(((e,t)=>(("group"===t.type||t.field)&&(e[t.field]=t),e)),{});const t=this.currentVisibleColumns.reduce(((t,i)=>{if("group"===i.type){let n=e[i.field]||(e[i.field]={[this.fieldInfo.columnKey]:i.field,_isGroup:!0,_subColumns:[],disableSort:!0,align:"center",_rowSpan:1,_colSpan:0});Object.assign(n,i),t.push(n)}else if(i.groupKey){let t=e[i.groupKey]||(e[i.groupKey]={[this.fieldInfo.columnKey]:i.groupKey,_subColumns:[],disableSort:!0,_isGroup:!0,align:"center",_rowSpan:1,_colSpan:0});t._subColumns.push(i),t._colSpan++}else t.push({_isGroup:!1,...i,_colSpan:1,_rowSpan:2});return t}),[]);this.firstColumnRow=t.filter((e=>"group"!==e.type||0!==e._subColumns.length)),this.secondColumnRow=this.getSecondColumns(this.firstColumnRow),this.flattenColumns=this.getFlattenColumns(this.firstColumnRow)},isHeadActionDisabled(e){return this.current.every((t=>!(!this.isActionHidden(t,e)&&!this.isActionDisabled(t,e))))},getFieldSlotName:e=>e.field||e.fieldKey,getBasicExpandSlot(e){return`basic-expand-${this.getFieldSlotName(e)}`},hasRowHoverActionSlot(){return Ya(this,"row-hover-action")},hasBasicExpandSlot(e){return Ya(this,this.getBasicExpandSlot(e))},getAdvanceExpandSlot(e){return`${e[this.fieldInfo.expandableKey]}`},hasAdvanceExpandSlot(e){return!!e[this.fieldInfo.expandableKey]&&Ya(this,this.getAdvanceExpandSlot(e))},register(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},unregister(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},isDirty(){const e=this.getPureTableData(this.current);return!wa(this.$data.$_initData,e)},async updateContainerWidth(e){if(e.contentRect.width>0){const t=Math.floor(e.contentRect.width);await ei(),this.buildCols({applyHeadersWidth:!0,containerWidth:t}),this.handleStickyPagination()}},localSort(){this.$data.$_hasData&&this.sortColumn&&this.sortColumn.sort&&(this.sortData(this.current),this.sortData(this.$data.$_initData),Nc(this,"local-sorted",{sortColumn:this.sortColumn,sortInfo:this.sortInfo,sortedData:this.current}))},sortData(e){if(!this.sortColumn||!this.sortColumn.sort)return;const t=this.sortColumn,i=(this.localSortFunc?this.localSortFunc(t):null)||((e,i)=>{let n,o,s=this.isActionDisabled(e,t),r=this.isActionDisabled(i,t);if(t.fn)n=t.fn(e),o=t.fn(i);else if(t.getHtml)n=t.getHtml(e),o=t.getHtml(i);else if(this.groupTable){const s=this.categoriesMap[e[this.groupInfo.category]]||[],r=this.categoriesMap[i[this.groupInfo.category]]||[];n=this.getCellValue(t.field,e,s.indexOf(e),e[this.groupInfo.category]),o=this.getCellValue(t.field,i,r.indexOf(i),i[this.groupInfo.category])}else n=this.getCellValue(t.field,e,this.current.indexOf(e)),o=this.getCellValue(t.field,i,this.current.indexOf(i));if(t.action&&(!s||!r)){if(s)return"ASC"===t.sort?-1:1;if(r)return"ASC"===t.sort?1:-1}if(n!==o){if("DESC"===t.sort)return n<o?1:-1;if("ASC"===t.sort)return n<o?-1:1}return 0});e.sort(((e,t)=>i(e,t)))},saveSelections(){this.storeSelections={lastSelectionItem:this.getRow(this.lastSelectIndex),selectionItems:Array.from(this.selectIndexes).map((e=>this.getRow(e)))}},restoreSelections(){if(!this.storeSelections)return;const{selectionItem:e,lastSelectionItem:t,selectionItems:i}=this.storeSelections;this.mappingSelectionByKey(e,t,i,this.autoScrollVisibleWhenSort)},mappingSelectionByKey(e,t,i,n){this.lastSelectIndex=this.restoreSelectionByKey(t),this.selectIndexes=new Set(i.map((e=>this.restoreSelectionByKey(e)))),this.selectIndexes.delete(-1),-1!==this.selectIndex&&n&&this.ensureRowVisible(this.selectIndex)},restoreSelectionByKey(e){if(!e)return-1;if(this.groupTable){const t=(this.categoriesMap[e[this.groupInfo.category]]||[]).findIndex((t=>{if(t)return t[this.fieldInfo.rowKey]===e[this.fieldInfo.rowKey]}));return`${e[this.groupInfo.category]}:${t}`}return this.current.findIndex((t=>{if(t)return t[this.fieldInfo.rowKey]===e[this.fieldInfo.rowKey]}))},deprecatedSort(e){eh("isCustomSort and isLocalSort","sortMethod",this),!0===this.isCustomSort?Nc(this,"sort",{sortColumn:this.sortColumn,sortInfo:this.sortInfo}):this.isLocalSort?this.localSort():this.loadData()},onSort(e){Nc(this,"on-sort-click",{sortColumn:e,sortInfo:this.sortInfo}),this.sort(e)},sort(e){if(!this.colDraggableStates?.isDragging&&!(e&&this.isColumnDisableSort(e)||(e&&this.isDraggable&&ih("is-draggable combined with sort may cause error, maybe you dont need sort",this),!1===this.beforeSort({column:e,isDirty:this.isDirty()})))){if(this.setCurrentSort(e),!0===this.isCustomSort||!1===this.isLocalSort)return this.deprecatedSort(e);"custom"===this.sortMethod&&e?Nc(this,"sort",{sortColumn:this.sortColumn,sortInfo:this.sortInfo}):this.sortMethod===UV?this.localSort():this.loadData(),!0===this.groupTable&&this.groupingCategory(this.current),this.restoreSelections()}},setCurrentSort(e){if(!e)return;let t="ASC";for(const t of this.activeColumns)e!==t&&sh(t,"sort",null);switch(e.sort){case"ASC":t="DESC";break;case"DESC":t="ASC";break;default:t=e.defaultSortOrder??"ASC"}sh(e,"sort",t),this.sortInfo[this.sortInfoKey.by]=e.field,this.sortInfo[this.sortInfoKey.order]=t,this.sortColumn=e},getSortInfo(){for(const e of this.currentColumns)"string"==typeof e.sort&&(this.sortInfo[this.sortInfoKey.by]=e.field,this.sortInfo[this.sortInfoKey.order]=e.sort);return this.sortInfo},getHeaderTooltip:e=>!!e.headerTooltip&&(!0===e.headerTooltip?e.title:e.headerTooltip),setLoading(e){this.currentLoading=e},commit(){const e=eF(this.getPureTableData(this.current));this.$data.$_initData=e},resetField(){Nc(this,"update:current-data",eF(this.$data.$_initData)),this.form?.instance?.validate()},resetItems(e){fa(e)||(e=[e]);const t=e.map((e=>this.$data.$_initData.findIndex((t=>t[this.fieldInfo.itemKey]===e)))),i=eF(this.getPureTableData(this.current));for(const e of t)i[e]=eF(this.$data.$_initData[e]);Nc(this,"update:current-data",i),this.form?.instance?.validate()},getDirtyRows(){const e=this.getPureTableData(this.current),t=[];for(const[i,n]of this.$data.$_initData.entries())wa(n,e[i])||t.push(e[i]);return t},loadData(){if(!this.data)return;this.setLoading(!0);const e=Object.assign({},this.sortInfo);e.start=0,e.offset=(this.currentPageNum-1)*this.currentPageSize,e.limit=this.currentPageSize,this.data(e).then((e=>{if(!e)return this.currentLoading=!1,void this.clearSelectedRows();const t={items:[],total:-1};this.paramsName.results&&(t.items=Xr(e,this.paramsName.results)),this.paramsName.total&&(t.total=Xr(e,this.paramsName.total)),t.total=t.total||t.items.length,this.setData(t.items,t.total),this.setTotal(t.total),Nc(this,"dataloaded",this.current.slice()),this.clearSelectedRows(),this.setLoading(!1)})).catch((e=>{ih(e),this.setLoading(!1)}))},groupingCategory(e){const t=Object.create(null);for(let i of e){const e=i[this.groupInfo.category];t[e]||(t[e]=[]),t[e].push(i)}const i=Object.keys(t);this.categoriesMap=t,this.categories=i.map((e=>({key:e,enableState:!1,enableIndeterminate:!1,items:t[e]})))},isSelectionModeColumn(e){return e[this.fieldInfo.columnKey]===GV||e[this.fieldInfo.columnKey]===qV},headAction(e){let t=!e.enableState;if(sh(e,"enableState",t),sh(e,"enableIndeterminate",!1),this.current)if(this.isSelectionModeColumn(e))t?this.selectAll():this.clearSelectedRows();else{const i=this.getAllRange({filter:this.filtered,pagination:!!this.autoPagination&&{pageNum:this.currentPageNum,pageSize:this.currentPageSize}});for(const n of i){const i=this.getRow(n);this.isActionDisabled(i,e)||this.isActionHidden(i,e)||(i[e.field]=t)}}if(this.groupTable)for(const t of this.categories)this.$refs.groupNode&&this.$refs.groupNode.setCategoryEnableState(e,t);Nc(this,"head-action",{column:e})},setHeadState(e){let t,i=!1,n=!1;if(this.groupTable?t=this.categories.reduce(((e,t,i)=>(e=e.concat(t.items.map(((e,i)=>[`${t.key}:${i}`,e]))),e)),[]):this.current&&(t=this.current.entries()),t){for(let[o,s]of t)this.isActionDisabled(s,e)||this.isActionHidden(s,e)||(!0===this.getCellValue(e.field,s,o)?i=!0:n=!0);i&&n?sh(e,"enableIndeterminate",!0):i?(sh(e,"enableState",!0),sh(e,"enableIndeterminate",!1)):(sh(e,"enableState",!1),sh(e,"enableIndeterminate",!1))}},toggleColumnDisplayState(e,t){const i=this.getColumnByField(e,"all");if(sh(i,"hide",!t),Nc(this,"column-display",{column:i,state:t}),this.isAllColumnHide)return sh(i,"hide",!1),void Nc(this,"column-display",{column:i,state:!1});ei((()=>{this.buildCols({applyHeadersWidth:!0,forceFit:!0,omitColumns:[i[this.fieldInfo.columnKey]]})}))},itemAction(e,t,i,n,o,s){i=s?`${s.key}:${i}`:i,this.isSelectionModeColumn(o)?(this.clickRow(i,t,{isCtrlMode:!0}),ei((()=>{this.setHeadState(o)}))):(n[o.field]=!n[o.field],this.setHeadState(o)),Nc(this,"action",{index:i,row:n,column:o,category:s})},rowDblClick(e,t,i){this.expandable&&this.toggleRowExpand(t),Nc(this,"rowdblclick",e,t,i)},rowSelectionChange(e){e=Array.from(e),Nc(this,"selected-change",{indexes:e,rows:this.getRows(e)}),this.selectionActionColumn&&ei((()=>{this.setHeadState(this.selectionActionColumn),this.groupTable&&this.$refs.groupNode&&this.$refs.groupNode.setCategoriesEnableState(this.selectionActionColumn)}))},getRowClasses(e,t){let i=[];return this.getRowClass&&(i=i.concat(this.getRowClass(e,t))),this.getDraggingClass&&(i=i.concat(this.getDraggingClass(e))),this.getLandedClass&&(i=i.concat(this.getLandedClass(e))),this.isAdvanceExpandable&&i.push("advance"),this.expandState[t[this.fieldInfo.rowKey]]&&i.push("expanded"),i},getAdvanceExpandedRowClasses(e,t){return[{"row-disabled":this.isItemDisabled&&this.isItemDisabled(t),expanded:this.expandState[t[this.fieldInfo.rowKey]]}].concat(this.getSelectedRowClass(e))},getCellClasses(e,t,i,n){let o=[];return 0===i&&o.push("cell-first"),this.showDraggableIndicator&&(o.push("is-draggable"),n&&n[this.fieldInfo.rowInfo]&&!1===n[this.fieldInfo.rowInfo].draggable&&o.push("disable-drag")),t.align&&o.push(`cell-${t.align||"left"}`),t.textSelectable&&o.push("text-selectable"),o},isLastVisibleCell(e){return this.lastVisibleColumnId.includes(e[this.fieldInfo.columnKey])},isLastVisibleGroupSecondRowCell(e){return this.firstColumnRow.some((t=>!!t._subColumns&&t._subColumns[t._subColumns.length-1].field===e.field))},getHeaderCellClasses(e,t){let i=this.getCellClasses(-1,e,t);return e.className&&i.push(e.className),this.isLastVisibleCell(e)&&i.push("last-th-cell"),this.isColumnDisableSort(e)&&i.push("disable-sort"),e.sort&&i.push("sorting"),e._isGroup?i.push("group"):e.groupKey&&this.isLastVisibleGroupSecondRowCell(e)&&i.push("last-th-visible-sec-row-cell"),i},hasExpandIcon(e){return this.expandable&&e[this.fieldInfo.columnKey]===this.firstNonActionVisibleColumnId},getContentCellClasses(e,t,i,n){let o=this.getCellClasses(e,t,i,n),s=this.isLastVisibleCell(t);if(t.fieldClassName&&o.push(t.fieldClassName),s&&o.push("last-td-cell"),this.hasExpandIcon(t)&&o.push("has-expand-icon"),n[this.fieldInfo.rowInfo]&&n[this.fieldInfo.rowInfo].customClasses){const e=n[this.fieldInfo.rowInfo].customClasses;na(e)&&e[t.field||t.fieldKey]&&(o=o.concat(e[t.field||t.fieldKey]))}return o},refresh(){!1!==this.beforeRefresh({isDirty:this.isDirty()})&&(this.$refs.scrollbar&&this.$refs.scrollbar.$el&&(this.$refs.scrollbar.$el.scrollTop=0),Nc(this,"refresh"),this.form&&this.resetField(),this.data&&this.loadData())},reload(){1===this.currentPageNum?this.loadData():this.currentPageNum=1},onMouseLeave(){this.hoverIndex=null},setTotal(e){this.currentTotal=e},setData(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.$data.$_hasData=!0,e=e.slice(),ca(this.$data.$_initData)||(this.$data.$_initData=eF(this.getPureTableData(e)));for(const t of e)t[this.fieldInfo.rowKey]=t[this.fieldInfo.itemKey]||PD();this.current=e,this.hoverIndex>=this.current.length&&(this.hoverIndex=null),ei((()=>{this.tryDefaultSelect()}))},tryDefaultSelect(){!1===this.defaultSelected||this.isEmpty||this.defaultSelect()},handleStickyPagination(){if(!this.isStickyPagination)return;const e=this.$refs.scrollbar?.getScrollTop()??0,t=this.$refs.scrollbar?.isReachTop()??!0,i=Math.abs(e-this.$data.$_paginationScroll);t?(this.paginationAnimationShow=!0,Nc(this,"pagination-animate-show",!0,{action:"scroll"})):i>20&&(e>this.$data.$_paginationScroll?(this.paginationAnimationShow=!1,Nc(this,"pagination-animate-show",!1,{action:"scroll"})):(this.paginationAnimationShow=!0,Nc(this,"pagination-animate-show",!0,{action:"scroll"})),this.$data.$_paginationScroll=e)},onScroll(e){this.$emit("scroll",e),this.virtualScroll?this.renderVisibleItems():this.handleStickyPagination(e)},onCellClick(e,t,i,n,o){Nc(this,"cell-click",e,t,i,n,o)},onMobileRowClick(e){Nc(this,"rowclick",e),Nc(this,"on-rowclick",e)},onRowClick(e,t){const{result:i,payload:n}=this.clickRow(e,t);i&&Nc(this,"on-rowclick",n)},onCellContextMenu(e,t,i,n,o){this.isItemSelected({index:i})||this.clickRow(i,o);const s=Array.from(this.selectIndexes);Nc(this,"contextmenu",{indexes:s,rows:this.getRows(s),event:o}),Nc(this,"cell-contextmenu",e,t,i,n,o)},getHeaderCell(e){return this.$refs[`header-${e}`]?.[0]?.$el},getCell(e,t){const i=this.$refs[`cell-${e}-${t}`];return i&&i[0]},focusActiveCell(){const{row:e,col:t}=this.activeIndexes;if(e<-1||this.current.length<=e)return!1;if(t<0||this.currentColumns.length<=t)return!1;let i;return i=-1===e?this.getHeaderCell(t):this.getCell(e,t),Hu(i),i===document.activeElement},setActiveCell(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-2,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,n=null;return!(t<-1||this.current.length<=t||(n=-1===t?this.getHeaderCell(i):this.getCell(t,i),i<0||this.currentColumns.length<=i||(this.activeIndexes.prevCell&&this.activeIndexes.prevCell.setAttribute("tabindex","-1"),n&&n.setAttribute("tabindex","0"),this.activeIndexes={row:t,col:i,prevCell:n},0)))},setActiveCellWithFocus(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-2,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;if(this.setActiveCell(e,t,i))return this.onRowClick(t,e),this.focusActiveCell(e)},selectCellByKeydown(e){if(this.groupTable)return void(this.$refs.groupNode&&this.$refs.groupNode.selectCellByKeydown(e));if(!function(e){return e.key?["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.key):[nu.up,nu.down,nu.left,nu.right].includes(e.keyCode)}(e))return;const{row:t,col:i}=this.activeIndexes;return e.preventDefault(),du(e)?this.setActiveCellWithFocus(e,t-1,i):cu(e)?this.setActiveCellWithFocus(e,t+1,i):uu(e)?this.setActiveCellWithFocus(e,t,i-1):hu(e)?this.setActiveCellWithFocus(e,t,i+1):void 0},isItemDraggable(e){return!e[this.fieldInfo.rowInfo]||!1!==e[this.fieldInfo.rowInfo].draggable},getRowTooltip(e){return this.isItemDisabled(e)&&e[this.fieldInfo.rowInfo]&&e[this.fieldInfo.rowInfo].disabledTooltip?e[this.fieldInfo.rowInfo].disabledTooltip:!(!e[this.fieldInfo.rowInfo]||!e[this.fieldInfo.rowInfo].tooltip)&&e[this.fieldInfo.rowInfo].tooltip},isItemDisabled(e){return e[this.fieldInfo.rowInfo]&&!0===e[this.fieldInfo.rowInfo].disabled},isActionDisabled(e,t){if(this.isSelectionModeColumn(t))return e[this.fieldInfo.rowInfo]&&e[this.fieldInfo.rowInfo].unselectable;let i;return i=na(e.disabled)?e.disabled[t.field]:e.disabled,this.isItemDisabled(e)||i},isActionHidden:(e,t)=>!!na(e.hidden)&&e.hidden[t.field],updateItem(e,t){return i=>{this.current[e][t]=i}},getInitialValue(e,t){if(this.$data.$_initData)return this.$data.$_initData?.[e]?.[t]},activateHoverAction(e){return()=>{this.activeHoverActionRows.add(e[this.fieldInfo.rowKey]),this.activeHoverActionRows=new Set(this.activeHoverActionRows)}},deactivateHoverAction(e){return()=>{this.activeHoverActionRows.delete(e[this.fieldInfo.rowKey]),this.activeHoverActionRows=new Set(this.activeHoverActionRows)}},rowHoverActionCls(e){return["row-hover-action",{"keep-activate":this.activeHoverActionRows.has(e)||this.hoverActionKeepActivate}]},getHeaderTip:e=>ta(e.tip)?e.tip:"",getHeaderTipSlotName:e=>`${e.field||e.fieldKey}.tip`,showHeaderTip:e=>!!e.tip,getPaginationPrefixSlot(){return Za("pagination-",this)},setDefaultRowExpand(e){for(const t of e)t[this.fieldInfo.rowInfo]&&t[this.fieldInfo.rowInfo].defaultExpand&&this.setRowExpand(t,!0)},setRowExpand(e,t){sh(this.expandState,e[this.fieldInfo.rowKey],t)},toggleRowExpand(e){const t=this.expandState[e[this.fieldInfo.rowKey]];this.setRowExpand(e,!t)},getCellHidden(e,t){if(na(t.hidden))return t.hidden[e.field]},getCellValue(e,t,i,n){return e===GV||e===qV?(i=n?`${n}:${i}`:i,this.selectIndexes.has(i)):t[e]},getCellTooltip(e,t){let i;return!(!e.tooltip||e.useSlot||this.isItemDisabled(t))&&(i=ia(e.tooltip)?e.tooltip.apply(this,[t]):e.fn?e.fn(t,this):t[e.field],na(i)?{...this.cellTooltipDefaultProps,...i}:{...this.cellTooltipDefaultProps,content:i})},setPageSize(e){this.currentPageSize=e,Nc(this,"update:page-size",e)},setCurrentPageNum(e){this.currentPageNum=e,Nc(this,"switch-page",{pageNumber:e,pageSize:this.currentPageSize})},getColumnByField(e){return("visible"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"visible")?this.currentVisibleColumns:this.currentColumns).find((t=>t.field===e))},getItems(e){let{filter:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.reduce(((e,i,n)=>{let o=!0;if(t&&this.filterFields)for(const t of this.filterFields){o=!0;for(const[e,n]of Object.entries(t))o=o&&n.test(i[e]);if(o)return e.push({index:n,item:i}),e}else e.push({index:n,item:i});return e}),[])},onScrollEvent(e,t){Nc(this,e,t)},innerBeforeSwitchPage(){let{pageNum:e,pageSize:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.beforeSwitchPage?.({pageNumber:e,pageSize:t,isDirty:this.isDirty()})},getEmptySlotName(){return this.isEmptyWithFilteredData?"empty-area-in-filtered-data":"empty-area"}}}),ZV={key:0,class:"cover-wrapper"},JV=["aria-rowcount","aria-colcount"],QV=["syno-id"],XV={key:0,role:"row",class:"second-column-row"},eP={class:"hd-menu-btn-wrapper"},tP={key:0,class:"empty-wrapper"},iP={key:1,class:"mobile-body"},nP=["onClick","onDblclick","onMouseover"],oP=["colspan"],sP={key:0,class:"expandable-slide-up-down"};var rP=Rm(KV,[["render",function(e,t,i,n,o,s){const r=Bi("v-col-group"),a=Bi("v-table-header-cell"),l=Bi("v-icon"),d=Bi("v-menu-item"),c=Bi("v-menu"),u=Bi("v-button"),h=Bi("v-group-node"),p=Bi("v-mobile-row-card"),f=Bi("v-table-cell"),m=Bi("v-slide-up-down-transition"),g=Bi("v-scrollbar"),v=Bi("v-pagination"),y=Bi("with-transition"),b=Bi("v-spin"),w=Fi("tooltip"),C=Fi("syno-id");return jo(),Zo(b,hs({class:`${e.prefix}-wrapper`},e.innerSpinBinding),{"spin-inner":Ii((()=>[rn(e.$slots,"spin-inner")])),default:Ii((()=>[e.hasCover?(jo(),Ko("div",ZV,[rn(e.$slots,"cover")])):ls("",!0),Xi((jo(),Ko("div",{ref:"container",role:"grid",style:Q(e.containerStyle),class:ne(e.tableCls),"aria-rowcount":e.current.length,"aria-colcount":e.currentColumns.length,onKeydown:t[6]||(t[6]=function(){return e.selectCellByKeydown&&e.selectCellByKeydown(...arguments)})},[e.isMobile?ls("",!0):(jo(),Ko("div",{key:0,ref:"table-header",class:ne(e.tableHeaderCls)},[ts("table",{ref:"theader","syno-id":`${e.synoId}-header`,role:"none"},[is(r,{ref:"header-col-group",columns:e.activeColumns,"column-id-field":e.fieldInfo.columnKey},null,8,["columns","column-id-field"]),ts("thead",{class:ne(e.prefix+"-thead"),role:"none"},[ts("tr",{role:"row",class:ne(["row",e.hasGroupHeader?"first-column-row":""])},[(jo(!0),Ko(Po,null,tn(e.isGroupHeadMode?e.firstColumnRow:e.currentVisibleColumns,((t,i)=>(jo(),Ko(Po,null,[t.hide?ls("",!0):(jo(),Zo(a,{key:t[e.fieldInfo.columnKey],ref_for:!0,ref:"header-"+i,"column-key":t[e.fieldInfo.columnKey],column:t,cindex:i,"syno-id":`${e.synoId}-th-${i}`,class:ne(e.getHeaderCellClasses(t,i)),colspan:e.isGroupHeadMode?t._colSpan:1,rowspan:e.isGroupHeadMode?t._rowSpan:1,tooltip:e.getHeaderTooltip(t),"is-group":t._isGroup,"is-action-disabled":e.isHeadActionDisabled(t),"disable-sort":e.isColumnDisableSort(t),sorting:e.isColumnSorting(t),onActionChange:i=>e.headAction(t),onSort:i=>e.onSort(t),onFocus:t=>e.setActiveCell(t,-1,i),onMousedown:n=>e.onHeaderCellMouseDown(t,`${t[e.fieldInfo.columnKey]}`,i,n),onMousemove:i=>e.onHeaderCellMouseMove(t,`${t[e.fieldInfo.columnKey]}`,i)},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,hs({ref_for:!0},t))]))})))]),1032,["column-key","column","cindex","syno-id","class","colspan","rowspan","tooltip","is-group","is-action-disabled","disable-sort","sorting","onActionChange","onSort","onFocus","onMousedown","onMousemove"]))],64)))),256))],2),e.isGroupHeadMode&&e.secondColumnRow.length>0?(jo(),Ko("tr",XV,[(jo(!0),Ko(Po,null,tn(e.secondColumnRow,((t,i)=>(jo(),Ko(Po,null,[t.hide?ls("",!0):(jo(),Zo(a,{key:t[e.fieldInfo.columnKey],"column-key":t[e.fieldInfo.columnKey],column:t,cindex:i,"syno-id":`${e.synoId}-th-${i}`,class:ne(e.getHeaderCellClasses(t,i)),colspan:e.isGroupHeadMode?t._colSpan:1,rowspan:e.isGroupHeadMode?t._rowSpan:1,tooltip:e.getHeaderTooltip(t),"is-action-disabled":e.isHeadActionDisabled(t),"disable-sort":e.isColumnDisableSort(t),sorting:e.isColumnSorting(t),onActionChange:i=>e.headAction(t),onSort:i=>e.onSort(t),onFocus:t=>e.setActiveCell(t,-1,i),onMousedown:n=>e.onHeaderCellMouseDown(t,`${t[e.fieldInfo.columnKey]}`,i,n),onMousemove:i=>e.onHeaderCellMouseMove(t,`${t[e.fieldInfo.columnKey]}`,i)},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,hs({ref_for:!0},t))]))})))]),1032,["column-key","column","cindex","syno-id","class","colspan","rowspan","tooltip","is-action-disabled","disable-sort","sorting","onActionChange","onSort","onFocus","onMousedown","onMousemove"]))],64)))),256))])):ls("",!0)],2)],8,QV),ts("div",eP,[e.isHdMenuShowInStickyMode?(jo(),Zo(u,{key:0,"syno-id":`${e.synoId}-show-menu`,class:ne(e.prefix+"-header-hd-menu"),"menu-align":"tr->br",type:"styleless","dropdown-offset":[2,0],"menu-constrain-height":""},{icon:Ii((()=>[is(l,{name:"data-table-header-menu",class:"hd-menu-icon","svg-icon-set":"set16"})])),dropdown:Ii((t=>[is(c,{class:"v-table__menu","is-open":t.menuShow,width:"auto","syno-id":`${e.synoId}-menu`},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.hdMenuItems,(t=>(jo(),Zo(d,{key:t[e.fieldInfo.columnKey],title:t.title?t.title:"",type:"checkbox",selected:!t.hide,"syno-id":`${e.synoId}-menu-item`,onChanged:i=>e.toggleColumnDisplayState(t.field,i)},null,8,["title","selected","syno-id","onChanged"])))),128))])),_:2},1032,["is-open","syno-id"])])),_:1},8,["syno-id","class"])):ls("",!0)])],2)),e.isEmpty||e.isEmptyWithFilteredData?(jo(),Ko("div",{key:1,class:ne(e.prefix+"-empty-body")},[rn(e.$slots,e.getEmptySlotName(),{},(()=>[e.showEmptyText?(jo(),Ko("div",tP,ce(e.emptyText),1)):ls("",!0)]))],2)):(jo(),Zo(g,{key:2,ref:"scrollbar","active-adaptive-scrollbar":e.activeAdaptiveScrollbar,onScroll:e.onScroll,onSwipe:e.onScrollContentSwipe,onTouchstart:e.onScrollContentTouchStart,onTouchend:e.onScrollContentTouchEnd,onReachBottom:t[2]||(t[2]=t=>e.onScrollEvent("reach-bottom",t)),onReachTop:t[3]||(t[3]=t=>e.onScrollEvent("reach-bottom",t)),onNotReachBottom:t[4]||(t[4]=t=>e.onScrollEvent("not-reach-bottom",t)),onNotReachTop:t[5]||(t[5]=t=>e.onScrollEvent("not-reach-bottom",t))},{default:Ii((()=>[ts("div",{ref:"content",class:ne(e.contentClass)},[e.groupTable?(jo(),Ko("div",{key:0,class:ne(e.prefix+"-body")},[is(h,{ref:"groupNode","syno-id":`${e.synoId}-gn`,"multiple-selected":e.innerMultipleSelected,categories:e.categories,columns:e.currentColumns,"group-info":e.mergeGroupInfo},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,oe(os(t)))]))})))]),1032,["syno-id","multiple-selected","categories","columns","group-info"])],2)):e.isMobile?(jo(),Ko("div",iP,[ts("div",{role:"none",style:Q(e.tableOffsetStyle),onMouseleave:t[0]||(t[0]=function(){return e.onMouseLeave&&e.onMouseLeave(...arguments)})},[(jo(!0),Ko(Po,null,tn(e.currentVisible,(t=>{let{item:i,index:n}=t;return jo(),Zo(p,{key:i[e.fieldInfo.rowKey],columns:e.activeColumns,value:i,index:n,"get-cell-value":e.getCellValue,"get-header-tip-slot-name":e.getHeaderTipSlotName,"get-field-slot-name":e.getFieldSlotName,"mobile-row-collapsible":e.mobileRowCollapsible,"update-item":e.updateItem,"field-alignment":e.mobileFieldAlignment,onRowclick:e.onMobileRowClick},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,hs({ref_for:!0},t))]))})))]),1032,["columns","value","index","get-cell-value","get-header-tip-slot-name","get-field-slot-name","mobile-row-collapsible","update-item","field-alignment","onRowclick"])})),128))],36),e.virtualScroll?(jo(),Ko("div",{key:0,style:Q(e.virtualBodyStyle)},null,4)):ls("",!0)])):(jo(),Ko("div",{key:2,ref:"table-body",class:ne(e.prefix+"-body")},[ts("table",{ref:"tbody",role:"none",style:Q(e.tableOffsetStyle),onMouseleave:t[1]||(t[1]=function(){return e.onMouseLeave&&e.onMouseLeave(...arguments)})},[is(r,{ref:"body-col-group",columns:e.activeColumns,"column-id-field":e.fieldInfo.columnKey,"cols-data":e.colsData,"follow-head-col-group":""},null,8,["columns","column-id-field","cols-data"]),Xi(ts("tbody",{class:ne(e.prefix+"-tbody"),role:"none"},[(jo(!0),Ko(Po,null,tn(e.currentVisible,(t=>{let{item:i,index:n}=t;return jo(),Ko(Po,{key:i[e.fieldInfo.rowKey]},[Xi((jo(),Zo($i(e.useBodyRow()),{ref_for:!0,ref:`row-${n}`,"syno-id":`${e.synoId}-tr-${n}`,item:i,index:n,class:ne(e.getRowClasses(n,i)),role:"row","aria-rowindex":n+1,onMouseover:t=>e.hoverRow(n),onClick:t=>e.onRowClick(n,t),onDblclick:t=>e.rowDblClick(n,i,t)},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.activeColumns,((t,o)=>(jo(),Zo(f,{ref_for:!0,ref:`cell-${n}-${o}`,key:t[e.fieldInfo.columnKey],role:"cell","syno-id":`${e.synoId}-td-${i[e.fieldInfo.rowKey]}-${t[e.fieldInfo.columnKey]}`,value:e.getCellValue(t.field,i,n),item:i,class:ne(e.getContentCellClasses(n,t,o,i)),tabindex:"-1","aria-colindex":o+1,"field-key":t.fieldKey,index:n,cindex:o,expandable:e.isBasicExpandable,"has-expand-slot":e.hasBasicExpandSlot(t),"expand-slot":e.getBasicExpandSlot(t),expand:e.expandState[i[e.fieldInfo.rowKey]],"show-expand-icon":e.hasExpandIcon(t),action:t.action,"is-action-disabled":e.isActionDisabled(i,t),tooltip:e.getCellTooltip(t,i),"use-field-slot":t.useSlot||!t.fn&&!t.field,"field-slot":e.getFieldSlotName(t),"content-fn":t.fn,"get-html":t.getHtml,"update-item":e.updateItem(n,t.field),"initial-value":e.getInitialValue(n,t.field),column:t,hidden:e.getCellHidden(t,i),"is-draggable":e.isDraggable,onFocus:t=>e.setActiveCell(t,n,o),onClick:s=>e.onCellClick(i,t,n,o,s),onContextmenu:s=>e.onCellContextMenu(i,t,n,o,s),onActionChange:(o,s)=>e.itemAction(o,s,n,i,t),onToggleExpand:t=>e.toggleRowExpand(i)},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,hs({ref_for:!0},t))]))})))]),1032,["syno-id","value","item","class","aria-colindex","field-key","index","cindex","expandable","has-expand-slot","expand-slot","expand","show-expand-icon","action","is-action-disabled","tooltip","use-field-slot","field-slot","content-fn","get-html","update-item","initial-value","column","hidden","is-draggable","onFocus","onClick","onContextmenu","onActionChange","onToggleExpand"])))),128)),e.hasRowHoverActionSlot()?(jo(),Ko("div",{key:0,class:ne(e.rowHoverActionCls(i[e.fieldInfo.rowKey]))},[rn(e.$slots,"row-hover-action",{activate:e.activateHoverAction(i),deactivate:e.deactivateHoverAction(i),item:i})],2)):ls("",!0)])),_:2},1064,["syno-id","item","index","class","aria-rowindex","onMouseover","onClick","onDblclick"])),[[w,e.getRowTooltip(i)]]),e.isAdvanceExpandable?(jo(),Ko("tr",{key:`${i[e.fieldInfo.rowKey]}-expandable`,ref_for:!0,ref:`expandable-row-${n}`,class:ne(["expandable-row",e.getAdvanceExpandedRowClasses(n,i)]),onClick:t=>e.onRowClick(n,t),onDblclick:t=>e.rowDblClick(n,i,t),onMouseover:t=>e.hoverRow(n)},[(jo(!0),Ko(Po,null,tn(e.indentExpandCellCount,(e=>(jo(),Ko("td",{key:e,class:"indent-cell"})))),128)),ts("td",{class:"expandable-cell",colspan:e.currentVisibleColumns.length-e.indentExpandCellCount},[is(m,{"syno-id":`${e.synoId}-slide-up-down`},{default:Ii((()=>[e.expandState[i[e.fieldInfo.rowKey]]?(jo(),Ko("div",sP,[e.hasAdvanceExpandSlot(i)?rn(e.$slots,e.getAdvanceExpandSlot(i),{key:0,item:i}):rn(e.$slots,"advance-expand-default",{key:1,item:i})])):ls("",!0)])),_:2},1032,["syno-id"])],8,oP)],42,nP)):ls("",!0)],64)})),128))],2),[[lr,!e.isEmpty]])],36),e.virtualScroll?(jo(),Ko("div",{key:0,style:Q(e.virtualBodyStyle)},null,4)):ls("",!0)],2))],2)])),_:3},8,["active-adaptive-scrollbar","onScroll","onSwipe","onTouchstart","onTouchend"]))],46,JV)),[[C]]),is(y,{wrap:e.isStickyPagination,name:"slide"},{default:Ii((()=>[e.havePagingBar?Xi((jo(),Zo(v,{key:0,ref:"pagination","mobile-breakpoint":e.innerPaginationBreakpoint,class:ne(e.paginationCls),value:e.currentPageNum,"model-value":e.currentPageNum,"page-size":e.currentPageSize,start:e.innerPageStart,end:e.innerPageEnd,"selected-count":e.innerSelectedCount,"filtered-count":e.innerFilteredCount,total:e.currentTotal,"show-total":e.showTotal,"total-text-format":e.innerTotalTextFormat,"total-text-mode":e.innerTotalTextMode,"items-per-page":e.itemsPerPage,"switch-page":e.canSwitchPage,"before-switch-page":e.innerBeforeSwitchPage,"hide-refresh-btn":e.hideRefreshBtn,loading:e.innerPaginationLoading,"syno-id":`${e.synoId}-paging`,"onUpdate:modelValue":e.setCurrentPageNum,"onUpdate:pageSize":e.setPageSize,onInput:e.setCurrentPageNum,onRefresh:t[7]||(t[7]=t=>e.refresh())},nn({_:2},[tn(e.getPaginationPrefixSlot(),(t=>{let{name:i,exposeName:n}=t;return{name:i,fn:Ii((t=>[rn(e.$slots,n,oe(os(t)))]))}}))]),1032,["mobile-breakpoint","class","value","model-value","page-size","start","end","selected-count","filtered-count","total","show-total","total-text-format","total-text-mode","items-per-page","switch-page","before-switch-page","hide-refresh-btn","loading","syno-id","onUpdate:modelValue","onUpdate:pageSize","onInput"])),[[lr,e.animateShowPagingBar]]):ls("",!0)])),_:3},8,["wrap"])])),_:3},16,["class"])}]]);const aP=on({name:"DataView",components:{vScrollbar:wD},mixins:[YD({selectRange:"selectRange"})],props:{items:{type:Array,default:()=>[]},idProperty:{type:String,default:"id"},singleSelect:{type:Boolean,default:!0},scrollbar:{type:Object,default:()=>({})},defaultSelected:{type:[Boolean,Array],default:!1},focusInner:{type:Boolean,default:!0}},emits:["contextmenu","selectionchange","selected-change","rowclear"],data:()=>({prefix:"v-data-view"}),computed:{},watch:{defaultSelected:{handler(e){if(fa(e)){if(this.singleSelect&&e.length>1)return th("The 'defaultSelected' prop can't be an array with length greater than one when 'singleSelect' is true.",this),void this.selectItems([this.items[e[0]]]);this.selectItems(e.map((e=>this.items[e])))}},immediate:!0},selectedItems:{handler(){this.onSelectionChanged()}}},created(){this.items.forEach(((e,t)=>{ca(e[this.idProperty])||(e[this.idProperty]=t)}))},methods:{onSelectionChanged(){const e=new Map;for(const[t,i]of this.items.entries())e.set(this.getItemValue(i),t);const t=Array.from(this.selectedItems).map(((t,i)=>e.get(t)));Nc(this,"selectionchange",this.singleSelect?t?.[0]:t),Nc(this,"selected-change",Array.from(this.selectedItems))},isMultipleSelected(){return!this.singleSelect},clearSelectedRows(){this.clearSelection(),Nc(this,"rowclear")},onContextMenu(e,t,i){Nc(this,"contextmenu",e,t,i)},getItemValue(e){return e[this.idProperty]},isItemDisabled:e=>e.disabled,onKeyDown(e){du(e)||uu(e)?(e.preventDefault(),e.stopPropagation(),this.selectPrev(e)):(cu(e)||hu(e))&&(e.preventDefault(),e.stopPropagation(),this.selectNext(e))},selectRange(e,t){let{keepSelection:i=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.selectItemsRange(e,t,this.items,{keepSelection:i})},selectPrev(e){const t=this.lastSelectRangeIndex-1;if(t<0)return;const i=this.items[t];this.clickItem(e,t,i),this.focusItem(i[this.idProperty])},selectNext(e){const t=this.lastSelectRangeIndex+1;if(t>this.items.length-1)return;const i=this.items[t];this.clickItem(e,t,i),this.focusItem(i[this.idProperty])},getItemCls(e){return[`${this.prefix}-item-wrap`,{[`${this.prefix}-item-selected`]:this.isItemSelected(e)}]},ensureItemVisible(e){if(!e)return!1;this.$refs.scrollbar.ensureVisible(this.$refs[`item-${e[this.idProperty]}`]?.[0])},clickItem(e,t,i){this.onClickItem(e,t,i)},focusItem(e){const t=e[this.idProperty];this.$refs[`item-${t}`]?.[0]?.focus()},onFocusItem(e){const t=e[this.idProperty],i=this.$refs[`item-${t}`]?.[0];this.focusInner&&dL(i)}}}),lP=["syno-id","onClick","onFocus","onContextmenu"];var dP=Rm(aP,[["render",function(e,t,i,n,o,s){const r=Bi("v-scrollbar"),a=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.prefix)},[rn(e.$slots,"outer-spin"),rn(e.$slots,"before"),ts("div",{class:ne(`${e.prefix}-body`)},[is(r,hs({ref:"scrollbar"},e.scrollbar),{default:Ii((()=>[rn(e.$slots,"inner-spin"),ts("div",{ref:"content",tabindex:"0",onKeydown:t[0]||(t[0]=t=>e.onKeyDown(t))},[(jo(!0),Ko(Po,null,tn(e.items,((t,i)=>(jo(),Ko("div",{key:t[e.idProperty],ref_for:!0,ref:`item-${t[e.idProperty]}`,"syno-id":`${e.synoId}-${i}`,class:ne(e.getItemCls(t)),tabindex:"-1",onClick:n=>e.onClickItem(n,i,t),onFocus:i=>e.onFocusItem(t),onContextmenu:n=>e.onContextMenu(t,i,n)},[rn(e.$slots,"item",{item:t,index:i,disabled:t.disabled})],42,lP)))),128))],544)])),_:3},16)],2),rn(e.$slots,"after")],2)),[[a]])}]]);const cP=["m/d/Y","d/m/Y","Y-m-d","d.m.Y","d-m-Y"],uP=["h:i a","H:i"];function hP(e){return(e=(e=(e=(e=(e=(e=e.replace(/m/g,"MM")).replace(/d/g,"dd")).replace(/Y/g,"yyyy")).replace(/h/g,"hh")).replace(/H/g,"HH")).replace(/i/g,"mm")).replace(/a/g,"aaa")}var pP={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},fP=function(e,t,i){var n,o=pP[e];return n="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+n:n+" ago":n};function mP(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth,n=e.formats[i]||e.formats[e.defaultWidth];return n}}var gP={date:mP({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:mP({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:mP({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},vP={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},yP=function(e,t,i,n){return vP[e]};function bP(e){return function(t,i){var n,o=i||{};if("formatting"===(o.context?String(o.context):"standalone")&&e.formattingValues){var s=e.defaultFormattingWidth||e.defaultWidth,r=o.width?String(o.width):s;n=e.formattingValues[r]||e.formattingValues[s]}else{var a=e.defaultWidth,l=o.width?String(o.width):e.defaultWidth;n=e.values[l]||e.values[a]}return n[e.argumentCallback?e.argumentCallback(t):t]}}var wP={ordinalNumber:function(e,t){var i=Number(e),n=i%100;if(n>20||n<10)switch(n%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:bP({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:bP({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:bP({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:bP({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:bP({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},CP=wP;function xP(e){return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i.width,o=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;var r,a=s[0],l=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(l)?kP(l,(function(e){return e.test(a)})):SP(l,(function(e){return e.test(a)}));r=e.valueCallback?e.valueCallback(d):d,r=i.valueCallback?i.valueCallback(r):r;var c=t.slice(a.length);return{value:r,rest:c}}}function SP(e,t){for(var i in e)if(e.hasOwnProperty(i)&&t(e[i]))return i}function kP(e,t){for(var i=0;i<e.length;i++)if(t(e[i]))return i}var _P,IP={ordinalNumber:(_P={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.match(_P.matchPattern);if(!i)return null;var n=i[0],o=e.match(_P.parsePattern);if(!o)return null;var s=_P.valueCallback?_P.valueCallback(o[0]):o[0];s=t.valueCallback?t.valueCallback(s):s;var r=e.slice(n.length);return{value:s,rest:r}}),era:xP({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:xP({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:xP({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:xP({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:xP({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},TP={code:"en-US",formatDistance:fP,formatLong:gP,formatRelative:yP,localize:CP,match:IP,options:{weekStartsOn:0,firstWeekContainsDate:1}};function DP(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function LP(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function AP(e){LP(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}function EP(e,t){LP(2,arguments);var i=AP(e).getTime(),n=DP(t);return new Date(i+n)}function MP(e,t){LP(2,arguments);var i=DP(t);return EP(e,-i)}function BP(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in t=t||{})Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}function OP(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}}function $P(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}}var FP={p:$P,P:function(e,t){var i,n=e.match(/(P+)(p+)?/)||[],o=n[1],s=n[2];if(!s)return OP(e,t);switch(o){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",OP(o,t)).replace("{{time}}",$P(s,t))}},VP=FP;function PP(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var NP=["D","DD"],RP=["YY","YYYY"];function HP(e){return-1!==NP.indexOf(e)}function zP(e){return-1!==RP.indexOf(e)}function WP(e,t,i){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://git.io/fxCyr"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://git.io/fxCyr"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://git.io/fxCyr"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://git.io/fxCyr"))}function jP(e,t){LP(1,arguments);var i=t||{},n=i.locale,o=n&&n.options&&n.options.weekStartsOn,s=null==o?0:DP(o),r=null==i.weekStartsOn?s:DP(i.weekStartsOn);if(!(r>=0&&r<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var a=AP(e),l=a.getUTCDay(),d=(l<r?7:0)+l-r;return a.setUTCDate(a.getUTCDate()-d),a.setUTCHours(0,0,0,0),a}function UP(e,t){LP(1,arguments);var i=AP(e),n=i.getUTCFullYear(),o=t||{},s=o.locale,r=s&&s.options&&s.options.firstWeekContainsDate,a=null==r?1:DP(r),l=null==o.firstWeekContainsDate?a:DP(o.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setUTCFullYear(n+1,0,l),d.setUTCHours(0,0,0,0);var c=jP(d,t),u=new Date(0);u.setUTCFullYear(n,0,l),u.setUTCHours(0,0,0,0);var h=jP(u,t);return i.getTime()>=c.getTime()?n+1:i.getTime()>=h.getTime()?n:n-1}function GP(e,t,i){LP(2,arguments);var n=i||{},o=n.locale,s=o&&o.options&&o.options.weekStartsOn,r=null==s?0:DP(s),a=null==n.weekStartsOn?r:DP(n.weekStartsOn);if(!(a>=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=AP(e),d=DP(t),c=l.getUTCDay(),u=d%7,h=(u+7)%7,p=(h<a?7:0)+d-c;return l.setUTCDate(l.getUTCDate()+p),l}function qP(e){LP(1,arguments);var t=1,i=AP(e),n=i.getUTCDay(),o=(n<t?7:0)+n-t;return i.setUTCDate(i.getUTCDate()-o),i.setUTCHours(0,0,0,0),i}function YP(e){LP(1,arguments);var t=AP(e),i=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(i+1,0,4),n.setUTCHours(0,0,0,0);var o=qP(n),s=new Date(0);s.setUTCFullYear(i,0,4),s.setUTCHours(0,0,0,0);var r=qP(s);return t.getTime()>=o.getTime()?i+1:t.getTime()>=r.getTime()?i:i-1}function KP(e){LP(1,arguments);var t=YP(e),i=new Date(0);i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0);var n=qP(i);return n}var ZP=6048e5;function JP(e){LP(1,arguments);var t=AP(e),i=qP(t).getTime()-KP(t).getTime();return Math.round(i/ZP)+1}function QP(e,t){LP(1,arguments);var i=t||{},n=i.locale,o=n&&n.options&&n.options.firstWeekContainsDate,s=null==o?1:DP(o),r=null==i.firstWeekContainsDate?s:DP(i.firstWeekContainsDate),a=UP(e,t),l=new Date(0);l.setUTCFullYear(a,0,r),l.setUTCHours(0,0,0,0);var d=jP(l,t);return d}var XP=6048e5;function eN(e,t){LP(1,arguments);var i=AP(e),n=jP(i,t).getTime()-QP(i,t).getTime();return Math.round(n/XP)+1}var tN=/^(1[0-2]|0?\d)/,iN=/^(3[0-1]|[0-2]?\d)/,nN=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,oN=/^(5[0-3]|[0-4]?\d)/,sN=/^(2[0-3]|[0-1]?\d)/,rN=/^(2[0-4]|[0-1]?\d)/,aN=/^(1[0-1]|0?\d)/,lN=/^(1[0-2]|0?\d)/,dN=/^[0-5]?\d/,cN=/^[0-5]?\d/,uN=/^\d/,hN=/^\d{1,2}/,pN=/^\d{1,3}/,fN=/^\d{1,4}/,mN=/^-?\d+/,gN=/^-?\d/,vN=/^-?\d{1,2}/,yN=/^-?\d{1,3}/,bN=/^-?\d{1,4}/,wN=/^([+-])(\d{2})(\d{2})?|Z/,CN=/^([+-])(\d{2})(\d{2})|Z/,xN=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,SN=/^([+-])(\d{2}):(\d{2})|Z/,kN=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function _N(e,t,i){var n=t.match(e);if(!n)return null;var o=parseInt(n[0],10);return{value:i?i(o):o,rest:t.slice(n[0].length)}}function IN(e,t){var i=t.match(e);return i?"Z"===i[0]?{value:0,rest:t.slice(1)}:{value:("+"===i[1]?1:-1)*(36e5*(i[2]?parseInt(i[2],10):0)+6e4*(i[3]?parseInt(i[3],10):0)+1e3*(i[5]?parseInt(i[5],10):0)),rest:t.slice(i[0].length)}:null}function TN(e,t){return _N(mN,e,t)}function DN(e,t,i){switch(e){case 1:return _N(uN,t,i);case 2:return _N(hN,t,i);case 3:return _N(pN,t,i);case 4:return _N(fN,t,i);default:return _N(new RegExp("^\\d{1,"+e+"}"),t,i)}}function LN(e,t,i){switch(e){case 1:return _N(gN,t,i);case 2:return _N(vN,t,i);case 3:return _N(yN,t,i);case 4:return _N(bN,t,i);default:return _N(new RegExp("^-?\\d{1,"+e+"}"),t,i)}}function AN(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function EN(e,t){var i,n=t>0,o=n?t:1-t;if(o<=50)i=e||100;else{var s=o+50;i=e+100*Math.floor(s/100)-(e>=s%100?100:0)}return n?i:1-i}var MN=[31,28,31,30,31,30,31,31,30,31,30,31],BN=[31,29,31,30,31,30,31,31,30,31,30,31];function ON(e){return e%400==0||e%4==0&&e%100!=0}var $N={G:{priority:140,parse:function(e,t,i,n){switch(t){case"G":case"GG":case"GGG":return i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"});case"GGGGG":return i.era(e,{width:"narrow"});default:return i.era(e,{width:"wide"})||i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"})}},set:function(e,t,i,n){return t.era=i,e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["R","u","t","T"]},y:{priority:130,parse:function(e,t,i,n){var o=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return DN(4,e,o);case"yo":return i.ordinalNumber(e,{unit:"year",valueCallback:o});default:return DN(t.length,e,o)}},validate:function(e,t,i){return t.isTwoDigitYear||t.year>0},set:function(e,t,i,n){var o=e.getUTCFullYear();if(i.isTwoDigitYear){var s=EN(i.year,o);return e.setUTCFullYear(s,0,1),e.setUTCHours(0,0,0,0),e}var r="era"in t&&1!==t.era?1-i.year:i.year;return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","u","w","I","i","e","c","t","T"]},Y:{priority:130,parse:function(e,t,i,n){var o=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return DN(4,e,o);case"Yo":return i.ordinalNumber(e,{unit:"year",valueCallback:o});default:return DN(t.length,e,o)}},validate:function(e,t,i){return t.isTwoDigitYear||t.year>0},set:function(e,t,i,n){var o=UP(e,n);if(i.isTwoDigitYear){var s=EN(i.year,o);return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),jP(e,n)}var r="era"in t&&1!==t.era?1-i.year:i.year;return e.setUTCFullYear(r,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),jP(e,n)},incompatibleTokens:["y","R","u","Q","q","M","L","I","d","D","i","t","T"]},R:{priority:130,parse:function(e,t,i,n){return LN("R"===t?4:t.length,e)},set:function(e,t,i,n){var o=new Date(0);return o.setUTCFullYear(i,0,4),o.setUTCHours(0,0,0,0),qP(o)},incompatibleTokens:["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]},u:{priority:130,parse:function(e,t,i,n){return LN("u"===t?4:t.length,e)},set:function(e,t,i,n){return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["G","y","Y","R","w","I","i","e","c","t","T"]},Q:{priority:120,parse:function(e,t,i,n){switch(t){case"Q":case"QQ":return DN(t.length,e);case"Qo":return i.ordinalNumber(e,{unit:"quarter"});case"QQQ":return i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(e,{width:"narrow",context:"formatting"});default:return i.quarter(e,{width:"wide",context:"formatting"})||i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,i){return t>=1&&t<=4},set:function(e,t,i,n){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]},q:{priority:120,parse:function(e,t,i,n){switch(t){case"q":case"qq":return DN(t.length,e);case"qo":return i.ordinalNumber(e,{unit:"quarter"});case"qqq":return i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(e,{width:"narrow",context:"standalone"});default:return i.quarter(e,{width:"wide",context:"standalone"})||i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,i){return t>=1&&t<=4},set:function(e,t,i,n){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]},M:{priority:110,parse:function(e,t,i,n){var o=function(e){return e-1};switch(t){case"M":return _N(tN,e,o);case"MM":return DN(2,e,o);case"Mo":return i.ordinalNumber(e,{unit:"month",valueCallback:o});case"MMM":return i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(e,{width:"narrow",context:"formatting"});default:return i.month(e,{width:"wide",context:"formatting"})||i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,i){return t>=0&&t<=11},set:function(e,t,i,n){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]},L:{priority:110,parse:function(e,t,i,n){var o=function(e){return e-1};switch(t){case"L":return _N(tN,e,o);case"LL":return DN(2,e,o);case"Lo":return i.ordinalNumber(e,{unit:"month",valueCallback:o});case"LLL":return i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(e,{width:"narrow",context:"standalone"});default:return i.month(e,{width:"wide",context:"standalone"})||i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,i){return t>=0&&t<=11},set:function(e,t,i,n){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]},w:{priority:100,parse:function(e,t,i,n){switch(t){case"w":return _N(oN,e);case"wo":return i.ordinalNumber(e,{unit:"week"});default:return DN(t.length,e)}},validate:function(e,t,i){return t>=1&&t<=53},set:function(e,t,i,n){return jP(function(e,t,i){LP(2,arguments);var n=AP(e),o=DP(t),s=eN(n,i)-o;return n.setUTCDate(n.getUTCDate()-7*s),n}(e,i,n),n)},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","i","t","T"]},I:{priority:100,parse:function(e,t,i,n){switch(t){case"I":return _N(oN,e);case"Io":return i.ordinalNumber(e,{unit:"week"});default:return DN(t.length,e)}},validate:function(e,t,i){return t>=1&&t<=53},set:function(e,t,i,n){return qP(function(e,t){LP(2,arguments);var i=AP(e),n=DP(t),o=JP(i)-n;return i.setUTCDate(i.getUTCDate()-7*o),i}(e,i,n),n)},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]},d:{priority:90,subPriority:1,parse:function(e,t,i,n){switch(t){case"d":return _N(iN,e);case"do":return i.ordinalNumber(e,{unit:"date"});default:return DN(t.length,e)}},validate:function(e,t,i){var n=ON(e.getUTCFullYear()),o=e.getUTCMonth();return n?t>=1&&t<=BN[o]:t>=1&&t<=MN[o]},set:function(e,t,i,n){return e.setUTCDate(i),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","w","I","D","i","e","c","t","T"]},D:{priority:90,subPriority:1,parse:function(e,t,i,n){switch(t){case"D":case"DD":return _N(nN,e);case"Do":return i.ordinalNumber(e,{unit:"date"});default:return DN(t.length,e)}},validate:function(e,t,i){return ON(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365},set:function(e,t,i,n){return e.setUTCMonth(0,i),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]},E:{priority:90,parse:function(e,t,i,n){switch(t){case"E":case"EE":case"EEE":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,i){return t>=0&&t<=6},set:function(e,t,i,n){return(e=GP(e,i,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["D","i","e","c","t","T"]},e:{priority:90,parse:function(e,t,i,n){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return DN(t.length,e,o);case"eo":return i.ordinalNumber(e,{unit:"day",valueCallback:o});case"eee":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeeee":return i.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}},validate:function(e,t,i){return t>=0&&t<=6},set:function(e,t,i,n){return(e=GP(e,i,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]},c:{priority:90,parse:function(e,t,i,n){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+n.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return DN(t.length,e,o);case"co":return i.ordinalNumber(e,{unit:"day",valueCallback:o});case"ccc":return i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"ccccc":return i.day(e,{width:"narrow",context:"standalone"});case"cccccc":return i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});default:return i.day(e,{width:"wide",context:"standalone"})||i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"})}},validate:function(e,t,i){return t>=0&&t<=6},set:function(e,t,i,n){return(e=GP(e,i,n)).setUTCHours(0,0,0,0),e},incompatibleTokens:["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]},i:{priority:90,parse:function(e,t,i,n){var o=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return DN(t.length,e);case"io":return i.ordinalNumber(e,{unit:"day"});case"iii":return i.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||i.day(e,{width:"short",context:"formatting",valueCallback:o})||i.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiii":return i.day(e,{width:"narrow",context:"formatting",valueCallback:o});case"iiiiii":return i.day(e,{width:"short",context:"formatting",valueCallback:o})||i.day(e,{width:"narrow",context:"formatting",valueCallback:o});default:return i.day(e,{width:"wide",context:"formatting",valueCallback:o})||i.day(e,{width:"abbreviated",context:"formatting",valueCallback:o})||i.day(e,{width:"short",context:"formatting",valueCallback:o})||i.day(e,{width:"narrow",context:"formatting",valueCallback:o})}},validate:function(e,t,i){return t>=1&&t<=7},set:function(e,t,i,n){return e=function(e,t){LP(2,arguments);var i=DP(t);i%7==0&&(i-=7);var n=1,o=AP(e),s=o.getUTCDay(),r=((i%7+7)%7<n?7:0)+i-s;return o.setUTCDate(o.getUTCDate()+r),o}(e,i,n),e.setUTCHours(0,0,0,0),e},incompatibleTokens:["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]},a:{priority:80,parse:function(e,t,i,n){switch(t){case"a":case"aa":case"aaa":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,i,n){return e.setUTCHours(AN(i),0,0,0),e},incompatibleTokens:["b","B","H","k","t","T"]},b:{priority:80,parse:function(e,t,i,n){switch(t){case"b":case"bb":case"bbb":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,i,n){return e.setUTCHours(AN(i),0,0,0),e},incompatibleTokens:["a","B","H","k","t","T"]},B:{priority:80,parse:function(e,t,i,n){switch(t){case"B":case"BB":case"BBB":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}},set:function(e,t,i,n){return e.setUTCHours(AN(i),0,0,0),e},incompatibleTokens:["a","b","t","T"]},h:{priority:70,parse:function(e,t,i,n){switch(t){case"h":return _N(lN,e);case"ho":return i.ordinalNumber(e,{unit:"hour"});default:return DN(t.length,e)}},validate:function(e,t,i){return t>=1&&t<=12},set:function(e,t,i,n){var o=e.getUTCHours()>=12;return o&&i<12?e.setUTCHours(i+12,0,0,0):o||12!==i?e.setUTCHours(i,0,0,0):e.setUTCHours(0,0,0,0),e},incompatibleTokens:["H","K","k","t","T"]},H:{priority:70,parse:function(e,t,i,n){switch(t){case"H":return _N(sN,e);case"Ho":return i.ordinalNumber(e,{unit:"hour"});default:return DN(t.length,e)}},validate:function(e,t,i){return t>=0&&t<=23},set:function(e,t,i,n){return e.setUTCHours(i,0,0,0),e},incompatibleTokens:["a","b","h","K","k","t","T"]},K:{priority:70,parse:function(e,t,i,n){switch(t){case"K":return _N(aN,e);case"Ko":return i.ordinalNumber(e,{unit:"hour"});default:return DN(t.length,e)}},validate:function(e,t,i){return t>=0&&t<=11},set:function(e,t,i,n){return e.getUTCHours()>=12&&i<12?e.setUTCHours(i+12,0,0,0):e.setUTCHours(i,0,0,0),e},incompatibleTokens:["h","H","k","t","T"]},k:{priority:70,parse:function(e,t,i,n){switch(t){case"k":return _N(rN,e);case"ko":return i.ordinalNumber(e,{unit:"hour"});default:return DN(t.length,e)}},validate:function(e,t,i){return t>=1&&t<=24},set:function(e,t,i,n){var o=i<=24?i%24:i;return e.setUTCHours(o,0,0,0),e},incompatibleTokens:["a","b","h","H","K","t","T"]},m:{priority:60,parse:function(e,t,i,n){switch(t){case"m":return _N(dN,e);case"mo":return i.ordinalNumber(e,{unit:"minute"});default:return DN(t.length,e)}},validate:function(e,t,i){return t>=0&&t<=59},set:function(e,t,i,n){return e.setUTCMinutes(i,0,0),e},incompatibleTokens:["t","T"]},s:{priority:50,parse:function(e,t,i,n){switch(t){case"s":return _N(cN,e);case"so":return i.ordinalNumber(e,{unit:"second"});default:return DN(t.length,e)}},validate:function(e,t,i){return t>=0&&t<=59},set:function(e,t,i,n){return e.setUTCSeconds(i,0),e},incompatibleTokens:["t","T"]},S:{priority:30,parse:function(e,t,i,n){return DN(t.length,e,(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))},set:function(e,t,i,n){return e.setUTCMilliseconds(i),e},incompatibleTokens:["t","T"]},X:{priority:10,parse:function(e,t,i,n){switch(t){case"X":return IN(wN,e);case"XX":return IN(CN,e);case"XXXX":return IN(xN,e);case"XXXXX":return IN(kN,e);default:return IN(SN,e)}},set:function(e,t,i,n){return t.timestampIsSet?e:new Date(e.getTime()-i)},incompatibleTokens:["t","T","x"]},x:{priority:10,parse:function(e,t,i,n){switch(t){case"x":return IN(wN,e);case"xx":return IN(CN,e);case"xxxx":return IN(xN,e);case"xxxxx":return IN(kN,e);default:return IN(SN,e)}},set:function(e,t,i,n){return t.timestampIsSet?e:new Date(e.getTime()-i)},incompatibleTokens:["t","T","X"]},t:{priority:40,parse:function(e,t,i,n){return TN(e)},set:function(e,t,i,n){return[new Date(1e3*i),{timestampIsSet:!0}]},incompatibleTokens:"*"},T:{priority:20,parse:function(e,t,i,n){return TN(e)},set:function(e,t,i,n){return[new Date(i),{timestampIsSet:!0}]},incompatibleTokens:"*"}},FN=$N,VN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,PN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,NN=/^'([^]*?)'?$/,RN=/''/g,HN=/\S/,zN=/[a-zA-Z]/;function WN(e,t,i,n){LP(3,arguments);var o=String(e),s=String(t),r=n||{},a=r.locale||TP;if(!a.match)throw new RangeError("locale must contain match property");var l=a.options&&a.options.firstWeekContainsDate,d=null==l?1:DP(l),c=null==r.firstWeekContainsDate?d:DP(r.firstWeekContainsDate);if(!(c>=1&&c<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var u=a.options&&a.options.weekStartsOn,h=null==u?0:DP(u),p=null==r.weekStartsOn?h:DP(r.weekStartsOn);if(!(p>=0&&p<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===s)return""===o?AP(i):new Date(NaN);var f,m={firstWeekContainsDate:c,weekStartsOn:p,locale:a},g=[{priority:10,subPriority:-1,set:jN,index:0}],v=s.match(PN).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,VP[t])(e,a.formatLong,m):e})).join("").match(VN),y=[];for(f=0;f<v.length;f++){var b=v[f];!r.useAdditionalWeekYearTokens&&zP(b)&&WP(b,s,e),!r.useAdditionalDayOfYearTokens&&HP(b)&&WP(b,s,e);var w=b[0],C=FN[w];if(C){var x=C.incompatibleTokens;if(Array.isArray(x)){for(var S=void 0,k=0;k<y.length;k++){var _=y[k].token;if(-1!==x.indexOf(_)||_===w){S=y[k];break}}if(S)throw new RangeError("The format string mustn't contain `".concat(S.fullToken,"` and `").concat(b,"` at the same time"))}else if("*"===C.incompatibleTokens&&y.length)throw new RangeError("The format string mustn't contain `".concat(b,"` and any other token at the same time"));y.push({token:w,fullToken:b});var I=C.parse(o,b,a.match,m);if(!I)return new Date(NaN);g.push({priority:C.priority,subPriority:C.subPriority||0,set:C.set,validate:C.validate,value:I.value,index:g.length}),o=I.rest}else{if(w.match(zN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");if("''"===b?b="'":"'"===w&&(b=UN(b)),0!==o.indexOf(b))return new Date(NaN);o=o.slice(b.length)}}if(o.length>0&&HN.test(o))return new Date(NaN);var T=g.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,i){return i.indexOf(e)===t})).map((function(e){return g.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),D=AP(i);if(isNaN(D))return new Date(NaN);var L=MP(D,PP(D)),A={};for(f=0;f<T.length;f++){var E=T[f];if(E.validate&&!E.validate(L,E.value,m))return new Date(NaN);var M=E.set(L,A,E.value,m);M[0]?(L=M[0],BP(A,M[1])):L=M}return L}function jN(e,t){if(t.timestampIsSet)return e;var i=new Date(0);return i.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),i.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),i}function UN(e){return e.match(NN)[1].replace(RN,"'")}function GN(e){return LP(1,arguments),e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function qN(e){if(LP(1,arguments),!GN(e)&&"number"!=typeof e)return!1;var t=AP(e);return!isNaN(Number(t))}function YN(e,t,i){return LP(2,arguments),qN(WN(e,t,new Date,i))}function KN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const n=i?`${t} ${i}`:t;if(!ZN(e,t,i))return!1;const o=hP(n);return WN(e,o,new Date)}function ZN(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const n=hP(i?`${t} ${i}`:t);return YN(e,n)}var JN=864e5;function QN(e,t){for(var i=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return i+n}var XN={y:function(e,t){var i=e.getUTCFullYear(),n=i>0?i:1-i;return QN("yy"===t?n%100:n,t.length)},M:function(e,t){var i=e.getUTCMonth();return"M"===t?String(i+1):QN(i+1,2)},d:function(e,t){return QN(e.getUTCDate(),t.length)},a:function(e,t){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:function(e,t){return QN(e.getUTCHours()%12||12,t.length)},H:function(e,t){return QN(e.getUTCHours(),t.length)},m:function(e,t){return QN(e.getUTCMinutes(),t.length)},s:function(e,t){return QN(e.getUTCSeconds(),t.length)},S:function(e,t){var i=t.length,n=e.getUTCMilliseconds();return QN(Math.floor(n*Math.pow(10,i-3)),t.length)}},eR=XN,tR="midnight",iR="noon",nR="morning",oR="afternoon",sR="evening",rR="night",aR={G:function(e,t,i){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"});case"GGGGG":return i.era(n,{width:"narrow"});default:return i.era(n,{width:"wide"})}},y:function(e,t,i){if("yo"===t){var n=e.getUTCFullYear(),o=n>0?n:1-n;return i.ordinalNumber(o,{unit:"year"})}return eR.y(e,t)},Y:function(e,t,i,n){var o=UP(e,n),s=o>0?o:1-o;return"YY"===t?QN(s%100,2):"Yo"===t?i.ordinalNumber(s,{unit:"year"}):QN(s,t.length)},R:function(e,t){return QN(YP(e),t.length)},u:function(e,t){return QN(e.getUTCFullYear(),t.length)},Q:function(e,t,i){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return QN(n,2);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});default:return i.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,i){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return QN(n,2);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});default:return i.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,i){var n=e.getUTCMonth();switch(t){case"M":case"MM":return eR.M(e,t);case"Mo":return i.ordinalNumber(n+1,{unit:"month"});case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});default:return i.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,i){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return QN(n+1,2);case"Lo":return i.ordinalNumber(n+1,{unit:"month"});case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});default:return i.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,i,n){var o=eN(e,n);return"wo"===t?i.ordinalNumber(o,{unit:"week"}):QN(o,t.length)},I:function(e,t,i){var n=JP(e);return"Io"===t?i.ordinalNumber(n,{unit:"week"}):QN(n,t.length)},d:function(e,t,i){return"do"===t?i.ordinalNumber(e.getUTCDate(),{unit:"date"}):eR.d(e,t)},D:function(e,t,i){var n=function(e){LP(1,arguments);var t=AP(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),o=i-n;return Math.floor(o/JN)+1}(e);return"Do"===t?i.ordinalNumber(n,{unit:"dayOfYear"}):QN(n,t.length)},E:function(e,t,i){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,i,n){var o=e.getUTCDay(),s=(o-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return QN(s,2);case"eo":return i.ordinalNumber(s,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,i,n){var o=e.getUTCDay(),s=(o-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return QN(s,t.length);case"co":return i.ordinalNumber(s,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,i){var n=e.getUTCDay(),o=0===n?7:n;switch(t){case"i":return String(o);case"ii":return QN(o,t.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,i){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,i){var n,o=e.getUTCHours();switch(n=12===o?iR:0===o?tR:o/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,i){var n,o=e.getUTCHours();switch(n=o>=17?sR:o>=12?oR:o>=4?nR:rR,t){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,i){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),i.ordinalNumber(n,{unit:"hour"})}return eR.h(e,t)},H:function(e,t,i){return"Ho"===t?i.ordinalNumber(e.getUTCHours(),{unit:"hour"}):eR.H(e,t)},K:function(e,t,i){var n=e.getUTCHours()%12;return"Ko"===t?i.ordinalNumber(n,{unit:"hour"}):QN(n,t.length)},k:function(e,t,i){var n=e.getUTCHours();return 0===n&&(n=24),"ko"===t?i.ordinalNumber(n,{unit:"hour"}):QN(n,t.length)},m:function(e,t,i){return"mo"===t?i.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):eR.m(e,t)},s:function(e,t,i){return"so"===t?i.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):eR.s(e,t)},S:function(e,t){return eR.S(e,t)},X:function(e,t,i,n){var o=(n._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return dR(o);case"XXXX":case"XX":return cR(o);default:return cR(o,":")}},x:function(e,t,i,n){var o=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return dR(o);case"xxxx":case"xx":return cR(o);default:return cR(o,":")}},O:function(e,t,i,n){var o=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+lR(o,":");default:return"GMT"+cR(o,":")}},z:function(e,t,i,n){var o=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+lR(o,":");default:return"GMT"+cR(o,":")}},t:function(e,t,i,n){var o=n._originalDate||e;return QN(Math.floor(o.getTime()/1e3),t.length)},T:function(e,t,i,n){return QN((n._originalDate||e).getTime(),t.length)}};function lR(e,t){var i=e>0?"-":"+",n=Math.abs(e),o=Math.floor(n/60),s=n%60;if(0===s)return i+String(o);var r=t||"";return i+String(o)+r+QN(s,2)}function dR(e,t){return e%60==0?(e>0?"-":"+")+QN(Math.abs(e)/60,2):cR(e,t)}function cR(e,t){var i=t||"",n=e>0?"-":"+",o=Math.abs(e);return n+QN(Math.floor(o/60),2)+i+QN(o%60,2)}var uR=aR,hR=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,pR=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,fR=/^'([^]*?)'?$/,mR=/''/g,gR=/[a-zA-Z]/;function vR(e,t,i){LP(2,arguments);var n=String(t),o=i||{},s=o.locale||TP,r=s.options&&s.options.firstWeekContainsDate,a=null==r?1:DP(r),l=null==o.firstWeekContainsDate?a:DP(o.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=s.options&&s.options.weekStartsOn,c=null==d?0:DP(d),u=null==o.weekStartsOn?c:DP(o.weekStartsOn);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!s.localize)throw new RangeError("locale must contain localize property");if(!s.formatLong)throw new RangeError("locale must contain formatLong property");var h=AP(e);if(!qN(h))throw new RangeError("Invalid time value");var p=PP(h),f=MP(h,p),m={firstWeekContainsDate:l,weekStartsOn:u,locale:s,_originalDate:h},g=n.match(pR).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,VP[t])(e,s.formatLong,m):e})).join("").match(hR).map((function(i){if("''"===i)return"'";var n=i[0];if("'"===n)return yR(i);var r=uR[n];if(r)return!o.useAdditionalWeekYearTokens&&zP(i)&&WP(i,t,e),!o.useAdditionalDayOfYearTokens&&HP(i)&&WP(i,t,e),r(f,i,s.localize,m);if(n.match(gR))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");return i})).join("");return g}function yR(e){return e.match(fR)[1].replace(mR,"'")}function bR(e,t,i){return wR(e,t)+" "+CR(e,i)}function wR(e,t){if(!(e instanceof Date))throw"need to be Date Object";return vR(e,hP(t))}function CR(e,t){if(!(e instanceof Date))throw"need to be Date Object";return vR(e,hP(t))}function xR(e){LP(1,arguments);var t=AP(e);return t.setHours(0,0,0,0),t}function SR(e){LP(1,arguments);var t=AP(e);return t.setDate(1),t.setHours(0,0,0,0),t}function kR(e,t){LP(2,arguments);var i=AP(e),n=DP(t);return isNaN(n)?new Date(NaN):n?(i.setDate(i.getDate()+n),i):i}function _R(e,t){LP(2,arguments);var i=xR(e),n=xR(t);return i.getTime()===n.getTime()}function IR(e,t){LP(2,arguments);var i=AP(e).getTime(),n=AP(t.start).getTime(),o=AP(t.end).getTime();if(!(n<=o))throw new RangeError("Invalid interval");return i>=n&&i<=o}function TR(e,t){LP(1,arguments);var i=t||{},n=i.locale,o=n&&n.options&&n.options.weekStartsOn,s=null==o?0:DP(o),r=null==i.weekStartsOn?s:DP(i.weekStartsOn);if(!(r>=0&&r<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var a=AP(e),l=a.getDay(),d=(l<r?7:0)+l-r;return a.setDate(a.getDate()-d),a.setHours(0,0,0,0),a}function DR(e,t){LP(1,arguments);var i=t||{},n=i.locale,o=n&&n.options&&n.options.weekStartsOn,s=null==o?0:DP(o),r=null==i.weekStartsOn?s:DP(i.weekStartsOn);if(!(r>=0&&r<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var a=AP(e),l=a.getDay(),d=6+(l<r?-7:0)-(l-r);return a.setDate(a.getDate()+d),a.setHours(23,59,59,999),a}function LR(e,t){var i,n;LP(1,arguments);var o=AP(e),s=o.getFullYear(),r=null==t||null===(i=t.locale)||void 0===i||null===(n=i.options)||void 0===n?void 0:n.firstWeekContainsDate,a=null==r?1:DP(r),l=null==(null==t?void 0:t.firstWeekContainsDate)?a:DP(t.firstWeekContainsDate);if(!(l>=1&&l<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var d=new Date(0);d.setFullYear(s+1,0,l),d.setHours(0,0,0,0);var c=TR(d,t),u=new Date(0);u.setFullYear(s,0,l),u.setHours(0,0,0,0);var h=TR(u,t);return o.getTime()>=c.getTime()?s+1:o.getTime()>=h.getTime()?s:s-1}function AR(e,t){LP(1,arguments);var i=t||{},n=i.locale,o=n&&n.options&&n.options.firstWeekContainsDate,s=null==o?1:DP(o),r=null==i.firstWeekContainsDate?s:DP(i.firstWeekContainsDate),a=LR(e,t),l=new Date(0);l.setFullYear(a,0,r),l.setHours(0,0,0,0);var d=TR(l,t);return d}var ER=6048e5;function MR(e,t){LP(2,arguments);var i=AP(e),n=DP(t);if(isNaN(n))return new Date(NaN);if(!n)return i;var o=i.getDate(),s=new Date(i.getTime());s.setMonth(i.getMonth()+n+1,0);var r=s.getDate();return o>=r?s:(i.setFullYear(s.getFullYear(),s.getMonth(),o),i)}function BR(e){LP(1,arguments);var t=AP(e),i=t.getFullYear(),n=t.getMonth(),o=new Date(0);return o.setFullYear(i,n+1,0),o.setHours(0,0,0,0),o.getDate()}const OR=24*Math.pow(10,6)*60*60*1e3,$R=-OR,FR=new Date(OR),VR=new Date($R);wg("date-picker-down",jI),wg("date-picker-left",yI),wg("date-picker-right",wI);const PR=on({name:"DatePickerMenu",components:{vButton:RA,vSingleSelect:pE,vCheckbox:tB,vTrapFocus:pL,vMenu:BA,vMenuItem:nE,vIcon:bg,vPortal:Hh},directives:{clickoutside:$m},mixins:[Bc,Cg,Sm,Aa("date-picker"),vm("datePickerMenu","Menu")],props:{[rT()]:{type:Date,default:void 0},isOpen:{type:Boolean,default:!1},timeChecked:{type:Boolean,default:!1},enableHour24:{type:Boolean,default:!1},timeOptional:{type:Boolean,default:!0},todayText:{type:String,default:void 0},resetText:{type:String,default:void 0},addTimeText:{type:String,default:void 0},clearText:{type:String,default:void 0},allowBlank:{type:Boolean,default:!1},showTime:{type:Boolean,default:!1},maxTime:{type:Date,default:()=>FR},minTime:{type:Date,default:()=>VR},yearsRange:{type:Array,default:void 0,validator:e=>!e||2===e.length&&!!e.every((e=>Number.isInteger(e)))&&!(e[0]>e[1])},startWeekDay:{type:Number,default:0},showResetButton:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showTodayButton:{type:Boolean,default:!0},dateDots:{type:Array,default:()=>[]},isDisableDate:{type:Function,default:void 0},todayDisabled:{type:Boolean,default:void 0},closeOnSelect:{type:Boolean,default:void 0},showWeekNumber:{type:Boolean,default:!1},dropdownIcon:{type:Object,default:()=>({name:"date-picker-down",svgIconSet:"set13"})}},emits:["change","update:model-value","update:is-open","select-date","update:time-checked"],data(){const e=sT(this);return{showYear:!1,showMonth:!1,originalValue:GN(e)?AP(e):void 0,activeDate:GN(e)?AP(e):new Date}},computed:{innerDropdownIcon(){return this.getMenuConfigValue("dropdownIcon")},dropdownCls(){return["v-dt-dropdown","v-select2-dropdown",{"with-week-number":this.showWeekNumber}]},ariaLabelledby(){return`date-${xR(this.activeDate).getTime()}`},ariaLabelLastMonth(){const e=this.getAriaLabelMonthBtnFromOffset(-1);return`${this._i18n("common","last_month")} ${e}`},ariaLabelNextMonth(){const e=this.getAriaLabelMonthBtnFromOffset(1);return`${this._i18n("common","next_month")} ${e}`},givenYears(){return this.yearsRange?new Array(this.yearsRange[1]-this.yearsRange[0]+1).fill(0).map(((e,t)=>t)).map((e=>this.yearsRange[0]+e)).map((e=>({year:e,text:e}))):null},defaultYears(){const e=this.activeDate.getFullYear();return new Array(11).fill(0).map(((e,t)=>t-5)).map((t=>e+t)).map((e=>({year:e,text:e})))},years(){return this.givenYears||this.defaultYears},months(){return[{text:this._i18n("extlang","jan"),month:1},{text:this._i18n("extlang","feb"),month:2},{text:this._i18n("extlang","mar"),month:3},{text:this._i18n("extlang","apr"),month:4},{text:this._i18n("extlang","may"),month:5},{text:this._i18n("extlang","jun"),month:6},{text:this._i18n("extlang","jul"),month:7},{text:this._i18n("extlang","aug"),month:8},{text:this._i18n("extlang","sep"),month:9},{text:this._i18n("extlang","oct"),month:10},{text:this._i18n("extlang","nov"),month:11},{text:this._i18n("extlang","dec"),month:12}]},week(){const e=this._i18n("uicommon","schedule_abbre_sun").slice(0,1),t=this._i18n("uicommon","schedule_abbre_mon").slice(0,1),i=this._i18n("uicommon","schedule_abbre_tue").slice(0,1),n=this._i18n("uicommon","schedule_abbre_wed").slice(0,1),o=this._i18n("uicommon","schedule_abbre_thu").slice(0,1),s=this._i18n("uicommon","schedule_abbre_fri").slice(0,1),r=this._i18n("uicommon","schedule_abbre_sat").slice(0,1);return 6===this.startWeekDay?[r,e,t,i,n,o,s]:1===this.startWeekDay?[t,i,n,o,s,r,e]:[e,t,i,n,o,s,r]},dates(){const e=[],t=xR(new Date),i=xR(sT(this)||this.activeDate),n=xR(this.activeDate),o=SR(n),s=function(e){LP(1,arguments);var t=AP(e),i=t.getMonth();return t.setFullYear(t.getFullYear(),i+1,0),t.setHours(23,59,59,999),t}(n),r=(o.getDay()-this.startWeekDay+7)%7,a=function(e,t){LP(2,arguments);var i=DP(t);return kR(e,-i)}(o,r);let l=0;for(let r=0;r<6;r++)for(let r=0;r<7;r++){const r=kR(a,l),d=_R(r,n),c=!this._isDisableDate(r),u=_R(r,i),h=_R(r,t),p=IR(r,{start:o,end:s}),f=IR(r,{start:TR(t),end:DR(t)}),m={time:r.getTime(),text:r.getDate(),date:r,cellClass:{"this-week":f},dateClass:{active:d,enabled:c,disabled:!c,selected:u,today:h,"other-month":!p}};e.push(m),l++}return e},today(){return this.getDateTimeByOnlyDate(xR(new Date))},hourOptions(){return this.enableHour24?new Array(24).fill(0).map(((e,t)=>({label:`${t}`,value:t}))):new Array(12).fill(0).map(((e,t)=>({label:`${t+1}`,value:(t+1)%12})))},minuteOptions:()=>new Array(60).fill(0).map(((e,t)=>({label:`${t}`.padStart(2,"0"),value:t}))),ampmOptions:()=>[{label:"AM",value:"am"},{label:"PM",value:"pm"}],maxHour24or12(){return this.enableHour24?24:12},activeHour:{get(){const e=sT(this);return e?e.getHours()%this.maxHour24or12:0},set(e){const t=this.enableHour24||"am"===this.activeAmPm?e:e+12,i=xR(this.activeDate);i.setHours(t),i.setMinutes(this.activeMinute),this._emitDate(i)}},activeMinute:{get(){const e=sT(this);return e?e.getMinutes():0},set(e){const t=AP(this.activeDate);t.setMinutes(e),this._emitDate(t)}},activeAmPm:{get(){const e=sT(this);return e?e.getHours()<12?"am":"pm":"am"},set(e){if(this.enableHour24)return;const t=AP(this.activeDate),i="am"===e?this.activeHour:this.activeHour+12;t.setHours(i),t.setMinutes(this.activeMinute),this._emitDate(t)}},yearActiveIndex(){return this.years.findIndex((e=>this.activeDate.getFullYear()===e.year))},monthActiveIndex(){return this.activeDate.getMonth()},hasResetButton(){return!this.allowBlank&&this.showTime&&this.showResetButton},hasClearButton(){return this.allowBlank&&this.showClearButton},dotsSet(){return new Set(this.dateDots.map((e=>xR(e).getTime())))},isTodayDisabled(){return oa(this.todayDisabled)?this.todayDisabled:this._isDisableDate(this.today)}},watch:{isOpen:{handler(e){!0===e?this.mountToContainer():this.closeDropdowns()},immediate:!0},[rT()]:{immediate:!0,handler(e){const t=new Date,i=e||t;this.activeDate=this.showTime?i:xR(i)}}},methods:{_isDisableDate(e){return!(ia(this.isDisableDate)?!this.isDisableDate(e):IR(e,{start:this.minTime,end:this.maxTime}))},getWeekNumber:e=>function(e,t){LP(1,arguments);var i=AP(e),n=TR(i,t).getTime()-AR(i,t).getTime();return Math.round(n/ER)+1}(e),getYearBtn(){return this.$refs.yearBtn},getMonthBtn(){return this.$refs.monthBtn},_emitDate(e){let t=e;t&&(this.maxTime&&(t=t<this.maxTime?t:this.maxTime),this.minTime&&(t=t>this.minTime?t:this.minTime),this.showTime||(t=xR(t))),Nc(this,"update:model-value",t),Nc(this,"change",t)},focusDatePickerTable(){this.$refs.datePicker.focus()},getExtraElements(){return[this.$refs.hourSelect,this.$refs.minuteSelect,this.$refs.ampmSelect,this.$refs.yearMenu,this.$refs.monthMenu]},umountFromContainer(){const e=this.getContainerEl();e&&e.removeChild(this.$el)},closeDropdowns(){this.showYear=!1,this.showMonth=!1},tryClose(){this.close()},close(){Nc(this,"update:is-open",!1)},getAriaLabelMonthBtnFromOffset(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const t=MR(this.activeDate,e),i=this.months[t.getMonth()].text;return`${t.getFullYear()} ${i}`},getLongDateString(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return`${this.activeDate.getFullYear()} ${this.months[this.activeDate.getMonth()].text} ${e.text}`},getDateSynoId(e){let t=this.dates[e].time;return`${this.synoId}-${t}`},getDateTimeByOnlyDate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;if(!this.showTime)return e;const t=this.enableHour24||"am"===this.activeAmPm?this.activeHour:this.activeHour+12;return e.setHours(t),e.setMinutes(this.activeMinute),e.setSeconds(0),e.setMilliseconds(0),e},onYearSelect(e){this.selectYear(e)},onYearMenuClose(){this.$refs.yearBtn?.focus(),this.showYear=!1},onMonthSelect(e){this.selectMonth(e)},onMonthMenuClose(){this.$refs.monthBtn?.focus(),this.showMonth=!1},closeYearPicker(){this.showYear=!1},focusYearPickerButton(){this.$refs.yearBtn?.focus()},toggleYearPicker(e){this.showYear=!this.showYear},closeMonthPicker(){this.showMonth=!1},focusMonthPickerButton(){this.$refs.monthBtn?.focus()},toggleMonthPicker(e){this.showMonth=!this.showMonth},async onPrevMonthClick(){this.changeMonth(-1),await this.$nextTick(),this.$refs.prevMonthBtn.focus()},async onNextMonthClick(){this.changeMonth(1),await this.$nextTick(),this.$refs.nextMonthBtn.focus()},selectYear(e){isNaN(e)||(this.activeDate=function(e,t){LP(2,arguments);var i=AP(e),n=DP(t);return isNaN(i.getTime())?new Date(NaN):(i.setFullYear(n),i)}(this.activeDate,e))},selectMonth(e){isNaN(e)||(this.activeDate=function(e,t){LP(2,arguments);var i=AP(e),n=DP(t),o=i.getFullYear(),s=i.getDate(),r=new Date(0);r.setFullYear(o,n,15),r.setHours(0,0,0,0);var a=BR(r);return i.setMonth(n,Math.min(s,a)),i}(this.activeDate,e-1))},selectDate(e){const t=sT(this);if(this._isDisableDate(new Date(e))||t&&_R(t,e))return;const i=this.getDateTimeByOnlyDate(new Date(e));this._emitDate(i),Nc(this,"select-date",i),this.closeOnSelect&&this.tryClose()},selectDateByItem(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closeDropdowns(),this.selectDate(e.time)},selectActiveDateAndClose(){this.selectDate(this.activeDate)},selectToday(){this.selectMonth(this.today.getMonth()+1),this.selectYear(this.today.getFullYear()),this._isDisableDate(this.today)||this._emitDate(this.getDateTimeByOnlyDate(xR(this.today)))},changeDate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.activeDate=kR(this.activeDate,e)},changeMonth(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.activeDate=MR(this.activeDate,e)},changeYear(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.activeDate=function(e,t){LP(2,arguments);var i=DP(t);return MR(e,12*i)}(this.activeDate,e)},resetValue(){let e;this.originalValue&&(e=this.showTime?this.originalValue:xR(this.originalValue)),this._emitDate(e)},clearValue(){this._emitDate(void 0),this.close()},hasDot(e){return this.dotsSet.has(e)}}}),NR={class:"v-dt-date-panel"},RR={class:"v-dt-header"},HR={class:"v-dt-body"},zR={key:0,class:"v-dt-week-number"},WR=["aria-labelledby"],jR={class:"v-dt-table-head"},UR=["syno-id"],GR={class:"v-dt-weekday"},qR={class:"v-dt-table-body"},YR=["title","onClick"],KR=["id","syno-id","aria-label"],ZR={key:0,class:"dot"},JR={class:"v-dt-footer"},QR={class:"button-wrapper"},XR={class:"left"},eH={class:"right"},tH={key:0,class:"v-dt-time-wrapper"},iH={class:"v-dt-select-wrapper"},nH=ts("div",{class:"separator"},":",-1),oH=ts("div",{class:"separator empty"},null,-1);var sH=Rm(PR,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-menu-item"),l=Bi("v-menu"),d=Bi("v-portal"),c=Bi("v-button"),u=Bi("v-checkbox"),h=Bi("v-single-select"),p=Bi("v-trap-focus"),f=Fi("clickoutside"),m=Fi("syno-id");return Xi((jo(),Zo(p,{class:ne(e.dropdownCls),onMousedown:t[17]||(t[17]=e=>e.preventDefault())},{default:Ii((()=>[ts("div",NR,[ts("div",RR,[ts("div",{ref:"yearBtn",class:ne(["v-dt-year-picker",{expanded:e.showYear}]),role:"button",tabindex:"0","aria-haspopup":"listbox",onClick:t[0]||(t[0]=t=>e.toggleYearPicker(t)),onKeydown:t[1]||(t[1]=Ur(Wr((t=>e.toggleYearPicker(t)),["prevent"]),["enter"]))},[rs(ce(e.activeDate.getFullYear())+" ",1),is(r,hs({name:"date-picker-down"},e.innerDropdownIcon),null,16),e.showYear?(jo(),Zo(d,{key:0,alignment:"tl->bl","mount-to":e.getContainerEl(),anchor:e.$refs.yearBtn,"acquire-z-index":""},{default:Ii((()=>[Xi((jo(),Zo(l,{ref:"yearMenu","syno-id":`${e.synoId}-year-menu`,class:ne(["v-dt-inner-panel","year-panel"]),"trigger-action":{closeDropdown:e.closeYearPicker,focusTrigger:e.focusYearPickerButton},"use-scrollbar":"","close-on-select":"",height:212,width:"auto","auto-focus":e.yearActiveIndex,onMenuClose:e.onYearMenuClose},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.years,(t=>(jo(),Zo(a,{key:t.year,title:t.text.toString(),"syno-id":t.year.toString(),onClick:i=>e.onYearSelect(t.year)},null,8,["title","syno-id","onClick"])))),128))])),_:1},8,["syno-id","trigger-action","auto-focus","onMenuClose"])),[[f,e.closeYearPicker,e.getYearBtn]])])),_:1},8,["mount-to","anchor"])):ls("",!0)],34),ts("div",{ref:"monthBtn",class:ne(["v-dt-month-picker",{expanded:e.showMonth}]),role:"button",tabindex:"0","aria-haspopup":"listbox",onClick:t[2]||(t[2]=t=>e.toggleMonthPicker(t)),onKeydown:t[3]||(t[3]=Ur(Wr((t=>e.toggleMonthPicker(t)),["prevent"]),["enter"]))},[rs(ce(e.months[e.activeDate.getMonth()].text)+" ",1),is(r,hs({name:"date-picker-down"},e.innerDropdownIcon),null,16),e.showMonth?(jo(),Zo(d,{key:0,alignment:"tl->bl","mount-to":e.getContainerEl(),anchor:e.$refs.monthBtn,"acquire-z-index":""},{default:Ii((()=>[Xi((jo(),Zo(l,{ref:"monthMenu","syno-id":`${e.synoId}-month-menu`,class:ne(["v-dt-inner-panel","month-panel"]),"trigger-action":{closeDropdown:e.closeMonthPicker,focusTrigger:e.focusMonthPickerButton},"use-scrollbar":"","close-on-select":"",height:212,width:"auto","auto-focus":e.monthActiveIndex,onMenuClose:e.onMonthMenuClose},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.months,(t=>(jo(),Zo(a,{key:t.month,title:t.text.toString(),"syno-id":t.month.toString(),onClick:i=>e.onMonthSelect(t.month)},null,8,["title","syno-id","onClick"])))),128))])),_:1},8,["syno-id","trigger-action","auto-focus","onMenuClose"])),[[f,e.closeMonthPicker,e.getMonthBtn]])])),_:1},8,["mount-to","anchor"])):ls("",!0)],34),(jo(),Zo(r,{ref:"prevMonthBtn",key:`prev-month-${e.activeDate.getMonth()}`,name:"date-picker-left",class:"v-dt-prev-month-btn",role:"button",tabindex:"0","svg-icon-set":"set13","aria-label":e.ariaLabelLastMonth,onClick:e.onPrevMonthClick,onKeydown:Ur(Wr(e.onPrevMonthClick,["prevent"]),["enter","native"])},null,8,["aria-label","onClick","onKeydown"])),(jo(),Zo(r,{ref:"nextMonthBtn",key:`next-month-${e.activeDate.getMonth()}`,name:"date-picker-right",class:"v-dt-next-month-btn",role:"button",tabindex:"0","svg-icon-set":"set13","aria-label":e.ariaLabelNextMonth,onClick:e.onNextMonthClick,onKeydown:Ur(Wr(e.onNextMonthClick,["prevent"]),["enter","native"])},null,8,["aria-label","onClick","onKeydown"]))]),ts("div",HR,[e.showWeekNumber?(jo(),Ko("div",zR,[(jo(),Ko(Po,null,tn(5,(t=>ts("div",{key:t,class:"v-dt-week-number-cell",style:Q({"--row-start":t+1})},ce(e.getWeekNumber(e.dates[7*(t-1)].date)),5))),64))])):ls("",!0),ts("div",{ref:"datePicker",class:"v-dt-table",role:"grid",tabindex:"0","aria-labelledby":e.ariaLabelledby,onKeydown:[t[4]||(t[4]=Ur(Wr((t=>e.changeDate(-1)),["prevent"]),["left"])),t[5]||(t[5]=Ur(Wr((t=>e.changeDate(1)),["prevent"]),["right"])),t[6]||(t[6]=Ur(Wr((t=>e.changeDate(-7)),["prevent"]),["up"])),t[7]||(t[7]=Ur(Wr((t=>e.changeDate(7)),["prevent"]),["down"]))],onKeyup:t[8]||(t[8]=Ur(Wr((t=>e.selectActiveDateAndClose()),["prevent","stop"]),["enter"]))},[ts("div",jR,[(jo(!0),Ko(Po,null,tn(e.week,((t,i)=>(jo(),Ko("div",{key:i,"syno-id":`${e.synoId}-${t}`,class:"v-dt-table-head-cell"},[ts("div",GR,ce(t),1)],8,UR)))),128))]),ts("div",qR,[(jo(),Ko(Po,null,tn(5,(t=>(jo(),Ko(Po,{key:t},[e.dates.length>0?(jo(),Ko(Po,{key:0},tn(7,(i=>ts("div",{key:`date-${e.dates[7*(t-1)+i-1].time}`,class:ne(["v-dt-cell",e.dates[7*(t-1)+i-1].cellClass]),title:e.dates[7*(t-1)+i-1].title,onClick:n=>e.selectDateByItem(e.dates[7*(t-1)+i-1])},[rn(e.$slots,`date-${t}-${i}`,{},(()=>[ts("div",{id:`date-${e.dates[7*(t-1)+i-1].time}`,"syno-id":e.getDateSynoId(7*(t-1)+i-1),class:ne(["v-dt-date",e.dates[7*(t-1)+i-1].dateClass]),"aria-label":e.getLongDateString(e.dates[7*(t-1)+i-1])},[e.hasDot(e.dates[7*(t-1)+i-1].time)?(jo(),Ko("i",ZR)):ls("",!0),rs(" "+ce(e.dates[7*(t-1)+i-1].text),1)],10,KR)]))],10,YR))),64)):ls("",!0)],64)))),64))])],40,WR)])]),ts("div",JR,[ts("div",QR,[ts("div",XR,[e.showTodayButton?(jo(),Zo(c,{key:0,"syno-id":`${e.synoId}-today-btn`,disabled:e.isTodayDisabled,onClick:t[9]||(t[9]=Wr((t=>e.selectToday(t)),["stop"]))},{default:Ii((()=>[rs(ce(e.todayText||e._i18n("extlang","todayText")),1)])),_:1},8,["syno-id","disabled"])):ls("",!0)]),ts("div",eH,[e.hasResetButton?(jo(),Zo(c,{key:0,"syno-id":`${e.synoId}-reset-btn`,onClick:t[10]||(t[10]=Wr((t=>e.resetValue(t)),["stop"]))},{default:Ii((()=>[rs(ce(e.resetText||e._i18n("common","reset")),1)])),_:1},8,["syno-id"])):e.hasClearButton?(jo(),Zo(c,{key:1,"syno-id":`${e.synoId}-clear-btn`,onClick:t[11]||(t[11]=Wr((t=>e.clearValue(t)),["stop"]))},{default:Ii((()=>[rs(ce(e.clearText||e._i18n("common","clean")),1)])),_:1},8,["syno-id"])):ls("",!0)])]),e.showTime?(jo(),Ko("div",tH,[e.timeOptional?(jo(),Zo(u,{key:0,"syno-id":`${e.synoId}-time-checkbox`,value:e.timeChecked,"model-value":e.timeChecked,onInput:t[12]||(t[12]=t=>e.$emit("update:time-checked",t)),"onUpdate:modelValue":t[13]||(t[13]=t=>e.$emit("update:time-checked",t))},{default:Ii((()=>[rs(ce(e.addTimeText||e._i18n("uicommon","add_time")),1)])),_:1},8,["syno-id","value","model-value"])):ls("",!0),ts("div",iH,[is(h,{ref:"hourSelect",modelValue:e.activeHour,"onUpdate:modelValue":t[14]||(t[14]=t=>e.activeHour=t),"syno-id":`${e.synoId}-hour-select`,name:"hour",editable:"",options:e.hourOptions,"force-selection":"",class:ne({"enable-24hr":e.enableHour24}),disabled:e.timeOptional&&!e.timeChecked,"custom-dropdown-cls":"v-dt-inner-select-menu","use-adaptive-container":e.useAdaptiveContainer},null,8,["modelValue","syno-id","options","class","disabled","use-adaptive-container"]),nH,is(h,{ref:"minuteSelect",modelValue:e.activeMinute,"onUpdate:modelValue":t[15]||(t[15]=t=>e.activeMinute=t),"syno-id":`${e.synoId}-min-select`,name:"minute",editable:"","force-selection":"",options:e.minuteOptions,class:ne({"enable-24hr":e.enableHour24}),disabled:e.timeOptional&&!e.timeChecked,"custom-dropdown-cls":"v-dt-inner-select-menu","use-adaptive-container":e.useAdaptiveContainer},null,8,["modelValue","syno-id","options","class","disabled","use-adaptive-container"]),e.enableHour24?ls("",!0):(jo(),Ko(Po,{key:0},[oH,is(h,{ref:"ampmSelect",modelValue:e.activeAmPm,"onUpdate:modelValue":t[16]||(t[16]=t=>e.activeAmPm=t),"syno-id":`${e.synoId}-ampm-select`,name:"ampm",readonly:"true",options:e.ampmOptions,disabled:e.timeOptional&&!e.timeChecked,"custom-dropdown-cls":"v-dt-inner-select-menu","use-adaptive-container":e.useAdaptiveContainer},null,8,["modelValue","syno-id","options","disabled","use-adaptive-container"])],64))])])):ls("",!0)])])),_:3},8,["class"])),[[m]])}]]);class rH extends Error{constructor(e){super("Async Validation Error"),this.errors=e}}wg("date-picker-calendar",fI);const aH=on({name:"DatePicker",directives:{clickoutside:$m},components:{vIcon:bg,vPortal:Hh,vDatePickerMenu:sH},mixins:[Bc,wu,La("date-picker"),Sm,Cg],props:{...X$(sH.props,["isOpen","timeChecked"]),[rT()]:{type:Date,default:void 0},timeOptional:{type:Boolean,default:!0},showTime:{type:Boolean,default:!1},defaultTimeChecked:{type:Boolean,default:!1},placeholder:{type:String,default:()=>""},dateFormat:{type:String,default:cP[0]},timeFormat:{type:String,default:uP[0]},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},name:{type:String,default:void 0},align:{type:String,default:void 0},dropdownOffset:{type:Array,default:()=>{}},showResetButton:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showTodayButton:{type:Boolean,default:!0},dateDots:{type:Array,default:()=>[]},closeOnSelect:{type:Boolean,default:void 0}},emits:["change","select-date","text-changed","update:model-value","input","menu-shown","menu-hidden"],data(){return{show:!1,isFocused:!1,timeChecked:this.defaultTimeChecked,label:void 0,validateByField:{event:"text-changed"}}},computed:{innerValue(){return sT(this)},_closeOnSelect(){return oa(this.closeOnSelect)?this.closeOnSelect:!this.showTime},isTimeVisible(){return this.showTime&&(this.timeOptional&&this.timeChecked||!this.timeOptional)},wrapCls(){return Ya(this,"input")?["v-dt-picker"]:["v-dt-picker v-select2-wrapper",{disabled:this.disabled},{focused:this.isFocused},{pressed:this.show}]},inputCls:()=>["v-dt-input"],innerMinTime(){const e=[];if(this.yearsRange){const t=new Date(this.yearsRange[0],0,1);e.push(t)}if(this.minTime){const t=xR(this.minTime);e.push(t)}return new Date(Math.max(...e.map((e=>e.getTime()))))},innerMaxTime(){const e=[];if(this.yearsRange){const t=new Date(this.yearsRange[1]+1,0,0);e.push(t)}if(this.maxTime){const t=function(e){LP(1,arguments);var t=AP(e);return t.setHours(23,59,59,999),t}(this.maxTime);e.push(t)}return new Date(Math.min(...e.map((e=>e.getTime()))))},innerAlignment(){(ca(this.align)||ca(this.dropdownOffset))&&th("The prop 'align', 'dropdownOffset' is deprecated, please use 'alignment' instead.");let e=ca(this.align)?this.align:this.getPopupConfigValue("alignment");return ta(this.alignment)&&(e={pos:e}),gm(e,{offset:this.dropdownOffset})}},watch:{show:{async handler(e){!0===e?(Nc(this,"menu-shown"),await this.$nextTick(),this.$refs.dropdown.focusDatePickerTable()):(Nc(this,"menu-hidden"),this.$refs.input&&this.$refs.input.focus())},immediate:!0},[rT()]:{handler(e){this.updateLabel()},immediate:!0},isTimeVisible:{handler(e){this.updateLabel()},immediate:!0},dateFormat:{handler(e){this.updateLabel()}},timeFormat:{handler(e){this.updateLabel()}}},mounted(){this.editable&&this.showTime&&ih("Cannot set `editable` with `showTime` together, this is violate ux guideline",this)},methods:{onClick(){this.editable||this.toggleDialog()},updateLabel(){this.innerValue?this.label=this.isTimeVisible?bR(this.innerValue,this.dateFormat,this.timeFormat):wR(this.innerValue,this.dateFormat):this.label=""},getExtraElements(){return[this.$refs.dropdown]},selectInput(){this.$refs.input&&this.$refs.input.select()},toggleDialog(){this.show?this.closeDialog():this.openDialog()},openDialog(){this.show=!0},closeDialog(){this.show=!1},updateDialogOpenState(e){this.show=e},onInput(e){this.show&&this.closeDialog(),Nc(this,"text-changed",e)},register(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},unregister(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},parseString(e){return KN(e,this.dateFormat,this.isTimeVisible?this.timeFormat:void 0)},onBlur(e){const t=Wu(e);this.isFocused=!1;let i=null;this.$refs.dropdown&&this.$refs.dropdown.$el.contains(t)||this.$el.contains(t)||!this.$refs.input||this.label&&(i=this.parseString(this.label),!1===i)||(Nc(this,"update:model-value",i),Nc(this,"change",i))},validate(e){const t=this.$refs.input&&this.$refs.input.value;if(!t){if(this.allowBlank)return;throw new rH([{message:Sa(this._i18n("extlang","fieldblank"),this.$refs.input.value,this.dateFormat)}])}const i=this.parseString(t);if(!1===i)throw new rH([{message:Sa(this._i18n("extlang","invaliddate"),this.$refs.input.value,this.dateFormat)}]);if(i.getTime()<this.innerMinTime.getTime())throw new rH([{message:Sa(this._i18n("error","error_invalid_min_date"),wR(this.innerMinTime,this.dateFormat))}]);if(i.getTime()>this.innerMaxTime.getTime())throw new rH([{message:Sa(this._i18n("error","error_invalid_max_date"),wR(this.innerMaxTime,this.dateFormat))}])}}}),lH={class:"input-wrapper"},dH=["disabled","readonly","name","placeholder"],cH={class:"suffix-wrapper"};var uH=Rm(aH,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-date-picker-menu"),l=Bi("v-portal"),d=Fi("syno-id"),c=Fi("clickoutside");return Xi((jo(),Ko("div",{class:ne(e.wrapCls)},[ts("div",lH,[rn(e.$slots,"input",{label:e.label,toggleDialog:e.toggleDialog},(()=>[Xi(ts("input",{ref:"input","onUpdate:modelValue":t[0]||(t[0]=t=>e.label=t),class:ne(["v-select2-input select-input",e.inputCls]),disabled:e.disabled,readonly:!e.editable,name:e.name,placeholder:e.placeholder,onClick:t[1]||(t[1]=function(){return e.onClick&&e.onClick(...arguments)}),onInput:t[2]||(t[2]=function(){return e.onInput&&e.onInput(...arguments)}),onKeyup:t[3]||(t[3]=Ur(Wr((t=>e.toggleDialog()),["prevent"]),["down"])),onFocus:t[4]||(t[4]=t=>e.isFocused=!0),onBlur:t[5]||(t[5]=function(){return e.onBlur&&e.onBlur(...arguments)})},null,42,dH),[[Pr,e.label],[d]]),ts("span",cH,[is(r,{name:"date-picker-calendar",class:"v-dt-dropdown-icon v-select2-dropdown-icon","svg-icon-set":"set12",disabled:e.disabled,onClick:t[6]||(t[6]=t=>!e.disabled&&e.toggleDialog())},null,8,["disabled"])])]))]),e.show?(jo(),Zo(l,{key:0,"mount-to":e.getContainerEl(),"acquire-z-index":"",alignment:e.innerAlignment,anchor:e.$el},{default:Ii((()=>[is(a,{ref:"dropdown","use-adaptive-container":e.useAdaptiveContainer,"popup-container":e.popupContainer,"syno-id":`${e.synoId}-menu`,"time-checked":e.timeChecked,"enable-hour24":e.enableHour24,"time-optional":e.timeOptional,"today-text":e.todayText,"reset-text":e.resetText,"add-time-text":e.addTimeText,"clear-text":e.clearText,"allow-blank":e.allowBlank,"show-time":e.showTime,"max-time":e.innerMaxTime,"min-time":e.innerMinTime,"years-range":e.yearsRange,"model-value":e.innerValue,value:e.innerValue,"show-clear-button":e.showClearButton,"show-reset-button":e.showResetButton,"show-today-button":e.showTodayButton,"date-dots":e.dateDots,"is-disable-date":e.isDisableDate,"today-disabled":e.todayDisabled,"close-on-select":e._closeOnSelect,"show-week-number":e.showWeekNumber,"onUpdate:timeChecked":t[7]||(t[7]=t=>e.timeChecked=t),onInput:t[8]||(t[8]=t=>e.$emit("input",t)),"onUpdate:modelValue":t[9]||(t[9]=t=>e.$emit("update:model-value",t)),onChange:t[10]||(t[10]=t=>e.$emit("change",t)),onSelectDate:t[11]||(t[11]=t=>e.$emit("select-date",t)),onKeydown:Ur(Wr(e.closeDialog,["prevent"]),["native","esc"]),"onUpdate:isOpen":e.updateDialogOpenState},null,8,["use-adaptive-container","popup-container","syno-id","time-checked","enable-hour24","time-optional","today-text","reset-text","add-time-text","clear-text","allow-blank","show-time","max-time","min-time","years-range","model-value","value","show-clear-button","show-reset-button","show-today-button","date-dots","is-disable-date","today-disabled","close-on-select","show-week-number","onKeydown","onUpdate:isOpen"])])),_:1},8,["mount-to","alignment","anchor"])):ls("",!0)],2)),[[c,e.closeDialog,void 0,{children:!0}]])}]]),hH=on({name:"DragTarget",props:{getDragZone:{type:Function,default:void 0},payload:{type:Object,default:()=>({})},dragProps:{type:Object,default:()=>({})},autoScrollElement:{type:[Boolean,HTMLElement],default:!1},draggingId:{type:String,default:`dragging-${PD()}`}},emits:["drag-enter","drag-over","drag-out","drag","before-drag","before-drop","before-drag-out","before-drag-over","before-drag-enter","drop","valid-drop","invalid-drop","start-drag","end-drag"],computed:{mergedDragProps(){var e=this;return gm({onDragEnter:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"drag-enter",...i)},onDragOver:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"drag-over",...i)},onDragOut:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"drag-out",...i)},onDrag:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"drag",...i)},onBeforeDrag:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"before-drag",...i)},onBeforeDrop:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"before-drop",...i)},onBeforeDragOut:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"before-drag-out",...i)},onBeforeDragOver:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"before-drag-over",...i)},onBeforeDragEnter:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"before-drag-enter",...i)},onDrop:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"drop",...i)},onValidDrop:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"valid-drop",...i)},onInvalidDrop:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"invalid-drop",...i)},startDrag:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"start-drag",...i)},endDrag:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"end-drag",...i)},ghostCls:"v-dd-target",getTargetContent:()=>this.$el.outerHTML,draggingId:this.draggingId},this.dragProps)}},async mounted(){this.createDDTarget()},[Pa](){this.removeDDTarget()},methods:{getDragTarget(){return this.ddTarget},createDDTarget(){this.$el&&(this.ddTarget=new this.$DragDropTarget(this.$el,this.mergedDragProps,this.payload),this.$ddm.registerDragTarget(this.ddTarget),this.getDragZone&&this.autoRegisterDragZone(),!0===this.autoScrollElement?this.autoRegisterScrollElement():pa(this.autoScrollElement)&&this.setAutoScrollElement(this.autoScrollElement))},autoRegisterDragZone(){const e=this.getDragZone?.();e&&this.registerDragZone(e)},autoRegisterScrollElement(){const e=function(e){let t=e;for(;t;){if(document.documentElement===t||Qu(t))return t;t=t.parentNode}return t}(this.$el);this.setAutoScrollElement(e)},removeDDTarget(){this.ddTarget&&(this._destroyFn?.(),delete this.ddTarget)},registerDragZone(e){const t=e.getDragZone?.()??e;this._destroyFn=this.ddTarget.registerDragZone(t)},setAutoScrollElement(e){this.ddTarget.setAutoScrollElement(e)}},render(){return PL(Ka(this)?.default?.())}}),pH=on({name:"DragZone",props:{payload:{type:Object,default:()=>({})},dragProps:{type:Object,default:()=>({})},draggingId:{type:String,default:`dragging-${PD()}`}},emits:["enter","drop","over","out","valid-drop","invalid-drop"],computed:{mergedDragProps(){var e=this;return gm({notifyEnter:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"enter",...i)},notifyDrop:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"drop",...i)},notifyOver:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"over",...i)},notifyOut:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"out",...i)},notifyValidDrop:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"valid-drop",...i)},notifyInvalidDrop:function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];Nc(e,"invalid-drop",...i)},draggingId:this.draggingId},this.dragProps)}},mounted(){this.createDragZone()},[Pa](){this.removeDragZone()},methods:{createDragZone(){this.dragZone=new this.$DragZone(this.$el,this.mergedDragProps,this.payload),this._destroyFn=this.$ddm.registerDragZone(this.dragZone)},removeDragZone(){this._destroyFn?.(),delete this.dragZone},getDragZone(){return this.dragZone}},render(){return PL(Ka(this)?.default?.())}});function fH(e,t,i){let n=e;const o=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].find((e=>ia(n[e])))??"";if(!o)return!1;do{if(n[o](t))return!0;if(n===i)return!1;n=n.parentNode}while(n);return!1}function mH(e,t,i){e&&(e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener?e.addEventListener(t,i,!0):e["on"+t]=i)}function gH(e,t,i){e&&(e.detachEvent?e.detachEvent("on"+t,i):e.removeEventListener?e.removeEventListener(t,i,!0):e["on"+t]=null)}function vH(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return[Math.round(t/n/e[0])*e[0],Math.round(i/n/e[1])*e[1]]}function yH(e,t,i){return null!==t&&e<t?t:null!==i&&i<e?i:e}const bH={start:"touchstart",move:"touchmove",stop:"touchend"},wH={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},CH={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"};let xH={move:"mousemove",stop:"mouseup"};const SH=on({name:"DraggableResizable",props:{className:{type:String,default:"vdr"},classNameDraggable:{type:String,default:"draggable"},classNameResizable:{type:String,default:"resizable"},classNameDragging:{type:String,default:"dragging"},classNameResizing:{type:String,default:"resizing"},classNameActive:{type:String,default:"active"},classNameHandle:{type:String,default:"v-handle"},disableUserSelect:{type:Boolean,default:!0},enableNativeDrag:{type:Boolean,default:!1},preventDeactivation:{type:Boolean,default:!1},active:{type:Boolean,default:!1},draggable:{type:Boolean,default:!0},resizable:{type:Boolean,default:!0},lockAspectRatio:{type:Boolean,default:!1},w:{type:Number,default:200,validator:e=>e>0},h:{type:Number,default:200,validator:e=>e>0},minWidth:{type:Number,default:0,validator:e=>e>=0},minHeight:{type:Number,default:0,validator:e=>e>=0},maxWidth:{type:Number,default:null,validator:e=>e>=0},maxHeight:{type:Number,default:null,validator:e=>e>=0},x:{type:Number,default:0,validator:e=>"number"==typeof e},y:{type:Number,default:0,validator:e=>"number"==typeof e},z:{type:[String,Number],default:"auto",validator:e=>"string"==typeof e?"auto"===e:e>=0},handles:{type:Array,default:()=>["tl","tm","tr","mr","br","bm","bl","ml"],validator:e=>{const t=new Set(["tl","tm","tr","mr","br","bm","bl","ml"]);return new Set(e.filter((e=>t.has(e)))).size===e.length}},dragHandle:{type:String,default:null},dragCancel:{type:String,default:null},axis:{type:String,default:"both",validator:e=>["x","y","both"].includes(e)},grid:{type:Array,default:()=>[1,1]},parent:{type:[Boolean,String],default:!1},onDragStart:{type:Function,default:null},onResizeStart:{type:Function,default:null}},emits:["update:active","dragging","resizing","resizestop","dragstop","activated","deactivated"],data(){return{left:this.x,top:this.y,right:null,bottom:null,width:null,height:null,aspectFactor:null,parentWidth:null,parentHeight:null,minW:this.minWidth,minH:this.minHeight,maxW:this.maxWidth,maxH:this.maxHeight,handle:null,enabled:this.active,resizing:!1,dragging:!1,zIndex:this.z}},computed:{style(){return{transform:`translate(${this.left}px, ${this.top}px)`,width:`${this.width}px`,height:`${this.height}px`,zIndex:this.zIndex,...this.dragging&&this.disableUserSelect?wH:CH}},actualHandles(){return this.resizable?this.handles:[]},resizingOnX(){return Boolean(this.handle)&&(this.handle.includes("l")||this.handle.includes("r"))},resizingOnY(){return Boolean(this.handle)&&(this.handle.includes("t")||this.handle.includes("b"))},isCornerHandle(){return Boolean(this.handle)&&["tl","tr","br","bl"].includes(this.handle)}},watch:{active(e){this.enabled=e,Nc(this,e?"activated":"deactivated")},z(e){(e>=0||"auto"===e)&&(this.zIndex=e)},x(){if(this.resizing||this.dragging)return;this.parent&&(this.bounds=this.calcDragLimits());const e=this.x-this.left;e%this.grid[0]==0&&(this.left=this.x,this.right=this.right-e)},y(){if(this.resizing||this.dragging)return;this.parent&&(this.bounds=this.calcDragLimits());const e=this.y-this.top;e%this.grid[1]==0&&(this.top=this.y,this.bottom=this.bottom-e)},lockAspectRatio(e){this.aspectFactor=e?this.width/this.height:void 0},minWidth(e){e>0&&e<=this.width&&(this.minW=e)},minHeight(e){e>0&&e<=this.height&&(this.minH=e)},maxWidth(e){this.maxW=e},maxHeight(e){this.maxH=e},w(){if(this.resizing||this.dragging)return;this.parent&&(this.bounds=this.calcResizeLimits());const e=this.width-this.w;e%this.grid[0]==0&&(this.right=this.right+e)},h(){if(this.resizing||this.dragging)return;this.parent&&(this.bounds=this.calcResizeLimits());const e=this.height-this.h;e%this.grid[1]==0&&(this.bottom=this.bottom+e)}},created:function(){this.resetBoundsAndMouseState()},mounted(){this.enableNativeDrag||(this.$el.ondragstart=()=>!1);const[e,t]=this.getParentSize();this.parentWidth=e,this.parentHeight=t;const[i,n]=function(e){const t=window.getComputedStyle(e);return[parseFloat(t.getPropertyValue("width")),parseFloat(t.getPropertyValue("height"))]}(this.$el);this.aspectFactor=("auto"!==this.w?this.w:i)/("auto"!==this.h?this.h:n),this.width="auto"!==this.w?this.w:i,this.height="auto"!==this.h?this.h:n,this.right=this.parentWidth-this.width-this.left,this.bottom=this.parentHeight-this.height-this.top,mH(document.documentElement,"mousedown",this.deselect),mH(document.documentElement,"touchend",this.deselect),mH(document.documentElement,"touchcancel",this.deselect),mH(window,"resize",this.checkParentSize)},[Pa](){gH(document.documentElement,"mousedown",this.deselect),gH(document.documentElement,"touchstart",this.handleUp),gH(document.documentElement,"mousemove",this.move),gH(document.documentElement,"touchmove",this.move),gH(document.documentElement,"mouseup",this.handleUp),gH(document.documentElement,"tochend",this.deselect),gH(document.documentElement,"touchcancel",this.deselect),gH(window,"resize",this.checkParentSize)},methods:{resetBoundsAndMouseState(){this.mouseClickPosition={mouseX:0,mouseY:0,x:0,y:0,w:0,h:0,top:0,left:0},this.bounds={minLeft:null,maxLeft:null,minRight:null,maxRight:null,minTop:null,maxTop:null,minBottom:null,maxBottom:null}},checkParentSize(){if(this.parent){const[e,t]=this.getParentSize();this.right=e-this.width-this.left,this.bottom=t-this.height-this.top,this.parentWidth=e,this.parentHeight=t}},getParentSize(){if(!0===this.parent){const e=this.$el.parentNode,t=window.getComputedStyle(e,null);let i=parseInt(t.getPropertyValue("width"),10),n=parseInt(t.getPropertyValue("height"),10);return i=isNaN(i)?e.offsetWidth:i,n=isNaN(n)?e.offsetHeight:n,[i,n]}if("string"==typeof this.parent){const e=document.querySelector(this.parent);if(!(e instanceof HTMLElement))throw new Error(`The selector ${this.parent} does not match any element`);return[e.offsetWidth,e.offsetHeight]}return[null,null]},elementTouchDown(e){xH=bH,this.elementDown(e)},elementDown(e){const t=e.target||e.srcElement;if(this.$el.contains(t)){if(this.onDragStart&&!1===this.onDragStart(e))return;if(this.dragHandle&&!fH(t,this.dragHandle,this.$el)||this.dragCancel&&fH(t,this.dragCancel,this.$el))return void(this.dragging=!1);this.enabled||(this.enabled=!0,Nc(this,"activated"),Nc(this,"update:active",!0)),this.draggable&&(this.dragging=!0),this.mouseClickPosition.mouseX=e.touches?e.touches[0].pageX:e.pageX,this.mouseClickPosition.mouseY=e.touches?e.touches[0].pageY:e.pageY,this.mouseClickPosition.left=this.left,this.mouseClickPosition.right=this.right,this.mouseClickPosition.top=this.top,this.mouseClickPosition.bottom=this.bottom,this.mouseClickPosition.w=this.width,this.mouseClickPosition.h=this.height,this.parent&&(this.bounds=this.calcDragLimits()),mH(document.documentElement,xH.move,this.move),mH(document.documentElement,xH.stop,this.handleUp)}},calcDragLimits(){return{minLeft:this.left%this.grid[0],maxLeft:Math.floor((this.parentWidth-this.width-this.left)/this.grid[0])*this.grid[0]+this.left,minRight:this.right%this.grid[0],maxRight:Math.floor((this.parentWidth-this.width-this.right)/this.grid[0])*this.grid[0]+this.right,minTop:this.top%this.grid[1],maxTop:Math.floor((this.parentHeight-this.height-this.top)/this.grid[1])*this.grid[1]+this.top,minBottom:this.bottom%this.grid[1],maxBottom:Math.floor((this.parentHeight-this.height-this.bottom)/this.grid[1])*this.grid[1]+this.bottom}},deselect(e){const t=e.target||e.srcElement,i=new RegExp(this.className+"-([trmbl]{2})","");this.$el.contains(t)||i.test(t.className)||(this.enabled&&!this.preventDeactivation&&(this.enabled=!1,Nc(this,"deactivated"),Nc(this,"update:active",!1)),gH(document.documentElement,xH.move,this.handleResize))},handleTouchDown(e,t){xH=bH,this.handleDown(e,t)},handleDown(e,t){this.onResizeStart&&!1===this.onResizeStart(e,t)||(t.stopPropagation&&t.stopPropagation(),this.handle=e,this.resizing=!0,this.mouseClickPosition.mouseX=t.touches?t.touches[0].pageX:t.pageX,this.mouseClickPosition.mouseY=t.touches?t.touches[0].pageY:t.pageY,this.mouseClickPosition.left=this.left,this.mouseClickPosition.right=this.right,this.mouseClickPosition.top=this.top,this.mouseClickPosition.bottom=this.bottom,this.mouseClickPosition.w=this.width,this.mouseClickPosition.h=this.height,this.bounds=this.calcResizeLimits(),mH(document.documentElement,xH.move,this.handleResize),mH(document.documentElement,xH.stop,this.handleUp))},calcResizeLimits(){let e=this.minW,t=this.minH,i=this.maxW,n=this.maxH;const o=this.aspectFactor,[s,r]=this.grid,a=this.width,l=this.height,d=this.left,c=this.top,u=this.right,h=this.bottom;this.lockAspectRatio&&(e/t>o?t=e/o:e=o*t,i&&n?(i=Math.min(i,o*n),n=Math.min(n,i/o)):i?n=i/o:n&&(i=o*n)),i-=i%s,n-=n%r;const p={minLeft:null,maxLeft:null,minTop:null,maxTop:null,minRight:null,maxRight:null,minBottom:null,maxBottom:null},f=this.handle.endsWith("l"),m=this.handle.endsWith("r"),g=this.handle.startsWith("t"),v=this.handle.startsWith("b");return this.parent?(p.minLeft=(this.parentWidth+d)%s,p.maxLeft=d+Math.floor((a-e)/s)*s,p.minTop=(this.parentHeight+c)%r,p.maxTop=c+Math.floor((l-t)/r)*r,p.minRight=(this.parentWidth+u)%s,p.maxRight=u+Math.floor((a-e)/s)*s,p.minBottom=(this.parentHeight+h)%r,p.maxBottom=h+Math.floor((l-t)/r)*r,i&&(p.minLeft=Math.max(p.minLeft,this.parentWidth-u-i),p.minRight=Math.max(p.minRight,this.parentWidth-d-i)),n&&(p.minTop=Math.max(p.minTop,this.parentHeight-h-n),p.minBottom=Math.max(p.minBottom,this.parentHeight-c-n)),this.lockAspectRatio&&(f&&v?(p.minLeft=Math.max(p.minLeft,d-(h-p.minBottom)*o),p.minBottom=0):(p.minLeft=Math.max(p.minLeft,d-c*o),p.minBottom=Math.max(p.minBottom,h-u/o)),g&&m?(p.minRight=Math.max(p.minRight,u-(c-p.minTop)*o),p.minTop=0):(p.minRight=Math.max(p.minRight,u-h*o),p.minTop=Math.max(p.minTop,c-d/o)))):(p.minLeft=null,p.maxLeft=d+Math.floor((a-e)/s)*s,p.minTop=null,p.maxTop=c+Math.floor((l-t)/r)*r,p.minRight=null,p.maxRight=u+Math.floor((a-e)/s)*s,p.minBottom=null,p.maxBottom=h+Math.floor((l-t)/r)*r,i&&(p.minLeft=-(u+i),p.minRight=-(d+i)),n&&(p.minTop=-(h+n),p.minBottom=-(c+n)),this.lockAspectRatio&&i&&n&&(p.minLeft=Math.min(p.minLeft,-(u+i)),p.minTop=Math.min(p.minTop,-(n+h)),p.minRight=Math.min(p.minRight,-d-i),p.minBottom=Math.min(p.minBottom,-c-n))),p},move(e){this.resizing?this.handleResize(e):this.dragging&&this.handleDrag(e)},handleDrag(e){const t=this.axis,i=this.bounds,n=this.mouseClickPosition,o=t&&"y"!==t?n.mouseX-(e.touches?e.touches[0].pageX:e.pageX):0,s=t&&"x"!==t?n.mouseY-(e.touches?e.touches[0].pageY:e.pageY):0,[r,a]=vH(this.grid,o,s);if(!r&&!a)return;const l=yH(n.left-r,i.minLeft,i.maxLeft),d=yH(n.top-a,i.minTop,i.maxTop),c=yH(n.right+r,i.minRight,i.maxRight),u=yH(n.bottom+a,i.minBottom,i.maxBottom);this.left=l,this.top=d,this.right=c,this.bottom=u,Nc(this,"dragging",this.left,this.top)},handleResize(e){let t=this.left,i=this.top,n=this.right,o=this.bottom;const s=this.mouseClickPosition,r=this.aspectFactor,a=s.mouseX-(e.touches?e.touches[0].pageX:e.pageX),l=s.mouseY-(e.touches?e.touches[0].pageY:e.pageY),[d,c]=vH(this.grid,a,l);this.handle.includes("b")?(o=yH(s.bottom+c,this.bounds.minBottom,this.bounds.maxBottom),this.lockAspectRatio&&this.resizingOnY&&this.handle.includes("m")&&(n=this.right-(this.bottom-o)*r)):this.handle.includes("t")&&(i=yH(s.top-c,this.bounds.minTop,this.bounds.maxTop),this.lockAspectRatio&&this.resizingOnY&&this.handle.includes("m")&&(t=this.left-(this.top-i)*r)),this.handle.includes("r")?(n=yH(s.right+d,this.bounds.minRight,this.bounds.maxRight),this.lockAspectRatio&&this.resizingOnX&&(this.handle.includes("t")?i=yH(this.top-(this.right-n)/r,this.bounds.minTop,this.bounds.maxTop):o=this.bottom-(this.right-n)/r)):this.handle.includes("l")&&(t=yH(s.left-d,this.bounds.minLeft,this.bounds.maxLeft),this.lockAspectRatio&&this.resizingOnX&&(this.handle.includes("b")?o=yH(this.bottom-(this.left-t)/r,this.bounds.minBottom,this.bounds.maxBottom):i=this.top-(this.left-t)/r));const u=function(e,t,i){return e-t-i}(this.parentWidth,t,n),h=function(e,t,i){return e-t-i}(this.parentHeight,i,o);this.left=t,this.top=i,this.right=n,this.bottom=o,this.width=u,this.height=h,this.$emit("resizing",this.left,this.top,this.width,this.height)},handleUp(e){this.handle=null,this.resetBoundsAndMouseState(),this.resizing&&(this.resizing=!1,Nc(this,"resizestop",this.left,this.top,this.width,this.height)),this.dragging&&(this.dragging=!1,Nc(this,"dragstop",this.left,this.top)),gH(document.documentElement,xH.move,this.handleResize)}}}),kH=["onMousedown","onTouchstart"];var _H=Rm(SH,[["render",function(e,t,i,n,o,s){const r=Fi("syno-id");return Xi((jo(),Ko("div",{style:Q(e.style),class:ne([{[e.classNameActive]:e.enabled,[e.classNameDragging]:e.dragging,[e.classNameResizing]:e.resizing,[e.classNameDraggable]:e.draggable,[e.classNameResizable]:e.resizable},e.className]),onMousedown:t[0]||(t[0]=function(){return e.elementDown&&e.elementDown(...arguments)}),onTouchstart:t[1]||(t[1]=function(){return e.elementTouchDown&&e.elementTouchDown(...arguments)})},[(jo(!0),Ko(Po,null,tn(e.actualHandles,(t=>(jo(),Ko("div",{key:t,class:ne([e.classNameHandle,e.classNameHandle+"-"+t]),style:Q({display:e.enabled?"block":"none"}),onMousedown:Wr((i=>e.handleDown(t,i)),["stop","prevent"]),onTouchstart:Wr((i=>e.handleTouchDown(t,i)),["stop","prevent"])},[rn(e.$slots,t)],46,kH)))),128)),rn(e.$slots,"default")],38)),[[r]])}]]);wg("edit-menu-more",J_);const IH=on({name:"EditMenuItem",components:{vIcon:bg},mixins:[Cg],props:{hasMore:{type:Boolean,default:!1}},emits:["click"],data:()=>({}),computed:{wrapperCls(){return["v-edit-menu-item",{"has-more":this.hasMore}]}},methods:{onClick(e){Nc(this,"click",e)}}}),TH={class:"edit-menu-text"},DH={key:0,class:"more-btn-wrapper"};var LH=Rm(IH,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon");return jo(),Ko("div",{class:ne(e.wrapperCls),onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)})},[ts("span",TH,[rn(e.$slots,"default")]),e.hasMore?(jo(),Ko("div",DH,[is(r,{size:"thin-rect",name:"edit-menu-more","svg-icon-set":"set02"})])):ls("",!0)],2)}]]);const AH=on({name:"EditMenu",components:{vEditMenuItem:LH,vScrollbar:wD},mixins:[La("edit-menu")],props:{items:{type:Array,default:()=>[]}},emits:["click-item","switch-items"],data:()=>({reachRight:!1,reachLeft:!1,innerItems:[]}),computed:{wrapperCls:()=>["v-edit-menu"]},watch:{items:{handler(e){this.innerItems=e},immediate:!0}},methods:{useSlot(e){if(ca(e.useSlot))return Boolean(e.useSlot)},getSlot:e=>e.useSlot,onReachRight(e){this.reachRight=e},onReachLeft(e){this.reachLeft=e},onReachCenter(){this.reachRight=!1,this.reachLeft=!1},onClickItem(e){e.subItems&&(this.innerItems=e.subItems),Nc(this,"click-item",e),Nc(this,"switch-items",e.subItems)}}}),EH={key:0,class:"prev-filter gradient-filter"},MH={key:1,class:"next-filter gradient-filter"};var BH=Rm(AH,[["render",function(e,t,i,n,o,s){const r=Bi("v-edit-menu-item"),a=Bi("v-scrollbar");return e.innerItems.length>0?(jo(),Ko("div",{key:0,class:ne(e.wrapperCls)},[is(a,{"show-x-rail":!1,"inner-class":"edit-menu-scrollbar-inner",onReachRight:t[0]||(t[0]=t=>e.onReachRight(!0)),onReachLeft:t[1]||(t[1]=t=>e.onReachLeft(!0)),onNotReachRight:t[2]||(t[2]=t=>e.onReachRight(!1)),onNotReachLeft:t[3]||(t[3]=t=>e.onReachLeft(!1))},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.innerItems,(t=>(jo(),Ko(Po,null,[e.useSlot(t)?rn(e.$slots,e.getSlot(t),{key:0}):(jo(),Zo(r,{key:t.value,"has-more":Boolean(t.subItems),onClick:i=>e.onClickItem(t)},{default:Ii((()=>[rs(ce(t.display),1)])),_:2},1032,["has-more","onClick"]))],64)))),256))])),_:3}),e.reachLeft?ls("",!0):(jo(),Ko("i",EH)),e.reachRight?ls("",!0):(jo(),Ko("i",MH))],2)):ls("",!0)}]]),OH=on({name:"EmptyView",components:{vIcon:bg,vSpace:QA,vButton:RA},mixins:[Bc,Cg],props:{icon:{type:Object,default:()=>({name:"empty-view-default",sprite:!0})},iconClass:{type:String,default:""},text:{type:String,default:void 0},hideText:{type:Boolean,default:!1},actionText:{type:String,default:void 0},hideIcon:{type:Boolean,default:!1},hideAction:{type:Boolean,default:!1},hideTitle:{type:Boolean,default:!0},actionBtnSuffix:{type:String,default:"main"}},emits:["action-click"],computed:{innerText(){return this.text??this._i18n("common","no_item")},innerActionText(){return this.actionText??this._i18n("common","create")}},methods:{onActionClick(e){Nc(this,"action-click",e)}}});const $H={class:"v-empty-view"},FH={class:"v-empty-view-box"},VH={key:1,class:"v-empty-view-title"},PH={key:2,class:"v-empty-view-text"},NH={key:3,class:"v-empty-view-action"};var RH=Rm(OH,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-button"),l=Bi("v-space");return jo(),Ko("div",$H,[ts("div",FH,[e.hideIcon?ls("",!0):(jo(),Zo(r,hs({key:0},e.icon,{class:["v-empty-view-icon",e.iconClass]}),null,16,["class"])),e.hideTitle?ls("",!0):(jo(),Ko("div",VH,[rn(e.$slots,"title")])),e.hideText?ls("",!0):(jo(),Ko("p",PH,[rn(e.$slots,"default",{},(()=>[rs(ce(e.innerText),1)]))])),e.hideAction?ls("",!0):(jo(),Ko("div",NH,[is(l,{spacing:"dense"},{default:Ii((()=>[rn(e.$slots,"action",{},(()=>[is(a,{"syno-id":`${e.synoId}-default-button`,suffix:e.actionBtnSuffix,onClick:e.onActionClick},{default:Ii((()=>[rs(ce(e.innerActionText),1)])),_:1},8,["syno-id","suffix","onClick"])]))])),_:3})]))])])}]]);wg("expandable-item-up",DI),wg("expandable-item-down",TI);var HH=on({name:"ExpandableItem",components:{vSlideUpDownTransition:UM,vIcon:bg},directives:{tooltip:lg},mixins:[Cg],props:{icon:{type:[String,Boolean],default:!1},statusIcon:{type:[String,Boolean],default:!1},statusIconCls:{type:String,default:void 0},summary:{type:[String,Object],default:void 0},summaryStatus:{type:String,default:void 0},summaryStatusTip:{type:[String,Object],default:void 0},title:{type:[String,Object],default:void 0},titleTip:{type:[String,Object],default:void 0},desc:{type:String,default:void 0},descTip:{type:[String,Object],default:void 0},enableTitleTip:{type:Boolean,default:!1},enableStatusTip:{type:Boolean,default:!1},expanded:{type:Boolean,default:!0},expandable:{type:Boolean,default:void 0},disabled:{type:[Object,Boolean],default:!1}},emits:["change","update:expanded"],data:()=>({innerExpanded:!1}),computed:{innerStatusIcon(){return this.statusIconCls&&eh("statusIconCls","statusIcon",this),this.statusIcon??this.statusIconCls},disabledExpand(){return na(this.disabled)?!1===(this.disabled.allowExpand??!1):!0===this.disabled},deprecatedSummary(){if(this.summaryStatus||this.summaryStatusTip||this.enableStatusTip){eh("summaryStatus","summary",this),eh("summaryStatusTip","summary",this),eh("enableStatusTip","summary",this);const e=!!this.enableStatusTip&&(this.summaryStatusTip??this.summaryStatus);return{text:this.summaryStatus,format:"text",tip:e}}return null},wrapCls(){return["v-expandable-item","item-wrap",{"item-expanded":this.innerExpanded,"item-collapsed":!this.innerExpanded,"disabled-detail":Boolean(this.disabled),"disabled-all":this.disabledExpand}]},toggleCls(){return{expanded:this.innerExpanded}},innerTitle(){return na(this.title)?this.title?.text:this.title},innerTitleFormat(){return na(this.title)?this.title?.text??"text":"text"},innerTitleTip(){if(!na(this.title))return!1;const e=!0===this.title.tip?this.innerTitle:this.title.tip;return!!e&&(na(e)?e:{content:e,overflowOnly:!0})},innerSummary(){return this.deprecatedSummary?this.deprecatedSummary:this.summary},innerSummaryFormat(){return na(this.innerSummary)?this.innerSummary?.format??"text":"text"},innerSummaryText(){return na(this.innerSummary)?this.innerSummary?.text:this.innerSummary},innerSummaryTip(){if(!na(this.innerSummary))return!1;const e=!0===this.innerSummary.tip?this.innerSummaryText:this.innerSummary.tip;return!!e&&(na(e)?e:{content:e,overflowOnly:!0})},innerExpandable(){return this.expandable??this.hasDetailSlot()}},watch:{expanded:{handler(e){this.disabledExpand?this.innerExpanded=!1:this.innerExpanded=e},immediate:!0},disabledExpand(e){e&&(this.innerExpanded=!1)}},methods:{onDblClick(){this.toggleItem()},hasDetailSlot(){return Ya(this,"detail")},toggleItem(){this.innerExpandable&&!this.disabledExpand&&(this.innerExpanded=!this.innerExpanded,Nc(this,"update:expanded",this.innerExpanded))},onKeyDown(e){(pu(e)||su(e))&&(e.preventDefault(),this.toggleItem())}}});const zH={class:"item-summary"},WH={class:"icon-wrapper"},jH={class:"main-wrapper"},UH={class:"title-wrapper"},GH=["innerHTML"],qH=["textContent"],YH={class:"item-status-wrapper"},KH=["innerHTML"],ZH=["textContent"],JH={key:0,ref:"detail",class:"item-detail"};var QH=Rm(HH,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-slide-up-down-transition"),l=Fi("tooltip"),d=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapCls),tabindex:"-1",onDblclick:t[1]||(t[1]=function(){return e.onDblClick&&e.onDblClick(...arguments)}),onKeypress:t[2]||(t[2]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)})},[ts("div",zH,[ts("div",WH,[rn(e.$slots,"icon",{},(()=>[e.icon?(jo(),Zo(r,{key:0,class:"item-icon",name:e.icon,"svg-icon-set":"set06",disabled:Boolean(e.disabled)},{default:Ii((()=>[rn(e.$slots,"icon-status",{},(()=>[e.innerStatusIcon?(jo(),Zo(r,{key:0,class:"item-status-icon",name:e.innerStatusIcon,"svg-icon-set":"set02"},null,8,["name"])):ls("",!0)]))])),_:3},8,["name","disabled"])):ls("",!0)]))]),ts("div",jH,[ts("div",UH,[rn(e.$slots,"title",{},(()=>["html"===e.innerTitleFormat?Xi((jo(),Ko("span",{key:0,class:"item-title",innerHTML:e.innerTitle},null,8,GH)),[[l,e.innerTitleTip]]):Xi((jo(),Ko("span",{key:1,class:"item-title",textContent:ce(e.innerTitle)},null,8,qH)),[[l,e.innerTitleTip]]),rn(e.$slots,"label")]))]),ts("div",YH,[rn(e.$slots,"status",{},(()=>["html"===e.innerSummaryFormat?Xi((jo(),Ko("div",{key:0,class:"item-status",innerHTML:e.innerSummaryText},null,8,KH)),[[l,e.innerSummaryTip]]):Xi((jo(),Ko("div",{key:1,class:"item-status",textContent:ce(e.innerSummaryText)},null,8,ZH)),[[l,e.innerSummaryTip]])]))])]),rn(e.$slots,"block"),e.innerExpandable?(jo(),Ko("div",{key:0,class:ne(["toggle-wrapper",e.toggleCls]),onClick:t[0]||(t[0]=Wr((function(){return e.toggleItem&&e.toggleItem(...arguments)}),["stop"]))},[rn(e.$slots,"toggle-icon",{},(()=>[is(r,{class:"item-toggle-img",name:e.innerExpanded?"expandable-item-up":"expandable-item-down",disabled:Boolean(e.disabledExpand),"svg-icon-set":"set33"},null,8,["name","disabled"])]))],2)):ls("",!0)]),is(a,null,{default:Ii((()=>[e.innerExpanded&&e.hasDetailSlot()?(jo(),Ko("div",JH,[rn(e.$slots,"detail")],512)):ls("",!0)])),_:3})],34)),[[d]])}]]);wg("fieldset-chevron-up",xI),wg("fieldset-chevron-down",mI);const XH={CLICK:"click",DBLCLICK:"dblclick",NONE:"none"},ez=on({name:"Fieldset",components:{vSlideUpDownTransition:UM,vLayout:qL,vIcon:bg},mixins:[Cg],props:{layoutOrder:{type:Number,default:0},prefixCls:{type:String,default:"v-fieldset"},collapsible:{type:Boolean,default:!0},collapseTriggerEvent:{type:String,default:XH.CLICK,validator:e=>Object.values(XH).includes(e)},collapseIcon:{type:String,default:"left",validator:e=>["left","none"].includes(e)},collapsed:{type:Boolean,default:!1},title:{type:[String,Object],default:""},titleHtml:{type:String,default:void 0}},emits:["collapsestatechange","update:collapsed","beforebodyenter","afterbodyenter","beforebodyleave","afterbodyleave","header-click","header-dblclick"],data(){return{isCollapsed:this.collapsed}},computed:{titleWrapperCls(){return[`${this.prefixCls}-title-wrapper`]},titleFormat(){return ca(this.titleHtml)?(eh("titleHtml","title",this),"html"):na(this.title)?this.title.format??"text":"text"},innerTitle(){return ca(this.titleHtml)?(eh("titleHtml","title",this),this.titleHtml):na(this.title)?this.title.text:this.title},fieldsetCls(){return[this.prefixCls,{collapsible:this.collapsible,collapsed:this.isCollapsed}]},iconName(){return this.isCollapsed?"fieldset-chevron-down":"fieldset-chevron-up"}},watch:{collapsed(e){this.isCollapsed=e}},methods:{onClick(){this.$emit("header-click"),this.collapseTriggerEvent===XH.CLICK&&this.toggleCollapse()},onDblClick(){this.$emit("header-dblclick"),this.collapseTriggerEvent===XH.DBLCLICK&&this.toggleCollapse()},toggleCollapse(){this.collapsible&&(this.isCollapsed=!this.isCollapsed,this.$emit("collapsestatechange",this.isCollapsed),this.$emit("update:collapsed",this.isCollapsed))},onBeforeEnter(e){this.$emit("beforebodyenter",e)},onAfterEnter(e){this.$emit("afterbodyenter",e)},onBeforeLeave(e){this.$emit("beforebodyleave",e)},onAfterLeave(e){this.$emit("afterbodyleave",e)}}}),tz=["innerHTML"],iz=["textContent"];var nz=Rm(ez,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-layout"),l=Bi("v-slide-up-down-transition");return jo(),Zo(a,{class:ne(e.fieldsetCls),role:"group","aria-label":e.innerTitle,tabindex:"0",type:"fieldset",order:e.layoutOrder},{default:Ii((()=>[ts("div",{class:ne(e.titleWrapperCls),onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)}),onDblclick:t[1]||(t[1]=function(){return e.onDblClick&&e.onDblClick(...arguments)})},[rn(e.$slots,"collapse-icon",{},(()=>[e.collapsible&&"none"!==e.collapseIcon?(jo(),Zo(r,{key:0,class:"v-fieldset-collapse-icon",name:e.iconName,"svg-icon-set":"set15"},null,8,["name"])):ls("",!0)])),rn(e.$slots,"title",{},(()=>["html"===e.titleFormat?(jo(),Ko("div",{key:0,class:ne(e.prefixCls+"-title"),innerHTML:e.innerTitle},null,10,tz)):(jo(),Ko("div",{key:1,class:ne(e.prefixCls+"-title"),textContent:ce(e.innerTitle)},null,10,iz))]))],34),is(l,{"syno-id":`${e.prefixCls}-slide-up-down`},{default:Ii((()=>[Xi(is(a,{ref:"body",class:ne(e.prefixCls+"-body"),type:"fieldset-body"},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["class"]),[[lr,!e.isCollapsed]])])),_:3},8,["syno-id"])])),_:3},8,["class","aria-label","order"])}]]);wg("file-button-upload",MI);const oz=on({name:"FileButton",directives:{tooltip:lg},components:{vButton:RA,vInput:_O,vIcon:bg},mixins:[Wc,Bc,wu,Cg],props:{buttonOnly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},fileName:{type:[String,Array],default:void 0},accept:{type:String,default:""},webkitdirectory:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},display:{type:String,default:"input-button",validator:e=>["input-button","input-icon","icon-in-input","button","icon"].includes(e)},icon:{type:[String,Object],default:"file-button-upload"},tooltip:{type:Function,default:void 0},placeholder:{type:String,default:void 0},clearable:{type:Boolean,default:!1}},emits:["change","files","update:file-name"],data:()=>({prefixCls:"v-file-btn",files:[],valueKey:"fileName"}),computed:{innerIcon(){return na(this.icon)?this.icon:{name:this.icon,svgIconSet:"set01"}},textFieldCls(){return["file-textfield",{"icon-in-input":this.isIconInInput,clearable:this.clearable}]},fileButtonWrapperCls(){return[this.prefixCls,{disabled:this.disabled,custom:"custom"===this.display}]},displayText(){return fa(this.fileName)?this.fileName.length?Sa(this._i18n("uicommon","files_selected"),this.fileName.length):"":this.fileName},buttonDisplay(){return"input-icon"===this.display||"icon"===this.display?"icon":"text"},hasButton(){return"input-button"===this.display||"input-icon"===this.display||"button"===this.display||"icon"===this.display},hasInput(){return"input-button"===this.display||"input-icon"===this.display||"icon-in-input"===this.display},isIconInInput(){return"icon-in-input"===this.display},hasCustom(){return"custom"===this.display}},methods:{getTip(){const e=fa(this.fileName)?this.fileName:this.fileName?[this.fileName]:[];return 0!==e.length&&(this.tooltip?this.tooltip(this.files):{content:e.join(`${this._i18n("common","comma")} `)})},getFile(){const e=this.getFileList();return e?e[0]:null},getFileList(){return this.files},onClick(){this.disabled||this.$refs.fileInput.click()},onClear(){this.files=[],Nc(this,"change",""),Nc(this,"files",this.files)},onFileChange(e){this.files=[...e.target.files],this.$refs.fileInput.value=null;const t=this.files.map((e=>e.name));Nc(this,"files",this.files),this.multiple?(Nc(this,"change",t),Nc(this,"update:file-name",t)):(Nc(this,"change",t[0]),Nc(this,"update:file-name",t[0]))}}}),sz=["accept","multiple","webkitdirectory"];var rz=Rm(oz,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-input"),l=Bi("v-button"),d=Fi("syno-id"),c=Fi("tooltip");return Xi((jo(),Ko("div",{class:ne(e.fileButtonWrapperCls)},[e.hasCustom?rn(e.$slots,"custom",{key:0,openFileBrowser:e.onClick}):ls("",!0),e.hasInput?(jo(),Zo(a,{key:1,name:"file-button",class:ne(e.textFieldCls),placeholder:e.placeholder,"model-value":e.displayText,value:e.displayText,"syno-id":`${e.synoId}-input`,clearable:e.clearable,readonly:"",disabled:e.disabled,onClick:t[0]||(t[0]=t=>e.isIconInInput&&e.onClick()),onClear:e.onClear},nn({_:2},[e.isIconInInput?{name:"suffix-icons",fn:Ii((()=>[is(r,oe(os(e.innerIcon)),null,16)])),key:"0"}:void 0]),1032,["class","placeholder","model-value","value","syno-id","clearable","disabled","onClear"])):ls("",!0),ts("input",{ref:"fileInput",class:"file-input",type:"file",accept:e.accept,multiple:e.multiple,webkitdirectory:e.webkitdirectory,onChange:t[1]||(t[1]=function(){return e.onFileChange&&e.onFileChange(...arguments)})},null,40,sz),e.hasButton?(jo(),Zo(l,{key:2,disabled:e.disabled,"syno-id":`${e.synoId}-btn`,display:e.buttonDisplay,onClick:e.onClick},{icon:Ii((()=>["icon"===e.buttonDisplay?(jo(),Zo(r,oe(hs({key:0},e.innerIcon)),null,16)):ls("",!0)])),default:Ii((()=>["text"===e.buttonDisplay?(jo(),Ko(Po,{key:0},[rs(ce(e._i18n("uicommon","browse")),1)],64)):ls("",!0)])),_:1},8,["disabled","syno-id","display","onClick"])):ls("",!0)],2)),[[d],[c,e.getTip()]])}]]);const az="horizontal";var lz=Rm(on({name:"Form",components:{vLayout:qL},mixins:[La("form")],props:{flex:{type:[Boolean,String],default:!1},layoutOrder:{type:Number,default:0},model:{type:Object,default:()=>({})},rules:{type:Object,default:()=>({})},direction:{type:[Object,String],default:()=>({xxs:"vertical",xxxl:az})},validateMessageDisplayMode:{type:String,validator:e=>["popup","text"].includes(e),default:"popup"}},emits:["submit","validated","form.removeField","form.addField"],data:()=>({prefix:"v-form",fields:[],controllers:[]}),computed:{innerDirection(){return na(this.direction)?this.$breakpointManager?this.$breakpointManager.getSuitableValue(this.direction):(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),az):this.direction},wrapClasses(){return{[this.prefix]:!0,[`${this.prefix}-${this.innerDirection}`]:!0}}},watch:{async rules(e,t){wa(e,t)||await this.validate()}},created(){Vc(this,"form.addField",(e=>{e&&this.addField(e)})),Vc(this,"form.removeField",(e=>{e&&this.removeField(e)}))},methods:{addField(e){return this.fields.push(e),()=>this.removeField(e)},removeField(e){this.fields=Da(this.fields,e)},addFormController(e){return this.controllers.push(e),()=>Da(this.controllers,e)},register(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},unregister(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},onSubmit(e){Nc(this,"submit",e)},findField(e){if(!e)return null;for(let t of this.fields)if(t.prop===e)return t;return null},resetFields(){for(const e of this.controllers)e.resetField?.();this.fields.forEach((e=>{e.inFormController?.()||e.resetField()}))},async validate(e){let{autoScroll:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=await Promise.all(this.fields.map((async t=>({error:await(t?.validate?.(e)),field:t})))),n=i.find((e=>e.error));return t&&n&&n.field&&(n.field.ensureVisible(),n.field.showPopup()),Nc(this,"validated",{valid:!n,errResults:i}),!n},async validateField(e){const t=this.fields.find((t=>t.prop===e));if(!t)throw new Error("must call validateField with valid prop string!");await t.validate("")},isDirty(){let e=!1;for(const t of this.controllers)e=e||t.isDirty?.();return e||this.fields.some((e=>!e.isInTable?.()&&(ia(e.isDirty)?e.isDirty():e.isDirty)))},commit(){for(const e of this.controllers)e.commit?.();this.fields.forEach((e=>{e.commit()}))},focusNextField(){!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.activeElement;const i=lL(e),n=t?i.indexOf(t):-1,o=i[n+1];o&&uL(o)}(this.$el)},focusPrevField(){!function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.activeElement;const i=lL(e),n=t?i.indexOf(t):-1,o=i[n-1];o&&uL(o)}(this.$el)}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-layout"),a=Fi("syno-id");return Xi((jo(),Zo(r,{tag:"form",class:ne(e.wrapClasses),type:"form",order:e.layoutOrder,onSubmit:Wr(e.onSubmit,["prevent"])},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["class","order","onSubmit"])),[[a]])}]]);function dz(){return dz=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},dz.apply(this,arguments)}function cz(e){return cz=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},cz(e)}function uz(e,t){return uz=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},uz(e,t)}function hz(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function pz(e,t,i){return pz=hz()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return i&&uz(o,i.prototype),o},pz.apply(null,arguments)}function fz(e){var t="function"==typeof Map?new Map:void 0;return fz=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return pz(e,arguments,cz(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),uz(n,e)},fz(e)}var mz=/%[sdj%]/g;function gz(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var i=e.field;t[i]=t[i]||[],t[i].push(e)})),t}function vz(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=1,o=t[0],s=t.length;if("function"==typeof o)return o.apply(null,t.slice(1));if("string"==typeof o){var r=String(o).replace(mz,(function(e){if("%%"===e)return"%";if(n>=s)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(e){return"[Circular]"}break;default:return e}}));return r}return o}function yz(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function bz(e,t,i){var n=0,o=e.length;!function s(r){if(r&&r.length)i(r);else{var a=n;n+=1,a<o?t(e[a],s):i([])}}([])}var wz=function(e){var t,i;function n(t,i){var n;return(n=e.call(this,"Async Validation Error")||this).errors=t,n.fields=i,n}return i=e,(t=n).prototype=Object.create(i.prototype),t.prototype.constructor=t,uz(t,i),n}(fz(Error));function Cz(e,t,i,n){if(t.first){var o=new Promise((function(t,o){var s=function(e){var t=[];return Object.keys(e).forEach((function(i){t.push.apply(t,e[i])})),t}(e);bz(s,i,(function(e){return n(e),e.length?o(new wz(e,gz(e))):t()}))}));return o.catch((function(e){return e})),o}var s=t.firstFields||[];!0===s&&(s=Object.keys(e));var r=Object.keys(e),a=r.length,l=0,d=[],c=new Promise((function(t,o){var c=function(e){if(d.push.apply(d,e),++l===a)return n(d),d.length?o(new wz(d,gz(d))):t()};r.length||(n(d),t()),r.forEach((function(t){var n=e[t];-1!==s.indexOf(t)?bz(n,i,c):function(e,t,i){var n=[],o=0,s=e.length;function r(e){n.push.apply(n,e),++o===s&&i(n)}e.forEach((function(e){t(e,r)}))}(n,i,c)}))}));return c.catch((function(e){return e})),c}function xz(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"==typeof t?t():t,field:t.field||e.fullField}}}function Sz(e,t){if(t)for(var i in t)if(t.hasOwnProperty(i)){var n=t[i];"object"==typeof n&&"object"==typeof e[i]?e[i]=dz({},e[i],n):e[i]=n}return e}function kz(e,t,i,n,o,s){!e.required||i.hasOwnProperty(e.field)&&!yz(t,s||e.type)||n.push(vz(o.messages.required,e.fullField))}var _z={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Iz={integer:function(e){return Iz.number(e)&&parseInt(e,10)===e},float:function(e){return Iz.number(e)&&!Iz.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"==typeof e&&!Iz.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(_z.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(_z.url)},hex:function(e){return"string"==typeof e&&!!e.match(_z.hex)}};var Tz="enum";var Dz={required:kz,whitespace:function(e,t,i,n,o){(/^\s+$/.test(t)||""===t)&&n.push(vz(o.messages.whitespace,e.fullField))},type:function(e,t,i,n,o){if(e.required&&void 0===t)kz(e,t,i,n,o);else{var s=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(s)>-1?Iz[s](t)||n.push(vz(o.messages.types[s],e.fullField,e.type)):s&&typeof t!==e.type&&n.push(vz(o.messages.types[s],e.fullField,e.type))}},range:function(e,t,i,n,o){var s="number"==typeof e.len,r="number"==typeof e.min,a="number"==typeof e.max,l=t,d=null,c="number"==typeof t,u="string"==typeof t,h=Array.isArray(t);if(c?d="number":u?d="string":h&&(d="array"),!d)return!1;h&&(l=t.length),u&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),s?l!==e.len&&n.push(vz(o.messages[d].len,e.fullField,e.len)):r&&!a&&l<e.min?n.push(vz(o.messages[d].min,e.fullField,e.min)):a&&!r&&l>e.max?n.push(vz(o.messages[d].max,e.fullField,e.max)):r&&a&&(l<e.min||l>e.max)&&n.push(vz(o.messages[d].range,e.fullField,e.min,e.max))},enum:function(e,t,i,n,o){e[Tz]=Array.isArray(e[Tz])?e[Tz]:[],-1===e[Tz].indexOf(t)&&n.push(vz(o.messages[Tz],e.fullField,e[Tz].join(", ")))},pattern:function(e,t,i,n,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(vz(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||n.push(vz(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function Lz(e,t,i,n,o){var s=e.type,r=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t,s)&&!e.required)return i();Dz.required(e,t,n,r,o,s),yz(t,s)||Dz.type(e,t,n,r,o)}i(r)}var Az={string:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t,"string")&&!e.required)return i();Dz.required(e,t,n,s,o,"string"),yz(t,"string")||(Dz.type(e,t,n,s,o),Dz.range(e,t,n,s,o),Dz.pattern(e,t,n,s,o),!0===e.whitespace&&Dz.whitespace(e,t,n,s,o))}i(s)},method:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o),void 0!==t&&Dz.type(e,t,n,s,o)}i(s)},number:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(""===t&&(t=void 0),yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o),void 0!==t&&(Dz.type(e,t,n,s,o),Dz.range(e,t,n,s,o))}i(s)},boolean:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o),void 0!==t&&Dz.type(e,t,n,s,o)}i(s)},regexp:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o),yz(t)||Dz.type(e,t,n,s,o)}i(s)},integer:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o),void 0!==t&&(Dz.type(e,t,n,s,o),Dz.range(e,t,n,s,o))}i(s)},float:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o),void 0!==t&&(Dz.type(e,t,n,s,o),Dz.range(e,t,n,s,o))}i(s)},array:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(null==t&&!e.required)return i();Dz.required(e,t,n,s,o,"array"),null!=t&&(Dz.type(e,t,n,s,o),Dz.range(e,t,n,s,o))}i(s)},object:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o),void 0!==t&&Dz.type(e,t,n,s,o)}i(s)},enum:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o),void 0!==t&&Dz.enum(e,t,n,s,o)}i(s)},pattern:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t,"string")&&!e.required)return i();Dz.required(e,t,n,s,o),yz(t,"string")||Dz.pattern(e,t,n,s,o)}i(s)},date:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t,"date")&&!e.required)return i();var r;if(Dz.required(e,t,n,s,o),!yz(t,"date"))r=t instanceof Date?t:new Date(t),Dz.type(e,r,n,s,o),r&&Dz.range(e,r.getTime(),n,s,o)}i(s)},url:Lz,hex:Lz,email:Lz,required:function(e,t,i,n,o){var s=[],r=Array.isArray(t)?"array":typeof t;Dz.required(e,t,n,s,o,r),i(s)},any:function(e,t,i,n,o){var s=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(yz(t)&&!e.required)return i();Dz.required(e,t,n,s,o)}i(s)}};function Ez(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Mz=Ez();function Bz(e){this.rules=null,this._messages=Mz,this.define(e)}Bz.prototype={messages:function(e){return e&&(this._messages=Sz(Ez(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw new Error("Rules must be an object");var t,i;for(t in this.rules={},e)e.hasOwnProperty(t)&&(i=e[t],this.rules[t]=Array.isArray(i)?i:[i])},validate:function(e,t,i){var n=this;void 0===t&&(t={}),void 0===i&&(i=function(){});var o,s,r=e,a=t,l=i;if("function"==typeof a&&(l=a,a={}),!this.rules||0===Object.keys(this.rules).length)return l&&l(),Promise.resolve();if(a.messages){var d=this.messages();d===Mz&&(d=Ez()),Sz(d,a.messages),a.messages=d}else a.messages=this.messages();var c={};(a.keys||Object.keys(this.rules)).forEach((function(t){o=n.rules[t],s=r[t],o.forEach((function(i){var o=i;"function"==typeof o.transform&&(r===e&&(r=dz({},r)),s=r[t]=o.transform(s)),(o="function"==typeof o?{validator:o}:dz({},o)).validator=n.getValidationMethod(o),o.field=t,o.fullField=o.fullField||t,o.type=n.getType(o),o.validator&&(c[t]=c[t]||[],c[t].push({rule:o,value:s,source:r,field:t}))}))}));var u={};return Cz(c,a,(function(e,t){var i,n=e.rule,o=!("object"!==n.type&&"array"!==n.type||"object"!=typeof n.fields&&"object"!=typeof n.defaultField);function s(e,t){return dz({},t,{fullField:n.fullField+"."+e})}function r(i){void 0===i&&(i=[]);var r=i;if(Array.isArray(r)||(r=[r]),!a.suppressWarning&&r.length&&Bz.warning("async-validator:",r),r.length&&void 0!==n.message&&(r=[].concat(n.message)),r=r.map(xz(n)),a.first&&r.length)return u[n.field]=1,t(r);if(o){if(n.required&&!e.value)return void 0!==n.message?r=[].concat(n.message).map(xz(n)):a.error&&(r=[a.error(n,vz(a.messages.required,n.field))]),t(r);var l={};if(n.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(l[d]=n.defaultField);for(var c in l=dz({},l,e.rule.fields))if(l.hasOwnProperty(c)){var h=Array.isArray(l[c])?l[c]:[l[c]];l[c]=h.map(s.bind(null,c))}var p=new Bz(l);p.messages(a.messages),e.rule.options&&(e.rule.options.messages=a.messages,e.rule.options.error=a.error),p.validate(e.value,e.rule.options||a,(function(e){var i=[];r&&r.length&&i.push.apply(i,r),e&&e.length&&i.push.apply(i,e),t(i.length?i:null)}))}else t(r)}o=o&&(n.required||!n.required&&e.value),n.field=e.field,n.asyncValidator?i=n.asyncValidator(n,e.value,r,e.source,a):n.validator&&(!0===(i=n.validator(n,e.value,r,e.source,a))?r():!1===i?r(n.message||n.field+" fails"):i instanceof Array?r(i):i instanceof Error&&r(i.message)),i&&i.then&&i.then((function(){return r()}),(function(e){return r(e)}))}),(function(e){!function(e){var t,i=[],n={};function o(e){var t;Array.isArray(e)?i=(t=i).concat.apply(t,e):i.push(e)}for(t=0;t<e.length;t++)o(e[t]);i.length?n=gz(i):(i=null,n=null),l(i,n)}(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!Az.hasOwnProperty(e.type))throw new Error(vz("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),i=t.indexOf("message");return-1!==i&&t.splice(i,1),1===t.length&&"required"===t[0]?Az.required:Az[this.getType(e)]||!1}},Bz.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");Az[e]=t},Bz.warning=function(){},Bz.messages=Mz,Bz.validators=Az;var Oz=Bz;const $z=on({name:"Popup",mixins:[Sm,vm("popup","Tip")],props:{disable:{type:Boolean,default:!1},type:{type:String,default:"error"},content:{type:String,default:""},tipOptions:{type:Object,default:()=>({})}},data:()=>({isShow:!1}),computed:{innerTipOpts(){const e=this.getTipConfigValue("tipOptions");return{content:this.content,attachToElement:!0,offset:[0,0],align:"bl->tl",type:this.type,arrow:!0,disabled:this.disable,...e}}},methods:{showPopup(){this.$refs.tip?._svc_tooltip_e_show_cb?.()},hidePopup(){this.$refs.tip?._svc_tooltip_e_hide_cb?.()}}}),Fz={ref:"tip"};var Vz=Rm($z,[["render",function(e,t,i,n,o,s){const r=Fi("tooltip");return Xi((jo(),Ko("div",Fz,[rn(e.$slots,"default")])),[[r,e.innerTipOpts]])}]]),Pz=Rm(on({name:"Col",mixins:[Aa("grid"),Aa("row")],props:{flex:{type:[String,Number,Object],default:"none"}},computed:{layout(){return this.grid?.instance?"grid":!!this.row?.instance&&"row"},colStyle(){let e={};const t=na(this.flex)?this.$breakpointManager.getSuitableValue(this.flex):this.flex;return ra(t)||(e.flex=t),la(t)&&(e.width=t,e["flex-grow"]=0,e["flex-shrink"]=0),e},colCls(){let e=[];const t=na(this.flex)?this.$breakpointManager.getSuitableValue(this.flex):this.flex;return ra(t)?e.push(`v-col-${t}`):"auto"!==t&&"none"!==t||e.push(`v-col-${t}`),[{[`in-${this.layout}-layout`]:Boolean(this.layout)},"v-col",...e]}}}),[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:ne(e.colCls),style:Q(e.colStyle)},[rn(e.$slots,"default")],6)}]]);const Nz=on({name:"FormItem",components:{vPopup:Vz,withCol:NL(Pz)},mixins:[Bc,Wc,Aa("form-controller"),La("form-item"),Aa("form-multiple-item"),Aa("form")],props:{prop:{type:String,default:void 0},label:{type:String,default:void 0},disableLabel:{type:Boolean,default:!1},disableDescription:{type:Boolean,default:!1},validateDisabledField:{type:Boolean,default:!1},disableValidation:{type:Boolean,default:!1},hideValidateMessage:{type:Boolean,default:!1},hideValidateStatusCls:{type:Boolean,default:!1},rules:{type:[Object,Array],default:void 0},help:{type:String,default:void 0},validateStatus:{type:String,default:void 0},defaultValidateTrigger:{type:String,default:"blur"},immediateValidate:{type:Boolean,default:!1},showMessage:{type:Boolean,default:!0},hideLabel:{type:Boolean,default:!1},textonly:{type:Boolean,default:!1},indent:{type:[Number,String],default:0},validateDebouncedTimer:{type:Number,default:250},registerKey:{type:String,default:void 0},validateMessageDisplayMode:{type:String,validator:e=>["popup","text","form"].includes(e),default:"form"},fixInitialValue:{type:String,default:void 0},wrapperFlex:{type:[String,Number,Object],default:void 0},controlFlex:{type:[String,Number,Object],default:void 0},labelFlex:{type:[String,Number,Object],default:void 0}},emits:["validated","validating","update:model-value","form.register","form.unregister"],data(){return{field:null,unwatchers:null,formPrefix:"v-form",prefixCls:"v-form-item",innerValidateStatus:this.validateStatus,validateMessage:this.help,fieldDisabled:!1,validator:{},innerInitialValue:void 0,fieldValue:void 0,labelFor:"",isComposite:!1}},computed:{inFlexMultipleFormItem(){return this["form-multiple-item"]?.instance?.inFlexForm},inFlexForm(){return Boolean(this.form?.instance?.flex)},itemCls(){return[this.prefixCls,{"is-composite":this.isComposite,"hide-label":this.hideLabel,[`${this.prefixCls}-with-help`]:this.validateMessage}]},itemStyle(){return{"--indent":+this.indent}},labelCls(){return[`${this.prefixCls}-label`,{disabled:this.isFieldDisabled||this.disableLabel}]},innerHideLabel(){return!!this.hideLabel||"vertical"===this.form?.instance?.innerDirection&&!ca(this.label)&&!Ya(this,"label")},innerControlFlex(){return"vertical"!==this.form?.instance?.innerDirection&&(ca(this.controlFlex)?this.controlFlex:!!this.inFlexMultipleFormItem&&"auto")},innerLabelFlex(){return"vertical"!==this.form?.instance?.innerDirection&&!!ca(this.labelFlex)&&this.labelFlex},controlCls(){const e={error:"has-error",warning:"has-warning",success:"has-success",validating:"is-validating"}[this.innerValidateStatus];return[`${this.prefixCls}-control`,{[e]:e&&!this.hideValidateStatusCls,"v-form-displayfield":this.textonly}]},labelStyle(){return{...this.getFlexStyle(this.innerLabelFlex)}},controlStyle(){return{...this.getFlexStyle(this.innerControlFlex)}},isFieldDisabled(){return!!this.fieldDisabled},shouldValidate(){return!(this.disableValidation||!this.validateDisabledField&&this.isFieldDisabled)},isPopupDisabled(){return!(ca(this.validateMessage)&&""!==this.validateMessage)||this.hideValidateMessage||!this.shouldValidate||this.validateMessageTextMode},isDirty(){return!wa(this.innerInitialValue,this.fieldValue)},validateMessageTextMode(){return"text"==this.currentValidateDisdplayMode},currentValidateDisdplayMode(){return"form"!==this.validateMessageDisplayMode?this.validateMessageDisplayMode:this.form?.instance.validateMessageDisplayMode?this.form?.instance.validateMessageDisplayMode:"popup"},descriptionCls(){return{disabled:this.isFieldDisabled||this.disableDescription}}},watch:{fixInitialValue:{handler(e){this.innerInitialValue=e},immediate:!0},help(e){this.validateMessage=e,this.innerValidateStatus=e?"error":""},validateStatus(e){this.innerValidateStatus=e}},created(){var e=this;Vc(this,"form.register",this.onFieldRegister),Vc(this,"form.unregister",this.onFieldUnregister),this.validateDebounced=yD((function(t){for(var i=arguments.length,n=new Array(i>1?i-1:0),o=1;o<i;o++)n[o-1]=arguments[o];e.validate(t,...n)}),this.validateDebouncedTimer)},mounted(){this.dispatch("Form","form.addField",[this]),this["form-multiple-item"]&&(this.isComposite=this["form-multiple-item"].isComposite,this["form-multiple-item"].register(this))},[Pa](){this.dispatch("Form","form.removeField",[this]),this["form-multiple-item"]&&this["form-multiple-item"].unregister(this)},methods:{async showPopup(e){this.validateDebounced&&this.validateDebounced.cancel(),this.$refs.popup&&(this.setInvalid(e,"error"),await this.$nextTick(),this.$refs.popup.showPopup())},hidePopup(){this.validateDebounced&&this.validateDebounced.cancel(),this.$refs.popup&&this.$refs.popup.hidePopup()},async validate(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,n=null;if(this.validateDebounced&&this.validateDebounced.cancel(),this.innerValidateStatus="",n=this.getFilteredRule(e),i&&(n=n.concat(i)),!this.field||!this.field.validateByField){if(!this.prop)return this.validateMessage="",Nc(this,"validated",{message:this.validateMessage,status:this.innerValidateStatus}),this.validateMessage;if(!n||0===n.length||!this.shouldValidate)return this.validateMessage="",Nc(this,"validated",{message:this.validateMessage,status:this.innerValidateStatus}),this.validateMessage}this.innerValidateStatus="validating",Nc(this,"validating");try{if(this.field?.validateByField&&await(this.field?.validate?.(t?.event)),n.length>0){const e={[this.prop]:this.fieldValue},t=new Oz({[this.prop]:n});t.messages({required:()=>this._i18n("extlang","fieldblank"),whitespace:()=>this._i18n("extlang","fieldblank")}),await t.validate(e,{firstFields:!0,suppressWarning:!0})}this.innerValidateStatus="success",this.validateMessage=""}catch(e){if(!(e instanceof rH||/Async Validation Error/.test(e.message)))throw e;e.errors&&(this.innerValidateStatus="error",this.validateMessage=e.errors[0].message)}return Nc(this,"validated",{message:this.validateMessage,status:this.innerValidateStatus}),this.validateMessage},inFormController(){return Boolean(this["form-controller"])},resetField(){this.innerValidateStatus="",this.validateMessage="",this.field&&Nc(this.field,(this.field,"update:model-value"),this.innerInitialValue)},commit(){this["form-controller"]||(this.innerInitialValue=this.fieldValue)},getRules(){const e=this.form?.instance?.rules?.[this.prop]??[],t=this.rules??[];return[].concat(t).concat(e)},getFilteredRule(e){return this.getRules().filter((t=>{const i=t.trigger??this.defaultValidateTrigger;return!ca(e)||null===e||(fa(i)?i.some((t=>t.includes(e))):i.includes(e))}))},setInvalid(e,t){this.innerValidateStatus=t||"error",ca(e)&&(this.validateMessage=e)},ensureVisible(){zu(this.$el,{scrollMode:"if-needed"})},resetInvalid(){this.innerValidateStatus="",this.validateMessage=""},watchField(e){const t=e.valueKey??"modelValue",i=e.disabledKey??"disabled";this.field=e,this.labelFor=e.id,ca(this.fixInitialValue)||(this.innerInitialValue=e[t]),this.fieldValue=e[t];let n=[e.$watch(t,this.onFieldChange,{immediate:!0}),e.$watch(t,(e=>{this.onFieldShouldValidate(e,"change")}),{immediate:this.immediateValidate}),e.$watch(i,(e=>{this.onFieldDisable(e),(this.immediateValidate||e)&&this.onFieldShouldValidate(e,this.defaultValidateTrigger)}),{immediate:!0}),Vc(e,"blur",this.onFieldBlur),Vc(e,"keyup",this.onFieldKeyUp),Vc(e,"focus-next-field",this.onFocusNextField),Vc(e,"focus-prev-field",this.onFocusPreviousField)];e.validateByField&&n.push(Vc(e,e.validateByField.event,this.onFieldCustomEvent)),this.unwatchers=n},unwatchField(e){if(Pc(e,"blur",this.onFieldBlur),Pc(e,"keyup",this.onFieldKeyUp),Pc(e,"focus-next-field",this.onFocusNextField),Pc(e,"focus-prev-field",this.onFocusPreviousField),e.validateByField&&Pc(e,e.validateByField.event,this.onFieldCustomEvent),this.unwatchers){for(const e of this.unwatchers)e();this.unwatchers=null}},onFocusNextField(){this.form?.instance.focusNextField()},onFocusPreviousField(){this.form?.instance.focusPrevField()},onFieldRegister(e,t){(t||this.registerKey)&&this.registerKey!==t||(this.field&&this.onFieldUnregister(this.field),this.watchField(e))},onFieldUnregister(e,t){(t||this.registerKey)&&this.registerKey!==t||(this.unwatchField(e),this.field=null)},onFieldCustomEvent(e){return this.validateDebounced("",{triggerByField:!0,event:e})},onFieldBlur(){return this.validateDebounced("blur")},onFieldKeyUp(){},onFieldShouldValidate(e,t){return this.validateDebounced(t)},onFieldDisable(e){this.fieldDisabled=e},onFieldChange(e){this.fieldValue=e},register(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},unregister(e){(arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{})(this)},hasDescriptionSlot(){return Ya(this,"description")},getFlexStyle(e){let t={};const i=na(e)?this.$breakpointManager.getSuitableValue(e):e;return!1===i?{}:(ra(i)||(t.flex=i),la(i)&&(t.width=i,t["flex-grow"]=0,t["flex-shrink"]=0),t)}}}),Rz=["for"],Hz={key:0,class:"validate-message"};var zz=Rm(Nz,[["render",function(e,t,i,n,o,s){const r=Bi("v-popup"),a=Bi("with-col");return jo(),Zo(a,{wrap:e.inFlexMultipleFormItem,flex:e.wrapperFlex},{default:Ii((()=>[ts("div",{class:ne(e.itemCls),style:Q(e.itemStyle)},[rn(e.$slots,"before"),e.innerHideLabel||e.isComposite?ls("",!0):(jo(),Ko("div",{key:0,class:ne(e.labelCls),style:Q(e.labelStyle)},[rn(e.$slots,"label",{label:e.label,for:e.labelFor},(()=>[rn(e.$slots,"label-before"),e.label?(jo(),Ko("label",{key:0,for:e.labelFor},ce(e.label),9,Rz)):ls("",!0),rn(e.$slots,"label-after")]))],6)),ts("div",{class:"v-form-item-input",style:Q(e.controlStyle)},[ts("div",{class:ne(e.controlCls)},[is(r,{ref:"popup",type:"error",disable:e.isPopupDisabled,content:e.validateMessage},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["disable","content"])],2),rn(e.$slots,"status",{},(()=>[e.validateMessageTextMode&&e.validateMessage?(jo(),Ko("div",Hz,ce(e.validateMessage),1)):ls("",!0)])),e.hasDescriptionSlot()?(jo(),Ko("div",{key:0,class:ne(["item-description",e.descriptionCls])},[rn(e.$slots,"description")],2)):ls("",!0)],4),rn(e.$slots,"after")],6)])),_:3},8,["wrap","flex"])}]]);const Wz="start",jz="max-content";var Uz=Rm(on({name:"Grid",mixins:[La("grid")],props:{gap:{type:[Object,String,Array,Number],default:void 0},columns:{type:[Number,String,Object],default:24},rows:{type:[Number,String],default:1},gridTemplateColumns:{type:[String,Object,Array],default:"1fr"},gridTemplateRows:{type:[String,Object],default:"1fr"},align:{type:[String,Object],default:Wz},justify:{type:[String,Object],default:Wz}},computed:{gapStyle(){const e=na(this.gap)?this.$breakpointManager.getSuitableValue(this.gap):this.gap,t=fa(e)?e[0]:e;return{"--v-grid-row-gap":fa(e)?e[1]:e,"--v-grid-col-gap":t}},innerColumns(){return na(this.columns)?this.$breakpointManager.getSuitableValue(this.columns):this.columns},innerRows(){return na(this.rows)?this.$breakpointManager.getSuitableValue(this.rows):this.rows},innerGridTemplateRows(){let e=na(this.gridTemplateRows)?this.$breakpointManager.getSuitableValue(this.gridTemplateRows):this.gridTemplateRows;return e===jz?"repeat(var(--v-grid-rows), minmax(0, max-content))":fa(e)?e.join(" "):`repeat(var(--v-grid-rows), ${e})`},innerGridTemplateColumns(){let e=na(this.gridTemplateColumns)?this.$breakpointManager.getSuitableValue(this.gridTemplateColumns):this.gridTemplateColumns;return e===jz?"repeat(var(--v-grid-columns), minmax(0, max-content))":fa(e)?e.join(" "):`repeat(var(--v-grid-columns), ${e})`},innerAlign(){return na(this.align)?this.$breakpointManager.getSuitableValue(this.align):this.align},innerJustify(){return na(this.justify)?this.$breakpointManager.getSuitableValue(this.justify):this.justify},gridStyle(){return{...this.gapStyle,"--v-grid-columns":this.innerColumns,"--v-grid-rows":this.innerRows,"--grid-template-columns":this.innerGridTemplateColumns,"--grid-template-rows":this.innerGridTemplateRows,"--grid-align":this.innerAlign,"--grid-justify":this.innerJustify}}}}),[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:"v-grid",style:Q(e.gridStyle)},[rn(e.$slots,"default")],4)}]]);const Gz=["start","end","baseline","center","stretch"];var qz=Rm(on({name:"Row",mixins:[La("row")],props:{align:{type:[String,Object],default:"start",validator:e=>!ta(e)||Gz.includes(e)},justify:{type:[String,Object],default:"start",validator:e=>!ta(e)||Gz.includes(e)},gap:{type:[Object,String,Array,Number],default:void 0},flexWrap:{type:[Object,Boolean],default:!1}},computed:{innerFlexWrap(){return na(this.flexWrap)?this.$breakpointManager.getSuitableValue(this.flexWrap):this.flexWrap},innerAlign(){return na(this.align)?this.$breakpointManager.getSuitableValue(this.align):this.align},innerJustify(){return na(this.justify)?this.$breakpointManager.getSuitableValue(this.justify):this.justify},rowCls(){return["v-row",{wrap:this.innerFlexWrap,[`align-${this.innerAlign}`]:this.innerAlign,[`justify-content-${this.innerJustify}`]:this.innerJustify}]},rowStyle(){let e={};const t=na(this.gap)?this.$breakpointManager.getSuitableValue(this.gap):this.gap;return e={"--v-row-horizontal-gap":fa(t)?t[0]:t,"--v-row-vertical-gap":fa(t)?t[1]:t},e}}}),[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:ne(e.rowCls),style:Q(e.rowStyle)},[rn(e.$slots,"default")],6)}]]);const Yz="follow-form",Kz=on({name:"FormMultipleItem",components:{withGrid:NL(Uz),withRow:NL(qz)},mixins:[La("form-multiple-item",["isComposite"]),Aa("form")],props:{label:{type:String,default:void 0},disableLabel:{type:Boolean,default:!1},hideLabel:{type:Boolean,default:!1},marginSize:{type:String,default:"small"},indent:{type:[Number,String],default:0},gap:{type:[Object,String,Array,Number],default:()=>["6px","6px"]},flexWrap:{type:[Object,Boolean],default:!1},flexAlign:{type:[Object,Boolean],default:void 0},flexJustify:{type:[Object,Boolean],default:void 0},flex:{type:String,default:Yz},labelFlex:{type:[String,Number,Object],default:void 0},itemsWrapperFlex:{type:[String,Number,Object],default:void 0}},data:()=>({prefixCls:"v-form",isComposite:!0,fields:[]}),computed:{inFlexForm(){return this.inGridLayoutForm||this.inRowLayoutForm},inGridLayoutForm(){return this.flex===Yz?"grid"===this.form?.instance?.flex:"grid"===this.flex},inRowLayoutForm(){return this.flex===Yz?"row"===this.form?.instance?.flex||!0===this.form?.instance?.flex:"row"===this.flex||!0===this.flex},innerJustify(){return this.flexJustify},innerAlign(){return ca(this.flexAlign)?this.flexAlign:!!this.inFlexForm&&"center"},itemsCls(){return[`${this.prefixCls}-multi-item`,{small:"small"===this.marginSize,large:"large"===this.marginSize,none:"none"===this.marginSize}]},itemsWrapperCls(){return`${this.prefixCls}-multi-item-wrapper`},wrapperCls(){return[`${this.prefixCls}-multi-wrapper`,{"flex-form-multiple-item":this.inFlexForm,"hide-label":this.hideLabel}]},wrapperStyle(){return{"--indent":+this.indent}},labelCls(){return[`${this.prefixCls}-item-label`,{disabled:this.isDisabled()||this.disableLabel}]},itemsWrapperStyle(){return{...this.getFlexStyle(this.itemsWrapperFlex)}},labelStyle(){return{...this.getFlexStyle(this.labelFlex)}}},methods:{register(e){this.fields=this.fields||[],this.fields.push(e)},unregister(e){this.fields=Da(this.fields,e)},isDirty(){return this.fields.some((e=>e.isDirty))},isDisabled(){return this.fields.every((e=>e.isFieldDisabled))},getFlexStyle(e){let t={};const i=na(e)?this.$breakpointManager.getSuitableValue(e):e;return!1===i?{}:(ra(i)||(t.flex=i),la(i)&&(t.width=i,t["flex-grow"]=0,t["flex-shrink"]=0),t)}}}),Zz={key:0};var Jz=Rm(Kz,[["render",function(e,t,i,n,o,s){const r=Bi("with-row"),a=Bi("with-grid");return jo(),Ko("div",{class:ne(e.wrapperCls),style:Q(e.wrapperStyle)},[e.hideLabel?ls("",!0):(jo(),Ko("div",{key:0,class:ne(e.labelCls),style:Q(e.labelStyle)},[rn(e.$slots,"label",{label:e.label},(()=>[rn(e.$slots,"label-before"),e.label?(jo(),Ko("label",Zz,ce(e.label),1)):ls("",!0),rn(e.$slots,"label-after")]))],6)),ts("div",{class:ne(e.itemsWrapperCls),style:Q(e.itemsWrapperStyle)},[ts("div",{class:ne(e.itemsCls)},[is(a,{wrap:e.inGridLayoutForm,gap:e.gap},{default:Ii((()=>[is(r,{wrap:e.inRowLayoutForm,gap:e.gap,"flex-wrap":e.flexWrap,align:e.innerAlign,justify:e.innerJustify},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["wrap","gap","flex-wrap","align","justify"])])),_:3},8,["wrap","gap"])],2)],6)],6)}]]);wg("incremental-form-multiple-item-plus",NI),wg("incremental-form-multiple-item-minus",OI);const Qz=on({name:"IncrementalFormMultipleItem",components:{vCol:Pz,vRow:qz,vButton:RA,vIcon:bg},mixins:[La("form-multiple-item",["isComposite"]),Cg,Aa("form"),Bc],props:{label:{type:String,default:void 0},disableLabel:{type:Boolean,default:!1},hideLabel:{type:Boolean,default:!1},indent:{type:Number,default:0},items:{type:Array,default:()=>[]},minItemsLength:{type:Number,default:0},maxItemsLength:{type:Number,default:void 0},addText:{type:String,default:void 0},disabledAddButton:{type:Boolean,default:void 0},disabledRemoveButton:{type:Boolean,default:!1},gap:{type:[Object,String,Array],default:()=>["6px","6px"]},columns:{type:Number,default:24},labelFlex:{type:[String,Number,Object],default:void 0},itemsWrapperFlex:{type:[String,Number,Object],default:void 0}},emits:["update:items","add-item","remove-item"],data:()=>({prefixCls:"v-form",isComposite:!0,initialItems:[],fields:[]}),computed:{innerAddText(){return this.addText??this._i18n("common","add_field")},itemsCls(){return[`${this.prefixCls}-multi-item`]},itemsWrapperCls(){return`${this.prefixCls}-multi-item-wrapper`},wrapperCls(){return{"hide-label":this.hideLabel}},wrapperStyle(){return{"--indent":+this.indent}},labelCls(){return[`${this.prefixCls}-item-label`,{disabled:this.isDisabled()||this.disableLabel}]},isRemoveDisabled(){return this.disabledRemoveButton||this.items.length<=this.minItemsLength},innerDisabledAddButton(){return ca(this.disabledAddButton)?this.disabledAddButton:sa(this.maxItemsLength)&&this.items.length>=this.maxItemsLength},itemsWrapperStyle(){return{...this.getFlexStyle(this.itemsWrapperFlex)}},labelStyle(){return{...this.getFlexStyle(this.labelFlex)}}},mounted(){this.commit(),this.removeFn=this.form?.instance?.addField(this)},[Pa](){this.removeFn?.()},methods:{register(e){this.fields=this.fields||[],this.fields.push(e)},unregister(e){this.fields=Da(this.fields,e)},commit(){this.initialItems=eF(this.items)},resetField(){Nc(this,"update:items",eF(this.initialItems))},isDirty(){return!wa(this.initialItems,this.items)},isDisabled(){return this.fields.every((e=>e.isFieldDisabled))},onRemoveField(e){Nc(this,"update:items",this.items.filter((t=>t!==e))),Nc(this,"remove-item",e)},onAddField(){Nc(this,"add-item")},getFlexStyle(e){let t={};const i=na(e)?this.$breakpointManager.getSuitableValue(e):e;return!1===i?{}:(ra(i)||(t.flex=i),la(i)&&(t.width=i,t["flex-grow"]=0,t["flex-shrink"]=0),t)}}}),Xz={key:0},eW={class:"actions-wrapper"};var tW=Rm(Qz,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-button"),l=Bi("v-col"),d=Bi("v-row"),c=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(["v-form-incremental-wrapper v-form-multi-wrapper",e.wrapperCls]),style:Q(e.wrapperStyle)},[e.hideLabel?ls("",!0):(jo(),Ko("div",{key:0,class:ne(e.labelCls),style:Q(e.labelStyle)},[rn(e.$slots,"label",{label:e.label},(()=>[rn(e.$slots,"label-before"),e.label?(jo(),Ko("label",Xz,ce(e.label),1)):ls("",!0),rn(e.$slots,"label-after")]))],6)),ts("div",{class:ne(e.itemsWrapperCls),style:Q(e.itemsWrapperStyle)},[ts("div",{class:ne(e.itemsCls)},[(jo(!0),Ko(Po,null,tn(e.items,((t,i)=>(jo(),Zo(d,{key:i,"flex-wrap":!1,gap:e.gap,class:"v-form-incremental-row"},{default:Ii((()=>[rn(e.$slots,"default",{item:t}),is(l,{flex:"none"},{default:Ii((()=>[rn(e.$slots,"remove-field",{disabled:e.isRemoveDisabled,item:t},(()=>[is(a,{"syno-id":`${e.synoId}-remove-${i}`,display:"icon",disabled:e.isRemoveDisabled,onClick:i=>e.onRemoveField(t)},{icon:Ii((()=>[is(r,{name:"incremental-form-multiple-item-minus","svg-icon-set":"set01"})])),_:2},1032,["syno-id","disabled","onClick"])]))])),_:2},1024)])),_:2},1032,["gap"])))),128))],2),ts("div",eW,[rn(e.$slots,"actions",{disabledAdd:e.innerDisabledAddButton},(()=>[is(a,{"syno-id":`${e.synoId}-add`,display:"icon-text",disabled:e.innerDisabledAddButton,onClick:e.onAddField},{icon:Ii((()=>[is(r,{name:"incremental-form-multiple-item-plus","svg-icon-set":"set01"})])),default:Ii((()=>[rs(" "+ce(e.innerAddText),1)])),_:1},8,["syno-id","disabled","onClick"])]))])],6)],6)),[[c]])}]]),iW=on({props:{height:{type:[String,Number],default:214},minHeight:{type:[String,Number],default:40},maxHeight:{type:[String,Number],default:1e3},enable:{type:Boolean,default:!1}},emits:["resize-end"],data:()=>({}),computed:{indicatorStyle:()=>({top:0,left:0}),indicatorClass(){return{enabled:this.enable}}},mounted(){this.removeListener=this.register()},[Pa](){this.removeListener?.()},methods:{createIndicator(e){const{width:t,top:i,left:n}=this.$refs.indicator.getBoundingClientRect(),[o,s]=this.$alignManager.getScroll(document.body),r=document.createElement("div");return Fu(r,"width",`${t}px`),Fu(r,"left",`${n+o}px`),Fu(r,"top",`${i+s}px`),Uu(r,"info-board-dragging-indicator"),e.appendChild(r),r},moveIndicator(e,t){let{y:i}=t;const[,n]=this.$alignManager.getScroll(document.body);Fu(e,"top",`${i+n}px`)},removeIndicator(e){e&&e.parentNode&&e.parentNode.removeChild(e)},register(){let e={start:0,dragging:!1,diff:0},t=null;const i=i=>{i.stopPropagation(),e.dragging&&(e.diff=i.clientY-e.start,e.diff>0?e.diff=Math.min(+this.height-+this.minHeight,e.diff):e.diff=-Math.min(+this.maxHeight-+this.height,Math.abs(e.diff)),this.moveIndicator(t,{y:e.start+e.diff}))},n=n=>{n.stopPropagation(),e.dragging&&(Ru(document.documentElement,"mousemove",i),this.removeIndicator(t),Nc(this,"resize-end",{newHeight:+this.height-e.diff})),e.dragging=!1,e.start=0,e.diff=0},o=o=>{this.enable&&(t=this.createIndicator(document.body),o.stopPropagation(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,e.start=o.clientY,e.dragging=!0,Nu(document.documentElement,"mouseup",n),Pu(document.documentElement,"mousemove",i))};return Pu(this.$refs.indicator,"mousedown",o),()=>Ru(this.$refs.indicator,"mousedown",o)}}});const nW=[ts("div",{class:"ghost"},null,-1)];var oW=Rm(iW,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{ref:"indicator",class:ne(["info-board-indicator",e.indicatorClass]),style:Q(e.indicatorStyle)},nW,6)}]]);wg("info-board-up",xI),wg("info-board-down",mI);var sW=on({name:"InfoBoard",components:{vIcon:bg,vSlideUpDownTransition:UM,vInfoBoardDraggable:oW,vScrollbar:wD},mixins:[La("info-board"),Cg],props:{title:{type:String,default:"title"},defaultExpand:{type:Boolean,default:!1},height:{type:[String,Number],default:216},minHeight:{type:[String,Number],default:42},maxHeight:{type:[String,Number],default:1e3},isEmpty:{type:Boolean,default:!1}},data(){return{expand:!1,currentHeight:this.height}},computed:{contentStyle(){return{height:`${this.currentHeight}px`}},borderClass(){return{expanded:this.expand}},iconName(){return this.expand?"info-board-down":"info-board-up"}},watch:{defaultExpand:{handler(e){this.expand=e},immediate:!0},height:{handler(e){this.currentHeight=e},immediate:!0}},methods:{onResizeEnd(e){let{newHeight:t}=e;this.currentHeight=t},onToggleExpand(){this.expand=!this.expand}}});const rW={ref:"title",class:"board-title"},aW={class:"title"},lW={key:0,class:"board-content"},dW={key:0,class:"empty"};var cW=Rm(sW,[["render",function(e,t,i,n,o,s){const r=Bi("v-info-board-draggable"),a=Bi("v-icon"),l=Bi("v-scrollbar"),d=Bi("v-slide-up-down-transition"),c=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(["info-board-wrapper",e.borderClass])},[is(r,{height:e.currentHeight,"min-height":e.minHeight,"max-height":e.maxHeight,enable:e.expand,onResizeEnd:e.onResizeEnd},null,8,["height","min-height","max-height","enable","onResizeEnd"]),ts("div",rW,[ts("span",aW,[rn(e.$slots,"title",{},(()=>[rs(ce(e.title),1)]))]),is(a,{name:e.iconName,class:"expand-icon","svg-icon-set":"set14",onClick:e.onToggleExpand},null,8,["name","onClick"])],512),is(d,null,{default:Ii((()=>[e.expand?(jo(),Ko("div",lW,[ts("div",{class:"border-content-inner",style:Q(e.contentStyle)},[e.isEmpty?(jo(),Ko("div",dW,[rn(e.$slots,"empty")])):(jo(),Zo(l,{key:1},{default:Ii((()=>[rn(e.$slots,"default",{},(()=>[rs(" defualt content ")]))])),_:3}))],4)])):ls("",!0)])),_:3})],2)),[[c]])}]]),uW=on({name:"InfoMask",mixins:[],props:{active:{type:Boolean,default:!0}},data:()=>({})});const hW={class:"v-info-mask-wrapper"},pW={key:0,class:"v-info-mask"},fW={class:"info-content-wrapper"},mW={class:"info-content"};var gW=Rm(uW,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",hW,[rn(e.$slots,"inner"),e.active?(jo(),Ko("div",pW,[ts("div",fW,[ts("div",mW,[rn(e.$slots,"default")])])])):ls("",!0)])}]]),vW={[$a](e,t){const i=ia(t.value)?t.value:Ca;Pu(e,"mousedown",(()=>{let e=!1;const t=()=>{e=!0,!1===i()&&n()},n=()=>{window.clearInterval(o),e||t()},o=window.setInterval((()=>{t()}),150);Nu(document,"mouseup",n)}))}};wg("input-steppers-plus",RI),wg("input-steppers-minus",$I),wg("input-steppers-up",tI),wg("input-steppers-down",eI);const yW=["up-down","right-left"],bW=on({name:"InputSteppers",components:{vIcon:bg,vMenu:BA,vMenuItem:nE,vPortal:Hh},directives:{pressing:vW,clickoutside:$m},mixins:[Sm,wu,Cg],props:{controlsType:{type:String,default:"right-left",validator:e=>yW.includes(e)},width:{type:Number,default:120},hasDivider:{type:Boolean,default:!0},[rT()]:{type:Number,default:0},min:{type:[Number,String],default:Number.MIN_SAFE_INTEGER},max:{type:[Number,String],default:Number.MAX_SAFE_INTEGER},step:{type:[Number,String],default:1},menu:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!0},patchNum:{type:Function,default:void 0}},emits:["update:model-value"],data:()=>({innerValue:0,showMenu:!1}),computed:{isUpDownControlsType(){return"up-down"===this.controlsType},isRightLeftControlsType(){return"right-left"===this.controlsType},wrapperStyle(){return{width:`${this.width}px`}},isPlusDisabled(){return+this.innerValue>=+this.max},isMinusDisabled(){return+this.innerValue<=+this.min},plusIconCls(){return{disabled:this.isPlusDisabled||this.disabled}},minusIconCls(){return{disabled:this.isMinusDisabled||this.disabled}},wrapperCls(){return["v-input-steppers-wrapper",this.controlsType,{"has-divider":this.hasDivider,disabled:this.disabled,"show-menu":this.showMenu}]},hasMenu(){return this.menu.length>0}},watch:{[rT()]:{handler(e){this.innerValue=e},immediate:!0}},methods:{onFocus(){this.showMenu=!0,this.isFocused=!0,this.selectOnFocus&&this.$refs.input?.select()},onBlur(){this.applyValue(parseFloat(this.$refs.input.value))},applyValue(e){if(sa(e)&&!isNaN(e)||(e=this.innerValue),ia(this.patchNum)){const t=this.patchNum(e);e=!1===t?this.innerValue:t}this.setValue(e)},onClickoutside(){this.showMenu=!1},onMinus(){if(this.showMenu=!1,this.disabled||this.isMinusDisabled)return!1;this.applyValue(this.innerValue-+this.step)},onPlus(){if(this.showMenu=!1,this.disabled||this.isPlusDisabled)return!1;this.applyValue(this.innerValue+ +this.step)},setValue(e){const t=xa(e,+this.min,+this.max);this.$refs.input.value=t,t!==this.innerValue&&Nc(this,"update:model-value",t)},selectValue(e){this.setValue(e)},onKeyDown(e){this.showMenu=!1,du(e)?(e.preventDefault(),this.onPlus()):cu(e)?(e.preventDefault(),this.onMinus()):pu(e)&&this.applyValue(parseFloat(this.$refs.input.value))}}}),wW={key:0,class:"border-minus-wrapper"},CW={key:0,class:"stepper-border border-minus"},xW=["value","disabled","step"],SW={key:1,class:"border-plus-wrapper"},kW={key:0,class:"stepper-border border-plus"},_W={key:2,class:"up-down-wrapper"},IW=ts("div",{class:"stepper-border"},null,-1),TW={class:"up-down-icon-wrapper"};var DW=Rm(bW,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-menu-item"),l=Bi("v-menu"),d=Bi("v-portal"),c=Fi("pressing"),u=Fi("clickoutside");return jo(),Ko("div",{class:ne(e.wrapperCls),style:Q(e.wrapperStyle)},[e.isRightLeftControlsType?(jo(),Ko("div",wW,[Xi(is(r,{class:ne(["input-steppers-icon",e.minusIconCls]),name:"input-steppers-minus","svg-icon-set":"set13"},null,8,["class"]),[[c,e.onMinus]]),e.hasDivider?(jo(),Ko("div",CW)):ls("",!0)])):ls("",!0),Xi(ts("input",{ref:"input",type:"number",class:"number",value:e.innerValue,disabled:e.disabled,step:e.step,onBlur:t[0]||(t[0]=function(){return e.onBlur&&e.onBlur(...arguments)}),onFocus:t[1]||(t[1]=function(){return e.onFocus&&e.onFocus(...arguments)}),onKeydown:t[2]||(t[2]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)})},null,40,xW),[[u,e.onClickoutside,void 0,{children:!0}]]),e.isRightLeftControlsType?(jo(),Ko("div",SW,[e.hasDivider?(jo(),Ko("div",kW)):ls("",!0),Xi(is(r,{class:ne(["input-steppers-icon",e.plusIconCls]),name:"input-steppers-plus","svg-icon-set":"set13"},null,8,["class"]),[[c,e.onPlus]])])):ls("",!0),e.isUpDownControlsType?(jo(),Ko("div",_W,[IW,ts("div",TW,[e.useSvgIcon?(jo(),Ko(Po,{key:0},[Xi(is(r,{class:ne(["input-steppers-icon",e.plusIconCls]),name:"input-steppers-up","svg-icon-set":"set13"},null,8,["class"]),[[c,e.onPlus]]),Xi(is(r,{class:ne(["input-steppers-icon",e.minusIconCls]),name:"input-steppers-down","svg-icon-set":"set13"},null,8,["class"]),[[c,e.onMinus]])],64)):(jo(),Ko(Po,{key:1},[Xi(is(r,{class:ne(["input-steppers-icon",e.plusIconCls]),name:"input-steppers-plus"},null,8,["class"]),[[c,e.onPlus]]),Xi(is(r,{class:ne(["input-steppers-icon",e.minusIconCls]),name:"input-steppers-minus"},null,8,["class"]),[[c,e.onMinus]])],64))])])):ls("",!0),e.hasMenu&&e.showMenu?(jo(),Zo(d,{key:3,ref:"portal","mount-to":e.getContainerEl(),"acquire-z-index":"",alignment:e.innerAlignment,anchor:e.$el},{default:Ii((()=>[is(l,{width:e.width,onMenuClose:t[3]||(t[3]=t=>e.showMenu=!1)},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.menu,(t=>(jo(),Zo(a,{key:t.value,type:"select",title:`${t.title}`,selected:e.innerValue===t.value,"close-on-select":"",onSelected:i=>e.selectValue(t.value)},null,8,["title","selected","onSelected"])))),128))])),_:1},8,["width"])])),_:1},8,["mount-to","alignment","anchor"])):ls("",!0)],6)}]]);wg("module-list-section-arrow-up",xI),wg("module-list-section-arrow-down",mI),wg("module-list-option-overview",XI);const LW=on({name:"ModuleListOption",components:{vIcon:bg,vSlideUpDownTransition:UM},mixins:[Aa("module-list"),Aa("module-list-option"),La("module-list-option"),Cg],props:{display:{type:String,default:""},[rT()]:{required:!0,type:String,default:""},beforeSelect:{type:Function,default:Ca},size:{type:String,default:"normal",validator:function(e){return["normal","small"].includes(e)}},hasIcon:{type:Boolean,default:!0},icon:{type:Object,default:()=>({})},disabled:{type:Boolean,default:!1},collapsible:{type:[Boolean,Object],default:!1},collapsed:{type:Boolean,default:!1},indent:{type:[Number,String],default:void 0},selectable:{type:Boolean,default:void 0}},emits:["collapsed","selected"],data:()=>({activated:!1,innerCollapsed:!1,subModuleActivated:!1,isSubModule:!1}),computed:{innerIndent(){return ca(this.indent)?+this.indent:this.isSubModule?1:0},innerIcon(){return gm({name:"module-list-option-overview",svgIconSet:"set05"},this.icon)},optionCls(){return["module-item-option",`module-item-option-${this.size}`,{"non-selectable":!this.innerSelectable,activated:this.activated,disabled:this.disabled,collapsible:this.innerCollapsible,"has-indent":this.innerIndent>0,"sub-module-activated":this.subModuleActivated&&this.innerCollapsed,"has-action":this.hasAction()}]},wrapperStyle(){return{"--indent":this.innerIndent}},wrapperCls(){return["module-item-wrapper","module-item-option-wrapper",{"is-sub-module":this.isSubModule}]},innerSelectable(){return ca(this.selectable)?this.selectable:!this.innerCollapsible},innerCollapsible(){return na(this.collapsible)?this.collapsible.enabled:this.collapsible},hasCollapsibleIcon(){return na(this.collapsible)?this.collapsible.icon:this.collapsible}},watch:{collapsed:{handler(e){this.innerCollapsed=e},immediate:!0}},created(){this.subModules=[]},mounted(){this.unwatchers=[],this["module-list"]&&this["module-list"].register(this,(e=>{this.unwatchers.push(e.$watch("modelValue",this.onCurrentSelectedChanged,{immediate:!0}))})),this["module-list-option"]&&(this.isSubModule=!0,this.removeSelfFromParentModule=this["module-list-option"].instance?.appendSubModule(this))},[Pa](){if(this["module-list"]){this["module-list"].unregister(this);for(const e of this.unwatchers)e()}this.removeSelfFromParentModule?.()},methods:{hasAction(){return this.innerCollapsible||Ya(this,"action")},appendSubModule(e){return this.subModules=this.subModules??[],this.subModules.push(e),()=>{Da(this.subModules,e)}},onCurrentSelectedChanged(e){this.innerSelectable&&(this.activated=e===sT(this)),this.subModuleActivated=this.subModules.some((t=>sT(t)===e))},async onBeforeSelect(){return!!this.activated||!1!==await this.beforeSelect()&&void 0},async onSelect(e,t){if(this.innerCollapsible&&(this.innerCollapsed=!this.innerCollapsed,Nc(this,"collapsed",this.innerCollapsed)),this.innerSelectable){if(this.disabled||!1===await this.onBeforeSelect())return!1;Nc(this,"selected",sT(this),this,t)}}}}),AW={class:"module-item-text"},EW={key:1,class:"action-wrapper"},MW={key:0,class:"sub-module-options"};var BW=Rm(LW,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-slide-up-down-transition");return jo(),Ko("div",{class:ne(e.wrapperCls),style:Q(e.wrapperStyle)},[ts("li",{class:ne(e.optionCls),tabindex:"-1",role:"menuitem",onClick:t[0]||(t[0]=function(){return e.onSelect&&e.onSelect(...arguments)})},[e.hasIcon?(jo(),Zo(r,hs({key:0,class:"module-item-icon"},e.innerIcon),{default:Ii((()=>[rn(e.$slots,"icon-inner")])),_:3},16)):ls("",!0),rn(e.$slots,"text",{},(()=>[ts("div",AW,ce(e.display),1)])),e.hasAction()?(jo(),Ko("div",EW,[rn(e.$slots,"action"),e.hasCollapsibleIcon?(jo(),Zo(r,{key:0,name:e.innerCollapsed?"module-list-section-arrow-down":"module-list-section-arrow-up",class:"module-item-arrow","svg-icon-set":"set31"},null,8,["name"])):ls("",!0)])):ls("",!0)],2),is(a,null,{default:Ii((()=>[e.innerCollapsed?ls("",!0):(jo(),Ko("div",MW,[rn(e.$slots,"default")]))])),_:3})],6)}]]);wg("module-list-section-arrow-up",xI),wg("module-list-section-arrow-down",mI);const OW=on({name:"ModuleListSection",components:{vIcon:bg,vSlideUpDownTransition:UM},mixins:[Cg,Aa("module-list-option")],props:{display:{type:String,default:""},collapsible:{type:[Boolean,Object],default:!0},collapsed:{type:Boolean,default:!1},indent:{type:[Number,String],default:void 0}},data:()=>({innerCollapsed:!1,isSubModule:!1}),computed:{innerIndent(){return ca(this.indent)?+this.indent:this.isSubModule?1:0},innerCollapsible(){return na(this.collapsible)?this.collapsible.enabled:this.collapsible},hasCollapsibleIcon(){return na(this.collapsible)?this.collapsible.icon:this.collapsible},wrapperCls(){return["module-item-wrapper","module-item-section",{collapsed:this.innerCollapsed,collapsible:this.innerCollapsible,"has-indent":this.innerIndent>0,"is-sub-module":this.isSubModule}]},wrapperStyle(){return{"--indent":this.innerIndent}}},watch:{collapsed:{handler(e){this.innerCollapsed=e},immediate:!0}},mounted(){this["module-list-option"]&&(this.isSubModule=!0)},[Pa](){this.removeSelfFromParentModule?.()},methods:{hasActionSlot(){return Ya(this,"action")},onClick(){this.innerCollapsed=!this.innerCollapsed}}}),$W=["aria-label"],FW={class:"module-item"},VW={class:"module-section-item-text"},PW={key:0,class:"action-wrapper"},NW={key:0,class:"module-options"};var RW=Rm(OW,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-slide-up-down-transition");return jo(),Ko("li",{class:ne(e.wrapperCls),style:Q(e.wrapperStyle),role:"group","aria-label":e.display},[ts("div",FW,[ts("div",{class:"module-item-content",onClick:t[0]||(t[0]=t=>e.innerCollapsible&&e.onClick())},[e.hasCollapsibleIcon?(jo(),Zo(r,{key:0,name:e.innerCollapsed?"module-list-section-arrow-down":"module-list-section-arrow-up",class:"module-item-arrow","svg-icon-set":"set31"},null,8,["name"])):ls("",!0),rn(e.$slots,"text",{},(()=>[ts("div",VW,ce(e.display),1)]))]),e.hasActionSlot()?(jo(),Ko("div",PW,[rn(e.$slots,"action")])):ls("",!0)]),is(a,null,{default:Ii((()=>[e.innerCollapsed?ls("",!0):(jo(),Ko("div",NW,[rn(e.$slots,"default")]))])),_:3})],14,$W)}]]);const HW=on({name:"ModuleListDivider"}),zW={class:"module-list-divider"};var WW=Rm(HW,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",zW)}]]);const jW=on({name:"OverflowText",props:{content:{type:String,required:!0,default:""},tailLength:{type:Number,default:0},tailBeginWith:{type:String,default:null}},data:()=>({displayContent:""}),watch:{content:{immediate:!0,handler(){this.genDisplayContent()}}},mounted(){this.disposeFn=oD(this.$el,this.genDisplayContent,this)},[Pa](){this.disposeFn?.()},methods:{async genDisplayContent(){const e=this.content.length-this.tailLength,t=this.content.includes(this.tailBeginWith)?this.content.lastIndexOf(this.tailBeginWith):this.content.length,i=Math.min(e,t);let n=this.content.slice(0,i),o=this.content.slice(i);for(this.displayContent=n+o,await this.$nextTick();(this.$refs.measure?.getBoundingClientRect()?.width??0)<.8&&(n.length>0||o.length>0);)n.length>0?n=n.slice(0,-1):o.length>0&&(o=o.slice(1)),this.displayContent=`${n}...${o}`,await this.$nextTick()}}}),UW={class:"v-overflow-text"},GW={class:"v-overflow-text-content"},qW={ref:"measure",class:"v-overflow-text-spacer"};var YW=Rm(jW,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",UW,[ts("div",GW,ce(e.displayContent),1),ts("div",qW,null,512)])}]]);const KW=on({name:"ProgressBar",props:{title:{type:[String,Boolean],default:""},percentText:{type:[String,Boolean],default:""},percent:{type:[String,Number,Array],default:0},segmentBorder:{type:Object,default:()=>({})},info:{type:[String,Boolean],default:""},paused:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},wait:{type:Boolean,default:!1}},data:()=>({hiddenSegment:new Set}),computed:{hasTitle(){return!1!==this.title},hasPercentText(){return!1!==this.percentText},hasInfo(){return!1!==this.info},isMultipleSegments(){return fa(this.percent)},segments(){return this.percent.filter((e=>!this.hiddenSegment.has(e.id)))},titleTip(){return{overflowOnly:!0,content:this.title}},progressOuterClass(){return{disabled:this.disabled}},progressPercentClass(){return{"progress-bar-inner":!0,paused:this.paused,"progress-bar-inner--waiting":this.wait,"progress-bar-inner--full":parseInt(this.percent,10)>=100}},progressPercentStyle(){return{width:`${xa(+this.percent,0,100)}%`}}},watch:{percent:{handler(e){this.onResize()},immediate:!0}},mounted(){this.$options.disposedFn=oD(this.$el,this.onResize.bind(this))},[Pa](){this.$options.disposedFn?.()},methods:{async onResize(){if(this.isMultipleSegments){this.hiddenSegment=new Set,await this.$nextTick();for(const e of this.segments){const t=this.$refs[`seg-${e.id}`]?.[0],i=t?.getBoundingClientRect(),n=parseInt(Fu(t,"border-right-width"),10);i&&i.width<.9+n&&this.hiddenSegment.add(e.id)}this.hiddenSegment=new Set(this.hiddenSegment)}},getSegmentBorderSize(e){return(e.border??this.segmentBorder??{})?.size??0},getSegmentBorderColor(e){return(e.border??this.segmentBorder??{})?.color??"#FFFFFF"},getSegmentStyle(e){return{width:`${xa(+e.value,0,100)}%`,backgroundColor:e.color,"--border-size":`${this.getSegmentBorderSize(e)}px`,"--border-color":this.getSegmentBorderColor(e)}}}}),ZW={class:"progress-wrapper"},JW={key:0,class:"progress-title-wrapper"},QW={key:0,class:"progress-title"},XW={key:1,class:"progress-percent"},ej={key:0,class:"segments-outer"},tj={key:1,class:"progress-info"};var ij=Rm(KW,[["render",function(e,t,i,n,o,s){const r=Fi("tooltip");return jo(),Ko("div",ZW,[e.hasTitle||e.hasPercentText?(jo(),Ko("div",JW,[e.hasTitle?Xi((jo(),Ko("div",QW,[rs(ce(e.title),1)])),[[r,e.titleTip]]):ls("",!0),e.hasPercentText?(jo(),Ko("div",XW,ce(e.percentText),1)):ls("",!0)])):ls("",!0),ts("div",{class:ne(["progress-bar-outer",e.progressOuterClass])},[e.isMultipleSegments?(jo(),Ko("div",ej,[(jo(!0),Ko(Po,null,tn(e.segments,(t=>(jo(),Ko("div",{key:t.id||t.color,ref_for:!0,ref:`seg-${t.id}`,class:"segment-inner",style:Q(e.getSegmentStyle(t))},null,4)))),128))])):(jo(),Ko("div",{key:1,class:ne(e.progressPercentClass),style:Q(e.progressPercentStyle)},null,6))],2),e.hasInfo?(jo(),Ko("div",tj,ce(e.info),1)):ls("",!0)])}]]),nj=on({name:"RadioGroup",components:{vRadio:SV},mixins:[wu,La("radio-group"),La("form-controls-group")],props:{[rT()]:{type:[String,Number,Boolean],default:""},data:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},size:{type:String,default:""},name:{type:String,default:()=>`syno-${PD()}`},deactiveChildrenFormItems:{type:Function,default:()=>SV}},emits:["change","update:model-value"],data:()=>({prefixCls:"v-radio-group",hasSlot:!1,model:""}),computed:{ariaLabelledby(){const e=this.data.find((e=>e.value===this.innerValue));return e&&this.getRadioId(e.value)},wrapperCls(){return[this.prefixCls]},innerValue(){return sT(this)}},mounted(){this.$slots&&this.$slots.default&&(this.hasSlot=!0)},created(){if(this.model=this.innerValue,this.disabled)for(const e of this.data)e.disabled=!0},methods:{change(e){this.model=e,Nc(this,"update:model-value",e),Nc(this,"change",e)},getRadioSynoId(e){return`${this.synoId}-${e}`},getRadioId(e){return`${this.name}-${e}`}}});const oj=["aria-labelledby"];var sj=Rm(nj,[["render",function(e,t,i,n,o,s){const r=Bi("v-radio"),a=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapperCls),role:"radiogroup","aria-labelledby":e.ariaLabelledby,tabindex:"-1",onBlur:t[0]||(t[0]=function(){return e.onBlur&&e.onBlur(...arguments)})},[rn(e.$slots,"default"),e.hasSlot?ls("",!0):(jo(!0),Ko(Po,{key:0},tn(e.data,(t=>(jo(),Zo(r,{id:e.getRadioId(t.value),key:e.getRadioId(t.value),"syno-id":e.getRadioSynoId(t.value),disabled:t.disabled,value:t.value,name:e.name},{default:Ii((()=>[rs(ce(t.text),1)])),_:2},1032,["id","syno-id","disabled","value","name"])))),128))],42,oj)),[[a]])}]]),rj=Rm(on({name:"ScheduleField",components:{vSelectBaseOption:yT,vSelectDividerOption:AT,vMultipleSelect:sL},mixins:[Bc,wu],props:{[rT()]:{type:Array,default:()=>[]},emptyValue:{type:[Boolean,Array],default:()=>[0,1,2,3,4,5,6]},disabled:{type:Boolean,default:!1}},emits:["update:model-value"],data(){return{actions:["daily","weekend","weekdays"],activated:{daily:!1,weekend:!1,weekdays:!1},days:[{label:this._i18n("uicommon","schedule_sun"),value:0,abbre_label:this._i18n("uicommon","schedule_abbre_sun")},{label:this._i18n("uicommon","schedule_mon"),value:1,abbre_label:this._i18n("uicommon","schedule_abbre_mon")},{label:this._i18n("uicommon","schedule_tue"),value:2,abbre_label:this._i18n("uicommon","schedule_abbre_tue")},{label:this._i18n("uicommon","schedule_wed"),value:3,abbre_label:this._i18n("uicommon","schedule_abbre_wed")},{label:this._i18n("uicommon","schedule_thu"),value:4,abbre_label:this._i18n("uicommon","schedule_abbre_thu")},{label:this._i18n("uicommon","schedule_fri"),value:5,abbre_label:this._i18n("uicommon","schedule_abbre_fri")},{label:this._i18n("uicommon","schedule_sat"),value:6,abbre_label:this._i18n("uicommon","schedule_abbre_sat")}]}},computed:{displayText(){const e=new Set(sT(this));return 7===e.size?this._i18n("uicommon","schedule_daily"):2===e.size&&e.has(0)&&e.has(6)?this._i18n("uicommon","schedule_weekend"):5!==e.size||e.has(0)||e.has(6)?sT(this).slice().map((e=>this.days[e].abbre_label)).join(this._i18n("common","comma")):this._i18n("uicommon","schedule_weekdays")},innerValue(){return sT(this)}},methods:{onInput(e){Nc(this,"update:model-value",e.sort())},setActive(e,t){this.activated[e]=t},onActionClick(e){Nc(this,"update:model-value","daily"===e?[0,1,2,3,4,5,6]:"weekend"===e?[0,6]:[1,2,3,4,5])},onCloseDropdown(){if(this.emptyValue&&0===sT(this).length){const e=fa(this.emptyValue)?this.emptyValue.slice():[0,1,2,3,4,5,6];Nc(this,"update:model-value",e)}}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-select-base-option"),a=Bi("v-select-divider-option"),l=Bi("v-multiple-select");return jo(),Zo(l,{"syno-id":e.synoId,class:"schedule-field","display-mode":"text",value:e.innerValue,"model-value":e.innerValue,options:e.days,"display-text":e.displayText,disabled:e.disabled,"active-form-item":!1,"max-height":"none",onInput:e.onInput,"onUpdate:modelValue":e.onInput,onCloseDropdown:e.onCloseDropdown},{"top-actions":Ii((()=>[(jo(!0),Ko(Po,null,tn(e.actions,(t=>(jo(),Zo(r,{key:t,class:"schedule-base-option",option:{icon:{name:"schedule",sprite:!0}},display:e._i18n("uicommon",`schedule_${t}`),activated:e.activated[t],onHover:i=>e.setActive(t,!0),onHoverOut:i=>e.setActive(t,!1),onClick:i=>e.onActionClick(t)},null,8,["display","activated","onHover","onHoverOut","onClick"])))),128)),is(a)])),_:1},8,["syno-id","value","model-value","options","display-text","disabled","onInput","onUpdate:modelValue","onCloseDropdown"])}]]);wg("schedule-table-pen",PI);const aj=on({name:"ScheduleTable",components:{vIcon:bg},directives:{tooltip:lg},mixins:[Wc,wu,Cg,Bc],props:{prefix:{type:String,default:"v-schedule"},options:{type:Array,required:!0,default:()=>[]},splitMinute:{type:Number,default:60,validator:e=>60===e||30===e||15===e},[rT()]:{type:String,validator:e=>!!e&&e.length%168==0,required:!0},optionsCountPerRow:{type:Number,default:3},optionsMaxWidth:{type:[String,Number],default:"1fr"}},emits:["edit-option","selected","update:model-value"],data(){return{btnWrapperWidth:"100%",selected:0,hoverOption:void 0,days:[this._i18n("uicommon","schedule_abbre_sun"),this._i18n("uicommon","schedule_abbre_mon"),this._i18n("uicommon","schedule_abbre_tue"),this._i18n("uicommon","schedule_abbre_wed"),this._i18n("uicommon","schedule_abbre_thu"),this._i18n("uicommon","schedule_abbre_fri"),this._i18n("uicommon","schedule_abbre_sat")],hours:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],hoverHour:-1,hoverDay:-1,hoverAll:!1,dragRange:[[-1,-1],[-1,-1]],isDragging:!1}},computed:{numbersOfHour(){return[...Array(Math.floor(60/this.splitMinute))].map(((e,t)=>t))},headCls(){return[`split-${this.splitMinute}`]},btnWrapperStyle(){return{"grid-template-columns":`repeat(${this.optionsCountPerRow}, minmax(0, ${this.optionsMaxWidth}))`,width:this.btnWrapperWidth}}},created(){this.applyDragRange=yD(this._applyDragRange,100)},mounted(){this.$nextTick((()=>{oD(this.$refs.table,this.updateBtnWrapperWidth,this)}))},[Pa](){this.$el&&sD(this.$refs.table,this.updateBtnWrapperWidth)},methods:{isOptionEditable(e){const t=na(e.editable)?e.editable.trigger:!0===e.editable?"hover":"none";return"always"===t||"hover"===t&&this.hoverOption===e},getEditableIconTooltip:e=>e.editable?.tooltip??!1,onEdit(e){Nc(this,"edit-option",e)},onHoverOption(e){this.hoverOption=e},onHoveroutOptions(){this.hoverOption=null},updateBtnWrapperWidth(e){e.contentRect.width>0&&(this.btnWrapperWidth=`${e.contentRect.width}px`)},scheduleBtnStyle(e){return this.checkIsBuildinColor(e.color)?{}:{backgroundColor:e.color}},scheduleBtnCls(e,t){return{[`${this.prefix}-btn-icon`]:!0,[`${this.prefix}-btn-icon-clear`]:e.clear,[`${this.prefix}-btn-icon-pressed`]:t===this.selected,[`${this.prefix}-btn-icon-disabled`]:e.disabled,[`${this.prefix}-btn-icon--${e.color}`]:this.checkIsBuildinColor(e.color)}},getIndex(e,t,i){return(24*e+t)*this.numbersOfHour.length+i},getCustomCellSlot(e,t,i){return this.getItem(e,t,i).customCellSlot},cellCls(e,t,i){const n=this.getItem(e,t,i);if(n)return["body-cell","cell-option",`split-${this.splitMinute}`,{"split-cell":i>0,"cell-option--clear":n.clear,[`cell-option--${n.color}`]:this.checkIsBuildinColor(n.color),"row-col-over":this.hoverHour===t||this.hoverDay===e||this.isInDragZone(e,t,i)||this.hoverAll}]},cellStyles(e,t,i){const n=this.getItem(e,t,i);return this.checkIsBuildinColor(n.color)?{}:{backgroundColor:n.color}},getItem(e,t,i){const n=this.getIndex(e,t,i),o=sT(this).charAt(n);return this.options[o]||this.options[0]},checkIsBuildinColor:e=>["blue","green","orange","red","yellow"].includes(e),onScheduleBtnSelect(e,t){this.selected=e,Nc(this,"selected",{index:e,option:t})},onMouseLeaveAll(e){this.hoverAll=!1},onMouseOverAll(e){this.hoverAll=!0},onMouseOverHeadCell(e){this.hoverHour=e},onMouseLeaveHeadCell(e){this.hoverHour===e&&(this.hoverHour=-1)},selectHeadCell(e){let t=sT(this).split("");const i=this.numbersOfHour.length,n=this.days.length;for(let o=0;o<n;o++)for(let n=0;n<i;n++)t[this.getIndex(o,e,n)]=this.selected;this.emitValueChage(t),this.clearDragZone()},onMouseOverDayCell(e){this.hoverDay=e},onMouseLeaveDayCell(e){this.hoverDay===e&&(this.hoverDay=-1)},selectDayCell(e){let t=sT(this).split("");const i=this.numbersOfHour.length,n=24*i*e;for(let e=0;e<24*i;e++)t[e+n]=this.selected;this.emitValueChage(t),this.clearDragZone()},selectCell(e,t,i){let n=sT(this).split("");n[this.getIndex(e,t,i)]=this.selected,this.emitValueChage(n),this.clearDragZone()},selectAll(){let e=sT(this).split("");const t=24*this.days.length*this.numbersOfHour.length;for(let i=0;i<t;i++)e[i]=this.selected;this.emitValueChage(e),this.clearDragZone()},emitValueChage(e){let t=e.join("");Nc(this,"update:model-value",t)},clearDragZone(){this.isDragging=!1,this.dragRange=[[-1,-1],[-1,-1]]},getDragRange(){let e=Math.min(this.dragRange[0][0],this.dragRange[1][0]),t=Math.min(this.dragRange[0][1],this.dragRange[1][1]),i=Math.max(this.dragRange[0][0],this.dragRange[1][0]);return{startX:t,startY:e,endX:Math.max(this.dragRange[0][1],this.dragRange[1][1]),endY:i}},canDragCell:e=>e.hasAttribute("day")&&e.hasAttribute("hour")&&e.hasAttribute("hour-split-index"),isInDragZone(e,t,i){if(!this.isDragging)return!1;const{x:n,y:o}=this.getCoordinate(e,t,i),{startX:s,startY:r,endX:a,endY:l}=this.getDragRange();return n>=s&&n<=a&&o>=r&&o<=l},getCoordinate(e,t,i){return{x:t*this.numbersOfHour.length+i,y:e}},getCellIndex(e){const t=+e.getAttribute("day"),i=+e.getAttribute("hour"),n=+e.getAttribute("hour-split-index");return this.getCoordinate(t,i,n)},onMouseDown(e){this.isDragging=!0,this.updateDragZone(e,[0,1])},updateDragZone(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0],i=e.target;if(!this.canDragCell(i)||!this.isDragging)return;let{x:n,y:o}=this.getCellIndex(i);for(let e=0;e<t.length;e++)sh(this.dragRange,t[e],[o,n])},_applyDragRange(e){if(!this.isDragging)return;const t=this.numbersOfHour.length;let{startX:i,startY:n,endX:o,endY:s}=this.getDragRange(),r=sT(this).split("");for(let e=n;e<=s;e++)for(let n=i;n<=o;n++)e<0||n<0||(r[24*e*t+n]=this.selected);this.emitValueChage(r),this.clearDragZone()}}}),lj=["onMouseover"],dj=["syno-id","onClick"],cj={class:"head-row"},uj=[ts("div",{class:"select-all-triangle"},null,-1)],hj=["syno-id","colspan","onMouseover","onMouseleave","onClick"],pj=["syno-id","onMouseover","onMouseleave","onClick"],fj=["syno-id","day","hour","hour-split-index","onClick"];var mj=Rm(aj,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Fi("tooltip"),l=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(`${e.prefix}-table`)},[rn(e.$slots,"description"),rn(e.$slots,"options",{},(()=>[ts("div",{class:ne(`${e.prefix}-btn-wrapper`),style:Q(e.btnWrapperStyle),onMouseleave:t[0]||(t[0]=t=>e.onHoveroutOptions())},[(jo(!0),Ko(Po,null,tn(e.options,((t,i)=>Xi((jo(),Ko("span",{key:i,class:ne(`${e.prefix}-btn`),onMouseover:i=>e.onHoverOption(t)},[ts("span",{"syno-id":`${e.synoId}-schedule-btn-${i}`,class:ne(e.scheduleBtnCls(t,i)),onClick:Wr((n=>e.onScheduleBtnSelect(i,t)),["stop"])},[t.clear?ls("",!0):(jo(),Ko("span",{key:0,class:"btn-icon-inner",style:Q(e.scheduleBtnStyle(t))},null,4))],10,dj),t.labelSlot?rn(e.$slots,t.labelSlot,{key:0}):Xi((jo(),Ko("span",{key:1,class:ne(`${e.prefix}-btn-text`)},[rs(ce(t.label),1)],2)),[[a,{overflowOnly:!0,content:t.label}]]),e.isOptionEditable(t)?Xi((jo(),Zo(r,{key:2,name:"schedule-table-pen","svg-icon-set":"set13",onClick:i=>e.onEdit(t)},null,8,["onClick"])),[[a,e.getEditableIconTooltip(t)]]):ls("",!0)],42,lj)),[[lr,!t.hidden]]))),128))],38)])),rn(e.$slots,"detail"),ts("table",{ref:"table",class:ne(e.prefix),onMousedown:t[4]||(t[4]=t=>e.onMouseDown(t)),onMousemove:t[5]||(t[5]=t=>e.updateDragZone(t,[1])),onMouseup:t[6]||(t[6]=t=>e.applyDragRange(t))},[ts("tbody",null,[ts("tr",cj,[ts("td",{class:"head-cell select-all-cell first-cell",onClick:t[1]||(t[1]=Wr((t=>e.selectAll()),["stop"])),onMouseover:t[2]||(t[2]=function(){return e.onMouseOverAll&&e.onMouseOverAll(...arguments)}),onMouseout:t[3]||(t[3]=function(){return e.onMouseLeaveAll&&e.onMouseLeaveAll(...arguments)})},uj,32),(jo(!0),Ko(Po,null,tn(e.hours,((t,i)=>(jo(),Ko("td",{key:i,class:ne([e.headCls,"cell head-cell"]),"syno-id":`${e.synoId}-head-cell-${i}`,colspan:e.numbersOfHour.length,onMouseover:t=>e.onMouseOverHeadCell(i),onMouseleave:t=>e.onMouseLeaveHeadCell(i),onClick:Wr((t=>e.selectHeadCell(i)),["stop"])},ce(t),43,hj)))),128))]),(jo(!0),Ko(Po,null,tn(e.days,((t,i)=>(jo(),Ko("tr",{key:i,class:"normal-row"},[ts("td",{"syno-id":`${e.synoId}-first-cell-${i}`,class:"cell body-cell first-cell",onMouseover:t=>e.onMouseOverDayCell(i),onMouseleave:t=>e.onMouseLeaveDayCell(i),onClick:Wr((t=>e.selectDayCell(i)),["stop"])},ce(t),41,pj),(jo(!0),Ko(Po,null,tn(e.hours,((t,n)=>(jo(),Ko(Po,null,[(jo(!0),Ko(Po,null,tn(e.numbersOfHour,(t=>(jo(),Ko(Po,null,[e.getCustomCellSlot(i,n,t)?rn(e.$slots,e.getCustomCellSlot(i,n,t),{key:0,synoId:`${e.synoId}-inner-cell-${i}-${n}-${t}`,cellCls:e.cellCls(i,n,t),style:Q(e.cellStyles(i,n,t)),day:i,hour:n,hourSplitIndex:t,cellKey:`${i}-${n}-${t}`,click:()=>e.selectCell(i,n,t)}):(jo(),Ko("td",{key:`${i}-${n}-${t}`,"syno-id":`${e.synoId}-inner-cell-${i}-${n}-${t}`,class:ne(e.cellCls(i,n,t)),style:Q(e.cellStyles(i,n,t)),day:i,hour:n,"hour-split-index":t,onClick:Wr((o=>e.selectCell(i,n,t)),["stop"])},null,14,fj))],64)))),256))],64)))),256))])))),128))])],34)],2)),[[l]])}]]);const gj=["search","filter"];wg("select-search",zI),wg("select-filter",EI),wg("select-adjust",pI);const vj=on({name:"SearchInput",components:{vButton:RA,vIcon:bg,vPortal:Hh},directives:{clickoutside:$m},extends:_O,mixins:[Sm],props:{mode:{type:String,default:"search",validator:e=>gj.includes(e)},advanced:{type:[Boolean,Object],default:!1},align:{type:String,default:void 0},dropdownOffset:{type:Array,default:()=>{}},resetBtn:{type:[Boolean,Object],default:!1},searchBtn:{type:[Boolean,Object],default:!1},searchIconActive:{type:Boolean,default:!1},getExtraElements:{type:Function,default:void 0},advancedStyle:{type:Object,default:()=>({})},portalProps:{type:Object,default:()=>({})}},emits:["click-advanced-icon","click-icon"],data:()=>({showAdvanced:!1}),computed:{_wrapperCls(){return["v-search-input",...this.wrapperCls]},searchIconName(){if("left"===this.advanceIconPos){if("search"===this.mode)return"select-advanced-search";if("filter"===this.mode)return"select-advanced-filter"}else{if("search"===this.mode)return"select-search";if("filter"===this.mode)return"select-filter"}return""},searchIconCls(){return{"search-icon":!0,active:this.searchIconActive,"show-advanced-panel":this.showAdvanced,disabled:this.disabled}},rightAdvSearchIconCls(){return{active:this.showAdvanced||this.searchIconActive}},innerAlignment(){(ca(this.align)||ca(this.dropdownOffset))&&th("The prop 'align', 'dropdownOffset' is deprecated, please use 'alignment' instead.");let e=this.getPopupConfigValue("alignment");return ta(this.alignment)&&(e={pos:e}),gm(e,{pos:this.align,offset:this.dropdownOffset})},inputWrapperCls(){return[`${this.prefixCls}-input-wrapper`,"search-filter"]},inputContainerCls(){return{"search-filter":!0,"only-suffix-icons":this.hasSuffixIcons&&!Ya(this,"suffix"),"has-right-advanced-icon":"right"===this.advanceIconPos}},advanceIconPos(){return oa(this.advanced)?this.advanced?"left":"none":this.advanced?.icon??"left"},innerResetBtn(){if(this.resetBtn){const e={text:this._i18n("common","reset"),clickHandler:Ca};return oa(this.resetBtn)?e:gm(e,this.resetBtn)}return null},innerSearchBtn(){if(this.searchBtn){const e={text:this._i18n("common","search_now_placeholder"),clickHandler:Ca};return oa(this.searchBtn)?e:gm(e,this.searchBtn)}return null},resetBtnText(){return this.innerResetBtn.text},searchBtnText(){return this.innerSearchBtn.text},hasSearchBtn(){return Boolean(this.searchBtn)},hasResetBtn(){return Boolean(this.resetBtn)},hasBtn(){return this.hasResetBtn&&this.hasSearchBtn}},methods:{onClickSearchIcon(e){this.advanced&&this.advanceIconPos===e?(Nc(this,"click-advanced-icon"),this.toggleAdvancedPanel()):Nc(this,"click-icon")},closeAdvancedPanel(){this.showAdvanced=!1},openAdvancedPanel(){this.showAdvanced=!0},toggleAdvancedPanel(){this.disabled||(this.showAdvanced?this.closeAdvancedPanel():this.openAdvancedPanel())},clickOutside(){this.advanced&&this.closeAdvancedPanel()},onSearchBtnClick(){this.innerSearchBtn.clickHandler()},onResetBtnClick(){this.innerResetBtn.clickHandler()}}}),yj=["id","type","placeholder","disabled","value","enterkeyhint","autocomplete","readonly","maxlength"],bj={key:0,class:"v-search-input-advanced-footbar"};var wj=Rm(vj,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-button"),l=Bi("v-portal"),d=Fi("clickoutside"),c=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e._wrapperCls)},[ts("div",{class:ne(["input-container",e.inputContainerCls]),onClick:t[10]||(t[10]=function(){return e.closeAdvancedPanel&&e.closeAdvancedPanel(...arguments)})},[ts("div",{class:ne(e.inputWrapperCls)},[is(r,{class:ne(e.searchIconCls),name:e.searchIconName,disabled:e.disabled,"svg-icon-set":"set01",sprite:!0===e.advanced,onClick:t[0]||(t[0]=Wr((t=>e.onClickSearchIcon("left")),["stop"]))},null,8,["class","name","disabled","sprite"]),e.hasPrefix?(jo(),Ko("span",{key:0,class:ne(["prefix-wrapper",e.suffixWrapperCls])},[rn(e.$slots,"prefix")],2)):ls("",!0),ts("input",hs({id:e.id},e.$attrs,{ref:"input",type:e.inputType,class:e.inputCls,placeholder:e.placeholder,disabled:e.disabled,value:e.currentValue,enterkeyhint:e.enterKey,autocomplete:e.autocomplete,readonly:e.readonly,maxlength:e.maxlength,onInput:t[1]||(t[1]=function(){return e.onInput&&e.onInput(...arguments)}),onCompositionstart:t[2]||(t[2]=function(){return e.onCompositionStart&&e.onCompositionStart(...arguments)}),onCompositionend:t[3]||(t[3]=function(){return e.onCompositionEnd&&e.onCompositionEnd(...arguments)}),onKeyup:t[4]||(t[4]=function(){return e.onKeyUp&&e.onKeyUp(...arguments)}),onKeydown:t[5]||(t[5]=function(){return e.onKeyDown&&e.onKeyDown(...arguments)}),onPaste:t[6]||(t[6]=function(){return e.onPaste&&e.onPaste(...arguments)}),onBlur:t[7]||(t[7]=function(){return e.onBlur&&e.onBlur(...arguments)}),onFocus:t[8]||(t[8]=function(){return e.onFocus&&e.onFocus(...arguments)})}),null,16,yj),e.hasSuffix?(jo(),Ko("span",{key:1,class:ne(["suffix-wrapper",e.suffixWrapperCls])},[e.showClear?(jo(),Zo(r,{key:0,name:"input-clear",class:"clear-icon","svg-icon-set":"set25",onClick:Wr(e.onClear,["stop"])},null,8,["onClick"])):ls("",!0),rn(e.$slots,"suffix-icons"),rn(e.$slots,"suffix")],2)):ls("",!0),"right"===e.advanceIconPos?(jo(),Zo(r,{key:2,name:"select-adjust","svg-icon-set":"set13",disabled:e.disabled,class:ne(e.rightAdvSearchIconCls),onClick:t[9]||(t[9]=Wr((t=>e.onClickSearchIcon("right")),["stop"]))},null,8,["disabled","class"])):ls("",!0),e.showAdvanced&&e.advanced?(jo(),Zo(l,hs({key:"advanced","mount-to":e.getContainerEl(),anchor:e.$el,alignment:e.innerAlignment,"acquire-z-index":""},e.portalProps),{default:Ii((()=>[Xi((jo(),Ko("div",{class:"v-search-input-advanced",style:Q(e.advancedStyle)},[rn(e.$slots,"advanced-panel",{display:e.currentValue}),rn(e.$slots,"advanced-panel-footer",{},(()=>[e.hasBtn?(jo(),Ko("div",bj,[e.hasResetBtn?(jo(),Zo(a,{key:0,"syno-id":`${e.synoId}-reset-btn`,type:"footbar",suffix:"cancel",onClick:e.onResetBtnClick},{default:Ii((()=>[rs(ce(e.resetBtnText),1)])),_:1},8,["syno-id","onClick"])):ls("",!0),e.hasSearchBtn?(jo(),Zo(a,{key:1,"syno-id":`${e.synoId}-search-btn`,type:"footbar",suffix:"main",onClick:e.onSearchBtnClick},{default:Ii((()=>[rs(ce(e.searchBtnText),1)])),_:1},8,["syno-id","onClick"])):ls("",!0)])):ls("",!0)]))],4)),[[d,e.clickOutside,e.getExtraElements,{children:!0}]])])),_:3},16,["mount-to","anchor","alignment"])):ls("",!0)],2)],2)],2)),[[c]])}]]),Cj=Rm(on({name:"SelectActionOption",components:{vPortal:Hh},extends:yT,props:{customActiveBehavior:{type:Boolean,default:!1}},emits:["click"],data:()=>({isActive:!1}),computed:{innerCls(){const e=this.customActiveBehavior?this.activated:this.isActive;return["v-select2-dropdown-menu-item action",{unselectable:!1===this.selectable,disabled:this.disabled,activated:e,[this.customClass]:!!this.customClass,"is-selected":this.isSelected}]}},methods:{onHover(){this.isActive=!0},onMouseOut(){this.isActive=!1},onClick(){Nc(this,"click")}}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-portal");return jo(),Ko("div",{class:ne(e.innerCls),onMouseenter:t[0]||(t[0]=function(){return e.onHover&&e.onHover(...arguments)}),onMouseleave:t[1]||(t[1]=function(){return e.onMouseOut&&e.onMouseOut(...arguments)}),onClick:t[2]||(t[2]=function(){return e.onClick&&e.onClick(...arguments)})},[e.mergedTooltip.usePortal?(jo(),Zo(r,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:Ii((()=>[rn(e.$slots,"tooltip-portal",{option:e.option})])),_:3},8,["name","to"])):ls("",!0),rn(e.$slots,"inner-option",{option:e.option},(()=>[rs(ce(e.display),1)]))],34)}]]);wg("select-option-tick",WI),wg("select-option-untick",Ia);const xj=on({name:"SelectMultilineOption",components:{vIcon:bg},directives:{tooltip:lg},extends:yT,mixins:[Cg],props:{},computed:{useTick(){return this.option?.useTick},innerTickIcon(){return this.useTick?gm({name:this.isSelected?"select-option-tick":"select-option-untick",svgIconSet:"set03"},this.option?.tickIcon??{}):{}},innerCls(){return["v-select2-dropdown-menu-item","v-select2-dropdown-menu-multiline-item",this.customClass?this.customClass:"",{unselectable:!1===this.selectable,disabled:this.disabled,activated:this.activated,"is-selected":this.isSelected,"has-icon":!!this.option.icon,tick:this.useTick}]},mergedTooltip(){return!1!==this.tooltip&&Object.assign({},this.tooltip)},descTooltip(){return{content:this.option.desc,overflowOnly:!0}}},methods:{}}),Sj=["id","syno-id","aria-selected"],kj={class:"multiline-option-content-wrapper"},_j={class:"multiline-option-content"},Ij={ref:"text",class:"option-text multiline-option-title"},Tj={key:0,class:"multiline-option-desc"};var Dj=Rm(xj,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Fi("tooltip");return jo(),Ko("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:ne(e.innerCls),role:"option","aria-selected":e.activated,onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)}),onMouseenter:t[1]||(t[1]=function(){return e.onHover&&e.onHover(...arguments)}),onMouseleave:t[2]||(t[2]=function(){return e.onHoverOut&&e.onHoverOut(...arguments)})},[ts("div",kj,[rn(e.$slots,"inner-option",{option:e.option},(()=>[e.useTick?(jo(),Zo(r,oe(hs({key:0},e.innerTickIcon)),null,16)):ls("",!0),e.option.icon?(jo(),Zo(r,hs({key:1,class:"item-icon"},e.innerIcon),null,16)):ls("",!0),ts("div",_j,[rn(e.$slots,"title",{},(()=>[Xi((jo(),Ko("span",Ij,[rs(ce(e.display),1)])),[[a,e.mergedTooltip]])])),rn(e.$slots,"desc",{},(()=>[e.option.desc?Xi((jo(),Ko("span",Tj,[rs(ce(e.option.desc),1)])),[[a,e.descTooltip]]):ls("",!0)]))])]))])],42,Sj)}]]);const Lj="[",Aj="]",Ej=new RegExp(`^\\${Lj}(.*)\\]$`),Mj=", ";function Bj(e){return e.includes(" ")}class Oj{constructor(e){this.type="block",this.text=e,this.decorator='<span class="v-search-block" data-serialize={serialize}>{}</span>',this.currentIndex=-1,this.withQuote=!1}static needToQuoteIt(e){return Bj(e)||function(e){return e.includes("[")||e.includes("]")}(e)}static trimQuote(e){return e.startsWith('"')&&(e=e.slice(1)),e.endsWith('"')&&(e=e.slice(0,e.length-1)),e}static toHtml(e,t){return`<span class="v-search-block" data-serialize="${Oj.serialize(e,t)}">${Ku(e)}</span>`}static serialize(e,t){return encodeURI(JSON.stringify({value:Array.isArray(t)?JSON.stringify(t):t,text:encodeURIComponent(e)}))}static deserialize(e){const t=JSON.parse(decodeURI(e));return t.text&&(t.text=decodeURIComponent(t.text)),t}toDSL(){return this.text||""}getType(){return this.type}length(){return this.withQuote?this.finalizeText().length+2:this.finalizeText()?this.finalizeText().length:0}shouldHaveQuote(){return!this.isMultipleTexts()&&Bj(this.text??"")}finalizeText(){return this.text??""}isMultipleTexts(){return Ej.test(this.text??"")}getMultipleTexts(){let{trim:e=!0,withQuote:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(this.text??"").replace(Ej,"$1").split(Mj);return e&&(i=i.filter((e=>e))),t||(i=i.map((e=>e.replace(/"/g,"")))),i}toMultipleTexts(e){return arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?e.join(Mj):`${Lj}${e.join(Mj)}]`}findMultipleTextIndex(e){const t=this.getMultipleTexts({trim:!1});let i=-1,n=1;for(const[o,s]of t.entries())if(i=n,n+=s.length+2,n>e)return[o,e-i];return[0,-1]}getValue(){return this.value}pureText(){return this.text??""}format(){if(this.isMultipleTexts()){const e=this.getMultipleTexts();this.text=this.toMultipleTexts(e)}return!0}getDecoratedHtml(){let e=this.withQuote?`"${this.finalizeText()}"`:this.finalizeText();return e=Ku(e),e=(this.decorator??"").replace(/{}/,e),e.replace(/{serialize}/,Oj.serialize(this.finalizeText(),this.value))}getPreviousNonEmptyBlock(){let e=this.prevBlock;for(;e;){if("empty"!==e.getType())return e;e=e.prevBlock}return null}getNextNonEmptyBlock(){let e=this.nextBlock;for(;e;){if("empty"!==e.getType())return e;e=e.nextBlock}return null}}class $j extends Oj{constructor(e){super(e),Array.isArray(e)&&(this.text=this.toMultipleTexts(e)),this.type="unknown"}}class Fj extends Oj{constructor(e,t){super(e),this.decorator='<span class="v-search-block v-search-block-category" data-serialize={serialize}>{}</span>',this.type="category",t?(this.value=t.value||e,this.categoryProp=t):this.value=e}}class Vj extends Oj{constructor(e,t,i){super(e),this.decorator='<span class="v-search-block v-search-block-operator" data-serialize={serialize}>{}</span>',this.relativeCategory=t,this.type="operator",i?(this.value=i.value||e,this.operatorProp=i):this.value=e}isValidValueBlock(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"title";if("number"===this.validValueType)return!!sa(e.pureText())&&e.pureText();if("string"===this.validValueType)return!!ta(e.pureText())&&e.pureText();if("date"===this.validValueType)return!!(this.validValueInfo&&this.validValueInfo.dateFormat&&cP.includes(this.validValueInfo.dateFormat)&&ZN(e.pureText(),this.validValueInfo.dateFormat))&&e.pureText();if("array"===this.validValueType){if(this.validValueInfo&&this.validValueInfo.validValues){return this.validValueInfo.validValues.find((i=>"title"===t?i.title===e.pureText():"value"===t?i.value===e.value:"both"===t?i.title===e.pureText()&&i.value===e.value:void 0))||!1}return!0}if("function"===this.validValueType){const t=this.validValueInfo?.validFunc?.(e);if(!0===t)return e.pureText()}else if("multiple"===this.validValueType&&this.validValueInfo&&this.validValueInfo?.validValues){const i=e.getValue(),n=("title"===t||"both"===t?e.getMultipleTexts({withQuote:!1}):i).reduce(((e,n,o)=>{if(!1===e)return e;const s=this.validValueInfo?.validValues?.find((e=>{if("both"===t){const t=i[o];return e.title===n&&e.value===t}return"value"===t?e.value===n:e.title===n}));return!!s&&(e.push(s),e)}),[]);return!(!Array.isArray(n)||!n.length)&&n}return!1}setValidValueTypes(e){Array.isArray(e)?(this.validValueType="array",this.validValueInfo={validValues:e.slice()}):ia(e)?(this.validValueType="function",this.validValueInfo={validFunc:e}):na(e)?(this.validValueType=e.type,this.validValueInfo=e.info,this.validValueInfo&&e.info?.validValues&&!Array.isArray(e.info?.validValues)&&(this.validValueInfo.validValues=e.info?.validValues)):this.validValueType=e}needListValueType(){return"array"===this.validValueType||"multiple"===this.validValueType}needDateValueType(){return"date"===this.validValueType}}class Pj extends Oj{static HTMLToken=" ";constructor(e){super(e),this.type="empty"}shouldHaveQuote(){return!1}getDecoratedHtml(){return this.text?this.text.replace(/\s/g," "):""}}class Nj extends Oj{constructor(e,t){super(e),this.decorator='<span class="v-search-block v-search-block-value" data-serialize={serialize}>{}</span>',this.type="value",this.relativeOperator=t,this.relativeCategory=t.relativeCategory}toText(e){return ta(e)?e:Array.isArray(e)?this.toMultipleTexts(e.map((e=>Oj.needToQuoteIt(e.title)?`"${e.title}"`:e.title))):e.title}setValue(e){ta(e)?this.value=e:Array.isArray(e)?(this.valueCases=e,this.value=e.map((e=>e.value))):(this.valueCase=e,this.value=e.value)}}const Rj=["and","or"];class Hj extends Oj{constructor(e){super(e),this.decorator='<span class="v-search-block v-search-block-conjunction">{}</span>',this.type="conjunction",this.value=e}isAnd(){return"and"===this.text}isOr(){return"or"===this.text}}const zj="(",Wj=")",jj=["(",")"];function Uj(e){return"open"===e?["("]:"close"===e?[")"]:jj}function Gj(e){return e instanceof Yj&&e.isOpen()}function qj(e){return e instanceof Yj&&e.isClose()}class Yj extends Oj{constructor(e){super(e),this.decorator='<span class="v-search-block v-search-block-bracket">{}</span>',this.type="bracket",this.value=this.text}isOpen(){return"("===this.text}isClose(){return")"===this.text}}function Kj(e){return e.replace(/\u00a0/g," ").replace(/\n/g,"")}function Zj(e){let t=[];for(const i of e){const e=i.prevBlock;"empty"!==i.getType()&&e&&"empty"!==e.getType()&&t.push(new Pj(" ")),t.push(i)}return e.length>0&&"empty"!==e[e.length-1].getType()&&t.push(new Pj(" ")),t=Jj(t),t}function Jj(e){for(let t=0;t<e.length;t++){const i=e[t];i.currentIndex=t,t>0&&(i.prevBlock=e[t-1]),t<e.length-1&&(i.nextBlock=e[t+1])}return e}class Qj{constructor(e){this.grammar=e}shouldQuote(e){let t=!1;return e.length>2&&e.startsWith('"')&&e.endsWith('"')&&(e=Oj.trimQuote(e),t=!0),{withQuote:t,text:e}}parseTokens(e){const t=[],i=[],n=e.length;let o="",s=0;for(;s<n;){let r=e[s];const a=t[t.length-1];if('"'===r?t.length>0?'"'===a&&t.pop():t.push(r):"["===r&&'"'!==a?t.push(r):"]"===r&&"["===a&&t.pop()," "!==r||0!==t.length)o+=r,s++;else{""!==o&&(i.push(o),o="");let t="";for(;" "===r&&s<n;)t+=r,r=e[++s];i.push(t)}}return""!==o&&i.push(o),i?i.map((e=>{const{withQuote:t,text:i}=this.shouldQuote(e);return{text:i,withQuote:t}})):[]}generateBlocksByTokens(e){return Jj(e.map((e=>{let t=new Oj(e.text);return t.withQuote=e.withQuote,t.value=e.value,""===e.text.trim()&&(t=new Pj(Kj(e.text))),t})))}createBlocksByBrieflyBlocks(e){let t=[],i=null;for(const n of e){let e;"empty"===n.type?e=this.grammar.transformEmpty():(e="bracket"===n.type?this.grammar.transformBracket(n.value):"conjunction"===n.type?this.grammar.transformConjunction(n.value):"category"===n.type?this.grammar.transformCategory(n.value):"operator"===n.type&&i?this.grammar.transformOperator(n.value,i):"value"===n.type&&i?this.grammar.transformValue(n.value,i):this.grammar.transformBlock(n.value),i=e),e.shouldHaveQuote()&&(e.withQuote=!0),t.push(e)}return t=Jj(t),t}toTokensByElement(e){if(e.dataset.serialize){const t=Oj.deserialize(e.dataset.serialize);return this.toTokens(e.textContent||"").map((e=>{try{e.value=JSON.parse(t.value),na(e.value)||Array.isArray(e.value)||(e.value=t.value)}catch{e.value=t.value}return e}))}return this.toTokens(e.textContent||"")}toTokens(e){return this.parseTokens(Kj(e))}createTokens(e){let t=[];for(const i of e.childNodes)t=i.nodeType===Node.TEXT_NODE?t.concat(this.toTokens(i.textContent||"")):t.concat(this.toTokensByElement(i));return t}createBlocks(e){const t=this.createTokens(e),i=this.generateBlocksByTokens(t);return this.grammar.transformBlocks(i)}toHtml(e){return e.map((e=>e.getDecoratedHtml())).join("")}toBrieflyBlocks(e){return e.map((e=>({type:e.getType(),value:e.value||e.text||""})))}}var Xj=on({name:"SuggestionItem",props:{display:{type:String,default:""},value:{type:String,default:""},prompt:{type:String,default:""},selected:{type:Boolean,default:!1},focused:{type:Boolean,default:!1},inGroup:{type:Boolean,default:!1},selectable:{type:Boolean,default:!0}},data:()=>({}),render(){return _d("li",{class:["v-search-suggestions-item",{"v-search-suggestions-item-selected":this.selected,"v-search-suggestions-item-focused":this.focused,unselectable:!this.selectable,"child-item":this.inGroup}]},[_d("div",{class:["search-suggestion-item-content"]},[_d("span",{class:["item-display"]},this.display),_d("span",{class:["item-prompt"]},this.prompt)])])}});function eU(e,t){return t.title.startsWith(e)}class tU{constructor(e,t,i){this.selection=e,this.categories=t,this.info=i}setCategories(e){this.categories=e}getCategoryTitles(e){return e=Oj.trimQuote(e),this.categories.reduce(((t,i)=>{if(i.hint&&!1===i.hint.show)return t;const n=i.hint&&i.hint.searchFunc?i.hint.searchFunc(e,i):eU(e,i);if(!1===n)return t;const o=sa(n)?n:i.hint&&i.hint.priority?i.hint.priority:10;return t.push({display:i.title,value:i.value,prompt:i.hint&&i.hint.prompt,useSlot:i.hint&&i.hint.useSlot,priority:o,blockType:"category",grouping:i.hint&&i.hint.grouping,hintObj:i.hint}),t}),[])}getBracketsTitles(e,t){return Uj(t).reduce(((t,i)=>(i.startsWith(e)&&t.push({display:i,value:i,blockType:"bracket"}),t)),[])}getOperatorTitles(e,t){return e=Oj.trimQuote(e),t.validOperators?t.validOperators.reduce(((t,i)=>{const n=i.hint&&i.hint.searchFunc?i.hint.searchFunc(e,i):eU(e,i);if(!1===n)return t;const o=sa(n)?n:i.hint&&i.hint.priority?i.hint.priority:10;return t.push({display:i.title,value:i.value,prompt:i.hint&&i.hint.prompt,useSlot:i.hint&&i.hint.useSlot,priority:o,blockType:"operator",autoPatch:i.autoPatch,grouping:i.hint&&i.hint.grouping,hintObj:i.hint}),t}),[]):[]}getValueTitles(e,t){return e=Oj.trimQuote(e),t&&t.needListValueType()&&t.validValueInfo&&t.validValueInfo.validValues?t.validValueInfo.validValues.reduce(((t,i)=>{const n=i.hint&&i.hint.searchFunc?i.hint.searchFunc(e,i):eU(e,i);if(!1===n)return t;const o=sa(n)?n:i.hint&&i.hint.priority?i.hint.priority:10;return t.push({display:i.title,value:i.value,prompt:i.hint&&i.hint.prompt,useSlot:i.hint&&i.hint.useSlot,priority:o,blockType:"value",grouping:i.hint&&i.hint.grouping,hintObj:i.hint}),t}),[]):[]}getValueDate(e,t){return KN(e?.value,t)||new Date}getConjunctionTitles(e){return Rj.reduce(((t,i)=>(i.startsWith(e)&&t.push({display:i,value:i,blockType:"conjunction"}),t)),[])}genCategoryHint(e){return e.type="list",e.showHint=!0,e.data.titles=e.data.titles.concat(this.getCategoryTitles(e.prefixText)),e}genBracketHint(e,t){return e.type="list",e.showHint=!0,e.data.titles=e.data.titles.concat(this.getBracketsTitles(e.prefixText,t)),e}genOperatorHint(e){return e.type="list",e.showHint=!0,e.prevBlock instanceof Fj&&(e.data.titles=e.data.titles.concat(this.getOperatorTitles(e.prefixText,e.prevBlock))),e}genValueHint(e){return e.type="list",e.showHint=!0,e.prevBlock instanceof Vj&&(e.prevBlock.needListValueType()?(e.type="multiple"===e.prevBlock.validValueType?"multiple":"list",e.data.titles=e.data.titles.concat(this.getValueTitles(e.prefixText,e.prevBlock))):e.prevBlock.needDateValueType()&&(e.type="date",e.data.date={current:this.getValueDate(e.block,e.prevBlock.validValueInfo?.dateFormat),dateFormat:e.prevBlock.validValueInfo?.dateFormat})),e}genConjunctionHint(e){return e.type="list",e.showHint=!0,e.data.titles=e.data.titles.concat(this.getConjunctionTitles(e.prefixText)),e}hasOpenBracket(e){return e.some((e=>e instanceof Yj&&e.isOpen()))}needCloseBracket(e){const t=[];for(const i of e)i instanceof Yj&&(i.isOpen()?t.push(i):i.isClose()&&t.length>0&&t.pop());return t.length>0}shouldHint(e){const t=this.selection.getCurrentBlockInfo(e)[0];let i={showHint:!1,type:"list",prefixText:"",searchTitle:"Search Criteria",block:void 0,data:{titles:[]}};if(t&&t.block){const e=t.block,n=t.overlappedBlock,o=e.getPreviousNonEmptyBlock();if(i.block=e,e.isMultipleTexts()){const n=e.getMultipleTexts(),[o,s]=e.findMultipleTextIndex(t.offset),r=n[o];i.prefixText=r?r.substring(0,s):"",i.type="multiple"}else i.prefixText=e.pureText().substring(0,t.offset).trim();if(i.prevBlock=o,"conjunction"===e.getType()||n&&"conjunction"===n.getType())return this.genConjunctionHint(i);(null===o||"block"===o.getType()||o instanceof Hj||o instanceof Yj&&o.isOpen())&&(i=this.genCategoryHint(i)),o instanceof Fj&&(i=this.genOperatorHint(i)),o instanceof Vj&&(i=this.genValueHint(i)),(o instanceof Nj||o instanceof Yj&&o.isClose())&&(i=this.genCategoryHint(i))}else i=this.genCategoryHint(i);return this.info.limit&&i.data.titles.length>this.info.limit&&(i.limit={showHint:!0,num:this.info.limit}),i}}const iU="|";class nU{constructor(e){this.el=e,this.saveRange={start:0,end:0}}getCursorRect(){return this.getNative()?.getBoundingClientRect()??{left:0,top:0}}getNative(){if(Mc)return null;if(document.activeElement!==this.el)return null;const e=this.getSelection();return e&&e.rangeCount?e.getRangeAt(0):null}getSelection(){return window.getSelection()}getRange(){const e=this.getNative();if(!e)return{start:0,end:0,collapsed:!0};const t=e.cloneRange();t.selectNodeContents(this.el),t.setEnd(e.startContainer,e.startOffset);const i=t.toString().length;return{start:i,end:i+e.toString().length,collapsed:this.getSelection()?.isCollapsed}}findBlockTextIndex(e,t){let i=0;for(const[n,o]of e.entries()){if(o===t)return{start:i,end:i+o.length(),blockIndex:n};i+=o.length()}return{start:-1,end:-1,blockIndex:-1}}getCurrentBlockInfo(e){const t=this.getRange();let i=0,n=0;const o=[];for(const[s,r]of e.entries()){const a=s+1<e.length?e[s+1]:null;n+=r.length(),t.start<=i&&n<=t.end?o.push({block:r,offset:-1,covered:!0,overlappedBlock:null}):i<=t.start&&t.start<=n?o.push({block:r,offset:t.start-i,covered:!1,overlappedBlock:t.start-i>=r.length()?a:null}):i<=t.end&&t.end<=n&&o.push({block:r,offset:t.end-i,covered:!1,overlappedBlock:t.start-i>=r.length()?a:null}),i=n}return o}save(){this.saveRange=this.getRange()}restore(){return this.setCaretPos(this.saveRange.start,this.saveRange.end)}setCaretPosByRange(e){this.setCaretPos(e.start,e.end)}setCaretPos(e,t){let i=0;const n=document.createRange();n.setStart(this.el,0),n.collapse(!0);const o=[this.el];let s,r=!1,a=!1;for(;!a&&(s=o.pop());)if(s.nodeType==Node.TEXT_NODE){const o=i+(s?.textContent?.length??0);!r&&e>=i&&e<=o&&(n.setStart(s,e-i),r=!0),r&&t>=i&&t<=o&&(n.setEnd(s,t-i),a=!0),i=o}else{let e=s.childNodes.length;for(;e--;)o.push(s.childNodes[e])}const l=window.getSelection();l?.removeAllRanges(),l?.addRange(n)}replaceTextByBlocks(e,t,i,n,o,s,r){(t.textContent||"").length;let a=n.length,l=-1;for(const e of i){const t=e.block;if(t){const{start:e,end:i,blockIndex:o}=this.findBlockTextIndex(n,t);a=Math.min(a,o),l=Math.max(l,o)}}const d=n.slice(0,a),c=n.slice(l+1),u=d.map((e=>e.getDecoratedHtml())).join(""),h=c.map((e=>e.getDecoratedHtml())).join("");let p=u;if(d.length>0&&"empty"!==d[d.length-1].getType()&&(p+=Pj.HTMLToken),"multiple"===s){const t=i[0],n=t.block;if(n.isMultipleTexts()){const[i]=n.findMultipleTextIndex(t.offset),o=n.getMultipleTexts({trim:!1}),s=o.length-1,a=n.getValue()||[];r&&(a[i]=r),o[i]=e+(i!==s?iU:""),p+=Oj.toHtml(Lj+n.toMultipleTexts(o,!1)+(i===s?`${Mj}${iU}`:"")+Aj,a)}else p+=Oj.toHtml(`${Lj}${e}${Mj}${iU}${Aj}`,r?[r]:[])}else p+=e,p+=Pj.HTMLToken+((e=>{if(!ta(o)||!e||!e.block)return!1;const t=e.block.getNextNonEmptyBlock();return!t||!t.text})(i[0])?o:iU)+h,c.length>0&&"empty"!==c[0].getType()&&(p+=Pj.HTMLToken);const f=function(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}(p).indexOf(iU);return{html:p.replace(iU,""),caretPos:f}}}class oU{constructor(e,t,i,n,o){this.oldVal=t,this.newVal=i,this.oldRange=n,this.newRange=o,this.vueInst=e}execute(){this.vueInst.blocks=this.newVal,this.vueInst.applyBlocks(),this.vueInst.selection?.setCaretPosByRange(this.newRange)}unExecute(){this.vueInst.blocks=this.oldVal,this.vueInst.applyBlocks(),this.vueInst.selection?.setCaretPosByRange(this.oldRange)}}class sU{constructor(){this.undoCommands=[],this.redoCommands=[]}pushCommand(e){this.undoCommands.push(e),this.redoCommands=[]}undo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;for(;e--;){const e=this.undoCommands.pop();if(!e)return;e.unExecute(),this.redoCommands.push(e)}}redo(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;for(;e--;){const e=this.redoCommands.pop();if(!e)return;e.execute(),this.undoCommands.push(e)}}}const rU=[33,0];function aU(e){return e.replace(/\u00a0/g," ")}var lU=on({name:"SearchContent",components:{vScrollbar:wD},directives:{},mixins:[],props:{text:{type:String,default:""},[rT()]:{type:Array,default:()=>[]},fetchOperators:{type:Function,default:void 0},fetchValueTypes:{type:Function,default:void 0},categories:{type:Array,default:()=>[]},placeholder:{type:String,default:""},dslProcessor:{type:Object,required:!0},blockFactory:{type:Object,required:!0},groupingInfo:{type:Object,default:()=>({})},hintInfo:{type:Object,default:()=>({limit:!1})},validateMessage:{type:String,default:""},validator:{type:Function,default:void 0}},emits:["value","hint","error","text","keydown","blur","focus"],data:()=>({cls:"v-search",blocks:[],prevBlocks:[],commandMgr:null,selection:null,hintHandler:null,prevRange:null,onStateChangedDebounce:null,onValidateDebounced:null,operators:[],isLock:!1,scrollTop:null}),watch:{hintInfo(e){this.hintHandler&&(this.hintHandler.info=e)},text:{async handler(e){Mc||(await this.$nextTick(),this.$refs.text.innerText=e,this.onSync())},immediate:!0},[rT()]:{async handler(e){e&&this.setBlocks(e)}},categories(e){this.hintHandler&&this.hintHandler.setCategories(e)}},created(){this.commandMgr=new sU,this.onStateChangedDebounce=yD(this.onStateChanged,30),this.onValidateDebounced=yD(this.onValidate,250)},async mounted(){await this.$nextTick(),this.selection=new nU(this.$refs.text),this.hintHandler=new tU(this.selection,this.categories,this.hintInfo)},methods:{setBlocks(e){this.blocks=e.slice(),this.applyBlocks(),Nc(this,"value",this.blocks),this.onValidateDebounced()},patchMissingBlocks(){this.blocks=this.dslProcessor?.patchMissingBlocks(this.blocks)??[],this.$refs.text.innerHTML=this.blockFactory.toHtml(this.blocks),this.onSync({autoRestoreSelection:!1,showHint:!1}),this.onValidateDebounced()},formatBlocks(){for(const e of this.blocks)e.format();this.$refs.text.innerHTML=this.blockFactory.toHtml(this.blocks),this.onSync({autoRestoreSelection:!1,showHint:!1})},insertTextBySuggestion(e){let t=e.blockText||"";return"multiple"===e.replaceStrategy?t=e.blockText||"":e.value&&(t=Oj.toHtml(e.blockText||"",e.value)),this.insertTextInSelection(t,e.replaceStrategy,e.autoPatch,e.value)},insertTextInSelection(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;if(!this.selection)return;this.saveScrollTop(),this.$refs.text.focus(),this.restoreScrollTop(),this.selection.restore();const o=this.selection.getCurrentBlockInfo(this.blocks),{html:s,caretPos:r}=this.selection.replaceTextByBlocks(e,this.$refs.text,o,this.blocks,i,t,n);this.$refs.text.innerHTML=s,this.selection.setCaretPos(r,r),this.onSync()},onSync(){let{autoRestoreSelection:e=!0,showHint:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.blockFactory&&(this.blocks=this.blockFactory.createBlocks(this.$refs.text),this.selection&&e&&this.selection.save(),this.applyBlocks(),this.selection&&e&&this.selection.restore(),this.hintHandler&&t&&Nc(this,"hint",this.hintHandler.shouldHint(this.blocks)),this.$refs.scrollbar?.update?.(),Nc(this,"value",this.blocks),Nc(this,"error",!1))},applyBlocks(){this.$refs.text.innerHTML=this.blockFactory.toHtml(this.blocks),Nc(this,"text",aU(this.$refs.text.innerText))},onStateChanged(){if(!this.selection)return;this.prevRange||(this.prevRange=this.selection.getRange());const e=new oU(this,this.prevBlocks,this.blocks,this.prevRange,this.selection.getRange());this.commandMgr?.pushCommand(e),this.prevBlocks=this.blocks,this.prevRange=this.selection.getRange()},onValidate(){if(this.validator){const{hasError:e,message:t}=this.validator(this.dslProcessor.parse(this.blocks));Nc(this,"error",e,t)}else Nc(this,"error",!this.dslProcessor.parse(this.blocks),this.validateMessage)},onSelectionChange(){this.selection&&(this.selection.save(),Nc(this,"hint",this.hintHandler?.shouldHint(this.blocks)))},setCaretPosToEnd(){let{collapse:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=aU(this.$refs.text.innerText);let{start:i}=this.selection?.getRange()??{start:0};e&&(i=t.length),this.selection?.setCaretPos(i,t.length)},setCaretPosToStart(){let{collapse:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{end:t}=this.selection?.getRange()??{end:0};e&&(t=0),this.selection?.setCaretPos(0,t)},blur(){this.$el&&this.$el.blur()},getCursorRect(){if(!this.selection)return;const e=this.selection.getCursorRect();let t={top:0,left:0};return this.$refs.text&&(t=this.$refs.text.getBoundingClientRect()),{left:Math.max(rU[0],e.left-t.left),top:Math.max(rU[1],e.top-t.top)}},onKeyDown(e){this.isLock||(Nc(this,"keydown",e),"End"===e.key?(e.preventDefault(),this.setCaretPosToEnd({collapse:!ru(e)})):"Home"===e.key?(e.preventDefault(),this.setCaretPosToStart({collapse:!ru(e)})):"z"===e.key.toLowerCase()&&e.ctrlKey&&(e.shiftKey?this.redo():this.undo(),e.preventDefault()))},undo(){this.commandMgr?.undo(),Nc(this,"value",this.blocks)},redo(){this.commandMgr?.redo(),Nc(this,"value",this.blocks)},onKeyUp(e){"Escape"!==e.key&&"Enter"!==e.key&&"ArrowUp"!==e.key&&"ArrowDown"!==e.key&&this.onSelectionChange()},onBlur(e){Nc(this,"blur",e)},onFocus(e){Nc(this,"focus",e)},genContentEditableDiv(){return _d(wD,{ref:"scrollbar",scopedSlots:{default:()=>[_d("div",{class:["v-search-contenteditable"],attrs:{contenteditable:!0,spellcheck:!1,placeholder:this.placeholder,enterkeyhint:jc.Search},ref:"text",on:{paste:e=>{e.preventDefault();const t=e.clipboardData?.getData("text/plain");document.execCommand("insertText",!1,t)},compositionstart:()=>{this.isLock=!0},compositionend:()=>{this.isLock=!1,this.onSync(),this.onStateChangedDebounce()},input:()=>{this.isLock||(this.onSync(),this.onStateChangedDebounce())},mouseup:this.onSelectionChange,keydown:this.onKeyDown,keyup:this.onKeyUp,blur:this.onBlur,focus:this.onFocus}})]}})},getCurrentToken:()=>"",clear(){this.$refs.text.innerText="",this.onSync()},setBrieflyBlocks(e){const t=this.blockFactory.createBlocksByBrieflyBlocks(e);this.setBlocks(t)},getBrieflyBlocks(){return this.blockFactory.toBrieflyBlocks(this.blocks)},saveScrollTop(){this.scrollTop=this.getScrollTop()},restoreScrollTop(){const e=this.scrollTop;this.$refs.scrollbar?.setScroll(void 0,e),this.scrollTop=null},getScrollTop(){return this.$refs.scrollbar?.getScrollTop()??0}},render(){return this.genContentEditableDiv()}});function dU(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"title";return t.find((t=>t.condition?t.condition(e):"title"===i?t.title===e.pureText():"value"===i?t.value===e.getValue():"both"===i?t.title===e.pureText()&&t.value===e.getValue():void 0))}function cU(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"title";return t?.find((t=>"title"===i?t.title===e.pureText():"value"===i?t.value===e.getValue():"both"===i?t.title===e.pureText()&&t.value===e.getValue():void 0))}function uU(e){return Rj.some((t=>t===e))}function hU(e){return zj===e}function pU(e,t){const i=t.prevBlock,n=t.nextBlock;i&&(i.nextBlock=e),n&&(n.prevBlock=e),e.nextBlock=n,e.prevBlock=i,e.currentIndex=t.currentIndex,e.withQuote=t.withQuote}class fU{constructor(e,t,i){this.categories=e||[],this.fetchValueTypes=i,this.fetchOperators=t}setCategories(e){this.categories=e}transformBlock(e){return new Oj(e)}transformEmpty(){return new Pj(" ")}transformCategory(e){const t=new Oj("");t.value=e;const i=dU(t,this.categories,"value");if(i){const e=new Fj(i.title,i);return e.validOperators=this.fetchOperators(e),e}return new $j(e)}transformOperator(e,t){if("category"!==t.getType())return new $j(e);const i=new Oj("");i.value=e;const n=cU(i,t.validOperators,"value");return n?new Vj(n.title,t,n):new $j(e)}transformValue(e,t){if("operator"!==t.getType())return new $j(e);const i=t;i.setValidValueTypes(this.fetchValueTypes(i));const n=new Nj(e,i);n.value=e;const o=i.isValidValueBlock(n,"value");return!1!==o?(n.setValue(o),n.text=n.toText(o),n):new $j(e)}transformBracket(e){return new Yj(e)}transformConjunction(e){return new Hj(e)}transformValues(e){for(const t of e){const i=t.getNextNonEmptyBlock();if(t instanceof Vj&&(t.setValidValueTypes(this.fetchValueTypes(t)),i&&("block"===i.getType()||i instanceof Fj))){const n=t.isValidValueBlock(i,i.value?"both":"title");!1!==n&&(e[i.currentIndex]=new Nj(i.text,t),e[i.currentIndex].setValue(n),pU(e[i.currentIndex],i))}}return e}transformOperators(e){for(let t=0;t<e.length;t++){const i=e[t],n=i.getNextNonEmptyBlock();if(i instanceof Fj&&(i.validOperators=this.fetchOperators(i),n&&"block"===n.getType()&&i.validOperators&&i.validOperators.length>0)){const t=cU(n,i.validOperators,n.value?"both":"title");t&&(e[n.currentIndex]=new Vj(n.text,i,t),pU(e[n.currentIndex],n))}}return e}transformConjunctions(e){for(let t=0;t<e.length;t++){const i=e[t],n=i.getNextNonEmptyBlock();(i instanceof Nj||i instanceof Yj&&i.isClose())&&n&&"block"===n.getType()&&uU(n.pureText())&&(e[n.currentIndex]=new Hj(n.text),pU(e[n.currentIndex],n))}return e}transformOpenBrackets(e){for(let t=0;t<e.length;t++){const i=e[t];let n=i.getNextNonEmptyBlock();0===t&&hU(i.pureText())&&(e[i.currentIndex]=new Yj(i.text),pU(e[i.currentIndex],i),n=i.getNextNonEmptyBlock()),(i instanceof Hj||"block"===i.getType()||i instanceof Yj&&i.isOpen())&&n&&"block"===n.getType()&&hU(n.pureText())&&(e[n.currentIndex]=new Yj(n.text),pU(e[n.currentIndex],n))}return e}transformCloseBrackets(e){for(let i=0;i<e.length;i++){const n=e[i],o=n.getNextNonEmptyBlock();(n instanceof Nj||n instanceof Yj&&n.isClose())&&o&&"block"===o.getType()&&(t=o.pureText(),Wj===t&&(e[o.currentIndex]=new Yj(o.text),pU(e[o.currentIndex],o)))}var t;return e}transformCategories(e){for(let t=0;t<e.length;t++){const i=e[t];if("block"===i.getType()){const t=dU(i,this.categories,i.value?"both":"title");t&&(e[i.currentIndex]=new Fj(i.text,t),pU(e[i.currentIndex],i))}}return e}transformBlocks(e){return e=this.transformCategories(e),e=this.transformOperators(e),e=this.transformValues(e),e=this.transformCloseBrackets(e),e=this.transformConjunctions(e),this.transformOpenBrackets(e)}verifyClause(e){const t=function(e){const t=e.getNextNonEmptyBlock();return!(!t||"operator"!==t.getType()||!i(t))},i=function(e){const t=e.getNextNonEmptyBlock();return t&&"value"===t.getType()};for(const i of e)"category"===i.getType()&&(i.validClause=t(i));return e}}var mU=on({name:"SuggestionGroupItem",extends:Xj,props:{selectable:{type:Boolean,default:!1}},render(){return _d("li",{class:["v-search-suggestions-item group",{"v-search-suggestions-item-selected":this.selected,"v-search-suggestions-item-focused":this.focused}]},[_d("div",{class:["search-suggestion-item-content"]},[_d("span",{class:["item-display"]},this.display),_d("span",{class:["item-prompt"]},this.prompt)])])}}),gU=on({name:"SearchSuggestions",components:{SuggestionItem:Xj,SuggestionGroupItem:mU,vDatePickerMenu:sH,vScrollbar:wD},directives:{clickoutside:$m},mixins:[Aa("semantic-search"),Sm],props:{hint:{type:Object,required:!0},groupingInfo:{type:Object,required:!0},cursorRect:{type:Object,default:()=>({top:0,left:0})}},emits:["select","selected-date"],data:()=>({selectedIndex:-1,suggestionOffset:[0,0],hidden:!1}),computed:{titleInfos(){return this.hint?.data?.titles&&this.hint.data.titles.length>0?this.hint.data.titles:[]},suggestionItems(){const e=Object.create(null),t=[];let i=[];const n=(e,t)=>{let i=e.display,n=!1;return Oj.needToQuoteIt(e.display)&&(i=`"${e.display}"`,n=!0),{blockType:e.blockType,display:e.display,value:e.value,prompt:e.prompt,useSlot:e.useSlot,autoPatch:e.autoPatch,replaceStrategy:"multiple"===this.hint.type?"multiple":"none",blockText:i,hasQuote:n,isGroup:!1,inGroup:t,selectable:!0,hintObj:e.hintObj}};for(const i of this.titleInfos)i.grouping&&i.grouping.by?(e[i.grouping.by]||(e[i.grouping.by]=[]),e[i.grouping.by].push(i)):t.push(i);for(const[o,s]of this.sortGroupInfos(e,t))if(ta(o)){const e=this.getGroupInfo(o);i.push({blockType:"unknown",display:e.display,value:e.value,prompt:e.prompt,useSlot:e.useSlot,hasQuote:!1,isGroup:!0,inGroup:!1,selectable:!1,replaceStrategy:"none",hintObj:e.hintObj});const t=s.sort(((e,t)=>{const i=e.priority||10,n=t.priority||10;return n>i?1:n<i?-1:0}));for(const e of t)i.push(n(e,!0))}else for(const e of s)i.push(n(e,!1));return this.hint.limit&&(i=i.slice(0,this.hint.limit.num)),i},showSuggestion(){return!this.hidden&&(this.titleInfos.length>0||this.showDate)},showDate(){return!(!this.hint||!this.hint.data||!this.hint.data.date)},defaultDate(){return this.hint.data.date.current},suggestionAlignment(){return{pos:"tl->bl",offset:[this.cursorRect?.left??0,0]}}},watch:{hint(e,t){this.hidden=!1,""!==e.prefixText?this.selectFirstSuggestion():e.prefixText!==t.prefixText&&this.clearSelectedIndex()}},methods:{sortGroupInfos(e,t){const i=t.map((e=>[null,[e]])).concat(Object.entries(e)),n=e=>{if(ta(e[0])){const t=this.getGroupInfo(e[0]);return t&&t.priority?t.priority:10}return e[1][0].priority?e[1][0].priority:10};return i.sort(((e,t)=>{const i=n(e);return n(t)-i}))},getGroupInfo(e){return this.groupingInfo[e]},onClick(e){this.selectedIndex=e,Nc(this,"select",this.suggestionItems[this.selectedIndex])},genSuggestionItem(e,t){return _d(Xj,{ref:`item-${e}`,props:{display:t.display,value:t.value,prompt:t.prompt,selected:this.selectedIndex===e,selectable:t.selectable,inGroup:t.inGroup},nativeOn:{click:()=>this.onClick(e)},key:e})},genSuggestionGroupItem:(e,t)=>_d(mU,{props:{display:t.display,value:t.value,prompt:t.prompt},key:e}),genSuggestionItems(){let e=this.suggestionItems.reduce(((e,t,i)=>{const n=Ka(this)?.["suggestion-items"];if(!0===t.useSlot&&n){const o=n({index:i,suggestion:t,onSelect:()=>this.onClick(i),selected:this.selectedIndex===i});o&&(e=e.concat(o))}else{const n=t.isGroup?this.genSuggestionGroupItem(i,t):this.genSuggestionItem(i,t);n&&e.push(n)}return e}),[]);const t=Ka(this)?.["suggestion-limit-hint"];if(this.hint.limit&&this.hint.limit.showHint&&t){const i=t({});i&&(e=e.concat(i))}return e},getSelectedSuggestion(){if(-1!==this.selectedIndex)return this.suggestionItems[this.selectedIndex]},selectNextSuggestion(){if(-1===this.selectedIndex)return this.selectFirstSuggestion();const e=this.suggestionItems.length;for(let t=1;t<e;t++){const i=(this.selectedIndex+t)%e;if(this.suggestionItems[i].selectable)return void this.selectIndex(i)}},selectPrevSuggestion(){if(-1===this.selectedIndex)return this.selectFirstSuggestion();const e=this.suggestionItems.length;for(let t=1;t<e;t++){const i=(this.selectedIndex-t+e)%e;if(this.suggestionItems[i].selectable)return void this.selectIndex(i)}},selectFirstSuggestion(){for(let e=0,t=this.suggestionItems.length;e<t;e++)if(this.suggestionItems[e].selectable)return void this.selectIndex(e)},clearSelectedIndex(){this.selectedIndex=-1},selectIndex(e){this.selectedIndex=e;const t=this.$refs[`item-${e}`];this.$refs.scrollbar&&t&&this.$refs.scrollbar.ensureVisible(t.$el)},hide(){this.hidden=!0},onClickOutside(){this.hide()},containsEl(e){return this.$refs.wrapper?.contains(e)}},render(){let e;return this.showSuggestion?(e=this.showDate?_d("div",{ref:"wrapper",directives:[{name:"clickoutside",value:this.onClickOutside,modifiers:{children:!0}}],class:["v-search-suggestions-date-picker-wrapper"],attrs:{tabindex:-1}},[_d(sH,{props:{[rT()]:this.defaultDate},on:{change:e=>{Nc(this,"selected-date",wR(e,this.hint.data.date.dateFormat),"value")},"update:is-open":e=>{this.hidden=!e}}})]):_d("div",{ref:"wrapper",directives:[{name:"clickoutside",value:this.onClickOutside,modifiers:{children:!0}}],class:["v-search-suggestions-wrapper"],attrs:{tabindex:-1}},[this.hint.searchTitle?_d("div",{class:["v-search-search-criteria"]},this.hint.searchTitle):null,_d("ul",{class:["v-search-suggestions"]},[_d(wD,{ref:"scrollbar",class:["v-search-suggestion-scrollbar"],scopedSlots:{default:()=>this.genSuggestionItems()}})])]),_d(Hh,{props:{anchor:this["semantic-search"].instance.getSuggestionAnchor(),targetClass:"search-dropdown",mountTo:this.getContainerEl(),acquireZIndex:!0,alignment:this.suggestionAlignment},ref:"portal",scopedSlots:{default:()=>[e]}})):null}});function vU(e){return Boolean(e&&(e instanceof Vj||e instanceof Hj||e instanceof Yj))}function yU(e){return Boolean(e&&(e instanceof Fj||e instanceof Nj))}function bU(e){return e instanceof Vj?3:e instanceof Hj?e.isAnd()?2:1:0}class wU{constructor(e,t,i){this.unknownBlockBehavior=t,this.defaultConjunction=i,this.grammar=e}patchOperatorBlocks(e){let t=[];for(const i of e){const e=i.getNextNonEmptyBlock();t.push(i),"category"===i.getType()&&e&&"block"===e.getType()&&t.push(new Vj(i.validOperators?.[0]?.title??"",i))}return t=Jj(t),t=this.grammar.transformBlocks(t),t}patchConjunctionBlocks(e){let t=[];for(const i of e){const e=i.getNextNonEmptyBlock();t.push(i),("value"===i.getType()&&e&&"category"===e.getType()||"bracket"===i.getType()&&i.isClose()&&e&&"category"===e.getType())&&t.push(new Hj(this.defaultConjunction.conjunctionType))}return t=Jj(t),t=this.grammar.transformBlocks(t),t}patchMissingBlocks(e){return e=this.patchOperatorBlocks(e),Zj(e=Jj(e=this.patchConjunctionBlocks(e)))}translateUnknownBlocks(e){const t=[];for(const i of e)if("block"===i.getType()){const e=new Fj(this.unknownBlockBehavior.category),n=new Vj(this.unknownBlockBehavior.operator,e),o=new Nj(i.text,n),s=new Hj(this.unknownBlockBehavior.conjunction),r=i.getPreviousNonEmptyBlock(),a=i.getNextNonEmptyBlock();r&&(r instanceof Nj||r instanceof Yj)&&t.push(s),t.push(e,n,o),a&&(a instanceof Fj||a instanceof Yj||"block"===a.getType())&&t.push(s)}else t.push(i);return t}parse(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=[];if(e=this.grammar.verifyClause(e),t&&(e=this.translateUnknownBlocks(e)),0===(e=this.toPostfix(e)).length)return{};for(const t of e)if(vU(t)){if(i.length<2)return!1;const e=i.pop(),n=i.pop(),o=e?.block,s=n?.block;if(t instanceof Hj&&(yU(o)||yU(s)))return!1;if(t instanceof Vj&&(vU(o)||vU(s)))return!1;const r={block:t,right:e,left:n};i.push(r)}else if(yU(t)){const e={block:t};i.push(e)}return!(1!==i.length||!vU(i[0].block))&&i[0]}toPostfix(e){const t=[],i=[];for(const n of e)if(!(n instanceof Pj))if(Gj(n))t.push(n);else if(qj(n)){for(;t.length>0&&!Gj(t[t.length-1]);){const e=t.pop();e&&i.push(e)}t.pop()}else if(n instanceof Vj||n instanceof Hj){for(;t.length>0&&bU(t[t.length-1])>=bU(n);){const e=t.pop();e&&i.push(e)}t.push(n)}else i.push(n);for(;t.length>0;){const e=t.pop();e&&i.push(e)}return i}}wg("semantic-search-icon",zI),wg("semantic-search-clear",SI);var CU=on({name:"SemanticSearch",components:{SearchContent:lU,SearchSuggestions:gU,vMenu:BA,vMenuItem:nE,vPopup:Vz},directives:{clickoutside:$m},mixins:[Sm,La("semantic-search"),Cg],props:{validateMessage:{type:String,default:""},validator:{type:Function,default:void 0},text:{type:String,default:""},[rT()]:{type:Array,default:()=>[]},unknownBlockBehavior:{type:Object,default:()=>({conjunction:"and",operator:"=",category:"keyword"})},autoPatch:{type:[Object,Boolean],default:!0},autoFormat:{type:[Object,Boolean],default:!0},defaultConjunction:{type:Object,default:()=>({conjunctionType:"and"})},categories:{type:Array,default:()=>[]},fetchOperators:{type:Function,required:!0},fetchValueTypes:{type:Function,required:!0},placeholder:{type:String,default:""},groupingInfo:{type:Object,required:!0},hintInfo:{type:Object,default:()=>({limit:!1})}},emits:["search","value","error","text","focus","blur","clear"],data:()=>({cls:"v-search",suggestionPos:[0,0],suggestionZIndex:void 0,hint:{},dslProcessor:null,grammar:null,blockFactory:null,hasBlocks:!1,hasError:!1,currentValidateMessage:"",isSearching:!1,cursorRect:{left:0,right:0}}),computed:{searchClass(){return[this.cls,{"has-error":this.hasError}]},suggestionStyle(){return{left:`${this.suggestionPos[0]}px`,top:`${this.suggestionPos[1]}px`,zIndex:this.suggestionZIndex}},isPopupDisabled(){return!this.hasError||!this.currentValidateMessage},tippyOptions:()=>({delay:[600,10],placement:"top-start"})},watch:{categories(e){this.grammar&&this.grammar.setCategories(e)}},created(){this.grammar=new fU(this.categories,this.fetchOperators,this.fetchValueTypes),this.dslProcessor=new wU(this.grammar,this.unknownBlockBehavior,this.defaultConjunction),this.blockFactory=new Qj(this.grammar)},mounted(){this.suggestionZIndex=this.$popupManager.acquireZIndex()},[Pa](){this.$popupManager.releaseZIndex()},methods:{getSuggestionAnchor(){return this.$el},genSuggestions(){return _d(gU,{props:{hint:this.hint,groupingInfo:this.groupingInfo,cursorRect:this.cursorRect,useAdaptiveContainer:this.useAdaptiveContainer},ref:"suggestions",scopedSlots:Ka(this),on:{select:this.onSelectSuggestion,"selected-date":this.onSelectSuggestionDate}})},genClearIcon(){return this.hasBlocks?_d(bg,{class:["search-clear-icon"],props:{name:"semantic-search-clear",svgIconSet:"set25"},nativeOn:{click:this.onClickClearIcon}}):null},genRightSlots(){return Ka(this)?.right?.()},onSelectSuggestion(e){e&&(this.$refs.content.insertTextBySuggestion(e),this.$refs.suggestions.selectFirstSuggestion())},onSelectSuggestionDate(e){e&&this.$refs.content.insertTextInSelection(e,"none")},onClickClearIcon(){this.$refs.content.clear(),Nc(this,"clear")},async onHint(e){this.hint=e,await this.$nextTick(),this.alignSuggestion()},async alignSuggestion(){if(Mc)return;const e=this.$refs.content,t=this.$refs.suggestions;t&&e&&t&&e.$el&&t.$el&&(this.cursorRect=e.getCursorRect())},onKeyDown(e){if(this.$refs.suggestions){const t=this.$refs.suggestions;if("ArrowUp"===e.key)t.selectPrevSuggestion(),e.preventDefault();else if("ArrowDown"===e.key)t.selectNextSuggestion(),e.preventDefault();else if("Enter"===e.key){const i=t.getSelectedSuggestion();t.showSuggestion&&i?this.onSelectSuggestion(i):this.onSearch(e),e.preventDefault()}else"Escape"===e.key&&t.hide()}},setValue(e){this.$refs.content.setBlocks(e)},validate(){return this.$refs.content.onValidateDebounced()},formatBlocks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"blur",t=!1;if(t=oa(this.autoFormat)?this.autoFormat:this.autoFormat[e],t)return this.$refs.content.formatBlocks()},patchMissingBlocks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"blur",t=!1;if(t=oa(this.autoPatch)?this.autoPatch:this.autoPatch[e],t)return this.$refs.content.patchMissingBlocks()},async onSearch(e){this.isSearching=!0;const t=this.$refs.content,i=this.$refs.suggestions;this.patchMissingBlocks("search"),this.formatBlocks("search"),await this.$nextTick(),t.setCaretPosToEnd(),t.blur(),i.hide(),Nc(this,"search",this.dslProcessor?.parse(t.blocks),e),this.validate(),window.setTimeout((()=>{this.isSearching=!1}))},onBlocksChange(e){Nc(this,"value",this.dslProcessor?.parse(e),e),this.hasBlocks=e.length>0},onClickOutside(){this.$refs.suggestions.hide()},onContentBlur(e){if(this.isSearching)return;const t=Wu(e),i=this.$refs.suggestions;t&&i?.containsEl(t)||(this.patchMissingBlocks("blur"),this.formatBlocks("blur")),Nc(this,"blur")},getBrieflyBlocks(){return this.$refs.content.getBrieflyBlocks()},setBrieflyBlocks(e){this.$refs.content.setBrieflyBlocks(e)}},render(){return _d("div",{class:this.searchClass},[_d(bg,{class:[`${this.cls}-icon`],props:{name:"semantic-search-icon",svgIconSet:"set01"}}),_d(Vz,{class:[`${this.cls}-popup`],props:{type:"error",tippyOptions:this.tippyOptions,disable:this.isPopupDisabled,content:this.currentValidateMessage},scopedSlots:{default:()=>[_d(lU,{props:{text:this.text,value:sT(this),categories:this.categories,fetchOperators:this.fetchOperators,fetchValueTypes:this.fetchValueTypes,placeholder:this.placeholder,dslProcessor:this.dslProcessor,blockFactory:this.blockFactory,grammar:this.grammar,groupingInfo:this.groupingInfo,hintInfo:this.hintInfo,validator:this.validator,validateMessage:this.validateMessage},ref:"content",on:{hint:this.onHint,value:this.onBlocksChange,keydown:this.onKeyDown,error:(e,t)=>{Nc(this,"error",e,t),this.hasError=e,this.currentValidateMessage=t},text:e=>Nc(this,"text",e),blur:this.onContentBlur,focus:e=>Nc(this,"focus",e)}})]}}),this.genSuggestions(),this.genClearIcon(),this.genRightSlots()])}}),xU=on({name:"Slider",components:{vInput:_O},props:{disabled:{type:Boolean},min:{type:[Number,String],required:!0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:1},[rT()]:{type:Number,required:!0},patchNum:{type:Function,default:void 0},withInput:{type:[Boolean,Object],default:!1},tip:{type:Boolean,default:void 0}},emits:["update:model-value","input"],data:()=>({dragging:!1,inputVal:void 0}),computed:{innerTip(){return ca(this.tip)?this.tip:!this.hasInput},innerValue(){return sT(this)},sliderStyle(){const e=Math.max(+this.min,Math.min(+this.inputVal,+this.max));return{"--value":`"${+e}"`,"--percent":+(e-+this.min)/(+this.max-+this.min)*100+"%"}},sliderClass(){return["v-slider",{"has-tip":this.innerTip,"v-slider-disabled":this.disabled,"v-slider-dragging":this.dragging}]},hasInput(){return Boolean(this.withInput)},inputBinding(){const e={selectOnFocus:!0,type:"number",inputAttrs:{step:this.step,min:this.min,max:this.max}};return na(this.withInput)?gm(e,this.withInput):e}},watch:{innerValue:{handler(e){this.inputVal=e},immediate:!0}},[Pa](){this.disposedFn?.()},methods:{normalizeValue(e){return Math.round(+e/+this.step)*+this.step},hasPrefixLabels(){return Ya(this,"prefix")},hasSuffixLabels(){return Ya(this,"suffix")||this.hasInput},coordsToValue(e,t){const i=e/t*(+this.max-+this.min);return this.normalizeValue(i)},onLineMouseDown(e){if(this.disabled)return;const{offsetX:t}=e,i=this.coordsToValue(t,this.$refs.line.offsetWidth);this.setValue(i),this.startDragging(i,e.clientX)},onThumbMouseDown(e){if(this.disabled)return;const t=vu(e)?e.touches[0].clientX:e.clientX;this.startDragging(this.innerValue,t)},startDragging(e,t){let i=xa(e,+this.min,+this.max);const n=this.$refs.line.offsetWidth;this.disposedFn?.(),this.disposedFn=Pu(document.documentElement,["touchmove","mousemove"],(o=>{const s=vu(o)?o.touches[0].clientX:o.clientX;this.dragging||(this.dragging=!0);const r=this.coordsToValue(s-t,n);i=xa(e+r,+this.min,+this.max),this.setValue(i)})),Nu(document.documentElement,["touchend","mouseup"],(()=>{this.dragging=!1,this.disposedFn?.()}))},setValue(e){this.patchNum&&(e=this.patchNum(e)),e=xa(e,+this.min,+this.max),Nc(this,"update:model-value",e)},onInputValChange(e){this.inputVal=e},onInputCommit(){if(ua(this.inputVal))this.setValue(this.innerValue),this.inputVal=this.innerValue;else{const e=this.normalizeValue(this.inputVal);this.inputVal=e,this.setValue(e)}}}});const SU={key:0,class:"v-slider-prefix-labels v-slider-labels"},kU={class:"v-slider-line-wrapper"},_U={key:1,class:"v-slider-suffix-labels v-slider-labels"};var IU=Rm(xU,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Fi("syno-id");return Xi((jo(),Ko("div",{style:Q(e.sliderStyle),class:ne(e.sliderClass)},[e.hasPrefixLabels()?(jo(),Ko("div",SU,[rn(e.$slots,"prefix",{value:e.innerValue})])):ls("",!0),ts("div",kU,[ts("div",{ref:"line",class:"v-slider-line",onMousedown:t[2]||(t[2]=function(){return e.onLineMouseDown&&e.onLineMouseDown(...arguments)})},[ts("div",{class:"v-slider-thumb",onMousedown:t[0]||(t[0]=Wr((function(){return e.onThumbMouseDown&&e.onThumbMouseDown(...arguments)}),["stop"])),onTouchstart:t[1]||(t[1]=Wr((function(){return e.onThumbMouseDown&&e.onThumbMouseDown(...arguments)}),["stop"]))},null,32)],544),rn(e.$slots,"marked",{value:e.innerValue})]),e.hasSuffixLabels()?(jo(),Ko("div",_U,[rn(e.$slots,"suffix",{value:e.innerValue}),e.hasInput?(jo(),Zo(r,hs({key:0,class:"slider-input","syno-id":`${e.synoId}-input`},e.inputBinding,{value:e.inputVal,"model-value":e.inputVal,onInput:e.onInputValChange,"onUpdate:modelValue":e.onInputValChange,onKeypress:Ur(e.onInputCommit,["enter"]),onBlur:e.onInputCommit}),{suffix:Ii((()=>[rn(e.$slots,"input-suffix",{value:e.innerValue})])),_:3},16,["syno-id","value","model-value","onInput","onUpdate:modelValue","onKeypress","onBlur"])):ls("",!0)])):ls("",!0)],6)),[[a]])}]]);var TU=on({name:"TabFooter",components:{vButton:RA},mixins:[Bc],props:{confirmText:{type:String,default:void 0},footerDirection:{type:Object,default:()=>({mobile:"row",desktop:"row"})},cancelText:{type:String,default:void 0}},emits:["cancel","confirm"],data:()=>({prefix:"v-tabs-footer"}),computed:{innerConfirmText(){return this.confirmText??this._i18n("common","save")},innerCancelText(){return this.cancelText??this._i18n("common","cancel")}},mounted(){},methods:{onClickCancel(){Nc(this,"cancel")},onClickConfirm(){Nc(this,"confirm")}}});const DU={class:"default pull-right button-region"};var LU=Rm(TU,[["render",function(e,t,i,n,o,s){const r=Bi("v-button"),a=Fi("syno-id");return Xi((jo(),Ko("div",DU,[is(r,{"syno-id":`${e.synoId}-cancel`,type:"footbar",suffix:"cancel",onClick:e.onClickCancel},{default:Ii((()=>[rs(ce(e.innerCancelText),1)])),_:1},8,["syno-id","onClick"]),is(r,{"syno-id":`${e.synoId}-apply`,type:"footbar",suffix:"main",onClick:e.onClickConfirm},{default:Ii((()=>[rs(ce(e.innerConfirmText),1)])),_:1},8,["syno-id","onClick"])])),[[a]])}]]),AU=on({name:"Tabs",components:{tabFooter:LU,vLayout:qL},mixins:[Wc,Bc,Aa("info-board"),vm("tabs"),La("tabs")],props:{[rT()]:{type:String,default:void 0},type:{type:String,default:"line"},size:{type:String,default:void 0},hasFbar:{type:Boolean,default:!0},fbar:{type:Boolean,default:!0},confirmText:{type:String,default:void 0},cancelText:{type:String,default:void 0},layoutType:{type:String,default:"content"},layoutOrder:{type:Number,default:0},mobileBreakpoint:{type:[String,Boolean],default:"xxs"},navTabsList:{type:[Array,Boolean],default:!1},beforeTabChange:{type:Function,default:Ca},styleVersion:{default:7,type:Number}},emits:["update:model-value","tab-click","cancel","confirm","input","reachYEnd","reachYStart"],data:()=>({prefixCls:"v-tabs",activatedTabKey:void 0,activeIndex:0,tabs:{},orderedTabs:[],inInfoBoard:!1,reachYStart:!0,reachYEnd:!0,navbarScrollingTo:"middle",showNavbarFilter:!1}),computed:{innerStyleVersion(){return this.getTabsConfigValue("styleVersion")},styleVersionCls(){return"v"+this.innerStyleVersion},useFooter(){return!0!==this.hasFbar?(eh("hasFbar","fbar",this),this.hasFbar):this.fbar},innerNavTabsList(){return fa(this.navTabsList)?this.navTabsList:this.orderedTabs},tabPrefixCls(){return`${this.prefixCls}-tab`},tabBodyCls(){return[`${this.tabPrefixCls}-content`,{"reach-y-start":this.reachYStart,"reach-y-end":this.reachYEnd}]},fbarCls(){return[`${this.prefixCls}-footer`,{"reach-y-start":this.reachYStart,"reach-y-end":this.reachYEnd}]},navPrefixCls(){return`${this.prefixCls}-nav`},inkBarPrefixCls(){return`${this.prefixCls}-ink-bar`},contentPrefixCls(){return`${this.prefixCls}-content`},tabsCls(){return[this.styleVersionCls,this.prefixCls,{mobile:this.isMobile}]},navContainerCls(){return[`${this.navPrefixCls}-container`,`scrolling-to-${this.navbarScrollingTo}`]},isMobile(){return!this.$breakpointManager&&this.mobileBreakpoint?(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1):this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint)},innerConfirmText(){return this.confirmText??this._i18n("common","save")},innerCancelText(){return this.cancelText??this._i18n("common","cancel")}},watch:{[rT()]:{async handler(e){const t=this.innerNavTabsList.find((t=>t.tabKey===e));t&&this.selectTab(t,{autoScroll:this.isMobile})}},activatedTabKey(e){Nc(this,"update:model-value",e)}},created(){Vc(this,"reachYEnd",(e=>{this.reachYEnd=e})),Vc(this,"reachYStart",(e=>{this.reachYStart=e}))},mounted(){this["info-board"]&&(this.inInfoBoard=!0),this.onTabNavScroll();const e=this.orderedTabs.find((e=>e.tabKey===sT(this)));e&&this.selectTab(e,{autoScroll:this.isMobile}),this.navTabsList&&(this.activatedTabKey=sT(this))},methods:{onTabNavScroll(){const{scrollLeft:e,scrollWidth:t,offsetWidth:i}=this.$refs.navWrap;this.showNavbarFilter=t>i,this.navbarScrollingTo=e<=0?"left":e>=t-i?"right":"middle"},getTabHeaderCls(e){const t=this.tabPrefixCls;return[t,{[t+"-active"]:e.tabKey==this.activatedTabKey,[t+"-disabled"]:e.disabled,[t+"-hidden"]:e.hidden}]},getOrderedTabs:e=>Object.values(e).sort(((e,t)=>e.order>t.order?1:e.order<t.order?-1:0)),async addTab(e){this.tabs[GL(e)]=e,this.orderedTabs=this.getOrderedTabs(this.tabs)},removeTab(e){delete this.tabs[GL(e)],this.orderedTabs=this.getOrderedTabs(this.tabs)},getActiveTab(){return this.orderedTabs.find((e=>e.tabKey===this.activatedTabKey))},onClickTab(e,t){this.selectTab(e,t),Nc(this,"tab-click",this.activatedTabKey)},async selectTab(e){let{autoScroll:t=!1,autoFocus:i=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.activatedTabKey!==e.tabKey&&!1===await this.beforeTabChange({key:this.activatedTabKey},{key:e.tabKey}))return!1;i&&Hu(this.$refs?.[e.tabKey]?.[0]),t&&zu(this.$refs?.[e.tabKey]?.[0],{inline:"center",behavior:"smooth"}),this.activatedTabKey=e.tabKey},onCancel(){Nc(this,"cancel")},onConfirm(){Nc(this,"confirm")},onKeyDown(e){"ArrowLeft"!==e.key&&"ArrowUp"!==e.key||(e.preventDefault(),this.focusPrevTab()),"ArrowRight"!==e.key&&"ArrowDown"!==e.key||(e.preventDefault(),this.focusNextTab())},focusDescendTab(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t=(n,o,s)=>{const r=(o+s)%s;return r===i?i:n[r].disabled?t(n,r+e,s):r},i=this.orderedTabs.findIndex((e=>e.tabKey===this.activatedTabKey)),n=this.orderedTabs.length,o=t(this.orderedTabs,i+e,n);return this.selectTab(this.orderedTabs[o],{autoScroll:this.isMobile,autoFocus:!0})},focusPrevTab(){return this.focusDescendTab(-1)},focusNextTab(){return this.focusDescendTab(1)},hasErrorState:e=>!!e.error}});const EU=["id","syno-id","tabindex","aria-disabled","aria-selected","aria-controls","onClick"],MU={class:"tab-text-wrapper"},BU={class:"tab-text"},OU={key:0,class:"error-dot"},$U=ts("i",{class:"prev-filter gradient-filter"},null,-1),FU=ts("i",{class:"next-filter gradient-filter"},null,-1);var VU=Rm(AU,[["render",function(e,t,i,n,o,s){const r=Bi("v-layout"),a=Bi("tab-footer"),l=Fi("syno-id");return Xi((jo(),Zo(r,{class:ne(e.tabsCls),type:`tabs.${e.layoutType}`,order:e.layoutOrder},{default:Ii((()=>[is(r,{role:"tablist",class:ne(e.prefixCls+"-bar"),type:"tab-tbar",onKeydown:e.onKeyDown},{default:Ii((()=>[ts("div",{class:ne(e.navContainerCls)},[ts("div",{ref:"navWrap",class:ne(e.navPrefixCls+"-wrap"),onScroll:t[0]||(t[0]=function(){return e.onTabNavScroll&&e.onTabNavScroll(...arguments)})},[(jo(!0),Ko(Po,null,tn(e.innerNavTabsList,(t=>(jo(),Ko("div",{id:`tab-${t.tabKey}`,key:t.tabKey,ref_for:!0,ref:t.tabKey,"syno-id":`${e.synoId}-head-${t.tabKey}`,role:"tab",tabindex:t.tabKey==e.activatedTabKey?0:-1,"aria-disabled":t.disabled,"aria-selected":t.tabKey==e.activatedTabKey,"aria-controls":`tab-pane-${t.tabKey}`,class:ne(e.getTabHeaderCls(t)),onClick:i=>e.onClickTab(t,{autoScroll:e.isMobile})},[ts("div",MU,[ts("span",BU,ce(t.tab),1),e.hasErrorState(t)?(jo(),Ko("i",OU)):ls("",!0)]),ts("div",{class:ne(e.tabPrefixCls+"-text-guard"),"aria-hidden":"true"},ce(t.tab),3)],10,EU)))),128))],34),e.showNavbarFilter?(jo(),Ko(Po,{key:0},[$U,FU],64)):ls("",!0)],2)])),_:1},8,["class","onKeydown"]),is(r,{ref:"body",class:ne(e.tabBodyCls),type:"tab-body"},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["class"]),!e.inInfoBoard&&e.useFooter?(jo(),Zo(r,{key:0,class:ne(e.fbarCls),type:"tab-fbar",role:"tabfooter"},{default:Ii((()=>[rn(e.$slots,"fbar",{},(()=>[is(a,{"confirm-text":e.innerConfirmText,"cancel-text":e.innerCancelText,"syno-id":`${e.synoId}-fbar`,onCancel:e.onCancel,onConfirm:e.onConfirm},null,8,["confirm-text","cancel-text","syno-id","onCancel","onConfirm"])]))])),_:3},8,["class"])):ls("",!0)])),_:3},8,["class","type","order"])),[[l]])}]]);const PU={tabKey:{type:String,required:!0},disabled:{type:Boolean,default:!1},tab:{type:String,default:void 0},hidden:{type:Boolean,default:!1},detectScroll:{type:Boolean,default:!0},alwaysActive:{type:Boolean,default:!1},order:{type:Number,default:0},error:{type:Boolean,default:!1}};var NU=on({name:"TabPane",components:{vScrollbar:wD,vLayout:qL},mixins:[La("layout-container"),Aa("tabs"),La("alert-bar-container")],props:PU,emits:["reachYEnd","reachYStart","activate","deactivate"],data:()=>({prefix:"v-tabs-tabpane",active:!1,reachYEnd:!0,reachYStart:!0}),computed:{wrapCls(){return[this.prefix]}},watch:{reachYEnd(e){this.active&&Nc(this.tabs?.instance,"reachYEnd",e)},reachYStart(e){this.active&&Nc(this.tabs?.instance,"reachYStart",e)}},async mounted(){this.tabs?.instance?.addTab(this),this.disposedFn=this.$watch((()=>this.tabs.instance.activatedTabKey),(async(e,t)=>{this.active=e===this.tabKey,this.active?(Nc(this,"activate",this),await this.$nextTick(),this.detectReachStartEnd()):Nc(this,"deactivate",this)}),{immediate:!0})},[Pa](){this.disposedFn?.(),this.tabs?.instance?.removeTab(this)},methods:{hasDefaultSlot(){return Ya(this,"default")},hasScrollBodySlot(){return Ya(this,"scroll-body")},hasContentBodySlot(){return Ya(this,"content-body")},getScrollEl(){return this.$refs.scrollbar?.getScrollEl()},detectReachStartEnd(){if(this.detectScroll&&this.$refs.scrollbar){const e=this.$refs.scrollbar;this.reachYStart=e.isReachTop(),this.reachYEnd=e.isReachBottom()}}}});const RU=["id","aria-hidden","aria-labelledby"];var HU=Rm(NU,[["render",function(e,t,i,n,o,s){const r=Bi("v-layout"),a=Bi("v-scrollbar"),l=Fi("syno-id");return Xi((jo(),Ko("div",{id:`tab-pane-${e.tabKey}`,role:"tabpanel","aria-hidden":!e.active,class:ne(e.wrapCls),"aria-labelledby":`tab-${e.tabKey}`},[rn(e.$slots,"default"),e.hasScrollBodySlot()?(jo(),Zo(a,{key:0,ref:"scrollbar",onScroll:e.detectReachStartEnd},{default:Ii((()=>[is(r,{type:"content"},{default:Ii((()=>[rn(e.$slots,"scroll-body")])),_:3})])),_:3},8,["onScroll"])):ls("",!0),e.hasContentBodySlot()?(jo(),Zo(r,{key:1,type:"content"},{default:Ii((()=>[rn(e.$slots,"content-body")])),_:3})):ls("",!0)],10,RU)),[[lr,e.active||e.alwaysActive],[l]])}]]);wg("timeline-group-arrow-up",xI),wg("timeline-group-arrow-down",mI);const zU=on({name:"Timeline",components:{vScrollbar:wD,vSlideUpDownTransition:UM,vIcon:bg},mixins:[Cg],props:{[rT()]:{type:[String,Number],default:null},timePoints:{type:Array,default:()=>[]},order:{type:String,default:"ASC",validator:e=>["ASC","DESC"].includes(e)},groupDateFormatter:{type:Function,default:null},pointDateFormatter:{type:Function,default:null},pointTimeFormatter:{type:Function,default:null},defaultGroupExpanded:{type:Object,default:()=>({})}},emits:["update:model-value"],data:()=>({prefixCls:"v-timeline",selected:void 0,expanded:{}}),computed:{topTimePoints(){return this.timePoints.filter((e=>"top"===this.getGroupId(e)))},timePointGroup(){const e=[...this.timePoints];e.sort(((e,t)=>"ASC"===this.order?e.date-t.date:t.date-e.date));const t={};for(const i of e){const e=this.getGroupId(i);"top"!==e&&(e in t||(t[e]={points:[]}),t[e].points.push(i))}return t},timePointsMap(){const e=new Map;for(const t of this.timePoints)e.set(t.value,t);return e}},watch:{defaultGroupExpanded:{handler(e){this.expanded=Object.assign({},e)},immediate:!0},[rT()]:{async handler(e){e&&(this.selected=e,this.ensureSelectedItemVisible())},immediate:!0}},methods:{hasAction(){return Ya(this,"time-point-item-action")},getSelectedTimePoint(){return this.timePointsMap.get(this.selected)},getGroupId:e=>e.group?e.group:SR(new Date(e.date))?.getTime(),getTimePointEl(e){return this.$el.querySelector(`#${this.getTimelinePointItemId(e.value)}`)},async ensureTimepointVisible(e){sh(this.expanded,this.getGroupId(e),!0),await this.$nextTick();const t=this.getTimePointEl(e);t&&this.$refs.scrollbar?.ensureVisible(t)},groupHeaderCls(e){return["group-header",{collapsed:!this.expanded[e]}]},getGroupDateString(e){return e=Number(e),this.groupDateFormatter?this.groupDateFormatter(e):vR(new Date(e),"MMM yyyy")},getPointDateString(e){return e=Number(e),this.pointDateFormatter?this.pointDateFormatter(e):vR(new Date(e),"d MMM")},getPointTimeString(e){return e=Number(e),this.pointTimeFormatter?this.pointTimeFormatter(e):vR(new Date(e),"kk:mm:ss")},onClickGroupHeader(e){sh(this.expanded,e,!this.expanded[e])},onSelectItem(e){this.selected=e.value,Nc(this,"update:model-value",e.value)},ensureSelectedItemVisible(){const e=this.getSelectedTimePoint();this.ensureTimepointVisible(e)},getTimelinePointItemId:e=>Ta(`v-timeline-point-item-${e}`),async selectTimePointByOffset(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;const t=[...this.$el.querySelectorAll(".point-item,.group-header")],i=this.getTimePointEl(this.getSelectedTimePoint());let n=t.findIndex((e=>i.contains(e)));if(-1===n)return;const o=n+e;if(o<0||o>=t.length)return;const s=t[o];if(this.$refs.scrollbar?.ensureVisible(s),ju(s,"group-header")){const t=s.getAttribute("group-id"),i=e<0?-1:1;return this.expanded[t]||(sh(this.expanded,t,!0),await function(e){return new Promise((t=>{setTimeout(t,e)}))}(0)),void await this.selectTimePointByOffset(e+i)}t[o].focus(),t[o].click()},onArrowKeydown(e){cu(e)?this.selectTimePointByOffset(1):du(e)&&this.selectTimePointByOffset(-1)}}}),WU=["id","onClick"],jU=ts("div",{class:"line"},null,-1),UU={class:"text"},GU={class:"date"},qU={class:"time"},YU={key:0,class:"action-wrapper"},KU=["group-id","onClick"],ZU={class:"text"},JU={key:0,class:"group-points"},QU=["id","onClick"],XU=ts("div",{class:"line"},null,-1),eG={class:"text"},tG={class:"date"},iG={class:"time"},nG={key:0,class:"action-wrapper"};var oG=Rm(zU,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-slide-up-down-transition"),l=Bi("v-scrollbar");return jo(),Ko("div",{class:"v-timeline",role:"list",onKeydown:[t[0]||(t[0]=Ur(Wr((function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)}),["prevent"]),["up"])),t[1]||(t[1]=Ur(Wr((function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)}),["prevent"]),["down"]))]},[is(l,{ref:"scrollbar"},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.topTimePoints,(t=>(jo(),Ko("li",{id:e.getTimelinePointItemId(t.value),key:t.value,class:ne(["point-item",{selected:t.value===e.selected}]),tabindex:"-1",onClick:i=>e.onSelectItem(t)},[jU,ts("div",UU,[rn(e.$slots,`${t.slot}-text`,{},(()=>[ts("div",GU,ce(e.getPointDateString(t.date)),1),ts("div",qU,ce(e.getPointTimeString(t.date)),1)]))]),rn(e.$slots,"time-point-item-desc",{timePoint:t}),e.hasAction()?(jo(),Ko("div",YU,[rn(e.$slots,"time-point-item-action",{timePoint:t})])):ls("",!0)],10,WU)))),128)),(jo(!0),Ko(Po,null,tn(Object.keys(e.timePointGroup),(t=>(jo(),Ko("li",{key:t,class:"group"},[ts("div",{class:ne(e.groupHeaderCls(t)),"group-id":t,tabindex:"-1",onClick:i=>e.onClickGroupHeader(t)},[ts("div",ZU,ce(e.getGroupDateString(t))+" ("+ce(e.timePointGroup[t].points.length)+") ",1),is(r,{name:e.expanded[t]?"timeline-group-arrow-up":"timeline-group-arrow-down",class:"arrow","svg-icon-set":"set31"},null,8,["name"])],10,KU),is(a,null,{default:Ii((()=>[e.expanded[t]?(jo(),Ko("div",JU,[(jo(!0),Ko(Po,null,tn(e.timePointGroup[t].points,(t=>(jo(),Ko("li",{id:e.getTimelinePointItemId(t.value),key:t.value,class:ne(["point-item",{selected:t.value===e.selected}]),tabindex:"-1",onClick:i=>e.onSelectItem(t)},[XU,ts("div",eG,[ts("div",tG,ce(e.getPointDateString(t.date)),1),ts("div",iG,ce(e.getPointTimeString(t.date)),1)]),rn(e.$slots,"time-point-item-desc",{timePoint:t}),e.hasAction()?(jo(),Ko("div",nG,[rn(e.$slots,"time-point-item-action",{timePoint:t})])):ls("",!0)],10,QU)))),128))])):ls("",!0)])),_:2},1024)])))),128))])),_:3},512)],32)}]]),sG=on({name:"Toggle",components:{vSpinIcon:DD},mixins:[wu],props:{[rT()]:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},onBeforeChange:{type:Function,default:void 0}},emits:["update:model-value"],data:()=>({}),computed:{compCls(){return["v-toggle",{"v-toggle--on":sT(this),"v-toggle--disabled":this.disabled,"v-toggle--loading":this.loading}]}},methods:{hasPrefix(){return Ya(this,"prefix")},hasSuffix(){return Ya(this,"suffix")},getValue(){return sT(this)},async handleChange(e){this.disabled||this.getValue()===e||this.loading||!1!==await(this.onBeforeChange?.())&&Nc(this,"update:model-value",e)},onSwitch(){this.handleChange(!this.getValue())}}});const rG=["aria-checked","aria-disabled"],aG={key:0,class:"v-toggle__prefix"},lG={key:1,class:"v-toggle__loading"},dG={key:2,class:"v-toggle__track"},cG=[ts("div",{class:"v-toggle__indicator"},null,-1)],uG={key:3,class:"v-toggle__suffix"};var hG=Rm(sG,[["render",function(e,t,i,n,o,s){const r=Bi("v-spin-icon");return jo(),Ko("div",{role:"switch",tabindex:"-1",class:ne(e.compCls),"aria-checked":e.getValue(),"aria-disabled":e.disabled,onClick:t[0]||(t[0]=Wr((function(){return e.onSwitch&&e.onSwitch(...arguments)}),["prevent"])),onKeydown:[t[1]||(t[1]=Ur(Wr((function(){return e.onSwitch&&e.onSwitch(...arguments)}),["prevent"]),["enter"])),t[2]||(t[2]=Ur(Wr((function(){return e.onSwitch&&e.onSwitch(...arguments)}),["prevent"]),["space"]))]},[e.hasPrefix()?(jo(),Ko("div",aG,[rn(e.$slots,"prefix",{disabled:e.disabled,value:e.getValue(),loading:e.loading})])):ls("",!0),e.loading?(jo(),Ko("div",lG,[is(r)])):(jo(),Ko("div",dG,cG)),e.hasSuffix()?(jo(),Ko("div",uG,[rn(e.$slots,"suffix",{disabled:e.disabled,value:e.getValue(),loading:e.loading})])):ls("",!0)],42,rG)}]]),pG=(d(9280),on({mixins:[Wc],props:{checkbox:{type:Boolean,default:!1}},emits:["internal-checked","checked","checked-up","checked-down"],created(){Vc(this,"checked-up",(e=>{const t=this.getNodePath(this.currentData,e[this.paramsInfo.id]);if(0===t.length)return;const[{node:i}]=t;this.updateCheckedStateByNode(i),this.dispatch("TreePanel","checked-up",i)})),Vc(this,"checked-down",(e=>{e._indeterminate||!e[this.paramsInfo.children]||this.currentData.length<1||this.getNodePath(e[this.paramsInfo.children],this.currentData[0][this.paramsInfo.id]).length<1||(this.updateAllCheckedState(e),this.broadcast("TreePanel","checked-down",[e]))}))},methods:{prepareCheckboxData(){if(this.checkbox){for(const e of this.currentData)ca(e.disabled)&&sh(e,"disabled",e.disabled||!1),ca(e.indeterminate)&&sh(e,"_indeterminate",e.indeterminate||!1),e.checked||e._indeterminate?(sh(e,"checked",e.checked||!1),sh(e,"_indeterminate",e._indeterminate||!1)):this.parent&&!1===this.parent._indeterminate&&!0!==e.disabled&&!0===this.parent.checked?(sh(e,"checked",!0),sh(e,"_indeterminate",!1)):(this.parent&&!1===this.parent._indeterminate&&!0!==e.disabled&&this.parent.checked,sh(e,"checked",!1),sh(e,"_indeterminate",!1));this.currentData.length>0&&this.dispatch("TreePanel","checked-up",[this.currentData[0]])}},checkNodeByKeyup(e){0===this.indentLevel&&this.setCheckedByNodeId(this.currentSelectedId)},setCheckedByNodeId(e){const t=this.currentData.findIndex((t=>t[this.paramsInfo.id]===e)),i=this.currentData[t];if(t>=0){let e=!i.checked;i._indeterminate&&(e=!0),this.checkByClick(i,e)}else this.broadcast("TreePanel","set-node-checked",[e])},checkByClick(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.checkbox&&(e.checked=t,e._indeterminate=!1,this.emitCheckedState(e),this.dispatch("TreePanel","checked-up",[e]),this.broadcast("TreePanel","checked-down",[e]))},emitCheckedState(e){if(0!==this.indentLevel)return Nc(this,"internal-checked",e);Nc(this,"checked",{path:this.getNodePath(this.currentData,e[this.paramsInfo.id]),checked:e.checked,_indeterminate:e._indeterminate,node:e})},updateCheckedStateByNode(e){const t=e[this.paramsInfo.children].filter((e=>!e.disabled));if(e&&!e.disabled&&t)if(ca(e.indeterminate))e._indeterminate=e.indeterminate;else if(e._indeterminate=!0,!t.some((e=>e._indeterminate)))return t.every((e=>e.checked))?(e.checked=!0,void(e._indeterminate=!1)):t.every((e=>!e.checked))?(e.checked=!1,void(e._indeterminate=!1)):void 0},updateAllCheckedState(e){const t=this.currentData.filter((e=>!e.disabled));for(const i of t)i.disabled||(i.checked=e.checked,i._indeterminate=ca(i.indeterminate)?i.indeterminate:e._indeterminate)}}}));wg("tree-panel-arrow-right",cI),wg("tree-panel-arrow-down",dI);const fG={TOP:Symbol("INSERT_TOP"),BOTTOM:Symbol("INSERT_BOTTOM"),INNER:Symbol("INSERT_INNER"),UNKNOWN:Symbol("INSERT_UNKNOWN")},mG={TOP:Symbol("DRAGGING_TOP"),BOTTOM:Symbol("DRAGGING_BOTTOM"),INNER:Symbol("DRAGGING_INNER"),NONE:Symbol("DRAGGING_NONE")};function gG(e){return!1!==e.selectable&&!e.disabled}function vG(e){return e===fG.TOP?"top":e===fG.BOTTOM?"bottom":e===fG.INNER?"inner":"unknown"}const yG=on({name:"TreePanel",components:{vSlideUpDownTransition:UM,vCheckbox:tB,vSpinIcon:DD,vIcon:bg,withScrollbar:NL(wD),withDragTarget:NL(hH)},directives:{tooltip:lg},mixins:[Wc,pG,Cg],props:{showScrollbar:{type:Boolean,default:!0},isModule:{type:Boolean,default:!1},prefixCls:{type:String,default:"v-tree-panel"},level:{type:String,default:"0"},indentLevel:{type:Number,default:0},data:{type:Array,default:()=>[]},paramsInfo:{type:Object,default:()=>({title:"title",children:"children",id:"id",customClass:"customClass"})},expandOnSelect:{type:Boolean,default:!1},asyncExpandFunc:{type:Function,default:void 0},selectedId:{type:String,default:void 0},horizontalScroll:{type:Boolean,default:!1},draggable:{type:[Object,Boolean,String],default:!1,validator:e=>ta(e)?["append-only","full"].includes(e):(na(e),!0)},getDragZone:{type:Function,default:void 0},getDraggingProps:{type:Function,default:()=>({})},parent:{type:Object,default:()=>null},validateDrop:{type:Function,default:Ca},validateDrag:{type:Function,default:Ca},dragging:{type:Boolean,default:!1},getListItemTag:{type:Function,default:()=>"li"}},emits:["clicked","selected","expanded","collapsed","update:data","node-clicked","node-selected","node-expanded","node-collapsed","cancel-selected","set-node-expanded","set-node-checked","drop"],data:()=>({$_currentData:[],expandedIndex:void 0,currentSelectedId:void 0,currentDragging:!1}),computed:{draggingId(){return na(this.draggable)?this.draggable.draggingId??`dragging-${PD()}`:`dragging-${PD()}`},draggingType(){return(na(this.draggable)?this.draggable.type:this.draggable)??"full"},scrollbarCls(){return[`${this.prefixCls}-scrollbar`,{"horizontal-scroll":this.isRoot&&this.horizontalScroll}]},isRoot(){return"0"===this.level},treeCls(){return this.isRoot?[this.prefixCls,{"horizontal-scroll":this.horizontalScroll,"v-module":this.isModule,dragging:this.currentDragging}]:[`${this.prefixCls}-child-tree`,{"v-module-child-tree":this.isModule}]},currentData:{set(e){this.$data.$_currentData=e,this.preHandleData()},get(){return this.$data.$_currentData}},flattenNodes(){if(!this.isRoot)return null;let e=[],t=[];for(let e=this.currentData.length-1;e>=0;e--)t.push(this.currentData[e]);for(;t.length>0;){const i=t.pop(),n=i[this.paramsInfo.children]||[];e.push(i);for(let e=n.length-1;e>=0;e--)t.push(n[e])}return e},displayedNodes(){if(!this.isRoot)return null;function e(t){return!t._parentNode||t._parentNode.expanded&&e(t._parentNode)}return this.flattenNodes.reduce(((t,i)=>(e(i)&&gG(i)&&t.push(i),t)),[])},nodesMap(){return this.flattenNodes.reduce(((e,t)=>(e[t[this.paramsInfo.id]]=t,e)),{})},indentClass(){return[`${this.prefixCls}-indent-${this.indentLevel}`,`${this.prefixCls}-indent`]},indentStyle(){return{"--indent":this.indentLevel}}},watch:{dragging:{handler(e){this.currentDragging=e},immediate:!0},draggable(e){e&&this.updateDragTargets()},selectedId:{handler(e){this.currentSelectedId=e,this.isRoot&&e&&this.$nextTick((()=>{this.selectNode(this.currentSelectedId,!0,!0)}))},immediate:!0},data:{handler(){this.currentData=this.data},immediate:!0},currentData:{handler(e){this.draggable&&this.updateDragTargets()}}},created(){let e=e=>{let t=this.currentData.find((t=>fa(t[this.paramsInfo.children])&&t[this.paramsInfo.children].map((e=>e.id)).includes(e.path[0]?.id)));void 0!==t&&e.path.unshift(t)};Vc(this,"node-clicked",(t=>{if(e(t),"0"!==this.level)return this.dispatch("TreePanel","node-clicked",t);Nc(this,"clicked",t)})),Vc(this,"node-selected",(t=>{if(e(t),"0"!==this.level)return this.dispatch("TreePanel","node-selected",t);this.currentSelectedId=t.id,Nc(this,"selected",this.getSelectedNodes(),t)})),["node-expanded","node-collapsed"].forEach((t=>{Vc(this,t,(i=>{if(e(i),"0"!==this.level)return this.dispatch("TreePanel",t,i);Nc(this,"node-expanded"===t?"expanded":"collapsed",i)}))})),Vc(this,"cancel-selected",(e=>{this.broadcast("TreePanel","cancel-selected",e),this!==e.origin&&this.cancelSelectState()})),Vc(this,"set-node-expanded",((e,t)=>{this.setExpandByNodeId(e,t)})),Vc(this,"set-node-checked",(e=>{this.setCheckedByNodeId(e)}))},mounted(){this.preHandleData(),this.$nextTick((()=>{this.updateDragTargets()}))},[Pa](){["node-clicked","node-selected","node-expanded","node-collapsed","cancel-selected"].forEach((e=>Pc(this,e))),this._destroyDragZone?.()},methods:{hasArrowIcon(e){return!this.isModule},getArrowIconCls(e){let t=!1;return t=this.asyncExpandFunc?!1===e.expandable:e.isLeaf||!e[this.paramsInfo.children]||0===e[this.paramsInfo.children].length,{hided:t}},getInnerDragZone(){return this.dragZone||(this.dragZone=new this.$DragZone(this.$el,{draggingId:this.draggingId},{componentName:this.$options.name}),this._destroyDragZone=this.$ddm.registerDragZone(this.dragZone)),this.dragZone},getSlots(){return Ka(this)},getRootTree(){if(this.isRoot)return this.rootTreePanel=this;if(this.rootTreePanel)return this.rootTreePanel;let e=this.$parent;for(;e;){if("TreePanel"===e.$options.name)return this.rootTreePanel=e.getRootTree();e=e.$parent}},hasIndicator:(e,t)=>"top"===t?e._draggingTo===mG.TOP&&e._showIndicator:e._draggingTo===mG.BOTTOM&&e._showIndicator,getDragInfo(e,t){const i=e.clientX,n=e.clientY,o=Ou(document.elementFromPoint(i,n),`li.${this.prefixCls}-node`),s=this.nodesMap[t.el.getAttribute("node-id")];if(!o)return{type:fG.UNKNOWN,el:null,node:null,draggingNode:s};const r=o.getBoundingClientRect(),a=this.nodesMap[o.getAttribute("node-id")],l=[i-r.x,n-r.y];let d;return d="append-only"===this.draggingType?fG.INNER:l[1]>r.height-3?fG.BOTTOM:l[1]<3?fG.TOP:fG.INNER,{type:d,el:o,node:a,draggingNode:s}},onDrag(e,t){if(!this.isRoot)return this.getRootTree()?.onDrag(e,t);this.currentDragging=!0;const i=this.nodesMap[t.el.getAttribute("node-id")];i&&(i._dragging=!0)},onValidDrop(e,t,i){if(!this.isRoot)return this.getRootTree()?.onValidDrop(e,t,i);const n=this.getDragInfo(e,i),o=n.draggingNode;if(!this.isValidDrag(n,o))return;const s=fG.TOP?"top":fG.BOTTOM?"bottom":fG.INNER;if(!1===this.validateDrop({type:s,draggingNode:o,landedNode:n.node}))return;const r=o._parentNode?o._parentNode[this.paramsInfo.children]:this.currentData,a=n.node._parentNode?n.node._parentNode[this.paramsInfo.children]:this.currentData,l=r.findIndex((e=>e[this.paramsInfo.id]===o[this.paramsInfo.id]));if(r.splice(l,1),o._parentNode&&(o._parentNode.isLeaf=o._parentNode.length<=0),n.type===fG.INNER)n.node[this.paramsInfo.children]=n.node[this.paramsInfo.children]||[],n.node[this.paramsInfo.children].push(o),(n.node.isLeaf||!n.node.children||n.node.children.length<=0)&&sh(n.node,"expanded",!0),n.node.isLeaf=n.node[this.paramsInfo.children].length<=0,o._parentNode=n.node;else if(n.type===fG.TOP){const e=a.findIndex((e=>e[this.paramsInfo.id]===n.node[this.paramsInfo.id]));a.splice(e,0,o),o._parentNode=n.node._parentNode}else if(n.type===fG.BOTTOM){const e=a.findIndex((e=>e[this.paramsInfo.id]===n.node[this.paramsInfo.id]));a.splice(e+1,0,o),o._parentNode=n.node._parentNode}Nc(this,"update:data",this.currentData),Nc(this,"drop",{draggingNode:o,type:s,landedNode:n.node})},isValidDrag(e,t){return!(!e.el||function(e,t){let i=e._parentNode;for(;i;){if(i===t)return!0;i=i._parentNode}return!1}(e.node,t)||e.type===fG.INNER&&(!1===e.node.canAppend||e.node===t)||e.node[this.paramsInfo.id]===t[this.paramsInfo.id])},onDrop(e,t,i,n){if(!this.isRoot)return this.getRootTree()?.onDrop(e,t,i,n);this.currentDragging=!1;const o=this.getDragInfo(e,i);if(na(this.draggable)){const s=this.draggable.onDrop?.(e,t,i,{...o,type:vG(o.type),...n});if(!1===s)return}o.draggingNode&&(o.draggingNode._dragging=!1),this._autoExpandTimer&&window.clearTimeout(this._autoExpandTimer),this._showIndicatorTimer&&window.clearTimeout(this._showIndicatorTimer),this._prevLandedNode&&(this._prevLandedNode._draggingTo=mG.NONE)},onDragEnter(e,t,i){if(!this.isRoot)return this.getRootTree()?.onDragEnter(e,t,i);if(na(this.draggable)){const n=this.getDragInfo(e,i);return this.draggable.onDragEnter?.(e,t,i,{...n,type:vG(n.type)})}},onDragOut(e,t,i){if(!this.isRoot)return this.getRootTree()?.onDragOut(e,t,i);if(na(this.draggable)){const n=this.getDragInfo(e,i);return this.draggable.onDragOut?.(e,t,i,{...n,type:vG(n.type)})}},onDragOver(e,t,i){if(!this.isRoot)return this.getRootTree()?.onDragOver(e,t,i);const n=this.nodesMap[i.el.getAttribute("node-id")],o=this.getDragInfo(e,i);if(na(this.draggable)){const n=this.draggable.onDragOver?.(e,t,i,{...o,type:vG(o.type)});if(ta(n))return n;if(!1===n)return this._prevLandedStatus=i.getInvalidStatusCls(),i.getInvalidStatusCls();if(!0===n)return this._prevLandedStatus=i.getValidStatusCls(),i.getValidStatusCls()}return!o.el||this._prevLandedType===o.type&&this._prevLandedNode[this.paramsInfo.id]===o.node[this.paramsInfo.id]?this._prevLandedStatus:(this._autoExpandTimer&&window.clearTimeout(this._autoExpandTimer),this._showIndicatorTimer&&window.clearTimeout(this._showIndicatorTimer),this._prevLandedNode&&(this._prevLandedNode._draggingTo=mG.NONE),this._prevLandedType=o.type,this._prevLandedNode=o.node,!1===this.validateDrag({type:vG(o.type),draggingNode:n,landedNode:o.node})?(this._prevLandedStatus=i.getInvalidStatusCls(),i.getInvalidStatusCls()):this.isValidDrag(o,n)?(this._prevLandedStatus=i.getValidStatusCls(),void(o.type===fG.INNER?(o.node._draggingTo=mG.INNER,this._autoExpandTimer=window.setTimeout((()=>{o.node.expanded=!0}),600)):o.type===fG.TOP?(o.node._draggingTo=mG.TOP,o.node._showIndicator=!1,this._showIndicatorTimer=window.setTimeout((()=>{o.node._showIndicator=!0}),0)):o.type===fG.BOTTOM&&(o.node._draggingTo=mG.BOTTOM,o.node._showIndicator=!1,this._showIndicatorTimer=window.setTimeout((()=>{o.node._showIndicator=!0}),0)))):(this._prevLandedStatus=i.getInvalidStatusCls(),i.getInvalidStatusCls()))},getDragProps(e){return gm({getTargetContent:this.getDragGhost(e),onDragOver:this.onDragOver,onDragEnter:this.onDragEnter,onDragOut:this.onDragOut,onDrag:this.onDrag,onDrop:this.onDrop,onValidDrop:this.onValidDrop,ghostCls:"v-tree-panel-dd"},this.getDraggingProps(e))},getDragGhost(e){return()=>{let t=`<div class="${this.prefixCls}"><div class="${this.prefixCls}-node-content-wrapper">`;return t+=this.$refs[`${this.getItemKey(e)}-icon`]?.[0]?.$el.outerHTML??"",this.$refs[`${this.getItemKey(e)}-text`]&&(t+=this.$refs[`${this.getItemKey(e)}-text`][0].outerHTML),t+="</div></div>",t}},async updateDragTargets(){await this.$nextTick();const e=this.getRootTree();if(this.$refs.dragTargets&&e)for(const t of this.$refs.dragTargets)e.getScrollRoot()&&t.setAutoScrollElement(e.getScrollRoot())},getScrollRoot(){return this.$refs["scroll-root"]?.getScrollEl?.()},getDragZoneRef(){return this.$refs.dragZone},useHtml:e=>e?.useHtml??!1,getTip(e){return na(e.tip)?e.tip:{content:e.tip||e[this.paramsInfo.title],overflowOnly:!0}},getItemKey(e){return e[this.paramsInfo.id]},getSynoId(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e[this.paramsInfo.id]||e[this.paramsInfo.title];return i=i.replace(/\s/g,"").toLowerCase(),t?`${this.synoId}-${t}-${i}`:`${this.synoId}-${i}`},getNodeCls(e){return[`${this.prefixCls}-node`,{[e[this.paramsInfo.customClass]]:!!e[this.paramsInfo.customClass]}]},hasIcon:e=>e.icon||e.iconCls,iconProps:e=>na(e.icon)?e.icon:ta(e.icon)?{name:e.icon}:void 0,selectHandleCls(e){e[this.paramsInfo.id]||nh(`${this.paramsInfo.id} property of item is required`);let t=[`${this.prefixCls}-node-wrapper`,{[`${this.prefixCls}-dragging-inner`]:e._draggingTo===mG.INNER,[`${this.prefixCls}-dragging`]:e._dragging,[`${this.prefixCls}-node-selected`]:this.currentSelectedId===e[this.paramsInfo.id],[`${this.prefixCls}-disabled`]:e.disabled}];return e.cls&&t.push(e.cls),t},preHandleData(){for(const[e,t]of this.currentData.entries())sh(t,"level",`${this.level}-${e}`),sh(t,"_draggingTo",mG.NONE),sh(t,"_showIndicator",!1),sh(t,"_dragging",!1),sh(t,"_loading",!1),sh(t,"_parentNode",this.parent),this.asyncExpandFunc?sh(t,"isLeaf",!1):(sh(t,"isLeaf",!0),t[this.paramsInfo.children]&&t[this.paramsInfo.children].length>0&&sh(t,"isLeaf",!1));this.prepareCheckboxData()},hasChildren(e){return fa(e[this.paramsInfo.children])&&e[this.paramsInfo.children].length>0},async fetchChild(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((!this.hasChildren(e)||!1!==t)&&this.asyncExpandFunc){sh(e,"_loading",!0);const t=await this.asyncExpandFunc(e);sh(e,this.paramsInfo.children,t),sh(e,"_loading",!1),await this.$nextTick()}},getChildTree(e){const t=this.getNodePath(this.currentData,e);if(!t.length)return!1;let i=this;for(const e of t.slice(0,-1)){const t=e.index;i=i.$refs[`childBranch-${t}`]&&i.$refs[`childBranch-${t}`][0]}return i},getNodeEl(e){const t=this.getNodePath(this.currentData,e);if(!t.length)return!1;let i=this;for(const[e,n]of t.entries())i=e===t.length-1?i.$refs.node[n.index]:i.$refs[`childBranch-${n.index}`]&&i.$refs[`childBranch-${n.index}`][0];return i},async fetchChildByPath(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.fetchChild(this.currentData[e],t)},async setExpand(e,t){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!1===this.currentData[e].expandable)return;const o=this.currentData[e].expanded;this.expandedIndex=e,this.bubbleEvent(t?"node-expanded":"node-collapsed",{origin:this,id:this.currentData[e][this.paramsInfo.id],path:[this.currentData[e]]}),!0===t?(await this.fetchChild(this.currentData[e],i),!0!==o&&(await this.$nextTick(),sh(this.currentData[this.expandedIndex],"expanded",!0))):!1!==o&&(await this.$nextTick(),sh(this.currentData[this.expandedIndex],"expanded",!1)),n&&await new Promise((t=>{Nu(this.$refs[`slideUpDown-${e}`]?.[0]?.$el,"transitionend",t)}))},toggleExpand(e){if(!1===this.currentData[e].expandable)return;const t=!this.currentData[e].expanded;return this.setExpand(e,t)},bubbleEvent(e,t){this.isRoot?Nc(this,e,t):this.dispatch("TreePanel",e,t)},async setSelect(e){this.bubbleEvent("node-clicked",{origin:this,id:this.currentData[e][this.paramsInfo.id],path:[this.currentData[e]]}),this.currentData[e][this.paramsInfo.id]!==this.currentSelectedId&&gG(this.currentData[e])&&(this.bubbleEvent("node-selected",{origin:this,status:!0,id:this.currentData[e][this.paramsInfo.id],path:[this.currentData[e]]}),this.expandOnSelect&&await this.toggleExpand(e))},getNodes(e,t){e=e||this.currentData;let i=[];for(const n of e){let e=!0;for(const[i,o]of Object.entries(t))if(n[i]!==o){e=!1;break}e&&i.push(n),n[this.paramsInfo.children]&&n[this.paramsInfo.children].length&&(i=i.concat(this.getNodes(n[this.paramsInfo.children],t)))}return i},getSelectedNodes(e){e=e||this.currentData;for(const t of e){if(t[this.paramsInfo.id]===this.currentSelectedId)return[Object.assign({},t)];if(t[this.paramsInfo.children]){const e=this.getSelectedNodes(t[this.paramsInfo.children]);if(e.length>0)return e}}return[]},getNodePath(e,t){e=e||this.currentData;let i=[],n=[];for(let o=0;o<e.length;o++){let s=e[o];if(s[this.paramsInfo.children]&&s[this.paramsInfo.children].length&&(n=this.getNodePath(s[this.paramsInfo.children],t)),n.length>0||s[this.paramsInfo.id]===t){i=n,i.unshift({node:s,index:o});break}}return i},async updateNode(e,t){let i=this.getNodePath(this.currentData,e);if(!i.length)return!1;let n=this;for(let[e,o]of i.entries()){const s=o.index;if(e===i.length-1)return void await n.fetchChildByPath(o.index,t);n.data[o.index].expanded||await n.setExpand(o.index,!0,!0),n=n.$refs[`childBranch-${s}`][0]}},async expandNode(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.getNodePath(this.currentData,e);if(!n.length)return!1;let o=this;for(let[e,s]of n.entries()){const r=s.index;e===n.length-1?await o.setExpand(s.index,!0,i):o.data[s.index].expanded||await o.setExpand(s.index,!0,t),o=o.$refs[`childBranch-${r}`][0]}},async selectNode(e){let t,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=this.getNodePath(this.currentData,e);if(!o.length)return!1;let s,r=this;for(let[e,a]of o.entries()){if(!r)break;s=a.index,e===o.length-1?(await r.setSelect(a.index),t=r.$refs.node?.[a.index]):r.data[a.index].expanded||await r.setExpand(a.index,!0,i,n),r=r.$refs[`childBranch-${s}`]?.[0]}return n&&(await Promise.all([]),window.setTimeout((()=>{this.scrollToNode(t)}),0)),t},scrollToNode(e){zu(e,{scrollMode:"if-needed",behavior:arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?"auto":"smooth"})},setExpandByNodeId(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const i=this.currentData.findIndex((t=>t[this.paramsInfo.id]===e));i>-1?this.setExpand(i,t):this.broadcast("TreePanel","set-node-expanded",[e,t])},selectPrevNode(){let e=this.displayedNodes.findIndex((e=>e[this.paramsInfo.id]===this.currentSelectedId));for(;--e>=0&&!gG(this.displayedNodes[e]););this.selectNodeByIndex(e)},selectNextNode(){let e=this.displayedNodes.findIndex((e=>e[this.paramsInfo.id]===this.currentSelectedId));for(;++e<this.displayedNodes.length&&!gG(this.displayedNodes[e]););this.selectNodeByIndex(e)},selectNodeByIndex(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(e<0||this.displayedNodes.length<=e)return;const t=this.displayedNodes[e];this.currentSelectedId=t[this.paramsInfo.id],Nc(this,"selected",this.getSelectedNodes());const i=this.getNodeEl(t[this.paramsInfo.id]);this.expandOnSelect&&this.setExpandByNodeId(this.currentSelectedId,!0),this.$refs["scroll-root"]?.ensureVisible(i)},selectNodeByKeyup(e){this.isRoot&&("ArrowUp"===e.key&&this.selectPrevNode(),"ArrowDown"===e.key&&this.selectNextNode())},expandNodeByKeyup(e){this.isRoot&&"ArrowRight"===e.key&&this.setExpandByNodeId(this.currentSelectedId,!0)},collapseNodeByKeyup(e){this.isRoot&&"ArrowLeft"===e.key&&this.setExpandByNodeId(this.currentSelectedId,!1)}}}),bG=["role","tabindex","aria-activedescendant"],wG={key:0,class:"top-indicator dragging-indicator"},CG=["node-id","onClick","onDblclick"],xG=["id","innerHTML"],SG=["id"],kG={key:2,class:"suffix-slot"},_G={key:3,class:"action-slot"},IG={key:1,class:"bottom-indicator dragging-indicator"};var TG=Rm(yG,[["render",function(e,t,i,n,o,s){const r=Bi("v-spin-icon"),a=Bi("v-icon"),l=Bi("v-checkbox"),d=Bi("with-drag-target"),c=Bi("tree-panel",!0),u=Bi("v-slide-up-down-transition"),h=Bi("with-scrollbar"),p=Fi("tooltip"),f=Fi("syno-id");return jo(),Zo(h,{ref:"scroll-root",wrap:e.showScrollbar,class:ne(e.scrollbarCls)},{default:Ii((()=>[Xi((jo(),Ko("ul",{class:ne(e.treeCls),role:0===e.indentLevel?"tree":"group",tabindex:0===e.indentLevel?"0":"","aria-activedescendant":0===e.indentLevel?e.currentSelectedId:void 0,onKeydown:[t[3]||(t[3]=Ur(Wr((function(){return e.selectNodeByKeyup&&e.selectNodeByKeyup(...arguments)}),["prevent"]),["up"])),t[4]||(t[4]=Ur(Wr((function(){return e.selectNodeByKeyup&&e.selectNodeByKeyup(...arguments)}),["prevent"]),["down"])),t[5]||(t[5]=Ur(Wr((function(){return e.expandNodeByKeyup&&e.expandNodeByKeyup(...arguments)}),["prevent"]),["right"])),t[6]||(t[6]=Ur(Wr((function(){return e.collapseNodeByKeyup&&e.collapseNodeByKeyup(...arguments)}),["prevent"]),["left"])),t[7]||(t[7]=Ur(Wr((function(){return e.checkNodeByKeyup&&e.checkNodeByKeyup(...arguments)}),["prevent"]),["space"]))]},[(jo(!0),Ko(Po,null,tn(e.currentData,((i,n)=>(jo(),Zo($i(e.getListItemTag()),{id:i[e.paramsInfo.id],key:e.getItemKey(i),"syno-id":e.getSynoId(i),class:ne(e.getNodeCls(i)),role:"treeitem","node-id":i[e.paramsInfo.id],"aria-expanded":i.expanded?"true":"false",item:i,index:n},{default:Ii((()=>[e.hasIndicator(i,"top")?(jo(),Ko("div",wG)):ls("",!0),is(d,{ref_for:!0,ref:"dragTargets",wrap:!!e.draggable,"drag-props":e.getDragProps(i),"get-drag-zone":e.isRoot?e.getInnerDragZone:e.getDragZone,"dragging-id":e.draggingId,payload:{componentName:e.$options.name},"auto-scroll-element":""},{default:Ii((()=>[ts("div",{ref_for:!0,ref:"node",class:ne(e.selectHandleCls(i)),"node-id":i[e.paramsInfo.id],onClick:Wr((t=>e.setSelect(n)),["prevent"]),onDblclick:Wr((t=>e.toggleExpand(n)),["prevent"])},[rn(e.$slots,`tree-node-${i.slot}`,{item:i},(()=>[ts("span",{class:ne(e.indentClass),style:Q(e.indentStyle)},null,6),i._loading?(jo(),Zo(r,{key:0,class:ne(`${e.prefixCls}-spin-icon`)},null,8,["class"])):e.hasArrowIcon(i)?(jo(),Zo(a,{key:1,"syno-id":e.getSynoId(i,"arrow"),name:i.expanded?"tree-panel-arrow-down":"tree-panel-arrow-right",class:ne(["tree-panel-arrow v-tree-panel-arrow",e.getArrowIconCls(i)]),"svg-icon-set":"set01",onClick:Wr((t=>e.toggleExpand(n)),["prevent","stop"]),onDblclick:t[0]||(t[0]=Wr((()=>{}),["prevent","stop"]))},null,8,["syno-id","name","class","onClick"])):ls("",!0),e.checkbox?(jo(),Zo(l,{key:2,id:i.id,"syno-id":e.getSynoId(i,"checkbox"),value:i.checked,"model-value":i.checked,indeterminate:i._indeterminate,disabled:i.disabled,onInput:t=>e.checkByClick(i,t),"onUpdate:modelValue":t=>e.checkByClick(i,t),onClick:t[1]||(t[1]=Wr((()=>{}),["stop"])),onDblclick:t[2]||(t[2]=Wr((()=>{}),["stop"]))},null,8,["id","syno-id","value","model-value","indeterminate","disabled","onInput","onUpdate:modelValue"])):ls("",!0),e.hasIcon(i)?(jo(),Zo(a,hs({key:3,ref_for:!0,ref:`${e.getItemKey(i)}-icon`},e.iconProps(i),{class:"v-tree-panel-icon"}),null,16)):ls("",!0),ts("span",{class:ne(e.prefixCls+"-node-content-wrapper")},[e.useHtml(i)?Xi((jo(),Ko("span",{key:0,id:`${i.id}-text`,ref_for:!0,ref:`${e.getItemKey(i)}-text`,class:ne(e.prefixCls+"-title"),innerHTML:i[e.paramsInfo.title]},null,10,xG)),[[p,e.getTip(i)]]):Xi((jo(),Ko("span",{key:1,id:`${i.id}-text`,ref_for:!0,ref:`${e.getItemKey(i)}-text`,class:ne(e.prefixCls+"-title")},[rs(ce(i[e.paramsInfo.title]),1)],10,SG)),[[p,e.getTip(i)]]),i.suffixSlot?(jo(),Ko("span",kG,[rn(e.$slots,`tree-node-${i.suffixSlot}`,{item:i})])):ls("",!0),i.actionSlot?(jo(),Ko("span",_G,[rn(e.$slots,`tree-node-${i.actionSlot}`,{item:i})])):ls("",!0)],2)]))],42,CG)])),_:2},1032,["wrap","drag-props","get-drag-zone","dragging-id","payload"]),e.hasIndicator(i,"bottom")?(jo(),Ko("div",IG)):ls("",!0),is(h,{ref_for:!0,ref:`scroll-${e.getItemKey(i)}`,wrap:!0===i.showScrollbar},{default:Ii((()=>[is(u,{ref_for:!0,ref:`slideUpDown-${n}`,"syno-id":`${e.getSynoId(i,"slide-up-down")}`},{default:Ii((()=>[i.isLeaf?ls("",!0):Xi((jo(),Zo(c,{key:0,ref_for:!0,ref:`childBranch-${n}`,"syno-id":`${e.synoId}-${i[e.paramsInfo.id]}-subtree`,"get-drag-zone":e.isRoot?e.getInnerDragZone:e.getDragZone,draggable:e.draggable,"prefix-cls":e.prefixCls,data:i[e.paramsInfo.children]||[],parent:i,level:`${e.level}-${n}`,"async-expand-func":e.asyncExpandFunc,"indent-level":e.indentLevel+1,"params-info":e.paramsInfo,"expand-on-select":e.expandOnSelect,"selected-id":e.currentSelectedId,"show-scrollbar":!1,checkbox:e.checkbox,"validate-drop":e.validateDrop,"validate-drag":e.validateDrag,dragging:e.currentDragging,"get-dragging-props":e.getDraggingProps,onInternalChecked:e.emitCheckedState},nn({_:2},[tn(e.getSlots(),((t,i)=>({name:i,fn:Ii((t=>[rn(e.$slots,i,hs({ref_for:!0},t))]))})))]),1032,["syno-id","get-drag-zone","draggable","prefix-cls","data","parent","level","async-expand-func","indent-level","params-info","expand-on-select","selected-id","checkbox","validate-drop","validate-drag","dragging","get-dragging-props","onInternalChecked"])),[[lr,i.expanded]])])),_:2},1032,["syno-id"])])),_:2},1032,["wrap"]),rn(e.$slots,"extranode",{data:i})])),_:2},1032,["id","syno-id","class","node-id","aria-expanded","item","index"])))),128))],42,bG)),[[f]])])),_:3},8,["wrap","class"])}]]);const DG=on({name:"A",props:{}}),LG={class:"v-a"};var AG=Rm(DG,[["render",function(e,t,i,n,o,s){return jo(),Ko("a",LG,[rn(e.$slots,"default")])}]]),EG=Rm(on({name:"Header",components:{vA:AG},props:{text:{type:String,default:""},level:{type:[Number,String],validator:e=>[1,2,3,4,5,6].includes(e=+e),default:1},baseUrl:{type:String,default:""},href:{type:String,default:""}},computed:{slugifyText(){return Ta(this.text)},headerCls(){return[`level-${this.level}`]},innerHref(){return this.href?this.href:(this.baseUrl??"")+"#"+this.slugifyText}},mounted(){}}),[["render",function(e,t,i,n,o,s){const r=Bi("v-a");return jo(),Zo($i(`h${e.level}`),{id:e.slugifyText,class:ne(["v-header",e.headerCls])},{default:Ii((()=>[e.text||e.href?(jo(),Zo(r,{key:0,class:"anchor",href:e.innerHref},{default:Ii((()=>[rs(" # ")])),_:1},8,["href"])):ls("",!0),rn(e.$slots,"default",{},(()=>[rs(ce(e.text),1)]))])),_:3},8,["id","class"])}]]);const MG=on({name:"Hr",props:{}}),BG={class:"v-hr"};var OG=Rm(MG,[["render",function(e,t,i,n,o,s){return jo(),Ko("hr",BG)}]]);const $G=on({name:"P",props:{}}),FG={class:"v-p"};var VG=Rm($G,[["render",function(e,t,i,n,o,s){return jo(),Ko("p",FG,[rn(e.$slots,"default")])}]]);const PG=on({name:"Blockquote",props:{}}),NG={class:"v-blockquote"};var RG=Rm(PG,[["render",function(e,t,i,n,o,s){return jo(),Ko("blockquote",NG,[rn(e.$slots,"default")])}]]),HG=Rm(on({name:"TypoText",props:{code:{type:Boolean,default:!1},strong:{type:Boolean,default:!1}},computed:{tag(){return this.code?"code":"span"},cls(){return{"v-text--strong":this.strong,"v-text--code":this.code}}}}),[["render",function(e,t,i,n,o,s){return jo(),Zo($i(e.tag),{class:ne(e.cls)},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["class"])}]]);const zG=on({name:"Code",props:{}}),WG={class:"v-code"};var jG=Rm(zG,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",WG,[rn(e.$slots,"default")])}]]),UG=Rm(on({name:"List",props:{},computed:{cls:()=>"v-list"}}),[["render",function(e,t,i,n,o,s){return jo(),Ko("ul",{class:ne(e.cls)},[rn(e.$slots,"default")],2)}]]);const GG=on({name:"Li"}),qG={class:"v-li"},YG=ts("i",{class:"bullet-dot"},null,-1);var KG=Rm(GG,[["render",function(e,t,i,n,o,s){return jo(),Ko("li",qG,[YG,rn(e.$slots,"default")])}]]);const ZG=on({name:"Table",components:{vScrollbar:wD},props:{}}),JG={class:"v-typo-table"};var QG=Rm(ZG,[["render",function(e,t,i,n,o,s){const r=Bi("v-scrollbar");return jo(),Zo(r,null,{default:Ii((()=>[ts("table",JG,[rn(e.$slots,"default")])])),_:3})}]]);const XG=on({name:"TypoTip",props:{type:{type:String,default:"info",validate:e=>["info","warn","error"].includes(e)}},computed:{title(){return"info"===this.type?"Info":"warn"===this.type?"Warning":"Error"}}}),eq={class:"tip-title"},tq={class:"tip-content"};var iq=Rm(XG,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:ne(["v-typo-tip",e.type])},[ts("p",eq,ce(e.title),1),ts("p",tq,[rn(e.$slots,"default")])],2)}]]);const nq=[0,16];function oq(e,t,i){if(!ia(e))return void SYNO.Debug.error("Callback should be callable");let n=e.apply(i,[]);n&&n.then&&ia(n.then)||(n=Promise.resolve()),n.then(function(e){ia(t)&&t.apply(i,[])}.bind(i)).catch(function(e){}.bind(i))}const sq=on({name:"MessageBoxWindow",components:{vProgressBar:ij,vTrapFocus:pL,vPanel:iO,vButton:RA,vInput:_O,vForm:lz,vFormItem:zz,vDraggable:$L},extends:NE,mixins:[Bc,vm("messageBoxWindow","MessageBox")],props:{densePadding:{type:Object,default:()=>({sm:40,xxs:20})},footerDirection:{type:[Object,String,Boolean],default:!1},mobileBreakpoint:{type:[String,Boolean,Object],default:()=>({fit:false,center:"sm"})},loadingType:{type:String,default:"statusbar"},width:{type:[String,Number],default:480},minWidth:{type:[String,Number],default:420},height:{type:[String,Number],default:"auto"},doConfirm:{type:Function,default:void 0},doCancel:{type:Function,default:void 0},doLeftCustom:{type:Function,default:void 0},resizable:{type:Boolean,default:!1},buttons:{type:Object,default:()=>({})}},data(){return{showStatusBar:!1,loading:!1,errorText:void 0,inputPassword:"",statusBarState:"loading",dialogTitle:"",dialogContent:"",prompt:void 0,callbackFn:Ca,callbackScope:this,iconCls:void 0,isHtmlContent:!1,innerButtons:gm({leftCustom:{type:"footbar",text:void 0,suffix:"cancel"},cancel:{type:"footbar",text:this._i18n("common","cancel"),suffix:"cancel"},confirm:{type:"footbar",text:this._i18n("common","apply"),suffix:"main"}},this.buttons),messageType:"normal",currentProgress:{percent:void 0,percentText:void 0,info:void 0,title:void 0},resolveFunc:void 0,rejectFunc:void 0,useHtml:void 0,opts:{}}},computed:{innerDensePadding(){return this.getMessageBoxConfigValue("densePadding")},innerFooterDirection(){return!1===this.footerDirection?"row":ta(this.footerDirection)?this.footerDirection:this.$breakpointManager?this.$breakpointManager.getSuitableValue(this.footerDirection):(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),"row")},footerCls(){return this.innerFooterDirection},isPasswordType(){return"password"===this.messageType},isProgressType(){return"progress"===this.messageType},windowCls(){return[this.prefixCls,this.customCls,"v-message-box-window",{"active-win":this.active,"deactive-win":!this.active,blink:this.blink,"is-safari":Jc,"auto-height":this.autoHeight}]},hasIcon(){return!!this.iconCls},extendedBodyCls(){return["message-box-wrapper",this.bodyCls]},dialogIconWrapperCls(){return["dialog-icon-wrapper",this.iconCls?this.iconCls:""]},dialogIconCls(){return["dialog-icon",this.iconCls?this.iconCls:""]},panelCls(){return["message-box","password"===this.messageType?"is-password":""]},panelBodyCls(){return["message-box-body",this.iconCls?"has-icon":"",this.dialogTitle?"has-title":"","password"===this.messageType?"is-password":""]},progressWrapperCls:()=>["progress-wrapper"],progressPercentClass(){return{"progress-bar-inner":!0,"progress-bar-inner--full":parseInt(this.currentProgress.percent,10)>=100}},progressPercentStyle(){return{width:`${this.currentProgress.percent}%`}}},watch:{buttons:{handler(e){this.innerButtons=gm(this.innerButtons,this.buttons)},deep:!0}},methods:{async doBreakpointFit(e){const t=na(this.innerDensePadding)?this.$breakpointManager.getSuitableValue(this.innerDensePadding):this.innerDensePadding;await this.fitContainer({padding:[t,0],fit:"width",pos:"center"})},async doClose(){let{payload:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=this.owner;t&&(t.messageBox=null),this.hideFromOwner()&&(this.owner=null),await NE.methods.doClose.apply(this,arguments)},async onLeftCustomButton(){if(this.doLeftCustom){const e=await this.doLeftCustom();if(!1===e)return;if(ca(e))return this.resolveFunc(e)}this.resolveFunc("leftCustom")},async onEsc(e){return!!this.closeByEscKey&&(e.stopPropagation(),e.preventDefault(),this.onCancelButton())},async onCancelButton(){if(this.doCancel){const e=await this.doCancel();if(!1===e)return;if(ca(e))return this.resolveFunc(e)}await this.onClose(),this.resolveFunc("cancel")},async onConfirmButton(){if(this.doConfirm){const e=await this.doConfirm();if(!1===e)return;if(ca(e))return this.resolveFunc(e)}if("password"===this.messageType)return this.onPasswordConfirm();await this.onClose(),this.resolveFunc("confirm")},onArrowKeydown(e){if(!e)return;const t=[this.$refs.leftCustomBtn,this.$refs.cancelBtn,this.$refs.confirmBtn].filter((e=>e)).filter((e=>e.$el));if(0===t.length)return;const i="ArrowLeft"===e.key?-1:"ArrowRight"===e.key?1:0,n=t.findIndex((t=>t.$el===e.target));t[Math.min(Math.max(0,n+i),t.length-1)].$el.focus()},clearStatus(){this.setStatus("clear")},setStatusBusy(e,t){this.setStatus("loading")},setStatus(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"loading",t=arguments.length>1?arguments[1]:void 0;"clear"===e?(this.loading=!1,this.showStatusBar=!1):"loading"===e?(this.loading=!0,this.statusBarState="loading",this.showStatusBar=!0):"error"===e&&(this.loading=!1,this.statusBarState="error",this.showStatusBar=!0,this.errorText=t)},async onPasswordConfirm(){this.setStatus("loading");try{await LL({api:"SYNO.Core.User.PasswordConfirm",method:"auth",version:1,encryption:["password"],params:{password:this.inputPassword}}),await this.onClose(),this.resolveFunc("confirm")}catch(e){this.setStatus("error",SYNO.API.Errors.core[e.code])}},showMessage(e){this.opts=e,this.currentTitle=e.title,this.dialogTitle=e.title,this.dialogContent=e.msg,this.iconCls=e.iconCls,this.currentProgress=e.progress,this.messageType=e.type,e.width&&(this.currentWidth=e.width),e.height&&(this.currentHeight=e.height),e.isHtmlContent&&eh("isHtmlContent","useHtml",this),this.useHtml=e.useHtml||e.isHtmlContent,this.innerButtons=gm({leftCustom:{type:"footbar",text:void 0,suffix:"cancel"},cancel:{type:"footbar",text:this._i18n("common","cancel"),suffix:"cancel"},confirm:{type:"footbar",text:this._i18n("common","apply"),suffix:"main"}},this.buttons,e.buttons??{})},actionDefer(){return new Promise(((e,t)=>{this.resolveFunc=e,this.rejectFunc=t}))},alert(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return i=gm({leftCustom:{text:null},cancel:{text:null},confirm:{type:"footbar",text:this._i18n("common","apply"),suffix:"main"}},this.buttons,i??{}),this.showMessage(Object.assign({title:e,msg:t,type:"normal",buttons:i},n)),this.$nextTick((()=>{this.alignCenterToOwner()})),this.actionDefer()},confirm(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return i=gm({leftCustom:{text:null},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{type:"footbar",text:this._i18n("common","apply"),suffix:"main"}},this.buttons,i??{}),this.$nextTick((()=>{this.alignCenterToOwner()})),this.showMessage(Object.assign({title:e,msg:t,type:"normal",buttons:i},n)),this.actionDefer()},async confirmLostChange(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i=gm({leftCustom:{text:this._i18n("common","dont_save"),type:"footbar"},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{text:this._i18n("common","save"),suffix:"main",type:"footbar"}},this.buttons,i??{});const o=await this.confirm(e,t||this._i18n("common","confirm_lostchange_without_save"),i,n);return"leftCustom"===o?(await this.onClose(),"dont_save"):"confirm"===o?"save":"cancel"===o?"cancel":o},confirmDelete(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return i=gm({leftCustom:{text:null},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{text:this._i18n("common","delete"),suffix:"red",type:"footbar"}},this.buttons,i??{}),this.$nextTick((()=>{this.alignCenterToOwner()})),this.showMessage(Object.assign({title:e,msg:t,type:"normal",buttons:i},n)),this.actionDefer()},progress(e,t,i,n,o){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.updateProgress(e,t,i,n,o,s),this.$nextTick((()=>{this.alignCenterToOwner()})),this.actionDefer()},wait(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return i=gm({leftCustom:{text:null},cancel:{text:null},confirm:{text:null}},this.buttons,i??{}),this.showMessage(Object.assign({progress:{title:e,info:t,wait:!0},buttons:i,type:"progress"},n)),this.actionDefer()},updateProgress(e,t,i,n,o){let s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};t=+t,t=Math.min(100,t),n=(t=Math.max(0,t))?`${t}%`:n,o=gm({leftCustom:{text:null},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{text:this._i18n("common","hide"),suffix:"main",type:"footbar"}},this.buttons,o??{}),this.showMessage(Object.assign({progress:{title:e,percentText:n,percent:t,info:i},buttons:o,type:"progress"},s))},password(e,t,i){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e=e||this._i18n("common","enter_password_to_continue"),t=t||this._i18n("common","enter_user_password"),i=gm({leftCustom:{text:null},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{text:this._i18n("common","submit"),suffix:"red",type:"footbar"}},this.buttons,i??{}),this.showMessage(Object.assign({title:e,msg:t,type:"password",buttons:i},n)),this.$nextTick((()=>{this.alignCenterToOwner()})),this.actionDefer()},getToastBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this.getWindowEl();t=gm({text:e},t),HL(this.$.appContext.app,this.$el,t,{constrainMode:!1,absoluteMode:!0,anchorEl:i,containerEl:i,offset:nq,align:"t->t"})},async confirmLostChangePromise(e,t,i,n,o){let s,r={};if(ia(e))s=e;else{if(!na(e))return void SYNO.Debug.error("func should be object(for promise) or function(for callback)");r=e}let a=r.save,l=r.dontSave,d=r.cancel,c=r.confirmText;i=i||Ca,n=n||Ca,o=o||Ca;let u=await this.confirm("",c||this._i18n("common","confirm_lostchange_without_save"),{leftCustom:{text:this._i18n("common","dont_save"),type:"footbar"},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{text:this._i18n("common","save"),suffix:"main",type:"footbar"}});"leftCustom"===u&&this.onClose(),ia(s)?s.apply(t):(ia(i)&&i.apply(t,[]),"confirm"===u?oq(a,n,t):"cancel"===u?oq(d,o,t):"leftCustom"===u&&oq(l,n,t))}}}),rq=["aria-label"],aq={key:0,class:"dialog-title"},lq=["innerHTML"],dq={key:1,class:"dialog-content"},cq={class:"focus-last-alert",tabindex:"0",role:"alert"};var uq=Rm(sq,[["render",function(e,t,i,n,o,s){const r=Bi("v-progress-bar"),a=Bi("v-input"),l=Bi("v-form-item"),d=Bi("v-form"),c=Bi("v-button"),u=Bi("v-panel"),h=Bi("v-trap-focus"),p=Bi("v-draggable"),f=Fi("syno-id");return Xi((jo(),Ko("div",{ref:"_window",class:ne(e.windowCls),style:Q(e.windowStyle),onMousedown:t[2]||(t[2]=t=>e.toFront()),onKeydown:[t[3]||(t[3]=Ur((function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)}),["left"])),t[4]||(t[4]=Ur((function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)}),["right"])),t[5]||(t[5]=Ur((function(){return e.onEsc&&e.onEsc(...arguments)}),["esc"]))]},[is(h,{ref:"trapFocus","focus-last":"",class:ne(e.extendedBodyCls)},{"alert-last":Ii((()=>[ts("div",cq,ce(e._i18n("desktop","window_last_hint")),1)])),default:Ii((()=>[ts("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"alertdialog","aria-label":e.currentTitle||e.dialogContent},null,8,rq),is(u,{class:ne(e.panelCls),"show-status-bar":e.showStatusBar,loading:e.loading,"loading-type":e.loadingType,"status-bar-state":e.statusBarState,"error-text":e.errorText,"syno-id":`${e.synoId}-panel`,"onUpdate:showStatusBar":t[1]||(t[1]=t=>e.showStatusBar=t)},{body:Ii((()=>[e.isProgressType?(jo(),Zo(r,{key:0,title:e.currentProgress.title,"percent-text":e.currentProgress.percentText,percent:e.currentProgress.percent,info:e.currentProgress.info,wait:e.currentProgress.wait},null,8,["title","percent-text","percent","info","wait"])):(jo(),Ko("div",{key:1,class:ne(e.panelBodyCls)},[e.hasIcon?(jo(),Ko("div",{key:0,class:ne(e.dialogIconWrapperCls)},[ts("div",{class:ne(e.dialogIconCls)},null,2)],2)):ls("",!0),rn(e.$slots,"title",{title:e.dialogTitle,opts:e.opts},(()=>[e.dialogTitle?(jo(),Ko("div",aq,[rn(e.$slots,"dialog-title",{},(()=>[rs(ce(e.dialogTitle),1)]))])):ls("",!0)])),rn(e.$slots,"content",{content:e.dialogContent,opts:e.opts},(()=>[e.useHtml?(jo(),Ko("div",{key:0,class:"dialog-content",innerHTML:e.dialogContent},null,8,lq)):e.dialogContent?(jo(),Ko("div",dq,[rn(e.$slots,"dialog-content",{},(()=>[rs(ce(e.dialogContent),1)]))])):ls("",!0),e.isPasswordType?(jo(),Zo(d,{key:2,"syno-id":`${e.synoId}-password-form`},{default:Ii((()=>[is(l,{class:"password-form-item",label:e._i18n("common","password")+e._i18n("common","pure_colon"),"syno-id":`${e.synoId}-password-form-item`},{default:Ii((()=>[is(a,{modelValue:e.inputPassword,"onUpdate:modelValue":t[0]||(t[0]=t=>e.inputPassword=t),name:"password",type:"password","syno-id":`${e.synoId}-password-form-input`},null,8,["modelValue","syno-id"])])),_:1},8,["label","syno-id"])])),_:1},8,["syno-id"])):ls("",!0)]))],2))])),fbar:Ii((()=>[rn(e.$slots,"footbar",{buttons:e.innerButtons,opts:e.opts},(()=>["row"===e.innerFooterDirection&&e.innerButtons.leftCustom.text?(jo(),Ko("div",{key:0,class:ne(["default pull-left button-region",e.footerCls])},[is(c,hs({ref:"leftCustomBtn","syno-id":`${e.synoId}-fbar-cancel`},e.innerButtons.leftCustom,{onClick:e.onLeftCustomButton}),{default:Ii((()=>[rs(ce(e.innerButtons.leftCustom.text),1)])),_:1},16,["syno-id","onClick"])],2)):ls("",!0),ts("div",{class:ne(["default pull-right button-region",e.footerCls])},["column-reverse"===e.innerFooterDirection&&e.innerButtons.leftCustom.text?(jo(),Zo(c,hs({key:0,ref:"leftCustomBtn","syno-id":`${e.synoId}-fbar-cancel`},e.innerButtons.leftCustom,{onClick:e.onLeftCustomButton}),{default:Ii((()=>[rs(ce(e.innerButtons.leftCustom.text),1)])),_:1},16,["syno-id","onClick"])):ls("",!0),e.innerButtons.cancel.text?(jo(),Zo(c,hs({key:1,ref:"cancelBtn","syno-id":`${e.synoId}-fbar-cancel`},e.innerButtons.cancel,{onClick:e.onCancelButton}),{default:Ii((()=>[rs(ce(e.innerButtons.cancel.text),1)])),_:1},16,["syno-id","onClick"])):ls("",!0),e.innerButtons.confirm.text?(jo(),Zo(c,hs({key:2,ref:"confirmBtn","syno-id":`${e.synoId}-fbar-commit`},e.innerButtons.confirm,{onClick:e.onConfirmButton}),{default:Ii((()=>[rs(ce(e.innerButtons.confirm.text),1)])),_:1},16,["syno-id","onClick"])):ls("",!0)],2)]))])),_:3},8,["class","show-status-bar","loading","loading-type","status-bar-state","error-text","syno-id"])])),_:3},8,["class"]),e.isPasswordType?(jo(),Zo(p,{key:0,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):ls("",!0)],38)),[[lr,e.showWindow],[f]])}]]);const hq=on({name:"WizardWindow",components:{vDraggable:$L,vTrapFocus:pL,vSpin:UL,vWindowHeader:VL},extends:NE,mixins:[La("wizard-window")],props:{width:{type:[String,Number],default:480},minWidth:{type:[String,Number],default:420},height:{type:[String,Number],default:"auto"},showClose:{type:Boolean,default:!0},minimizable:{type:Boolean,default:!1},maximizable:{type:Boolean,default:!1}},emits:["wizard.currentStep","wizard.stepScroll"],data:()=>({subTitle:void 0,subTitleOpacity:0,headerTitleWidth:0,reachYStart:!0,reachYEnd:!0}),computed:{windowCls(){return[this.prefixCls,"v-wizard-window",{"active-win":this.active,"deactive-win":!this.active,blink:this.blink,"mobile-fit":this.inFitBreakpoint}]},innerSubTitle(){return this.inFitBreakpoint?this.subTitle:` - ${this.subTitle}`},subTitleStyle(){return{opacity:this.subTitleOpacity}},headlineStyle(){return{width:`${this.headerTitleWidth}px`}}},methods:{setCurrentStep(e){this.subTitle=e.headline,this.focus()},setReachStartEnd(e,t){this.reachYStart=e,this.reachYEnd=t},onHeadlineIntersection(e){this.headerTitleWidth=this.$refs.header.getTitleEl()?.offsetWidth},onStepScrolled(e){this.subTitleOpacity=e?Math.min(e,24)/24:0},clearStatusBusy(){this.clearStatus()},getToastBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getWindowEl(),o=this.getWindowConfigValue("toastAlignConfig",{});return t=gm({text:e},t),HL(this.$.appContext.app,n,t,gm({constrainMode:!1,absoluteMode:!0,anchorEl:n,containerEl:n,offset:JL,align:"t->t"},i,o))},tryConstrainHeight(){let{isFullsize:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!0}}}),pq=["id"],fq=["aria-label","aria-describedby"],mq={class:"focus-last-alert",tabindex:"0",role:"alert"};var gq=Rm(hq,[["render",function(e,t,i,n,o,s){const r=Bi("v-window-header"),a=Bi("v-trap-focus"),l=Bi("v-draggable"),d=Bi("v-spin"),c=Fi("syno-id");return Xi((jo(),Ko("div",{ref:"_window",class:ne(e.windowCls),style:Q(e.windowStyle),onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:t[2]||(t[2]=Ur((function(){return e.onEsc&&e.onEsc(...arguments)}),["esc"]))},[is(r,hs({ref:"header"},e.headerProps,{"is-modalized":"","is-wizard":"","show-app-icon":!1,class:[e.headerCls,{"reach-y-start":e.reachYStart,"reach-y-end":e.reachYEnd}],"dark-theme":"",onClose:e.onClose}),{"sub-title":Ii((()=>[e.inFitBreakpoint?ls("",!0):(jo(),Ko("div",{key:0,id:`${e.id}-subtitle`,class:"sub-wrapper",style:Q(e.subTitleStyle)},ce(e.innerSubTitle),13,pq))])),_:1},16,["class","onClose"]),e.inFitBreakpoint?(jo(),Ko("div",{key:0,class:"headline-transform",style:Q(e.subTitleStyle)},[ts("div",{class:"headline-text",style:Q(e.headlineStyle)},ce(e.innerSubTitle),5)],4)):ls("",!0),is(a,{ref:"trapFocus",class:ne(e.extendedBodyCls)},{"alert-last":Ii((()=>[ts("div",mq,ce(e._i18n("desktop","window_last_hint")),1)])),default:Ii((()=>[ts("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"dialog","aria-label":e.currentTitle,"aria-describedby":`${e.id}-subtitle`},null,8,fq),rn(e.$slots,"default")])),_:3},8,["class"]),e.innerDraggable?(jo(),Zo(l,{key:1,"prefix-cls":"v-wizard-window","window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):ls("",!0),e.isMasking?(jo(),Ko("div",{key:2,class:ne(e.maskCls),onMousedown:t[0]||(t[0]=Wr((function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)}),["stop"]))},[is(d,{"only-mask":!e.lastMaskLayer.text,tip:e.lastMaskLayer.text,spinning:e.isMasking,"mask-style":e.maskStyle},null,8,["only-mask","tip","spinning","mask-style"])],34)):ls("",!0)],38)),[[lr,e.showWindow],[c]])}]]);const vq=on({name:"AboutWindow",components:{vModalWindow:NE},mixins:[Bc],props:{name:{type:String,default:""},customName:{type:Array,default:null},desc:{type:String,default:""},icon:{type:String,default:""},copyrightYear:{type:String,default:""},tosUrl:{type:String,default:"https://www.synology.com/company/legal"},privacyUrl:{type:String,default:"https://www.synology.com/company/legal/privacy"},isBeta:{type:Boolean,default:!1},swapNameAndDesc:{type:Boolean,default:!1},theme:{type:Object,default:()=>({dark:!1,customBgColor:""})}},data:()=>({clsPrefix:"v-about-window"}),computed:{windowCls(){return[this.clsPrefix,this.theme.dark?"dark-theme":"light-theme"]},windowStyle(){const e={};return this.theme.customBgColor&&(e.backgroundColor=this.theme.customBgColor),e},nameAndDescCls(){return["name-and-desc",{swap:this.swapNameAndDesc}]},title(){return this.customName?this.customName[0]:this.name},label(){return this.customName?this.customName[1]:""}}}),yq={class:"content-top"},bq={class:"content-row name"},wq={key:0,class:"label"},Cq={key:1,class:"beta-tag"},xq={key:0,class:"content-row desc"},Sq=ts("div",{class:"divider"},null,-1),kq={class:"content-bottom"},_q={class:"content-row links"},Iq=["href"],Tq=["href"],Dq={class:"content-row copyright"};var Lq=Rm(vq,[["render",function(e,t,i,n,o,s){const r=Bi("v-modal-window");return jo(),Zo(r,{"syno-id":e.synoId,"show-close":"",draggable:!1,width:"auto",height:"auto","header-cls":`${e.clsPrefix}-header`,"body-cls":`${e.clsPrefix}-body`,"dark-theme":e.theme.dark,class:ne(e.windowCls),style:Q(e.windowStyle)},{"fullsize-window-mask":Ii((()=>[ts("div",{class:ne(`${e.clsPrefix}-mask`)},null,2)])),default:Ii((()=>[ts("div",{class:ne(`${e.clsPrefix}-body-wrapper`)},[ts("div",yq,[ts("div",{class:"content-row icon",style:Q({backgroundImage:`url(${e.icon})`})},null,4),ts("div",{class:ne(e.nameAndDescCls)},[ts("div",bq,[rs(ce(e.title)+" ",1),""!==e.label?(jo(),Ko("div",wq,ce(e.label),1)):ls("",!0),e.isBeta?(jo(),Ko("div",Cq)):ls("",!0)]),e.desc?(jo(),Ko("div",xq,ce(e.desc),1)):ls("",!0)],2)]),Sq,ts("div",kq,[ts("div",_q,[ts("a",{href:e.tosUrl,target:"_blank",class:"terms"},ce(e._i18n("common","terms_of_service")),9,Iq),ts("a",{href:e.privacyUrl,target:"_blank",class:"privacy"},ce(e._i18n("common","privacy_statements")),9,Tq)]),ts("div",Dq,ce(e._i18n("copyright","copyright").replace("{0}",e.copyrightYear)),1)])],2)])),_:1},8,["syno-id","header-cls","body-cls","dark-theme","class","style"])}]]);function Aq(e,t){return"function"==typeof e?e.call(null,t):e}const Eq="next",Mq="back",Bq="leftButton",Oq=on({name:"WizardFooter",components:{vButton:RA,vStatusBar:NB},mixins:[Bc,Aa("wizard")],props:{nextStepDisabled:{type:Boolean,default:!1},previousStepDisabled:{type:Boolean,default:!1},customButtonsGroup:{type:Object,default:()=>({})},showStatusBar:{type:Boolean,required:!0},statusBarState:{type:String,required:!0},statusBarLoadingText:{type:String,required:!0},statusBarSuccessText:{type:String,required:!0},statusBarErrorText:{type:String,required:!0},showLeftButton:{type:Boolean,default:!1},leftButtonText:{type:String,default:void 0},leftButtonType:{type:String,default:"footbar"},leftButtonSuffix:{type:String,default:"cancel"},leftButtonCls:{type:String,default:""},isMobile:{type:Boolean,default:!1},reachYStart:{type:Boolean,default:!0},reachYEnd:{type:Boolean,default:!0},currentStep:{type:Object,default:()=>null}},emits:[],data:()=>({prefixCls:"v-wizard-footer",currentStepType:void 0,currentNextStepKey:void 0,currentPreviousStepKey:void 0,unwatchers:[]}),computed:{wrapperCls(){return[this.prefixCls,{[this.currentStepType]:!!this.currentStepType,mobile:this.isMobile,"reach-y-start":this.reachYStart,"reach-y-end":this.reachYEnd}]},extendedLeftButtonCls(){return["left-btn",this.leftButtonCls]},showStartButton(){let e=this.currentStep,t=this.currentStepType;return this.customButtonsGroup&&this.customButtonsGroup.start&&void 0!==this.customButtonsGroup.start.show?Aq(this.customButtonsGroup.start.show,e):!!t&&"welcome"===t},disableStartButton(){let e=this.currentStep,t=this.nextStepDisabled;return this.customButtonsGroup&&this.customButtonsGroup.start&&void 0!==this.customButtonsGroup.start.disabled?Aq(this.customButtonsGroup.start.disabled,e):t},showBackButton(){let e=this.hasPreviousStep,t=this.currentStep;return this.customButtonsGroup&&this.customButtonsGroup.back&&void 0!==this.customButtonsGroup.back.show?Aq(this.customButtonsGroup.back.show,t):!0===e},disableBackButton(){let e=this.currentStep,t=this.previousStepDisabled;return this.customButtonsGroup&&this.customButtonsGroup.back&&void 0!==this.customButtonsGroup.back.disabled?Aq(this.customButtonsGroup.back.disabled,e):t},showNextButton(){let e=this.currentStep,t=this.currentStepType;return this.customButtonsGroup&&this.customButtonsGroup.next&&void 0!==this.customButtonsGroup.next.show?Aq(this.customButtonsGroup.next.show,e):"normal"===t},disableNextButton(){let e=this.currentStep,t=this.nextStepDisabled;return this.customButtonsGroup&&this.customButtonsGroup.next&&void 0!==this.customButtonsGroup.next.disabled?Aq(this.customButtonsGroup.next.disabled,e):t},startButtonText(){let e=this.currentStep;return this.customButtonsGroup&&this.customButtonsGroup.start&&this.customButtonsGroup.start.text?Aq(this.customButtonsGroup.start.text,e):this._i18n("common","start")},leftText(){let e=this.currentStep;return this.customButtonsGroup?.leftButton?.text?Aq(this.customButtonsGroup.leftButton.text,e):this.leftButtonText??this._i18n("common","skip")},backButtonText(){let e=this.currentStep;return this.customButtonsGroup&&this.customButtonsGroup.back&&this.customButtonsGroup.back.text?Aq(this.customButtonsGroup.back.text,e):this._i18n("common","back")},backButton(){let e=this.currentStep;return!!this.customButtonsGroup?.back?.button&&Aq(this.customButtonsGroup.back.button,e)},nextButton(){let e=this.currentStep;return!!this.customButtonsGroup?.next?.button&&Aq(this.customButtonsGroup.next.button,e)},leftButton(){let e=this.currentStep;return!!this.customButtonsGroup?.leftButton?.button&&Aq(this.customButtonsGroup.leftButton.button,e)},nextButtonText(){let e=this.currentStep,t=this.nextText;return this.customButtonsGroup&&this.customButtonsGroup.next&&this.customButtonsGroup.next.text?Aq(this.customButtonsGroup.next.text,e):t},hasNextStep(){return!!this.currentNextStepKey},hasPreviousStep(){return!!this.currentPreviousStepKey},nextText(){return this.hasNextStep?this._i18n("common","next"):this._i18n("common","commit")}},watch:{currentStep:{handler(e){for(const e of this.unwatchers)e?.();e&&(this.currentStepType=e.getType?.(),this.currentNextStepKey=e.getNextStepKey?.(),this.currentPreviousStepKey=e.getPreviousStepKey?.(),this.unwatchers.push(e.$watch("nextStepKey",(e=>{this.currentNextStepKey=e})),e.$watch("innerPreviousStepKey",(e=>{this.currentPreviousStepKey=e}))))},immediate:!0}},[Pa](){for(const e of this.unwatchers)e?.()},methods:{invokeBehavior(e){switch(e){case Mq:this.toPre();break;case Eq:this.toNext();break;case Bq:this.onLeftButton()}},onClickBackButton(){const e=this.customButtonsGroup?.back?.behavior??Mq;this.invokeBehavior(e)},onClickNextButton(){const e=this.customButtonsGroup?.next?.behavior??Eq;this.invokeBehavior(e)},onClickLeftButton(){const e=this.customButtonsGroup?.leftButton?.behavior??Bq;this.invokeBehavior(e)},toPre(){this.wizard?.instance?.toPreviousStep()},toNext(){!0===this.hasNextStep?this.wizard?.instance?.toNextStep():this.wizard?.instance?.finish()},onLeftButton(e){this.wizard?.instance?.onClickLeftButton(e)}}}),$q={key:0,class:"left-area button-region"},Fq={key:1,class:"button-group center button-region"},Vq={key:2,class:"button-group pull-right button-region"};var Pq=Rm(Oq,[["render",function(e,t,i,n,o,s){const r=Bi("v-button"),a=Bi("v-status-bar"),l=Fi("syno-id");return Xi((jo(),Ko("div",{class:ne(e.wrapperCls)},[e.showStartButton||e.isMobile?ls("",!0):(jo(),Ko("div",$q,[e.showLeftButton?(jo(),Zo(r,hs({key:0,"syno-id":`${e.synoId}-left-button`,type:e.leftButtonType,suffix:e.leftButtonSuffix,class:e.extendedLeftButtonCls},e.leftButton,{onClick:e.onClickLeftButton}),{default:Ii((()=>[rs(ce(e.leftText),1)])),_:1},16,["syno-id","type","suffix","class","onClick"])):ls("",!0),is(a,{class:"status-bar",show:e.showStatusBar,state:e.statusBarState,"loading-text":e.statusBarLoadingText,"success-text":e.statusBarSuccessText,"error-text":e.statusBarErrorText},null,8,["show","state","loading-text","success-text","error-text"])])),e.showStartButton?(jo(),Ko("div",Fq,[Xi(is(r,{"syno-id":`${e.synoId}-start`,type:"footbar",suffix:"main",disabled:e.disableStartButton,onClick:t[0]||(t[0]=t=>e.toNext())},{default:Ii((()=>[rs(ce(e.startButtonText),1)])),_:1},8,["syno-id","disabled"]),[[lr,e.showStartButton]])])):(jo(),Ko("div",Vq,[e.showLeftButton&&e.isMobile?(jo(),Zo(r,hs({key:0,"syno-id":`${e.synoId}-left-button`,type:e.leftButtonType,suffix:e.leftButtonSuffix},e.leftButton,{onClick:e.onClickLeftButton}),{default:Ii((()=>[rs(ce(e.leftText),1)])),_:1},16,["syno-id","type","suffix","onClick"])):ls("",!0),Xi(is(r,hs({"syno-id":`${e.synoId}-back`,type:"footbar",suffix:"cancel",disabled:e.disableBackButton},e.backButton,{onClick:e.onClickBackButton}),{default:Ii((()=>[rs(ce(e.backButtonText),1)])),_:1},16,["syno-id","disabled","onClick"]),[[lr,e.showBackButton]]),Xi(is(r,hs({"syno-id":`${e.synoId}-next`,type:"footbar",suffix:"main",disabled:e.disableNextButton},e.nextButton,{onClick:e.onClickNextButton}),{default:Ii((()=>[rs(ce(e.nextButtonText),1)])),_:1},16,["syno-id","disabled","onClick"]),[[lr,e.showNextButton]])]))],2)),[[l]])}]]);const Nq=on({name:"Wizard",components:{wizardFooter:Pq,vScrollbar:wD,vLayout:qL},mixins:[Bc,Aa("wizard-window"),La("wizard"),vm("wizard")],props:{nextStepDisabled:Boolean,previousStepDisabled:Boolean,activeStepKey:{type:String,default:void 0},customButtonsGroup:{type:Object,default:()=>null},wizardStyle:{type:Object,default:()=>({})},stepCtStyle:{type:Object,default:()=>({})},showStatusBar:{type:Boolean,default:!1},statusBarState:{type:String,default:"loading"},statusBarLoadingText:{type:String,default:void 0},statusBarSuccessText:{type:String,default:void 0},statusBarErrorText:{type:String,default:void 0},showLeftButton:{type:Boolean,default:!1},leftButtonText:{type:String,default:void 0},leftButtonType:{type:String,default:"footbar"},leftButtonSuffix:{type:String,default:"cancel"},leftButtonCls:{type:String,default:""},layoutOrder:{type:Number,default:0},layoutType:{type:String,default:"basic"},mobileBreakpoint:{type:[String,Boolean],default:"xxs"},detectScroll:{type:Boolean,default:!1}},emits:["left-button","current-step","step-scroll"],data:()=>({activateStepKey:null,previousStepKey:null,currentStep:null,headline:null,showFooter:!0,reachYEnd:!0,reachYStart:!0,fixedHeadline:!1,headlineOpacity:1,steps:[]}),computed:{innerDetectScroll(){return this.getWizardConfigValue("detectScroll")},innerLeftButtonText(){return this.leftButtonText??this._i18n("common","skip")},innerStatusBarLoadingText(){return this.statusBarLoadingText??this._i18n("common","loading")},innerStatusBarSuccessText(){return this.statusBarSuccessText??this._i18n("common","setting_applied")},innerStatusBarErrorText(){return this.statusBarErrorText??this._i18n("common","error_system")},headlineStyle(){return!!this["wizard-window"]?.instance?.inFitBreakpoint&&{opacity:this.headlineOpacity}},wrapperCls(){return["v-wizard",{mobile:this.isMobile}]},stepWrapperCls(){return{"flex-bug":tu("<",17),"reach-y-start":this.innerDetectScroll&&this.reachYStart,"reach-y-end":this.innerDetectScroll&&this.reachYEnd}},isMobile(){return!this.$breakpointManager&&this.mobileBreakpoint?(th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1):this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint)}},watch:{async activateStepKey(e,t){for(const t of this.steps)t.stepKey===e?t.activate?.():t.deactivate?.();await ei(),this.$refs.scrollbar.update(),this.detectReachStartEnd()},activeStepKey(e,t){this.activateStepKey=this.activeStepKey}},async mounted(){this.activateStepKey=this.activeStepKey,await ei(),this.detectReachStartEnd(),this.headlineIntersectionDisposeFn=qm(this.$refs.headline,this.onHeadlineIntersection)},[Pa](){this.headlineIntersectionDisposeFn?.()},methods:{addStep(e){this.steps.push(e)},removeStep(e){this.steps=this.steps.filter((t=>GL(t)!==GL(e)))},onNextStep(e){this.previousStepKey=this.activateStepKey,this.activateStepKey=e},onPreviousStep(e){this.previousStepKey=null,this.activateStepKey=e},setCurrentStep(e){this.currentStep=e,this.previousStepKey&&(this.currentStep.setAutoPreviousStepKey(this.previousStepKey),this.previousStepKey=null),this.headline=e.headline,this.handleCurrentStep(e)},toNextStep(){this.currentStep.nextStep()},toPreviousStep(){this.currentStep.previousStep()},onClickLeftButton(e){Nc(this,"left-button",e)},finish(){this.currentStep.finished?.()},updateScrollbar(){this.$refs.scrollbar?.update()},onHeadlineIntersection(e){this["wizard-window"]?.instance?.onHeadlineIntersection?.(e)},onStepPropChange(e){return t=>{this[e]=t}},watchStep(e,t){if(this.currentStepsUnWatchers)for(const e of this.currentStepsUnWatchers)e();this.currentStepsUnWatchers=t.map((t=>e.$watch(t,this.onStepPropChange(t),{immediate:!0})))},handleCurrentStep(e){Nc(this,"current-step",this.currentStep),this["wizard-window"]?.instance?.setCurrentStep?.(e),this.watchStep(this.currentStep,["showFooter","headline"])},handleScrollbar(e){this.detectReachStartEnd(),Nc(this,"step-scroll",e.target.scrollTop),this.onStepScrolled(e.target.scrollTop),this["wizard-window"]?.instance?.onStepScrolled?.(e.target.scrollTop)},onStepScrolled(e){this.headlineOpacity=e?1-Math.min(e,4)/4:1},detectReachStartEnd(){this.innerDetectScroll&&(this.reachYStart=this.$refs.scrollbar?.isReachTop(),this.reachYEnd=this.$refs.scrollbar?.isReachBottom(),this["wizard-window"]?.instance?.setReachStartEnd?.(this.reachYStart,this.reachYEnd))}}}),Rq={key:0,class:"headline-wrap"};var Hq=Rm(Nq,[["render",function(e,t,i,n,o,s){const r=Bi("v-layout"),a=Bi("v-scrollbar"),l=Bi("wizard-footer"),d=Fi("syno-id");return Xi((jo(),Zo(r,{class:ne(e.wrapperCls),style:Q(e.wizardStyle),type:`wizard.${e.layoutType}`},{default:Ii((()=>[ts("div",{class:ne(["step-wrap",e.stepWrapperCls]),style:Q(e.stepCtStyle)},[is(a,{ref:"scrollbar",class:"step-scrollbar",onScroll:e.handleScrollbar},{default:Ii((()=>[!1!==e.headline?(jo(),Ko("div",Rq,[ts("div",{ref:"headline",class:"headline",style:Q(e.headlineStyle)},ce(e.headline),5)])):ls("",!0),is(r,{class:"step-container",type:"wizard-step-container"},{default:Ii((()=>[rn(e.$slots,"default")])),_:3})])),_:3},8,["onScroll"])],6),rn(e.$slots,"footer",{currentStep:e.currentStep,toNextStep:e.toNextStep,toPreviousStep:e.toPreviousStep,finish:e.finish},(()=>[Xi(is(l,{"current-step":e.currentStep,"reach-y-end":e.reachYEnd,"reach-y-start":e.reachYStart,"custom-buttons-group":e.customButtonsGroup,"syno-id":`${e.synoId}-fbar`,"next-step-disabled":e.nextStepDisabled,"previous-step-disabled":e.previousStepDisabled,"show-status-bar":e.showStatusBar,"status-bar-state":e.statusBarState,"status-bar-loading-text":e.innerStatusBarLoadingText,"status-bar-success-text":e.innerStatusBarSuccessText,"status-bar-error-text":e.innerStatusBarErrorText,"is-mobile":e.isMobile,"show-left-button":e.showLeftButton,"left-button-text":e.innerLeftButtonText,"left-button-type":e.leftButtonType,"left-button-suffix":e.leftButtonSuffix,"left-button-cls":e.leftButtonCls},null,8,["current-step","reach-y-end","reach-y-start","custom-buttons-group","syno-id","next-step-disabled","previous-step-disabled","show-status-bar","status-bar-state","status-bar-loading-text","status-bar-success-text","status-bar-error-text","is-mobile","show-left-button","left-button-text","left-button-type","left-button-suffix","left-button-cls"]),[[lr,e.showFooter]])]))])),_:3},8,["class","style","type"])),[[d]])}]]),zq=Rm(on({name:"WizardStep",components:{withTransition:NL("transition")},mixins:[Aa("wizard")],props:{type:{type:String,default:"normal",validator:function(e){return-1!==["normal","welcome"].indexOf(e)}},showTransition:{type:[Boolean,Object],default:!1},stepKey:{type:String,default:void 0},nextStepKey:{type:String,default:void 0},previousStepKey:{type:String,default:void 0},headline:{type:[String,Boolean],default:void 0},preEnterNextStep:{type:Function,default:void 0},preEnterPreviousStep:{type:Function,default:void 0},postEnterNextStep:{type:Function,default:void 0},postEnterPreviousStep:{type:Function,default:void 0},finished:{type:Function,default:void 0},showFooter:{type:Boolean,default:!0}},emits:["activate","deactivate"],data:()=>({prefixCls:"v-wizard-step",autoPreviousStepKey:null,isActive:!1}),computed:{transitionProps(){return oa(this.showTransition)?{name:"fade"}:this.showTransition},innerPreviousStepKey(){return this.previousStepKey??this.autoPreviousStepKey}},mounted(){this.wizard?.instance?.addStep(this)},[Pa](){this.wizard?.instance?.removeStep(this)},methods:{activate(){this.wizard?.instance?.setCurrentStep(this),this.isActive=!0,Nc(this,"activate",this)},deactivate(){this.isActive&&(Nc(this,"deactivate",this),this.isActive=!1)},setAutoPreviousStepKey(e){this.autoPreviousStepKey=e},async nextStep(){let e,t=this.preEnterNextStep;if(t){const i=await t();if(!1===i)return;ta(i)&&(e=i)}ei((()=>{this.wizard.instance.onNextStep(e??this.nextStepKey),this.postEnterNextStep?.()}))},async previousStep(){let e,t=this.preEnterPreviousStep;if(t){const i=await t();if(!1===i)return;ta(i)&&(e=i)}ei((()=>{this.wizard.instance.onPreviousStep(e??this.innerPreviousStepKey),this.postEnterPreviousStep?.()}))},onAfterEnter(){this.wizard?.instance?.updateScrollbar()},onAfterLeave(){this.wizard?.instance?.updateScrollbar()},getType(){return this.type},getNextStepKey(){return this.nextStepKey},getPreviousStepKey(){return this.innerPreviousStepKey}}}),[["render",function(e,t,i,n,o,s){const r=Bi("with-transition"),a=Fi("syno-id");return jo(),Zo(r,hs({wrap:Boolean(e.showTransition)},e.transitionProps,{onAfterEnter:e.onAfterEnter,onAfterLeave:e.onAfterLeave}),{default:Ii((()=>[Xi((jo(),Ko("div",{class:ne(e.prefixCls)},[rn(e.$slots,"default")],2)),[[lr,e.isActive],[a]])])),_:3},16,["wrap","onAfterEnter","onAfterLeave"])}]]),Wq=on({name:"OtpInput",mixins:[wu],props:{length:{type:Number,default:6},invalid:{type:Boolean,default:!1},prefix:{type:[String,Boolean],default:!1},[rT()]:{type:String,default:""}},emits:["update:model-value","input","finish"],data(){return{otp:Array(this.length).fill("")}},computed:{wrapperCls(){return{invalid:this.invalid}}},watch:{otp:{handler(e){Nc(this,"update:model-value",e.join(""))},deep:!0},[rT()]:{handler(e){this.otp=e.split(""),e.length===this.length&&Nc(this,"finish",e)},immediate:!0}},methods:{focusIndex(e){const t=this.$refs[`otp-${e}`]?.[0];t.focus()},onInput(e,t){const i=e.target;let n=0;if(ra(i.value)){for(;n<t&&!ua(this.otp[n]);)n++;sh(this.otp,n,i.value),n<this.length-1&&Yu((()=>{this.focusIndex(n+1)}))}else i.value=""},onFocus(e){e.target.select()},onPaste(e,t){e.preventDefault();const i=e.clipboardData?.getData("text")||"";if(!ra(i))return;const n=Math.min(this.length-t,i.length);for(let e=0;e<n;e++)sh(this.otp,t,i[e]),t+=1;t=xa(t,0,this.length-1),Yu((()=>{this.focusIndex(t)}))},onKeyDown(e,t){t=xa(t,0,this.length-1),(fu(e)||mu(e)||au(e)||lu(e))&&(e.preventDefault(),fu(e)?(sh(this.otp,t,""),t--):mu(e)?sh(this.otp,t,""):au(e)?t--:lu(e)&&t++,t=xa(t,0,this.length-1),Yu((()=>{this.focusIndex(t)})))}}});const jq={key:0,class:"otp-prefix"},Uq={class:"input-content"},Gq=["value","onInput","onPaste","onKeydown"];var qq=Rm(Wq,[["render",function(e,t,i,n,o,s){return jo(),Ko("div",{class:ne(["otp-input",e.wrapperCls])},[e.prefix?(jo(),Ko("div",jq,[rn(e.$slots,"prefix",{},(()=>[rs(ce(e.prefix),1)]))])):ls("",!0),ts("div",Uq,[(jo(!0),Ko(Po,null,tn(e.length,(i=>(jo(),Ko("input",{ref_for:!0,ref:"otp-"+(i-1),key:i-1,class:"otp-input-item",type:"text",inputmode:"numeric",autocomplete:"one-time-code",maxlength:"1",value:e.otp[i-1],onInput:t=>e.onInput(t,i-1),onFocus:t[0]||(t[0]=t=>e.onFocus(t)),onPaste:t=>e.onPaste(t,i-1),onKeydown:t=>e.onKeyDown(t,i-1)},null,40,Gq)))),128))])],2)}]]),Yq=on({name:"SegmentControl",components:{vTrapFocus:pL},mixins:[La("segment-control")],props:{[rT()]:{type:String,default:""}},data:()=>({activeItem:null}),methods:{changeEvent(e,t){Nc(this,"update:model-value",e),Nc(this,"change",e),this.activeItem=t},onArrowKeydown(e){if(!this.activeItem)return;const t=[...this.$el.querySelectorAll(".v-segment-item")];let i=t.findIndex((e=>this.activeItem?.$el?.contains(e)));-1!==i&&(i=(i+(du(e)||uu(e)?-1:cu(e)||hu(e)?1:0)+t.length)%t.length,t[i].focus(),t[i].click())}}}),Kq=Rm(Yq,[["render",function(e,t,i,n,o,s){const r=Bi("v-trap-focus");return jo(),Zo(r,{class:"v-segment-control",onKeydown:[Ur(Wr(e.onArrowKeydown,["prevent"]),["down","native"]),Ur(Wr(e.onArrowKeydown,["prevent"]),["up","native"]),Ur(Wr(e.onArrowKeydown,["prevent"]),["left","native"]),Ur(Wr(e.onArrowKeydown,["prevent"]),["right","native"])]},{default:Ii((()=>[rn(e.$slots,"default")])),_:3},8,["onKeydown"])}]]),Zq=on({name:"SegmentItem",mixins:[Aa("segment-control")],props:{disabled:{type:Boolean,default:!1},value:{type:String,required:!0},dot:{type:Boolean,default:!1},tooltip:{type:[Object,Boolean,String],default:!1}},data:()=>({active:!1,watchers:[]}),computed:{itemCls(){return{"v-segment-item--active":this.active,"v-segment-item--disabled":this.disabled}},contentCls(){return{"v-segment-item__content--disabled":this.disabled}},dotCls(){return{"v-segment-item__dot--disabled":this.disabled}}},mounted(){const e=this["segment-control"].instance;this.watchers=[e.$watch("modelValue",(e=>{this.active=e===this.value}),{immediate:!0})]},[Pa](){for(const e of this.watchers)e?.()},methods:{hasDefaultSlot(){return Ya(this,"default")},hasSuffix(){return Ya(this,"suffix")||this.dot},onActive(){this.disabled||this["segment-control"].instance?.changeEvent(this.value,this)}}});const Jq=["aria-disabled"],Qq={key:1,class:"suffix"};var Xq=Rm(Zq,[["render",function(e,t,i,n,o,s){const r=Fi("tooltip");return Xi((jo(),Ko("div",{class:ne(["v-segment-item",e.itemCls]),tabindex:"0","aria-disabled":e.disabled,onClick:t[0]||(t[0]=function(){return e.onActive&&e.onActive(...arguments)}),onFocus:t[1]||(t[1]=function(){return e.onActive&&e.onActive(...arguments)})},[rn(e.$slots,"icon",{disabled:e.disabled}),e.hasDefaultSlot()?(jo(),Ko("div",{key:0,class:ne(["v-segment-item__content",e.contentCls])},[rn(e.$slots,"default")],2)):ls("",!0),e.hasSuffix()?(jo(),Ko("div",Qq,[e.dot?(jo(),Ko("i",{key:0,class:ne(["v-segment-item__dot",e.dotCls])},null,2)):ls("",!0),rn(e.$slots,"suffix")])):ls("",!0)],42,Jq)),[[r,e.tooltip]])}]]);const eY="notification_inject",tY={Tips:"tips",Suggestion:"suggestion",Important:"important"},iY={pos:"tr",offset:[-24,24]},nY={id:{type:String,required:!0,default:""},title:{type:[String,Boolean],default:!0},content:{type:[String,Boolean],default:!0},icon:{type:[Boolean,String,Object],validator:e=>!ta(e)||Object.values(tY).findIndex((t=>t===e))>-1,default:!1},cancel:{type:[Boolean,Object,String],default:!0},confirm:{type:[Boolean,Object,String],default:!0},onCancel:{type:Function,default:void 0},onConfirm:{type:Function,default:void 0},onClose:{type:Function,default:void 0},fbar:{type:Boolean,default:!1},duration:{type:[Number,Boolean],default:5e3}},oY={stackSize:{type:[Number,Boolean],default:3},alignment:{type:[String,Object],require:!0,default:iY}};wg("notify-tray-close",UI),wg("notify-tray-icon-tips",QI),wg("notify-tray-icon-suggestion",JI),wg("notify-tray-icon-important",ZI);var sY=on({name:"NotificationV2",components:{vButton:RA,vIcon:bg,vA:AG},mixins:[Bc],props:nY,data:()=>({zIndex:Number.MAX_SAFE_INTEGER,destroyTimerFn:void 0}),computed:{confirmText(){return(na(this.confirm)?this.confirm.text:ta(this.confirm)?this.confirm:void 0)??this._i18n("common","enable")},cancelText(){return(na(this.cancel)?this.cancel.text:ta(this.cancel)?this.cancel:void 0)??this._i18n("common","skip")},innerCancel(){return na(this.cancel)?this.cancel:{}},innerConfirm(){return na(this.confirm)?this.confirm:{}},innerIcon(){return na(this.icon)?this.icon:!!ta(this.icon)&&{name:`notify-tray-icon-${this.icon}`}},style(){return{"--z-index":this.zIndex}}},watch:{duration:{handler(e){!1===e?this.stopCounting():sa(e)&&this.countingDestroyTimer(e)},immediate:!0}},mounted(){this.zIndex=this.$popupManager?.acquireZIndex()},[Pa](){this.$popupManager?.releaseZIndex(),this.destroyTimerFn?.()},methods:{stopCounting(){this.destroyTimerFn?.()},countingDestroyTimer(e){this.destroyTimerFn?.();const t=window.setTimeout((()=>{this._onClose()}),e);this.destroyTimerFn=()=>{window.clearTimeout(t)}},async _onClose(){this.onClose?.()}}});const rY={class:"v-notification-v2__container"},aY={key:0,class:"v-notification-v2__icon"},lY={class:"v-notification-v2__body"},dY={class:"v-notification-v2__title"},cY={class:"v-notification-v2__content"},uY={class:"v-notification-v2__actions"},hY={key:0,class:"v-notification-v2__footer"};var pY=Rm(sY,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-a"),l=Bi("v-button");return jo(),Ko("div",{class:"v-notification-v2",style:Q(e.style)},[ts("div",rY,[Boolean(e.icon)?(jo(),Ko("div",aY,[!0===e.icon?rn(e.$slots,"icon",{key:0}):(jo(),Zo(r,oe(hs({key:1},e.innerIcon)),null,16))])):ls("",!0),ts("div",lY,[ts("div",dY,[!0===e.title?rn(e.$slots,"title",{key:0}):(jo(),Ko(Po,{key:1},[rs(ce(e.title),1)],64))]),ts("div",cY,[!0===e.content?rn(e.$slots,"content",{key:0}):(jo(),Ko(Po,{key:1},[rs(ce(e.content),1)],64))])]),ts("div",uY,[rn(e.$slots,"actions",{},(()=>[is(r,{name:"notify-tray-close","svg-icon-set":"set22",onClick:e._onClose},null,8,["onClick"])]))])]),e.fbar?(jo(),Ko("div",hY,[rn(e.$slots,"footer",{},(()=>[Boolean(e.cancel)?(jo(),Zo(a,hs({key:0,class:"v-notification-v2__footer-skip"},e.innerCancel,{onClick:e.onCancel}),{default:Ii((()=>[rs(ce(e.cancelText),1)])),_:1},16,["onClick"])):ls("",!0),Boolean(e.confirm)?(jo(),Zo(l,hs({key:1,type:"footbar",suffix:"main"},e.innerConfirm,{onClick:e.onConfirm}),{default:Ii((()=>[rs(ce(e.confirmText),1)])),_:1},16,["onClick"])):ls("",!0)]))])):ls("",!0)],4)}]]);function fY(e){return`${e}->${e}`}var mY=on({name:"NotifyContainer",components:{vNotification:pY},props:oY,data:()=>({hovering:!1,notifications:[],position:{x:0,y:0},stacked:!1,animate:!1}),computed:{style(){return{left:`${this.position.x}px`,top:`${this.position.y}px`,bottom:"auto",right:"auto","--normal-gap":`${this.$notifyManager.getGap("normal")}px`}},innerAlignmentPos(){return ta(this.alignment)?this.alignment:this.alignment?.pos??iY.pos},cls(){return[`v-notify-container--${this.innerAlignmentPos}`,{"v-notify-container--no-animate":!this.animate}]}},methods:{async doStackLayout(){if(0===this.notifications.length)return;const e=this.$notifyManager.getGap("stack"),t=this.$el.getBoundingClientRect(),i=this.$refs[`notify-${this.notifications[0].id}`]?.[0].$el;let{x:n,y:o}=this.$alignManager.getAlignToXYv2(i,t,fY(this.innerAlignmentPos),{offset:[0,0],containerEl:this.$el,constrain:!1}),s=0,r=i.offsetHeight;const a="t"===this.innerAlignmentPos[0];for(const[t,i]of this.notifications.entries()){const l=i.id,d=this.$refs[`notify-${l}`]?.[0].$el,c=d.offsetHeight,u=d.offsetWidth,h=[n,o],p=t>0?[s/u,r/c]:[1,1];a?o+=e:o-=e,i.pos=h,i.scale=p,i.blur=t>0,i.visible=!sa(this.stackSize)||t<this.stackSize,s=u-2*e*(t+1)}},async doNormalLayout(){if(0===this.notifications.length)return;const e=this.$notifyManager.getGap("normal"),t=this.$el.getBoundingClientRect(),i=this.$refs[`notify-${this.notifications[0].id}`]?.[0].$el;let{x:n,y:o}=this.$alignManager.getAlignToXYv2(i,t,fY(this.innerAlignmentPos),{offset:[0,0],constrain:!1,containerEl:this.$el});const s="t"===this.innerAlignmentPos[0];for(const t of this.notifications){const i=t.id,r=this.$refs[`notify-${i}`]?.[0].$el.offsetHeight,a=[n,o];s?o+=r+e:o-=r+e,t.pos=a,t.scale=[1,1],t.blur=!1,t.visible=!0}},async doLayout(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.animate=e,sa(this.stackSize)&&this.notifications.length>this.stackSize?await this.doStackLayout():await this.doNormalLayout(),this.animate=!0},getNotifyComponent(e){return this.notifications[e].props.component??pY},getNotifyStyle(e){let{pos:t,scale:i}=this.notifications[e],n="",o="";return t&&(n=`translate3d(${t[0]}px, ${t[1]}px, 0)`),i&&(o=`scale(${i[0]}, ${i[1]})`),{transform:`${n} ${o}`}},getNotifyClass(e){return{"v-notification-v2--blur":this.notifications[e].blur,"v-notification-v2--no-visible":!this.notifications[e].visible}},getNotifyProps(e){return{...this.notifications[e].props,duration:this.notifications[e].duration}},async align(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=ta(this.alignment)?[0,0]:this.alignment.offset??[0,0],i=ta(this.alignment)?void 0:this.alignment.opts,{x:n,y:o}=this.$alignManager.getAlignToXYv2(this.$el,this.$el.parentNode,fY(this.innerAlignmentPos),{offset:t,containerEl:this.$el.parentNode,constrain:i});this.position={x:n,y:o},await ei(),this.doLayout(e)},async add(e){this.notifications.unshift({id:e.id,props:e,pos:!1,scale:!1,blur:!1,visible:!0,duration:e.duration}),await ei(),this.doLayout()},async remove(e){this.notifications=this.notifications.filter((t=>t.props.id!==e)),await ei(),this.hovering?this.doNormalLayout():this.doLayout()},onMouseEnter(){this.hovering=!0,this.doNormalLayout();for(const e of this.notifications)e.duration=!1},onMouseLeave(){this.hovering=!1,sa(this.stackSize)&&this.notifications.length>this.stackSize&&this.doStackLayout();for(const e of this.notifications)e.duration=e.props.duration}}}),gY=Rm(mY,[["render",function(e,t,i,n,o,s){return jo(),Zo(Ar,{class:ne(["v-notify-container",e.cls]),style:Q(e.style),name:"notify-list",mode:"in-out",tag:"div",onMouseenter:e.onMouseEnter,onMouseleave:e.onMouseLeave},{default:Ii((()=>[(jo(!0),Ko(Po,null,tn(e.notifications,((t,i)=>{let{props:n,id:o}=t;return jo(),Zo($i(e.getNotifyComponent(i)),hs({ref_for:!0,ref:`notify-${o}`,key:n.id},e.getNotifyProps(i),{style:e.getNotifyStyle(i),class:e.getNotifyClass(i)}),null,16,["style","class"])})),128))])),_:1},8,["class","style","onMouseenter","onMouseleave"])}]]);wg("notify-tray-icon-tips",QI),wg("notify-tray-icon-suggestion",JI),wg("notify-tray-icon-important",ZI);const vY=on({name:"Notification",components:{vIcon:bg,vButton:RA},mixins:[Bc,Cg],inject:{[eY]:{default:Ca}},props:{activeDuration:{type:Number,default:5e3,validator:e=>e>=0},easeOutDuration:{type:Number,default:500,validator:e=>e>=0},title:{type:String,default:""},body:{type:String,default:""},icon:{type:String,default:"",validator:e=>["","tips","suggestion","important"].includes(e)},fbar:{type:Boolean,default:!1},hasCancelBtn:{type:Boolean,default:!0},hasConfirmBtn:{type:Boolean,default:!0},cancel:{type:Function,default:Ca},confirm:{type:Function,default:Ca},cancelText:{type:String,default:void 0},confirmText:{type:String,default:void 0},beforeClose:{type:Function,default:Ca},onClose:{type:Function,default:void 0}},data:()=>({isShow:!1,isLeave:!1,visible:"visible",onDestroy:Ca}),computed:{containerStyle(){return{visibility:this.visible}},panelCls(){return{show:this.isShow,leave:this.isLeave}},iconCls(){return["v-notification-icon",`v-notification-icon-${this.icon}`]}},[Pa](){SYNO.SDS.StatusNotifier.un("taskBarPanelShow",this.close,this)},created(){this[eY]&&(this[eY].notification=this)},mounted(){this.$refs.panel.style.top=-1*this.getHeight()-6+"px",SYNO.SDS.StatusNotifier.on("taskBarPanelShow",this.close,this)},methods:{setDestroyCallback(e){this.onDestroy=e},onClickMessage(e){SYNO.SDS.Utils.Notify.BindEvent(e)},async onClickClose(){if(!1===await this.beforeClose())return!1;this.onClose&&this.onClose(),SYNO.SDS.NotifyMgr.unregister(this)},getIconType(){return this.icon?`notify-tray-icon-${this.icon}`:""},getHeight(){if(this.$el){let e="none"===this.$el.style.display;return Math.max(this.$el.offsetHeight,e?0:this.$el.clientHeight)||0}},setTop(e){this.$el&&(this.$el.style.top=`${e}px`)},show(){SYNO.SDS.NotifyMgr.register(this)},close(){this.isLeave=!0,window.setTimeout((()=>{SYNO.SDS.NotifyMgr.unregister(this)}),this.easeOutDuration)},_show(){this.isShow=!0,this.activeDuration>0&&setTimeout((()=>{this.close()}),this.activeDuration)},setVisible(e){this.visible=e?"visible":"hidden"}}}),yY={class:"v-notification-wrapper"},bY={class:"v-notification-body-wrapper"},wY=["innerHTML"],CY=["innerHTML"],xY={key:0,class:"v-notification-footer-wrapper"},SY=["syno-id"];var kY=Rm(vY,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-button");return jo(),Ko("div",{class:"v-notification-container",style:Q(e.containerStyle)},[ts("div",{ref:"panel",class:ne(["v-notification-panel",e.panelCls])},[is(r,{class:"close-btn",name:"window-tool-close","svg-icon-set":"set22",onClick:e.onClickClose},null,8,["onClick"]),rn(e.$slots,"wrapper",{},(()=>[ts("div",yY,[rn(e.$slots,"icon",{},(()=>[e.icon?(jo(),Zo(r,{key:0,class:"v-notification-icon",name:e.getIconType()},null,8,["name"])):ls("",!0)])),ts("div",bY,[ts("div",{class:"v-notification-title",innerHTML:e.title},null,8,wY),rn(e.$slots,"body",{},(()=>[ts("div",{class:"v-notification-body",onClick:t[0]||(t[0]=function(){return e.onClickMessage&&e.onClickMessage(...arguments)}),innerHTML:e.body},null,8,CY)]))])])])),rn(e.$slots,"footer",{},(()=>[e.fbar?(jo(),Ko("div",xY,[e.hasCancelBtn?(jo(),Ko("a",{key:0,"syno-id":`${e.synoId}-fbar-cancel`,class:"v-notification-footer-skip-btn",onClick:t[1]||(t[1]=function(){return e.cancel&&e.cancel(...arguments)})},ce(e.cancelText||e._i18n("common","skip")),9,SY)):ls("",!0),e.hasConfirmBtn?(jo(),Zo(a,{key:1,"syno-id":`${e.synoId}-fbar-commit`,type:"footbar",suffix:"main",onClick:e.confirm},{default:Ii((()=>[rs(ce(e.confirmText||e._i18n("common","enable")),1)])),_:1},8,["syno-id","onClick"])):ls("",!0)])):ls("",!0)]))],2)],4)}]]);const _Y=Ma({components:[wA,SA,IA]}),IY=Ma({components:[EA]}),TY=Ma({components:[HA]}),DY=Ma({components:[ME,BE]}),LY=Ma({components:[$E,yM,IM,TM,MM,pM]}),AY=Ma({components:[GA]}),EY=Ma({components:[FM]}),MY=Ma({components:[RA,NM,MA,WM,zM]}),BY=Ma({components:[JM]}),OY=Ma({components:[tB]}),$Y=Ma({components:[FB,MB,PO,NO]}),FY=Ma({components:[Ja]}),VY=Ma({components:[RO]}),PY=Ma({components:[rP]}),NY=Ma({components:[dP]}),RY=Ma({components:[uH,sH]}),HY=Ma({components:[hH,pH]}),zY=Ma({components:[_H]}),WY=Ma({components:[BH,LH]}),jY=Ma({components:[RH]}),UY=Ma({components:[QH]}),GY=Ma({components:[nz]}),qY=Ma({components:[rz]}),YY=Ma({components:[lz,zz,Jz,tW]}),KY=Ma({components:[IF]}),ZY=Ma({components:[Uz,Pz,qz]}),JY=Ma({components:[aO]}),QY=Ma({components:[bg]}),XY=Ma({components:[cW]}),eK=Ma({components:[gW]}),tK=Ma({components:[_O]}),iK=Ma({components:[DW]}),nK=Ma({components:[qL,jB,XB]}),oK=Ma({components:[BA,nE,KB,rE,dE]}),sK=Ma({components:[bM,BW,RW,WW]}),rK=Ma({components:[xE,gE]}),aK=Ma({components:[YW]}),lK=Ma({components:[cV]}),dK=Ma({components:[iO,NB]}),cK=Ma({components:[Vz]}),uK=Ma({components:[Hh,km]}),hK=Ma({components:[ij]}),pK=Ma({components:[SV,sj]}),fK=Ma({components:[Ec]}),mK=Ma({components:[rj]}),gK=Ma({components:[mj]}),vK=Ma({components:[wD]},((e,t)=>{const i=Na(e);i&&(i.$scrollbar=t)})),yK=Ma({components:[wj]}),bK=Ma({components:[RD,pE,sL,rL,yT,Cj,AT,OT,TT,ET,Dj,xT,pT,tL]}),wK=Ma({components:[CU]}),CK=Ma({components:[uV]}),xK=Ma({components:[UM]}),SK=Ma({components:[IU]}),kK=Ma({components:[QA]}),_K=Ma({components:[UL,zL,DD]}),IK=Ma({components:[VU,HU,LU]}),TK=Ma({components:[oG]});let DK=()=>{t("you are not install vToastPlugin yet, please install it first")};const LK=Ma({components:[RL]},(e=>{const t=Na(e),i=function(){for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];return HL(e,...i)};(function(e){e})((()=>({open:i}))),t&&(t.$getToastBox=i)})),AK=Ma({components:[hG]}),EK=Ma({components:[pL]}),MK=Ma({components:[TG]}),BK=Ma({components:[EG,OG,VG,AG,RG,HG,jG,UG,KG,QG,oB,iq]}),OK=Ma({components:[SD]}),$K=Ma({components:[iA]}),FK=Ma({components:[uq]},(e=>{const t=Na(e);t&&(t.$messageWindow=uq)})),VK=Ma({components:[Lq,hM]},(e=>{const t=Na(e);t&&(t.$aboutWindow=Lq,t.$aboutWindowV2=hM)})),PK=Ma({components:[uq,NE,gq,Lq,hM,VL,FL,BL]}),NK=Ma({components:[NL]}),RK=Ma({components:[Hq,zq,Pq]}),HK=Ma({components:[qq]}),zK=Ma({components:[Kq,Xq]}),WK=Ma({components:[pY,gY]}),jK={[$a](e){hL(e)&&!Mc&&window.setTimeout((()=>{e?.focus()}),0)}},UK=Ma({},(e=>{e.directive("auto-focus",jK)})),GK=Ma({},(e=>{e.directive("clickoutside",$m)}));var qK={[$a](e,t,i){const n=i.component?.proxy;n&&zc.call(n,"FormItem","form.register",n)},[Va](e,t,i){const n=i.component.proxy;n&&zc.call(n,"FormItem","form.unregister",n)}};const YK=Ma({},(e=>{e.directive("form-component",qK)})),KK="__svc_long_press__";var ZK={[$a](e,t){const i=ia(t.value)?t.value:Ca;e[KK]=Km(e,i)},[Va](e){e[KK]?.()}};const JK=Ma({},(e=>{e.directive("long-press",ZK)})),QK=Ma({},(e=>{e.directive("pressing",vW)}));function XK(e,t,i){const n=_m(t)??{};if(!n?.$synoIdActive)return;if(!1===t.value||!1===n.useSynoId)return void e.removeAttribute("syno-id");!function(e,t){if(!e&&Xu()){let e="";t.$options.name&&(e+=`${t.$options.name}`),th(`syno-id required [${e}]`,t)}}(n.synoId,n);const o=t.value||n.synoId;e.setAttribute("syno-id",o)}var eZ={[$a](e,t,i){XK(e,t)},[Fa](e,t,i){XK(e,t)}},tZ={props:{synoId:{type:String,default:""},useSynoId:{type:Boolean,default:!0}}};const iZ=Ma({},(function(e){let{active:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=Na(e);i&&(i.$synoIdActive=t),e.directive("syno-id",eZ),t?e.mixin(tZ):e.mixin({data:()=>({synoId:""})})})),nZ=Ma({},(e=>{e.directive("tooltip",lg)})),oZ=Ma({components:[kY]}),sZ={x:10,y:10},rZ={x:30,y:30};class aZ{constructor(e,t,i){this.zseed=9e3,this.maximumZIndex=this.zseed+1e3,this.minimumZIndex=this.zseed-1e3,this.centeredWindowCount=0,this.offsetX=sZ.x,this.offsetY=sZ.y,this.windowsMap=Object.create(null),this.windowList=[],this.bindActivateLast=this.activateLast.bind(this),this.minimizedComps=[],this.maskList=[],Mc||(this.app=e,t instanceof HTMLElement?this._containerEl=t:ta(t)&&(this._containerSel=t),this.densePadding=i.densePadding||20,this.front=null,this.sortWindows=this.sortWindows.bind(this),this.centerOffsets=i.centerOffsets||[20,20],this.lastFocusElement=void 0)}get(e){return ta(e)?this.windowsMap?.[e]:e}getOffsetDefault(){return sZ}getOffsetGap(){return rZ}_tryAccessByCurrentTime(e){const t=(new Date).getTime();let i;if(!(e=this.get(e?.id)))return!1;for(e.lastClick=t;e;)if(e=this.get(e.id)){if(i=e.component,e.lastAccess=t,ia(i?.isModalized)&&!i.isModalized())break;e=i.owner}return!0}bringToFront(e){const t=this.get(e.id);if(!t)throw new Error(`window ${e.id} is not registered`);return this._tryAccessByCurrentTime(t),!(this.front&&t.id===this.front.id||(this.orderWindows(),0))}sendToBack(e){const t=this.get(e.id);t&&(t.lastAccess=-(new Date).getTime(),this.orderWindows())}isWindowHidden(e){const t=this.get(e.id)?.component;return t&&ga(t)?!t.showWindow:Boolean(t?.hidden)}orderWindows(){let{autoActivateLast:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.windowList?.sort(this.sortWindows),this.windowList?.forEach(((e,t)=>{e.component&&!this.isWindowHidden(e)&&"setZIndex"in e.component&&ia(e.component.setZIndex)&&e.component.setZIndex((this.zseed??0)+10*t)})),this.maskList?.forEach((e=>{const t=this.windowList?.filter((t=>e.triggeredBy.includes(t.id)));if(0===t?.length)return;const i=t?.reduce(((e,t)=>Math.min(e,t.component.getZIndex())),this.maximumZIndex)??this.maximumZIndex;Fu(e.el,"z-index",""+(i-1))})),e&&this.activateLast()}activateLast(){if(!this.windowList)return;let e;for(let t=this.windowList.length-1;t>=0;--t)if(e=this.windowList[t],e.component&&!this.isWindowHidden(e)){if(e.component.isSkipActive&&e.component.isSkipActive())continue;return this.setActiveWin(this.windowList[t]),this.windowList[t]}this.setActiveWin(null)}setActiveWin(e){if(e!==this.front&&(this.front&&this.front.component.setActive(!1),this.front=e,e)){const t=e.component;if(!ga(t)){const e=[...t.modalWin||[],...t.siblingWin||[]];for(const t of e)t&&t.hideForMinimize&&(delete t.hideForMinimize,t.show())}this._tryAccessByCurrentTime(e),this.orderWindows({autoActivateLast:!1}),t.setActive(!0)}}getLastAccess(e){const t=this.get(e.id);return t?t?.lastAccess??0:0}getGroupWinAccessTime(e){const t=this.get(e?.id);if(!t)return 0;const i=t.component?.modalWin??[];return[t.component,...i].reduce(((e,t)=>Math.max(e,this.getLastAccess(t))),0)}sortWindows(e,t){const i=this.get(e.id),n=this.get(t.id);if(!i)return-1;if(!n)return 1;const o=i?.component,s=n?.component,r=o?.getTopWin?o.getTopWin():o,a=s?.getTopWin?s.getTopWin():s,l=o?.isModalized&&o.isModalized()?1:0,d=s?.isModalized&&s.isModalized()?1:0,c=o?.isAlwaysOnTop&&o.isAlwaysOnTop()?1:0,u=s?.isAlwaysOnTop&&s.isAlwaysOnTop()?1:0,h=o?.isAlwaysOnBottom&&o.isAlwaysOnBottom()?1:0,p=s?.isAlwaysOnBottom&&s.isAlwaysOnBottom()?1:0;return this.get(r?.id)?this.get(a?.id)?h!==p?p?1:-1:c!==u?u?-1:1:r!==a?this.getGroupWinAccessTime(r)<this.getGroupWinAccessTime(a)?-1:1:l&&o?.hasOwnerWin(s)?1:d&&s?.hasOwnerWin(o)?-1:o?.sinkable&&o?.hasOwnerWin(s)?i.lastClick<n.lastClick?-1:1:s?.sinkable&&s?.hasOwnerWin(o)?i.lastClick<n.lastClick?1:-1:!i.lastAccess||i.lastAccess<n.lastAccess?-1:1:(th(`win ${n?.id} is a zombie window, parent window ${a.id} has been destroyed`,void 0,n),1):(th(`win ${i?.id} is a zombie window, parent window ${r.id} has been destroyed`,void 0,i),-1)}centerWindow(e){let{withOffset:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=this.get(e.id);if(!i)return;const n=i.component;let o=[0,0];if(t&&(o=this.centerOffsets?.map((e=>e*this.centeredWindowCount))??[0,0]),ga(n)){const e=this.getContainerEl();n.alignCenterToElement(e,e,o)}else TL()&&n.alignTo(TL().get(this.getContainerEl()),"c-c",o);this.centeredWindowCount++}cascadeOverlap(e){let t;t=e.container?e.container.getSize():e.getSize();const i=this.offsetX+e.getWidth(),n=this.offsetY+e.getHeight();i>t.width&&n>t.height?this.offsetX=this.offsetY=10:i>t.width?(10===this.offsetX&&(this.offsetY=10),this.offsetX=10):n>t.height&&(this.offsetX+=rZ.x,this.offsetY=10),e.setPosition(this.offsetX,this.offsetY),this.offsetX+=rZ.x,this.offsetY+=rZ.y}register(e){this.windowsMap[e.id]&&this.unregister(e),TL()?.Window&&e instanceof TL().Window&&(e.manager=this);const t={id:e.id,lastClick:0,lastAccess:0,component:e};if(this.windowsMap[e.id]=t,this.windowList.push(t),e.on?e.on("hide",this.activateLast,this):ga(e)&&e.setMinimizedCallback?.((()=>this.activateLast())),e.fromRestore||e.isModalized&&e.isModalized()||e.defaultMaximized||this.cascadeOverlap(e),e.autoStart&&e.maximized&&e.appInstance){const{x:t,y:i,pageX:n,pageY:o}=e.appInstance.getRestoreSizePos();ca(t)||ca(i)||ca(n)||ca(o)||this.cascadeOverlap(e)}}unregister(e){e.manager&&delete e.manager,e.un&&e.un("hide",this.activateLast,this),this.windowList=this.windowList.filter((t=>t.id!==e.id)),this.minimizedComps=this.minimizedComps.filter((t=>t.id!==e.id)),delete this.windowsMap[e.id]}isActive(){return!!this.getContainerEl()}setZIndex(e){this.zseed=e}setContainerEl(e){e instanceof HTMLElement?this._containerEl=e:ta(e)&&(this._containerSel=e)}getContainerEl(){return!this._containerEl&&this._containerSel&&(this._containerEl=document.querySelector(this._containerSel)),this._containerEl??document.body}createWindow(){return KL(...arguments)}openModalWindow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.lastFocusElement=document.activeElement;const n=(i&&i.containerEl)??this.getContainerEl(),{onDestroy:o,...s}=i,r=i?.createWindow??this.createWindow;t=t??{},(i?.containerEl||i?.sharedMask)&&(t=gm({maskContainer:{containerEl:i.containerEl,sharedMask:i.sharedMask}},t));const a={parentApp:this.app,containerEl:n,onDestroy:e=>{this.lastFocusElement?.focus?.(),o?.(e)},...s},{win:l,app:d,rootComponent:c}=r(e,t,a),u=gm({align:{el:this.getContainerEl()}},i);return l.init(this,void 0,u),l.autoAlignAfterInit||ei((()=>{if(l.alignCenterToElement){const e=this.getContainerEl();l.alignCenterToElement(e,e)}})),function(e,t){t.top&&(e.top=t.top),t.left&&(e.left=t.left)}(l,t),{window:l,component:c,app:d}}getMsgBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.app)return(e=e??Na(this.app)?.$messageWindow)||th("you need to set first parameter as vue component for open it, if you want to used default one, please import vMessageBoxWindowPlugin when you are in tree-shaking mode"),this.openModalWindow(e,{synoId:"window-manager-msg-box",...t},i).window;th("your window manager need to be init with app instance, please call windowManager.init(app) first")}getSameContainerMask(e){return this.maskList.find((t=>t.containerEl===e))}maskContainer(e){let t,{sharedMask:i=!1,containerEl:n,maskCls:o=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n=n??this.getContainerEl(),i&&this.maskList.length>0&&(n&&(t=this.getSameContainerMask(n)),t=t||this.maskList[this.maskList.length-1],t&&t.triggeredBy.push(e)),!t){t={id:`${e}-container-mask`,triggeredBy:[e],el:document.createElement("div"),containerEl:n},Uu(t.el,"v-window-container-mask"),o=fa(o)?o:[o];for(const e of o)Uu(t.el,e);n.appendChild(t.el),this.maskList.push(t)}this.orderWindows()}unmaskContainer(e){const t=this.maskList.findIndex((t=>t.triggeredBy.includes(e)));if(t<0)return;const i=this.maskList[t];i.triggeredBy=i.triggeredBy.filter((t=>t!==e)),0===i.triggeredBy.length&&(i.containerEl.removeChild(i.el),this.maskList.splice(t,1),this.orderWindows())}getActive(){return this.front&&this.front.component}getBy(e,t){const i=[],n=this.windowList;for(let o=n.length-1;o>=0;--o){const s=n[o].component;!1!==e.call(t||s,s)&&i.push(s)}return i}getActiveAppWindow(){let e=this.getActive();for(;e;){if(DL()?.SDS?.AppWindow&&e instanceof DL().SDS.AppWindow)return e;if(ga(e)&&va(e,ZL))return e;e=e.owner}return e}hideAll(){for(const e of this.windowList)e&&!ia(e)&&e.component.isVisible()&&e.component.hide()}toggleAllWin(){this.toggleAllWinMinimize()}toggleAllWinMinimize(){const e=[];for(const t of this.windowList){const i=t.component;i.isVisible()&&(!1===i.toggleMinimizable?i.close():e.push(i))}if(e.length){for(const t of e)t.minimize&&t.minimize();this.minimizedComps=e}else this.minimizedComps.length&&Promise.all(this.minimizedComps.map((e=>new Promise((t=>{e.show(void 0,t,this)}))))).then((()=>{const e=(new Date).getTime();for(const[t,i]of this.minimizedComps.entries()){const n=this.get(i.id);n&&(n.lastAccess=e+t)}this.orderWindows()}))}getMaximizeAppWindowCount(e){return this.windowList.reduce((function(t,i){const n=i.component;return e&&e.id&&i.id&&e.id===i.id?t:(ga(n)||DL()&&n instanceof DL().SDS.AppWindow)&&n.isVisible()&&!0===n.maximized?t+1:t}),0)}}const lZ=za();let dZ=()=>{h("you are not install WindowManagerPlugin yet, please install it first")};const cZ=Ma({},(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{desktopEl:document.body};dZ=Ra(e,"$windowManager",new aZ(e,t.desktopEl,t),lZ)})),uZ={window:{modal:{},"page-list-app":{},app:{},wizard:{},none:{}},panel:{overview:{},content:{},none:{}},tabs:{overview:{},content:{},none:{}},tree:{basic:{},navigation:{},selector:{},none:{}},"module-list":{panel:{},toolbar:{},none:{}},card:{regular:{},compact:{},"regular-has-header":{},"compact-has-header":{}},"alert-bar":{},"tab-body":{},"tab-fbar":{},"tab-tbar":{},content:{},"toolbar-content":{},"panel-body":{},"panel-fbar":{},form:{},"data-table":{},wizard:{basic:{},none:{}},"wizard-step-container":{},fieldset:{},"fieldset-body":{},others:{},none:{}},hZ={"tree.navigation":[{filter:/^tree\.navigation/,styles:{"layout-padding":"8px 0 6px 12px"}}],"tree.selector":[{filter:/^tree\.selector/,styles:{"layout-padding":"7px"}}],"module-list.panel":[{filter:/^module-list\.panel/,styles:{"layout-padding":"16px 12px 6px 12px"},props:{"pass-through":!0}}],"module-list.toolbar":[{filter:/^module-list\.toolbar/,styles:{"layout-padding-top":"16px","layout-padding-right":"12px","layout-padding-bottom":"6px","layout-padding-left":"12px"},props:{"pass-through":!0}}],fieldset:[{filter:/^fieldset/,styles:{"layout-padding":"8px 0 0 0"}},{filter:/^fieldset\[0\]/,styles:{"layout-padding":"0 0 0 0"}}],"fieldset-body":[{filter:/^fieldset => fieldset-body/,styles:{"layout-padding":"8px 0 0 0"}},{filter:/^form => fieldset => fieldset-body/,styles:{"layout-padding":"8px 8px 8px 8px"}}],form:[{filter:/^fieldset => fieldset-body => form/,styles:{"layout-padding":"0px 8px 8px 8px"}},{filter:/^tab-body => content => form/,styles:{"layout-padding":"0 8px 0 8px"}},{filter:/^tab-body => form/,styles:{"layout-padding":"8px 8px 0 8px"}},{filter:/^tab-body => content => form\[\d+\]:has\(fieldset\)/,styles:{"layout-padding":"0"}},{filter:/^tab-body => form\[\d+\]:has\(fieldset\)/,styles:{"layout-padding":"8px 0px 0 0px"}},{filter:/^tab-body => panel.content => panel-body => => form\[\d+\]:has\(\)/,styles:{"layout-padding":"0 8px 0 8px"}},{filter:/^tab-body => panel.content => panel-body => content => form\[\d+\]:has\(\)/,styles:{"layout-padding":"0 8px 0 8px"}}],"alert-bar":[{filter:/^tab-body => content => alert-bar/,styles:{"layout-padding":"0 0 8px 0"}},{filter:/^panel.content => panel-body => content => alert-bar/,styles:{"layout-padding":"0 0 8px 0"}},{filter:/^panel.content => panel-body => toolbar-content => alert-bar/,styles:{"layout-padding":"0 0 8px 0"}}],content:[{filter:/^tab-body => content/,styles:{"layout-padding":"8px 0 0 0","layout-height":"100%"}},{filter:/^tab-body => panel.content => panel-body => content/,styles:{"layout-padding":"8px 0 0 0","layout-height":"100%"}},{filter:/^panel.content => panel-body => content/,styles:{"layout-height":"100%"}}],"panel-body":[{filter:/^window\.(modal|app) => tabs\.(content|overview) => tab-body => panel.content => panel-body/,styles:{"layout-padding":"var(--panel-in-tabs-padding-top) 20px 6px 20px","layout-height":"100%"}},{filter:/^window\.page-list-app => tabs\.overview => tab-body => panel.content => panel-body/,styles:{"layout-padding":"var(--panel-in-tabs-padding-top) 20px 6px 20px","layout-height":"100%"}},{filter:/^window\.page-list-app => tabs\.content => tab-body => panel.content => panel-body/,styles:{"layout-padding":"var(--panel-in-tabs-padding-top) 16px 6px 16px","layout-height":"100%"}},{filter:/^tabs\.(content|overview) => tab-body => panel.content => panel-body/,styles:{"layout-padding":"var(--panel-in-tabs-padding-top) 0 0 0"}},{filter:/^window\.page-list-app => panel.overview => panel-body/,styles:{"layout-padding":"16px 20px 16px 20px","layout-margin":"0 0 0 0"}},{filter:/^window\.page-list-app => panel.content => panel-body/,styles:{"layout-padding":"16px 16px 6px 16px","layout-margin":"0 0 0 0"}},{filter:/^window\.(modal|app) => panel.content => panel-body/,styles:{"layout-padding":"16px 20px 6px 20px","layout-margin":"0 0 0 0"}}],"panel-fbar":[{filter:/^window\.page-list-app => tabs\.(content|overview) => tab-body => panel.content => panel-fbar/,breakpoint:{greaterAndEqThan:"xs"},styles:{"layout-margin":"0 16px"}},{filter:/^window\.page-list-app => panel.content => panel-fbar/,breakpoint:{greaterAndEqThan:"xs"},styles:{"layout-margin":"0 16px"}}],"wizard-step-container":[{filter:/^wizard\.basic => wizard-step-container/,breakpoint:{greaterAndEqThan:"xs"},styles:{"layout-padding":"24px 40px 0 40px","layout-height":"100%"}},{filter:/^wizard\.basic => wizard-step-container/,breakpoint:{lessAndEqThan:"xxs"},styles:{"layout-padding":"16px 20px 0 20px","layout-height":"100%"}}],"tab-tbar":[{filter:/^window\.(page-list-app|modal|app) => tabs.overview => tab-tbar/,styles:{"layout-padding":"16px 20px 0 20px","layout-margin":"0 0 0 0"}},{filter:/^window\.page-list-app => tabs.content => tab-tbar/,styles:{"layout-padding":"16px 16px 0 16px","layout-margin":"0 0 0 0"}},{filter:/^window\.(modal|app) => tabs.content => tab-tbar/,styles:{"layout-padding":"16px 20px 0 20px","layout-margin":"0 0 0 0"}}],"tab-body":[{filter:/^window\.(page-list-app|modal|app) => tabs.overview => tab-body/,styles:{"layout-padding":"4px 20px 6px 20px","layout-margin":"0 0 0 0"}},{filter:/^window\.page-list-app => tabs.content => tab-body/,styles:{"layout-padding":"4px 16px 6px 16px","layout-margin":"0 0 0 0"}},{filter:/^window\.(modal|app) => tabs.content => tab-body/,styles:{"layout-padding":"4px 20px 6px 20px","layout-margin":"0 0 0 0"}},{filter:/^tabs.content => tab-body\[\d+\]:has\(panel\.content\)/,styles:{"layout-padding":"4px 0 0 0","layout-margin":"0 0 0 0"},priority:2}],"tab-fbar":[{filter:/^window\.page-list-app => tabs\.overview => tab-fbar/,breakpoint:{greaterAndEqThan:"xs"},styles:{"layout-margin":"0 20px"}},{filter:/^window\.page-list-app => tabs\.content => tab-fbar/,breakpoint:{greaterAndEqThan:"xs"},styles:{"layout-margin":"0 16px"}}],commons:[{filter:/^window\.(page-list-app|modal|app) => panel\.(overview|content)\[\d+\]:has(.*)$/,styles:{"layout-height":"100%"}},{filter:/^tab-body => panel\.(overview|content)\[\d+\]:has(.*)$/,styles:{"layout-height":"100%"}}]};class pZ{constructor(e){let{types:t={},graph:i={},keepOriginalGraph:n=!0,debug:o=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.cached=new Map,this.types=gm(uZ,t),this.localVue=e,this.debug=o,this.graph=n?gm(hZ,i):i}isTypeValid(e){return!!IL(this.types,e)}cleanAllPath(){this.graph={},this.cached=new Map}addGraph(e){this.graph=e,this.cached=new Map}addPath(e,t){this.graph[e]=t,this.cached=new Map}getLayoutData(e){const t=this.localVue.config.globalProperties.$breakpointManager;t||th("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active.");const i=[],n=[],o=e;let s={styles:{},props:{},priority:-1,paths:""};const r=Array.from(new Set(e.children.map((e=>e.type)))).join(",");for(i.push(`${e.type}[${e.getSiblingIndex()}]:has(${r})`),n.push(`${e.type}[${e.getSiblingIndex()}]:has(${r})`),e=e.parent;e;)i.unshift(e.type),n.push(i.join(" => ")),e=e.parent;const a=n.join(",")+t.current;if(o.targetPaths=n,this.cached.has(a))return this.cached.get(a);const l=[...this.graph.commons||[],...this.graph[o.type]||[]],d=e=>{let i=!0;if(!e)return i;for(const[n,o]of Object.entries(e))i=i&&t?.[n](o);return i};for(const e of n)for(const t of l)t.priority||(t.priority=1),t.filter.test(e)&&t.priority>=s.priority&&d(t.breakpoint)&&(s=gm(s,t));return s.paths=n,this.cached.set(a,s),s}}const fZ=za();let mZ=()=>{n("you are not install LayoutManagerPlugin yet, please install it first")};const gZ=Ma({},(function(e){mZ=Ra(e,"$layoutManager",new pZ(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),fZ)}));function vZ(e,t){if(!window||!window.matchMedia)return Ca;const i=window.matchMedia(e),n=e=>{e.matches?t("match",e):t("unmatch",e)};return i.addEventListener?i.addEventListener("change",n):i.addListener&&i.addListener(n),n(i),()=>{i.removeEventListener?i.removeEventListener("change",n):i.removeListener&&i.removeListener(n)}}const yZ={xxxl:"(min-width: 1920px)",xxl:"(max-width: 1919px) and (min-width: 1680px)",xl:"(max-width: 1679px) and (min-width: 1440px)",lg:"(max-width: 1439px) and (min-width: 1280px)",md:"(max-width: 1279px) and (min-width: 1024px)",sm:"(max-width: 1023px) and (min-width: 768px)",xs:"(max-width: 767px) and (min-width: 576px)",xxs:"(max-width: 575px) and (min-width: 400px)",xxxs:"(max-width: 399px)"},bZ={SMALL_FIRST:Symbol("SmallFirst"),LARGE_FIRST:Symbol("LargeFirst")};class wZ{constructor(e){this._current=Ft(""),this._mobile=Ft(!1),this.mobileBreakpoint=e.mobileBreakpoint??"xs",this.active=e.active??!0,this.threshold=gm(yZ,e.threshold??{}),this.breakpointsOrder=["xxxs","xxs","xs","sm","md","lg","xl","xxl","xxxl"],this.breakpointPriority={xxxs:0,xxs:1,xs:2,sm:3,md:4,lg:5,xl:6,xxl:7,xxxl:8},Mc||!1===this.mobileBreakpoint||this.registerMql()}registerMql(){const e=[];if(this.threshold)for(const[t,i]of Object.entries(this.threshold))e.push(vZ(i,(e=>{"match"===e&&(this._current.value=t,this.mobileBreakpoint&&(this._mobile.value=this.lessAndEqThan(this.mobileBreakpoint)))})))}get current(){return!1===this.active?"xxxl":this._current.value}get mobile(){return this._mobile.value}greaterAndEqThan(e){return""!==this.current&&this.breakpointPriority[this.current]>=this.breakpointPriority[e]}lessAndEqThan(e){return""!==this.current&&this.breakpointPriority[this.current]<=this.breakpointPriority[e]}getSuitableValue(e){let{ordered:t=bZ.SMALL_FIRST,defaultBreakpointBy:i=bZ.LARGE_FIRST}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=[...Object.keys(e)].sort(((e,i)=>t===bZ.LARGE_FIRST?this.breakpointPriority[i]-this.breakpointPriority[e]:this.breakpointPriority[e]-this.breakpointPriority[i]));let o=-1,s=bZ.LARGE_FIRST?"xxxs":"xxxl";for(const e of n)i===bZ.LARGE_FIRST?(-1===o||this.breakpointPriority[e]>o)&&(o=this.breakpointPriority[e],s=e):(-1===o||this.breakpointPriority[e]<o)&&(o=this.breakpointPriority[e],s=e);for(const t of n)if(this.lessAndEqThan(t))return e[t];return e[s]}}const CZ=za();let xZ=()=>{o("you are not install BreakpointManagerPlugin yet, please install it first")};const SZ=Ma({},(function(e){xZ=Ra(e,"$breakpointManager",new wZ(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),CZ)}));class kZ{transformTouchEvent(e){return e?{pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY}:{}}dispatchEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=gu(e,{...this.transformTouchEvent(this.startEvent?.touches?.[0]),...t});this.target?.dispatchEvent(i)}onTouchStart(e){e.target&&(this.target=e.target),this.startEvent=e}onTouchEnd(e){this.endEvent=e}onTouchMove(e){}}class _Z extends kZ{constructor(){super(),this.fail=!1,this.duration=500}onTouchStart(e){super.onTouchStart(e),this.fail=!1,this.startTime=e.timeStamp,this.timer=window.setTimeout((()=>{this.dispatchEvent("contextmenu"),this.dispatchEvent("long-press")}),this.duration)}onTouchMove(){window.clearTimeout(this.timer),this.fail=!0}onTouchEnd(e){super.onTouchEnd(e),window.clearTimeout(this.timer),e.timeStamp-(this.startTime??e.timeStamp)>this.duration&&!this.fail&&(this.dispatchEvent("contextmenu"),this.dispatchEvent("long-press"))}}class IZ extends kZ{constructor(){super(),this.fail=!1,this.duration=1e3,this.axis="none",this.direction="none",this.distance=[50,1e3]}onTouchStart(e){super.onTouchStart(e),this.fail=!1,this.startTouch=e.touches[0],this.startTime=e.timeStamp,this.axis="n/a"}onTouchMove(e){super.onTouchMove(e);const t=e.touches[0],i=Math.abs(t.pageX-(this.startTouch?.pageX??t.pageX)),n=Math.abs(t.pageY-(this.startTouch?.pageY??t.pageY));this.fail||(n>this.distance[0]&&n<this.distance[1]?"n/a"===this.axis&&(this.axis="vertical",this.direction=t.pageY>(this.startTouch?.pageY??t.pageY)?"down":"up"):i>this.distance[0]&&i<this.distance[1]&&"n/a"===this.axis&&(this.axis="horizontal",this.direction=t.pageX>(this.startTouch?.pageX??t.pageX)?"right":"left"),(n>this.distance[1]||i>this.distance[1]||n>this.distance[0]&&"horizontal"===this.axis||i>this.distance[0]&&"vertical"===this.axis||e.timeStamp-(this.startTime??e.timeStamp)>this.duration)&&(this.axis="none",this.fail=!0))}onTouchEnd(e){super.onTouchEnd(e),delete this.startTime,delete this.startTouch,"vertical"!==this.axis&&"horizontal"!==this.axis||this.dispatchEvent("swipe",{axis:this.axis,direction:this.direction})}}class TZ extends kZ{constructor(){super(),this.duration=300,this.threshold=50,this.fail=!1}onTouchStart(e){super.onTouchStart(e);const t=e.touches[0];if(this.firstTouch){if(Math.abs(t.pageX-(this.firstTouch.pageX??t.pageX))<this.threshold&&Math.abs(t.pageY-(this.firstTouch.pageY??t.pageY))<this.threshold&&e.timeStamp-(this.firstTouchTime??e.timeStamp)<this.duration)return void(this.secondTouch=t);this.fail=!0}this.firstTouchTime=e.timeStamp,this.firstTouch=t,this.fail=!1}onTouchEnd(e){super.onTouchEnd(e);const t=e.changedTouches[0];this.firstTouch&&this.secondTouch&&(Math.abs(t.pageX-(this.firstTouch.pageX??t.pageX))<this.threshold&&Math.abs(t.pageY-(this.firstTouch.pageY??t.pageY))<this.threshold&&e.timeStamp-(this.firstTouchTime??e.timeStamp)<this.duration&&!this.fail&&this.dispatchEvent("dblclick"),delete this.firstTouch,delete this.firstTouchTime,delete this.secondTouch)}}class DZ{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Pu(document.documentElement,"touchstart",(e=>this.onTouchStart(e))),Pu(document.documentElement,"touchmove",(e=>this.onTouchMove(e))),Pu(document.documentElement,"touchend",(e=>this.onTouchEnd(e))),this.gestures=[new _Z,new TZ,new IZ,...e.gestures??[]]}addGesture(e){this.gestures.push(e)}onTouchStart(e){for(const t of this.gestures)t.onTouchStart(e)}onTouchMove(e){for(const t of this.gestures)t.onTouchMove(e)}onTouchEnd(e){for(const t of this.gestures)t.onTouchEnd(e)}}const LZ=za();let AZ=()=>{h("you are not install GestureManagerPlugin yet, please install it first")};const EZ=Ma({},(function(e){AZ=Ra(e,"$gestureManager",new DZ(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),LZ)}));class MZ{constructor(e,t){this._container=this.getContainerEl(t.container??""),this._app=e,this._opts=t,this._gap=t.gap??6,this._stackGap=t.stackGap??8,oD(this._container,(()=>Yu((()=>{for(const e of this._instances?.values()??[])e.align()}))))}getContainerEl(e){return e instanceof HTMLElement?e:ta(e)&&e?document.querySelector(e)??document.body:document.body}createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Jm(this._app,gY,e),i=t.component;return this._container.appendChild(t.anchorEl),i.align(),i}getInstance(e,t){if(this._instances||(this._instances=new Map),this._instances?.has(e))return this._instances.get(e);const i=this.createInstance({alignment:iY,...t});return this._instances.set(e,i),i}get instance(){return this.getInstance("default",this._opts)}getGap(e){return"normal"===e?this._gap:this._stackGap}error(e,t){const i="important";return na(e)?this.notice({icon:i,...e}):ta(e)?this.notice(i,e,t):()=>{}}suggest(e,t){const i="suggestion";return na(e)?this.notice({icon:i,...e}):ta(e)?this.notice(i,e,t):()=>{}}info(e,t){const i="tips";return na(e)?this.notice({icon:i,...e}):ta(e)?this.notice(i,e,t):()=>{}}notice(e,t,i){let n;n=na(e)?e:{icon:e,title:t,content:i};let{instance:o,...s}=n;if(o=o??this.instance,!o)throw new Error("notify instance not found");const r=s.id??PD(),a=()=>{o.remove(r)},l={id:r,onClose:()=>{s.onClose?.(),a()},...s};return o.add(l),a}}const BZ=za();let OZ=()=>{r("you are not install NotifyManagerPlugin yet, please install it first")};const $Z=Ma({},((e,t)=>{Ra(e,"$notifyManager",new MZ(e,t),BZ)}));function FZ(e){return ua(e)||!ca(e)}class VZ{constructor(){let{active:e=!0,textsFn:t=[],defaultText:i=!0,useGlobalTexts:n=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.active=e,this.locale=null,this.useGlobalTexts=n,this.textsFn=[];for(const e of t)this.registerTextFn(e);if("undefined"!=typeof SVC_EJECT_I18N&&SVC_EJECT_I18N)i&&th("you are using default i18n texts, and eject all i18n string? its weird thought. you can set `defaultText` to false to disable this");else if(i){const e=e=>{switch(e){case"chs":return d.e(335).then(d.bind(d,4335));case"cht":return d.e(404).then(d.bind(d,5404));case"csy":return d.e(272).then(d.bind(d,272));case"dan":return d.e(988).then(d.bind(d,2988));case"enu":default:return d.e(268).then(d.bind(d,9268));case"fre":return d.e(612).then(d.bind(d,2612));case"ger":return d.e(416).then(d.bind(d,416));case"hun":return d.e(831).then(d.bind(d,3831));case"ita":return d.e(406).then(d.bind(d,2406));case"jpn":return d.e(890).then(d.bind(d,7890));case"krn":return d.e(858).then(d.bind(d,6858));case"nld":return d.e(783).then(d.bind(d,6783));case"nor":return d.e(127).then(d.bind(d,5127));case"plk":return d.e(366).then(d.bind(d,9366));case"ptb":return d.e(629).then(d.bind(d,8883));case"ptg":return d.e(307).then(d.bind(d,7307));case"rus":return d.e(277).then(d.bind(d,1277));case"spn":return d.e(45).then(d.bind(d,3612));case"sve":return d.e(971).then(d.bind(d,3971));case"tha":return d.e(710).then(d.bind(d,4710));case"trk":return d.e(574).then(d.bind(d,5574))}};this.registerTextFn((async t=>(await e(t)).default))}this.texts=Object.create(null)}async getExtraTexts(e){const t=[];for(const{fn:i,scope:n}of this.textsFn)t.push(i.apply(n,[e]));return(await Promise.all(t)).reduce(((e,t)=>gm(e,t)),{})}async changeLang(e){(function(e,t){if(Xu()){for(var i=arguments.length,n=new Array(i>2?i-2:0),o=2;o<i;o++)n[o-2]=arguments[o];nh(`${e}`,t,...n)}})("please remind that `changeLang` should ready before all components mounted, you can await this function on vue-router before hook"),this.texts=await this.getExtraTexts(e),this.locale=e}registerTextFn(e){ia(e)&&(e={fn:e,scope:this}),this.textsFn.push(e)}getText(e,t){if(!this.active)return`${e}:${t}`;let i;return Mc||!0!==this.useGlobalTexts||(FZ(i)&&(i=iu?._T?.(e,t)),FZ(i)&&(i=iu?._JSLIBSTR?.(e,t))),FZ(i)&&(i=this.texts?.[e]?.[t]),i??`${e}:${t}`}}let PZ=()=>{m("you are not install i18n yet, please install it first")};const NZ=Symbol("i18n.changeLang"),RZ=Symbol("i18n.getText"),HZ=Symbol("i18nManager"),zZ=Ma({},(function(e){const t=new VZ(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),i=Na(e),n=t.changeLang.bind(t),o=t.getText.bind(t),s=Oa(e,n,NZ),r=Oa(e,o,RZ),a=Oa(e,t,HZ);PZ=()=>({changeLang:s(),getText:r(),manager:a()}),i&&(i.$i18nManager=t,i.$changeLang=n,i.$i18n=o)})),WZ=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};WZ.installed||function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i=!1!==t.useI18n,n=!1!==t.activeSynoId,{synoIdPlugin:o,ScrollbarPlugin:s,vMessageBoxWindowPlugin:r,vAboutWindowPlugin:d,...c}=a;e.use(r),e.use(d),e.use(wF),e.use(cZ,t.windowManager??{desktopEl:document.body}),e.use($h),e.use(gZ,t.layoutManager??{}),e.use(SZ,t.breakpointManager??{}),e.use(EZ,t.gestureManager??{}),e.use(pg,t.iconManager??{}),e.use(qa,t.configManager??{}),e.use($Z,t.notifyManager??{}),i&&e.use(zZ,t.i18n??{}),e.use(o,{active:n}),e.use(s,t.scrollbarPlugin??{}),e.use(hh,t.popupManager??{});for(const t of[...Object.values(c),...Object.values(l)])t.install&&e.use(t)}(e,t)};var jZ={install:WZ,version:"10.30.6"};const UZ={class:"default pull-right button-region"};function GZ(e,t){try{return _TT("SYNO.SDS.Drive.Application",e,t)||_T(e,t)||`${e}:${t}`}catch(i){return _T(e,t)||`${e}:${t}`}}const qZ={install(e){e.config.globalProperties.$T=GZ}},YZ={COPY_ANY:-1,ALWAYS_COPY:0,COPY_WHEN_CAN_APPLY:1,DONT_COPY:2,PERMISSION_ANY:-1,PERMISSION_LIMITED:0,PERMISSION_READONLY:1,PERMISSION_APPLY:2,OWNER_STATUS_NORMAL:0,OWNER_STATUS_NOT_GRANTED:1,OWNER_STATUS_DEACTIVATED:2,OWNER_STATUS_NOT_EXIST:3},KZ={copyRuleOptions:[{value:YZ.ALWAYS_COPY,get label(){return GZ("shared_label","label_copy_rule_always_copy")},get hint(){return GZ("shared_label","label_copy_rule_always_copy_hint")}},{value:YZ.COPY_WHEN_CAN_APPLY,get label(){return GZ("shared_label","label_copy_rule_copy_when_can_apply")},get hint(){return GZ("shared_label","label_copy_rule_copy_when_can_apply_hint")}},{value:YZ.DONT_COPY,get label(){return GZ("shared_label","label_copy_rule_dont_copy")},get hint(){return GZ("shared_label","label_copy_rule_dont_copy_hint")},default:!0}],permissionOptions:[{value:YZ.PERMISSION_READONLY,get label(){return GZ("shared_label","label_permissions_readonly")},get hint(){return GZ("shared_label","label_permissions_readonly_hint")}},{value:YZ.PERMISSION_APPLY,get label(){return GZ("shared_label","label_permissions_apply")},get hint(){return GZ("shared_label","label_permissions_apply_hint")}},{value:YZ.PERMISSION_LIMITED,get label(){return GZ("shared_label","label_permissions_limited")},get hint(){return GZ("shared_label","label_permissions_limited_hint")},default:!0}],roleOptions:[{value:YZ.PERMISSION_READONLY,get label(){return GZ("shared_label","label_permissions_readonly_role")},default:!0},{value:YZ.PERMISSION_APPLY,get label(){return GZ("shared_label","label_permissions_apply_role")}}],ownerStatusOptions:[{value:YZ.OWNER_STATUS_NORMAL,get label(){return GZ("shared_label","owner_status_normal")}},{value:YZ.OWNER_STATUS_NOT_GRANTED,get label(){return GZ("shared_label","owner_status_not_granted")}},{value:YZ.OWNER_STATUS_DEACTIVATED,get label(){return GZ("shared_label","owner_status_deactivated")}},{value:YZ.OWNER_STATUS_NOT_EXIST,get label(){return GZ("shared_label","owner_status_not_exist")}}]};var ZZ={TIME_FORMAT:"H:i",TIME_SEC_FORMAT:"H:i:s",DATE_FORMAT:"Y-m-d",TITLE_MAX_LENGTH:256,TAG_MAX_LENGTH:100,MAX_INT_VALUE:0x7ffffffffffffc00,TagColor:["DCE1E6","FFCCCC","FFD9B2","FFEC8C","DDF29D","C4F5D4","C2F2F2","C8EDFA","CCE6FF","E2D9FF","FFD9F2","FFC0D2","A0A5AA","FA8282","FA9C3E","F2CA00","94BF13","4DBF73","1DBFBF","24BFF2","499DF2","A18AE6","E67EC3","F56496","64696E","E04343","E67300","CCAA00","739900","009933","009999","008FBF","1470CC","7052CC","CC3D9C","C81466"],TagTextColor:{DCE1E6:"50555A",FFCCCC:"C73232",FFD9B2:"BF6000",FFEC8C:"997F00",DDF29D:"567300",C4F5D4:"007326",C2F2F2:"007373",C8EDFA:"007399",CCE6FF:"0059B3",E2D9FF:"5536B3",FFD9F2:"B32483",FFC0D2:"A12A62",A0A5AA:"FFF",FA8282:"FFF",FA9C3E:"FFF",F2CA00:"FFF","94BF13":"FFF","4DBF73":"FFF","1DBFBF":"FFF","24BFF2":"FFF","499DF2":"FFF",A18AE6:"FFF",E67EC3:"FFF",F56496:"FFF","64696E":"FFF",E04343:"FFF",E67300:"FFF",CCAA00:"FFF",739900:"FFF","009933":"FFF","009999":"FFF","008FBF":"FFF","1470CC":"FFF","7052CC":"FFF",CC3D9C:"FFF",C81466:"FFF"},ColorSelf:"#499DF2",AnonymousUID:4294967295,DeleteLabelMoreThreshold:5};const JZ=new WeakMap;function QZ(e){let t=JZ.get(e);return t||JZ.set(e,t=Oc()),t}const XZ=(e,t,i)=>(QZ(e).on(t,(e=>{i(...e)})),()=>eJ(e,t,i)),eJ=(e,t,i)=>{QZ(e).off(t,i)},tJ=(e,t,...i)=>{QZ(e).emit(t,i),e.$emit(t,...i)};function iJ(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}function nJ(e){return"function"==typeof e}function oJ(e){const t=document.documentElement,{body:i}=document;return e===t||e===i?[window.pageXOffset||i.scrollLeft||0,window.pageYOffset||i.scrollTop||0]:[e.scrollLeft,e.scrollTop]}var sJ={isNumber:function(e){return"number"==typeof e&&Number.isFinite(e)},isObject:iJ,isString:function(e){return"string"==typeof e||e instanceof String},isFunction:nJ,isDate:function(e){switch(typeof e){case"number":return!0;case"object":return e instanceof Date&&!Number.isNaN(e.getTime());default:return!1}},isDefined:function(e){return void 0!==e},isEmpty:function(e,t){return null==e||Array.isArray(e)&&!e.length||iJ(e)&&!Object.keys(e).length||!t&&""===e},getScroll:oJ,getXY:function(e,t){const[i,n]=oJ(t),o=t.getBoundingClientRect();return[e.left+i-o.left,e.top+n-o.top]},deepCopy:function(e){return JSON.parse(JSON.stringify(e))},getDayOfYear:function(e){const t=new Date(e.getFullYear(),0,1);return Math.floor((e.getTime()-t.getTime())/864e5)},encode:function(e){return JSON.stringify(e)},htmlEncode:function(e){return e?String(e).replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,""").replace(/\s/g," "):e},htmlDecode:function(e){return e?String(e).replace(/>/g,">").replace(/</g,"<").replace(/"/g,'"').replace(/&/g,"&").replace(/ /g," "):e},isVueWindow:function(e){return e&&e.$el},makeCopyable:function(e){const t=["End","Home","ArrowLeft","ArrowRight"],i=e=>{t.includes(e.key)||e.preventDefault()};if(/^((?!chrome|android).)*safari/i.test(navigator.userAgent))return this.copyInputReadOnly=!1,void e.forEach((e=>{e.$el&&(e.$el.removeEventListener("keydown",i),e.$el.addEventListener("keydown",i),e.$el.removeEventListener("contextmenu",i),e.$el.addEventListener("contextmenu",i))}));this.copyInputReadOnly=!0},APIErrorHandling:function(e,t){let i=e;if(!(e.error||e.errors||e.code||e.has_fail))return null;if(!0===e.has_fail){i={code:1e3};for(let t=0;t<e.result.length;t+=1){const n=e.result[t];if(!1===n.success&&n.error){i=n.error;break}}}let n=t;return nJ(t)&&(n=t()),n?n.getMsgBox().alert("",SYNO.SDS.Drive.Utils.getErrorStr(i)):null}};let rJ=null;function aJ(e){const t=e||5e3;rJ&&clearTimeout(rJ),rJ=setTimeout(this.clearWinStatus,t)}var lJ={data(){return{successText:"",errorText:"",loadingText:"",statusBarState:"",showStatusBar:!1}},props:{cancelText:{type:String,default:_T("common","cancel")},confirmText:{type:String,default:_T("common","apply")},listeners:{type:Object,default:void 0}},mounted(){this.listeners&&Object.entries(this.listeners).forEach((([e,t])=>{Array.isArray(t)?t.forEach((t=>{sJ.isFunction(t)&&XZ(this,e,t)})):sJ.isFunction(t)&&XZ(this,e,t)}))},beforeUnmount(){this.listeners&&Object.keys(this.listeners).forEach((e=>{eJ(this,e)}))},methods:{onApply(){},onCancel(){},beforeClose(){return this.onCancel(),!1},close(){this.$refs.win&&this.$refs.win.doClose()},setWinStatusBusy(){this.$refs.win&&this.$refs.win.setStatusBusy()},setWinStatusOK(e){this.successText=e,this.statusBarState="success",this.showStatusBar=!0,aJ.apply(this)},setWinStatusError(e){this.errorText=e,this.statusBarState="error",this.showStatusBar=!0},clearWinStatus(){this.showStatusBar=!1,this.$refs.win&&this.$refs.win.clearStatus()},showMsgBox(e,t,i,n,o=!0,s={}){if(this.$refs.win){const{buttons:r={},showDontAskAgainOption:a=!1}=s,l=this.$refs.win.getMsgBox(SYNO.SDS.Drive.Vue.MsgBox,{showDontAskAgainOption:a,buttons:r});l[e](t,i,void 0,s).then((e=>{n&&n(e),o&&this.close(),a&&l.close()}))}},openModalWindow(e,t){return this.$refs.win?this.$refs.win.openModalWindow(e,t):{}},openExtWindow(e){return this.$refs.win?this.$refs.win.openExtWindow(e):{}},setStatus(e=0,t){this.$refs.win&&this.$refs.win.setStatus(e,t)},showToast(e){this.$getToastBox(document.body,{text:e},{offset:[0,12]})}}},dJ={mixins:[lJ],props:{findAppWindow:{type:Function},initName:{type:String,default:""},selectAllText:{type:Boolean,default:!1},mode:{type:String,default:"edit"}},data(){return{maxNameLength:ZZ.TAG_MAX_LENGTH,formDirty:!1,nameItemId:"name",ext:"",hideValidateMessage:!1}},created(){if(this.initName){const e=SYNO.SDS.Drive.Utils.parseDisplayName(this.initName);e!==this.initName&&(this.ext=SYNO.SDS.Drive.Utils.getExt(this.initName)),this.formValues.input.name=e}},methods:{nameBasicValidator(e,t,i){const n=t.trim();if(0===n.length){const e=_JSLIBSTR("extlang","fieldblank");return i(new Error(e))}return n.length>=this.maxNameLength?i(new Error(this.$T("error","name_too_long"))):i()},nameValidator(e,t,i){const n=t.trim(),o=new TextEncoder("utf-8").encode(n);if(0===n.length){const e=_JSLIBSTR("extlang","fieldblank");return i(new Error(e))}if(o.length>=this.maxNameLength-(this.ext?this.ext.length+1:0)){const e=this.$T("error","name_too_long");return i(new Error(e))}if(!SYNO.SDS.Drive.Utils.checkFileName(n)){const e=this.$T("error","reserved_name");return i(new Error(e))}return i()},async beforeAction(){this.hideValidateMessage=!0,await this.$nextTick()},onAction(){},onApplyDone(e){tJ(this,"apply",e)},isDirty(){return this.$refs.form.isDirty()},async onApply(){try{await this.beforeAction();if(!0!==await this.$refs.form.validate())return;if("edit"===this.mode&&!this.isDirty())return void this.close();this.setWinStatusBusy(),this.onAction()}catch(e){SYNO.Debug.error(e)}},onApplyCb(e,t){if(this.clearWinStatus(),e)return this.onApplyDone(t),void this.close();this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(t),(()=>{this.onErrorCb(t)}))},onErrorCb(e){const t=SYNO.SDS.Drive.Utils.getErrorCode(e);1022!==t&&1032!==t&&1034!==t&&1035!==t&&this.close()},onCancel(){"edit"===this.mode&&this.isDirty()?this.showMsgBox("confirm","",this.$T("common","confirm_lostchange"),(e=>{"confirm"===e&&this.close()}),!1):this.close()},onValidate(e){const{errResults:t}=e,i=t.find((e=>e.error));i&&this.showMsgBox("alert","",i.error,(()=>{this.hideValidateMessage=!1}),!1),this.hideValidateMessage=!1},onDelayShow(e){var t;const i=null===(t=this.$refs.input)||void 0===t||null===(t=t.$refs)||void 0===t?void 0:t.input;i&&setTimeout((()=>{i.focus(),i.setSelectionRange(0,e.length)}),2)}}},cJ={mixins:[dJ],props:{cb:{type:Function,default:void 0},synoId:{type:String,default:"dialog-create"}},data(){return{maxNameLength:ZZ.TITLE_MAX_LENGTH,formValues:{input:{name:""}},rules:{name:[{required:!0},{trigger:"blur",validator:this.nameValidator}]},cancelBtnDisabled:!1,confirmBtnDisabled:!1,direction:"vertical",confirm:this.onApply,cancel:this.onCancel}},mounted(){this.onDelayShow(this.formValues.input.name)},methods:{getParams(){return this.formValues},onAction(){this.cb(this.formValues.input.name)}}},uJ=d(3744);var hJ=(0,uJ.Z)(cJ,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-form-item"),l=Bi("v-form"),d=Bi("v-button"),c=Bi("v-panel"),u=Bi("v-modal-window");return jo(),Zo(u,{ref:"win",width:"456",height:"190",title:e.$T("common","create"),beforeClose:e.beforeClose,synoId:`${i.synoId}-window`,onKeypress:Ur(o.confirm,["enter"])},{default:Ii((()=>[is(c,{layoutType:"content",tbar:!1,fbar:!0,synoId:`${i.synoId}-panel`},{body:Ii((()=>[is(l,{ref:"form",class:"syno-d-add-edit-form",model:o.formValues,rules:o.rules,direction:o.direction,synoId:`${i.synoId}-form`,onValidated:e.onValidate},{default:Ii((()=>[is(a,{prop:"name",name:"title",label:`${e.$T("common","name")}${e.$T("common","colon")}`,hideValidateMessage:e.hideValidateMessage},{default:Ii((()=>[is(r,{ref:"input",modelValue:o.formValues.input.name,"onUpdate:modelValue":[t[0]||(t[0]=e=>o.formValues.input.name=e),t[1]||(t[1]=e=>o.formValues.input.name=e.normalize("NFC"))],class:"compact-input",name:"name",synoId:`${i.synoId}-input-name`},null,8,["modelValue","synoId"])])),_:1},8,["label","hideValidateMessage"])])),_:1},8,["model","rules","direction","synoId","onValidated"])])),fbar:Ii((()=>[ts("div",UZ,[is(d,{type:"footbar",suffix:"cancel",disabled:o.cancelBtnDisabled,synoId:`${i.synoId}-fbar-cancel`,onClick:o.cancel},{default:Ii((()=>[rs(ce(e.cancelText),1)])),_:1},8,["disabled","synoId","onClick"]),is(d,{type:"footbar",suffix:"main",disabled:o.confirmBtnDisabled,synoId:`${i.synoId}-fbar-commit`,onClick:o.confirm},{default:Ii((()=>[rs(ce(e.confirmText),1)])),_:1},8,["disabled","synoId","onClick"])])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId","onKeypress"])}]]);const pJ={class:"default pull-right button-region"};var fJ={mixins:[dJ],props:{title:{type:String,default:()=>SYNO.SDS.Drive._T("action","rename")},label:{type:String,default:()=>`${SYNO.SDS.Drive._T("file","new_name")}${_T("common","colon")}`},placeholder:{type:String,default:""},cb:{type:Function,default:void 0},validator:{type:Function,default:void 0},synoId:{type:String,default:"dialog-rename"}},data(){return{maxNameLength:ZZ.TITLE_MAX_LENGTH,formValues:{input:{name:""}},rules:{name:[{required:!0},{trigger:"blur",validator:this.validator||this.nameValidator}]},cancelBtnDisabled:!1,confirmBtnDisabled:!1,direction:"vertical",confirm:this.onApply,cancel:this.onCancel}},mounted(){this.onDelayShow(this.formValues.input.name)},methods:{getParams(){return this.formValues},onAction(){let e=this.formValues.input.name.trim();this.ext&&(e=`${e}.${this.ext}`),this.cb(e)},onDelayShow(e){const t=this.$refs.input&&this.$refs.input.$refs&&this.$refs.input.$refs.input;if(t){const i=e.lastIndexOf("."),n=this.ext||-1===i||this.selectAllText?e.length:i;setTimeout((()=>{t.focus(),t.setSelectionRange(0,n)}),2)}}}};var mJ=(0,uJ.Z)(fJ,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-form-item"),l=Bi("v-form"),d=Bi("v-button"),c=Bi("v-panel"),u=Bi("v-modal-window");return jo(),Zo(u,{ref:"win",width:"456",height:"190",title:i.title,beforeClose:e.beforeClose,synoId:`${i.synoId}-window`,onKeypress:Ur(o.confirm,["enter"])},{default:Ii((()=>[is(c,{layoutType:"content",tbar:!1,fbar:!0,synoId:`${i.synoId}-panel`},{body:Ii((()=>[is(l,{ref:"form",class:"syno-d-add-edit-form",model:o.formValues,rules:o.rules,direction:o.direction,synoId:`${i.synoId}-form`,onValidated:e.onValidate},{default:Ii((()=>[is(a,{prop:"name",name:"title",label:i.label,hideValidateMessage:e.hideValidateMessage},{default:Ii((()=>[is(r,{ref:"input",modelValue:o.formValues.input.name,"onUpdate:modelValue":[t[0]||(t[0]=e=>o.formValues.input.name=e),t[1]||(t[1]=e=>o.formValues.input.name=e.normalize("NFC"))],class:"compact-input",name:"name",placeholder:i.placeholder,synoId:`${i.synoId}-input-name`},null,8,["modelValue","placeholder","synoId"])])),_:1},8,["label","hideValidateMessage"])])),_:1},8,["model","rules","direction","synoId","onValidated"])])),fbar:Ii((()=>[ts("div",pJ,[is(d,{type:"footbar",suffix:"cancel",disabled:o.cancelBtnDisabled,synoId:`${i.synoId}-fbar-cancel`,onClick:o.cancel},{default:Ii((()=>[rs(ce(e.cancelText),1)])),_:1},8,["disabled","synoId","onClick"]),is(d,{type:"footbar",suffix:"main",disabled:o.confirmBtnDisabled,synoId:`${i.synoId}-fbar-commit`,onClick:o.confirm},{default:Ii((()=>[rs(ce(e.confirmText),1)])),_:1},8,["disabled","synoId","onClick"])])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId","onKeypress"])}]]);const gJ=["synoId"],vJ={key:1},yJ=["innerHTML"],bJ={key:0},wJ={class:"default pull-right button-region"};var CJ=zl({"&":"&","<":"<",">":">",'"':""","'":"'"}),xJ=/[&<>"']/g,SJ=RegExp(xJ.source);var kJ=function(e){return(e=Vl(e))&&SJ.test(e)?e.replace(xJ,CJ):e},_J={mixins:[dJ],props:{params:{type:Object,default:()=>({})},cb:{type:Function,default:void 0},synoId:{type:String,default:"dialog-info"}},data(){return{maxNameLength:ZZ.TITLE_MAX_LENGTH,font:"13px Arial",showOwnerQTip:!1,ownerQTip:"",locationQtip:"",data:{},path:"",ext:"",rec:void 0,hasPerm:!0,showLink:!1,isAdvPage:!1,originalForm:{},formValues:{input:{name:"",type:"",ctime:0,mtime:0,owner:"",size:0,location:"",copyPathText:this.$T("info","copy_path")}},rules:{name:[{required:!0},{trigger:"blur",validator:this.nameValidator}]},cancelBtnDisabled:!1,confirmBtnDisabled:!1,direction:"horizontal",confirm:this.onApply,cancel:this.onCancel}},mounted(){this.params.path?(this.path=this.params.path,this.onLoadData(this.params)):(this.rec=this.params.rec,this.updateData(this.rec.data))},methods:{isDirty(){const e=sJ.deepCopy(this.formValues),t=sJ.deepCopy(this.originalForm);return JSON.stringify(e)!==JSON.stringify(t)},getParams(){const e={name:this.formValues.input.name};return this.rec?e.path=SYNO.SDS.Drive.Utils.getPathId(this.rec.id):e.path=this.path,e},onAction(){const e=this.getParams();e.name&&this.ext&&(e.name+=`.${this.ext}`),this.findAppWindow().getAction().setNodeTitle(e,this.onApplyCb,this)},updatePermUI(e){e.capabilities.can_delete&&!SYNO.SDS.Drive.Utils.is1stSharedWithMe(e.display_path)||(this.hasPerm=!1)},updateData(e){this.data=JSON.parse(JSON.stringify(e));const t=e.ctime||e.created_time,i=e.mtime||e.modified_time;let n;if(sJ.isNumber(t)&&(this.data.ctime_readonly=SYNO.SDS.Drive.Utils.getFormatDateTime(new Date(1e3*t))),"dir"===e.type?this.data.ntype=this.$T("file","dir"):e.ntype&&"office"===SYNO.SDS.Drive.Utils.getFileTypeMapping(e.ntype)?(n=e.ntype,"oslides"===n&&(n="oslide"),this.data.ntype=this.$T("file",n)):SYNO.SDS.Drive.Utils.isOfficeFile(e.name)&&(n=SYNO.SDS.Drive.Utils.getExt(e.name),"oslides"===n&&(n="oslide"),this.data.ntype=this.$T("file",n)),"dir"===e.type)this.data.size="-";else{const t=Ext.util.Format.number(e.size,"0,000");this.data.size=`${Ext.util.Format.fileSize(e.size)} (${t} Bytes)`}const o=SYNO.SDS.Drive.Utils.parseDisplayName(e.name);if(o!==e.name&&(this.ext=SYNO.SDS.Drive.Utils.getExt(e.name)),this.data.name=o,this.data.name_readonly=o,sJ.isNumber(i)&&(this.data.mtime=SYNO.SDS.Drive.Utils.getFormatDateTime(new Date(1e3*i))),sJ.isObject(e.owner)){const t=e.owner.display_name,i=e.owner.name,n=e.owner.nickname;sJ.isString(t)&&(this.data.owner=t),sJ.isString(i)&&(this.data.owner_name=i),sJ.isString(n)&&(this.data.owner_nickname=n)}if(this.data.location=this.getDisplayPathString(e),this.updatePermUI(this.data),this.setFormValues(this.data),this.originalForm=sJ.deepCopy(this.formValues),this.onDelayShow(this.formValues.input.name),SYNO.SDS.Drive.Define.Info.use_nickname){let e=this.data.owner_name;this.data.owner_nickname&&(e+=` (${this.data.owner_nickname})`),this.showOwnerQTip=!0,this.ownerQTip=e}},getDisplayPathString(e){let t=SYNO.SDS.Drive.Utils.parseDisplayPath(e.display_path);SYNO.SDS.Drive.Utils.isAdvSharingPage()?(t=e.name,this.isAdvPage=!0):SYNO.SDS.Drive.Utils.isVisibleInDrive(e.display_path)&&(this.showLink=!0);const i=this.getTrimString(t,344);return this.locationQtip=t,i},getTrimString(e,t){this.canvas||(this.canvas=document.createElement("canvas"));const i=this.canvas.getContext("2d");i.font=this.font;const n=` (${this.$T("info","copy_path")})`,o=Math.ceil(i.measureText(n).width),s=Math.ceil(i.measureText(e).width);let r;const a=s+o;let l,d="";if(a<t)r=e;else if(a<2*t)r=e,s<t&&(d="<br>");else{let n,s,a;const d=8;for(n=1;n<e.length;n+=1)if(s=e.substr(0,n),Math.ceil(i.measureText(s).width)>t){s=e.substr(0,n-1);break}for(l=1;l<e.length;l+=1)if(a=`${e.substr(n-1,l)}...`,Math.ceil(i.measureText(a).width)+d+o>t){a=`${e.substr(n-1,l-1)}...`;break}r=s+a}return kJ(r)+d},setFormValues(e){this.formValues.input.name=e.name,this.formValues.input.name_readonly=e.name_readonly,this.formValues.input.type=e.ntype,this.formValues.input.ctime=e.ctime_readonly,this.formValues.input.mtime=e.mtime,this.formValues.input.owner=e.owner,this.formValues.input.size=e.size,this.formValues.input.location=e.location},onLoadData(e){e&&this.updatePermUI(e),this.setWinStatusBusy(),this.cb(this.path)},onLoadDataDone(e,t){if(this._isDestroyed)return;if(this.clearWinStatus(),!e){const e=SYNO.API.Util.GetFirstError(t);return void this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(e))}const i=SYNO.SDS.Drive.WebAPIDesc.get_file,n=SYNO.API.Util.GetValByAPI(t,i.api,i.method);this.updateData(n)},onLocationClick(e){if(SYNO.SDS.Drive.Utils.isAdvSharingPage())return;const t=e.target,i=t.classList.contains("syno-d-info-path"),n=t.classList.contains("syno-d-info-copy-path");if(n||i)if(i){if("SYNO.SDS.Drive.PublicApplication"===_S("standaloneAppName")||"SYNO.SDS.Drive.Application"===_S("standaloneAppName")){const e=this.findAppWindow().getNavigation().getCategory();if("node"===e||"team_folder"===e)return void this.close();this.findAppWindow().getAction().onGotoPath(this.data.file_id),this.close()}else SYNO.SDS.Drive.Utils.onOpenMgr({},{file_id:this.data.file_id})}else n&&this.copyToClipBoard()},copyToClipBoard(){const e=this.locationQtip,t=document.querySelector("body"),i=document.createElement("textarea");t.appendChild(i),i.value=e,i.select();const n=document.execCommand("copy");let o="";t.removeChild(i),o=n?this.$T("share","copy_url_done"):this.$T("error","copy_share_link"),this.showToast(o,3e3)},showToast(e,t){this.$getToastBox(document.body,{delay:t,icon:!1,showClose:!1,text:e,onClick:()=>{},actionBtnText:"",actionBtnCls:`${this.synoId}-toastMsg-actionBtn`,onClickActionBtn:()=>{},textCls:`${this.synoId}-toastMsg`,animate:!1},{offset:[0,12]})}}};d(2445);const IJ=(0,uJ.Z)(_J,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-form-item"),l=Bi("v-popup"),d=Bi("v-form"),c=Bi("v-button"),u=Bi("v-panel"),h=Bi("v-modal-window");return jo(),Zo(h,{ref:"win",width:"560",height:"auto",title:e.$T("file","info"),beforeClose:e.beforeClose,mobileBreakpoint:!1,synoId:`${i.synoId}-window`,onKeypress:Ur(o.confirm,["enter"])},{default:Ii((()=>[is(u,{layoutType:"content",tbar:!1,fbar:!0,mobileBreakpoint:!1,synoId:`${i.synoId}-panel`},{body:Ii((()=>[is(d,{ref:"form",class:"syno-d-add-edit-form",model:o.formValues,rules:o.rules,direction:o.direction,synoId:`${i.synoId}-form`,onValidated:e.onValidate},{default:Ii((()=>[o.hasPerm?(jo(),Zo(a,{key:0,prop:"name",name:"title",label:`${e.$T("file","title")}${e.$T("common","colon")}`,hideValidateMessage:e.hideValidateMessage},{default:Ii((()=>[is(r,{ref:"input",modelValue:o.formValues.input.name,"onUpdate:modelValue":[t[0]||(t[0]=e=>o.formValues.input.name=e),t[1]||(t[1]=e=>o.formValues.input.name=e.normalize("NFC"))],class:"compact-input",name:"name",style:{width:"344px"},synoId:`${i.synoId}-input-name`,mobileBreakpoint:!1},null,8,["modelValue","synoId"])])),_:1},8,["label","hideValidateMessage"])):(jo(),Zo(a,{key:1,prop:"name",name:"title",textonly:"",label:`${e.$T("file","title")}${e.$T("common","colon")}`},{default:Ii((()=>[ts("span",{name:"name_readonly",synoId:`${i.synoId}-input-name-readonly`},ce(o.formValues.input.name_readonly),9,gJ)])),_:1},8,["label"])),is(a,{prop:"type",name:"type",textonly:"",label:`${e.$T("file","type")}${e.$T("common","colon")}`},{default:Ii((()=>[rs(ce(o.formValues.input.type),1)])),_:1},8,["label"]),is(a,{prop:"ctime",name:"ctime",textonly:"",label:`${e.$T("info","created")}${e.$T("common","colon")}`},{default:Ii((()=>[rs(ce(o.formValues.input.ctime),1)])),_:1},8,["label"]),is(a,{prop:"mtime",name:"mtime",textonly:"",label:`${e.$T("info","modified")}${e.$T("common","colon")}`},{default:Ii((()=>[rs(ce(o.formValues.input.mtime),1)])),_:1},8,["label"]),is(a,{prop:"owner",name:"owner",textonly:"",label:`${e.$T("file","owner")}${e.$T("common","colon")}`},{default:Ii((()=>[o.showOwnerQTip?(jo(),Zo(l,{key:0,type:"info",content:o.ownerQTip,tipOptions:{arrow:!1}},{default:Ii((()=>[rs(ce(o.formValues.input.owner),1)])),_:1},8,["content"])):(jo(),Ko("span",vJ,ce(o.formValues.input.owner),1))])),_:1},8,["label"]),is(a,{prop:"size",name:"size",textonly:"",label:`${e.$T("file","size")}${e.$T("common","colon")}`},{default:Ii((()=>[rs(ce(o.formValues.input.size),1)])),_:1},8,["label"]),is(a,{prop:"location",name:"location",textonly:"",label:`${e.$T("file","location")}${e.$T("common","colon")}`},{default:Ii((()=>[ts("div",null,[is(l,{class:"inline",type:"info",content:o.locationQtip,tipOptions:{arrow:!1}},{default:Ii((()=>[ts("span",{class:ne({"syno-d-info-path":!0,"syno-adv-info-path":o.isAdvPage}),onClick:t[2]||(t[2]=(...e)=>s.onLocationClick&&s.onLocationClick(...e)),innerHTML:o.formValues.input.location},null,10,yJ)])),_:1},8,["content"]),o.showLink?(jo(),Ko("span",bJ,[rs("("),ls("\n "),ts("span",{class:"syno-d-info-copy-path",onClick:t[3]||(t[3]=(...e)=>s.onLocationClick&&s.onLocationClick(...e))},[ls("\n "),rs(ce(o.formValues.input.copyPathText),1),ls("\n ")]),ls("\n "),rs(")")])):ls("v-if",!0)])])),_:1},8,["label"])])),_:1},8,["model","rules","direction","synoId","onValidated"])])),fbar:Ii((()=>[ts("div",wJ,[o.hasPerm?(jo(),Zo(c,{key:0,type:"footbar",suffix:"cancel",disabled:o.cancelBtnDisabled,mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-cancel`,onClick:o.cancel},{default:Ii((()=>[rs(ce(e.cancelText),1)])),_:1},8,["disabled","synoId","onClick"])):ls("v-if",!0),o.hasPerm?(jo(),Zo(c,{key:1,type:"footbar",suffix:"main",disabled:o.confirmBtnDisabled,mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-commit`,onClick:o.confirm},{default:Ii((()=>[rs(ce(e.confirmText),1)])),_:1},8,["disabled","synoId","onClick"])):(jo(),Zo(c,{key:2,type:"footbar",suffix:"cancel",mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-close`,onClick:e.close},{default:Ii((()=>[rs(ce(e.$T("common","close")),1)])),_:1},8,["synoId","onClick"]))])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId","onKeypress"])}],["__scopeId","data-v-141fa6a5"]]);var TJ=IJ;const DJ={key:0,class:"dialog-tree-body"},LJ={key:1},AJ={class:"dialog-no-data"},EJ={key:0,class:"default pull-left-padding button-region"},MJ={class:"default pull-right button-region"};var BJ={prepareParam:function(e){return SYNO.SDS.Drive.Utils.prepareRequestParams(e)}},OJ={mixins:[lJ],props:{findAppWindow:{type:Function}},data(){return{treeData:[],arrowId:"tree-node-subtree-arrow"}},methods:{onApply(){this.onAction()},onCancel(){this.close()},onCreateAction(){const e=this.$refs.tree.getSelectedNodes()[0];e&&(this.createAction?this.createAction(e):this.onCreateFolder(e))},onCreateFolder(e){const t=this.createFolderCb.bind(null,e.file_id);this.createFolderWin=this.openModalWindow(SYNO.SDS.Drive.Vue.DialogCreate,{cb:t}).component},afterCreateFolder(e,t){const i=this.$refs.tree.getSelectedNodes()[0];e?((async()=>{try{await this.$refs.tree.updateNode(i.id,!0);const e=i.id.split(":")[0],n=this.getNodeIdFromFileId(e,t.file_id);this.$refs.tree.selectNode(n,!1,!0)}catch(e){console.log(e)}finally{this.clearWinStatus()}})(),this.createFolderWin&&!this.createFolderWin._isDestroyed&&this.createFolderWin.onApplyCb.apply(this.createFolderWin,[e,t])):this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(t))},getNodeIdFromFileId(e,t){return`${e}:${t}`},onGotoDefaultPath(){return this.$refs.tree.selectNode(this.defaultSelectId,!1,!0)},async onGoToPath(e){if(!e||0===e.length)return this.onGotoDefaultPath();const t=e[0].id;if(("shared_with_me"===t||"team_folder"===t)&&1===e.length)return this.onGotoDefaultPath();try{return this.defaultSelectId=await this.updateNode(t,e,1,this.defaultSelectId),this.$refs.tree.selectNode(this.defaultSelectId,!1,!0)}catch(e){return SYNO.Debug.error(e),this.onGotoDefaultPath()}},async updateNode(e,t,i,n){if(i===t.length)return Promise.resolve(n);const o=this.getNodeIdFromFileId(e,t[i].id);return await this.$refs.tree.updateNode(o,!0),this.updateNode(e,t,i+1,o)},async onTreeDlgGotoPathForDrive(e){const t=this.findAppWindow().getNavigation(),i=t.getPath();let n=t.getCategory();if("shared_with_me"===n&&i&&i.length>1||"node"===n||"team_folder"===n)return void this.onGoToPath(i);if(0===e.length)return void this.onGoToPath([]);const o=e[0].data.display_path.match(/^(.+)(\/.+$)/);if(!o)return void this.onGoToPath([]);const s=o[1];e.every((e=>{const t=e.data.display_path.match(/^(.+)(\/.+$)/);return!(!t||s!==t[1])}))||await this.onGoToPath([]);const r=s.split("/");if("/"===s.charAt(0)&&r.splice(0,1),"mydrive"===r[0])n="node";else if("team-folders"===r[0])n="team_folder";else{if("shared-with-me"!==r[0])return void this.onGoToPath([]);n="shared_with_me"}this.findAppWindow().getWebAPI().getNodeAncestors({params:BJ.prepareParam({file_id:e[0].data.file_id}),scope:this,callback:(e,i)=>{if(!e||i.error)return void this.onGoToPath([]);const o=[];i.items.forEach((e=>{const t=e.name||SYNO.SDS.Drive.Utils.getBaseName(e.display_path);o.push({id:e.file_id,text:t,perm:e.capabilities,display_path:e.display_path})})),"node"===n?o.shift():"shared_with_me"===n&&o.splice(0,i.items.length-(r.length-1)),o.splice(0,0,t.getPath(n)[0]),this.onGoToPath(o)}})},async onTreeDlgGotoPathForOffice(e){e?(this.setWinStatusBusy(),this.findAppWindow().getWebAPI().getNode({params:BJ.prepareParam(e),scope:this,callback:async(t,i)=>{if(this.clearWinStatus(),!t||i.removed)return;const n=i.display_path,o=n.split("/"),s="file"===i.type;let r;switch("/"===n.charAt(0)&&o.splice(0,1),o[0]){case"mydrive":r="node";break;case"team-folders":r="team_folder";break;case"shared-with-me":r="shared_with_me";break;default:return}try{await this.onGoToPath([{id:r}])}catch(e){SYNO.Debug.error(e)}this.findAppWindow().getWebAPI().getNodeAncestors({params:e,scope:this,callback:(e,t)=>{if(!e||t.error)return void this.onGoToPath([]);const n=[];t.items.forEach((e=>{const t=e.name||SYNO.SDS.Drive.Utils.getBaseName(e.display_path);n.push({id:e.file_id,text:t,perm:e.capabilities,display_path:e.display_path})})),"node"===r?n.shift():"shared_with_me"===r&&n.splice(0,t.items.length-(o.length-1)),n.splice(0,0,{id:r}),s||n.push({id:i.file_id}),this.onGoToPath(n)}})}})):this.onGoToPath([])}}};const $J="odoc",FJ="osheet",VJ="oslides",PJ=["3fr","arw","bmp","cr2","crw","dcr","dng","erf","gif","jpe","jpeg","jpg","k25","kdc","mef","mos","mrw","nef","orf","pef","png","ptx","raf","raw","rw2","sr2","srf","tif","tiff","x3f","heic","heif"],NJ={acc:["acc","accdb","accde","accdr","accdt","ade","adn","adp","mam","maf","maq","mar","mat","mda","mdb","mde","mdf","mdn","mdt","mdw"],image:PJ.concat(["ufo","ico"]),audio:["aac","ac3","aif","ape","cda","dts","flac","m4a","m4b","mid","mka","mp2","mp3","mpc","ogg","pcm","ra","wav","wma","mp1","mpa","ram","m4p","aiff","dsf","dff","m3u","wpl"],video:["3g2","3gp","amr","asf","avi","dat","divx","dvr-ms","ifo","m1v","m2t","m2ts","m2v","m4v","mkv","mov","mpe","mpeg","mpeg1","mpeg2","mpeg4","mpg","mp4","mts","ogv","qt","rm","rmvb","tp","trp","ts","vob","webm","wmv","xvid","vdr"],doc:["doc","docx","rtf","wri","odt"],ppt:["ppt","pps","ppsx","pptx","odp"],xls:["xls","xla","xlam","xlb","xlc","xld","xlk","xll","xlm","xlsb","xlsm","xlsx","xlt","xltm","xlv","xlw","xltx","ods","ots","csv"],ai:["ai"],psd:["psd"],fla:["fla"],pdf:["pdf"],swf:["swf","f4v","flv"],idn:["idn","indd"],txt:["diff","erl","json","lst","markdown","md","mdown","mkdn","out","patch","sml","txt"],htm:["htm","html"],code:["actproj","ad","akp","applescript","as","asax","asc","ascx","asm","asmx","asp","aspx","asr","as3","bat","c","cc","cmake","coffee","cpp","cs","css","cxx","erb","groovy","gvy","h","haml","hh","hpp","hxx","java","js","jsx","less","m","make","mhtml","ml","mm","php","pl","plist","properties","py","rb","sass","scala","scm","script","scss","sh","sql","swift","tsx","vb","vi","vim","xhtml","xml","xsd","xsl","yaml","yml"],bkpi:["bkpi"],ttf:["ttf","otf","ttc"],iso:["iso","bin","daa","img","mds","nrg"],zip:["zip","7z","bz2","gz","rar","tar","tbz","tgz","txz"],exe:["exe"],key:["key"],numbers:["numbers"],pages:["pages"],folder:["folder","dir"],folder_photo:["folder_photo"],synodoc:[$J],synosheet:[FJ],synoslide:[VJ]},RJ={image:PJ,video:[NJ.video].concat(NJ.swf).concat(["iso"])},HJ=Object.keys(NJ).reduce(((e,t)=>(NJ[t].forEach((i=>{e[i]=t})),e)),{}),zJ={acc:"A9dJREFUaEPtmt9LU2EYx7/P2XRbVuqN/cKMLCij3MGpzW6CIgjKRQRdaFSQdaMEFtQf0EVGeFEQFIFFdtOF1aqLbrrMqIsJUVpOp1PR6Vpz/tiWujfehcv9SM85bPOM9sJgO+d9n30/z/d93rN35xAyvFGG60ccgM1mKwjM010wVsuA9akEJKIZAG9zKLfRZCobVfJdcQCdn7qeMMbqlQRTOoZADkFHh6rLyx1yY8QDfLRN8swb9+6GQa+TG09W/7m5eXyzOzA1PQMCjeQIwmGTaV+PnCBxAO8/2hgPYK40yomjuG8oFEJPrwOTvimAMKHV4kiVKHZJDbjqAFxoiDF8tzvw0+sDiLyCQEf3V5R/kAKhCgAulDGgt38APzxeDjGtEchSXVH+biUI1QAsCu1zODHu9gCggEZgp6pN4pvlIFQHwMU6nCMYc02ACHMQqN5cYXz2LwhVAnCxzuFRjIy6+NsFAdSwv8rYlghCtQBcLAfgIETEQLhsNhnvxkKoGoCLHXO5MTA0AsYYSIN6c4X4dCmE6gG4WNe4G/2Dw7wm7OZKcWfGAXDBnZ/+XNtqqsSopGeEA1mAla6GseeHLl2C/8uXqMOGPXtQfP++3FCR/mmbQr/6+jBw9mxCodseP0ZuaakiiLQBjLe2wtvRkVBkwcmTKGpuVi8ACwbRX1uLhRm+0Ypvmrw8bLdaQTr5+4y0OOB7/RpjN29GlOt37cK82x1+LbaN169j/bFjsl1IC8DQxYvwf/0aEbfhyhXMuVzwtLdHjhnKylD84IH6AIJ2OwbPnYsIo5wclFqtmPd4MFBXFyW45NEj6HbskAWRcgfGb9+G98WLiKh1Bw9i040b4c/OhgYEursj5wpOnEDR1avqAWCBAPotlqji3dLSgrwDB8IiJzs64GptjQgOF/PLlyC9XjJESh2ILV5hzRoU37sH0mjCAhempjDc2AgWCiku5pQCOC9cQKBH1r8h4CvU1ocPV9+BYG8vBs+flyxkaceStjbodkb9Ov5nnJQ5EFu8mvx85JaUJBTCV6rQ7KyiYk4JAPP70WexRIkqampCwenTCQEm7tzBz2d/9+e8Vkp5MRsMKzqYEoDJV6/gamn5u/Zrtdj+/Dk0hYWJHUgw3TZcu4b848dXByC2eNfW1GDzrVvLiuEXOz6VFpvUYk6JAyumLYkdsgBJTKaiUFkHFKUtiYOyDiQxmYpCZR1QlLYkDvp/HOhM421WqQb5A0F0fe7md+V95ioxf+k4VdzolgpCRO3mSuOZZQHS+aiBZOGAD0RWvZY1iaLoXRZAalC19Mv4p1V+A99xL0/8q/utAAAAAElFTkSuQmCC",ai:"A3lJREFUaEPtmltIFFEYx/9nZ2cv7oZKIqWShUgXoht2MaJ8sTI0oowou6DSRVHppctTSVQYSkGaZVakZGgU1EtkllJUkFSUPeVDJJIblanl7rq77kys5kyzs7qz1xnBeZsz35zz/33ff789wwzBJD/IJNcPEQBbCs1AL06xwF6wmBlqQM2yHVcNeU0H/V1HBNBfjDKWxTF/J/T1Ps3qA8DQgN8QIoC+YvSEI/NjoCMArsNPCDFAEVhfsxhIPAfgJ4SyAPyAUB6AjxDKBPABQrkAEiGUDSABQnYAevluEDpi4kY2QYuVHYBKXAkqfrH3TjwOhOwAIBSoWSlQxSb7VQn5AbznXhARXSXcv00B+JjAgMOnKhBwCgOcIPgVUNEwFD0G0U4TSLM1n4aj436AcsW3Bx2ASloL/dbzopWcXe2w3imcEMB45I3g+mB5ilfgoAPoMs9APX+DeGGWgbk6A6yld1xR8gOodTAWPQFonUeRtqflcLxrUi6Aet566LLO8gIdVoDWc+fOrx9gvZ2vXADdlgqok9M4gba2C9CuKwFUFDdmvpIJ9s83r96WGhC834DGCGNRC0DRo2szTgxeSod+cxmoxBU81LOLcLTXe9RH9FGCcdba75UjaADqhVnQZZzk7fKv69BLsqFNP86NM98/wVKX41GYrD9i/fYqULNX8ZluKYPj/V0QQwwMhY8Egs3XtoHt6xJByAbgKr2hsFno9eqNYM0/R0Tqc26AilvECba/rIH9Va1yANxt4uzpgLUhjxPoesrSph3mbfTrCyzXs5UDoN9ZCyphKS+IGQYcQ/y5Si36b7Dc3AXmR6cAQhYLEWMsDAUPvXYL9wD76zrYn1fKD+BuD7AMmL5uERCh1CCR8dw4+9sEc02W/AARe+qhmrGAb5+fX8B6j/c7d0FFw1jSJrCS5VYuGNNHLiTsFiJRCTDsF26Rhx4cxXBnq0dL6bMrQc1J5a453jbC1lohH4AmNR+aNQW8Laz9IztOMA6PAO52c7VZ8+VNcNnOdYS9AhG5TVDFJI2bUXcKVexcROxrEAxbGw/B2T36HBB2AJ9bTwhuCNpeKATaJE05BSApTSEMmqpACJMraWrvFQjza1ZJqseCCEzRlYj7/x7ZX3T7AkAIzkVVgn/cA+T/1EASAIGJAPWR03GClMI+YQUkTaigoEn/tcpf0TKqQHQCyvMAAAAASUVORK5CYII=",audio:"AtNJREFUaEPtWs9rE0EYfWOS2qRmtzEJlapQQSP1UKttFAWFhOpFEEREkEp68ubBmyfP4sWDf4ANFkGKCIIXLQki6KGplh6U1iIFaRWSkOxWU9LErOxqlmQ3mx/bTTILuzCn7My89773fTOzEwKTP8Tk+GER6HYEVREYir/o58A/goDLAgSm2wDF+QkID4KXLJjba6Er2UpMKgKeePSJIAiTNABXYiCEzGRCkZv1CcSiHC3KqwiA8JlwhK1LoD82LdCofhlTNjxV5RqVhSwCbQ6fFYE2C9xweOoiwNp7wBW3GwKnIolFsGOMD+NS80utz2bHwNsZ+gjYCMGxPg+CjF8CHWT9OOxkQIh6++WJR7tPYKDHiVPsP1XFNur2wmWzVwHLFvJY4FNISC2J2eMT0u9UEPhxfhK9NpsMuFgq4fPvDOb5pAR6nktidYuvIpQJReghUAZzbzUhqbu4mcZW6Y/KGoecbjkHbh0Ypo9ApR0YuwMn3b7/eeBHkPVhr6NXRYoKC5UjcGf5g5y4ARerStpvOV7OgQeB0/RFoFJerrCNj5spKQ8SXFICninm5VeozIHH68ty4q7kuLrlkUoCrfjZIiAdNxWP3vOAHjX19GnbZk4PGD19ukpgFwgmvIM44mLxNcfh2QhFW4lGaoqL2vORCxhn/XQvZFpV6OHRM5gaDNQsq61ULsMsdNG7H3eHRmU7nGB8dVfVL2evYd9uFx0ERPBl/yoRaampReBnPofh97OdPQ/Exi6hrHizBLQsNL2xAnH/1OxjiIW+n7uBPXaHas5fxQIOvntaE0utJBb3R1eX3oAvFprFD0MIaEXgE59CeOGVJhhlGZ1Lb6CE1j4EGkJAKweuL83hdXq9aTX1vGgIAXFiZRW6v7bYdvDivIYR0KOeEX0sAkaouJMxrAjsRD0j+jaMgMfsV0ymv+Qz/TWrET7t5BjWXw06qXatuUwfgb+qb6dAwJ2cZwAAAABJRU5ErkJggg==",bkpi:"A75JREFUaEPtmltoXFUUhr91Jk1TabTYKggqpdp6wTZzyGSSo/ailkrBG1oVNIG+RKnXB19EH8SHii++WFBsSy3ECl4KUhRRRLxUJ6TIBPpgzG1i2pBMM6nTSWKmTTJbNmNopjOd7JmeTM+BnqeBWXvt/1t7r3XWZh/B54/4XD95ANFodEV6Rvag1CMKrl5MQBGZBL5bItUvhUJ3DpczVx5A5Fhnm1KquRxn5Y4RJGYtlQca6+pipfrIB+iIntGRD66/g2U1S0v1V5L99PQMf/XGGJ+YRJChJZa1NRTa0FWKkzyA3zuiSjtwGoKl+CnbNpPJ0NUT40xqHITRqiq2hW2709ThZQfQQjNK0d0b459kCkSSliXbm+rr2k0gPAGghSoFPf0DjJ1OaoiJgCWPNtbX/bgQhGcA5oT2xQY5lTgNSDpgqR2NIfubYhCeA9BiY4NDjMRHEWEaS5qd+uDnF4PwJIAWO3hymKHhuP45ayGtTeHgx4UgPAugxWoADSIiCuFVJxTccyGEpwG02JF4goETQyilkADNTr19aD6E5wG02PipBP1/n9Q50es02Gt9B6AFR45l3213h+2coLu6AuNpONoDv3bDwBgkxrOxWlULq1fCxnVw71qorVmouuf/v6gA52bhsw441A4T6eLiltfAs03wdBiqA+YgiwaQmIDXv4SuEpvh22+Ad3fAquVmEIsCoMW3HoTR/7eKmZTzVtfVwr6dZhCuA+ht80Jb6ZG/EFKvxActC28n1wHaIvDRT6XGvLD981ugxSnuy1UAXW2e/HDhhDXF04n9xa7i1clVgG+Pw+6vTeWZ2b35EGxff3FbVwHeOAy/dJsJM7XatA7eeaJCAM/shcGx3MksgQfvgu4R6BstLOTW6+HF+0FXH129pqbP2928Ej59rkIA296Df8/lTrbhxmw1ySg40gn7f4bkVNZmxTJo3QwPB0GDxlPQvA+m5vm4qhq+f+0yAuieZNd98FQDVAWyCX7wt6ygnfeATtSZWTj8Bxw4CpNnc8VWFKDQFpqTc9O18MpWcG7JFRjpg/d/gBP6tFjgqegWMknipjXw9mNZpW99Be39xdN5822w+/EKbSHfl1Hfv8j0Qvu6ldAAvm/mNISv2+m5euHrA80chK+PlPMrt28P9aYd56XYudpOX4qQcsdeASg3cm6Nu7ICbkWyXD/GKxCp4DWrKcxU+iydx//Ut/IpJ2xfM3+cJy66TUFE5BOnIdhSFKCSnxoYC4cUIkdqqtTLtm0niwKYOvWKne+/VvkPuEwvT0k8bZAAAAAASUVORK5CYII=",code:"AqFJREFUaEPtmtFLU1Ecx79HnWwzt4VEFiOZUCRpOYgoK2KL6k17qSDqKXrsIfs7sof+hHzJCjR6CAoX1QQp3MRYNMiKTLJJbNNqtumRO9lad7s7287v6i7c+3p/53e+n9/39zuwnctg8IcZXD9MgK12sMiBO4GAiydxF+D9nMOx1QKV/RlDEmCPmQM3bvp88UJNRQBDY4F7nPMr9SBcrYExNjw44LsqABhP1EvliwGQHBzwO8sC3B4d5/VY/ZymW+f9/3VNUQuZADrbZzqgc4GF6U0HhCXSOcB0QOcCC9Pr4oDDZsWx/R6kMxm8jHxEZnWtrJDjXR5sb7FjMvoZseQvoejCAHIAp92Kiye8aLVZs/s8nYog8nVBU5S7zZWNV55UOo1HE9NYiC9VDEEKoBbPOcfwi7eIJZc1BdmaLbh+tg9NjQ01QZABlBL/fDqKmS/zwmp6drah/0g3Ghs2IFbSGTycCFfkBAmAjPgcXa0Q0gAU4mUgpACU0+bSyX8Dq/R8pW2j1VelnHgQDONHovRgSwGc83bhwJ72vJZn4Q8V9bxoKNQQc4txjARDJZdJAfh79qK3051PrJzjwfefRPqE7w927MbpQ/vA2MbPk9nvixidnKEHsDZbcKGvFzuc28gg1OKX/qQw8jqExO8UPYCSkRKiWvHK/lItlCsJBUQt4skAZJ2oVTwpgBbE/VdT+PYzoTm4ylF87czR/MCKel6diKSFCpOq2+nJm3eIzsc0Adpdrbh86nD2fbXiyR3Iz4SlCd5ON/5mVhGancMaL//XUk/HLrha7NnY5dSK8JgtDCB3oKrdCYJNAIIiSqUwHZAqH8Fi0wGCIkqlMB2QKh/BYqEDQ2MGv2Iy/CWf4a9ZCdp0U1OYnxpsarlLbGZ4B9YB3ZK3QL0Ey2EAAAAASUVORK5CYII=",doc:"BU5JREFUaEPtmntMW1Ucx7/nUh6jjveAxOhIptGpG20ojw7RhM3FOceikrlN9lBG1GRGxlwEGcyNoSSLZhl7mS3OOCcDF2NYNlCXJQYHCCxgNBlzZUUcgba8WsooLfSacwv3tuVVSC+UhPPXPef++ju/z+98f/fcRwkWeCMLPH6MA2hsbAwyDZNisGwKCwSICUgIGQDwszfx2atQPNMxm7nGAdTUN11kWTZtNs5m+xsComZ8ydr46Gj1TH2MB6hr1NPMy1atxBI/35n6m5G9xTKMuyo1+o0DICDt3gyzTqFY3TwTJ+MAqusaWepAGSubiZ9Z21qtVjTfU0Nv6AcIdBIJ1sfJ5U2uOpx3ABqolWXxj0qN3j4DQEgfw5ANCTHRta5AeAQADZRlgXv3W9Hd00chjF4M2RwfE31zOgiPARgLtEXdBm1XDwBi8mLY1HiF/NpUEB4HQINVt7WjU6MDIbCAIWnKGFnZZBAeCUCDbXvQgfYODT0cYUAyEuJkFyaC8FgAGiwFoCCEEBYEHyoVsmJnCI8GoMF2arrQ+l87WJYF8UKaMkZ+yR7C4wFosBptF+7/+4DWhEoZK39ywQHQgGvqbXvbmji5Q9IXxAosAjhX/ktHdGjvHuaHr+eGIyrci+9bRoC4jzsxZOFuq7h283AEIoMYvt8/yCIhR8MVJ22Phkrwa/6ySfcst0roYIkeP9Y+5Ccr2hGEFMUSvl+vMmNXcbdDMMd2BmNjjB8/dqvZjIwzgs3rCf44ui1wbgDKGwaRfbGPn+ytF6TIfUN49jlVacSpin6HYN5MlOLQFsHmdKURJ+1snJPgTOLWFejssyL5ELdLci06ygcl+0L5/q7iHtSrhhxieCLSG+U5YfzYu2d7UXXHNKnERAWgzl8u0KGty1YHPhKChmORkDCAedimf/OwoH9qQwhB9WcRCPS3XfiUORroH1q548fDJKjMm1z/1MatK0Ad5l/W40qNUAc/fBSGZx/zRp3KjN2j+vfzIRyQ1WqDOZkRguTnfKHWjmBjoZZPcqrSH0e2Tq5/UQCu3TbhwLe9fBD5WwKxNdEfJyuMOF1p0/+ap3xhGGTxd5uZ67+d/AgObF6Kn+oG8ckloYacC9xZPqIA6AxWvJgn1MFr8f4o3B4Ie/1nvhoAo8mK8zeMXEyrlvugNCsUn5bqUVYtrN5vBRFYFiBcYucEgE7ySqEOrVpbHdAipTKKzxb0//2+MAyYWP5yKfEi+KMoAtuPd+Nuu4X7XVS4BNdzp9a/KCtAnR4uM6D0Fn21AzAMwYn0YOw9R5+mAH9fBrVFEbAMs0jI1sAyYquD4vQQZF7oxchoXThfXifKvmgAFY0m7P9GqIOYFT643WLTe+LTvjj3fgh3vPNENxpGx+1t6Lkvdgdjg1zY4OYUoLvfiqSDQh3YT561KQB71km5oYk2tjHbqqMRCF06tf5FWwHqeNPnXWjptOnZvl3OCsPq5d7cEM0+XQXntiLSG1ftNrfJsi8qQMEVA0qqbHUw1qSj+vcaTSy9uUvI7sSg2XFz25YkRV6qa69f3b6RjQX7y58mZH4t1AEdT1rph6/eC3aA2nOmB9XNjrcXx98Jxvro6fUv6gr0DljxfK6Wvy2mk+1PCUD6Wpv+x9r5GwP48qqB79Nbi98LwxEsnV7/ogJMpVt3nhNNQu4Mcl6KeBHAxQwsSsjFRIlmtrgCoqXWRceLK+BiokQzc3kFaubwM6urtIOmITT9dYd+lTco4+QOT/8e8aHbVRBCyHfKWNkOe/t5/auBy4EDBhBS7idhP5DL5cLrDPq+yVUnnmq34AH+B0uqsk/AWW5PAAAAAElFTkSuQmCC",exe:"ASlJREFUaEPtmkEOwVAQhme2EiUuY90eQB2AxAUs1DnUwgUkHEAdoF27jFCJ7RNtJGiiRob2xd/1m//NfN/bTZks/9jy/gkDVG2wYGCeJG2T0oLI9Iwhp+oGr/czU0rEW3ZoPHHdw31PhQHCKFkZYwZ1aPy5B2ZeB747LBkgPtaFfHEASgPfa70cYLaJTR3p33qa9r2HV1N4Qhjgy/pg4MuAS+P/x0Dgu6U0fnkgjJLsurcNYABlPTCgDFQcBwNiZMoFMKAMVBwHA2JkygUwoAxUHAcDYmTKBTCgDFQcBwNiZMoFMKAMVBwHA2JkygUwoAxUHAcDYmTKBf9jIIzyFdPI61Kn2VDm+Fnc/nSmZbzLln2lKybrl3zWr1k/k1xdFX41qI59frP1Bi4u/hhAcOVzEgAAAABJRU5ErkJggg==",fla:"AeFJREFUaEPtms9LAkEUx99zbS2tzKNeIsR7nYu6RIfokJSHCLp2rgQjSig6JPQXdJRuJfbH1L+QxwqsVMSJtVbcNteZ0d2ZtdnLwvLmzft83w+W3UHw+YU+jx9sACST0d9I84IQ2AMgcbcB9cWlm8hhdp93HxvA63b6ihCS43XIuk5fXQP4/OCGsAG8bKWfvVDeBG0DGBcnxB8Am4RVxUHsOwCcEHIBcEDIB8AIIScAA4S8AJQQcgNQQAgHGFteAdRDzoPMYcQKB9BSKdBm5/pP4h4QwgEgEAAtmYRAPMGVCfEA/bW3WMRKD5aYFQCjgAObqwwMLCEiGI0LmvZ9r9WYXA4tA5OFa6aNq7ls2/73OvM5rTMFYCo1chl4vzwH0mj0roR6Xe4Sqp6dADgB/KBJ2wMKgHIMCZlC3aNS2hJyElABdKnjWgmpJhbdxP82A7XbIjSfHgFaLaocCO+ByGkecGraFiztW6lwgPGdXQjOL/gXAKNRCB8cAU6ELRC+yYARtQERWt9of04xy8lzAKqOc8FoaD3gQmxULhUAlUwuGqkMuCgulWuKDHj7m5Uq6o4RVmKlcqJ7jfAf3SwAiFiYuS8fOwJ4fdSADgAriFCMYjCPd3eWbzejd9iDThF5rL4A39Z5QOOYNXsAAAAASUVORK5CYII=",folder:"AYFJREFUaEPtmbFKw1AUhs9/c8HJBxD0CaQQd4PSuPQBHNRR6EN11w4+gIud1CmCAeng4tKgk1PXNlciVtRK0tt7D/bi6ZqTP+f/voRCAgr8h8D3Jynw1wbFwMoZMIOdTkmmZwxtuiwH0KOCPkX77tYlp+ncuVtoOohHrsvPLgrQWEWUYj/PmhZZ9vhcgclVbJYN++08EF6V0ntoZ0OfuZ+Qfob6LlDlg/Cs1nSCJHvyXYLdgK+FASoUoYv0/vJrZjAF3k2CiijNt4ItUC2uD/Jv0IMyIAV8PZAuOc230PWuUesbhEi7XMf7uWY6oXL8Qjq5qX8GyvzQrNryMxpVCRVf1BcwD0de/4l9q0CrLwV8Q7XKEwNWuBiGxQADVKtIMWCFi2FYDDBAtYoUA1a4GIbFAANUq0gxYIWLYVgMMEC1ihQDVrgYhv+DgeMRkXH6OsMA/iMSBVrn9S93zfCkQ6XprV4JFKTQxfZZ/et1Pno8yfKZlYfr4qliYHFWPJPBG3gDgn2xMeAd79wAAAAASUVORK5CYII=",htm:"BRVJREFUaEPtmnlsVFUUh787bWmLVCugARWRGMpipDN2ugwIVaA1mBS0NiQgKiqlcSWixBgVBCXign9AAMW1gpQQxAWXIKaFEBkpxlY0Umjp1NJaujK0pS20zDPXZ9Nl5s2baWae0+j9azLv3HN/3z3n3HvfIhjkTQxy/bgBFBUVxXZ0iY0oylwFLg8moBDiPLAvQgx53GqdXDOQsdwA7EeLtymKsmggzgbaRyAcpkgxKzk+3uGvD3eAwqJzcubNN08iOirSX39+2Xd2dnGizEFL63kEojrCZJpttU4p8ceJG8DhwiJFOrAlmv3xM2Bbl8tFSamDc80tIKgPDyc9yWIp9tXhvw4ghboUhZNlDs46m0EIp8kk5qQkxP/oC0RIAEihigKl5RU0NjklRGuYScxLTojP14MIGYBuoaccldQ1NAGiI8ykZCVbLV97gwg5ACnWUVnNmdp6hKATk1hkSzDv0oIISQAptrKqhuqaWvnzkgmRnZJk/tATRMgCSLESQIIIIRQEy2xW88b+ECENIMWeqW2g4nQ1iqIgwlhkS7B80hsi5AGk2Nq6Bsr/qJI1UWZLtIwPGkBJDXxsh2NV0NoBXZfUocLDYFgUmMfAstlwVYze4uh+3X5U3dumJln6THpAIlBaCy9+BlVn9YWFmeDOKbBkOowYpm/fbRE0gC35sKNQ3Yj0Wkw0tF9UIzM0ElZlwLQ+CaHtISgAL+yBAyf0ZPdcnzUZclJhUz4cPAEmAU/Ohiyrvo+AA7x9ALbb9QfubfHANMieof6TdwS2FKi/X71HPxIBBTh5Bh76SB5g/ANYORfSb+rpIyFkNGQ65S31XhMBBVjwDpyWxxU/27ZsGDeyb6fn96jplGGGZ+cYUAN/z77HTd07zfUjYMdSd5s/nbBwq7oI7H5Ue4kNWARe3gv7foOoCIgdqgpytkFHpzZARBi8Ph8Sb/Bss/JzyD8Oy++AzFs82wQMYMUusJ+CVfMgbbI62MUueGon/HLafXC50qy5G26boA24/3dY/QXYboQ35gcZQIa7shHycmDM8J7BKpvgwQ/gQr9I3Doe1mV5Ty9ZT7KutNJM9g5YBNLXQ9tF2P8MREf0FSaFHK2AguNQVKlee+R2uDfFO0B7J6S9CUOHwHdPBzkC3gC6h77kgsxN0NgKqRPglUx5v67d5O6ctt4gAK0U6i9v+U4o/Ocpz9gRMHG0mnLXXgnxY+DqXgc6Q1PIUxF7mtvcw/DuQc+zLgQkjoOVGepKZmgR7/kZ3toHMyfBmru008KlwOYC2HlE2+a64ZD7MKz9ysBltL4FsjbLJx/qxnRNrPcClbVQ16xtc/9U2HHEwI1MSnntW9hbrBbo2kzvAIvfh7I6bZvhl0HTeQOPElKKXF0WbIW2C/DYTFiQrC1QD0D2NPwwJwf9oRSe+7RnrdeC0AOQqbjO6ON093zv/gk2fC+fbarpJKPRvyb0AOaZYYWXU2j3WAHbifsni4zE6r1qOsmb9xlxMD0OJo6CkTGQkwvl9Z5TbPFUWJLqvYaCDtBdE+8dgm+OgdyF9Zo887w0F+JG6Vn2XA9aBHpLkEvsoVKwl0G1ExpaoKNLvfeNiQTzWFiYDJNG+y7ckAj4L8f/HoZEwH9Zvvf4H8D3uQqO5X8nAnYDX7P6Gqv2jgsU/3pc3hQ125IsV/TuFxIvun0FEUJstyWa7/MKYOSnBj4Lh2aE+DIqXHnCYrE4vQL46jRU7Ab91yp/ASCmiE8lpkUFAAAAAElFTkSuQmCC",idn:"AqFJREFUaEPtmk1oE0EYht+ZTbJJdiWxqbYNBhUsOYgXkVp78KAHKRTxr/UmxYJ6MTfRYpWiB/UkBE9CFQQPFi+CHgUPvQnqSfCgPfjT+gMxmjZt8zOyiVm7Lqaz2yQ7W3eOyzeT93m/b7+Z7C6BywdxuX6YANj4ZCD7fvYKAU4whq5mA8o93bdDZ/pP2/0dE8D3kfR1MJy3u6DVeYG920EWlmxDmACyI+lPrXC+BqoBaMMuhDkDJ9PMqouria8B2IUQCsAOhHAAViGEBLACISwAL4TQADwQjgP4e5MgAV/dRlavxToOIG3tgJRoX7ET/wvCcQAQAmnLRtCOqK1MOA+wovfGgOidlEGzB2DRwFWHexmoWaheOm5wM3ftIVAscTusjA2BkD8VnLv6gGtuwzLgAXgZqFac7Tb6f5QQJfDvTkLa1gmpqw2sUET56w8UX7yFfGSP2DcxiSoIHu2DFG/j6i7CdaHQ8D5IiQ1c4rUgoQB8OzYjeKhXF88YQ2HqNQqvpsF+5kFj6xA6dUDcEvrb/cLLd1h8/NyQDeXiIAil+jWhMqCMHgPxSbq4+btPUf7wzSUAPgp1dNAgdu7mI7DcgksACKCOGc9Jc7eegGVyLgEAEE4NgEYUXXB+cgqlNx/dAyD374R/V7cuuDSTQf7+MyC/VLlGN8UQGt4vbhciahDhswOGG7myC3/JgoRl0PWqaX8Qqgtp6rS9QD7YY2iVNdVsfrECsnwIB1AtlXYE+pKg8Ri0pw/l2QxK05+h7QvKucPOlhD3GaHBgQ37R9ZgXdzLeQDcVjUp0MtAk4zlXnbtZ6DVr1m5rdeeQBDMRCZS8eVzHH/RbQUABDeiE6kLdQFa/akBD4DmPAPuRRKdl8n4UPVE+HusvY89eBwRKeYX8tzFQGW8wDsAAAAASUVORK5CYII=",image:"AwJJREFUaEPtmj9IG2EYxp/vDLlIU/8rGSqIYLXSpqY2QR3qIg5tKYiDS+oiOkQqCgm4CIoIYgYhDoJrXV2KdnLq0IhRL7GiouJU2lKoMYliksa7koDSePnLfWdykJsC97zfPb/3eb9A7guBwi+icP8oAOQ6QVECHMeVBSNkAYLwTgBKcm0w+nwC+EHIJ41K+GAwGM7/9yQCcLrcHwVBMOeD8bseCCHL7caW96kBNjlftPMtz56gWMPmBcdVMAT3t4NYEu0mQ2lKgK+bnBAVtBtb8sL8jQmnyx372GEyxE2NaIQKADLlVkhApsZmvGwhgYxbJZMwLxLgf68hcjgJ4eIQRNsEVdMkmJo3GSHnHCBqPrzxVmRW3baaEUTOAcJfjODPt0QATNlLqF+50qaQc4DQ54cQIhcio0SlBfs6kP8Aik9A8XsgOiOK/hZKO+RpBDnfxHkPcC1co4gUSfWZtF7WBE4vTzHGjaFcXQ77czuq2WrqILICDG8PY8+3FzNd96AOC60LKFHRfR8gG8DazzXMHczFdby5tBnzhnloGA21JGQB8Ef8MDvN8P31iYyaKk2Y1c9S2xeyANgP7Vj9sZq0y126Lkw0TyS8H+bD2PJuQV+qh1alTZsUdYB9/z4s2xYIQuwlRtKrt7YXIw0jcfeDfBA2tw2757vQFeuw2LqICnVFynWoAvDgMeQawnHgOG3nooKB+gH01/XHtCE+BJvHBo/Xc1vbWNIIxwtHyj1DFWDl+wocR46MzN+IrE1WdOu6Me4Zx453R1TbUdWBGf0MGDAJ16UGcBY+g3nDjMvIZVYADGFQr63HSeAkaV3Pox6MPh6VF2B6fxrrv9azMp+N2NJgQV9tn6iESgKcl8Mol7hD2ZhMpSWEYOrpFDqrO+NkVAAGXYM4ChzR8pp0HbaIxXLbMmrYmlsNFQCrxwrXn/S/X6USVrKVWDIuoUpdRRdAqjEp9VQSkGJAam0BQGoHpdZnnIBT6UdMij/kU/wxq9RZve/6wl8N7rvjd5+n+AT+AZm/3UDFmhoAAAAAAElFTkSuQmCC",iso:"B+5JREFUaEPtWV1sXEcVPjP3Z+/aa3vtZO31JrihcWhQo0amQFncBopUyY5ror4gUSkSvPAAkUjWaZWWl77QRPVPQALEG5UigcQDVXB+LPrQ1om7DVUJgZAm1LSu699s7Gy8u9n1vfODzo29WXt/7r0bJ1KljmQ/7J2Zc7453zlzzhkCn/NBPuf6wxcAVi04+Ob5g8RSfgYEwgDgk1KqhNw5HyklEEIYACyDhDmp8d/2PfPkrzbC+vdkAVtprrwkJYRASm97ESIJgYRU+NF7AeNN6MqR/frN9/dxk50ACgHpVfF1x04IkSAgrejq/p8/842TXq3iCcAfLl4M0gy5vJjORoTweOIOmtlAAGYaw8auH3d0JN0CcQ3g92f/ESWGGE1nTRU3VygBLlDmBg9CmI/59hzo/Vrczc6uAPzmbxdiQMjAssUIJQTaW5qgub4W3hufAiaEGzle50hKyOFD3dEhp4WOAFB5LuUA44JoigKPtTVDY63f3ncumYbLU9edZFT1HSlFABxBVASAtGEqG8OTr/Fp0PFQGPy6tkahf03Ow/WlTFVKulgkfdzorESnsgDQYc0kTyDn8eS/uT1SpDwqYDEO8fEpMBl3oU8VUwhhTWEjVM6xywJ4ffSf0wvp2xHkfMe2cJ42pVRILGXg0uR8Fdq5W0IImY51R7eWml0SAMZ5wdkbGCq/Et4EbZsbHCVdmUrATDLlOK+aCegPiqo+V+qeKAlg6HR8SRJZh6Ey2v4lMHQ7clYcnAubSjkLM4aNH0SSVKwnWr9+5yIAdnrAlKHVG1alFHZGNkM4GHDU6mY6Cx9MzDrOq2YCWkGqPLY+7SgCMDQSn5dCNq8XgnH/q5HNoKlKRfmXJmbgk9kEMNMCLu44tkIVUHUN/H4/KKqzNcsJIJRcj3VFWwq/F1vgbFyUS8x0VbFBhOpri2QIIeHiR5/C+PQclLufUZjhr4GaQABWElVvxiBE9nVHaVkAx8/GY0LKQaddI8E6eKR1EyjKnb1Q+XcuXYX5m7ecltrfNV2H+oZgVSAoIX2FN/QaCwyeiY8DyO1utDA0FR7dEoLGgB8+uDYBH03PuVmWn+P310BtnbNfFW9K/te3N9q++vsaAENn4ykppaddQwEDrn48uZY2BKaopC9KRX8bBRFuflcQ8RpIyMdyFBxsavLsE4SQdKw7WlcOgCmlXJsrOJxrOpWCXDZ7dxaBKZ/f2P3KD7oWC5e+8ueRpuVs7lIhCMPvh0BdXhdXFiSEWLHuqF4SwOCZdzG1dEzwCiUlFxaB8buxnwJ9/pc/+v6fSmnzi9f/+kMB4o+r31RFheCmJleKF0ySfXu/nXfk9RQSXiushUTCrnnzJ6IYkVf3d5W8DF4+MdIqeW4mP5cQ2BQKeQKA90GsIBKtc2LvFniQAFaaA+UtMHhmTGADAUlk/3MxHhSFJIYJCRh6Zd/eztIUGjg9ZjsxtkNWWyJOGB6UE+Pp4x8lxOrr6SztxAOnxlICZACVxzTazeCMQXJxsaowuvPhNkikc27EgBDClkGBpA8/21k6jPafGhsXUmxH1RWlcs5TKDWTSkM2e9uVIquTdmwJw+OPbANMAP8znXDMYjlndoajEDp+uLdzR8kw2j9y/qAw5XH8qKiKSy/AzhvA0q0kWKbpCkRLYwN8Z/dOoPSOlTEVvzp7A2aT6ZLr8eQ544B+oOn0UF/X3a5eEU+ODZ8TUgiiUhWo4o5GKBVB3E6nIZe9XTGZa98Sho4dD+WVL9QYK7sPZ24UlaeCS2CCAaFUHul9qnwyh5u9Nnx+nnHejH6ga95TX/SJbDZbMp3+cmsIdm+LVLQS1tgIorBRYDGkj0RWXH+x58nK6XT/yOhBtiztgkZTVaB0DWBXFKk06fFtrXYC6DSwZXPVtgYDBABApGaQ2Atde9Y0hUty5NjJc0uMszpU3meXk+6p5KQYZrHR9q35VLzS/JxpwdtXPgHGBSiUpo7s2+NcUuKGQyPv7ctmc2/YVtBUUD1EJCcA+L01GIBHtxYVfUVLP55fhMufzSELpN8wnot1fauo+Vv2aI+eHJ1mnEWQe36fb8OptLutpWRlt4piIZWB+LVJwNSgpbF++iff+7r7tgpugo2tmYlbCS64/VBhIAiXl5sbK2B5ilQqVWNnlk0YvTIBpmVBQ8DP6lv83htbqMTx4QvRtJUZE0IQSigYxsaCwEbBY21rggqg8vFrn0I6Z2InUNZovs4D3U+U7VQ7emf/8LlYdtkaEBJBEBuEsoGRadfW5nzL5kYqA3//72d25FEURdb69MOHejordqgdAaAljg2fi5mmOcC5sHM8pJNq39SulldkFPadnmjfAjMLS/DvyVk73vt9utRV1VF53Ni1Bsf/ciGakplRzrl9u9mU8uk2kHsZjHGwLMs+dTydhlqD6ULfc6C3PG0K5bkGYPvEWxeDmZvJy8uWFcGSAU8LAeiqBqqmunZyjCyWhReUBQgAh6oosjkYmMmpvl2Hnr4PT0yFqPtPj+3L5ZZPmBYLANx9K8M+Eda56CuEknzotVNhIe2QiPUzJm+rA0tETVXThuHb/0JP5/195FtPlVdPvXWQm/Ilk/GQ5LyyNdF5MONbCcWYmOmaklA0cvTlZ5+u+s3YE4UqcR0d3bLYT6WULVIIHxPoK2TlkRtApQqSfJlSOq9p6u+O9D7l+P7lxrc2DIAbYfdjzhcA7sepetnz/5JVcV4hOdOnAAAAAElFTkSuQmCC",pdf:"BWJJREFUaEPtmntsFFUUxr97Z7ozs7RAVeoTFRMJArodu30sKaBIQNKIj0giCSQ+QqKtWCgYJIAYUUSDChQbMBANtDFCTBAlCpIiiBRLpEURKSALC6UPWti+9tGdmWvu1CaULWV3u122kflrN3vPme93zrmPM7ME/fwi/Vw/ggAqKioG+zRSCMamMmBgXwISQtoA7Ewgltft9pE1kdwrCKDsUOVmxtiMSJxFakNAnFQiT2TabM5wfQQDlFc08cinPvwQFFkK119Y4wMBDVWnnGhpbQMBqU6gdKLd/sjxcJwEARwor2DcgSM9NRw/EY81DAPHTzrR1NwCEFwURUzKUNXKUB3ecAAu1GAMJ045cdndDBDippRMyUqzHQwFIi4AuFDGgJOnz6DxkptDtAqUPJ2ZZiu9HkTcAHQK/cfpQn3DJQDEJ1D2fKZd3dETRNwBcLFOVzVq6y6CEARAyQxHWuqWa0HEJQAX6zpfg+qaOv5RpyCzsjJSv+gOIm4BuFgOwEEIIQwE+Q57auHVEHENwMXW1jXgzLlqMMZABMxwpKklV0L0GQBzX4R++GeAUohpE4Ck5OstKNf8va6+AafPnudz4pQjXX2wzwGMo2XwLX8ZzOcx70UGDIS8ZBPocDViiLJDHXvbmAy1S9CjngHWWANv3mNg7T6Ijz4OpgWg/7HfhLBuPARY5IggYgag7SyGf/0iiOkTIS3caIr1vf0C9KNlkBesh5D5ZJwDlG6Bf+2bEEZmQH5vawfAgqnQTx6BXFAIIXtqfAPA0wxP7niw5kuQclcAum5mhCanQPlsLyBb4xyA7zwHdsC3MheQB5gdE/O19ap8OHHM5kBneP0f50H79XvzqzgmB9L8oogi32kUcwB2rgqeOZPNY6aytBjUNrZ/AVyZAeGB0ZA/+s7c1CK9YpoB41g5vIungUgKSFIyjIYLkF55B2LOS5Hqj+EcYAy++TnQnX/BMn0e6LBR5q5MrElQCktBklMigohZBrTdX8Ff9BZoyj1Q1pQCFgn+FbOgle+CmP0UpIK1cQzgaYEnbzxYUyPk+UUQxuSYYlnDBXhnTwDze6EsLQG1ZYcNEZMMtH+5DIHtGyCMyoK87OsuIgPb1qF90wegdw2DsmoXIFrCguhzAHbhNLxzJgGGDnnlDtD7R3YVqGvwzpsCw3UClukFSJiWfwMBWt3Qyn8C2poAKpjLY2BXCYyzVR3HZzGhe3G6ZjYmEBJgee41kMTBvMAAaxKEtAkgg4dcEypqGWC1Z+Fd+KxZ59G8iJII+f2twZn77yZRA+g8WQoj7B0NCjOg/b4HvIRE21hISzb1yOVfmQvt4A+gKUMhZE0GCIVx5hj0I/tB77gXStEv3dpHB6DlMjwvqmZ7aN1QDvBSaXXD82o2mKcFyvJvQEfYewRgrip45042J7FStBfk1jvN44Y3bxyMWhes6/aDpAwN8hEVANZYC8+sTPB0K2v3mJtS++eLEfhxs9n3Sou6ffIRJMa/Kh/avm0Qxz0Dac5qgAcmfyKYuwHW1btBhnZpe037qABwR/53Z0Kr3NdxTBh0G4z6cyAWGcqH34LcNyKkacHqXPAWTAHztoLecruZPd4/C8NVyCu29WEJcdftPvgL50H/bafZ7/JGRZq7BnS0IyTxnYOME4fh/zQfRp3LXLX4KiS98QmgJPYxQKf7dp+5EpEhd4cl/OrB7HI9SOIgIKHndxFRK6Feqe2F8U2AXgQvKqY3MxCVMPbCyf8nA2UxfM0aakK8Pj8q//ybP2NqdmSog660i4sX3aGCEEKKHempM3sEiOVfDUIWDjSDkO2yyGarquruESBUp/Eyrt//W+Vf3kLTT0Tqf/gAAAAASUVORK5CYII=",ppt:"AzNJREFUaEPtml9IU1Ecx7+/s81t5sy07KUXg6CC3K6b0/UHgv6Q/bOHICJ9CSKC/lEU9Oe93noQIiKRqF6CCIKCCOwtQ6EJBWlaU3PN6TKdzj9s7sRRWurcn3uZ8w7uebrc+zvf+/38fufcc+BcQo43ynH/iANwu91FUxFqAOdHOVC4nIBEFALw1kB55x2OrT4l74oDaGlrf8I5r1MiprQPgTzMSHuqrFaPXI14gFb3qMi8bdsWmE1GuXqy4sPhCDq7PRgbD4FAXgNjex2O8g45InEAH1rdXAi4Km1ydBTHRqNRdHR5MBocAwhDej32OyWpPV3BFQcQRqOc41u3B39GggDRCGNUU223fkwHQhUAwijnQNePHvweHhEQ4zpGtVV2a3MqCNUA/DP63dOHwcAwAJrSMX68yiG9TgahOgBh1tPnxYB/CEQIg1Gdy257nghClQDCbF+/D16fX1zOMNCZaqetaSkI1QIIswJAgBARB+GSy2FrWAyhagBhdsAfQM9PLzjnIB3qXHbp2XwI1QMIs/7BAH709os50e2qlDblHIAw3NI2t7Ztd0oLkp4TFdAAUq2Gvrq8hCHEdCCzBbrSjTBJB5G/+zRY8YZUknHPl3UIJQOI++wxHSwn72BVzWVZEFkFIMZmNzfi05eoFV95AWPFkbQhsgpQdLYR5l31sxAz/m5MvG9E6M29BUB5m3ei5HbKvVoMcGUA5uV3+O4BTH/5b5jlF2L9w4DKKzDPXvDxRYTePYjd0RWuQ+l9b44AhKcxdMuByK/OmGFj+T4UX0+6U14Al9UhZDl2E0ZbDfhkEJFALyaaHyHs+bTAUNG5Jph3nFJnBVK5MkmHsObqy1RhK1eBRM4oz4SC2hsoOHwN0OnVC6AvLQOzrJ0zaDCCFZTAUFYBs+vE7IqspGV1DsTWASVOE/TRAJIlc/FeSKvAEtnShlAG56MiqWWtgCJHMjtpADITlvFwrQIZT6lMQa0CMhOW8XCtAhlPqUzBtCvQksVj1nQZJqem0f75qziVD7qc0ur5/VRx0J0uCBE9dVXa6pMCZPNXg7SNA0EQvTLp+QVJkkaSAqQrqpa4nP9b5S/Nb+pARqUjEQAAAABJRU5ErkJggg==",psd:"A7xJREFUaEPtmllIVFEYx//3zuZMLndK3JqKXIIMUsiiRaUXod2eLAntpYyIgpDQpyLxQV8DiRYIA0mKSMqCCntKK8tMM8vKXGdGK8dcZnNm7o173WZcZu7s1/I8nvude77f953z/85dCCzxRixx/zEPIPnuJ+nXLlsJzSAfYGL9DZizkbpenb3ulKfzzAMQl7eW0QxT5OkN3R13MmUlRiZojyHmAZBlrZpARH4alAVgm6cQCwC0MO5G0Rv7aQBPIQQF4AmE4ADchRAkgDsQggXgCyFoAD4QQQc4lkxBISGdCpkziQ06wLZYOVKi5C6VeDGIoAOQBJAWI0eSUuZRJoIO4DL0cwzo4hQHn5cB3I2gt/bLGfA2gt6O9zoDjccTF/XBYmPwx0yj/bcJNd9G0NBvgK+Ptn4FmEvWoDagsE4Dmw8pfA7weciMCRsDuZhAAiWDaE5Rrf0+hpL6QW9Xzsx4nwMcqelF18gEN0GolETZ7liw1dW+HbjXjZ8Gq08g/ArAephASXEne62Ds+eea/BaY+D6ImQkjm6kkKCUIS5UjGGTDeoxC+r7DWhQ610uN78DiEmgIc9xo59+qkbTgBHpqhUoyYjmMrVQu9U6jKvNQ04z5XeAJKUUVYccM5BV/YM751QdXOvgPMMAhN1ZoPLjMCreBxEgSiFGaWYMUqNDZqL4VmvEmWdq5G2icDYtkuvXGW0ofKHBlyEzYkIl3GGuIHUVnnSOBh6g7ZeJUyFliAhrwqVgl9B0Y/tzH/aib9SCS+nR2J8Qxl0a1FuRU9MDo3VWXxUSAmvCpOjQmQO7hBabTW+hceGFFu8GjJzJ+a2RyE2mZswNFhqNWiM+DBpR369Hz6iFl0r5fA/Yz2qjwcnlG40BN1t0DtKZEhWCG3tVizr5uHMMpfWDgVehvEd96J6qA2YXJbcgdSVOTL2JE6wKuVoHiUopDidFYEuMHPGU1EGFtONWZN/vDuwesK/EzmbepVLgldoA2u5cRMlEuJwRjR2rFdxQk5VBZlWnMAGuZMVxSnWtWcdV3GkQtrDtiZ9UJ1ZW82v7hAuwPW420gN6K0IlJCIVohmHK5qGUNk2LHyAhTx82a9HYZ3W5fODz2WU7x4Il5HYFx+OnSoFVGESsFVbZ7Khd9SCBx0jqOsZd7X/ueteA/CaxY9GywB+DC6vWy9ngFeY/Gj0P2QgsJ9Z3UsWoaWLN8fZjwn6h253AEiCKLcWbS52ChDoXw34ARBaksDtDetFF9tzNk2+w5lq/97PHvwiIhyrv7BOOE995O/qAAAAAElFTkSuQmCC",swf:"BAVJREFUaEPtmmtsU2UYx//P29u6jcEkYswSs0QxApH1sK6jqImJeBkaiAmBEKeEMDCRoX7hEsVLFI2XL8apHxQ1KoRkiTGSAJIQAkGZ2RLbQAhzF1onzeiuXS/r1st5zXsqCWyjnNbT09PI+6lJn/P093ue95y35z2HUOKDSpwfswQ8Hs+CqRS1gfO1HKgqpCARxQCcsJC11elcOpjPb80S6Ojy/sA5b84nWb7HEMjHbPRYY12dL9ccswU6PROi8o4Hl8BeZss1X07xyWQKf/b5EInGQKCAhbHVTufy7lySzBI41+nhIoG7wZFLnrxjZVlGd68PE+EIQBg2m/GES5K8ahMWXUCAypyjp8+H8VAYIAoxRk0r6+t+VyNhCAEByjnQe9mP0bGQkIiaGK1rrK87dSsJwwhcA+33DWBoZAwATZkYX9/olI5mkzCcgID1DQRwNTgMIiTBqNld72i/mYQhBQTswJVBBAaD4mOagbatdDm+nUvCsAICVggIESLiILzidjraZkoYWkDAXg2OwP93AJxzkAnN7nrp0PUShhcQsMGhEVz+64o4J/rcDdLiogqku71IB/yQR4fA7rgT1tXP3upKqXzf0ZVZ21a5pBuKrk8HkgnED32O6WOHIQ/d+J+tct+nqiSKJiAH/Ii8vhVpf8+clTa0AJ8YR/iltcqUuTbYwrtgWfEQ2MJFMN23VFX1izaFoq9tQeLcSYWdyitQsfMdWJs2qJrzM4N0n0IpbwfCr2ZgiTFUfvAdLK5H84IvSgeib2xH4uxxBdj29CZU7Poob3j9BeKTGF+3HDwxrUAv+P402D33lo5A8tcTiOxrUYDNi5eh6qtf/hO87h2YbHsLUz9+o0Dbm1thb9lTWgLh7WuQ6rlwU2iyWFG28UXYW3arFtPvKhSPYfyZZeDpdFY4cVmtPqb+/l03gWTXGUR2/bsrQ5S5V5wxDN2B+IEPET/4mYJctn4rylvfVj1NsgXq1oHwtqeQ6r2osMzbfwCWh58sHQF5oB+hFzKrLVltqP75PGAvLx2B2Me7MX30sAJsfaQJle9+qQm8LutAsvM0ons3g8uyAl31STvMDndpCCSOtyPW9ib4pNhsBqyrHkfl+5mFTKuh6UmcOPkT0v2XII8EkfzjN8ijyvaHMkw1taj64ghofrVW7EoezQQEfHT/y3PCmWrvx7z3vgarqdUUvuACbNHdsK3ZBPtzOwCLVXN4TQVEMtEFeWw4c1tYUwvTA4XfitdsChWkvCqS3hZQUaSChtzuQEHLqyL5/6cDHTo+ZlVReCUkPjUN74VL4ql82O2S5l9/nCEedKsVIaKD7gbH81kF9HzVQDU4EAbRkTIz3ylJUiirgNqkRokr+bdV/gHi4zRPUedPZQAAAABJRU5ErkJggg==",synodoc:"BEtJREFUaEPtmm1MU1cYx//nXlrAvowXi7YomxpRcEQJcxjdss0wh2QhqBuJLyFxmuiyGf1AoN0LU5bonMliTPwkWybxk/ODiYVONo0STQwYhouisjmDEKqsA8tLLa1wTQ9Qi723vT3c6hrpt+ac5/88v+fltKe3BDH+IjEeP/wA2XtvqPvb7NUEo2UCYGQBI4BdAFerzzZWte1d4mHRiNTGDzCn9PfvgNHKSAXE93MHu04WmJXRCq3iB5hb2tDNmvlnXahUKix+PS9s/ATEBSJcVHPqXacrEu6ENRDZEFCBBkFMYN1bs1GQZ0BWhhZz0hLR0zeMf+wu/Fh/Dxev/SfpMyd3hex4CCEODqTAatZek200vjEkwPc7srFxdbqk5rG6DlTXtouuRwJABQh6eY5/31qhaYkEQhIgL/MVnP72Tap1s2OAZrzH6cHCdA0+L3kNyTo1Xduyv0W0EhED+BgIHvJx/Joz5ZpmuRCSAJ8Wv4ovNmdSnXVVTbh62+nXfC93JmrNufT9id+6YKm5GeSPBWC8Es44Eld4pnLGFTkQkgC+3j+yK4dqNFztwb7j7bjX88iv+c7SVLjcI3D0e3DX7lIOYKwSAxxQZDXrL4WDkARI0alw/oeVSNWPtYrvdbtzkLbLhVYHLl/vxajo2I/tZa7AhDOCIV4gH1otuguhIEIO8YqsZBzdk4O0pPggjW6HG7uPXseVtj5R/SkD0LkmLo4jxdZK7TkpiLDHqDaRR8kqI4ry05CfnQx1HOfXcntGsO1QKxr/7FW0hSaLETdHSEmdWXtWDCIsQKBRgoqjENuLMvDuspl06Y+/nSj+simKAHQohjlwG+rMmrpnHUkCHP5sCeabNHA89OCTQ61BATYeXol5Rg0eDY8gs+x8dAHG2skj8MJqW4X+cqAzSYCa8qX4YHkaBEFAydfNaPnr6TE6I57HpSOrYEiKx4O+YbyxszHqAD4HhKCp3qzPlwVQuNyAY+XL6F7nkBc//9pJTyHfqbSpIB1ZGTq6dvxsJ7766dZzAQAhXpt5/BN03GPIGajeughbCzMkT7H2rkGsr2qGc+jx8wEAYLPoJ91hwg7x2zkpdGjnmTQwpSbQnr9734WG5n9RU98Bt2c0aseomLAkwIv4Oh3qA0pqLUQFlLvQGGaZMNsk3XosgU/YSAJMXClVKr7S6/Uy+fBdZJJSDJhlnAtConPdlgSYiHjtgf4Q33CYuBQ1mgZQNJ0MYi9vBb75KJEhX+wm+049vTwFqjBXIOYB2HOprCVzBZQNg11tGoA9d8pYMlcg5oc45gGUaYCpqzC30NRdK6MwDaBMHtlVmCsQ80Mc8wDsRVfWkrmFlA2DXe1lABjoBgSmB93seZVrSew2i84UuDvot4+1BwYVfOAtNzC5+7iDNot20gP0IICPTwrqwTtD1YBQ9v+pBLEDpFa7QFP1SymZ9BeG6Pz6JDehCuyLeYAnUmemQPAymwUAAAAASUVORK5CYII=",synosheet:"BHZJREFUaEPtmX9sU1UUx7/3tStjYzC2ldhmAVGGrIpuUaBRJIhgGIN2xS1GBIIkGDWOkPhjk2yjthi3xPgHM2aCIA74R0wkxEYxMW7JlqEL0nW6wBYgsLhmo8FOGNs6s2v6amu3vrv3+voeOuj7rz3nfO/53HPPfe++RzDNLzLN80cEwGQv0/lHqAME2ymFQQ4YIfCCojEzldR02U8G5GjEGxMBMFaW1lKgIl4BIX8C1PXVflWphJaYxr8A75b2yZ35yYNwOi2yCvPExgYh5DYomlNmpJSf21B9STRAwCECYKgspUICmwuexrolj8NkWIDcuXoM3PTj8vU+HGp1oamngzlmzop8yfkQQnwajXbt+U01bEGG2pQAH25+FVuWPctM5GDLN7C7vhC0xwMQEiA3iIZb57HYf5FMHowKO0+uwBPzF+P0a+/z5i7vVXzW6sLALT/y9LkoX21DVnoGb9tyZL9gJeIHQHBJ+TmOPue2ONulQjABXl9lRVXRVl7H2lCF9qsXI5prHirE8R17+d/HfvoeFacOxYwnB4CvAzAIjWa9x2I/KwWCCRBc+x+/sJvXONPVjn2uo7h2YyCiuTrvMdwOjMI3NIjLPq9iAKHVhJscx23osLzXIgbBBMhKn43mPR8he9aciMbF/l40dbvxY7cbLZd+xTgdV6SJhUQIwRBHNRvdNnvTVBBTNrF5oQkNL+7BvIy5MRq/+33Y/WU92q50KdTEsTL/bLMWj83xAwtCdBudNWMmbAUrUfyIGeb786HTpkS0RsYCePlYHZp7PMouoWg1QkY4oKSjxHFGsFLhP1n3geigVK0O5oX52LVyI55ZXMCbzvf2oPiTUENHX3KbWHCmCUY1hDzvtjpck+3MChwoewMP6o24fmsQOxrrYnRb3jyAB3IMfCMv2hfarVQD4IVJQMPRNW6rs3VCgVgVOLLtHaw3LQOlFJaGKpy71h2JS9Olou2teugzMtH/5x8o/OCVOwAQ3JzIzx6bY4UkgCLTchze9jbvOzg8hM/bvsWF/l5kp8/G1uVrkX/fAt52tO077D19+A4BYMxjc+okAQSd9m/aiZ1PFgkuy+Cf3f29sH5azQOqv4RCI3TanBPOMKK70KpFj2LXU8X8ejdm5mB4bBRXfF7+5hZ8oBseE37sV7SJo2aHCWD8Dx6nmaWdwsAGUPBAk2bIRtr8eXLyE41hAoSPlESnrRgP/CUqJOQQPMikZs/BzFw9CKfOcZsJEE5o6dfVggcbWUQqBCUBVJjUuCTv3QrUm1+Ka6YSdS4/e0JQQnYF7hoA1syEAVl2qRUR00m4AkkAkVIkK8C6E981TSy1GRP1U20bTTZxsokZR0qxx2mx7U3MLrUnxHQSvpFJTSRRP9WaONHEpMYrDiB1YLX9ZC8htROTqn9PAPQB8j50S53FBPy8nTanMTo+5t3H0lM1taBUkQ/eCSQqHEpIXWeJY8IH9BiAst/sugs94w5Quv1/VAkvCGlcksfVnHzYPuFdpjpvnxSferbgtAf4GzoR8kAQ+tysAAAAAElFTkSuQmCC",synoslide:"BPxJREFUaEPtml1sVEUUx3/TbrelSwv0g1LaYtG2UKKAD2C0pn5EaoN8SBBCYLsxIZJGJQomIjyQhgdTntRgEKLGpH0xkhipQiyJXwQES6JChEpblNLapVhatGy73W17zd3tbrfszt67y71UjPepzcz8z/nNmTlz5t4V3OWPuMv9Jwig1GC96GGPAg5FITceMCFwCqibZ2W3qMETj0asY4IAv+6idlRhR6wCkfonCPbOf5M3jNDS0ggCNO+iK96Zv9VIkgWKirVM+9oHEHxHElvFBi7pGnFLpyDAhZ0o4QKC9MWbSJu/guRZC0maUchwvxNPTwu9J9/G1dootVlaGoM7gh7gKVHF2RhG+bpGBchd8wHTl2yWal4/8RbXjm6P2B4TgF+hF8EyUcWPsUBIAabMeYTC6pM+LbfzHL3fv8Nw/1WSZ5aS+fhOLKmZvrYrH1VGjEQcAKrcDRKoEHbO6IWQAmSUv05O5V6fzuWDjzLY7odRH1vJcuY8f8T3d98PB7l6uDrMXpwA6pr4C0GlsHNaD4QUIH2xnbz19T6N/uYGur/YhrfvtzFNga24glGPi5Gb1/BcbzEOwK/Uj4XlYiMntCCkAIm2bO595TyWqdlBjaHu89xsbcTV8iWuS1+DMiLVjzsCAUWBC1ghqvg2GkTUTZw69zHyNnyMJW1WmIb3RgddhxwM/B5Z/7YB/BYHSGCVsPOVDEIjjUJCcjrpizaSfv9aUgvLERZrUGvU66azfjWutmNGL6FQPTeJPCs2ETFnawKEKgnLFFLnlpNRto2pJU/7mgY7mrj83kNmAqjaQwjWiir8mSPkkQLMXleHNWsewze76axfFebgfdtbsGYVM+oZ4GKNzWwANTt5EDwp7Iynw2gHWb79M9IWrEZRFNoPlDHYcSropLBOpei1NixpOXj/dtJWO9t8AL+FJuFgQrilEUhbsIZ8+6e+USODN+g79S7u7l+w2LKZvnQLKbMe8LX1nt5Pd8NLdwrAKxyMb0KtUiJn5T4yHn5ZmsWGui/4DrlRd9+dAkA4xssf1ajmJrYVLSOj7FWsWSVYphWgeAfw9LTS33zYV9Cp/0d6DEqjYdJSgEkqp6XRlTVIAYy80GRlQvbMmH3TNUAKELhSJiaywzusSyusk3qRmTYNstXqw6TbthQg4I1SF+liEx+QGaP+B4h7VssPgftP6PsZuhrB1R6X1ORF4InPxx1WFPjjKLR9CIo3JhDzAWz3QG4FZCyGlBw4/pzfwVCAgMt95+BsTUwQ5gGIJCjaDHnLQYSkoG9WygHUls4j0HpAdxTMAVCdX1QDMxaGO6IFoC6nM1t17wlzAIqrIf+ZyLOoBaCO6miAtvd1RcF4AHXNL9k3cdmEuqIHwHUFmsIr2khExgMUb4H8sXUeyaIegJGh8c2uEQfjAZbuB1uB3GwAQNcC0e5kPIB6QCWm/IcBok3qiBuOr9Oe9pAexkdAawlFc8/VAU0vTjJA0QtQEP7WQpdXMaTPgJ7xEdBKozKSGA8w8wBU5WgHmQwgxhLCXIBopUQkgDiKOHMBVHVZMRcKcBtltPkAAQvBcvpBSBl7Na9eZHp/Aucx3UWbbOUZv4l1pRvjOmkD1NNFnB+6jXNToqR+SK9iwovYsJcfSj21GPTB23AgwV5RNfEDejjAJ1gZYg/g+NdEQuAE6khmt1g/8ScMJr1+MnzupYJ3PcA/M3/KQPEWTXcAAAAASUVORK5CYII=",ttf:"BKdJREFUaEPtml9MW1Ucx7/ntpQh6BjZQraxDdhGQa20tkC7hy3GjagzOth0WezEMLdkZsbEJzXxyeiDb8sS3TTI1JEYWOZcnGyJW4xuQ8GkZVNpKaWlo+kKCKWUlELpNecUIx2j996uLSXuPp32nvP7fT/nd/78zmkJlvlDlrl+LAAwmUz5U2FyAjz/Ag88kkpAQsgkgMtZRHFMp3vUk4ivBQAdXeaveZ43JmIs0TYExMFlk6drKisdUm0sBOg0jdOeV6sqkLMiW6o9SfVnZsKw9jkwEZgEAXFncdxOne4JixQjCwBudJp4asBQpZZiJ+G6kUgEFpsD4/4JgGBYLkdttUZjFmtwyQGo0AjPo7fPgTGfHyDEx3HkWb228lcxEBkBQIXyPGDrd+LvUR+FCMg48mKNtvKqEETGAPwr1O5wYWhkFACZknH8vhqd5mI8iIwDoGIdLjfueIdBCGbAEaNBq25dDCIjAahY16AHbo+XFmc5kMP6anXzvSAyFoCKpQAUhBDCg+Atg0594m6IjAagYu94R+C87QbP8yAyGA1aTct8iJQCtFnGEeGB/RUrhRaTuO+9QyPoHxikc6LPUKXZmhaA07fGcOiH28zXyWeKcLiy4L4gOrqie9u2ak1Mp6ckAnQrr/jcCttoiDktyVeg90g5uPvIfdMK8J3Nj/pzzpgeb92zCXuViQ+ltALsaLHj2iDNlP979Otzcd24OeFhlDaALk8Q+q9sTKhCxtGJh1A4wj5fM26BYf1DCUGkDeDABRdae3xMZIOqAHIOaOqmqQFQr1yJtj2bMhdgwD+DracsmKVrJ4DuxjLIOAJVUy9bxzlCYD2iRGm+QjJEWiLw9hUPjv8+zMTVljyM9pdLWPn5s0602/2sfEy7Gsd3rss8gPFQBBs/6UFgepaJu7S/FLuK81j56kAAu77pZ+VcBQfXGxXIz5ZJgkh5BD7+bRjv/hQ9l6vW5MDcGLNhQnvaBrM3yN5/uGMt3tGvyRwAusiUnuyBe2KGiWrevQGvPr4qRuCZP31o+N7FvlublwXH0XJkSdjZUhoBMeLEQMYLSUoBnmy2oXtIeHgIDbMlAbgyEECtyAkab6ILTYiURaDslAV237SQ/3u+f2pjHn48UCqqbUoA/hoJQdVkFSVgsUo3Dynx2GrhC7SUALzePojmm9E0IdHnNVUBmp4rEmyedADvZBjFn1owPRtN1G4c3IKadeIStU5PEIZ5CZ/zaDkKc+VxIZIO8P7PXnzUwW4NsK0oF7+8Ii1V3t5ix/W5lPs9QyE+2F6YPoBgmGdpw2gwzJyerStGXZm0m/jzNj/2zh16CnLkLL3IkS9+ZEtqBL78YwyNF6Pn3c2rslmGKfW0SPNV5WdW2Meix84vdm9Aw1279/yQJBXgXK8fL30bPTIKOY43LuZ3RFtdMerjRDGpAGzYWMdZfh/PqeDSAoB2Br2d3idwXk46gBhxyazzACCZvZmIrQcRSKTXktnm/xOBjjT+zCo2QsGpEMy3euhm6TdUa2LuJzPih26xIISQM4Yq9cH59Zf0rwaihQN+EHJhhZx/U6PRRK/95h6pKYxYn2mrt+wB/gFq1IJPLiilxAAAAABJRU5ErkJggg==",txt:"AlJJREFUaEPtmk9PE0EYxp93WgQv6pfgIAl2J922rCcTjYGLXDzWozeNH4YP4EG9cMPERC/GkyVw2CYe5E9lsdKUQsVSINYUO2ZiSNDCdnbZrbNx9rTJvvPs83ufmcwms4SEX5Rw/+gDcF33WueY5iDEPQFciROQiI4AvBmhS49se6Ie5l19AKXl8jMhRDGMWNgxBPLYKN0uZDJeUI1+gCV3X3bemryOy2OjQfUC1Xe7x1iteDg4PAKBaiOM3bHtGytBRPoA3i+5Qgo4OSuITujaXq+HlXUP++0DgLCbTuNunvOyquA/B5BGe0JgreLhW6sNELUYo5mpbGZRBUILAGlUCGB9YxNf91oS4jDFaLaQzbwdBKENwInRT14VO809ANRJMXG/YPNXfhDaAUizXrWG7cYuiNAFo6KTtebPg9ASQJqtbtVRqzfk7U8GejiVt56eBaEtgDQrASQIEQkQnji2Nfc3hNYA0ux2o4nNLzUIIUApFJ0sf3EaQnsAabax08TG5y25JipOjo8nDkAaLi3/3ttu5vkfTU9EAgZg0G44jOdmCg2jy37vMAmcdGfh9btYw5idvnWmfmQJJB4g1vb7iEeWgAEI2YHIEkj8Gkg8QMgZcOFhkU2hCzsJKWAAzE6sOHVi/5RQ9BF5mVkDkbc0oGBkCYTdyM6b26ocBkC1U3HVRZZAXAYH6RqAQR2K+/n/k0BpiMesqql97/xA+cNHeSrfdvL86ulxWhx0q4IQ0XMnZz3wBRjmrwbKxoE2iF6OpcVjznnLF0BVVJe6xP+t8gu3vJ9AOdbOIQAAAABJRU5ErkJggg==",video:"A6BJREFUaEPtmltIFFEYx/9n3aur7holCvbgQ/mQPhn0UhSFQRRG9BBKhikRFaVpWGkXulgYaFpU+OCFkpXAKBcjSxKtXoSEYJXQgogMxSLdbW+zu+6JM7Jgq87suhcd2PP8zcz3+/7nu5yZIZD4IhL3HzGAlVZwgQJlRVRPOct9EJoHiqSVdpB/PoEFlBiJKul0QxuZme/TAoDSfPMTgB5eFY4vcIK0N3boCoUBCmbMqyby/gAElkaDXieiwAxdndGf86qxQ//frllkC8UAIipgTAGh8K5LlSF7sxyZ2QokryXQJct4c/O0F9O/KUZNbpg+evBr0rtslSKiQHpGHPIK1Ni4SR6QY2MjHhgNTox/mw3Ifr5RWAFkMuDAETW25ipBCIHdSmEacmN4yI3JcS8febaYEqnpMmTlKJCdo0B8AgGlFB96XXj+2AlvEIKEDUCjJSgui8eGTXK4XRT9rzi8NXJwOoSDqtYAu/JU2LFHBYWS4MuIBy0NdjhsgVXvsACwyJ+4qOWdn/njRXOdHT+C3A7rM+JQUhEP/RoZD/Hoti0gJcICcLBIjW27Vbzzdy9bYZ4OLHr+2uiSCc7eSOAh3r/h8KzNKZoTIQOwhK24qYXHDdy7Zgs68v4eMiXOXNVCrgDqLtlEEztkgJPVWr7a9HY58fIpJxqxQAz2HlIhd78arDo9rLEJXhISQEqaDFV1iXy1uV5qEUzYY+fiMdDjwtiwR5SBJfaVxiS+OtWU/xXsEyEB7NynRF6BBoMDLnQ0CZebBsPc0DjY78KLdgccdmGO/OMabNmuhNHgQF+3a0njkABY5cnMlqO53sZ3VKHlA/B14s5Wh+A1rIOXlGsxapqrSEutkACq6hKQkhYnKjN7+HwAnzOfBt1gIFbLwqrFxpDq+kRMTcziVoU1MgC1LUlQqQkqj5rhEsnfxQCYVzarF7WVVlj8pnalCrjTqgPnpDhfbFmdAF4vRW8Xh55ODtRPBJUaqG3RwemguFASIYBQthBreu0P7Pj6efEBLipbaLlJzIY7Q5ODL79LragkcbBl1OOm/Nj87vXSZdEHFJUyGkwjKzylQV83h5/fxWflqDUyFi1JjxIMQPLDHIOQ9DjNACR/oGEQkj5S+kqfpA/18xuSZF+r+HdV1ieycoRfbA0PeTA1Id4bIjJOix6tomAQ0nkgCv6JPiIGIBqiCBuIKyD9T0wS/8gn+c+sEd7CYb997FeDsIc0yBtKXoF/vDuJT96PcI8AAAAASUVORK5CYII=",xls:"BF1JREFUaEPtmn9sE2UYx7/vtds6F8aCoIGJEhXFJbM917XrRNQJExSGTPiLqSFoQgaiI/5h8BdGNIpo0KKY+IdTQMXEoEsGAotm4ceAKS2g4cfKOsaarVu3dW0n3br1NW9htUe33d3Cbdek71/Ne8899/m8T/vek7sSJPggCc6POAGbzZYVHCBWUFpCgUwlBQkhvQAOpJDUdUZjTutYrhUnUFdv30kpLRtLsrGeQ0CcXBp5wqzXO+XmiBc4aethK2/IfQDpujS5+WTFh0IDuOBwwh/oBQFxpXDcfKPxwfNyksQJHDtpoyyBJd8gJ8+YY8PhMM43ONHj8wMEHVotik08b5eacMIFGGiYUlx0ONHt9QGEeDmOLCrI0x+XIqEKAQZKKdDQ2ITOLi+TCGg4stScp/9dTEI1AkOgl5zNaPd0ASBBDUeXm4189WgSqhNgsM5mF9rcHSAEIXCkzJJn+GkkCVUKMNjmlla4Wt3s4yAH8lKByfDNcBKqFWCwTICJEEIoCF6xGA3WGyVULcBg29weNF1xgVIKokGZJY/fHSuhegEG6273oPFyC/tNOCz5/OyEE2DAdfXX7m2FJl6w6AlRgaTASHvwljM/YtNflYLD86brsX/hh6w5iztt06lvseX0D4L5jYaVeJN/TuyGq9xX6Nmad7D/ygkBAANiYLHjoOtPLDv0VmQ3GRqLZprx8/x3ReEV/Qp5+wMorFqHJn9bFETDaSJVmHt7bmTO1etBQVU5OoO+aMw9mTNwZIkVk1MzJlaAXd3e6UDRvg0IDvRHYbIzpuL40i8jgAv2vYYT7eeixzJSdKhd/Blysu6SBK9oBYYIKi/+hvKj2wRAC2eacG9mNrb/s1cwv+vxjSidNU8y/LgIsIusOfIpvms4OCpYRe4KvG9cLQt+3AT6BkN4rPpVnO68NCxg0YyHUFW8GRzh1CnAqJoCbbD8uhY9/eyBw//jtvQsnFr2NaakTZINP24VGOkHzeYJIdi74D0UZxvVK9B9fUu9HLOlxtLeqstEXckXuCNjmmwJxXshCorSQ2/jQEu9YLu8OtCPMA1H50zT5qDm6U+gJRpZEooLfGDfjc22nQKoykdfx9/dTmw9s0cwvzbnGXxsXqMeAdYmsNWPXekX7nsSOx6uwCANo6i6AvUdF264F7yB0lmPSJZQrALNAXeklejq80dh5mTdiaMlVqRrrj3ZYzuT+Zdy+EP/RmMmpdyCYyXbwVoKKUMRAbbvsxbC5mmIMqRr03B4yedxbcKexj+wqvYjAWvulLtRu3gbdJpUUQdFBFjrwFqI2GEtXI/V9z81LNCLh7fie0eN4Njzs4vx1dwNEyMgetWbGKBIBW4in2iqpIDoEikckKyAwgssmj5ZAdElUjggWQGFF1g0veQK1I3ja1ZR6usBV4N9sJ89x571+SwmfnLseap40S1VhBCyy5JvEDyHnNC/GkgGB3wgpEqnpS/zPO8dtQJSk6olLuH/rfIfRy5PT3h4uJwAAAAASUVORK5CYII=",xxx:"AitJREFUaEPtmjFv01AUhc99SWlZgD/BAFKJn+IkNSuoEku7dAwjG4gf0x/AACwdkRhYGAlqB0dioLRp3aaN0rShpGkrgtLmoieEBARcO1ektvQyWcq7x+c7x5YlPxNS/qOU+8cQgO/7N3pntAjmOQau/U9AIjoF8GaCrjx23dvNUc41BFBZqT5n5vIoYqPOEChQk3SvlMsFcTWGAZb9I5O8M30LV6cm4+rFWt/vn+FTLcDxySkI1JhQ6r7r3lmNIzIE8G7ZZyPgFZw4OiOvHQwGWF0PcNQ9BggH2Sxmi1pXowpeOoAxOmDGWi3Al04XIOooRQ9m8rn3USASAWCMMgPrm1v4fNgxECcZRfOlfO7tRRCJAfhpdCOoY799CIB6GcULJVe/DoNIHIAxG9Qb2GsdgAh9KCp7eWfpXxCJBDBm67tNNJotc3iuQI9mis6zv0EkFsCYNQAGhIgYhKee6yz+CZFoAGN2r9XG1k4DzAzKoOzl9ctfIRIPYMy29tvY3N4190TNK+ibqQMwhisrP55td4v6t9BT0YAFuOhpOI7/7SU0jpTDzmEbsA0IE7CXkDBA8bhtQByhUMA2IAxQPG4bEEcoFLANCAMUj9sGxBEKBWwDwgDF47YBcYRCAduAMEDxuG1AHKFQIHIDlTFus0Zl+tr7huqHj2ZXvusV9fXQt9OXsdEdFYSIXngF52EowDg/NYhsHOiC6NVUlp9orTuhAFFFk7Iu9V+rfAfNzYdAB6N0dAAAAABJRU5ErkJggg==",zip:"AodJREFUaEPtmrFu01AUhv/jpLQsgISEeIEOIJXYxElqJqQiBAtdGMPIBuJh+gAMwMIGEhIsiIlUrZAjdaDQUJfQKHWTljRtRVBKLrqlKa6TONchdmzhrDn33PPd/z8njq4JIf9QyOtHB4Cu6+caBzQHxu4w4IyXgES0D+DNGJ16oKqXy4Ps1QGQW8w/YYxlB0k26BoCGdI4zWQSCcNtjk6ABX2Hn7w8dQmnJ8bd5juMf/H63fG62VvXe+ZoNg/wqWBgd28fBCqNSdINVb2y7GbTDoD3CzrjCbSU7CbPiVhRAL6o1WphecXATn0XIFTicdxMK0pedPORAxxCMIbPBQPfa3WAqCZJdHs6mZgXgfAEwLqxqBqMASura9jarnGIvZhEs5lk4m0/iMAAtAv9YhSxWd0GQI2YxO5mVOWVE0TgAHixRrGEDbMCIjQhUVZLys97QXgCIGobp5MtrpdRKps85JcEuj+dlh93iw8sAC+WA3AQImIgPNJUec4OEWgAXuyGWcXatxIYY6AYslpSeWaF8ARgkCnkZCdzs4rVr+u8JwpaSpkMHQAvOLf457ftWlo5ceihUMB3gGFMIbulfFUgAujS0b4qMOwp5HsPRACjtND8hyWYla3jEpz+kfV7VLZ+71sPWCcQLyACOJJhZApYbfAvakQAog1n74FIgagHRL1zFBdZqMeB+T6FrCOzrUqoxmgEYLOS7xbqZuVQWMj+NNoGuXjhPDJXp1zOtL/hvikwcIV9FkYAXp2saN5IAdGT8iru/1EgN4Rr1mGr8KPxE/mlj/xWvq6llbPW/IG46BYFJqKnWkq+5wjg56sGwoUDdRC9nIizh4qi1BwBRJMGJS70b6v8Bpsw+UC6csnIAAAAAElFTkSuQmCC"},WJ=["image/gif","image/jpeg","image/pjpeg","image/png","image/bmp","image/x-windows-bmp","image/x-icon"];function jJ(e){let t=HJ[e];const i=SYNO.SDS.Drive.GetWindow().getNavigation&&SYNO.SDS.Drive.GetWindow().getNavigation();return i&&"folder"===t&&"backup"===i.getCategory()&&1===i.getPath().length&&(t="computer"),t||"xxx"}var UJ={SYNODOC:$J,SYNOSHEET:FJ,SYNOSLIDE:VJ,browserDisplayImage:WJ,getMappingType:jJ,getMappingTypeCss:function(e,t){return SYNO.SDS.formatString("syno-d-start-ntype {0}-s{1}",jJ(e),t)},getIcon:function(e){return SYNO.SDS.formatString("{0}.png",jJ(e))},getBaseURL:function(e){const t=SYNO.SDS.UIFeatures.test("isRetina"),i=e||16;return SYNO.SDS.formatString("webman/3rdparty/SynologyDrive-Drive/images/_Asset/FileType/{0}",t?2*i:i)},hasThumbnail:function(e){return-1!==RJ.image.indexOf(e)||-1!==RJ.video.indexOf(e)},getFileTypeIcon:function(e,t){return`${e}-${t}`},getDefaultIcon:function(){return"scripts/ext-3/resources/images/default/s.gif"},isImageMime:function(e){return-1!==WJ.indexOf(e)},getBase64Img:function(e,t){const i=jJ(SYNO.SDS.Drive.Utils.getExt(t));return`iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAA${"dir"===e?zJ.folder:zJ[i]}`},getSynoDriveBase64Img:function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAzESURBVHgB7VxdbBzVFT539sdrr3e9tuM6BscxakRIKlARD6UVD+kDfarKS6GAgErNQ5qU0vahVCKBxioEUZCAFGgaKYIqFVLJS6X0oT+qlIRIVdQmpRQSSPNjx043iZ1k/bde27tze86de+dv52dnbBTWymdd3fnb67nfPefcc86dGYCbuImbuImbCANr4LxZOOdh1zcMDW4M3J3RVNm5c6faTrjq5KZNm5JUu7ZT99xzT3Ljxo0p2qZjjLGk/I36P0u60VBgJwD/KV3LZQcAay5/z13tsAcffBAOHDgAslbn6DrAzmjHjx93/O9169axgwcPrl1YWBDHVq9evZbq1tZWUWuaVsB/X6DtZDI5II91YFWgGs91iAYZo+tL2M4fz50794sNGzacw/2a+t9xwBq8RsMRY4cOHbKPCDt16pToVDqd5l1dXYPuTiUSCbr5gupAQKeWHTiokydOnLh3y5YtZ3FAqrAEkoLASJSPHfvg9olS+fC1qcp1LJxKM2BxcfHI4OBgRqrjstklkxxUkcTRf/x7/dXJckkR00wE6bpewn6QagqSyDzw5TLg0tZkrlybOegmp1kIIsBvznD29uiI9s7/nsf+pCHixBTEZqKnp6f107Oj014nO3Mt0AzQ9p4FaGkThXF4Wn+08DoerhJ5aP9C7VIQm9r4+HgCmhxc/BkWmre0bu/t7U2humnGpBwOP4LUbHWj/KRlBLPUBGfOcrmcwdmYSBL+FQ+xSb4EoOMFKwFMShCBav3hf020bx375J8b392Ju8mHHnpIOZSeSPqdOHnyJHR0dECzw25kmDqiaQOQbNuee+ra1IHdXa+BcJuEM1xnk4JUiE9OTkKzg9mFQxkORUM6+0xfX5/wkfwMdpCKsZUmQVzsMJtCsY5isSjiNj9bFKhiKwpmRMgVUwrCWPvNaoEqBisG3NYbkiAHGQyDZXmiHr4ShFE3yKg7Ft4ZvwRPXS5CKp2UiQfdGCtSdZRmzjWj1g3DIGp1TB3HeiCVhncHeuGu1jTEgWFymMULizbuvhI0NzcX2waVqlUYGh2G2Vl0wqmjOojOitqEdN+8Eia2/NfIQhUeGb4CcaHoYNxmg7glRPl8Hs6cOeM7zfsShGmL2LPY0NgwDM9XAINFJLpskCMLo5pZ5DCzNrojOmG3Ebh5YaEGuy7FuxezXfe+U5CUs10HX4JQvWJFvUTMa8Uxc78yPwd6jUtJslTHGEEpQeKGDTFiXpKEp968MgOTtThm0Sme4v8wa/KfmpoSmxice/Y3zEhHJunrH3/gbARvqDw3a6mazlwtG52WCUuHGhiFCRsyWdXh6bESxIGZ5RMbzGGzUcXEpsyQ1iEs1oo0ZK+j5JAEubGwUAFMXtWRxExVs6mcx5Aw2cXfjZfh/ekFiAIOLv3h3G/YI0tQZOmxq5Ybc5VZVC/NVDVRmI0UIUDOwIBLu8V1AJXbf+HiDEQCt0kQSEn14AglyPPnvtN8HLBVWejSW8GaJqQsy+03ulfDI+1dgW1cQEl79MIl+LBclcNuJ4rBkclF2D9egcd7MtDQPeH/5sw0dXIBQmk5IxskrvMjaFmj+acLq00fhwuDrDm2n7lahEm9FtjGQCqFfk8f5BNGkK0kRxl3auen52fRlWhM+2n+Ytxt9uzxvVhVsXZc8CUoTqjx/XwPfK0lZ6gSOX26UbisaRbaM3k1tJ2BVBK2dXVIYi0nUmxjXcLVoTcuzkNjsBIehkDaFc6A9INizWKRsau7T3ZGMyUIlCTVNPj1tetwoboY2s4PevJCmgwHU0ljwiR899gijFQauUXujOhd3SJHEQL6uuwZwztbMvCzzi+YBJnkyLqEUrStWAxtpwNV7Jf9nYJUrieM39dk0Q0p2nyqESlirkq57o3hM0mpbi10wUAibRKjRl2Vo7MVOFqeC23nm4UM3NeeQVKQoFrSqPWESdihqxwOX9cD21Ces2WEuMOXICMdywYRUPxiedM0+m+t7nOQAq5668XG4qtXBnOgV1NYEoIgvZaQhKG6Yfneh7XQNhzxmHBC67ng3FuqfAmiaB7ZjWWHCPdlW2FbZ8GTJCoj8zV48cr10HbuyibgyVtQigRJKawtgnSUpPOzGgz91/82pZ8O9srDSPv+PigWg6ViW7eTIDdJb45PN9TOc7chOYtETtIqgiSjvdfOhQu6ww/18tZjJMyWDOHi24gB13YHa2zZrUST3qJmlCoV7EwNzW3NqDtDeyFXx3x4lDbIE4E5aVgiXixOOYhxl209jeWbdn+KfcMQjCFRDB1sRmaHnteoGeVHtwX9mpuxHKhUirdGRs5Jx7Y/hCPT87B/omI4jPZbkK2ubUmgr9Me2s4Ihl6/+gh/qh6rMhxq098bzCJB64Lb4PbkHIs27oFGeimrGlvOTUmfRYYeducRjz3Tl2+onc2HbZIjpcdentvQSCs2CVK7NpAnHTlYpZRr3IziC2OzMDzHxbAzFGkug1UVEz3e0waPrWoNbWf/JwDvj2IzCTBcGSlFTErSE18E+O5twW0wI2epdqQrVKccPHI+iFQsjgSNzOvw/GjZjMUoPBCxFDl3FCrg8e392dB2SugkP3/MyPWTnaFaFWF7sH72ztBmzDgMbMkFtwjFWtWIi2/8Z1J4uur2DGhmuLhjICvsTxjeOIFkUwLRfqkyJcj9s19G+xNuwsDst2MS4w42pB8UTYLIBkUFRdjDc2BF4CqGkvsDuAT0ZF94HmcENfuFv8tEo25LOMr9tSiAP4yYjTHnB26L7CVIgvw86UAbBBGxe2zBmNYllDirMGjHmjYoJIObJXK+8wcAR55Ut+WUEc/eDVCItEzGgVspxbqzZKSHhoY8o1i/u6XjRF77tanKNa8LvJ4w63zyApTK3sGjlkhCtrvfmEzUAyeaZXgddcKYytUT0tx27Vqc/E4/Bg2D7UX1ackCk0+Ztf1pBFgK95O4n2qD6VfS3XgZrioAuaN1Nx+Yky4UCpF8oZ8/UPA910bZRjs5foVgT/jZCqnYXx+AiLBbHjDb5n4XueD7hBmlXEulUiQ1+/H9edi0vt7GpDLtOGJJ6zaURLhb5/V3bK8fX48SlIOIMNjl7kOui6LmpLn0pCNJEMEtRaRa6faC6QE7lxjAOg7gKUFcSs4Azlg7vgKRUTfCLhtEGUUy0pH9IDmLRTbUm+7ICElSIOnRUHrc5HBr9pU37mrIpWZPbIgjPUbDjpSrx2wVO90RN9QgKRrsTprSI1dvPCWGuaVGXauOccMwb78XYsHRLKs/o5Z9IGrSnqL5uKFGoU2DtzevMshxqVSdJIFz3zpoHFqLY/Tet2AJ4NaqhkN4jH8ok/bGhR7w9YPo6Q5YAkjV5l6FzwlsGUUVF8pDtoVD5mWHAp8PghUC5ggtDLfVbYoiG+mlStDnBcxa15DxGKuzNrEyivR80Ep4ytWANY/ZYy6uV0exj5zed4uzqrEiJIhQn/2RRrs88R5ORDXy+SI/J71SbBB3Re9i9UKvTeuT54dm9wy81NfXR9lt39XHwIQZrAAwZuUUacRn9q5bX/vt+i+V37n7rVWrVlWKxWLVz0Cr3/gdJxcgS69hel3QXO+LtYqIHpLpscwT3feidtC6Nz2qRov7Mj/p83u/EzJpz3S9NgVNDEfEMjXxe0kOlXlUv0D1ImhB7aIB0xcWqh9BE0O4hWhztCsjQ7B54CUwpIbeOKw28sZhkCEmFcvs2bPvjm8//PDfNC3hWKdpFhVDEm5Hn66STCbnWlpa5icmaLEOluU1cSKPkjtdL7/86lfPj175S7O91Ds9Pf1nvP9b0FR0Yk1LKfRlhkhvPrOQc4ne3t6Wy5cvE1EtmUxGvDpUqVQAR0PDPO4tuq6zNWvW5HFGyNN2f3//rVR3dXWJGn+TSyQM6cORvJVqHM08HsvRBwaohs8A+L+n9u7de//WrVtP4y5JDaVUZdq/cQQyycWLwWLZTnwjA+TrKLYCuVyO4UiZ+9lsVoxQuVzm9muRHGbYx7qUGUHbtWtXP224yaZjmPoV55DYjlQqlcOSx+2cPOYgu1arTc/Pz3+8b9++n+zYseM0BqNqxgp/kCgqQTbYVsatgh1gY2NjfHBwEIaHh8UxdLygaDxix3p6ekT74+PjDlKww0ylc+khLfk6gHm+vb2dzczMeBKp9olw2pAOrSgorRylW8dBWpydnV3AeyE/Z5E3aJCXCnET3Pm1Fvu2WIOwfb1FHPP4Yov4Sgvmm2jhJi1rsvgZWVplaUP1JrvRRgXJpmXCnCqowvnOzk7xLRAsnarIY3RtBl2VFMTIit5IMHeRhIra/mkcuW3/RI5S9SR1XBEvSUjLYn4ix9bGkm+4WeF37ysmyL6JlYD/A7usbt4lJX37AAAAAElFTkSuQmCC"}};function GJ(e,t){const i={...SYNO.SDS.Drive.WebAPIDesc[e],params:t};return synowebapi.promises.request(i)}const qJ="label",YJ="shared_label";var KJ={mixins:[OJ,{methods:{getDriveLoader(e,t){return GJ("list_files",{path:e||"/mydrive",sort_by:"name",sort_direction:"asc",filter:t})},getTeamFolderLoader(){return GJ("list_team_folders",{sort_by:"name",sort_direction:"asc"})},getSharedWithMeLoader(e){return GJ("list_shared_with_me",{sort_by:"name",sort_direction:"asc",filter:e})},getStarredLoader(e){return GJ("list_star_files",{sort_by:"name",sort_direction:"asc",filter:e})},getlabelsLoader(e){return GJ("list_labels",{filter:e})},getSharedLabelsLoader(e){return GJ("list_labels",{filter:e,type:"shared_label"})},getLabelledLoader(e,t){return GJ("list_label_files",{label_id:e,sort_by:"name",sort_direction:"asc",filter:t})},parseNodeAttr(e,t,i,n=!0){if("label"!==t&&"shared_label"!==t&&i.capabilities&&!i.capabilities.can_write&&!i.capabilities.can_preview)return!1;let{name:o}=i;if("label"===t||"shared_label"===t){const n=i.color.split("#")[1];e.id=this.getNodeId(t,i.label_id),e.color=i.color,e.icon=`label-icon-${n}`,e.expanded=!1,e.readonly=i.permission===YZ.PERMISSION_READONLY}else e.id=this.getNodeId(t,i.file_id),e.file_id=i.file_id,e.display_path=i.display_path,e.team_id=i.team_id,e.text=i.name,"file"===i.type?(e.permanent_link=i.permanent_link,e.properties=i.properties,e.encrypted=i.encrypted,e.icon=String.format("syno-d-start-ntype {0}-s16",UJ.getMappingType(SYNO.SDS.Drive.Utils.getExt(o))),this.disableTreeNode(e),o=SYNO.SDS.Drive.Utils.parseDisplayName(o)):(e.icon="drive-folder",e.expanded=!1);return e.name=o,e.title=o,e.type=i.type,e.selectable=n,"/mydrive/Photos"===e.display_path&&SYNO.SDS.StatusNotifier.isAppEnabled("SYNO.Foto.AppInstance")&&(e.icon="folder-photo"),!0},getNodeId(e,t){return`${e}:${t}`}}}],props:{title:{type:String,default:""},synoId:{type:String,default:"dialog-tree"},hasCreate:{type:Boolean,default:!0},cb:{type:Function,default:void 0},selectedCallback:{type:Function,default:void 0},params:{type:Object,default:()=>({})},selections:{type:Array,default:void 0},createAction:{type:Function,default:void 0},createFolderCb:{type:Function,default:void 0},filter:{type:Object,default:()=>({type:["dir"]})},createActionIconCls:{type:String,default:"bt-create-folder"},createActionTooltip:{type:String,default:()=>_T("filetable","filetable_create_folder")}},data(){return{isMounted:!1,folderBtnDisabled:!1,cancelBtnDisabled:!1,confirmBtnDisabled:!1,hasTreeData:!0,confirm:this.onApply,cancel:this.onCancel,defaultSelectId:"node"}},computed:{noSelected(){return!this.isMounted||0===this.$refs.tree.getSelectedNodes().length}},created(){const e={id:"node",title:this.$T("category","node"),expanded:!0,selectable:!0,children:[]},t={id:"team_folder",title:this.$T("category","team_folder"),expanded:!0,selectable:!1,children:[]},i={id:"shared_with_me",title:this.$T("category","shared_with_me"),expanded:!0,selectable:!1,children:[]},n={id:"starred",title:this.$T("category","starred"),expanded:!0,selectable:!1,children:[]},o={id:"labels",title:this.$T("category","personal_label"),expanded:!0,selectable:!1,children:[]},s={id:"shared_labels",title:this.$T("category","shared_label"),expanded:!0,selectable:!1,children:[]},r=this.getDriveLoader(void 0,this.filter).then((t=>{const i=t.items;e.children=this.parseNode(i,"node")})).catch((t=>{e.children=[];const i=SYNO.API.Util.GetFirstError(t);1027!==i.code&&(this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(i)),SYNO.Debug.error(i))})),a=this.getTeamFolderLoader(this.filter).then((e=>{const i=e.items;t.children=this.parseNode(i,"team_folder")})).catch((()=>{t.children=[]})),l=this.getSharedWithMeLoader(this.filter).then((e=>{const t=e.items;i.children=this.parseNode(t,"shared_with_me")})).catch((()=>{i.children=[]})),d=this.getStarredLoader(this.filter).then((e=>{const t=e.items;n.children=this.parseNode(t,"starred")})).catch((()=>{n.children=[]})),c=this.getlabelsLoader(this.filter).then((e=>{const t=e.items,i=qJ;o.children=this.parseNode(t,i)})).catch((()=>{o.children=[]})),u=this.getSharedLabelsLoader(this.filter).then((e=>{const t=e.items,i=YJ;s.children=this.parseNode(t,i)})).catch((()=>{s.children=[]}));(async()=>{if(await Promise.all([r,a,l,d,c,u]),SYNO.SDS.Drive.Define.Info.is_home&&(0===e.children.length&&this.disableTreeNode(e,!0),this.treeData.push(e)),t.children.length>0&&this.treeData.push(t),i.children.length>0&&this.treeData.push(i),n.children.length>0&&this.treeData.push(n),o.children.length>0&&this.treeData.push(o),s.children.length>0&&this.treeData.push(s),0===this.treeData.length)return this.hasTreeData=!1,void this.setConfirmBtnDisabled(!0);this.$nextTick((()=>{void 0!==this.selections?this.onTreeDlgGotoPathForDrive(this.selections):this.onTreeDlgGotoPathForOffice(this.params)}))})()},mounted(){this.isMounted=!0},methods:{setConfirmBtnDisabled(e){this.confirmBtnDisabled=e},onSelected(e,t){this.selectedCallback&&this.selectedCallback(e,t)},onAction(){const e=this.$refs.tree.getSelectedNodes()[0];this.cb(e.file_id,e.text,e)},async onLoadTree(e){const t=e.id.split(":")[0];try{let i;if(t===qJ||t===YJ){const t=e.id.split(":")[1];i=await this.getLabelledLoader(t,this.filter)}else{const t="node"===e.id?"/mydrive":`id:${e.file_id}`;i=await this.getDriveLoader(t,this.filter)}const n=i.items;if(0===n.length)return this.disableTreeNode(e,!0),null;this.disableTreeNode(e,!1);return this.parseNode(n,[qJ,YJ].includes(t)?"labelled":t)}catch(e){return SYNO.Debug.error(e),Promise.reject(e)}},parseNode(e,t){const i=[],n=t!==qJ&&t!==YJ;return e.length<=0?[]:(e.forEach((e=>{const o={};!1!==e.display&&!0===this.parseNodeAttr(o,t,e,n)&&i.push(o)})),i)},disableTreeNode(e,t=!0){e.customClass=t?"disabled-node":"",e.expandable=!t}}};d(8222);var ZJ=(0,uJ.Z)(KJ,[["render",function(e,t,i,n,o,s){const r=Bi("v-tree-panel"),a=Bi("v-layout"),l=Bi("v-icon"),d=Bi("v-button"),c=Bi("v-panel"),u=Bi("v-modal-window");return jo(),Zo(u,{ref:"win",width:"480",height:"446",title:i.title,beforeClose:e.beforeClose,synoId:`${i.synoId}-window`,onKeypress:Ur(o.confirm,["enter"])},{default:Ii((()=>[is(c,{layoutType:"content",tbar:!1,fbar:!0,synoId:`${i.synoId}-panel`},{body:Ii((()=>[o.hasTreeData?(jo(),Ko("div",DJ,[is(a,{type:"tree.selector"},{default:Ii((()=>[is(r,{ref:"tree",data:e.treeData,"onUpdate:data":t[0]||(t[0]=t=>e.treeData=t),asyncExpandFunc:s.onLoadTree,horizontalScroll:!1,synoId:`${i.synoId}-panel`,onKeypress:Ur(o.confirm,["enter"]),onSelected:s.onSelected},null,8,["data","asyncExpandFunc","synoId","onKeypress","onSelected"])])),_:1})])):(jo(),Ko("div",LJ,[ts("div",AJ,[ts("span",null,ce(e.$T("file_request","tree_no_data_hint_1")),1),ts("span",null,ce(e.$T("file_request","tree_no_data_hint_2")),1)])]))])),fbar:Ii((()=>[i.hasCreate?(jo(),Ko("div",EJ,[is(d,{display:"icon",tooltip:i.createActionTooltip,disabled:o.folderBtnDisabled||s.noSelected,synoId:`${i.synoId}-fbar-create-folder`,onClick:e.onCreateAction},{icon:Ii((()=>[is(l,{class:"v-tree-node-icon",name:i.createActionIconCls},null,8,["name"])])),_:1},8,["tooltip","disabled","synoId","onClick"])])):ls("v-if",!0),ts("div",MJ,[is(d,{type:"footbar",suffix:"cancel",disabled:o.cancelBtnDisabled,synoId:`${i.synoId}-fbar-cancel`,onClick:o.cancel},{default:Ii((()=>[rs(ce(e.cancelText),1)])),_:1},8,["disabled","synoId","onClick"]),is(d,{type:"footbar",suffix:"main",disabled:o.confirmBtnDisabled||s.noSelected,synoId:`${i.synoId}-fbar-commit`,onClick:o.confirm},{default:Ii((()=>[rs(ce(e.confirmText),1)])),_:1},8,["disabled","synoId","onClick"])])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId","onKeypress"])}],["__scopeId","data-v-0c3ed8fe"]]);const JJ={class:"pull-left-padding"},QJ={class:"default pull-right button-region"};const XJ={class:"adv-item-wrapper check-box-item"},eQ={class:"adv-item-wrapper"},tQ={class:"one-row"},iQ=["innerHTML"],nQ=["innerHTML"],oQ={class:"adv-item-wrapper"},sQ={class:"one-row"},rQ={class:"adv-item-wrapper"},aQ={class:"adv-item-wrapper"};const lQ=new Date(24*Math.pow(10,6)*60*60*1e3),dQ=(e,t,i)=>{const n=new Date;if(t.getFullYear()<n.getFullYear()||n.getFullYear()===t.getFullYear()&&sJ.getDayOfYear(t)-sJ.getDayOfYear(n)<1){const e=(void 0).$T("share","date_period_error"),t=SYNO.SDS.formatString(e,SYNO.SDS.Drive.Utils.getFormatDate((void 0).getDefaultDate()));return i(new Error(t))}return i()};var cQ={props:{synoId:{type:String,default:"advSharePanel"},findAppWindow:{type:Function,default:void 0},name:{type:String,default:""},type:{type:String,default:""},path:{type:String,default:""},advSharingLinkCB:{type:Function,default:void 0}},emits:["set-ok","set-error","set-busy","set-status","clear-status","show-remove-msgbox","open-modal-window"],data(){return{hasPadding:!1,copyInputReadOnly:!0,createLinkReadOnly:!1,skipAdvSharingCheck:!0,sharingLinkInfo:{},showShareLinkByEmail:!1,showAllowDownload:!0,allowDownloadReadOnly:!1,roleBtnReadOnly:!1,linkRoleOptions:[{label:this.$T("perm","public_ro_desc"),value:"viewer"},{label:this.$T("perm","public_commenter_desc"),value:"commenter"},{label:this.$T("perm","public_rw_desc"),value:"editor"}],passwordReadOnly:!1,passwordRules:[{trigger:"blur",required:!0}],minTime:this.getDefaultDate(),dateFormat:SYNO.SDS.Drive.Utils.getDateFormat(),linkExpireReadOnly:!1,linkExpireRules:[{trigger:"text-changed",validator:dQ}],protectLinkReadOnly:!1,shareMailReadOnly:!1,apiData:{},originalForm:{},formValues:{enableCreateLink:!1,linkRole:"viewer",enableAllowDownload:!1,enablePassword:!1,password:"",enableLinkExpire:!1,linkExpireDate:this.getDefaultDate(),protectLink:""}}},computed:{privacyLinkRoleBtnText(){switch(this.formValues.linkRole){case"viewer":return this.viewerTitle;case"commenter":return this.commenterTitle;case"editor":return this.editorTitle;default:return""}},privacySettingWhitetip(){const e=_S("majorversion");return`<div class='adv-linkrole-whitetip'>\n <p>${this.$T("info_tip","adv_sharing_content")}</p><a target="_blank" rel="noreferrer" href=${`https://www.synology.com/knowledgebase/DSM/help/SynologyDrive/drive_file_management?\n version=${e}`}>${this.$T("info_tip","adv_sharing_learn_more")}</a>.\n </div>`},maxTime(){const e=SYNO.SDS.Drive.Define.Info.sharing_permission.public_force_expiration_days;return e>0?new Date((new Date).getTime()+864e5*e):lQ},whitetipCls(){return"v-whitetip-tooltip complex-tip whitetipTooltip"}},watch:{formValues:{handler(e){this.dirty=!0,e.enableLinkExpire&&(this.formValues.linkExpireDate=this.formValues.linkExpireDate||this.getDefaultDate()),this._checkIfShowAllowDownload(e.linkRole)},deep:!0}},created(){SYNO.SDS.Drive.Utils.isOfficeFile(this.name)||this.linkRoleOptions.forEach((e=>{"commenter"===e.value&&this.hideOption(e)}))},mounted(){sJ.makeCopyable.apply(this,[[this.$refs.copy]]),this.$watch("$refs.scrollbar.yRailExists",(e=>{this.hasPadding=e}))},methods:{getDefaultDate(){return new Date((new Date).getTime()+864e5)},hideOption(e){e.hide=!0},onCopySuccess(){tJ(this,"set-ok",this.$T("share","copy_url_done"))},onCopyFailed(){tJ(this,"set-error",this.$T("error","copy_share_link"))},getSelectedLinkRoleIconName(e){return this.formValues.linkRole===e.value?"menu-item-tick":"menu-item-untick"},isDirty(){return JSON.stringify(this.formValues)!==JSON.stringify(this.originalForm)},async isValid(){const e=[];if(!this.formValues.enableCreateLink)return!0;this.formValues.enablePassword&&e.push("passwordForm"),this.formValues.enableLinkExpire&&e.push("linkExpireForm");let t=!0;try{t=(await Promise.all(e.map((e=>this.$refs[e].validate())))).every(Boolean)}catch{t=!1}return t},onBeforeApply(){return Promise.resolve()},onApply(){return this.formValues.enableCreateLink&&this.isDirty()?this._onSaveLink():Promise.resolve()},initialize(e,t){this.apiData=e,this.showShareLinkByEmail=t.sharing_link_by_email||_S("is_admin"),this._doAction(this._onGetLink())},_onClearDirty(){this.originalForm=sJ.deepCopy(this.formValues)},_doAction(e){return Promise.resolve().then((()=>{tJ(this,"set-busy")})).then((()=>e.promise)).then((()=>{this._onClearDirty(),tJ(this,"clear-status"),e.statusAction&&e.statusAction()})).catch((e=>{SYNO.Debug.error(e),tJ(this,"set-status",SYNO.SDS.Drive.Utils.getErrorStr(e))}))},_showRemoveMsgBox(){const e=['<div class="syno-d-advance-share-remove-title"> {0} </div>',"<div> {1} </div>"].join("");let t="";t=SYNO.SDS.Drive.Define.Info.sharing_permission.public_sharing?SYNO.SDS.formatString(e,this.$T("share","remove_link_title"),this.$T("share","remove_link_desc")):SYNO.SDS.formatString(e,this.$T("share","remove_link_title"),this.$T("share","remove_link_warn_desc"));tJ(this,"show-remove-msgbox",t,(()=>{this._doAction(this._onRemoveLink()),SYNO.SDS.Drive.Define.Info.sharing_permission.public_sharing||(this.createLinkReadOnly=!0)}),(()=>{this._onAdvSharingCheckboxSetValue(!0)}))},_onAdvSharingCheckboxClick(e){this.skipAdvSharingCheck||(e?this._doAction(this._onCreateLink()):this._showRemoveMsgBox())},_onAdvSharingCheckboxSetValue(e){this.skipAdvSharingCheck=!0,this.formValues.enableCreateLink=e,this.skipAdvSharingCheck=!1},_onSetDisabledEdit(e){this._onAdvSharingCheckboxSetValue(!e),this.roleBtnReadOnly=e,this.allowDownloadReadOnly=e,this.passwordReadOnly=e,this.linkExpireReadOnly=e,this.protectLinkReadOnly=e,this.shareMailReadOnly=e,e&&Object.assign(this.formValues,{enablePassword:!1,enableLinkExpire:!1,protectLink:"",enableAllowDownload:!1}),this._checkIfShowAllowDownload(this.formValues.linkRole)},_onSetLinkInfo(e){this.sharingLinkInfo=e;let t=!1,{role:i}=e;i.match(/preview/)&&(i={previewer:"viewer",preview_commenter:"commenter"}[i],t=!0),this.formValues.linkRole=i,this.formValues.enableAllowDownload=!t,this.formValues.protectLink=e.url,this._isForcePassword()&&(this.formValues.enablePassword=!0,this.passwordReadOnly=!0),this._isForceExpire()&&(this.formValues.enableLinkExpire=!0,this.linkExpireReadOnly=!0,this.formValues.linkExpireDate=null),sJ.isEmpty(e.protect_password)||(this.formValues.enablePassword=!0,this.formValues.password=e.protect_password),e.due_date>0&&(this.formValues.enableLinkExpire=!0,this.formValues.linkExpireDate=new Date(1e3*e.due_date))},_onGetLink(){const e={path:this.path};return{promise:this.findAppWindow().getWebAPI().getAdvSharingLinkPromise(e).then((e=>{this._onSetDisabledEdit(!1),this._onSetLinkInfo(e)})).catch((e=>(this._onSetDisabledEdit(!0),e.code&&1036===e.code?Promise.resolve():(SYNO.Debug.error(e),Promise.reject(e)))))}},_onCreateLink(){const e={path:this.path},t={promise:this.findAppWindow().getWebAPI().createAdvSharingLinkPromise(e).then((e=>{const i=SYNO.SDS.Drive.Utils.getFileIdFromPathId(this.path);this.advSharingLinkCB(i),this._onSetDisabledEdit(!1),this._onSetLinkInfo(e),t.statusAction=()=>{tJ(this,"set-ok",this.$T("share","protection_sharing_activated"))}})).catch((e=>{SYNO.Debug.error(e),this._onSetDisabledEdit(!0)}))};return t},_onRemoveLink(){const e={path:this.path,sharing_link:this.sharingLinkInfo.sharing_link},t={promise:this.findAppWindow().getWebAPI().removeAdvSharingLinkPromise(e).then((()=>{const e=SYNO.SDS.Drive.Utils.getFileIdFromPathId(this.path);this.advSharingLinkCB(e),this._onSetDisabledEdit(!0),t.statusAction=()=>{tJ(this,"set-ok",this.$T("share","protection_sharing_deactivated"))}})).catch((e=>{SYNO.Debug.error(e),this._onAdvSharingCheckboxSetValue(!0)}))};return t},_onSaveLink(){const e={path:this.path,sharing_link:this.sharingLinkInfo.sharing_link,role:this._getRole()};return this.formValues.enablePassword?e.protect_password=this.formValues.password:e.protect_password="",this.formValues.enableLinkExpire?e.due_date=this.formValues.linkExpireDate.getTime()/1e3:e.due_date=0,this.findAppWindow().getWebAPI().updateAdvSharingLinkPromise(e)},_getRole(){let e=this.formValues.linkRole;return this.formValues.enableAllowDownload||("commenter"===e?e="preview_commenter":"viewer"===e&&(e="previewer")),e},_isForceExpire(){return SYNO.SDS.Drive.Define.Info.sharing_permission.public_force_expiration_days>0},_isForcePassword(){return!0===SYNO.SDS.Drive.Define.Info.sharing_permission.public_force_password},_checkIfShowAllowDownload(e){["viewer","commenter"].includes(e)&&!this.roleBtnReadOnly?this.showAllowDownload=!0:this.showAllowDownload=!1},openMailDialog(){this.formValues.enableCreateLink&&tJ(this,"open-modal-window",SYNO.SDS.Drive.Vue.DialogMail,{findAppWindow:this.findAppWindow,data:{name:this.name,type:this.type},url:this.formValues.protectLink})}}};d(3554),d(6158);const uQ=(0,uJ.Z)(cQ,[["render",function(e,t,i,n,o,s){const r=Bi("v-checkbox"),a=Bi("v-icon"),l=Bi("v-single-select"),d=Bi("v-whitetip"),c=Bi("v-fieldset"),u=Bi("v-form-item"),h=Bi("v-input"),p=Bi("v-form-multiple-item"),f=Bi("v-form"),m=Bi("v-date-picker"),g=Bi("v-copy-cut-field"),v=Bi("v-scrollbar");return jo(),Zo(v,{ref:"scrollbar",hasPadding:o.hasPadding},{default:Ii((()=>[ts("div",XJ,[is(r,{modelValue:o.formValues.enableCreateLink,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formValues.enableCreateLink=e),disabled:o.createLinkReadOnly,stopPropagation:!0,synoId:`${i.synoId}-createLink`,onChange:s._onAdvSharingCheckboxClick},{default:Ii((()=>[rs(ce(e.$T("share","enable_protection_sharing")),1)])),_:1},8,["modelValue","disabled","synoId","onChange"])]),is(c,{title:e.$T("share","privacy_setting"),collapsible:!1},{default:Ii((()=>[ts("div",eQ,[ts("div",tQ,[is(l,{modelValue:o.formValues.linkRole,"onUpdate:modelValue":t[1]||(t[1]=e=>o.formValues.linkRole=e),class:"share-link-role-btn",displayMode:"html",options:o.linkRoleOptions,closeOnSelect:!0,width:472,disabled:o.roleBtnReadOnly,dropdownOffset:[0,0],synoId:`${i.synoId}-linkRoleBtn`},{"inner-option":Ii((({option:e})=>[is(a,{name:s.getSelectedLinkRoleIconName(e)},null,8,["name"]),ts("div",{innerHTML:e.label},null,8,iQ)])),_:1},8,["modelValue","options","disabled","synoId"]),is(d,{class:"link-role-whitetip",disabled:o.roleBtnReadOnly,synoId:`${i.synoId}-privacySettingWhitetip`,tooltipOptions:{cls:s.whitetipCls,disabled:o.roleBtnReadOnly},content:!1,mobileBreakpoint:!1},{default:Ii((()=>[ts("div",{innerHTML:s.privacySettingWhitetip},null,8,nQ)])),_:1},8,["disabled","synoId","tooltipOptions"])])]),ts("div",oQ,[ts("div",sQ,[o.showAllowDownload?(jo(),Zo(r,{key:0,modelValue:o.formValues.enableAllowDownload,"onUpdate:modelValue":t[2]||(t[2]=e=>o.formValues.enableAllowDownload=e),disabled:o.allowDownloadReadOnly,synoId:`${i.synoId}-allowDownload`},{default:Ii((()=>[rs(ce(e.$T("share","allow_download")),1)])),_:1},8,["modelValue","disabled","synoId"])):ls("v-if",!0),Xi(is(d,{class:"disableDownloadWhitetip",transitionTime:[0,200],tooltipOptions:{offset:[0,27],cls:s.whitetipCls},content:!1,mobileBreakpoint:!1},{default:Ii((()=>[ts("div",null,ce(e.$T("share","disable_download")),1)])),_:1},8,["tooltipOptions"]),[[lr,o.apiData.disable_download&&o.showAllowDownload&&o.formValues.enableAllowDownload]])])])])),_:1},8,["title"]),is(c,{title:e.$T("share","password_field_title"),collapsible:!1},{default:Ii((()=>[ts("div",rQ,[is(f,{ref:"passwordForm",direction:"horizontal",model:o.formValues,synoId:`${i.synoId}-passwordForm`},{default:Ii((()=>[is(p,{class:"multiple-item",hideLabel:!0,synoId:`${i.synoId}-passwordComposite`},{default:Ii((()=>[is(u,{class:"checkbox"},{default:Ii((()=>[is(r,{modelValue:o.formValues.enablePassword,"onUpdate:modelValue":t[3]||(t[3]=e=>o.formValues.enablePassword=e),disabled:o.passwordReadOnly,synoId:`${i.synoId}-enablePassword`},{default:Ii((()=>[rs(ce(e.$T("share","enable_password")),1)])),_:1},8,["modelValue","disabled","synoId"])])),_:1}),is(u,{class:"input",prop:"password",rules:o.passwordRules},{default:Ii((()=>[is(h,{modelValue:o.formValues.password,"onUpdate:modelValue":t[4]||(t[4]=e=>o.formValues.password=e),name:"password",type:"password",class:ne({"compact-input":!0,"syno-d-extra-disable-icon":!o.formValues.enablePassword}),disabled:!o.formValues.enablePassword,mobileBreakpoint:!1,synoId:`${i.synoId}-password`},null,8,["modelValue","class","disabled","synoId"])])),_:1},8,["rules"])])),_:1},8,["synoId"])])),_:1},8,["model","synoId"])])])),_:1},8,["title"]),is(c,{title:e.$T("share","expire_field_title"),collapsible:!1},{default:Ii((()=>[ts("div",aQ,[is(f,{ref:"linkExpireForm",direction:"horizontal",model:o.formValues,synoId:`${i.synoId}-linkExpireForm`},{default:Ii((()=>[is(p,{class:"multiple-item",hideLabel:!0,synoId:`${i.synoId}-linkExpireComposite`},{default:Ii((()=>[is(u,{class:"checkbox"},{default:Ii((()=>[is(r,{modelValue:o.formValues.enableLinkExpire,"onUpdate:modelValue":t[5]||(t[5]=e=>o.formValues.enableLinkExpire=e),disabled:o.linkExpireReadOnly,synoId:`${i.synoId}-enableLinkExpire`},{default:Ii((()=>[rs(ce(e.$T("share","enable_expiration")),1)])),_:1},8,["modelValue","disabled","synoId"])])),_:1}),is(u,{class:"input",prop:"linkExpireDate",rules:o.linkExpireRules},{default:Ii((()=>[is(m,{modelValue:o.formValues.linkExpireDate,"onUpdate:modelValue":t[6]||(t[6]=e=>o.formValues.linkExpireDate=e),align:"tr->br",dateFormat:o.dateFormat,class:ne({"syno-d-extra-disable-icon":!o.formValues.enableLinkExpire}),minTime:o.minTime,maxTime:s.maxTime,disabled:!o.formValues.enableLinkExpire,editable:!0,dropdownOffset:[0,2],showResetButton:!1,showTodayButton:!1,synoId:`${i.synoId}-linkExpireDate`},null,8,["modelValue","dateFormat","class","minTime","maxTime","disabled","synoId"])])),_:1},8,["rules"])])),_:1},8,["synoId"])])),_:1},8,["model","synoId"])])])),_:1},8,["title"]),is(c,{title:e.$T("share","protect_link_title"),collapsible:!1},{default:Ii((()=>[is(g,{ref:"copy",modelValue:o.formValues.protectLink,"onUpdate:modelValue":t[7]||(t[7]=e=>o.formValues.protectLink=e),type:"copy",readonly:o.copyInputReadOnly,disabled:o.protectLinkReadOnly,synoId:`${i.synoId}-copycut`,onActionSuccess:s.onCopySuccess,onActionFailed:s.onCopyFailed},{icon:Ii((()=>[is(a,{name:"copycut-icon"})])),_:1},8,["modelValue","readonly","disabled","synoId","onActionSuccess","onActionFailed"]),o.showShareLinkByEmail?(jo(),Ko("div",{key:0,class:ne(["syno-d-share-email",{"x-item-disabled":o.shareMailReadOnly}])},[ts("span",{class:"syno-d-text-btn syno-d-share-email-text",onClick:t[8]||(t[8]=(...e)=>s.openMailDialog&&s.openMailDialog(...e))},ce(e.$T("share","mail_protection_link")),1)],2)):ls("v-if",!0)])),_:1},8,["title"])])),_:1},8,["hasPadding"])}],["__scopeId","data-v-b96e01ba"]]);var hQ=uQ;const pQ={key:0,class:"syno-d-share-email"},fQ={class:"v-fieldset-title"},mQ=["innerHTML"],gQ={class:"one-row"},vQ={class:"shareInviteTitleComposite"},yQ={class:"one-row"},bQ={class:"shareInviteTitle"},wQ={key:0},CQ={class:"one-row"},xQ={class:"share-list-option"},SQ={class:"share-composite-divide"},kQ={class:"role-option-container"},_Q={class:"share-composite-divide"},IQ={class:"invitedMemebers-wrapper"},TQ={key:0,class:"empty-list-msg"},DQ={class:"one-row"},LQ={class:"member"},AQ={class:"member-name"},EQ={class:"role"},MQ={class:"role-option-container"},BQ=["onClick"];const OQ={class:"shareInfoHeader"};const $Q={previewer:["preview"],preview_commenter:["preview","comment"],viewer:["preview","download"],commenter:["preview","comment","download"],editor:["preview","comment","download","upload","edit","lock"],manager:["preview","comment","download","upload","edit","lock","unlock","delete","share"]},FQ={preview:"preview",comment:"comment",download:"download",upload:"upload",edit:"edit",delete:"delete",share:"share",lock:"lock",unlock:"unlock"};var VQ={props:{synoId:{type:String,default:"shareInfo"},disableDownload:{type:Boolean,default:!1},enableFileLocking:{type:Boolean,default:!1}},data(){return{actions:["preview","comment","download","upload","edit","delete","share"]}},computed:{columns(){const e=[{title:this.$T("share","role"),field:"role",tooltip:!0,disableSort:!0,headerTooltip:!0,defaultWidth:180,align:"left"}];return this.actions.forEach((t=>{e.push({title:this.$T("perm",t),field:t,disableSort:!0,headerTooltip:!0,defaultWidth:85,align:"center"})})),e},currentData(){const e=$Q,t=[];return Object.entries(e).forEach((([e,i])=>{const n={role:this.$T("perm",e)};this.disableDownload&&i.includes("download")&&i.remove("download"),this.actions.forEach((e=>{n[e]=i.includes(e)})),t.push(n)})),t}},mounted(){this.enableFileLocking&&(this.actions=["preview","comment","download","upload","edit","lock","unlock","delete","share"])},methods:{getCheckIconClass(e){return e?"menu-item-tick":"menu-item-untick"}}};d(2230);var PQ={components:{ShareInfo:(0,uJ.Z)(VQ,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-data-table");return jo(),Ko("div",null,[ts("div",OQ,ce(e.$T("share","role_permission_title")),1),is(a,{class:"shareInfoData",currentData:s.currentData,columns:s.columns,showPagingBar:!1,enableHdMenu:!1,style:{width:"778px"},synoId:`${i.synoId}-data-table`,mobileBreakpoint:!1},nn({_:2},[tn(o.actions,(e=>({name:e,fn:Ii((({row:t})=>[is(r,{name:s.getCheckIconClass(t[e])},null,8,["name"])]))})))]),1032,["currentData","columns","synoId"])])}],["__scopeId","data-v-781f3b36"]])},props:{synoId:{type:String,default:"sharePanel"},findAppWindow:{type:Function,default:void 0},path:{type:String,default:""},capabilities:{type:Object,default:()=>({})},name:{type:String,default:""},type:{type:String,default:""},setRoleAPI:{type:Function,default:void 0}},emits:["set-ok","set-error","open-modal-window","show-msg-box"],data(){let e=this.$T("perm","limit_desc");return SYNO.SDS.Drive.Define.Info.sharing_permission.invite_sharing||(e=this.$T("perm","limit_you_desc")),{showDropdown:!1,copyInputReadOnly:!0,publicDeprecatedWarning:"",showShareLinkByEmail:!1,showPublicDeprecatedWarning:!1,showAllowDownload:!1,showShareComposite:!0,linkRoleBtnReadOnly:!1,shareListReadOnly:!1,roleBtnReadOnly:!1,addBtnReadOnly:!1,allowDownloadBtnReadOnly:!1,shareList:[],mapOptionToTooltip:e=>e.label,isShareListSelected:!1,invitedMembersSet:new Set,linkRoleOptions:[{label:`<b> ${this.$T("perm","limit")}</b> - ${e}`,value:"na"},"-",{label:`<b>${this.$T("perm","app")}</b> - ${this.$T("perm","app_ro_desc")}`,value:"internal_viewer"},{label:`<b>${this.$T("perm","app")}</b> - ${this.$T("perm","app_commenter_desc")}`,value:"internal_commenter"},{label:`<b>${this.$T("perm","app")}</b> - ${this.$T("perm","app_rw_desc")}`,value:"internal_editor"},{label:`<b> ${this.$T("perm","public")}</b> - ${this.$T("perm","public_ro_desc")}`,value:"public_viewer",hide:!0},{label:`<b> ${this.$T("perm","public")}</b> - ${this.$T("perm","public_commenter_desc")}`,value:"public_commenter",hide:!0},{label:`<b> ${this.$T("perm","public")}</b> - ${this.$T("perm","public_rw_desc")}`,value:"public_editor",hide:!0}],roleOptions:[{value:"previewer",label:this.$T("perm","previewer")},{value:"preview_commenter",label:this.$T("perm","preview_commenter")},{value:"viewer",label:this.$T("perm","viewer")},{value:"commenter",label:this.$T("perm","commenter")},{value:"editor",label:this.$T("perm","editor")},{value:"organizer",label:this.$T("perm","manager")}],apiData:{},objectRole:[],originalForm:{},formValues:{shareLink:"",linkRole:"na",enableAllowDownload:!0,memberChosen:[],role:"viewer",invitedMembers:[]}}},computed:{isInvitedMemberListEmpty(){return 0===this.formValues.invitedMembers.length},whitetipCls(){return"v-whitetip-tooltip complex-tip whitetipTooltip"},roleTooltips(){const e=e=>{let t=$Q[e]||[];return"organizer"===e&&(t=$Q.manager||[]),this.apiData.disable_download&&(t=t.filter((e=>"download"!==e))),0==this.apiData.capabilities.can_lock&&(t.remove("lock"),t.remove("unlock")),t},t=this.$T("common","comma"),i=e=>e.map((e=>this.$T("perm",FQ[e]))).join(t);return this.roleOptions.reduce(((t,n)=>{const o=n.value,s=e(o);return t[o]=i(s),t}),{})}},watch:{"formValues.linkRole":{handler(e){this.checkIfShowAllowDownload(e)}}},created(){if(this.shareLinkText="dir"===this.type?this.$T("share","directory_link"):this.$T("share","file_link"),this.mailText="dir"===this.type?this.$T("share","mail_directory_link"):this.$T("share","mail_file_link"),this.publicDeprecatedWarning=`<p>\n ${this.$T("info_tip","public_sharing_warning_disabled_content")}\n </p>`,SYNO.SDS.Drive.Define.Info.sharing_permission.public_sharing){const e=`\n https://www.synology.com/knowledgebase/DSM/help/SynologyDrive/drive_file_management?version=${_S("majorversion")}\n `;this.publicDeprecatedWarning=`<p>\n ${this.$T("info_tip","public_sharing_warning_content")}\n <br />\n <a target="_blank" rel="noreferrer" href="${e}">\n ${this.$T("info_tip","adv_sharing_learn_more")}\n </a>\n </p>`}SYNO.SDS.Drive.Define.Info.sharing_permission.internal_link_sharing||this.linkRoleOptions.forEach((e=>{["internal_editor","internal_viewer","internal_commenter"].includes(e.value)&&this.hideOption(e)})),SYNO.SDS.Drive.Define.Info.sharing_permission.invite_sharing||(this.showShareComposite=!1)},mounted(){sJ.makeCopyable.apply(this,[[this.$refs.copy]])},methods:{isDirty(){const e=sJ.deepCopy(this.formValues),t=sJ.deepCopy(this.originalForm),i=(e,t)=>e.name.toLowerCase()>t.name.toLowerCase()?1:-1;return e.invitedMembers.sort(i),t.invitedMembers.sort(i),JSON.stringify(e)!==JSON.stringify(t)},isValid(){return!0},onCopySuccess(){tJ(this,"set-ok",this.$T("share","copy_url_done"))},onCopyFailed(){tJ(this,"set-error",this.$T("error","copy_share_link"))},openMailDialog(){tJ(this,"open-modal-window",SYNO.SDS.Drive.Vue.DialogMail,{findAppWindow:this.findAppWindow,data:{name:this.name,type:this.type},url:this.formValues.shareLink})},copycutFieldFocus(){setTimeout((()=>{this.$refs.copy.$refs.input.$refs.input.select()}),2)},getLinkRoleValue(e){if("na"===e)return{type:null,role:null};let t=e.replace(/(public_)|(internal_)/,"");return this.formValues.enableAllowDownload||("commenter"===t?t="preview_commenter":"viewer"===t&&(t="previewer")),{type:e.match(/public_/)?"public":"internal",role:t}},getSelectedLinkRoleIconName(e){return this.formValues.linkRole===e.value?"menu-item-tick":"menu-item-untick"},getUserGroupIconName(e){return["item-icon","member-icon","user"===e.type?"user-icon":"group-icon"]},checkShowDropdown(){this.showDropdown=!sJ.isEmpty(this.$refs.shareListSelect.display)},async onSearch(e){const t={params:{query:e.toLowerCase(),limit:500,additional:["nickname"]}};try{const e=await synowebapi.promises.request({...SYNO.SDS.Drive.WebAPIDesc.list_app_priv,...t});this.searchCallback(e)}catch(e){SYNO.Debug.error(e)}return this.shareList},searchCallback(e){const t={user:[],group:[]};Array.isArray(e.list)&&e.list.forEach((e=>{"user"!==e.type&&"group"!==e.type||t[e.type].push({type:e.type,label:this.getInvitedMemberDisplayName(e),name:e.name})})),t.user.length>0&&t.group.length>0?this.shareList=t.user.concat(["-"],t.group):this.shareList=t.user.length>0?t.user:t.group},getInvitedMemberDisplayName(e){return e.nickname?`${e.name} (${e.nickname})`:e.name},removeInvitedMember(e){const t=this.formValues.invitedMembers.splice(e,1);if(t.length>0){const e=this.getInvitedMemberId(t[0]);this.invitedMembersSet.delete(e)}},onAddSharePriv(){0!==this.formValues.memberChosen.length&&(this.formValues.memberChosen.forEach((e=>{const t=this.getInvitedMemberId(e),i={id:this.getInvitedMemberId(e),type:e.type,name:e.name,role:this.formValues.role,display:e.label};if(this.invitedMembersSet.has(t)){const e=this.formValues.invitedMembers.find((e=>this.getInvitedMemberId(e)===t));Object.assign(e,i)}else this.formValues.invitedMembers.splice(0,0,i),this.invitedMembersSet.add(t)})),this.formValues.memberChosen=[])},initialize(e,t,i){this.apiData=t,this.formValues.shareLink=e,this.showShareLinkByEmail=i.sharing_link_by_email||_S("is_admin"),Object.keys(this.capabilities).length>0&&!this.capabilities.can_share&&(this.linkRoleBtnReadOnly=!0,this.shareListReadOnly=!0,this.roleBtnReadOnly=!0,this.addBtnReadOnly=!0,this.allowDownloadBtnReadOnly=!0);const n=[];this.objectRole={user:{},group:{}},!sJ.isEmpty(this.apiData)&&Array.isArray(this.apiData.shared_with)&&(this.apiData.removed?tJ(this,"show-msg-box","alert","",this.$T("file","in_recycle")):(this.copycutFieldFocus(),this.apiData.shared_with.forEach((e=>{switch(e.type){case"public":this.initLinkRoleBtnValue(e),this.showPublicDeprecatedWarning=!0;break;case"internal":this.initLinkRoleBtnValue(e);break;case"user":this.objectRole.user[e.name]=e.role,n.push(e);break;case"group":this.objectRole.group[e.name]=e.role,n.push(e)}})),sJ.isEmpty(n)||(n.forEach((e=>{const t=this.getInvitedMemberId(e),i=this.getInvitedMemberDisplayName(e);this.formValues.invitedMembers.push({id:t,type:e.type,name:e.name,role:e.role,display:i,isUser:"user"===e.type}),this.invitedMembersSet.add(t)})),this.formValues.invitedMembers.sort(((e,t)=>{const i=e.name?e.name.toLowerCase():"",n=t.name?t.name.toLowerCase():"";return e.isUser!==t.isUser?e.isUser?-1:1:i!==n?i<n?-1:1:e.nickname!==t.nickname?e.nickname<t.nickname?-1:1:0}))),SYNO.SDS.Drive.Utils.isOfficeFile(this.apiData.name)||(this.roleOptions.forEach((e=>{["commenter","preview_commenter"].includes(e.value)&&this.hideOption(e)})),this.linkRoleOptions.forEach((e=>{["internal_commenter","public_commenter"].includes(e.value)&&this.hideOption(e)}))),this.originalForm=sJ.deepCopy(this.formValues)))},initLinkRoleBtnValue(e){let t=!1,{role:i}=e;i.match(/preview/)&&(t=!0,i={previewer:"viewer",preview_commenter:"commenter"}[e.role]);const n=("public"===e.type?"public_":"internal_")+i;this.formValues.linkRole=n,this.checkIfShowAllowDownload(n),this.formValues.enableAllowDownload=!t},checkIfShowAllowDownload(e){e.match(/(viewer)|(commenter)/)?this.showAllowDownload=!0:this.showAllowDownload=!1},hideOption(e){e.hide=!0},isShareLinkRoleDirty(){const e=this.formValues,t=this.originalForm;return e.linkRole!==t.linkRole||e.enableAllowDownload!==t.enableAllowDownload},calculateRole(e,t,i,n){const o={};let s=!1;const r={...t};return Object.entries(e).forEach((([e,t])=>{Object.prototype.hasOwnProperty.call(r,e)?r[e]!==t?(i.push({action:"update",member:{type:n?"group":"user",name:e},role:t}),delete r[e],s=!0):delete r[e]:(i.push({action:"update",member:{type:n?"group":"user",name:e},role:t}),s=!0)})),Object.keys(r).forEach((e=>{i.push({action:"delete",member:{type:n?"group":"user",name:e}}),s=!0})),!0===s&&o},hasModifiedRole(){if(this.isShareLinkRoleDirty())return!0;const e={...this.objectRole.user},t={...this.objectRole.group},{invitedMembers:i}=this.formValues;if(i.length!==Object.keys(e).length+Object.keys(t).length)return!0;for(let n=0;n<i.length;n+=1){const{name:o,type:s,role:r}=i[n];let a=null;if("group"===s&&Object.prototype.hasOwnProperty.call(t,o)?a=t[o]:"user"===s&&Object.prototype.hasOwnProperty.call(e,o)&&(a=e[o]),r!==a)return!0}return!1},onBeforeApply(){return this.isDirty()&&0!==this.formValues.memberChosen.length?new Promise(((e,t)=>{const i=this.formValues.memberChosen.every((e=>"group"===e.type)),n=this.formValues.memberChosen.map((e=>e.name)),o=i?this.$T("share","prompt_addedit_group"):this.$T("share","prompt_addedit_user"),s=SYNO.SDS.formatString(`<div class="syno-d-msgbox-body">${o}</div>`,sJ.htmlEncode(n.join(this.$T("common","comma"))));tJ(this,"show-msg-box","confirm","",s,(i=>{"confirm"===i?(this.onAddSharePriv(),e()):t()}),!1,{useHtml:!0})})):Promise.resolve()},onApply(){return this.hasModifiedRole()?this.onSetRole(this.getParams()):Promise.resolve()},onSetRole(e){return new Promise(((t,i)=>{this.setRoleAPI(e,((e,n)=>{e?t(n):i(n)}))}))},getParams(){const e={path:this.path},t=this.getModifiedRole();return sJ.isObject(t)&&Object.assign(e,t),e},getModifiedRole(){const e=this.originalForm,t=this.formValues,i=[],n={},o={};if(this.isShareLinkRoleDirty()){const n=this.getLinkRoleValue(e.linkRole).type,o=this.getLinkRoleValue(t.linkRole),{type:s,role:r}=o;n&&n!==s&&i.push({action:"delete",member:{type:n}}),r&&i.push({action:"update",member:{type:s},role:r})}return t.invitedMembers.forEach((e=>{"group"===e.type?o[e.name]=e.role:"user"===e.type&&(n[e.name]=e.role)})),this.calculateRole(n,this.objectRole.user,i,!1),this.calculateRole(o,this.objectRole.group,i,!0),!sJ.isEmpty(i)&&{path:this.path,permissions:i}},setUserRequestSharing(e){this.formValues.memberChosen.push({type:"user",label:this.getInvitedMemberDisplayName(e),name:e.name})},getInvitedMemberId(e){return`${e.type}-${e.name}`},mapRoleToTooltip(e){return this.roleTooltips[e]}}};d(6435);const NQ=(0,uJ.Z)(PQ,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-copy-cut-field"),l=Bi("v-fieldset"),d=Bi("v-whitetip"),c=Bi("v-single-select"),u=Bi("v-checkbox"),h=Bi("ShareInfo"),p=Bi("v-multiple-select"),f=Bi("v-button"),m=Bi("v-data-view"),g=Fi("tooltip");return jo(),Ko("div",null,[is(l,{title:e.shareLinkText,collapsible:!1},{default:Ii((()=>[is(a,{ref:"copy",modelValue:o.formValues.shareLink,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formValues.shareLink=e),type:"copy",readonly:o.copyInputReadOnly,synoId:`${i.synoId}-copycut`,onActionSuccess:s.onCopySuccess,onActionFailed:s.onCopyFailed},{icon:Ii((()=>[is(r,{name:"copycut-icon"})])),_:1},8,["modelValue","readonly","synoId","onActionSuccess","onActionFailed"]),o.showShareLinkByEmail?(jo(),Ko("div",pQ,[ts("span",{class:"syno-d-text-btn syno-d-share-email-text",onClick:t[1]||(t[1]=(...e)=>s.openMailDialog&&s.openMailDialog(...e))},ce(e.mailText),1)])):ls("v-if",!0)])),_:1},8,["title"]),is(l,{collapsible:!1},{title:Ii((()=>[ts("div",fQ,[rs(ce(e.$T("share","privacy_setting"))+" ",1),o.showPublicDeprecatedWarning?(jo(),Zo(d,{key:0,tooltipOptions:{isHtml:!0,cls:s.whitetipCls},content:o.publicDeprecatedWarning,mobileBreakpoint:!1},null,8,["tooltipOptions","content"])):ls("v-if",!0)])])),default:Ii((()=>[is(c,{modelValue:o.formValues.linkRole,"onUpdate:modelValue":t[2]||(t[2]=e=>o.formValues.linkRole=e),class:"share-link-role-btn","display-mode":"html",options:o.linkRoleOptions,closeOnSelect:!0,width:504,disabled:o.linkRoleBtnReadOnly,dropdownOffset:[0,0],synoId:`${i.synoId}-linkRoleBtn`},{"inner-option":Ii((({option:e})=>[is(r,{class:"item-icon",name:s.getSelectedLinkRoleIconName(e)},null,8,["name"]),ts("div",{innerHTML:e.label},null,8,mQ)])),_:1},8,["modelValue","options","disabled","synoId"]),ts("div",gQ,[Xi(is(u,{modelValue:o.formValues.enableAllowDownload,"onUpdate:modelValue":t[3]||(t[3]=e=>o.formValues.enableAllowDownload=e),disabled:o.allowDownloadBtnReadOnly,synoId:`${i.synoId}-allowDownload`},{default:Ii((()=>[rs(ce(e.$T("share","allow_download")),1)])),_:1},8,["modelValue","disabled","synoId"]),[[lr,o.showAllowDownload]]),Xi(is(d,{class:"disableDownloadWhitetip",transitionTime:[0,200],tooltipOptions:{offset:[0,27],cls:s.whitetipCls},content:!1,mobileBreakpoint:!1},{default:Ii((()=>[ts("div",null,ce(e.$T("share","disable_download")),1)])),_:1},8,["tooltipOptions"]),[[lr,o.apiData.disable_download&&o.showAllowDownload&&o.formValues.enableAllowDownload]])]),ts("div",vQ,[ts("div",yQ,[ts("span",bQ,ce(`${e.$T("share","invite")}:`),1),is(d,{class:"shareInviteWhitetip",transitionTime:[0,200],tooltipOptions:{offset:[0,27],cls:s.whitetipCls},content:!1,mobileBreakpoint:!1},{default:Ii((()=>[is(h,{disableDownload:o.apiData.disable_download,enableFileLocking:o.apiData.capabilities.can_lock},null,8,["disableDownload","enableFileLocking"])])),_:1},8,["tooltipOptions"])])]),o.showShareComposite?(jo(),Ko("div",wQ,[ts("div",CQ,[is(p,{ref:"shareListSelect",modelValue:o.formValues.memberChosen,"onUpdate:modelValue":t[4]||(t[4]=e=>o.formValues.memberChosen=e),class:"shareListSelect",valueField:"name",disabled:o.shareListReadOnly,width:290,height:30,search:s.onSearch,showDropdown:o.showDropdown,tooltip:!0,virtualScrollbar:!0,notFoundText:e.$T("common","no_data"),mapOptionToTooltip:o.mapOptionToTooltip,placeholder:e.$T("share","user_group"),loadingText:e.$T("common","loading"),hasIcon:!1,clearable:!0,autoAddLabel:!1,synoId:`${i.synoId}-shareList`,onDisplayChanged:s.checkShowDropdown},{"inner-option":Ii((({option:e})=>[Xi((jo(),Ko("div",xQ,[is(r,{name:"user-group-icon",class:ne(s.getUserGroupIconName(e))},null,8,["class"]),rs(" "+ce(e.label),1)])),[[g,{content:e.label}]])])),_:1},8,["modelValue","disabled","search","showDropdown","notFoundText","mapOptionToTooltip","placeholder","loadingText","synoId","onDisplayChanged"]),ts("div",SQ,[is(c,{modelValue:o.formValues.role,"onUpdate:modelValue":t[5]||(t[5]=e=>o.formValues.role=e),options:o.roleOptions,closeOnSelect:!0,width:158,disabled:o.roleBtnReadOnly,synoId:`${i.synoId}-roleBtn`},{"inner-option":Ii((({option:e})=>[Xi((jo(),Ko("div",kQ,[is(r,{name:"menu-item-untick"}),ts("div",null,ce(e.label),1)])),[[g,{content:s.mapRoleToTooltip(e.value)}]])])),_:1},8,["modelValue","options","disabled","synoId"])]),ts("div",_Q,[is(f,{display:"icon",disabled:o.addBtnReadOnly,mobileBreakpoint:!1,synoId:`${i.synoId}-addMemberBtn`,onClick:s.onAddSharePriv},{icon:Ii((()=>[is(r,{name:"add-member"})])),_:1},8,["disabled","synoId","onClick"])])])])):ls("v-if",!0),ts("div",IQ,[s.isInvitedMemberListEmpty?(jo(),Ko("span",TQ,ce(e.$T("empty","share")),1)):ls("v-if",!0),is(m,{items:o.formValues.invitedMembers,style:Q({height:o.showAllowDownload?"144px":"174px"}),synoId:`${i.synoId}-invitedMemebers`},{item:Ii((({item:e,index:t})=>[ts("div",DQ,[Xi((jo(),Ko("div",LQ,[is(r,{name:"user-group-icon",class:ne(s.getUserGroupIconName(e))},null,8,["class"]),ts("p",AQ,ce(e.display),1)])),[[g,{content:e.display}]]),ts("div",EQ,[is(c,{modelValue:o.formValues.invitedMembers[t].role,"onUpdate:modelValue":e=>o.formValues.invitedMembers[t].role=e,class:"member-role",options:o.roleOptions,"force-selection":!0,width:153,synoId:`${i.synoId}-memberRoleBtn-${t}`},{"inner-option":Ii((({option:e})=>[Xi((jo(),Ko("div",MQ,[is(r,{name:"menu-item-untick"}),ts("div",null,ce(e.label),1)])),[[g,{content:s.mapRoleToTooltip(e.value)}]])])),_:2},1032,["modelValue","onUpdate:modelValue","options","synoId"])]),ts("div",{class:"delete-button",onClick:e=>s.removeInvitedMember(t)},[is(r,{name:"grid-action-delete",class:"share-delete-icon"})],8,BQ)])])),_:1},8,["items","style","synoId"])])])),_:1})])}],["__scopeId","data-v-6ba5e20a"]]);var RQ={components:{SharePanel:NQ,AdvSharePanel:hQ},mixins:[lJ],props:{synoId:{type:String,default:"dialog-share"},findAppWindow:{type:Function,default:void 0},advShared:{type:Boolean,default:!1},capabilities:{type:Object,default:()=>({})},displayPath:{type:String,default:""},name:{type:String,default:""},path:{type:String,default:""},type:{type:String,default:""},setRoleAPI:{type:Function,default:void 0},advSharingLinkCB:{type:Function,default:void 0},closeHook:{type:Function,default:void 0},shareUser:{type:String,default:""}},emits:["load"],data(){return{enablePublicSharing:!1,closeCheck:!0,confirmBtnDisabled:!1,activeTabIndex:"1"}},created(){const e=SYNO.SDS.Drive.Utils.isDisplayPathUnderMyDrive(this.displayPath);this.enablePublicSharing=this.advShared&&e||SYNO.SDS.Drive.Define.Info.sharing_permission.public_sharing},mounted(){this.setWinStatusBusy(),this.onLoadData().finally((()=>{this.clearWinStatus()}))},methods:{showRemoveMsgBox(e,t,i){this.$refs.win&&this.$refs.win.getMsgBox(SYNO.SDS.Drive.Vue.MsgBox).confirm("",e,{cancel:{type:"footbar",text:this.$T("common","cancel")},confirm:{type:"footbar",text:this.$T("common","remove")}},{useHtml:!0,height:340}).then((e=>{"confirm"===e?t():i()}))},async isValid(){const e=this.$refs.sharePanel.isValid();let t=!0;return this.$refs.advSharePanel&&(t=await this.$refs.advSharePanel.isValid()),e&&t},isDirty(){return this.$refs.sharePanel.isDirty()||this.$refs.advSharePanel&&this.$refs.advSharePanel.isDirty()},async onLoadData(){try{const e=await this.findAppWindow().getWebAPI().getShardLinkAndInfoPromise({path:this.path});this.onLoadDataDone(e)}catch(e){const t=SYNO.API.Util.GetFirstError(e);return void this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(t))}if(void 0!==this.shareUser)try{const e=await synowebapi.promises.request({api:"SYNO.SynologyDrive.Users",method:"list",version:1,params:{type:"user",fields:["name"],search:{keyword:this.shareUser}}});if(1===e.total){const t=e.items[0];this.setUserRequestSharing(t)}}catch(e){const t=SYNO.API.Util.GetFirstError(e);console.log(SYNO.SDS.Drive.Utils.getErrorStr(t))}},onLoadDataDone(e){let t=SYNO.SDS.Drive.WebAPIDesc.get_file_link;const i=SYNO.API.Util.GetValByAPI(e,t.api,t.method,"url");t=SYNO.SDS.Drive.WebAPIDesc.get_file;const n=SYNO.API.Util.GetValByAPI(e,t.api,t.method);t=SYNO.SDS.Drive.WebAPIDesc.get_setting;const o=SYNO.API.Util.GetValByAPI(e,t.api,t.method);this.$refs.sharePanel.initialize(i,n,o),this.$refs.advSharePanel.initialize(n,o),tJ(this,"load",n)},setUserRequestSharing(e){this.$refs.sharePanel.setUserRequestSharing(e)},onBeforeApply(){const e=[this.$refs.sharePanel.onBeforeApply()];return this.enablePublicSharing&&e.push(this.$refs.advSharePanel.onBeforeApply()),Promise.all(e)},async onApply(){if(!this.isDirty())return void this._close();await this.isValid()?Promise.resolve().then((()=>this.onBeforeApply())).catch((e=>Promise.reject(e))).then((()=>{this.setWinStatusBusy();const e=[this.$refs.sharePanel.onApply()];return this.enablePublicSharing&&e.push(this.$refs.advSharePanel.onApply()),Promise.all(e)})).then((()=>{this._close()})).catch((e=>{sJ.isEmpty(e)||(SYNO.Debug.error(e),this.clearWinStatus(),this.setWinStatusError(SYNO.SDS.Drive.Utils.getErrorStr(e)))})):this.setWinStatusError(_T("common","forminvalid"))},onCancel(){this.isDirty()?this.showMsgBox("confirm","",_T("common","confirm_lostchange"),(e=>{"confirm"===e&&this._close()}),!1):this._close()},beforeClose(){return!this.closeCheck||(this.onCancel(),!1)},_close(){this.closeCheck=!1,this.close()}}};d(7515);var HQ=(0,uJ.Z)(RQ,[["render",function(e,t,i,n,o,s){const r=Bi("SharePanel"),a=Bi("v-tab-pane"),l=Bi("AdvSharePanel"),d=Bi("v-status-bar"),c=Bi("v-button"),u=Bi("v-tabs"),h=Bi("v-modal-window");return jo(),Zo(h,{ref:"win",width:"560",height:"620",title:e.$T("common","share"),beforeClose:s.beforeClose,mobileBreakpoint:!1,closeHook:i.closeHook,synoId:`${i.synoId}-window`,onKeypress:Ur(s.onApply,["enter"])},{default:Ii((()=>[is(u,{ref:"tabs",modelValue:o.activeTabIndex,"onUpdate:modelValue":t[0]||(t[0]=e=>o.activeTabIndex=e),fbar:!0,mobileBreakpoint:!1,synoId:`${i.synoId}-panel`},{fbar:Ii((()=>[ts("div",JJ,[is(d,{class:"status-bar",show:e.showStatusBar,state:e.statusBarState,successText:e.successText,errorText:e.errorText,loadingText:e.loadingText,synoId:`${i.synoId}-statusBar`},null,8,["show","state","successText","errorText","loadingText","synoId"])]),ts("div",QJ,[is(c,{type:"footbar",suffix:"main",disabled:o.confirmBtnDisabled,mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-commit`,onClick:s.onApply},{default:Ii((()=>[rs(ce(e.$T("btn","save")),1)])),_:1},8,["disabled","synoId","onClick"])])])),default:Ii((()=>[is(a,{"tab-key":"1",tab:e.$T("share","permission"),synoId:`${i.synoId}-sharePanel`},{default:Ii((()=>[is(r,{ref:"sharePanel","find-app-window":i.findAppWindow,path:i.path,capabilities:i.capabilities,name:i.name,type:i.type,setRoleAPI:i.setRoleAPI,onSetBusy:e.setWinStatusBusy,onSetOk:e.setWinStatusOK,onSetError:e.setWinStatusError,onClearStatus:e.clearWinStatus,onShowRemoveMsgbox:s.showRemoveMsgBox,onShowMsgBox:e.showMsgBox,onOpenModalWindow:e.openModalWindow},null,8,["find-app-window","path","capabilities","name","type","setRoleAPI","onSetBusy","onSetOk","onSetError","onClearStatus","onShowRemoveMsgbox","onShowMsgBox","onOpenModalWindow"])])),_:1},8,["tab","synoId"]),is(a,{"tab-key":"2",tab:e.$T("share","protection_share_title"),hidden:!o.enablePublicSharing,synoId:`${i.synoId}-advSharePanel`},{default:Ii((()=>[is(l,{ref:"advSharePanel",findAppWindow:i.findAppWindow,name:i.name,type:i.type,path:i.path,advSharingLinkCB:i.advSharingLinkCB,onSetBusy:e.setWinStatusBusy,onSetOk:e.setWinStatusOK,onSetError:e.setWinStatusError,onClearStatus:e.clearWinStatus,onShowRemoveMsgbox:s.showRemoveMsgBox,onOpenModalWindow:e.openModalWindow},null,8,["findAppWindow","name","type","path","advSharingLinkCB","onSetBusy","onSetOk","onSetError","onClearStatus","onShowRemoveMsgbox","onOpenModalWindow"])])),_:1},8,["tab","hidden","synoId"])])),_:1},8,["modelValue","synoId"])])),_:1},8,["title","beforeClose","closeHook","synoId","onKeypress"])}],["__scopeId","data-v-b33a4d80"]]);const zQ=["textContent"],WQ={class:"option"},jQ={class:"option-label"},UQ={class:"option-desc"},GQ=["textContent"],qQ={class:"option"},YQ={class:"option-label"},KQ={class:"option-desc"},ZQ=["textContent"],JQ=["textContent"],QQ={class:"one-row mailSharedFile"},XQ=["href"],eX=["textContent"],tX={class:"default pull-right button-region"};const iX={api:"SYNO.SynologyDrive.Labels",method:"update_shared",version:1};var nX={updateSharedLabelsAPI:iX,compoundAPI:function(e,t){return synowebapi.promises.request({api:"SYNO.Entry.Request",method:"request",version:1,params:{compound:e,...t}})},listContact:function(){return synowebapi.promises.request({api:"SYNO.Personal.MailAccount.Contacts",method:"list",version:1})},listAppPriv:function(e){return synowebapi.promises.request({api:"SYNO.SynologyDrive.Share.Priv",method:"list",version:1,params:e})},createLabel:function(e){return synowebapi.promises.request({api:"SYNO.SynologyDrive.Labels",method:"create",version:1,params:e})},listLabel:function(e){return synowebapi.promises.request({api:"SYNO.SynologyDrive.Labels",method:"list",version:1,params:e})},updateLabel:function(e){return synowebapi.promises.request({api:"SYNO.SynologyDrive.Labels",method:"update",version:1,params:e})},listSharedLabels:function(e){return synowebapi.promises.request({api:"SYNO.SynologyDrive.Labels",method:"list_shared",version:1,params:e})},updateSharedLabels:function(e){return synowebapi.promises.request({...iX,params:e})},deleteSharedLabels:function(e){return synowebapi.promises.request({api:"SYNO.SynologyDrive.Labels",method:"delete",version:1,params:e})},listSharedWithMe:function(e){return synowebapi.promises.request({api:"SYNO.SynologyDrive.Files",method:"shared_with_me",version:1,params:e})}};var oX={getMailTemplate:function(e,t,i,n,o,s=""){let r="",a="";const l=i,d=n||"",c=Ext.util.Format.htmlEncode(SYNO.SDS.Drive.Utils.parseDisplayName(o)),u=Ext.util.Format.htmlEncode(s);return a=s?`\n <div style='height:24px;'></div>\n <div style='border-left:3px solid #CED0D2;' dir='ltr'>\n <span style='display:inline-block;padding-left:8px;'>\n ${u}\n </span>\n </div>\n `:u,r=`\n <html>\n <head>\n <style>\n .syno-o-file:hover{color:#0B8BE5;}\n .syno-o-file:active{color:#007ED9;}\n .syno-o-btn:hover{border-color:#13ACBA;background-color:#2AC6D4;}\n .syno-o-btn:active{border-color:#0093A1;background-color:#13ACBA;}\n </style>\n </head>\n <body>\n <div style='width:95%;width:calc(100% - 64px);min-width:704px;padding:24px 32px 16px 32px;background-color:#ECEEF0;text-align:center;'>\n <div style='display:inline-block;max-width:720px;min-width:640px;text-align:left;font-family:Arial,Verdana,Helvetica,sans-serif;box-shadow:0 1px 4px rgba(0,0,0,0.1);'>\n <div style='padding:28px;background:#fff;'>\n <div style='font-size:13px;line-height:20px;color:#2E3032;'>\n <b> ${e} </b> ${t}\n </div>\n <div style='height:12px;'>\n </div>\n <div style='font-size:18px;display:table;'>\n <div style='display:table-row;height:30px;'>\n <span style='display:table-cell;vertical-align:middle;'>\n <img src='data:image/png;base64,${d}' style='vertical-align:middle;height:24px;width:24px;'/>\n </span>\n <span style='display:table-cell;padding-left:8px;vertical-align:middle;'>\n <a class='syno-o-file' href='${i}' style='color:#30A1F2;vertical-align:middle;text-decoration:none;'>\n ${c}\n </a>\n </span>\n </div>\n </div>\n ${a}\n <div style='height:32px;'></div>\n <div>\n <a class='syno-o-btn' href='${l}'\n target='_blank'\n style='background-color:#1EB9C7;border:1px solid #09A0AD;border-radius:3px;color:white;display:inline-block;font-family:Arial,Verdana,Helvetica,sans-serif;font-size:13px;height:28px;line-height:28px;min-width:50px;outline:0px;padding:0 14px;text-align:center;text-decoration:none'\n >\n ${SYNO.SDS.Drive._T("action","open")}\n </a>\n </div>\n </div>\n </div>\n <div style='padding:16px 8px 0 8px;width:100%;text-align:center;font-size:13px;color:#7E8082;line-height:24px;'>\n ${SYNO.SDS.Drive._T("drive","displayname")}\n </div>\n </div>\n </body>\n </html>\n `,r},APIErrorGet:function(e){switch(e){case 116:return _JSLIBSTR("uicommon","error_demo");case 8001:case 8002:case 8003:case 8004:case 8006:case 8007:case 8008:case 8009:case 8010:case 8011:case 8013:default:return _T("error","error_error_system");case 8005:return _T("error","error_privilege_not_enough");case 8012:return _T("mail","sync_expire")}}},sX={mixins:[lJ],props:{synoId:{type:String,default:"dialog-mail"},findAppWindow:{type:Function,default:void 0},data:{type:Object,default:()=>({})},url:{type:String,default:""}},data(){const e=/^(\w+)([-+.'][\w]+)*@(\w[-\w]*\.){1,5}([A-Za-z]){2,6}$/;return{cancelBtnDisabled:!1,confirmBtnDisabled:!1,showDropdown:!0,autoAddLabel:{validate:t=>!!t.match(e)},shareFileLinkText:"",contactData:[],rulesMail:[{validator:(t,i,n)=>{for(let t=0;t<i.length;t+=1){const o=sJ.isObject(i[t])?i[t].label:i[t];if(!this.parseMailOptionValue(o).value.toLowerCase().match(e))return n(new Error(_JSLIBSTR("extlang","emailText")))}return n()}}],formValues:{mailTo:[],mailCC:[],subject:"",additionalMsg:""}}},computed:{mailSharedFileType(){let e="";if(this.data&&"dir"===this.data.type)e="folder";else{const t=SYNO.SDS.Drive.Utils.getExt(this.data.name);e=UJ.getMappingType(t)}return UJ.getFileTypeIcon(e,16)},mailToOptions(){const e=[];let t=0;return this.contactData.forEach((i=>{const n=sJ.isEmpty(i.name)?i.address:i.name;""!==i.address&&i.name!==i.address&&(e.push({id:t,label:n,desc:i.address,name:i.name,address:i.address,value:this.constructMailOptionValue(t,i.address)}),t+=1)})),e.sort(((e,t)=>e.value>t.value?1:-1)),e},mailToValue(){const e=[];return this.formValues.mailTo.forEach((t=>{if(sJ.isObject(t)&&"normal"!==t.type)return;const i=sJ.isObject(t)?t.label:t;e.push(this.parseMailOptionValue(i).value)})),e},mailCCValue(){const e=[];return this.formValues.mailCC.forEach((t=>{if(sJ.isObject(t)&&"normal"!==t.type)return;const i=sJ.isObject(t)?t.label:t;e.push(this.parseMailOptionValue(i).value)})),e}},mounted(){this.onSetData(),this.onLoadData()},methods:{constructMailOptionValue(e,t){return`${e}=>${t}`},parseMailOptionValue(e){const t=e.split("=>");return{index:t[0],value:t[1]||t[0]}},onFilter(e,t){const i=new RegExp(`^${e}|\\s+${e}`,"gi");return t.filter((e=>!this.mailToValue.includes(e.address)&&!this.mailCCValue.includes(e.address)&&(!(!e.name||null===e.name.match(i))||!(!e.address||null===e.address.match(i)))))},isDirty(){return this.$refs.form.isDirty()},async isValid(){return this.$refs.form.validate()},onSetData(){let{name:e}=this.data;e=SYNO.SDS.Drive.Utils.parseDisplayName(this.data.name),this.shareFileLinkText=e,this.formValues.subject=SYNO.SDS.formatString(this.$T("mail","subject"),e)},async onBeforeConfirm(){await this.isValid()&&(0!==this.formValues.mailTo.length?""!==this.formValues.subject?this.onConfirm():this.showMsgBox("confirm","",this.$T("mail","mail_subject_alert"),(e=>{"confirm"===e&&this.onConfirm()}),!1):this.showMsgBox("alert","",this.$T("mail","mailto_alert"),null,!1))},onConfirm(){const e=this.mailToValue,t=this.mailCCValue,{subject:i,additionalMsg:n}=this.formValues,o=this.getTemplate(this.url,this.data,n),s={to:sJ.encode(e),subject:i,body:o};sJ.isEmpty(t)||(s.cc=sJ.encode(t)),this.onSendMail(s)},onSendMail(e){this.setWinStatusBusy(),this.findAppWindow().sendWebAPI({api:"SYNO.Personal.MailAccount.Mail",method:"send",version:1,params:{...e,background:!1},callback:(e,t)=>{if(this.clearWinStatus(),e)this.close();else{const e=oX.APIErrorGet(t.code);this.showMsgBox("alert","",e)}},scope:this})},async onLoadData(){const e=[];e.push({api:"SYNO.Personal.MailAccount",method:"get",version:1}),e.push({api:"SYNO.Personal.MailAccount.Contacts",method:"list",version:1}),this.setWinStatusBusy();const t=await nX.compoundAPI(e);this.clearWinStatus(),this.setAccountData(t.result)},setAccountData(e){if(e[0].error){const t=oX.APIErrorGet(e[0].error.code);return void this.showMsgBox("alert","",t)}0!==e[0].data.data.length?e[1].error||0===e[1].data.result.length?this.showDropdown=!1:this.contactData=e[1].data.result:this.showMsgBox("alert","",this.$T("mail","setup_up"))},onCancel(){this.isDirty()?this.showMsgBox("confirm","",this.$T("mail","mail_leave_desc"),(e=>{"confirm"===e&&this.close()}),!1):this.close()},getTemplate(e,t,i){const{name:n,type:o}=t;let s="";if("dir"===o)s=this.$T("mail","share_dir");else if(SYNO.SDS.Drive.Utils.isOfficeFile(n)){switch(SYNO.SDS.Drive.Utils.getExt(n)){case UJ.SYNODOC:s=this.$T("mail","share_doc");break;case UJ.SYNOSHEET:s=this.$T("mail","share_sheet");break;case UJ.SYNOSLIDE:s=this.$T("mail","share_slide");break;default:s=this.$T("mail","share_file")}}else s=this.$T("mail","share_file");return oX.getMailTemplate(_S("user"),s,e,UJ.getBase64Img(o,n),n,i)}}};d(4978),d(9590);var rX=(0,uJ.Z)(sX,[["render",function(e,t,i,n,o,s){const r=Bi("v-multiple-select"),a=Bi("v-form-item"),l=Bi("v-input"),d=Bi("v-icon"),c=Bi("v-form"),u=Bi("v-button"),h=Bi("v-panel"),p=Bi("v-modal-window"),f=Fi("tooltip");return jo(),Zo(p,{ref:"win",width:"600",height:"412",title:e.$T("mail","application_title"),mobileBreakpoint:!1,beforeClose:e.beforeClose,synoId:`${i.synoId}-window`},{default:Ii((()=>[is(h,{layoutType:"content",tbar:!1,fbar:!0,mobileBreakpoint:!1,synoId:`${i.synoId}-panel`},{body:Ii((()=>[is(c,{ref:"form",class:"syno-d-add-edit-form",direction:"horizontal",model:o.formValues,synoId:`${i.synoId}-form`},{default:Ii((()=>[is(a,{prop:"mailTo",name:"mailTo",rules:o.rulesMail},{label:Ii((()=>[ts("label",{textContent:ce(`${e.$T("mail","mail_to_desc")}${e.$T("common","colon")}`)},null,8,zQ)])),default:Ii((()=>[is(r,{modelValue:o.formValues.mailTo,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formValues.mailTo=e),class:"mailSelect",customDropdownCls:"mailDropdown",displayMode:"label",options:s.mailToOptions,filter:s.onFilter,width:384,height:30,closeOnSelect:!0,autoAddLabel:o.autoAddLabel,virtualScrollbar:!0,hideTrigger:!0,notFoundText:e.$T("search","no_search_result"),hasIcon:!1,showDropdown:o.showDropdown,clearable:!0,synoId:`${i.synoId}-mailTo`},{"inner-option":Ii((({option:e})=>[ts("div",WQ,[ts("div",jQ,ce(e.label),1),ts("div",UQ,ce(e.desc),1)])])),_:1},8,["modelValue","options","filter","autoAddLabel","notFoundText","showDropdown","synoId"])])),_:1},8,["rules"]),is(a,{prop:"mailCC",name:"mailCC",rules:o.rulesMail},{label:Ii((()=>[ts("label",{textContent:ce(`${e.$T("mail","mail_cc_desc")}${e.$T("common","colon")}`)},null,8,GQ)])),default:Ii((()=>[is(r,{modelValue:o.formValues.mailCC,"onUpdate:modelValue":t[1]||(t[1]=e=>o.formValues.mailCC=e),class:"mailSelect",displayMode:"label",customDropdownCls:"mailDropdown",options:s.mailToOptions,filter:s.onFilter,width:384,height:30,closeOnSelect:!0,autoAddLabel:o.autoAddLabel,virtualScrollbar:!0,hideTrigger:!0,notFoundText:e.$T("search","no_search_result"),hasIcon:!1,showDropdown:o.showDropdown,clearable:!0,synoId:`${i.synoId}-mailCC`},{"inner-option":Ii((({option:e})=>[ts("div",qQ,[ts("div",YQ,ce(e.label),1),ts("div",KQ,ce(e.desc),1)])])),_:1},8,["modelValue","options","filter","autoAddLabel","notFoundText","showDropdown","synoId"])])),_:1},8,["rules"]),is(a,{name:"mailSubject"},{label:Ii((()=>[ts("label",{textContent:ce(`${e.$T("mail","mail_subject")}${e.$T("common","colon")}`)},null,8,ZQ)])),default:Ii((()=>[is(l,{modelValue:o.formValues.subject,"onUpdate:modelValue":t[2]||(t[2]=e=>o.formValues.subject=e),type:"text",mobileBreakpoint:!1,synoId:`${i.synoId}-mailSubject`},null,8,["modelValue","synoId"])])),_:1}),is(a,{name:"mailSharedFile"},{label:Ii((()=>[ts("label",{textContent:ce(`${e.$T("mail","shared_file")}${e.$T("common","colon")}`)},null,8,JQ)])),default:Ii((()=>[ts("div",QQ,[is(d,{class:"mailSharedFileIcon",name:s.mailSharedFileType},null,8,["name"]),Xi((jo(),Ko("a",{class:"mailSharedFileLink",target:"_blank",href:i.url},[rs(ce(o.shareFileLinkText),1)],8,XQ)),[[f,{content:o.shareFileLinkText}]])])])),_:1}),is(a,{name:"additionalMsg"},{label:Ii((()=>[ts("label",{textContent:ce(`${e.$T("mail","additional_msg")}${e.$T("common","colon")}`)},null,8,eX)])),default:Ii((()=>[is(l,{modelValue:o.formValues.additionalMsg,"onUpdate:modelValue":t[3]||(t[3]=e=>o.formValues.additionalMsg=e),class:"additionalMsg",type:"textarea",mobileBreakpoint:!1,synoId:`${i.synoId}-additionalMsg`},null,8,["modelValue","synoId"])])),_:1})])),_:1},8,["model","synoId"])])),fbar:Ii((()=>[ts("div",tX,[is(u,{type:"footbar",suffix:"cancel",disabled:o.cancelBtnDisabled,mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-cancel`,onClick:s.onCancel},{default:Ii((()=>[rs(ce(e.$T("common","cancel")),1)])),_:1},8,["disabled","synoId","onClick"]),is(u,{type:"footbar",suffix:"main",disabled:o.confirmBtnDisabled,mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-commit`,onClick:s.onBeforeConfirm},{default:Ii((()=>[rs(ce(e.$T("common","send")),1)])),_:1},8,["disabled","synoId","onClick"])])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId"])}],["__scopeId","data-v-687317b8"]]);const aX={ref:"palette",class:"palette-style"},lX=["onClick"],dX={class:"default pull-right button-region"};function cX(e){return ZZ.TagColor.indexOf(e)}var uX={mixins:[dJ],props:{name:{type:String,default:""},color:{type:String,default:""},labelId:{type:String,default:""},synoId:{type:String,default:"dialog-tag"}},data(){return{formValues:{name:this.name},originColorIndex:"add"===this.mode?0:cX(this.color),currentColorIndex:"add"===this.mode?0:cX(this.color),tagColor:ZZ.TagColor.map((e=>`#${e}`)),rules:{name:[{required:!0},{trigger:"blur",validator:this.nameValidator}]}}},computed:{dialogName(){return"add"===this.mode?this.$T("common","create"):this.$T("common","alt_edit")}},watch:{currentColorIndex(e,t){this.$refs.palette.childNodes[e+1].classList.add("selected"),this.$refs.palette.childNodes[t+1].classList.remove("selected")}},mounted(){this.$refs.palette.childNodes[this.currentColorIndex+1].classList.add("selected"),this.onDelayShow(this.formValues.name)},methods:{colorBlockStyle(e){return{"background-color":e}},colorBlockClass(e){return e<12?"color-block light":"color-block dark"},onColorBlockClicked(e){this.currentColorIndex=e},nameValidator(e,t,i){const n=t.trim();return 0===n.length?i(new Error(_JSLIBSTR("extlang","fieldblank"))):n.length>ZZ.TAG_MAX_LENGTH?i(new Error(this.$T("error","label_name_too_long"))):i()},onCancel(){"edit"===this.mode&&this.isDirty()?this.showMsgBox("confirm","",this.$T("common","confirm_lostchange"),(e=>{"confirm"===e&&this.close()}),!1):this.close()},isDirty(){const e=this.originColorIndex!==this.currentColorIndex;return this.$refs.form.isDirty()||e},getParams(){const e={name:this.formValues.name.trim(),color:this.tagColor[this.currentColorIndex]};return"edit"===this.mode&&(e.label_id=this.labelId),e},onAction(){const e=this.getParams();switch(this.mode){case"add":this.findAppWindow().getAction().createTag(e,this.onApplyCb,this);break;case"edit":this.findAppWindow().getAction().setTag(e,this.onApplyCb,this)}},onApplyCb(e,t){if(this.clearWinStatus(),e)return this.onApplyDone(t),void this.close();this.setWinStatusError(SYNO.SDS.Drive.Utils.getErrorStr(t)),this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(t),(()=>{this.onErrorCb(t)}),!1)},onErrorCb(){}}};d(874),d(597);var hX=(0,uJ.Z)(uX,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-form-item"),l=Bi("v-form"),d=Bi("v-button"),c=Bi("v-panel"),u=Bi("v-modal-window");return jo(),Zo(u,{ref:"win",width:"547",height:"254",title:s.dialogName,beforeClose:e.beforeClose,mobileBreakpoint:!1,synoId:`${i.synoId}-window`,onKeypress:Ur(e.onApply,["enter"])},{default:Ii((()=>[is(c,{layoutType:"content",loadingType:"statusbar",synoId:`${i.synoId}-panel`,mobileBreakpoint:!1,statusBarState:e.statusBarState,showStatusBar:e.showStatusBar,errorText:e.errorText},{body:Ii((()=>[is(l,{ref:"form",direction:"horizontal",model:o.formValues,rules:o.rules,synoId:`${i.synoId}-form`,onValidated:e.onValidate},{default:Ii((()=>[is(a,{class:"tag-name",prop:"name",label:`${e.$T("common","name")}${e.$T("common","colon")}`,hideValidateMessage:e.hideValidateMessage},{default:Ii((()=>[is(r,{ref:"input",modelValue:o.formValues.name,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formValues.name=e),class:"compact-input",mobileBreakpoint:!1,synoId:`${i.synoId}-input-name`},null,8,["modelValue","synoId"])])),_:1},8,["label","hideValidateMessage"]),is(a,{class:"tag-color",label:`${e.$T("tag","color")}${e.$T("common","colon")}`},{default:Ii((()=>[ts("ul",aX,[(jo(!0),Ko(Po,null,tn(o.tagColor,((e,t)=>(jo(),Ko("li",{key:t,class:"color-palette-item",onClick:e=>s.onColorBlockClicked(t)},[ts("div",{class:ne(s.colorBlockClass(t)),style:Q(s.colorBlockStyle(e))},null,6)],8,lX)))),128))],512)])),_:1},8,["label"])])),_:1},8,["model","rules","synoId","onValidated"])])),fbar:Ii((()=>[ts("div",dX,[is(d,{type:"footbar",suffix:"cancel",mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-cancel`,onClick:s.onCancel},{default:Ii((()=>[rs(ce(e.cancelText),1)])),_:1},8,["synoId","onClick"]),is(d,{type:"footbar",suffix:"main",mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-commit`,onClick:e.onApply},{default:Ii((()=>[rs(ce(e.confirmText),1)])),_:1},8,["synoId","onClick"])])])),_:1},8,["synoId","statusBarState","showStatusBar","errorText"])])),_:1},8,["title","beforeClose","synoId","onKeypress"])}],["__scopeId","data-v-28048894"]]);const pX={class:"order-panel-wrapper"},fX={class:"default pull-right button-region"};const mX={class:"wrapper"},gX={class:"toolbar"},vX={class:"row-wrapper"},yX={class:"admin-label-name"};const bX={name:"name",description:"description",copyRule:"copy_policy",permission:"permission",color:"color",enabled:"enabled",labelId:"label_id",display:"display",position:"position",owner:"owner",ownerStatus:"owner_status",applyPermission:"apply_permission",isNewLabel:"is_new_label",updateIsNewLabel:"update_is_new_label"};function wX(e){const t={invitedMembers:[]},i=function(){const e={};return Object.entries(bX).forEach((([t,i])=>{e[i]=t})),e}();return Object.entries(e).forEach((([e,n])=>{e in i&&(t[i[e]]=n)})),"invitee_user_list"in e&&e.invitee_user_list.forEach((e=>{const i=e.user_name||e.name;t.invitedMembers.push({type:"user",name:i,role:e.permission,display:i})})),"invitee_group_list"in e&&e.invitee_group_list.forEach((e=>{const i=e.group_name||e.name;t.invitedMembers.push({type:"group",name:i,role:e.permission,display:i})})),t}var CX={formValuesToAPIKeyMapping:bX,prepareAPIParams:function(e,t=!0){const i={};t&&(i.type="shared_label"),Object.entries(e).forEach((([e,t])=>{e in bX&&(i[bX[e]]=t)}));const n=[];return"invitedMembers"in e&&(e.invitedMembers.forEach((e=>{n.push({member:{name:e.name,type:e.type},permission:e.role})})),i.invitee_list=n),i},APIResponseToFormValues:function(e){return e.map(wX)},inviteeSortFunc:function(e,t){return e.name<t.name?-1:1},ErrorHandling:function(e,t){let i=e;if(!(e.error||e.errors||e.code||e.has_fail))return null;if(!0===e.has_fail){i={code:1e3};for(let t=0;t<e.result.length;t+=1){const n=e.result[t];if(!1===n.success&&n.error){i=n.error;break}}}let n=t;if(sJ.isFunction(t)&&(n=t()),!n)return null;const o=SYNO.SDS.Drive.Utils.getErrorStr(i);return sJ.isVueWindow(n)?n.getMsgBox().alert("",o).then((t=>{1077===e.code&&location.reload()})):n.getMsgBox().alert("",o,(function(t){1077===e.code&&location.reload()}))}};const xX={class:"required-mark"},SX={class:"syno-d-copy-option-wrapper"},kX={class:"copy-option-name"},_X={class:"copy-option-hint"},IX={class:"copy-rule-hint"};const TX={ref:"palette",class:"palette-style"},DX=["onClick"];const LX=`#${ZZ.TagColor[0]}`;var AX={props:{value:{type:String,default:LX}},emits:["input"],data(){return{color:this.value,tagColor:ZZ.TagColor.map((e=>`#${e}`)),currentColorIndex:0,initialColorIndex:0}},watch:{currentColorIndex(e,t){this.$refs.palette.childNodes[e+1].classList.add("selected"),this.$refs.palette.childNodes[t+1].classList.remove("selected"),this.color=this.tagColor[e]},color(e){tJ(this,"input",e)}},mounted(){"#"!==this.color.charAt(0)&&(this.color=`#${this.color}`),this.currentColorIndex=function(e){let t=e;return"#"===e.charAt(0)&&(t=e.slice(1)),ZZ.TagColor.indexOf(t)}(this.color),this.$refs.palette.childNodes[this.currentColorIndex+1].classList.add("selected"),this.initialColorIndex=this.currentColorIndex},methods:{isDirty(){return this.initialColorIndex!==this.currentColorIndex},onColorBlockClicked(e){this.currentColorIndex=e},colorBlockStyle(e){return{"background-color":e}},colorBlockClass(e){return e<12?"color-block light":"color-block dark"}}};d(4103);var EX={emits:["input"],methods:{onValueChange(e,t,i){const n={...this[e]},o=""===t?[]:t.split("."),s=o.length;let r=n;if(0==s)return void tJ(this,"input",i);let a=0;for(;s>1&&a<o.length-1;){r=r[o[a]],a++}r[o[s-1]]=i,tJ(this,"input",n)}}},MX={components:{ColorChooser:(0,uJ.Z)(AX,[["render",function(e,t,i,n,o,s){return jo(),Ko("ul",TX,[(jo(!0),Ko(Po,null,tn(o.tagColor,((e,t)=>(jo(),Ko("li",{key:t,class:"color-palette-item",onClick:e=>s.onColorBlockClicked(t)},[ts("div",{class:ne(s.colorBlockClass(t)),style:Q(s.colorBlockStyle(e))},null,6)],8,DX)))),128))],512)}],["__scopeId","data-v-43c2ad13"]])},mixins:[EX],props:{value:{type:Object,default:()=>({})},prefix:{type:String,default:""},existLabelsNames:{type:Array,default:()=>[]},showEnabled:{type:Boolean,default:!1},synoId:{type:String,default:"shared-label-basic-page"}},emits:["input","validated"],data(){return{copyRuleOptions:KZ.copyRuleOptions,permissionOptions:KZ.permissionOptions,rules:{name:[{validator:this.nameValidator}],description:[{validator:this.descriptionValidator}]}}},computed:{copyRuleHint(){return KZ.copyRuleOptions.find((e=>e.value===this.value.copyRule)).hint}},methods:{nameValidator(e,t,i){const n=t.trim();return 0===n.length?i(new Error(_JSLIBSTR("extlang","fieldblank"))):n.length>ZZ.TAG_MAX_LENGTH?i(new Error(this.$T("error","label_name_too_long"))):this.existLabelsNames.includes(n)?i(new Error(this.$T("error","label_name_exists"))):i()},descriptionValidator(e,t,i){return t.trim().length>256?i(new Error(this.$T("error","shared_label_description_too_long"))):i()},isDirty(){return this.$refs.basicForm.isDirty()||this.$refs.colorChooser.isDirty()},async isValid(e=!0){let t=!0;if(e&&!this.isDirty())return t;try{t=await this.$refs.basicForm.validate()}catch(e){SYNO.Debug.error(e),t=!1}return t},async beforeApply(){return this.value.name&&(this.value.name=this.value.name.trim()),!0},onValidate({errResults:e,valid:t}){if(!0===t)return;const i=e.find((e=>e.error));i&&tJ(this,"show-msg-box","alert","",i.error,void 0,!1)}}};d(2520),d(9315);var BX=(0,uJ.Z)(MX,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-form-item"),l=Bi("v-single-select"),d=Bi("ColorChooser"),c=Bi("v-checkbox"),u=Bi("v-form"),h=Fi("tooltip");return jo(),Zo(u,{ref:"basicForm",cls:`${i.prefix}-shared-label-basic-form`,model:i.value,rules:o.rules,synoId:`${i.synoId}-form-basic`,onValidated:s.onValidate},{default:Ii((()=>[is(a,{prop:"name"},{label:Ii((()=>[ts("div",null,[rs(ce(`${e.$T("shared_label","label_name")}${e.$T("common","colon")}`)+" ",1),ts("span",xX,ce(e.$T("common","star")),1)])])),default:Ii((()=>[is(r,{class:"form-field",name:"name","model-value":i.value.name,style:{width:"330px"},synoId:`${i.synoId}-input-name`,"onUpdate:modelValue":t[0]||(t[0]=t=>e.onValueChange("value","name",t))},null,8,["model-value","synoId"])])),_:1}),is(a,{prop:"description",label:`${e.$T("shared_label","label_description")}${e.$T("common","colon")}`},{default:Ii((()=>[is(r,{class:"form-field",name:"description","model-value":i.value.description,style:{width:"330px"},synoId:`${i.synoId}-input-description`,"onUpdate:modelValue":t[1]||(t[1]=t=>e.onValueChange("value","description",t))},null,8,["model-value","synoId"])])),_:1},8,["label"]),is(a,{prop:"copyRule",label:`${e.$T("shared_label","label_copy_rule")}${e.$T("common","colon")}`},{default:Ii((()=>[is(l,{width:"330px",class:"copy-rule-select",options:o.copyRuleOptions,"model-value":i.value.copyRule,synoId:`${i.synoId}-input-copyRule`,"onUpdate:modelValue":t[2]||(t[2]=t=>e.onValueChange("value","copyRule",t))},{"inner-option":Ii((({option:e})=>[ts("div",SX,[Xi((jo(),Ko("div",kX,[rs(ce(e.label),1)])),[[h,{content:e.hint}]]),Xi((jo(),Ko("div",_X,[rs(ce(e.hint),1)])),[[h,{content:e.hint}]])])])),_:1},8,["options","model-value","synoId"]),ts("div",IX,ce(s.copyRuleHint),1)])),_:1},8,["label"]),is(a,{class:"tag-color",prop:"color",label:`${e.$T("shared_label","label_color")}${e.$T("common","colon")}`},{default:Ii((()=>[is(d,{ref:"colorChooser",class:"color-chooser",value:i.value.color,onInput:t[3]||(t[3]=t=>e.onValueChange("value","color",t))},null,8,["value"])])),_:1},8,["label"]),i.showEnabled?(jo(),Zo(a,{key:0,prop:"enabled",hideLabel:!0},{default:Ii((()=>[is(c,{"model-value":i.value.enabled,synoId:`${i.synoId}-input-enabled`,"onUpdate:modelValue":t[4]||(t[4]=t=>e.onValueChange("value","enabled",t))},{default:Ii((()=>[rs(ce(e.$T("shared_label","label_enabled")),1)])),_:1},8,["model-value","synoId"])])),_:1})):ls("v-if",!0)])),_:1},8,["cls","model","rules","synoId","onValidated"])}],["__scopeId","data-v-782e844c"]]);const OX={class:"syno-d-permission-wrapper"},$X={class:"permission-name"},FX={class:"permission-option-hint"},VX={key:0,class:"permission-hint"},PX={key:1,class:"restrict-hint"},NX={class:"share-to-members"};const RX={class:"one-row"},HX={class:"share-list-option"},zX={class:"role-option-container"},WX={class:"invitedMembers-wrapper"},jX={key:0,class:"empty-list-msg"},UX={class:"one-row"},GX={class:"member"},qX={class:"member-name"},YX={class:"role"},KX={class:"role-option-container"},ZX=["onClick"];const JX=KZ.roleOptions.find((e=>e.default)).value;function QX(e){return`${e.type}-${e.name}`}function XX(e,t){return QX(e)>QX(t)}function e1(e,t){const i={action:0===e?"delete":"update",member:{type:t.type,name:t.name}};return 1===e&&(i.permission=t.role),i}function t1(e){const t={...e};return"id"in t&&delete t.id,t}var i1={mixins:[EX],props:{value:{type:Array,default:()=>[]},skipMembers:{type:Array,default:()=>[]},synoId:{type:String,default:"share-to-members"}},emits:["input","show-msg-box"],data(){return{invitedMembers:sJ.deepCopy(this.value),showDropdown:!1,shareList:[],mapOptionToTooltip:e=>e.label,isShareListSelected:!1,invitedMembersSet:new Set,skipMemberSet:new Set,memberChosen:[],roleOptions:KZ.roleOptions,apiData:{},objectRole:[],initialInvitedMembers:[],role:JX}},computed:{isInvitedMemberListEmpty(){return 0===this.invitedMembers.length}},watch:{invitedMembers:{deep:!0,handler(e){tJ(this,"input",e)}}},created(){this.invitedMembers.forEach((e=>{const t=this.getInvitedMemberId(e);this.invitedMembersSet.add(t)}));const e=this.invitedMembers.filter((e=>"user"===e.type)).sort(CX.inviteeSortFunc),t=this.invitedMembers.filter((e=>"group"===e.type)).sort(CX.inviteeSortFunc);this.invitedMembers=e.concat(t),this.initialInvitedMembers=sJ.deepCopy(this.invitedMembers),this.skipMemberSet=new Set(this.skipMembers.map(QX))},methods:{getInvitedMemberId:QX,onRoleChange(e,t){this.invitedMembers[e].role=t},isDirty(){let e=sJ.deepCopy(this.invitedMembers),t=sJ.deepCopy(this.initialInvitedMembers);return e=e.map(t1).sort(XX),t=t.map(t1).sort(XX),0!==this.memberChosen.length||this.role!==JX||JSON.stringify(e)!==JSON.stringify(t)},getUserGroupIconName(e){return["member-icon","user"===e.type?"user-icon":"group-icon"]},checkShowDropdown(){this.showDropdown=!sJ.isEmpty(this.$refs.shareListSelect.display)},async onSearch(e){const t={query:e.toLowerCase(),limit:500,additional:["nickname"],filter:{login:!1}};try{const e=await nX.listAppPriv(t);this.searchCallback(e)}catch(e){SYNO.Debug.error(e)}return this.shareList},searchCallback(e){const t={user:[],group:[]};Array.isArray(e.list)&&e.list.forEach((e=>{this.skipMemberSet.has(QX(e))||"user"!==e.type&&"group"!==e.type||t[e.type].push({type:e.type,label:this.getInvitedMemberDisplayName(e),name:e.name})})),t.user.length>0&&t.group.length>0?this.shareList=t.user.concat(["-"],t.group):this.shareList=t.user.length>0?t.user:t.group},getInvitedMemberDisplayName(e){return e.nickname?`${e.name} (${e.nickname})`:e.name},removeInvitedMember(e){const t=this.invitedMembers.splice(e,1);t.length>0&&this.invitedMembersSet.delete(this.getInvitedMemberId(t[0]))},onAddSharePriv(){0!==this.memberChosen.length&&(this.memberChosen.forEach((e=>{const t=this.getInvitedMemberId(e),i={type:e.type,name:e.name,role:this.role,display:e.label};if(this.invitedMembersSet.has(t)){const e=this.invitedMembers.find((e=>this.getInvitedMemberId(e)===t));Object.assign(e,i)}else this.invitedMembers.splice(0,0,i),this.invitedMembersSet.add(t)})),this.memberChosen=[])},getRoleInfo(e){const t={};return e.forEach((e=>{const i=this.getInvitedMemberId(e);t[i]=sJ.deepCopy(e)})),t},getModifiedRole(){const e=[],t=this.getRoleInfo(this.initialInvitedMembers),i=this.getRoleInfo(this.invitedMembers),n=new Set(Object.keys(t)),o=new Set(Object.keys(i));return n.difference(o).forEach((i=>{const n=t[i];e.push(e1(0,n))})),o.forEach((n=>{const o=t[n],s=i[n];o&&s.role===o.role||e.push(e1(1,s))})),e},async beforeApply(){return this.isDirty()&&0!==this.memberChosen.length?new Promise(((e,t)=>{const i=this.memberChosen.map((e=>e.name)),n=`<div class="syno-d-msgbox-body">${this.$T("shared_label","invitee_confirm_lostchange")}</div>`,o=SYNO.SDS.formatString(n,sJ.htmlEncode(i.join(this.$T("common","comma"))));this.$emit("show-msg-box","confirmLostChange","",o,(i=>{"save"===i?(this.onAddSharePriv(),e()):"dont_save"===i?(this.memberChosen=[],e()):t()}),!1,{useHtml:!0,buttons:{leftCustom:{text:this.$T("common","dont_add")},confirm:{text:this.$T("common","add")}}})})):Promise.resolve()}}};d(6355);const n1=(0,uJ.Z)(i1,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-multiple-select"),l=Bi("v-single-select"),d=Bi("v-button"),c=Bi("v-data-view"),u=Fi("tooltip");return jo(),Ko("div",null,[ts("div",RX,[is(a,{ref:"shareListSelect",modelValue:o.memberChosen,"onUpdate:modelValue":t[0]||(t[0]=e=>o.memberChosen=e),class:"shareListSelect",valueField:"name",width:226,height:30,maxHeight:150,search:s.onSearch,showDropdown:o.showDropdown,tooltip:!0,virtualScrollbar:!0,notFoundText:e.$T("common","no_data"),mapOptionToTooltip:o.mapOptionToTooltip,placeholder:e.$T("share","user_group"),loadingText:e.$T("common","loading"),hasIcon:!1,autoAddLabel:!1,synoId:`${i.synoId}-shareList`,onDisplayChanged:s.checkShowDropdown},{"inner-option":Ii((({option:e})=>[Xi((jo(),Ko("div",HX,[is(r,{name:"user-group-icon",class:ne(s.getUserGroupIconName(e))},null,8,["class"]),rs(" "+ce(e.label),1)])),[[u,{content:e.label}]])])),_:1},8,["modelValue","search","showDropdown","notFoundText","mapOptionToTooltip","placeholder","loadingText","synoId","onDisplayChanged"]),is(l,{modelValue:o.role,"onUpdate:modelValue":t[1]||(t[1]=e=>o.role=e),options:o.roleOptions,closeOnSelect:!0,width:150,height:30,synoId:`${i.synoId}-roleBtn`},{"inner-option":Ii((({option:e})=>[Xi((jo(),Ko("div",zX,[is(r,{name:"menu-item-untick"}),ts("div",null,ce(e.label),1)])),[[u,{content:e.label}]])])),_:1},8,["modelValue","options","synoId"]),is(d,{display:"icon",mobileBreakpoint:!1,synoId:`${i.synoId}-addMemberBtn`,onClick:s.onAddSharePriv},{icon:Ii((()=>[is(r,{name:"add-member"})])),_:1},8,["synoId","onClick"])]),ts("div",WX,[s.isInvitedMemberListEmpty?(jo(),Ko("span",jX,ce(e.$T("empty","share")),1)):(jo(),Zo(c,{key:1,items:o.invitedMembers,style:{height:"174px"},synoId:`${i.synoId}-invitedMembers`},{item:Ii((({item:e,index:t})=>[ts("div",UX,[Xi((jo(),Ko("div",GX,[is(r,{name:"user-group-icon",class:ne(s.getUserGroupIconName(e))},null,8,["class"]),ts("p",qX,ce(e.display),1)])),[[u,{content:e.display}]]),ts("div",YX,[is(l,{class:"member-role","model-value":o.invitedMembers[t].role,options:o.roleOptions,forceSelection:!0,width:150,synoId:`${i.synoId}-memberRoleBtn-${t}`,"onUpdate:modelValue":e=>s.onRoleChange(t,e)},{"inner-option":Ii((({option:e})=>[Xi((jo(),Ko("div",KX,[is(r,{name:"menu-item-untick"}),ts("div",null,ce(e.label),1)])),[[u,{content:e.label}]])])),_:2},1032,["model-value","options","synoId","onUpdate:modelValue"])]),ts("div",{class:"delete-button",onClick:e=>s.removeInvitedMember(t)},[is(r,{class:"share-delete-icon",name:"grid-action-delete"})],8,ZX)])])),_:1},8,["items","synoId"]))])])}],["__scopeId","data-v-d1459afe"]]);var o1={components:{ShareToMembers:n1},mixins:[EX],props:{value:{type:Object,default:()=>({})},prefix:{type:String,default:""},normalOwnerMode:{type:Boolean,default:!0},skipMembersProp:{type:Array,default:()=>[]},synoId:{type:String,default:"shared-label-permission-page"}},emits:["input","show-msg-box","validated"],data(){return{permissionOptions:KZ.permissionOptions}},computed:{permissionHint(){return KZ.permissionOptions.find((e=>e.value===this.value.permission)).hint},skipMembers(){let e=[];const t=this.value.owner;return t&&(e=[{type:"user",name:t}]),e.concat(this.skipMembersProp)}},methods:{onShowMsgBox(...e){tJ(this,"show-msg-box",...e)},async beforeApply(){return this.$refs.shareToMembers.beforeApply()},isDirty(){return this.$refs.permissionForm.isDirty()||this.$refs.shareToMembers.isDirty()},async isValid(){return!0}}};d(7543),d(7112);var s1=(0,uJ.Z)(o1,[["render",function(e,t,i,n,o,s){const r=Bi("v-single-select"),a=Bi("v-form-item"),l=Bi("ShareToMembers"),d=Bi("v-form"),c=Fi("tooltip");return jo(),Zo(d,{ref:"permissionForm",synoId:`${i.synoId}-form-permission`},{default:Ii((()=>[is(a,{prop:"permission",label:`${e.$T("shared_label","label_permissions")}${e.$T("common","colon")}`},{default:Ii((()=>[is(r,{class:"permission-select","model-value":i.value.permission,disabled:i.normalOwnerMode,width:432,synoId:`${i.synoId}-input-permission`,options:o.permissionOptions,"onUpdate:modelValue":t[0]||(t[0]=t=>e.onValueChange("value","permission",t))},{"inner-option":Ii((({option:e})=>[ts("div",OX,[Xi((jo(),Ko("div",$X,[rs(ce(e.label),1)])),[[c,{content:e.hint}]]),Xi((jo(),Ko("div",FX,[rs(ce(e.hint),1)])),[[c,{content:e.hint}]])])])),_:1},8,["model-value","disabled","synoId","options"]),i.normalOwnerMode?(jo(),Ko("div",PX,ce(e.$T("shared_label","restrict_hint")),1)):(jo(),Ko("div",VX,ce(s.permissionHint),1))])),_:1},8,["label"]),is(a,{prop:"invitee",label:`${e.$T("share","invite")}${e.$T("common","colon")}`},{default:Ii((()=>[ts("div",NX,[is(l,{ref:"shareToMembers",value:i.value.invitedMembers,skipMembers:s.skipMembers,onShowMsgBox:s.onShowMsgBox,onInput:t[1]||(t[1]=t=>e.onValueChange("value","invitedMembers",t))},null,8,["value","skipMembers","onShowMsgBox"])])])),_:1},8,["label"])])),_:1},8,["synoId"])}],["__scopeId","data-v-76e7b6d1"]]);const r1={key:0,class:"summary-color-wrapper"},a1={key:1};var l1={props:{value:{type:Object,default:()=>({})},synoId:{type:String,default:"shared-label-summary-page"}},data(){return{columns:[{title:this.$T("shared_label","label_create_title_item"),field:"item",disableSort:!0,width:200},{title:this.$T("shared_label","label_create_title_value"),field:"value",disableSort:!0,width:404,tooltip:e=>e.value&&!0!==e.isColor?e.value:{disabled:!0}}],currentData:[]}},watch:{value:{handler(e){this.setSummaryData(e),tJ(this,"input",e)},deep:!0}},mounted(){this.setSummaryData(this.value)},methods:{formatInvitee(e){return e.join(this.$T("common","comma"))},getColorStyle(e){return{backgroundColor:e}},setSummaryData(e){const t=KZ.copyRuleOptions.find((t=>t.value===e.copyRule)).label,i=KZ.permissionOptions.find((t=>t.value===e.permission)).label,n=[],o=[];[...e.invitedMembers].sort(CX.inviteeSortFunc).forEach((e=>{const t=KZ.roleOptions.find((t=>t.value===e.role)).label,i=`${e.name} (${t})`;"user"===e.type?n.push(i):o.push(i)})),this.currentData=[{item:this.$T("shared_label","label_create_title_name"),value:e.name},{item:this.$T("shared_label","label_description"),value:e.description},{item:this.$T("shared_label","label_copy_rule"),value:t},{item:this.$T("shared_label","label_color"),value:e.color,isColor:!0},{item:this.$T("shared_label","label_permissions"),value:i},{item:this.$T("shared_label","label_invitee_users_title"),value:this.formatInvitee(n)},{item:this.$T("shared_label","label_invitee_groups_title"),value:this.formatInvitee(o)}]}}};d(3449);var d1=(0,uJ.Z)(l1,[["render",function(e,t,i,n,o,s){const r=Bi("v-data-table");return jo(),Zo(r,{currentData:o.currentData,"onUpdate:currentData":t[0]||(t[0]=e=>o.currentData=e),class:"summary-table",columns:o.columns,enableHdMenu:!1,showPagingBar:!1,hideRefreshBtn:!0,showTotal:!1,width:404,synoId:`${i.synoId}-data-table`},{value:Ii((({row:e})=>[e.isColor?(jo(),Ko("div",r1,[ts("div",{class:"summary-color",style:Q(s.getColorStyle(e.value))},null,4)])):(jo(),Ko("div",a1,ce(e.value),1))])),_:1},8,["currentData","columns","synoId"])}],["__scopeId","data-v-5448a604"]]);const c1=KZ.copyRuleOptions.find((e=>e.default)).value,u1=KZ.permissionOptions.find((e=>e.default)).value,h1=`#${ZZ.TagColor[0]}`;var p1={components:{SharedLabelBasicPage:BX,SharedLabelPermissionPage:s1,SharedLabelSummaryPage:d1},mixins:[lJ],props:{synoId:{type:String,default:"label-create-wizard"},ownerLabelsNames:{type:Array,default:()=>[]}},data(){return{skipMembersProp:[{type:"user",name:_S("user")}],nextStepDisabled:!1,previousStepDisabled:!1,formValues:{name:"",description:"",copyRule:c1,permission:u1,color:h1,invitedMembers:[],enabled:!0}}},computed:{normalOwnerMode(){return!_S("is_admin")}},methods:{async isValid(){let e=!1;try{e=(await Promise.all([this.$refs.basicPage.isValid(!1),this.$refs.permissionPage.isValid()])).every(Boolean)}catch(e){SYNO.Debug.error(e)}return e},onValueChange(e){this.formValues=e},async onPreEnterPreviousStep(){let e=await this.isValid();if(!1===e)return!1;try{await this.beforeApply(),e=!0}catch(t){e=!1}return e},async onPreEnterNextStep(){let e=await this.isValid();if(!1===e)return!1;try{await this.beforeApply(),e=!0}catch(t){e=!1}return e},async beforeApply(){return Promise.all([this.$refs.basicPage.beforeApply(),this.$refs.permissionPage.beforeApply()])},async onFinished(){if(!0!==await this.isValid())return;const e=CX.prepareAPIParams(this.formValues);try{await nX.createLabel(e),tJ(this,"apply"),this.close()}catch(e){CX.ErrorHandling(e,this.$refs.win)}}}};var f1=(0,uJ.Z)(p1,[["render",function(e,t,i,n,o,s){const r=Bi("SharedLabelBasicPage"),a=Bi("v-wizard-step"),l=Bi("SharedLabelPermissionPage"),d=Bi("SharedLabelSummaryPage"),c=Bi("v-wizard"),u=Bi("v-wizard-window");return jo(),Zo(u,{ref:"win",width:"700",height:"500",title:`${e.$T("shared_label","wizard_shared_label_title")}`,synoId:`${i.synoId}-wizard-window`},{default:Ii((()=>[is(c,{activeStepKey:"basic",nextStepDisabled:o.nextStepDisabled,previousStepDisabled:o.previousStepDisabled,synoId:`${i.synoId}-wizard`},{default:Ii((()=>[is(a,{stepKey:"basic",nextStepKey:"permission",headline:`${e.$T("shared_label","wizard_shared_label_basic_title")}`,preEnterNextStep:s.onPreEnterNextStep,synoId:`${i.synoId}-step-basic`},{default:Ii((()=>[is(r,{ref:"basicPage",value:o.formValues,"onUpdate:value":t[0]||(t[0]=e=>o.formValues=e),existLabelsNames:i.ownerLabelsNames,showEnabled:!1,onInput:s.onValueChange,onShowMsgBox:e.showMsgBox},null,8,["value","existLabelsNames","onInput","onShowMsgBox"])])),_:1},8,["headline","preEnterNextStep","synoId"]),is(a,{stepKey:"permission",nextStepKey:"summary",headline:`${e.$T("shared_label","wizard_shared_label_permission_title")}`,preEnterPreviousStep:s.onPreEnterPreviousStep,preEnterNextStep:s.onPreEnterNextStep,synoId:`${i.synoId}-step-permission`},{default:Ii((()=>[is(l,{ref:"permissionPage",value:o.formValues,"onUpdate:value":t[1]||(t[1]=e=>o.formValues=e),normalOwnerMode:s.normalOwnerMode,skipMembersProp:o.skipMembersProp,onShowMsgBox:e.showMsgBox,onInput:s.onValueChange},null,8,["value","normalOwnerMode","skipMembersProp","onShowMsgBox","onInput"])])),_:1},8,["headline","preEnterPreviousStep","preEnterNextStep","synoId"]),is(a,{stepKey:"summary",headline:`${e.$T("shared_label","wizard_shared_label_summary_title")}`,preEnterPreviousStep:s.onPreEnterPreviousStep,finished:s.onFinished,synoId:`${i.synoId}-step-summary`},{default:Ii((()=>[is(d,{value:o.formValues,"onUpdate:value":t[2]||(t[2]=e=>o.formValues=e),onInput:s.onValueChange},null,8,["value","onInput"])])),_:1},8,["headline","preEnterPreviousStep","finished","synoId"])])),_:1},8,["nextStepDisabled","previousStepDisabled","synoId"])])),_:1},8,["title","synoId"])}]]);const m1=CX.formValuesToAPIKeyMapping;var g1={props:{synoId:{type:String,default:"shared-label-order-panel"},getParentWin:{type:Function,required:!0}},emits:["change-page","emit-event","show-msg-box","show-toast"],data(){return{isDelegated:SYNO.SDS.Drive.Define.Info.is_delegated,columns:[{title:this.$T("shared_label","label_name"),field:"name",disableSort:!0},{title:this.$T("shared_label","label_permissions"),field:"permission",disableSort:!0,fn:e=>{const t=KZ.roleOptions.find((t=>t.value===e.applyPermission));return t?t.label:""}},{title:this.$T("file","owner"),field:"owner",disableSort:!0,tooltip:!0,fn:e=>{const t=KZ.ownerStatusOptions.find((t=>t.value===e.ownerStatus));return t&&e.ownerStatus!==YZ.OWNER_STATUS_NORMAL?e.ownerStatus===YZ.OWNER_STATUS_NOT_EXIST?"-":`${e.owner} (${t.label})`:e.owner}},{title:this.$T("setting","display"),field:"display",disableSort:!0,action:"enable",align:"center",headerAction:"none"}],placeholder:this.$T("common","search"),advSearchResetBtn:{text:this.$T("common","reset"),clickHandler:this.onAdvSearchReset},searchBtn:{text:this.$T("btn","search"),clickHandler:this.onSearch},labelsInfo:[],searchParams:{keyword:""},canDraggable:!0}},computed:{isEmpty(){let e=!1;return this.$refs.displayTable&&(e=this.$refs.displayTable.isEmptyWithFilteredData),0===this.labelsInfo.length||e}},methods:{showToast(e){this.$emit("show-toast",e)},onApplyCB(e){this.$emit("change-page","2"),this.emit("apply"),e&&this.showToast(e)},emit(e,t){this.$emit("emit-event",e,t)},onCreateLabel(){const e=this.openModalWindow(f1,{ownerLabelsNames:[]}).component;XZ(e,"apply",(()=>{const e=this.$T("shared_label","create_label_success_msg");this.onApplyCB(e)}))},onActionChange({row:e}){const t={labelId:e.labelId,display:e.display,isNewLabel:!1,updateIsNewLabel:!0};this.onApply(t)},onDrop({draggableStates:e}){const{triggerIndex:t,landedIndex:i,insertType:n}=e;let o=0;if(t<i)if("INSERT_TOP"===n)o=Math.max(i-1,0);else o=i;else if(t>i)switch(n){case"INSERT_TOP":default:o=i;break;case"INSERT_BOTTOM":o=Math.min(i+1,this.labelsInfo.length-1)}if(t===o)return;const s={labelId:this.labelsInfo[t].labelId,position:o,display:this.labelsInfo[t].display};this.onApply(s)},showMsgBox(e,t,i,n,o,s){return this.$emit("show-msg-box",e,t,i,n,o,s)},refresh(){this.$refs.displayTable.refresh()},async loadData(){try{const e=await nX.listLabel({type:"shared_label"}),t=CX.APIResponseToFormValues(e.items);return this.labelsInfo=t,{total:this.labelsInfo.length,items:this.labelsInfo}}catch(e){return CX.ErrorHandling(e,this.getParentWin),{total:0,items:[]}}},onDataLoaded(){this.$refs.displayTable.commit()},async onApply(e){const t={};t[m1.labelId]=e.labelId,void 0!==e.position&&(t[m1.position]=e.position),void 0!==e.display&&(t[m1.display]=e.display),void 0!==e.isNewLabel&&void 0!==e.updateIsNewLabel&&(t[m1.isNewLabel]=e.isNewLabel,t[m1.updateIsNewLabel]=e.updateIsNewLabel);try{await nX.updateLabel(t),this.refresh(),this.emit("apply"),this.close()}catch(e){CX.ErrorHandling(e,this.getParentWin)}},onAdvSearchReset(){this.searchParams={keyword:""}},onSearch(){if(!this.isSearchParamsDirty())return this.$refs.displayTable.clearFilter(),void(this.canDraggable=!0);const e=["name","owner"],t=[];for(let i=0;i<e.length;i+=1){const n={};n[e[i]]=new RegExp(this.searchParams.keyword,"i"),t.push(n)}this.$refs.displayTable.filter({fields:t});this.$refs.displayTable.currentFilteredData;this.canDraggable=!1},isSearchParamsDirty(){return""!==this.searchParams.keyword},openModalWindow(e,t){if(!this.getParentWin||!sJ.isFunction(this.getParentWin))return;return this.getParentWin().openModalWindow(e,t)}}};d(9906);var v1=(0,uJ.Z)(g1,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-form-item"),l=Bi("v-form"),d=Bi("v-search-input"),c=Bi("v-empty-view"),u=Bi("v-data-table");return jo(),Ko("div",mX,[ts("div",gX,[is(d,{ref:"advSearch",modelValue:o.searchParams.keyword,"onUpdate:modelValue":t[2]||(t[2]=e=>o.searchParams.keyword=e),class:"advSearch",resetBtn:o.advSearchResetBtn,searchBtn:o.searchBtn,clearable:!0,placeholder:o.placeholder,synoId:`${i.synoId}-searchLabel`,onKeyup:s.onSearch,onClear:s.onSearch},{"advanced-panel":Ii((()=>[is(l,{direction:"vertical",synoId:`${i.synoId}-searchLabel-advanceForm`},{default:Ii((()=>[is(a,{label:`${e.$T("search","keyword")}${e.$T("common","colon")}`},{default:Ii((()=>[is(r,{modelValue:o.searchParams.keyword,"onUpdate:modelValue":t[0]||(t[0]=e=>o.searchParams.keyword=e),synoId:`${i.synoId}-search-keyword`},null,8,["modelValue","synoId"])])),_:1},8,["label"]),is(a,{label:`${e.$T("file","owner")}${e.$T("common","colon")}`},{default:Ii((()=>[is(r,{modelValue:o.searchParams.owner,"onUpdate:modelValue":t[1]||(t[1]=e=>o.searchParams.owner=e),synoId:`${i.synoId}-search-owner`},null,8,["modelValue","synoId"])])),_:1},8,["label"])])),_:1},8,["synoId"])])),_:1},8,["modelValue","resetBtn","searchBtn","placeholder","synoId","onKeyup","onClear"])]),is(u,{ref:"displayTable",class:"display-table",columns:o.columns,data:s.loadData,pagination:!1,showTotal:!s.isEmpty,enableHdMenu:!1,virtualScroll:!0,isDraggable:o.canDraggable,synoId:`${i.synoId}-dataTable`,onDataloaded:s.onDataLoaded,onAction:s.onActionChange,onDrop:s.onDrop},{name:Ii((({row:e})=>[ts("div",vX,[ts("span",{class:"admin-label-color",style:Q({"background-color":e.color})},null,4),ts("div",yX,ce(e.name),1)])])),"empty-area":Ii((()=>[o.isDelegated?(jo(),Zo(c,{key:0,class:"shared-label-empty-view",hideIcon:!0,"action-text":e.$T("shared_label","order_panel_empty_action_text"),onActionClick:s.onCreateLabel},{default:Ii((()=>[rs(ce(e.$T("shared_label","order_panel_empty_text")),1)])),_:1},8,["action-text","onActionClick"])):(jo(),Zo(c,{key:1,class:"shared-label-empty-view",hideAction:!0,hideIcon:!0},{default:Ii((()=>[rs(ce(e.$T("shared_label","no_shared_label_text")),1)])),_:1}))])),"empty-area-in-filtered-data":Ii((()=>[is(c,{class:"shared-label-empty-view",hideAction:!0,hideIcon:!0},{default:Ii((()=>[rs(ce(e.$T("empty","search_no_result")),1)])),_:1})])),_:1},8,["columns","data","showTotal","isDraggable","synoId","onDataloaded","onAction","onDrop"])])}],["__scopeId","data-v-4281188c"]]),y1={components:{SharedLabelOrderPanel:v1},mixins:[lJ],props:{synoId:{type:String,default:"dialog-edit-shared-label"}},methods:{onCancel(){this.close()},getParentWin(){return this.$refs.win},emit(e,t){tJ(this,e,t)}}};d(2387);var b1=(0,uJ.Z)(y1,[["render",function(e,t,i,n,o,s){const r=Bi("SharedLabelOrderPanel"),a=Bi("v-button"),l=Bi("v-panel"),d=Bi("v-modal-window");return jo(),Zo(d,{ref:"win",width:"620",height:"600",title:e.$T("shared_label","edit_label_window_title"),beforeClose:e.beforeClose,synoId:`${i.synoId}-window`},{default:Ii((()=>[is(l,{layoutType:"content",tbar:!1,fbar:!0,synoId:`${i.synoId}-panel`},{body:Ii((()=>[ts("div",pX,[is(r,{ref:"orderPanel",getParentWin:s.getParentWin,onEmitEvent:s.emit},null,8,["getParentWin","onEmitEvent"])])])),fbar:Ii((()=>[ts("div",fX,[is(a,{type:"footbar",suffix:"cancel",synoId:`${i.synoId}-fbar-close`,onClick:s.onCancel},{default:Ii((()=>[rs(ce(e.$T("common","close")),1)])),_:1},8,["synoId","onClick"])])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId"])}],["__scopeId","data-v-bbbb053c"]]);const w1={class:"order-panel-wrapper"},C1={class:"manage-panel-wrapper"},x1={class:"default pull-right button-region"};const S1={class:"wrapper"},k1={class:"toolbar"},_1={class:"toolbar-left"},I1={class:"toolbar-right"},T1={class:"body"},D1={class:"row-wrapper"},L1={class:"admin-label-name"},A1={class:"hint-msg"},E1={class:"hint-msg-note"};var M1={components:{SharedLabelBasicPage:BX,SharedLabelPermissionPage:s1},mixins:[EX,lJ],props:{labelInfo:{type:Object,default:()=>{}},ownerLabelsNames:{type:Array,default:()=>[]},synoId:{type:String,default:"label-edit-window"}},data(){return{activeTabIndex:"1",labelItemInfo:{...this.labelInfo},existLabelsNames:[]}},computed:{normalOwnerMode(){return!_S("is_admin")}},mounted(){this.existLabelsNames=this.ownerLabelsNames.filter((e=>e!==this.labelInfo.name))},methods:{isDirty(){return this.$refs.basicPage.isDirty()||this.$refs.permissionPage.isDirty()},async isValid(){let e=!1;try{const t=await Promise.all([this.$refs.basicPage.isValid(!1),this.$refs.permissionPage.isValid()]);e=t.every(Boolean),!1===e&&(this.activeTabIndex=!1===t[0]?"1":"2")}catch(e){SYNO.Debug.error(e)}return e},getParams(){let e={};const t=sJ.deepCopy(this.labelItemInfo);return"invitedMembers"in t&&delete t.invitedMembers,e=CX.prepareAPIParams(t,!1),e.invitee_list=this.$refs.permissionPage.$refs.shareToMembers.getModifiedRole(),e},async beforeApply(){return Promise.all([this.$refs.basicPage.beforeApply(),this.$refs.permissionPage.beforeApply()])},async onApply(){if(!this.isDirty())return void this.close();if(!await this.isValid())return;let e=!1;try{await this.beforeApply(),e=!0}catch(t){e=!1}if(!1===e)return;const t=this.getParams();try{await nX.updateSharedLabels(t),tJ(this,"apply"),this.close()}catch(e){CX.ErrorHandling(e,this.$refs.win)}},onCancel(){this.isDirty()?this.showMsgBox("confirmLostChange","",this.$T("common","confirm_save_lostchange"),(e=>{"save"===e?this.onApply():"dont_save"===e&&this.close()}),!1):this.close()},onLabelInfoChange(e){this.labelItemInfo=e}}};var B1=(0,uJ.Z)(M1,[["render",function(e,t,i,n,o,s){const r=Bi("SharedLabelBasicPage"),a=Bi("v-tab-pane"),l=Bi("SharedLabelPermissionPage"),d=Bi("v-tabs"),c=Bi("v-modal-window");return jo(),Zo(c,{ref:"win",width:"676",height:"500",title:e.$T("shared_label","edit_label_window_title"),beforeClose:e.beforeClose,mobileBreakpoint:!1,synoId:`${i.synoId}-window`},{default:Ii((()=>[is(d,{ref:"tabs",modelValue:o.activeTabIndex,"onUpdate:modelValue":t[0]||(t[0]=e=>o.activeTabIndex=e),fbar:!0,mobileBreakpoint:!1,synoId:`${i.synoId}-panel`,onCancel:s.onCancel,onConfirm:s.onApply},{default:Ii((()=>[is(a,{tabKey:"1",tab:e.$T("shared_label","edit_label_general_tab"),synoId:`${i.synoId}-basic-page`},{default:Ii((()=>[is(r,{ref:"basicPage",value:o.labelItemInfo,existLabelsNames:o.existLabelsNames,showEnabled:!0,onInput:s.onLabelInfoChange,onShowMsgBox:e.showMsgBox},null,8,["value","existLabelsNames","onInput","onShowMsgBox"])])),_:1},8,["tab","synoId"]),is(a,{tabKey:"2",tab:e.$T("shared_label","edit_label_permission_tab"),synoId:`${i.synoId}-permission-page`},{default:Ii((()=>[is(l,{ref:"permissionPage",value:o.labelItemInfo,normalOwnerMode:s.normalOwnerMode,onShowMsgBox:e.showMsgBox,onInput:s.onLabelInfoChange},null,8,["value","normalOwnerMode","onShowMsgBox","onInput"])])),_:1},8,["tab","synoId"])])),_:1},8,["modelValue","synoId","onCancel","onConfirm"])])),_:1},8,["title","beforeClose","synoId"])}]]);const O1={keyword:"",labelPermissions:YZ.PERMISSION_ANY,copyRule:YZ.COPY_ANY},$1=["name","description","inviteeUsers","inviteeGroups"];function F1(e,t){const i=e.invitedMembers.filter((e=>e.type===t)).map((e=>{const t=KZ.roleOptions.find((t=>t.value===e.role)).label;return`${e.name} (${t})`}));return i.join(GZ("common","comma"))}var V1={props:{synoId:{type:String,default:"shared-label-manage-panel"},getParentWin:{type:Function,required:!0}},emits:["show-msg-box","show-toast","emit-event"],data(){return{permissionOptions:KZ.permissionOptions,copyRuleOptions:KZ.copyRuleOptions,advPermissionOptions:[{value:YZ.PERMISSION_ANY,label:this.$T("shared_label","label_any")}].concat(KZ.permissionOptions),advCopyRuleOptions:[{value:YZ.COPY_ANY,label:this.$T("shared_label","label_any")}].concat(KZ.copyRuleOptions),columns:[{title:this.$T("shared_label","label_name"),field:"name",tooltip:!0,hideMenuItem:!0,sort:"ASC"},{title:this.$T("shared_label","label_description"),field:"description",disableSort:!0,hide:!0,tooltip:e=>e.description||{disabled:!0}},{title:this.$T("shared_label","label_permissions"),field:"permission",tooltip:!0,fn:e=>{const t=this.permissionOptions.find((t=>t.value===e.permission));return t?t.label:""}},{title:this.$T("share","invite"),align:"center",type:"group",field:"inviteeGroup"},{title:this.$T("shared_label","label_invitee_users"),groupKey:"inviteeGroup",field:"inviteeUsers",disableSort:!0,align:"center",tooltip:e=>e.invitedMembers.filter((e=>"user"===e.type)).length<=0?{disabled:!0}:F1(e,"user"),fn:e=>F1(e,"user")},{title:this.$T("shared_label","label_invitee_groups"),groupKey:"inviteeGroup",field:"inviteeGroups",disableSort:!0,align:"center",tooltip:e=>e.invitedMembers.filter((e=>"group"===e.type)).length<=0?{disabled:!0}:F1(e,"group"),fn:e=>F1(e,"group")},{title:this.$T("shared_label","label_copy_rule"),field:"copyRule",tooltip:!0,hide:!0,fn:e=>{const t=this.copyRuleOptions.find((t=>t.value===e.copyRule));return t?t.label:""}},{title:this.$T("common","status"),field:"enabled",hideMenuItem:!0,fn:e=>e.enabled?this.$T("common","enable"):this.$T("common","disable")}],placeholder:this.$T("common","search"),advSearchResetBtn:{text:this.$T("common","reset"),clickHandler:this.onAdvSearchReset},searchBtn:{text:this.$T("btn","search"),clickHandler:this.onSearch},selectedRows:[],createBtnDisabled:!1,editBtnDisabled:!0,deleteBtnDisabled:!0,advSearch:"",searchParams:sJ.deepCopy(O1),stagedSearchParams:sJ.deepCopy(O1),debouncedSearch:yD((()=>{this.onSearch()}),500,{leading:!1,trailing:!0}),labelsInfo:[]}},computed:{visibleColumns(){return this.$refs.sharedLabelTable?this.$refs.sharedLabelTable.currentVisibleColumns.filter((e=>"group"!==e.type)).map((e=>e.field)):[]},isEmpty(){return sJ.isEmpty(this.labelsInfo)||0===this.labelsInfo.total},isAdvSearch(){return this.isSearchParamsDirty()},noLabelText(){return this.isAdvSearch?this.$T("empty","search_no_result"):this.$T("shared_label","no_shared_label_text")}},watch:{selectedRows(e){this.checkBtnDisabled(e)}},methods:{isSearchParamsDirty(){return!Object.entries(O1).every((([e,t])=>t===this.searchParams[e]))},openModalWindow(e,t){if(!this.getParentWin||!sJ.isFunction(this.getParentWin))return;return this.getParentWin().openModalWindow(e,t)},showMsgBox(e,t,i,n,o,s){return this.$emit("show-msg-box",e,t,i,n,o,s)},showToast(e){this.$emit("show-toast",e)},emit(e,t){this.$emit("emit-event",e,t)},getSelectedItems(){return this.selectedRows},getDirtyItems(){return this.$refs.sharedLabelTable.getDirtyRows()},refresh(){this.$refs.sharedLabelTable.refresh()},onAdvSearchReset(){this.stagedSearchParams=sJ.deepCopy(O1)},onSearch(){this.searchParams=sJ.deepCopy(this.stagedSearchParams),this.refresh(),this.$refs.searchField.closeAdvancedPanel()},onCancel(){this.close()},async loadData(){const e={owned_by_me:!0};this.isSearchParamsDirty()&&(""!==this.searchParams.keyword&&(e.keyword=this.searchParams.keyword,e.keyword_search_columns=this.$refs.sharedLabelTable.currentVisibleColumns.filter((e=>$1.includes(e.field))).map((e=>e.field))),this.searchParams.labelPermissions!==YZ.PERMISSION_ANY&&(e.label_permission=this.searchParams.labelPermissions),this.searchParams.copyRule!==YZ.COPY_ANY&&(e.copy_policy=this.searchParams.copyRule));try{const t=await nX.listSharedLabels(e),i=CX.APIResponseToFormValues(t.items);return i.forEach((e=>{"invitedMembers"in e&&Array.isArray(e.invitedMembers)&&e.invitedMembers.sort(CX.inviteeSortFunc)})),this.labelsInfo=i,{total:this.labelsInfo.length,items:this.labelsInfo}}catch(e){return CX.ErrorHandling(e,this.getParentWin),{total:0,items:[]}}},onApplyCB(e){this.refresh(),this.emit("apply"),e&&this.showToast(e)},onDblClick(){this.onEditLabel()},onCreateLabel(){const e=this.openModalWindow(f1,{ownerLabelsNames:this.labelsInfo.map((e=>e.name))}).component;XZ(e,"apply",(()=>{const e=this.$T("shared_label","create_label_success_msg");this.onApplyCB(e)}))},onEditLabel(){const e=this.getSelectedItems(),t=this.openModalWindow(B1,{labelInfo:e[0],ownerLabelsNames:this.labelsInfo.map((e=>e.name))}).component;XZ(t,"apply",(()=>{const e=this.$T("shared_label","edit_label_success_msg");this.onApplyCB(e)}))},onDeleteLabel(){const e=this.getSelectedItems(),t=e.map((e=>sJ.htmlEncode(e.name))),i=ZZ.DeleteLabelMoreThreshold,n=this.$T("shared_label","delete_label_warning_title"),o=t.slice(0,i).join(this.$T("common","comma"));let s="";if(e.length<=i)s=String.format(this.$T("shared_label","delete_label_warning_msg"),o);else{const n=sJ.htmlEncode(t.slice(i).join(this.$T("common","comma"))),r=e.length-i;s=String.format(this.$T("shared_label","delete_label_warning_msg_more"),o,n,r)}s=`<div class="syno-d-msgbox-body">${s}</div>`,this.showMsgBox("confirmDelete",n,s,(t=>{"confirm"===t&&nX.deleteSharedLabels({shared_label_ids:e.map((e=>e.labelId))}).then((()=>{this.onApplyCB()})).catch((e=>{CX.ErrorHandling(e,this.getParentWin)}))}),!1,{useHtml:!0})},onSelectedChange({rows:e}){this.selectedRows=e},onDataLoaded(){this.$refs.sharedLabelTable.sort(),this.$refs.sharedLabelTable.commit()},checkBtnDisabled(e){0===e.length?(this.createBtnDisabled=!1,this.editBtnDisabled=!0,this.deleteBtnDisabled=!0):e.length>1?(this.createBtnDisabled=!1,this.editBtnDisabled=!0,this.deleteBtnDisabled=!1):(this.createBtnDisabled=!1,this.editBtnDisabled=!1,this.deleteBtnDisabled=!1)}}};d(803);const P1=(0,uJ.Z)(V1,[["render",function(e,t,i,n,o,s){const r=Bi("v-button"),a=Bi("v-input"),l=Bi("v-form-item"),d=Bi("v-single-select"),c=Bi("v-form"),u=Bi("v-search-input"),h=Bi("v-empty-view"),p=Bi("v-data-table");return jo(),Ko("div",S1,[ts("div",k1,[ts("div",_1,[is(r,{disabled:o.createBtnDisabled,synoId:`${i.synoId}-create`,onClick:s.onCreateLabel},{default:Ii((()=>[rs(ce(e.$T("common","create")),1)])),_:1},8,["disabled","synoId","onClick"]),is(r,{disabled:o.editBtnDisabled,synoId:`${i.synoId}-edit`,onClick:s.onEditLabel},{default:Ii((()=>[rs(ce(e.$T("common","edit")),1)])),_:1},8,["disabled","synoId","onClick"]),is(r,{disabled:o.deleteBtnDisabled,synoId:`${i.synoId}-delete`,onClick:s.onDeleteLabel},{default:Ii((()=>[rs(ce(e.$T("common","delete")),1)])),_:1},8,["disabled","synoId","onClick"])]),ts("div",I1,[is(u,{ref:"searchField",modelValue:o.stagedSearchParams.keyword,"onUpdate:modelValue":t[4]||(t[4]=e=>o.stagedSearchParams.keyword=e),class:"advSearch",advanced:!0,resetBtn:o.advSearchResetBtn,searchBtn:o.searchBtn,clearable:!0,placeholder:o.placeholder,synoId:`${i.synoId}-searchLabel`,onKeyup:t[5]||(t[5]=e=>o.debouncedSearch(e)),onClear:t[6]||(t[6]=e=>o.debouncedSearch(e))},{"advanced-panel":Ii((()=>[ts("div",{onKeyup:t[3]||(t[3]=Ur(((...e)=>o.debouncedSearch&&o.debouncedSearch(...e)),["enter"]))},[is(c,{class:"shared-label-manage-advanceForm",synoId:`${i.synoId}-searchLabel-advanceForm`},{default:Ii((()=>[is(l,{label:`${e.$T("search","keyword")}${e.$T("common","colon")}`},{default:Ii((()=>[is(a,{modelValue:o.stagedSearchParams.keyword,"onUpdate:modelValue":t[0]||(t[0]=e=>o.stagedSearchParams.keyword=e),style:{width:"280px"},synoId:`${i.synoId}-search-keyword`},null,8,["modelValue","synoId"])])),_:1},8,["label"]),is(l,{label:`${e.$T("shared_label","label_permissions")}${e.$T("common","colon")}`},{default:Ii((()=>[is(d,{modelValue:o.stagedSearchParams.labelPermissions,"onUpdate:modelValue":t[1]||(t[1]=e=>o.stagedSearchParams.labelPermissions=e),options:o.advPermissionOptions,width:280,synoId:`${i.synoId}-search-labelPermissions`},null,8,["modelValue","options","synoId"])])),_:1},8,["label"]),is(l,{label:`${e.$T("shared_label","label_copy_rule")}${e.$T("common","colon")}`},{default:Ii((()=>[is(d,{modelValue:o.stagedSearchParams.copyRule,"onUpdate:modelValue":t[2]||(t[2]=e=>o.stagedSearchParams.copyRule=e),options:o.advCopyRuleOptions,width:280,synoId:`${i.synoId}-search-copyRule`},null,8,["modelValue","options","synoId"])])),_:1},8,["label"])])),_:1},8,["synoId"])],32)])),_:1},8,["modelValue","resetBtn","searchBtn","placeholder","synoId"])])]),ts("div",T1,[is(p,{ref:"sharedLabelTable",class:"shared-label-table",data:s.loadData,columns:o.columns,pagination:!1,showTotal:!s.isEmpty,enableHdMenu:!0,multipleSelected:!0,virtualScroll:!0,synoId:`${i.synoId}-dataTable`,onSelectedChange:s.onSelectedChange,onDataloaded:s.onDataLoaded,onRowdblclick:s.onDblClick},{name:Ii((({row:e})=>[ts("div",D1,[ts("span",{class:"admin-label-color",style:Q({"background-color":e.color})},null,4),ts("div",L1,ce(e.name),1)])])),"empty-area":Ii((()=>[is(h,{class:"shared-label-empty-view",hideAction:!0,hideIcon:!0},{default:Ii((()=>[rs(ce(s.noLabelText),1)])),_:1})])),_:1},8,["data","columns","showTotal","synoId","onSelectedChange","onDataloaded","onRowdblclick"]),ts("div",A1,[ts("span",E1,ce(`${e.$T("common","note")}${e.$T("common","colon")}`),1),rs(" "+ce(e.$T("shared_label","label_note_msg")),1)])])])}],["__scopeId","data-v-1e3da016"]]);var N1={components:{SharedLabelManagePanel:P1,SharedLabelOrderPanel:v1},mixins:[lJ],props:{synoId:{type:String,default:"manage-shared-label"}},data(){return{activeTabIndex:"1"}},watch:{activeTabIndex(e){"1"===e?this.$refs.orderPanel.refresh():this.$refs.managePanel.refresh()}},methods:{onCancel(){this.close()},getParentWin(){return this.$refs.win},emit(e,t){tJ(this,e,t)},changePage(e){this.activeTabIndex=e}}};d(2078);var R1=(0,uJ.Z)(N1,[["render",function(e,t,i,n,o,s){const r=Bi("SharedLabelOrderPanel"),a=Bi("v-tab-pane"),l=Bi("SharedLabelManagePanel"),d=Bi("v-button"),c=Bi("v-tabs"),u=Bi("v-modal-window");return jo(),Zo(u,{ref:"win",width:"800",height:"600",title:e.$T("shared_label","edit_label_window_title"),beforeClose:e.beforeClose,synoId:`${i.synoId}-window`},{default:Ii((()=>[is(c,{ref:"tabs",modelValue:o.activeTabIndex,"onUpdate:modelValue":t[0]||(t[0]=e=>o.activeTabIndex=e),fbar:!0,mobileBreakpoint:!1,synoId:`${i.synoId}-panel`},{fbar:Ii((()=>[ts("span",x1,[is(d,{type:"footbar",suffix:"cancel",synoId:`${i.synoId}-fbar-close`,onClick:s.onCancel},{default:Ii((()=>[rs(ce(e.$T("common","close")),1)])),_:1},8,["synoId","onClick"])])])),default:Ii((()=>[is(a,{"tab-key":"1",tab:e.$T("shared_label","order_panel_title"),synoId:`${i.synoId}-orderPanel`},{default:Ii((()=>[ts("div",w1,[is(r,{ref:"orderPanel",getParentWin:s.getParentWin,onEmitEvent:s.emit,onShowMsgBox:e.showMsgBox,onShowToast:e.showToast,onChangePage:s.changePage},null,8,["getParentWin","onEmitEvent","onShowMsgBox","onShowToast","onChangePage"])])])),_:1},8,["tab","synoId"]),is(a,{"tab-key":"2",tab:e.$T("shared_label","manage_panel_title"),synoId:`${i.synoId}-managePanel`},{default:Ii((()=>[ts("div",C1,[is(l,{ref:"managePanel",getParentWin:s.getParentWin,onShowMsgBox:e.showMsgBox,onShowToast:e.showToast,onEmitEvent:s.emit},null,8,["getParentWin","onShowMsgBox","onShowToast","onEmitEvent"])])])),_:1},8,["tab","synoId"])])),_:1},8,["modelValue","synoId"])])),_:1},8,["title","beforeClose","synoId"])}],["__scopeId","data-v-2f2b8bf2"]]);const H1={class:"default pull-right button-region"};const z1=KZ.permissionOptions.find((e=>e.default)).value,W1=_JSLIBSTR("extlang","fieldblank"),j1=GZ("error","label_name_too_long"),U1=GZ("error","label_name_exists");var G1={components:{SharedLabelPermissionPage:s1},mixins:[lJ,EX],props:{name:{type:String,default:""},labelId:{type:String,default:""},ownerLabelsNames:{type:Array,default:()=>[]},synoId:{type:String,default:"dialog-label-transfer"}},data(){return{skipMembersProp:[{type:"user",name:_S("user")}],formValues:{name:this.name,permission:z1,invitedMembers:[],labelId:this.labelId},rules:[{trigger:"blur",validator:this.nameValidator}]}},computed:{normalOwnerMode(){return!_S("is_admin")}},methods:{nameValidator(e,t,i){const n=t.trim();return 0===n.length?i(new Error(W1)):n.length>ZZ.TAG_MAX_LENGTH?i(new Error(j1)):this.ownerLabelsNames.includes(n)?i(new Error(U1)):i()},isDirty(){return this.$refs.form.isDirty()||this.$refs.sharedLabelPermissionPage.isDirty()},async isValid(){return await this.$refs.form.validate()&&this.$refs.sharedLabelPermissionPage.isValid()},beforeApply(){return this.formValues.name=this.formValues.name.trim(),this.$refs.sharedLabelPermissionPage.beforeApply()},getParams(){let e={};const t=sJ.deepCopy(this.formValues);return"invitedMembers"in t&&delete t.invitedMembers,e=CX.prepareAPIParams(t,!1),e.invitee_list=this.$refs.sharedLabelPermissionPage.$refs.shareToMembers.getModifiedRole(),e},onValidate({errResults:e,valid:t}){if(!0===t)return;const i=e.find((e=>e.error));i&&this.showMsgBox("alert","",i.error,void 0,!1)},onCancel(){this.isDirty()?this.showMsgBox("confirm","",this.$T("common","confirm_lostchange"),(e=>{"confirm"===e&&this.close()}),!1):this.close()},onLabelInfoChange(e){this.formValues=e},async onApply(){if(!await this.isValid())return;let e=!1;try{await this.beforeApply(),e=!0}catch(t){e=!1}if(!1===e)return;const t=this.getParams();try{await nX.updateSharedLabels({...t,action:"migrate_personal_label"}),tJ(this,"apply"),this.showToast(this.$T("shared_label","label_transferred")),this.close()}catch(e){CX.ErrorHandling(e,this.$refs.win)}}}};d(2823);var q1=(0,uJ.Z)(G1,[["render",function(e,t,i,n,o,s){const r=Bi("v-input"),a=Bi("v-form-item"),l=Bi("v-form"),d=Bi("SharedLabelPermissionPage"),c=Bi("v-button"),u=Bi("v-panel"),h=Bi("v-modal-window");return jo(),Zo(h,{ref:"win",width:"676",height:"500",title:e.$T("shared_label","transfer_label_window_title"),beforeClose:e.beforeClose,mobileBreakpoint:!1,synoId:`${i.synoId}-window`},{default:Ii((()=>[is(u,{layoutType:"content",tbar:!1,fbar:!0,synoId:`${i.synoId}-panel`},{body:Ii((()=>[is(l,{ref:"form",direction:"horizontal",model:o.formValues,synoId:`${i.synoId}-form`,onValidated:s.onValidate},{default:Ii((()=>[is(a,{prop:"name",rules:o.rules,label:`${e.$T("shared_label","label_name")}${e.$T("common","colon")}`,synoId:`${i.synoId}-form-name`},{default:Ii((()=>[is(r,{modelValue:o.formValues.name,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formValues.name=e),style:{width:"432px"},synoId:`${i.synoId}-name`},null,8,["modelValue","synoId"])])),_:1},8,["rules","label","synoId"])])),_:1},8,["model","synoId","onValidated"]),is(d,{ref:"sharedLabelPermissionPage",value:o.formValues,normalOwnerMode:s.normalOwnerMode,skipMembersProp:o.skipMembersProp,onShowMsgBox:e.showMsgBox,onInput:s.onLabelInfoChange},null,8,["value","normalOwnerMode","skipMembersProp","onShowMsgBox","onInput"])])),fbar:Ii((()=>[ts("div",H1,[is(c,{type:"footbar",suffix:"cancel",mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-cancel`,onClick:s.onCancel},{default:Ii((()=>[rs(ce(e.cancelText),1)])),_:1},8,["synoId","onClick"]),is(c,{type:"footbar",suffix:"main",mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-commit`,onClick:s.onApply},{default:Ii((()=>[rs(ce(e.$T("common","transfer")),1)])),_:1},8,["synoId","onClick"])])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId"])}],["__scopeId","data-v-99c7507a"]]);const Y1={class:"pull-left"},K1={class:"default pull-right button-region"};const Z1=e=>(ki("data-v-fb53d2a4"),e=e(),_i(),e),J1={class:"v-fieldset-title"},Q1={class:"v-fieldset-title"},X1={class:"syno-d-file-request-desc-optional"},e0={class:"v-fieldset-title"},t0={class:"file-request-identifier-whitetip-wrapper"},i0={class:"file-request-identifier-whitetip-block"},n0={class:"file-request-identifier-whitetip-block"},o0=Z1((()=>ts("div",{class:"file-request-identifier-white-item"},[ts("div",{class:"folder-img"}),ts("div",{class:"example"}," Ben Chang ")],-1))),s0={class:"file-request-identifier-white-item"},r0=Z1((()=>ts("div",{class:"folder-img"},null,-1))),a0={class:"example"},l0={class:"file-request-identifier-whitetip-block"},d0=Z1((()=>ts("div",{class:"file-request-identifier-white-item"},[ts("div",{class:"xxx-img"}),ts("div",{class:"example"}," Ben Chang_Test Document ")],-1))),c0={class:"file-request-identifier-white-item"},u0=Z1((()=>ts("div",{class:"xxx-img"},null,-1))),h0={class:"example"},p0={class:"file-request-item-wrapper"},f0=["innerHTML"],m0={class:"file-request-item-wrapper"},g0={class:"v-fieldset-title"},v0={class:"file-request-item-wrapper"};var y0={props:{synoId:{type:String,default:"fileRequestLink"},findAppWindow:{type:Function,default:void 0},shareLink:{type:String,default:""}},emits:["set-ok","set-error"],data(){return{copyInputReadOnly:!0}},mounted(){sJ.makeCopyable.apply(this,[[this.$refs.copy]])},methods:{onCopySuccess(){tJ(this,"set-ok",this.$T("share","copy_url_done"))},onCopyFailed(){tJ(this,"set-error",this.$T("error","copy_share_link"))}}};var b0=(0,uJ.Z)(y0,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-copy-cut-field"),l=Bi("v-fieldset");return jo(),Zo(l,{title:e.$T("file_request","file_request_link"),collapsible:!1},{default:Ii((()=>[is(a,{ref:"copy",type:"copy",value:i.shareLink,"model-value":i.shareLink,readonly:o.copyInputReadOnly,synoId:`${i.synoId}-copycut`,onActionSuccess:s.onCopySuccess,onActionFailed:s.onCopyFailed},{icon:Ii((()=>[is(r,{name:"copycut-icon"})])),_:1},8,["value","model-value","readonly","synoId","onActionSuccess","onActionFailed"])])),_:1},8,["title"])}]]);const w0="active",C0="create",x0="edit",S0="reopen",k0="create_folder",_0="add_prefix",I0=new Date(24*Math.pow(10,6)*60*60*1e3),T0=(e,t,i)=>{if(""===t.trim()){const e=SYNO.SDS.Drive._T("error","cannot_be_empty");return i(new Error(e))}if(/^\.{1,2}$/.test(t)){const e=SYNO.SDS.Drive._T("error","reserved_name");return i(new Error(e))}if(/[\\\/]/.test(t)){const e=SYNO.SDS.Drive._T("error","reserved_name");return i(new Error(e))}return i()},D0=(e,t,i)=>{if(t.length>500){const e=SYNO.SDS.Drive._T("error","description_too_long");return i(new Error(e))}return i()},L0=(e,t,i)=>{if(0===t.length){const e=SYNO.SDS.Drive._T("error","cannot_be_empty");return i(new Error(e))}return i()};var A0={components:{FileRequestLink:b0},props:{findAppWindow:{type:Function,default:void 0},synoId:{type:String,default:"createFileRequest"},folderId:{type:String,default:""},displayPath:{type:String,default:""},isFromFolder:{type:Boolean,default:!1},fileRequestMode:{type:String,default:C0},fileRequestInfo:{type:Object,default:()=>({})},cb:{type:Function,default:void 0}},emits:["create-success","close-window","set-ok","set-error","set-busy","clear-status","cancel","open-destination-dialog","update-id-display_path","show-msg-box"],data(){return{isCreate:this.fileRequestMode===C0,isEdit:this.fileRequestMode===x0,isReopen:this.fileRequestMode===S0,closeCheck:!0,maxNameLength:ZZ.TITLE_MAX_LENGTH,originalForm:{},formValues:{title:"",description:"",identifier:k0,displayPath:"",enablePassword:!1,password:"",enableLinkExpire:!1,linkExpireDate:new Date(this.getDefaultDate()),shareLink:"",hasDueDateHour:!1},rules:{"formValues.title":[{validator:T0}],"formValues.description":[{validator:D0}],password:[{validator:L0}],displayPath:[{validator:this.validatePath}],linkExpireDate:[{validator:this.validateLinkExpiration}]},minTime:new Date,dateFormat:SYNO.SDS.Drive.Utils.getDateFormat(),linkExpireReadOnly:!1,linkExpireRules:[{trigger:"text-changed",validator:this.validateLinkExpiration}],identifierOptions:[{label:this.$T("file_request","create_folder_for_uploader"),value:k0},{label:this.$T("file_request","add_uploader_before_file"),value:_0}],cancelBtnDisabled:!1,confirmBtnDisabled:!1,originalForcePassword:SYNO.SDS.Drive.Define.Info.file_request_permission.file_request_force_password,originalForceExpirationDays:SYNO.SDS.Drive.Define.Info.file_request_permission.file_request_force_expiration_days}},computed:{titleDisplayPath(){return"/mydrive/"+this.formValues.title},destinationFolderPath(){return!0!==SYNO.SDS.Drive.Define.Info.is_home||""!==this.displayPath?SYNO.SDS.Drive.Utils.parseDisplayPath(this.displayPath):SYNO.SDS.Drive.Utils.parseDisplayPath(this.titleDisplayPath)},forcePassword(){return this.originalForcePassword},getMaxExpirationDays(){return this.originalForceExpirationDays}},watch:{"formValues.enableLinkExpire":{handler(e){e&&(this.formValues.linkExpireDate=this.formValues.linkExpireDate||this.getDefaultDate())}},displayPath:{handler(e){this.formValues.displayPath=e}}},mounted(){this.setWinStatusBusy(),this.initialize(),this.clearWinStatus()},methods:{isDirty(){return this.isReopen||this.formValues.hasDueDateHour!==this.$refs.linkExpireDatePicker.timeChecked||JSON.stringify(this.formValues)!==JSON.stringify(this.originalForm)},getDefaultTimeChecked(){return this.fileRequestInfo.has_due_date_hour},getDefaultDate(){return new Date((new Date).setHours(24,0,0,0))},getMaxTime(){const e=this.getMaxExpirationDays;return e>0?new Date((new Date).getTime()+864e5*e):I0},async createFileRequest(){if(""===this.folderId)return Promise.reject("folder id is empty");const e=this.getParams();e.path="id:"+this.folderId;try{return await this.findAppWindow().getWebAPI().createFileRequestPromise(e)}catch(e){throw SYNO.Debug.error(e),e}},async editFileRequest(){const e=this.getParams();return this.isReopen&&(e.file_request_status=w0),e.sharing_link=this.fileRequestInfo.sharing_link,e.path=this.folderId?"id:"+this.folderId:"link:"+this.fileRequestInfo.permanent_link,await this.findAppWindow().getWebAPI().updateFileRequestPromise(e)},getParams(){return{title:this.formValues.title,identifier:this.formValues.identifier,description:this.formValues.description,protect_password:this.formValues.enablePassword?this.formValues.password:"",due_date:this.formValues.enableLinkExpire?this.formValues.linkExpireDate.getTime()/1e3:0,has_due_date_hour:this.$refs.linkExpireDatePicker.timeChecked}},genRandomPassword(){var e="0987654321abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";return Array.from(crypto.getRandomValues(new Uint8Array(10))).map((t=>e[t%e.length])).join("")},fillFormValues(e){this.formValues.title=e.title,this.formValues.description=e.description,this.formValues.identifier=e.identifier,this.formValues.enablePassword=""!==e.protect_password,this.formValues.password=e.protect_password,this.formValues.enableLinkExpire=0!==e.due_date,this.formValues.linkExpireDate=0===e.due_date?new Date(this.getDefaultDate()):new Date(1e3*e.due_date),this.formValues.shareLink=e.url,this.formValues.hasDueDateHour=e.has_due_date_hour},initialize(){(this.isEdit||this.isReopen)&&this.fillFormValues(this.fileRequestInfo),this.originalForm=sJ.deepCopy(this.formValues),this.forcePassword&&(""===this.formValues.password&&(this.formValues.password=this.genRandomPassword()),this.formValues.enablePassword=!0),this.getMaxExpirationDays>0&&(this.formValues.enableLinkExpire=!0,this.linkExpireReadOnly=!0)},getSelectedIdentifierIconName(e){return this.formValues.identifier===e.value?"menu-item-tick":"menu-item-untick"},showToast(e,t){const i=t&&t.fn||(()=>{}),n=t&&t.text||"";this.$getToastBox(document.body,{delay:8e3,icon:!1,showClose:!1,text:e,onClick:()=>{},actionBtnText:n,actionBtnCls:`${this.synoId}-toastMsg-actionBtn`,onClickActionBtn:i,textCls:`${this.synoId}-toastMsg`,animate:!1},{offset:[0,12]})},validateLinkExpiration(e,t,i){if(!1===this.formValues.enableLinkExpire)return i();const n=new Date;if(t<n){const e=SYNO.SDS.Drive._T("file_request","date_period_error"),t=SYNO.SDS.formatString(e,SYNO.SDS.Drive.Utils.getFormatDateTime(n,true));return i(new Error(t))}if(t>this.getMaxTime()){const e=SYNO.SDS.Drive._T("file_request","date_period_error_max_time"),t=!0,n=SYNO.SDS.formatString(e,SYNO.SDS.Drive.Utils.getFormatDateTime(this.getMaxTime(),t));return i(new Error(n))}return i()},async validatePath(e,t,i){if(""===t.trim()){const e=SYNO.SDS.Drive._T("error","cannot_be_empty");return i(new Error(e))}if("-"===t){const e=SYNO.SDS.Drive._T("error","destination_folder_error");return i(new Error(e))}if(!0===SYNO.SDS.Drive.Define.Info.is_home&&""===this.displayPath)return i();try{const e=await synowebapi.promises.request({...SYNO.SDS.Drive.WebAPIDesc.get_file,params:{path:`id:${this.folderId||this.fileRequestInfo.file_id}`}});if(!e.capabilities.can_write||e.removed)return i(new Error(SYNO.SDS.Drive._T("error","destination_folder_error")))}catch(e){return i(new Error(SYNO.SDS.Drive._T("error","destination_folder_error")))}return i()},async createFolderFromTitle(){var e={path:String.format("/mydrive/"+this.formValues.title),type:"folder",conflict_action:"version"},t=await this.findAppWindow().getWebAPI().createNodePromise(e);e={folderId:t.file_id,displayPath:t.display_path},await tJ(this,"update-id-display_path",e)},async validateForm(){if(!0!==await this.$refs.form.validate(null,{autoScroll:!0}))return!1;if(_S("is_admin"))return!0;try{const{file_request_permission:e}=await synowebapi.promises.request({...SYNO.SDS.Drive.WebAPIDesc.get_setting});let t=!1;const i=SYNO.SDS.Drive.Define.Info.file_request_permission,n=e.file_request_force_password,o=e.file_request_force_expiration_days;if(this.originalForcePassword!==n&&(!1===this.originalForcePassword&&!0===n&&(!1===this.formValues.enablePassword&&(this.formValues.password=this.genRandomPassword(),t=!0),this.formValues.enablePassword=!0),this.originalForcePassword=n,i.file_request_force_password=n),this.originalForceExpirationDays!==o&&(0===this.originalForceExpirationDays&&o>0&&(!1===this.formValues.enableLinkExpire&&(this.formValues.linkExpireDate=new Date(this.getDefaultDate()),t=!0),this.formValues.enableLinkExpire=!0),this.linkExpireReadOnly=o>0,this.originalForceExpirationDays=o,i.file_request_force_expiration_days=o),t)return this.$emit("show-msg-box","alert","",SYNO.SDS.Drive._T("file_request","force_update_info"),null,!1),!1}catch(e){return this.$emit("show-msg-box","alert","",SYNO.SDS.Drive.Utils.getErrorStr(e),null,!1),!1}return!0},async onCreate(){try{if(!await this.validateForm())return;""===this.folderId&&""===this.displayPath&&!0===SYNO.SDS.Drive.Define.Info.is_home&&await this.createFolderFromTitle();const e=await this.createFileRequest();if(this.formValues.shareLink=e.url,this.$emit("create-success",e),this.isFromFolder){const e={text:SYNO.SDS.Drive._T("action","view"),fn:e=>{this.findAppWindow().getNavigation().setCategory("file_request"),e.destroy()}};this.showToast(SYNO.SDS.Drive._T("info_tip","file_request_create_guide"),e)}else this.showToast(SYNO.SDS.Drive._T("info_tip","file_request_created_content"));this.cb()}catch(e){this.$emit("show-msg-box","alert","",SYNO.SDS.Drive.Utils.getErrorStr(e),null,!1)}},async onUpdate(){try{if(!await this.validateForm())return;if(!this.isDirty())return void this.$emit("close-window");await this.editFileRequest(),this.$emit("close-window"),this.showToast(this.isEdit?SYNO.SDS.Drive._T("info_tip","file_request_edited_content"):SYNO.SDS.Drive._T("info_tip","file_request_reopened_content")),this.cb()}catch(e){this.$emit("show-msg-box","alert","",SYNO.SDS.Drive.Utils.getErrorStr(e),null,!1)}},onDestFolderClick(){this.isFromFolder||tJ(this,"open-destination-dialog")},onCancel(){tJ(this,"cancel")},_close(){this.closeCheck=!1,tJ(this,"close-window")},setOK(e){tJ(this,"set-ok",e)},setError(e){tJ(this,"set-error",e)},setWinStatusBusy(){tJ(this,"set-busy")},clearWinStatus(){tJ(this,"clear-status")}}};d(3081);var E0=(0,uJ.Z)(A0,[["render",function(e,t,i,n,o,s){const r=Bi("v-whitetip"),a=Bi("v-input"),l=Bi("v-form-item"),d=Bi("v-fieldset"),c=Bi("v-icon"),u=Bi("v-single-select"),h=Bi("v-checkbox"),p=Bi("v-form-multiple-item"),f=Bi("v-date-picker"),m=Bi("v-form"),g=Bi("FileRequestLink"),v=Bi("v-scrollbar");return jo(),Zo(v,{ref:"scrollbar",hasPadding:!1},{default:Ii((()=>[is(m,{ref:"form",class:"syno-d-add-edit-form form-fieldset",model:o.formValues,rules:o.rules,direction:"vertical",synoId:`${i.synoId}-formTitle`},{default:Ii((()=>[is(d,{title:e.$T("file","title"),collapsible:!1},{title:Ii((()=>[ts("div",J1,[rs(ce(e.$T("file","title"))+" ",1),is(r,{class:"fileRequestWhitetip",content:e.$T("file_request","title_desc_hint")},null,8,["content"])])])),default:Ii((()=>[is(l,{prop:"formValues.title"},{default:Ii((()=>[is(a,{modelValue:o.formValues.title,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formValues.title=e),name:"title",placeholder:e.$T("file_request","title_placeholder"),"syno-id":`${i.synoId}-input-title`},null,8,["modelValue","placeholder","syno-id"])])),_:1})])),_:1},8,["title"]),is(d,{titleHtml:`${e.$T("activate_advance_feature","column_function_description")} <span class='syno-d-file-request-desc-optional'>(${e.$T("common","form_optional")})</span>`,collapsible:!1},{title:Ii((()=>[ts("div",Q1,[rs(ce(e.$T("activate_advance_feature","column_function_description"))+" ",1),ts("span",X1," ("+ce(e.$T("common","form_optional"))+")",1),is(r,{class:"fileRequestWhitetip",content:e.$T("file_request","title_desc_hint")},null,8,["content"])])])),default:Ii((()=>[is(l,{prop:"formValues.description",hideLabel:!0},{default:Ii((()=>[is(a,{modelValue:o.formValues.description,"onUpdate:modelValue":t[1]||(t[1]=e=>o.formValues.description=e),class:"description",name:"description",type:"textarea",placeholder:e.$T("file_request","description_placeholder"),fontSize:"13px",synoId:`${i.synoId}-input-description`},null,8,["modelValue","placeholder","synoId"])])),_:1})])),_:1},8,["titleHtml"]),is(d,{title:e.$T("file_request","destination_folder"),collapsible:!1},{default:Ii((()=>[is(l,{prop:"displayPath"},{default:Ii((()=>[is(a,{modelValue:s.destinationFolderPath,"onUpdate:modelValue":t[2]||(t[2]=e=>s.destinationFolderPath=e),class:"destination-folder",synoId:`${i.synoId}-destination-folder`,placeholder:e.$T("file_request","select_folder_default"),disabled:i.isFromFolder,readonly:"",onClick:t[3]||(t[3]=e=>s.onDestFolderClick())},{"suffix-icons":Ii((()=>[is(c,{name:"doc-multicolor-folder",disabled:i.isFromFolder,"svg-icon-set":"set10"},null,8,["disabled"])])),_:1},8,["modelValue","synoId","placeholder","disabled"])])),_:1})])),_:1},8,["title"]),is(d,{title:e.$T("file_request","uploader_identification"),collapsible:!1},{title:Ii((()=>[ts("div",e0,[rs(ce(e.$T("file_request","uploader_identification"))+" ",1),is(r,{class:"fileRequestWhitetip",content:!1},{default:Ii((()=>[ts("div",t0,[ts("div",i0,ce(e.$T("file_request","identifier_tooltip_title")),1),ts("div",n0,[rs(ce(e.$T("file_request","identifier_tooltip_folder_title"))+" ",1),o0,ts("div",s0,[r0,ts("div",a0,ce(e.$T("file_request","identifier_tooltip_folder_example")),1)])]),ts("div",l0,[rs(ce(e.$T("file_request","identifier_tooltip_prefix_title"))+" ",1),d0,ts("div",c0,[u0,ts("div",h0,ce(e.$T("file_request","identifier_tooltip_prefix_example")),1)])])])])),_:1})])])),default:Ii((()=>[ts("div",p0,[is(u,{modelValue:o.formValues.identifier,"onUpdate:modelValue":t[4]||(t[4]=e=>o.formValues.identifier=e),displayMode:"html",options:o.identifierOptions,closeOnSelect:!0,width:"100%",dropdownOffset:[0,0],synoId:`${i.synoId}-identifierBtn`},{"inner-option":Ii((({option:e})=>[is(c,{name:s.getSelectedIdentifierIconName(e)},null,8,["name"]),ts("div",{innerHTML:e.label},null,8,f0)])),_:1},8,["modelValue","options","synoId"])])])),_:1},8,["title"]),is(d,{title:e.$T("share","password_field_title"),collapsible:!1},{default:Ii((()=>[ts("div",m0,[is(p,{class:"multiple-item",hideLabel:!0,synoId:`${i.synoId}-passwordComposite`},{default:Ii((()=>[is(l,{class:"checkbox"},{default:Ii((()=>[is(h,{modelValue:o.formValues.enablePassword,"onUpdate:modelValue":t[5]||(t[5]=e=>o.formValues.enablePassword=e),disabled:s.forcePassword,synoId:`${i.synoId}-enablePassword`},{default:Ii((()=>[rs(ce(e.$T("share","enable_password")),1)])),_:1},8,["modelValue","disabled","synoId"])])),_:1}),is(l,{class:"input",prop:"password"},{default:Ii((()=>[is(a,{modelValue:o.formValues.password,"onUpdate:modelValue":t[6]||(t[6]=e=>o.formValues.password=e),name:"password",type:"password",class:ne({"compact-input":!0,"syno-d-extra-disable-icon":!o.formValues.enablePassword&&!s.forcePassword}),disabled:!o.formValues.enablePassword&&!s.forcePassword,mobileBreakpoint:!1,synoId:`${i.synoId}-password`},null,8,["modelValue","class","disabled","synoId"])])),_:1})])),_:1},8,["synoId"])])])),_:1},8,["title"]),is(d,{title:e.$T("share","expire_field_title"),collapsible:!1},{title:Ii((()=>[ts("div",g0,[rs(ce(e.$T("share","expire_field_title"))+" ",1),is(r,{class:"fileRequestWhitetip",content:e.$T("file_request","link_expire_content")},null,8,["content"])])])),default:Ii((()=>[ts("div",v0,[is(p,{class:"multiple-item",hideLabel:!0,synoId:`${i.synoId}-linkExpireComposite`},{default:Ii((()=>[is(l,{class:"checkbox"},{default:Ii((()=>[is(h,{modelValue:o.formValues.enableLinkExpire,"onUpdate:modelValue":t[7]||(t[7]=e=>o.formValues.enableLinkExpire=e),disabled:o.linkExpireReadOnly,synoId:`${i.synoId}-enableLinkExpire`},{default:Ii((()=>[rs(ce(e.$T("share","enable_expiration")),1)])),_:1},8,["modelValue","disabled","synoId"])])),_:1}),is(l,{class:"input",prop:"linkExpireDate",rules:o.linkExpireRules},{default:Ii((()=>[is(f,{ref:"linkExpireDatePicker",modelValue:o.formValues.linkExpireDate,"onUpdate:modelValue":t[8]||(t[8]=e=>o.formValues.linkExpireDate=e),dateFormat:o.dateFormat,timeFormat:"H:i",enableHour24:"true",align:"tr->br",class:ne({"syno-d-extra-disable-icon":!o.formValues.enableLinkExpire&&!s.getMaxExpirationDays}),minTime:o.minTime,maxTime:s.getMaxTime(),disabled:!o.formValues.enableLinkExpire&&!s.getMaxExpirationDays,dropdownOffset:[0,2],showTime:!0,defaultTimeChecked:s.getDefaultTimeChecked(),showResetButton:!0,showTodayButton:!0,synoId:`${i.synoId}-linkExpireDate`},null,8,["modelValue","dateFormat","class","minTime","maxTime","disabled","defaultTimeChecked","synoId"])])),_:1},8,["rules"])])),_:1},8,["synoId"])])])),_:1},8,["title"])])),_:1},8,["model","rules","synoId"]),o.isEdit?(jo(),Zo(g,{key:0,ref:"fileRequestLink",findAppWindow:i.findAppWindow,shareLink:o.formValues.shareLink,onSetOk:s.setOK,onSetError:s.setError},null,8,["findAppWindow","shareLink","onSetOk","onSetError"])):ls("v-if",!0)])),_:1},512)}],["__scopeId","data-v-fb53d2a4"]]);const M0={key:0},B0={class:"option"},O0={class:"option-label"},$0={class:"option-desc"},F0={key:1},V0=["innerHTML"];var P0={components:{FileRequestLink:b0},props:{synoId:{type:String,default:"ShareFileRequest"},findAppWindow:{type:Function,default:void 0},fileRequestInfo:{type:Object,default:()=>({})},showSendMail:{type:Boolean,default:!0}},emits:["close-window","set-ok","set-error","set-busy","clear-status","show-msg-box","set-send-btn-disabled"],data(){const e=/^(\w+)([-+.'][\w]+)*@(\w[-\w]*\.){1,5}([A-Za-z]){2,6}$/;return{showDropdown:!0,hasEmailAccount:!0,hasPadding:!1,copyInputReadOnly:!0,formValues:{mailTo:[],additionalMsg:""},autoAddLabel:{validate:t=>!!t.match(e)},contactData:[],rulesMail:[{validator:(t,i,n)=>{for(let t=0;t<i.length;t+=1){const o=sJ.isObject(i[t])?i[t].label:i[t];if(!this.parseMailOptionValue(o).value.toLowerCase().match(e))return n(new Error(_JSLIBSTR("extlang","emailText")))}return n()}}]}},computed:{sendBtnDisabled(){return 0===this.formValues.mailTo.length},mailToOptions(){const e=[];let t=0;return this.contactData.forEach((i=>{const n=sJ.isEmpty(i.name)?i.address:i.name;""!==i.address&&i.name!==i.address&&(e.push({id:t,label:n,desc:i.address,name:i.name,address:i.address,value:this.constructMailOptionValue(t,i.address)}),t+=1)})),e.sort(((e,t)=>e.value>t.value?1:-1)),e},mailToValue(){const e=[];return this.formValues.mailTo.forEach((t=>{if(sJ.isObject(t)&&"normal"!==t.type)return;const i=sJ.isObject(t)?t.label:t;e.push(this.parseMailOptionValue(i).value)})),e},setup_mail_guide(){const e=`<a href="#" class="syno-d-mail-setup-guide">${this.$T("personal_settings","setup_mail_guide")}</a>`;return String.format(this.$T("mail","setup_up_clickable"),e)}},watch:{sendBtnDisabled(e){this.$emit("set-send-btn-disabled",e)}},mounted(){this.onLoadData(),this.$nextTick((()=>{const e=document.querySelector(".syno-d-mail-setup-guide");e&&e.addEventListener("click",this.guideToMailSettingPanel)}))},methods:{constructMailOptionValue(e,t){return`${e}=>${t}`},async onLoadData(){const e=SYNO.SDS.UserSettings.getProperty("SYNO.SDS.App.PersonalSettings.Instance","email_alias");if(this.hasEmailAccount=!!e,0!=this.hasEmailAccount){try{const e=await nX.listContact();this.contactData=e.result}catch(e){}0===this.contactData.length&&(this.showDropdown=!1)}},parseMailOptionValue(e){const t=e.split("=>");return{index:t[0],value:t[1]||t[0]}},onFilter(e,t){const i=new RegExp(`^${e}|\\s+${e}`,"gi");return t.filter((e=>!this.mailToValue.includes(e.address)&&(!(!e.name||null===e.name.match(i))||!(!e.address||null===e.address.match(i)))))},async isValid(){return!this.showSendMail||!this.hasEmailAccount||this.$refs.form.validate()},async onBeforeConfirm(){await this.isValid()&&this.onConfirm()},onConfirm(){const e=this.mailToValue,t=String.format(this.$T("file_request","mail_file_request_subject"),this.fileRequestInfo.title),i=this.createHtmlContent(),n={to:sJ.encode(e),subject:t,body:i};this.onSendMail(n)},escapeHTML(e){return e.replace(/[&<>"']/g,(function(e){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[e]}))},createHtmlContent(){const e=UJ.getSynoDriveBase64Img(),t=_S("user"),i=this.escapeHTML(this.fileRequestInfo.title),n=this.escapeHTML(this.fileRequestInfo.description),o=this.fileRequestInfo.url,s=this.$T("file_request","upload_files"),r=new Date(1e3*this.fileRequestInfo.due_date).toLocaleDateString(),a=String.format(this.$T("file_request","expiration_hint"),r),l=this.fileRequestInfo.due_date>0?`<div class="request-upload-date">${a}</div>`:"",d=this.$T("common","learn_more"),c=(new Date).getFullYear(),u=String.format(this.$T("file_request","learn_more_content"),t),h=`Copyright © ${c} Synology Inc. All rights reserved.`;return function(e,t){const i={};return t.replace(/\.([\w-]+)\s*\{([^}]+)\}/g,((e,t,n)=>{i[t]=n.trim().replace(/\s*;\s*$/,"")})),e.replace(/class="([\w- ]+)"/g,((e,t)=>`style="${t.split(" ").map((e=>i[e])).filter(Boolean).join("; ")}"`))}(`\n <table class="request-mail-container" width="100%" cellpadding="0" cellspacing="0" border="0">\n <tr>\n <td align="center">\n <table cellpadding="0" cellspacing="0" border="0">\n <tr>\n <td width="36" style="vertical-align: middle;">\n <img\n src="${e}"\n alt="Synology Drive" style="width: 36px; height: 36px; display: inline-block; vertical-align: middle;"\n >\n </td>\n <td width="130" style="vertical-align: middle; padding-left: 6px;">\n\t\t <span class="drive-logo-text">Synology Drive</span>\n\t\t </td>\n </tr>\n </table>\n <table class="request-content-container" width="624px" cellpadding="0" cellspacing="0" border="0">\n <tr>\n <td>\n <h1 class="request-title">${String.format(this.$T("file_request","requesting_files"),t,i)}</h1>\n <p class="request-desc" style="white-space: pre-wrap;">${n}</p>\n ${l}\n </td>\n </tr>\n <tr>\n <td>\n <p class="request-learn-more">${u}\n <a href="https://kb.synology.com/DSM/help/SynologyDrive/drive_file_management?version=7#filerequest" target="_blank" class="request-learn-more-link">\n ${d}\n </a>\n </p>\n </td>\n </tr>\n <tr>\n <td>\n <a href="${o}" target="_blank" class="request-mail-btn">\n ${s}\n </a>\n </td>\n </tr>\n </table>\n <table width="100%" cellpadding="0" cellspacing="0" border="0">\n <tr>\n <td>\n <p class="request-copyright">\n ${h}\n </p>\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n `,"\n .drive-logo-text {\n color: #3E4041;\n font-size: 18px;\n font-weight: 500;\n line-height: normal;\n white-space: nowrap;\n }\n .request-mail-container {\n width: 100%;\n height: 100%;\n margin: 60px 0;\n padding: 0;\n }\n .request-content-container {\n width: 100%;\n max-width: 624px;\n margin: 24px auto;\n padding: 60px 48px;\n text-align: center;\n border-radius: 12px;\n border: 1px solid #ECEEF0;\n }\n .request-title {\n color: #2E3032;\n font-size: 20px;\n font-weight: 700;\n line-height: 30px;\n word-wrap: break-word;\n word-break: break-all;\n }\n .request-desc {\n margin: 16px 0;\n color: #7E8082;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n word-wrap: break-word;\n word-break: break-all;\n }\n .request-upload-date {\n color: #2E3032;\n text-align: center;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n }\n .request-learn-more {\n margin: 36px 0;\n color: #2E3032;\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n }\n .request-learn-more-link {\n color: #2E3032;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 24px;\n }\n .request-mail-btn {\n display: inline-block;\n padding: 5px 14px;\n background: #1EB9C7;\n color: #FFFFFF;\n text-decoration: none;\n border-radius: 200px;\n font-size: 13px;\n min-width: 120px;\n box-sizing: content-box;\n line-height: 30px;\n }\n .request-copyright {\n color: #7E8082;\n font-size: 11px;\n font-weight: 400;\n text-align: center;\n margin: 0;\n }\n ")},onSendMail(e){this.setWinStatusBusy(),this.findAppWindow().sendWebAPI({api:"SYNO.Personal.MailAccount.Mail",method:"send",version:1,params:{...e,background:!1},callback:(e,t)=>{if(this.clearWinStatus(),e)this.close();else{const e=oX.APIErrorGet(t.code);tJ(this,"show-msg-box","alert","",e,null,!1)}const i=e?this.$T("file_request","mail_send_success"):this.$T("file_request","mail_send_fail");SYNO.SDS.Drive.Utils.showToastMsg(this.findAppWindow(),i,3e3)},scope:this})},isDirty(){return!(!this.showSendMail||!this.hasEmailAccount)&&this.$refs.form.isDirty()},onCancel(){this.isDirty()?tJ(this,"show-msg-box","confirm","",this.$T("mail","mail_leave_desc"),(e=>{"confirm"===e&&this.close()}),!1):this.close()},close(){tJ(this,"close-window")},setOK(e){tJ(this,"set-ok",e)},setError(e){tJ(this,"set-error",e)},setWinStatusBusy(){tJ(this,"set-busy")},clearWinStatus(){tJ(this,"clear-status")},guideToMailSettingPanel(e){e.preventDefault();let t={};SYNO.SDS.Drive.WebAPICore.sendPromise("get_setting").then(function(e){t=e}.bind(this)).catch(function(e){SYNO.Debug.error(e)}.bind(this)).finally(function(){let e=SYNO.SDS.Drive.GetWindow();new SYNO.SDS.Drive.Setting.Window({owner:e,module:e.getLeftPanel(),drive_setting:t,active_tab:"mail"}).show()}.bind(this)),this.close()}}};d(1695);const N0="create",R0="edit",H0="share",z0="reopen";var W0={components:{CreateFileRequest:E0,ShareFileRequest:(0,uJ.Z)(P0,[["render",function(e,t,i,n,o,s){const r=Bi("FileRequestLink"),a=Bi("v-multiple-select"),l=Bi("v-form-item"),d=Bi("v-form"),c=Bi("v-fieldset"),u=Bi("v-scrollbar");return jo(),Zo(u,{ref:"scrollbar",hasPadding:o.hasPadding},{default:Ii((()=>[is(r,{ref:"fileRequestLink",findAppWindow:i.findAppWindow,shareLink:i.fileRequestInfo.url,onSetOk:s.setOK,onSetError:s.setError},null,8,["findAppWindow","shareLink","onSetOk","onSetError"]),i.showSendMail?(jo(),Zo(c,{key:0,title:e.$T("file_request","send_the_link"),collapsible:!1},{default:Ii((()=>[o.hasEmailAccount?(jo(),Ko("div",M0,[is(d,{ref:"form",direction:"vertical",synoId:`${i.synoId}-form`},{default:Ii((()=>[is(l,{prop:"mailTo",name:"mailTo",rules:o.rulesMail,hideLabel:!0},{default:Ii((()=>[is(a,{modelValue:o.formValues.mailTo,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formValues.mailTo=e),class:"mailSelect",customDropdownCls:"mailDropdown",displayMode:"label",options:s.mailToOptions,filter:s.onFilter,width:"100%",height:120,closeOnSelect:!0,autoAddLabel:o.autoAddLabel,virtualScrollbar:!0,hideTrigger:!0,notFoundText:e.$T("search","no_search_result"),hasIcon:!1,showDropdown:o.showDropdown,clearable:!0,synoId:`${i.synoId}-mailTo`,placeholder:e.$T("file_request","email_address")},{"inner-option":Ii((({option:e})=>[ts("div",B0,[ts("div",O0,ce(e.label),1),ts("div",$0,ce(e.desc),1)])])),_:1},8,["modelValue","options","filter","autoAddLabel","notFoundText","showDropdown","synoId","placeholder"])])),_:1},8,["rules"])])),_:1},8,["synoId"])])):(jo(),Ko("div",F0,[ts("div",{class:"mail-no-account",innerHTML:s.setup_mail_guide},null,8,V0)]))])),_:1},8,["title"])):ls("v-if",!0)])),_:1},8,["hasPadding"])}],["__scopeId","data-v-26749805"]])},mixins:[lJ],props:{synoId:{type:String,default:"dialog-file-request"},findAppWindow:{type:Function,default:void 0},folderId:{type:String,default:""},displayPath:{type:String,default:""},isFromFolder:{type:Boolean,default:!1},fileRequestInfo:{type:Object,default:()=>({})},fileRequestMode:{type:String,default:N0},cb:{type:Function,default:void 0}},data(){return{actionTextMap:new Map([[N0,SYNO.SDS.Drive._T("action","create_file_request")],[R0,SYNO.SDS.Drive._T("action","edit_file_request")],[H0,SYNO.SDS.Drive._T("action","share_file_request")],[z0,SYNO.SDS.Drive._T("action","reopen_file_request")]]),formValues:{folderId:this.folderId,displayPath:this.displayPath,fileRequestInfo:this.fileRequestInfo,fileRequestMode:this.fileRequestMode,showSendMail:SYNO.SDS.Drive.Define.Info.file_request_link_by_email||_S("is_admin")},isSendBtnDisabled:!0,closeCheck:!0,alreadyApply:!1,previousFileId:this.fileRequestInfo.file_id}},computed:{isCreate(){return this.formValues.fileRequestMode===N0},isEdit(){return this.formValues.fileRequestMode===R0},isReopen(){return this.formValues.fileRequestMode===z0},isShare(){return this.formValues.fileRequestMode===H0},showSendMail(){return this.formValues.showSendMail},applyBtnDisabled(){return!!this.isShare&&this.isSendBtnDisabled},fileRequestActionText(){return this.actionTextMap.get(this.formValues.fileRequestMode)||""},cancelButtonText(){return this.isShare?this.$T("common","close"):this.$T("common","cancel")},applyButtonText(){const e={isCreate:this.$T("common","create"),isReopen:this.$T("file_request","reopen"),isShare:this.$T("common","send")},t=Object.keys(e).find((e=>this[e]));return t?e[t]:this.$T("file_request","save")}},methods:{showSharePage(e){this.formValues.fileRequestInfo=e,this.formValues.fileRequestMode="share"},isDirty(){return this.$refs.createFileRequest&&this.$refs.createFileRequest.isDirty()||this.$refs.shareFileRequest&&this.$refs.shareFileRequest.isDirty()},getFileRequestCookieName(e){return`file_request_${e}`},async onApply(){this.isCreate?await this.$refs.createFileRequest.onCreate():this.isShare?await this.$refs.shareFileRequest.onBeforeConfirm():(this.isEdit||this.isReopen)&&await this.$refs.createFileRequest.onUpdate()},async onApplyOnce(){this.alreadyApply||(this.alreadyApply=!0,await this.onApply(),this.alreadyApply=!1)},onCancel(){this.isDirty()?this.showMsgBox("confirm","",_T("common","confirm_lostchange"),(e=>{"confirm"===e&&this._close()}),!1):this._close()},beforeClose(){return!this.closeCheck||(this.onCancel(),!1)},_close(){this.closeCheck=!1,this.close()},openDestinationDialog(){const e=this,t=this.openModalWindow(ZJ,{title:SYNO.SDS.Drive._T("file_request","destination_folder"),findAppWindow:this.findAppWindow,cb:function(t,i,n){if(e.previousFileId===t)return void this.onCancel();const o=e.getFileRequestCookieName("destination_folder");if("true"===localStorage.getItem(o)||e.isCreate)return e.formValues.folderId=t,e.formValues.displayPath=n.display_path,e.previousFileId=t,void this.onCancel();const s=SYNO.SDS.Drive._T("file_request","destination_folder_changed_title"),r=SYNO.SDS.Drive._T("file_request","destination_folder_changed_notify");e.showMsgBox("confirm",s,r,(i=>{i.dontAskAgain&&localStorage.setItem(o,"true"),"confirm"===i.btn&&(e.formValues.folderId=t,e.formValues.displayPath=n.display_path,e.previousFileId=t)}),!1,{buttons:{confirm:{text:SYNO.SDS.Drive._T("common","apply")}},showDontAskAgainOption:!0}),this.onCancel()},createFolderCb:function(i,n){e.findAppWindow().actionmgr.createFolderCB(t,i,n)},selectedCallback:function(e){const i=e[0],n="node"===i.id,o=void 0!==i.team_id;t.setConfirmBtnDisabled(n||o)}}).component},onUpdateIdDisplayPath(e){this.formValues.folderId=e.folderId,this.formValues.displayPath=e.displayPath},openShowMsgBox(e,t,i,n,o=!0){this.showMsgBox(e,t,i,n,o)},setSendBtnDisabled(e){this.isSendBtnDisabled=e}}};d(893);var j0=(0,uJ.Z)(W0,[["render",function(e,t,i,n,o,s){const r=Bi("CreateFileRequest"),a=Bi("ShareFileRequest"),l=Bi("v-status-bar"),d=Bi("v-button"),c=Bi("v-panel"),u=Bi("v-modal-window");return jo(),Zo(u,{ref:"win",width:"560",height:"auto",title:s.fileRequestActionText,beforeClose:s.beforeClose,mobileBreakpoint:!1,synoId:`${i.synoId}-window`,onKeypress:Ur(s.onCancel,["esc"])},{default:Ii((()=>[is(c,{layoutType:"content",tbar:!1,fbar:!0,synoId:`${i.synoId}-panel`},{body:Ii((()=>[s.isCreate||s.isEdit||s.isReopen?(jo(),Zo(r,{key:0,ref:"createFileRequest",folderId:o.formValues.folderId,findAppWindow:i.findAppWindow,isFromFolder:i.isFromFolder,displayPath:o.formValues.displayPath,fileRequestMode:o.formValues.fileRequestMode,fileRequestInfo:i.fileRequestInfo,cb:i.cb,onCreateSuccess:s.showSharePage,onCloseWindow:s._close,onSetBusy:e.setWinStatusBusy,onSetOk:e.setWinStatusOK,onSetError:e.setWinStatusError,onClearStatus:e.clearWinStatus,onCancel:s.onCancel,onShowMsgBox:s.openShowMsgBox,onOpenDestinationDialog:s.openDestinationDialog,onUpdateIdDisplay_path:s.onUpdateIdDisplayPath},null,8,["folderId","findAppWindow","isFromFolder","displayPath","fileRequestMode","fileRequestInfo","cb","onCreateSuccess","onCloseWindow","onSetBusy","onSetOk","onSetError","onClearStatus","onCancel","onShowMsgBox","onOpenDestinationDialog","onUpdateIdDisplay_path"])):(jo(),Zo(a,{key:1,ref:"shareFileRequest",findAppWindow:i.findAppWindow,shareLink:o.formValues.fileRequestInfo.url,fileRequestInfo:o.formValues.fileRequestInfo,showSendMail:s.showSendMail,onCloseWindow:s._close,onSetOk:e.setWinStatusOK,onSetError:e.setWinStatusError,onSetBusy:e.setWinStatusBusy,onClearStatus:e.clearWinStatus,onShowMsgBox:s.openShowMsgBox,onSetSendBtnDisabled:s.setSendBtnDisabled},null,8,["findAppWindow","shareLink","fileRequestInfo","showSendMail","onCloseWindow","onSetOk","onSetError","onSetBusy","onClearStatus","onShowMsgBox","onSetSendBtnDisabled"]))])),fbar:Ii((()=>[ts("div",Y1,[is(l,{class:"status-bar",show:e.showStatusBar,state:e.statusBarState,successText:e.successText,errorText:e.errorText,loadingText:e.loadingText,synoId:`${i.synoId}-statusBar`},null,8,["show","state","successText","errorText","loadingText","synoId"])]),ts("div",K1,[is(d,{type:"footbar",suffix:"cancel",synoId:`${i.synoId}-fbar-cancel`,onClick:s.onCancel},{default:Ii((()=>[rs(ce(s.cancelButtonText),1)])),_:1},8,["synoId","onClick"]),!s.isShare||s.showSendMail?(jo(),Zo(d,{key:0,type:"footbar",suffix:"main",synoId:`${i.synoId}-fbar-apply`,disabled:s.applyBtnDisabled,onClick:s.onApplyOnce},{default:Ii((()=>[rs(ce(s.applyButtonText),1)])),_:1},8,["synoId","disabled","onClick"])):ls("v-if",!0)])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId","onKeypress"])}],["__scopeId","data-v-3287e978"]]);const U0={class:"content-wrapper"},G0=["innerHTML"],q0={key:1,class:"dialog-content"},Y0={key:2};var K0={name:"MsgBox",props:{buttons:{type:Object,default:()=>({})},showDontAskAgainOption:{type:Boolean,default:!1},dontAskAgainMsg:{type:String,default:""},synoId:{type:String,default:"msg-box"}},data(){return{dontAskAgain:!1}},computed:{realDontAskAgainMsg(){return this.dontAskAgainMsg||this.$T("common","prompt_dont_show_again")},bindDoConfirm(){if(this.showDontAskAgainOption)return this.doConfirm},bindDoCancel(){if(this.showDontAskAgainOption)return this.doCancel}},methods:{doConfirm(){if(this.showDontAskAgainOption)return{dontAskAgain:this.dontAskAgain,btn:"confirm"}},doCancel(){if(this.showDontAskAgainOption)return{dontAskAgain:this.dontAskAgain,btn:"cancel"}}}};d(7785);var Z0=(0,uJ.Z)(K0,[["render",function(e,t,i,n,o,s){const r=Bi("v-checkbox"),a=Bi("v-message-box-window");return jo(),Zo(a,{ref:"win",maskContainer:!1,mobileBreakpoint:!1,buttons:i.buttons,doConfirm:s.bindDoConfirm,doCancel:s.bindDoCancel,synoId:`${i.synoId}-msg-box-window`},{content:Ii((({content:e,opts:n})=>[ts("div",U0,[n.useHtml?(jo(),Ko("div",{key:0,class:"dialog-content",innerHTML:e},null,8,G0)):e?(jo(),Ko("div",q0,ce(e),1)):ls("v-if",!0),i.showDontAskAgainOption?(jo(),Ko("div",Y0,[is(r,{modelValue:o.dontAskAgain,"onUpdate:modelValue":t[0]||(t[0]=e=>o.dontAskAgain=e),synoId:`${i.synoId}-dont-ask-again`},{default:Ii((()=>[rs(ce(s.realDontAskAgainMsg),1)])),_:1},8,["modelValue","synoId"])])):ls("v-if",!0)])])),_:1},8,["buttons","doConfirm","doCancel","synoId"])}],["__scopeId","data-v-190bf212"]]);const J0=e=>(ki("data-v-70d5ae60"),e=e(),_i(),e),Q0={ref:"container",class:"recycle-bin-folder-tips-container"},X0=J0((()=>ts("div",{class:"syno-d-arrow syno-d-arrow-white"},null,-1))),e2=J0((()=>ts("div",{class:"syno-d-arrow syno-d-arrow-black"},null,-1))),t2={class:"recycle-bin-folder-tips-text-container"},i2={class:"recycle-bin-folder-tips-title"},n2={class:"recycle-bin-folder-tips-content-container"};var o2={props:{synoId:{type:String,default:"RecycleBinFolderTips"}},data(){return{showTips:!1,mountTo:"body",anchor:{},alignment:{pos:"tl->bl",offset:[-275,10]}}},methods:{init(e){this.parent=e,this.anchor=this.parent.getEl().dom},show(){this.showTips=!0,document.body.addEventListener("click",this.checkIfBlurThenHide)},hide(){this.showTips=!1,document.body.removeEventListener("click",this.checkIfBlurThenHide)},checkIfBlurThenHide(e){!0===this.parent.getEl().dom.contains(e.target)&&this.hide()},hidePermanently(){this.hide(),this.parent.findAppWindow().appInstance.setUserSettings("display_recycle_bin_folder_tips",!1)}}};d(4971);var s2=(0,uJ.Z)(o2,[["render",function(e,t,i,n,o,s){const r=Bi("v-button"),a=Bi("v-portal");return jo(),Zo(a,{mountTo:o.mountTo,anchor:o.anchor,alignment:o.alignment},{default:Ii((()=>[Xi(ts("div",Q0,[X0,e2,ts("div",t2,[ts("div",i2,ce(e.$T("recycle","tips_title")),1),ts("div",n2,ce(e.$T("recycle","tips_desc")),1)]),is(r,{class:"clear-fix float-bottom",type:"footbar",suffix:"main",mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-confirm`,onClick:s.hidePermanently},{default:Ii((()=>[rs(ce(e.$T("recycle","tips_dismiss")),1)])),_:1},8,["synoId","onClick"])],512),[[lr,o.showTips]])])),_:1},8,["mountTo","anchor","alignment"])}],["__scopeId","data-v-70d5ae60"]]);const r2=e=>(ki("data-v-20a601cf"),e=e(),_i(),e),a2=r2((()=>ts("div",{class:"syno-d-arrow syno-d-arrow-white"},null,-1))),l2=r2((()=>ts("div",{class:"syno-d-arrow syno-d-arrow-black"},null,-1))),d2={key:0,class:"shareLink"},c2={class:"ShareGetLinkMenu-title"},u2=["innerHTML"],h2={key:1,class:"advShareLink"},p2={class:"ShareGetLinkMenu-title"},f2=["innerHTML"],m2=["synoId"],g2={key:0};var v2={methods:{onBlur(){this.show=!1},open(){},getDefaultLayout(){return{position:"tl-bl?",offset:[0,10]}},getLayout(){return this.getDefaultLayout()},getArrowLayout(e){return{position:e.bottom?"b-t":"t-b",offset:[0,0]}}}},y2={methods:{setFileLink(){return this.shareHidden=SYNO.SDS.Drive.Utils.isAdvSharingPage(),this.shareHidden?Promise.resolve():(this.sharePermissionText=SYNO.SDS.Drive.Utils.getPermissionText(this.fileInfo.shared_with),SYNO.SDS.Drive.WebAPICore.sendPromise("get_file_link",{path:this.fileInfo.path}).then((e=>{this.sharingLink=e.url})).catch((e=>{SYNO.Debug.error(e,e.stack)})))}}},b2={mixins:[v2,y2,{methods:{setAdvFileLink(){return this.advShareHidden=!this.fileInfo.capabilities.can_share&&!SYNO.SDS.Drive.Utils.isAdvSharingPage(),this.advShareHidden?Promise.resolve():this.fileInfo.capabilities.can_share?SYNO.SDS.Drive.WebAPICore.sendPromise("get_adv_sharing",{path:this.fileInfo.path}).then((e=>{this.updateAdvSharingResultSuccess(e)})).catch((e=>{e.code&&1036===e.code||SYNO.Debug.error(e),this.updateAdvSharingResultFailed()})):SYNO.SDS.Drive.Utils.isAdvSharingPage()?SYNO.SDS.Drive.WebAPICore.sendPromise("get_base_url",{}).then((e=>{const t={url:e.base_url+window.location.pathname,role:"accesser"};this.updateAdvSharingResultSuccess(t)})).catch((()=>{this.updateAdvSharingResultFailed()})):Promise.resolve()},updateAdvSharingResultSuccess(e){this.advSharingLink=e.url,this.advSharingPermissionText=SYNO.SDS.Drive.Utils.getAdvPermissionText(e)},updateAdvSharingResultFailed(){this.advSharingLink="",this.advSharingPermissionText="",this.advShareHidden=!0}}}],props:{synoId:{type:String,default:"ShareGetLinkMenu"},getAlignment:{type:Function,default:void 0},getArrowPosition:{type:Function,default:void 0}},data(){return{copyInputReadOnly:!0,sharingTitle:"",sharingLink:"",advSharingLink:"",sharePermissionText:"",advSharingPermissionText:"",shareHidden:!0,advShareHidden:!0,show:!1,showSharingSettingBtn:!1,arrowOffsetX:30,arrowOffsetY:0,mountTo:"body",anchor:{},alignment:{pos:"tl->bl",offset:[0,0]},arrowAlignment:{offsetX:30,offsetY:0},findAppWindow:()=>{},panelType:"",fileInfo:{}}},computed:{getAlignmentFunc(){return this.getAlignment||this.getLayout},getArrowAlignmentFunc(){return this.getArrowPosition||this.getArrowLayout},action(){return this.findAppWindow().getAction()}},watch:{"fileInfo.file_type":{handler(e){this.sharingTitle="dir"===e?this.$T("share","directory_link"):this.$T("share","file_link")}},arrowAlignment(e){this.$nextTick((()=>{this.show&&this.updateArrowPosition(e.offsetX,e.offsetY)}))},show(e){!0===e&&this.$nextTick((()=>{this.$refs.container.focus()}))}},updated(){this.$nextTick((()=>{this.show&&(this.copySharedLink(),sJ.makeCopyable.apply(this,[[this.$refs.copycutShare,this.$refs.copycutAdv]]))}))},methods:{onFocusout(e){e.stopPropagation(),!1!==this.show&&setTimeout((()=>{if(!this.$refs.container)return;!0===!this.$refs.container.contains(document.activeElement)&&this.onBlur()}),0)},onActionSuccess(){const e=this.$T("share","url_copied");this.$getToastBox(document.body,{delay:3e3,icon:!1,showClose:!1,text:e,onClick:()=>{},actionBtnText:"",actionBtnCls:`${this.synoId}-toastMsg-actionBtn`,onClickActionBtn:()=>{},textCls:`${this.synoId}-toastMsg`,animate:!1},{offset:[0,12]})},isAdvanceSharingLinkShown(){return!this.adv_share_link.hidden},copySharedLink(){(this.shareHidden||this.advShareHidden)&&(this.shareHidden?this.advShareHidden||this.$refs.copycutAdv.onClickButton():this.$refs.copycutShare.onClickButton())},setShareSettingButton(){this.showSharingSettingBtn=SYNO.SDS.Drive.Utils.checkSharePrivilge(this.fileInfo,this.fileInfo.capabilities.can_share)},onOpenShareSetting(){this.show=!1,this.action.shareNode()},open(e){SYNO.Assert(e.fileInfo.path,"need path"),SYNO.Assert(e.fileInfo.capabilities,"need capabilities"),SYNO.Assert(e.fileInfo.shared_with,"need shared_with"),SYNO.Assert(void 0!==e.fileInfo.file_type,"need file_type"),this.findAppWindow=e.findAppWindow,this.anchor=e.anchor,this.panelType=e.panelType,this.fileInfo=e.fileInfo,Promise.all([this.setFileLink(),this.setAdvFileLink()]).then((()=>{this.alignment=this.getAlignmentFunc(),this.setShareSettingButton(),this.show=!0}))},getLayout(){const e={pos:"tl->bl",offset:[0,0]};switch(this.panelType){case"toolbar":e.offset=[-20,16];break;case"menu_pathbar":{const t=this.getAnchorLayout(this.anchor).width/2;e.pos="tl->br",e.offset=[-50-t,10];break}case"thumbnail":e.offset=[-1,10];break;case"detail":case"list":e.offset=[12,6];break;case"compact":e.offset=[12,5];break;case"tile":e.offset=[-10,8];break;case"snippet":e.offset=[5,4]}return e},getArrowLayout(e,t){const i=this.shareHidden||this.advShareHidden?150:246,n={offsetX:0,offsetY:0};switch(this.panelType){case"toolbar":n.offsetX=28;break;case"menu_pathbar":case"list":case"compact":n.offsetX=30;break;case"thumbnail":n.offsetX=69.3;break;case"detail":n.offsetX=35;break;case"tile":n.offsetX=20;break;case"snippet":n.offsetX=27}const o=("l"===this.alignment.pos.at(-1)?t.left:t.right)+this.alignment.offset[0],s=e.x-o;return n.offsetX+=-1*s,"b"===e.anchor[0]?n.offsetY=i-8:n.offsetY=-6,n},onAligned(e){const t=this.getAnchorLayout(this.anchor);this.arrowAlignment=this.getArrowAlignmentFunc(e,t)},updateArrowPosition(e,t){const i=document.getElementsByClassName("syno-d-arrow");Array.prototype.forEach.call(i,(i=>{i.style.left=`${e}px`,i.style.top=`${t}px`}))},getAnchorLayout(e){let t={left:e.left,top:e.top,width:sJ.isDefined(e.width)?e.width:e.offsetWidth,height:sJ.isDefined(e.height)?e.height:e.offsetHeight};return e.getBoundingClientRect&&(t=e.getBoundingClientRect()),t}}};d(324);const w2=(0,uJ.Z)(b2,[["render",function(e,t,i,n,o,s){const r=Bi("v-copy-cut-field"),a=Bi("v-portal");return o.show?(jo(),Zo(a,{key:0,mountTo:o.mountTo,anchor:o.anchor,alignment:o.alignment,onAligned:s.onAligned},{default:Ii((()=>[ts("div",{ref:"container",class:"ShareGetLinkMenu-container",tabindex:"0",onKeypress:t[3]||(t[3]=Ur(((...t)=>e.onBlur&&e.onBlur(...t)),["esc"])),onFocusout:t[4]||(t[4]=(...e)=>s.onFocusout&&s.onFocusout(...e))},[a2,l2,o.shareHidden?ls("v-if",!0):(jo(),Ko("div",d2,[ts("div",c2,ce(o.sharingTitle),1),is(r,{ref:"copycutShare",modelValue:o.sharingLink,"onUpdate:modelValue":t[0]||(t[0]=e=>o.sharingLink=e),type:"copy",readonly:o.copyInputReadOnly,synoId:`${i.synoId}-copycut`,onActionSuccess:s.onActionSuccess,onFocusout:s.onFocusout},null,8,["modelValue","readonly","synoId","onActionSuccess","onFocusout"]),ts("div",{class:"privText",innerHTML:o.sharePermissionText},null,8,u2)])),o.advShareHidden?ls("v-if",!0):(jo(),Ko("div",h2,[ts("div",p2,ce(e.$T("share","public_protection_link")),1),is(r,{ref:"copycutAdv",modelValue:o.advSharingLink,"onUpdate:modelValue":t[1]||(t[1]=e=>o.advSharingLink=e),type:"copy",readonly:o.copyInputReadOnly,synoId:`${i.synoId}-copycut`,onActionSuccess:s.onActionSuccess,onFocusout:s.onFocusout},null,8,["modelValue","readonly","synoId","onActionSuccess","onFocusout"]),ts("div",{class:"privText",innerHTML:o.advSharingPermissionText},null,8,f2)])),ts("div",{class:"sharingBtn",synoId:`${i.synoId}-sharingBtn`,onClick:t[2]||(t[2]=(...e)=>s.onOpenShareSetting&&s.onOpenShareSetting(...e))},[o.showSharingSettingBtn?(jo(),Ko("span",g2,ce(e.$T("share","sharing_settings")),1)):ls("v-if",!0)],8,m2)],544)])),_:1},8,["mountTo","anchor","alignment","onAligned"])):ls("v-if",!0)}],["__scopeId","data-v-20a601cf"]]);var C2=w2;const x2=e=>(ki("data-v-2fd072e6"),e=e(),_i(),e),S2=x2((()=>ts("div",{class:"syno-d-arrow syno-d-arrow-white"},null,-1))),k2=x2((()=>ts("div",{class:"syno-d-arrow syno-d-arrow-black"},null,-1))),_2={class:"requestLink"},I2={class:"RequestGetLinkMenu-title"},T2=["synoId"];var D2={mixins:[v2],props:{synoId:{type:String,default:"RequestGetLinkMenu"},getAlignment:{type:Function,default:void 0},getArrowPosition:{type:Function,default:void 0}},data(){return{copyInputReadOnly:!0,fileRequestTitle:this.$T("file_request","file_request_link"),fileRequestLink:"",show:!1,arrowOffsetX:30,arrowOffsetY:0,mountTo:"body",anchor:{},alignment:{pos:"tl->bl",offset:[0,0]},arrowAlignment:{offsetX:30,offsetY:0},findAppWindow:()=>{},panelType:"",requestInfo:{}}},computed:{getAlignmentFunc(){return this.getAlignment||this.getLayout},getArrowAlignmentFunc(){return this.getArrowPosition||this.getArrowLayout},action(){return this.findAppWindow().getAction()}},watch:{arrowAlignment(e){this.$nextTick((()=>{this.show&&this.updateArrowPosition(e.offsetX,e.offsetY)}))},show(e){!0===e&&this.$nextTick((()=>{this.$refs.container.focus()}))}},updated(){this.$nextTick((()=>{this.show&&(this.copyFileRequestLink(),sJ.makeCopyable.apply(this,[[this.$refs.copyCutFileRequest]]))}))},methods:{onFocusout(e){e.stopPropagation(),!1!==this.show&&setTimeout((()=>{if(!this.$refs.container)return;!0===!this.$refs.container.contains(document.activeElement)&&this.onBlur()}),0)},onActionSuccess(){const e=this.$T("file_request","url_copied");this.$getToastBox(document.body,{delay:3e3,icon:!1,showClose:!1,text:e,onClick:()=>{},actionBtnText:"",actionBtnCls:`${this.synoId}-toastMsg-actionBtn`,onClickActionBtn:()=>{},textCls:`${this.synoId}-toastMsg`,animate:!1},{offset:[0,12]})},copyFileRequestLink(){this.$refs.copyCutFileRequest.onClickButton()},onEditFileRequest(){this.show=!1,this.action.editFileRequest()},open(e){SYNO.Assert(e.requestInfo.url,"need url"),this.findAppWindow=e.findAppWindow,this.anchor=e.anchor,this.panelType=e.panelType,this.fileRequestLink=e.requestInfo.url,this.alignment=this.getAlignmentFunc(),this.show=!0},getLayout(){const e={pos:"tl->bl",offset:[0,0]};switch(this.panelType){case"toolbar":e.offset=[-20,16];break;case"list":e.offset=[-23,6]}return e},getArrowLayout(e,t){const i={offsetX:0,offsetY:0};switch(this.panelType){case"toolbar":i.offsetX=28;break;case"list":i.offsetX=30}const n=("l"===this.alignment.pos.at(-1)?t.left:t.right)+this.alignment.offset[0],o=e.x-n;return i.offsetX+=-1*o,"b"===e.anchor[0]?i.offsetY=142:i.offsetY=-6,i},onAligned(e){const t=this.getAnchorLayout(this.anchor);this.arrowAlignment=this.getArrowAlignmentFunc(e,t)},updateArrowPosition(e,t){const i=document.getElementsByClassName("syno-d-arrow");Array.prototype.forEach.call(i,(i=>{i.style.left=`${e}px`,i.style.top=`${t}px`}))},getAnchorLayout(e){let t={left:e.left,top:e.top,width:sJ.isDefined(e.width)?e.width:e.offsetWidth,height:sJ.isDefined(e.height)?e.height:e.offsetHeight};return e.getBoundingClientRect&&(t=e.getBoundingClientRect()),t}}};d(8106);const L2=(0,uJ.Z)(D2,[["render",function(e,t,i,n,o,s){const r=Bi("v-copy-cut-field"),a=Bi("v-portal");return o.show?(jo(),Zo(a,{key:0,mountTo:o.mountTo,anchor:o.anchor,alignment:o.alignment,onAligned:s.onAligned},{default:Ii((()=>[ts("div",{ref:"container",class:"RequestGetLinkMenu-container",tabindex:"0",onKeypress:t[2]||(t[2]=Ur(((...t)=>e.onBlur&&e.onBlur(...t)),["esc"])),onFocusout:t[3]||(t[3]=(...e)=>s.onFocusout&&s.onFocusout(...e))},[S2,k2,ts("div",_2,[ts("div",I2,ce(o.fileRequestTitle),1),is(r,{ref:"copyCutFileRequest",modelValue:o.fileRequestLink,"onUpdate:modelValue":t[0]||(t[0]=e=>o.fileRequestLink=e),type:"copy",readonly:o.copyInputReadOnly,synoId:`${i.synoId}-copycut`,onActionSuccess:s.onActionSuccess,onFocusout:s.onFocusout},null,8,["modelValue","readonly","synoId","onActionSuccess","onFocusout"])]),ts("div",{class:"fileRequestBtn",synoId:`${i.synoId}-fileRequestBtn`,onClick:t[1]||(t[1]=(...e)=>s.onEditFileRequest&&s.onEditFileRequest(...e))},[ts("span",null,ce(e.$T("file_request","file_request_settings")),1)],8,T2)],544)])),_:1},8,["mountTo","anchor","alignment","onAligned"])):ls("v-if",!0)}],["__scopeId","data-v-2fd072e6"]]);var A2=L2;const E2={class:"data-view-wrapper"},M2={class:"with-border-top"},B2={class:"container"},O2={class:"syno-d-versionviewer-filetypeicon"},$2={class:"info"},F2={class:"syno-d-versionviewer-title"},V2={class:"modifiers syno-d-versionviewer-editors"},P2={key:0},N2={key:1},R2={class:"syno-d-versionviewer-moreactions"},H2={key:1,class:"empty-text",style:{height:"360px"}},z2={class:"default pull-right button-region"};const W2=27;var j2={props:{versionInfo:{type:Object,default:()=>({})},isOffice:{type:Boolean,default:!1},showDownload:{type:Boolean,default:!0},showRestore:{type:Boolean,default:!0},previewHandler:{type:Function,default:void 0},downloadRegularHandler:{type:Function,default:void 0},restoreHandler:{type:Function,default:void 0},copyToNewHandler:{type:Function,default:void 0},downloadOfficeHandler:{type:Function,default:void 0}},emits:["esc-event","click"],data(){return{isMenuOpen:!1,alignment:{pos:"tr->br",offset:[0,0]}}},computed:{iconStyle(){return this.isMenuOpen?"more-action-btn-triggered":"more-action-btn"}},methods:{onDropdownOpen(){this.isMenuOpen=!0},onDropdownClose(){this.isMenuOpen=!1},onKeydown(e){(function(e){return e.key?"Escape"===e.key||"Esc"===e.key:e.keyCode===W2})(e)&&tJ(this,"esc-event")},onClick(e){this.onDropdownOpen(),tJ(this,"click",e)}}};d(3991);var U2={components:{MoreAction:(0,uJ.Z)(j2,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-button"),l=Bi("v-menu-item"),d=Bi("v-menu"),c=Bi("v-portal"),u=Fi("clickoutside");return jo(),Ko("div",null,[is(a,{ref:"btn",type:"styleless",display:"icon",mobileBreakpoint:!1,synoId:`${e.synoId}-dropdown`,onClick:s.onClick},{icon:Ii((()=>[is(r,{name:"icon-comment-more-action",class:ne(s.iconStyle)},null,8,["class"])])),_:1},8,["synoId","onClick"]),o.isMenuOpen?(jo(),Zo(c,{key:0,ref:"portal",mountTo:"body",alignment:o.alignment,anchor:e.$refs.btn.$el},{default:Ii((()=>[Xi((jo(),Zo(d,{class:"syno-d-versionviewer-moreaction-menuitem",width:"auto",closeOnSelect:!0,onClose:s.onDropdownClose,synoId:`${e.synoId}-action`,onKeydown:s.onKeydown},{default:Ii((()=>[i.isOffice?(jo(),Zo(l,{key:0,title:e.$T("action","preview"),synoId:`${e.synoId}-preview`,onClick:t[0]||(t[0]=e=>i.previewHandler(i.versionInfo))},null,8,["title","synoId"])):ls("v-if",!0),!i.isOffice&&i.showDownload?(jo(),Zo(l,{key:1,title:e.$T("action","download"),synoId:`${e.synoId}-download`,onClick:t[1]||(t[1]=e=>i.downloadRegularHandler(i.versionInfo))},null,8,["title","synoId"])):ls("v-if",!0),i.showRestore?(jo(),Zo(l,{key:2,title:e.$T("action","restore"),synoId:`${e.synoId}-restore`,onClick:t[2]||(t[2]=e=>i.restoreHandler(i.versionInfo))},null,8,["title","synoId"])):ls("v-if",!0),is(l,{title:e.$T("action","copy_to_new"),synoId:`${e.synoId}-copy-to-new`,onClick:t[3]||(t[3]=e=>i.copyToNewHandler(i.versionInfo))},null,8,["title","synoId"]),i.isOffice&&i.showDownload?(jo(),Zo(l,{key:3,title:e.$T("action","download"),synoId:`${e.synoId}-download-office`,onClick:t[4]||(t[4]=e=>i.downloadOfficeHandler(i.versionInfo))},null,8,["title","synoId"])):ls("v-if",!0)])),_:1},8,["onClose","synoId","onKeydown"])),[[u,s.onDropdownClose]])])),_:1},8,["alignment","anchor"])):ls("v-if",!0)])}],["__scopeId","data-v-0e808c08"]])},mixins:[lJ],props:{synoId:{type:String,default:"version-viewer"},fileInfo:{type:Object,default:()=>({})},utils:{type:Object,default:()=>({})},sendRequest:{type:Function,default:void 0},findAppWindow:{type:Function,default:void 0}},data(){return{isOffice:!1,items:[]}},computed:{fileTypeIconStyle(){const e=SYNO.SDS.Drive.Utils.getExt(this.fileInfo.name);return`${UJ.getMappingType(e)}-24`},useNickname(){return SYNO.SDS.Drive.Define.Info.use_nickname},filePath(){return this.fileInfo.permanent_link?SYNO.SDS.Drive.Utils.getPathIdByLink(this.fileInfo.permanent_link):SYNO.SDS.Drive.Utils.getPathId(this.fileInfo.file_id)},isEmpty(){return 0===this.items.length},showRestore(){const e=this.fileInfo.node_locking;return!e.is_locked||e.lock_user.name===_S("user")}},mounted(){this.onLoadData()},methods:{onBtnClick(e){this.$refs.view.selectRange(e,e)},onLoadData(){const e=this.filePath;this.isOffice=this.isOffice||(this.isOffice=this.utils.isOfficeFile(this.fileInfo.name));const t=this.utils.getApiInfo(this.isOffice);let i={};i=this.isOffice?{path:e,additional:{uid:!0,name:!0,nickname:this.utils.getNickname()}}:{path:e},this.setWinStatusBusy(),this.sendRequest(t,i,this.onLoadDataDone,this)},onLoadDataDone(e,t){if(!this._isDestroyed)if(this.clearWinStatus(),e)this.fillItems(t);else{const e=SYNO.API.Util.GetFirstError(t);this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(e))}},fillItems(e){let t;t=this.isOffice?e.versions:e.items,t.forEach((e=>{const t=e.version_id||e.version,i=e.created_time?e.created_time:e.mtime,n=SYNO.SDS.Drive.Utils.convertEpochTime(1e3*i),o=e.ver_name;let s,r,a;s=this.isOffice?e.editors:e.editor_display_name?e.editor_display_name:[],this.isOffice?[s,r]=this.processOfficeEditors(s):s=Array.isArray(s)?s.filter((e=>Ext.isString(e)&&""!==e.trim().length)).map(this.process_editor).join(this.$T("common","comma")):this.process_editor(s),a=o?Ext.util.Format.htmlEncode(`${o} (${n})`):Ext.util.Format.htmlEncode(n||" "),!this.isOffice&&this.useNickname&&(r=e.editors,r!==e.editor_display_name&&(r=`${r} (${e.editor_display_name})`)),this.items.push({editors:s,title:a,tooltip:r,verName:o,mtime:n,modifiedTime:i,verId:t})}))},processOfficeEditors(e){let t="",i="";return e.forEach((e=>{t&&(t+=", "),i&&(i+=", "),i+=e.name,0===e.uid?t+=this.$T("common","system"):e.name?this.useNickname&&e.nickname?(t+=e.nickname,i+=` (${e.nickname})`):t+=e.name:t+=this.$T("common","deleted_user")})),[t,i]},process_editor(e){return"#"===e.charAt(0)?this.$T("common","deleted_user"):e},actionPreview(e){const t=this.fileInfo.permanent_link;SYNO.SDS.Drive.Utils.openOfficeLink(t,`ver=${e.verId}`)},actionDownloadRegular(e){const t={files:[{path:this.filePath,version_id:e.verId}]};let i=this.fileInfo.name;"dir"===this.fileInfo.type&&(t.archive_name=i,i+=".zip"),SYNO.SDS.Drive.Utils.showToastMsg(this.findAppWindow(),this.$T("common","preparing_download"),3e3),this.findAppWindow().getAction().downloadFileVersion(t,i,(e=>{this.setWinStatusError(SYNO.SDS.Drive.Utils.getErrorStr(e))}),this)},actionRestore(e){const t=SYNO.SDS.Drive.Utils.getPathId(this.fileInfo.parent_id);if(this.isOffice){const t={action:"restore",path:this.filePath,ver:e.verId,encrypted:this.fileInfo.encrypted};this.setWinStatusBusy();const i=this.fileInfo.name;return void SYNO.SDS.Office.GetAction().restoreVersion(t,this,((e,t)=>{if(this.clearWinStatus(),!e){const e=t?SYNO.SDS.Office.Utils.getErrorStr(t):SYNO.SDS.Office._T("error","restore_version_op_fail");return void this.showMsgBox("alert","",e)}this.close();const n=SYNO.SDS.formatString(this.$T("task","restore_success"),i);this.$getToastBox(document.body,{delay:3e3,text:n},{offset:[0,12]})}))}const i={to_parent_folder:t,action:"restore",conflict_action:"version",files:[{path:this.filePath,version_id:e.verId}]};this.findAppWindow().getAction().doRestoreFileVersion(i,this.fileInfo.name),this.close()},actionCopyToNew(e){const t=this.openModalWindow(SYNO.SDS.Drive.Vue.DialogTree,{title:SYNO.SDS.Drive._T("action","copy_to_new"),findAppWindow:this.findAppWindow,cb:i=>{const n=SYNO.SDS.Drive.Utils.getPathId(i);this.copyToFolder(n,e.verId,t)},selections:this.findAppWindow().getPanel().getSelections(),createFolderCb:(e,i)=>{this.findAppWindow().getAction().createFolderCB(t,e,i)}}).component;this.findAppWindow().getAction().CopyToWindow=t},actionDownloadOffice(e){SYNO.SDS.Office.GetAction().downloadOffice(this.fileInfo,e.verId,this)},copyToFolder(e,t,i){if(i&&i.close(),this.isOffice){const i={to_parent_folder:e,action:"copy",path:this.filePath,ver:t,encrypted:this.fileInfo.encrypted};this.setWinStatusBusy();const n=this.fileInfo.name;return void SYNO.SDS.Office.GetAction().restoreVersion(i,this,((e,t)=>{if(this.clearWinStatus(),!e){const e=t?SYNO.SDS.Office.Utils.getErrorStr(t):SYNO.SDS.Office._T("error","restore_version_op_fail");return void this.showMsgBox("alert","",e)}this.close();const i=SYNO.SDS.formatString(this.$T("task","copy_success"),n);this.$getToastBox(document.body,{delay:3e3,text:i},{offset:[0,12]})}))}const n={to_parent_folder:e,action:"copy",conflict_action:"autorename",files:[{path:this.filePath,version_id:t}]};this.findAppWindow().getAction().doRestoreFileVersion(n,this.fileInfo.name),this.close()},onCloseBtnClicked(){this.close()}}};d(5396);const G2=(0,uJ.Z)(U2,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("MoreAction"),l=Bi("v-data-view"),d=Bi("v-button"),c=Bi("v-panel"),u=Bi("v-modal-window"),h=Fi("tooltip");return jo(),Zo(u,{ref:"win",width:"580",height:"491",title:e.$T("action","manage_versions"),synoId:`${i.synoId}-window`},{default:Ii((()=>[is(c,{layoutType:"content","loading-type":"statusbar",synoId:`${i.synoId}-panel`,"status-bar-state":e.statusBarState,"show-status-bar":e.showStatusBar,"success-text":e.successText,"error-text":e.errorText},{body:Ii((()=>[ts("div",E2,[ts("div",M2,[s.isEmpty?(jo(),Ko("div",H2,ce(e.$T("common","no_data")),1)):(jo(),Zo(l,{key:0,ref:"view",idProperty:"verId",items:o.items,style:{height:"360px"},synoId:`${i.synoId}-data-view`},{item:Ii((({item:e,index:t})=>[ts("div",B2,[ts("div",O2,[is(r,{name:s.fileTypeIconStyle,synoId:`${i.synoId}-typeicon`},null,8,["name","synoId"])]),ts("div",$2,[ts("div",F2,ce(e.title),1),ts("div",V2,[e.editors?(jo(),Ko(Po,{key:0},[s.useNickname?Xi((jo(),Ko("div",P2,[rs(ce(e.editors),1)])),[[h,{content:e.tooltip}]]):(jo(),Ko("div",N2,ce(e.editors),1))],64)):ls("v-if",!0)])]),ts("div",R2,[is(a,{versionInfo:e,isOffice:o.isOffice,showDownload:i.fileInfo.capabilities.can_download,showRestore:s.showRestore,previewHandler:s.actionPreview,downloadRegularHandler:s.actionDownloadRegular,restoreHandler:s.actionRestore,copyToNewHandler:s.actionCopyToNew,downloadOfficeHandler:s.actionDownloadOffice,onEscEvent:s.onCloseBtnClicked,onClick:e=>s.onBtnClick(t)},null,8,["versionInfo","isOffice","showDownload","showRestore","previewHandler","downloadRegularHandler","restoreHandler","copyToNewHandler","downloadOfficeHandler","onEscEvent","onClick"])])])])),_:1},8,["items","synoId"]))])])])),fbar:Ii((()=>[ts("div",z2,[is(d,{type:"footbar",suffix:"cancel",synoId:`${i.synoId}-fbar-cancel`,onClick:s.onCloseBtnClicked},{default:Ii((()=>[rs(ce(e.$T("common","close")),1)])),_:1},8,["synoId","onClick"])])])),_:1},8,["synoId","status-bar-state","show-status-bar","success-text","error-text"])])),_:1},8,["title","synoId"])}],["__scopeId","data-v-7ab8cc68"]]);var q2=G2;const Y2={class:"share-name-column"};const K2=["homes/mydrive","homes/mydrive_home"];const Z2=["mailplus","activebackupforbusiness"];function J2(e){return"tiering_share"===e.share_type}function Q2(e){return"cold_tiering_share"===e.share_type}var X2={isMyDrive:function(e){return K2.includes(e.share_name)},isC2Share:function(e){return"c2_share"===e.share_type},isReservedForOtherPackages:function(e){return Z2.includes(e.share_name.toLowerCase())},isTieringShare:function(e){return J2(e)||Q2(e)},isHotShare:J2,isColdShare:Q2,isTieringDisconnected:function(e){return"disconnected_cold_tier"===e.share_status},DEFINE_SHARE_NAME_POLICY:{maxLength:32,mask:/[\\{}|^[\]?=:+/*()!"#%&',;<>@`~]/,invalidStartRegEx:/^[-\s]/,invalidEndRegEx:/\s$/,reservedName:[".","..","global","home","homes","printers","usbbackup","satabackup"]}},e5={props:{share:{type:Object,required:!0}},computed:{displayName(){const e=this.share.share_name;return"homes/mydrive"===e?this.$T("cstn","users_my_drive"):"homes/mydrive_home"===e?this.$T("cstn","users_my_drive_home"):e},displayIconProp(){return X2.isC2Share(this.share)?{class:"c2-share-icon",tooltip:this.$T("common","hybrid_share_folder")}:X2.isHotShare(this.share)?X2.isTieringDisconnected(this.share)?{class:"tier-disconnected-icon",tooltip:this.$T("common","tiering_share_folder")}:{class:"tier-fill-icon",tooltip:this.$T("common","tiering_share_folder")}:X2.isColdShare(this.share)?{class:"tier-icon",tooltip:this.$T("common","cold_tier_share_folder")}:null}}};d(8560);var t5=(0,uJ.Z)(e5,[["render",function(e,t,i,n,o,s){const r=Bi("v-whitetip"),a=Fi("tooltip");return Xi((jo(),Ko("div",Y2,[ts("span",null,ce(s.displayName),1),null!==s.displayIconProp?(jo(),Zo(r,{key:0,class:"customWhiteTip",content:s.displayIconProp.tooltip},{custom:Ii((()=>[ts("span",{class:ne(s.displayIconProp.class)},null,2)])),_:1},8,["content"])):ls("v-if",!0)])),[[a,{content:s.displayName,overflowOnly:!0}]])}],["__scopeId","data-v-5bd596de"]]);const i5={class:"share-status-wrapper"},n5={key:0},o5=["href"];var s5={props:{share:{type:Object,required:!0}},data(){return{isEnabledDisconnectedColdTier:this.share.share_enable&&X2.isTieringDisconnected(this.share),enabledDisconnectedColdTierTip:String.format(this.$T("common","enabled_disconnected_cold_tier_tip"),"")}},computed:{isUsedByOtherPackage(){return X2.isReservedForOtherPackages(this.share)},displayProps(){const{share:e,$T:t}=this;let i=X2.isReservedForOtherPackages(e);return e.share_enable?"encrypt"===e.share_status?{statusClass:"red-status",statusContent:t("common","share_not_mounted")}:"home_not_supported"===e.share_status?{statusClass:"red-status",statusContent:t("common","home_not_supported")}:"migrating_index_home"===e.share_status?{statusClass:"gray-status",statusContent:t("common","migrating_index_home")}:X2.isTieringDisconnected(e)?{statusClass:"red-status",statusContent:t("common","share_error")}:{statusClass:"green-status",statusContent:this.$T("common","enable")}:"home_disabled"===e.share_status?{statusClass:"red-status",statusContent:this.$T("common","home_disable")}:"not_available"===e.share_status||"not_supported"===e.share_status||X2.isTieringDisconnected(e)||X2.isColdShare(e)?{statusClass:"gray-status",statusContent:this.$T("common","not_available")}:i?{statusClass:"gray-status",statusContent:this.$T("common","not_allowed")}:{statusClass:"gray-status",statusContent:this.$T("common","can_be_enabled")}},whiteTipContent(){const{share:e,isUsedByOtherPackage:t}=this;return t?this.$T("common","sharedfolder_not_allowed_tip"):X2.isTieringDisconnected(e)?e.share_enable?this.enabledDisconnectedColdTierTip:this.$T("common","disabled_disconnected_cold_tier_tip"):"homes"===e.share_name?this.$T("info_tip","teamfolder_homes_tooltip"):"home_not_supported"===e.share_status?this.$T("common","home_not_supported_tip"):"not_available"===e.share_status?this.$T("common","sharedfolder_not_available_tip"):"not_supported"===e.share_status?this.$T("common","shared_on_cold_storage_not_supported_tip"):X2.isColdShare(e)?this.$T("common","shared_on_cold_tier_not_supported_tip"):""},whiteTipLearnMoreLink(){return this.isEnabledDisconnectedColdTier?"https://sy.to/tiered_files_inaccessible":""}}};d(5781);var r5=(0,uJ.Z)(s5,[["render",function(e,t,i,n,o,s){const r=Bi("v-whitetip"),a=Fi("tooltip");return Xi((jo(),Ko("div",i5,[ts("span",{class:ne(s.displayProps.statusClass)},ce(s.displayProps.statusContent),3),s.whiteTipContent?(jo(),Ko("span",n5,[o.isEnabledDisconnectedColdTier?(jo(),Zo(r,{key:0,content:!1},{default:Ii((()=>[ts("span",null,[rs(ce(s.whiteTipContent)+" ",1),ts("a",{href:s.whiteTipLearnMoreLink,target:"_blank"},ce(e.$T("common","learn_more")),9,o5)])])),_:1})):(jo(),Zo(r,{key:1,content:s.whiteTipContent},null,8,["content"]))])):ls("v-if",!0)])),[[a,{content:s.displayProps.statusContent,overflowOnly:!0}]])}],["__scopeId","data-v-a25c1268"]]);const a5={class:"syno-d-volume-option-wrapper"},l5={class:"volume-option-name"},d5={class:"volume-option-capacity"};function c5(e){return"btrfs"===e.fs_type?"generic"===e.volume_attribute?GZ("volume","volume_add_fs_btrfs_type"):GZ("volume","volume_add_fs_btrfs_peta_type"):e.fs_type}var u5={getDisplayName:function(e){let t="";return t=void 0!==SYNO.SDS.Utils.isInSOFS&&SYNO.SDS.Utils.isInSOFS()?SYNO.SDS.Utils.StorageUtils.VolumeNameRenderer(e):`${SYNO.SDS.Utils.StorageUtils.VolumeNameRenderer(e)}${GZ("common","colon")} ${c5(e)}`,e.is_encrypted&&(t=`${t}${GZ("common","comma")} ${GZ("share","volume_encrypted_desc")}`),t},getDisplayFsType:c5,getDisplayCapacity:function(e){return`${GZ("volume","volume_freesize")}${GZ("common","colon")} ${SYNO.SDS.Utils.StorageUtils.UiRenderHelper.SizeRender(e)}`}};var h5={mixins:[dJ],props:{teamfolderSetting:{type:Object,default:()=>({versioning:!0,version:8})},volumeList:{type:Array,default:()=>[]},existingShareNames:{type:Array,default:()=>[]},action:{type:String,required:!0},findAppWindow:{type:Function,default:void 0},onBeforeApply:{type:Function,default:void 0},sendApplyRequest:{type:Function,default:void 0},createAPIParams:{type:Function,default:void 0},onTeamFolderLinkClick:{type:Function,default:void 0},onShareTabLinkClick:{type:Function,default:void 0},getToastMsgAfterChangesApplied:{type:Function,default:()=>""}},emits:["applied"],data(){return{locationOptions:this.volumeList.map(((e,t)=>({label:u5.getDisplayName(e,this.$T),value:t}))),windowName:`quick-${this.action}-team-folder`,selectedVolume:0,formValues:{input:{name:"",location:this.volumeList.length>0?this.volumeList[0].volume_path:"",versioning:this.teamfolderSetting.versioning,version:this.teamfolderSetting.versioning?this.teamfolderSetting.version:8}},maxLength:X2.DEFINE_SHARE_NAME_POLICY.maxLength,rules:{name:[{required:!0},{trigger:["change","blur"],validator:this.volumeNameValidator}],version:[{required:!0},{trigger:["change","blur"],validator:this.versionValidator}]},cancel:this.onCancel,hintForTeamFolderAdvancedFeature:String.format(this.$T("edit_team_folder","advanced_teamfolder_settings_hint"),'<a class="redirect teamfolder-hint">',"</a>"),hintForShareAdvancedSettings:String.format(this.$T("edit_team_folder","advanced_share_settings_hint"),'<a class="redirect share-hint">',"</a>")}},computed:{title(){return"enable"===this.action?this.$T("btn","btn_enable"):"update"===this.action?this.$T("common","setting"):"create"===this.action?this.$T("common","create"):""},hintForQuickTeamFolderSetting(){return"create"===this.action?this.hintForShareAdvancedSettings:this.hintForTeamFolderAdvancedFeature},customFormStyle(){return{"--svc-layout-padding":"0"}}},watch:{selectedVolume(e){this.formValues.input.location=this.volumeList[e].volume_path}},mounted(){const e=this;this.$nextTick((()=>{const t=e.$el.querySelector(".teamfolder-hint");t&&t.addEventListener("click",this.onTeamFolderLinkClick);const i=e.$el.querySelector(".share-hint");i&&i.addEventListener("click",this.onShareTabLinkClick)}))},methods:{versionValidator(e,t,i){if(void 0===t||""===t){const e=_JSLIBSTR("extlang","fieldblank");return i(new Error(e))}const n=Number(t);return!Number.isInteger(n)||n<1||n>32?i(new Error(this.$T("cstn","label_version_limit_placeholder"))):i()},async onApplyClick(){if(!await this.isValid())return;if("edit"===this.action&&!this.isDirty())return void this.close();if(this.onBeforeApply)try{await this.onBeforeApply(this.formValues.input)}catch(e){return}const e=this.createAPIParams(this.formValues.input);this.setWinStatusBusy({text:this.$T("common","loading")});try{await this.sendApplyRequest(e),tJ(this,"applied",this.getToastMsgAfterChangesApplied(e)),this.close()}catch(e){await sJ.APIErrorHandling(e,this.$refs.win),this.clearWinStatus()}},isDirty(){return"create"===this.action&&this.$refs.shareForm.isDirty()||this.$refs.teamfolderForm.isDirty()},async isValid(){let e=await this.$refs.teamfolderForm.validate();if("create"===this.action){return await this.$refs.shareForm.validate()&&e}return e},getVolumeOptionName(e){return u5.getDisplayName(this.volumeList[e])},getVolumeOptionCapacity(e){return u5.getDisplayCapacity(this.volumeList[e].size_free_byte)},volumeNameValidator(e,t,i){const n=X2.DEFINE_SHARE_NAME_POLICY,o=t.toLowerCase();if(-1!==t.search(n.mask)||-1!==t.search(n.invalidStartRegEx)||-1!==t.search(n.invalidEndRegEx))return i(this.$T("edit_team_folder","bad_sharename"));for(const e of n.reservedName)if(o===e)return i(this.$T("edit_team_folder","bad_sharename"));if("yes"===_D("support_multiple_home","no")&&/^homes_[a-z]$/i.test(o))return i(this.$T("edit_team_folder","bad_sharename"));if(-1!==o.indexOf("satashare"))return i(this.$T("edit_team_folder","bad_sharename"));const s=t.indexOf("$");return-1===s||s===t.length-1&&1!==t.length?this.existingShareNames&&this.existingShareNames.includes(o)?i(this.$T("share","share_already_exist")):i():i(this.$T("edit_team_folder","bad_sharename"))}}};d(7610),d(6654);var p5=(0,uJ.Z)(h5,[["render",function(e,t,i,n,o,s){const r=Bi("v-alert-bar"),a=Bi("v-input"),l=Bi("v-form-item"),d=Bi("v-single-select"),c=Bi("v-form"),u=Bi("v-checkbox"),h=Bi("v-panel"),p=Bi("v-modal-window");return jo(),Zo(p,{ref:"win",synoId:`${e.synoId}-${o.windowName}-window`,title:s.title,beforeClose:e.beforeClose,width:580,height:"create"===i.action?460:360},{default:Ii((()=>[is(h,{synoId:`${e.synoId}-${o.windowName}-panel`,tbar:!1,fbar:!0,confirm:s.onApplyClick,cancel:o.cancel},{body:Ii((()=>[is(r,{class:"hint",synoId:`${e.synoId}-${o.windowName}-alert-bar`,text:s.hintForQuickTeamFolderSetting},null,8,["synoId","text"]),"create"===i.action?(jo(),Zo(c,{key:0,ref:"shareForm",class:"share-form",synoId:`${e.synoId}-${o.windowName}-share-form`,model:o.formValues,rules:o.rules,flex:"row",style:Q(s.customFormStyle)},{default:Ii((()=>[is(l,{prop:"name",label:`${e.$T("common","name")}${e.$T("common","colon")}`},{default:Ii((()=>[is(a,{modelValue:o.formValues.input.name,"onUpdate:modelValue":t[0]||(t[0]=e=>o.formValues.input.name=e),class:"input",synoId:`${e.synoId}-${o.windowName}-input-name`,maxlength:o.maxLength},null,8,["modelValue","synoId","maxlength"])])),_:1},8,["label"]),is(l,{prop:"location",label:`${e.$T("func","db_location")}${e.$T("common","colon")}`},{default:Ii((()=>[is(d,{modelValue:o.selectedVolume,"onUpdate:modelValue":t[1]||(t[1]=e=>o.selectedVolume=e),synoId:`${e.synoId}-${o.windowName}-input-location`,options:o.locationOptions},{"inner-option":Ii((({option:e})=>[ts("div",a5,[ts("div",l5,ce(s.getVolumeOptionName(e.value)),1),ts("div",d5,ce(s.getVolumeOptionCapacity(e.value)),1)])])),_:1},8,["modelValue","synoId","options"])])),_:1},8,["label"])])),_:1},8,["synoId","model","rules","style"])):ls("v-if",!0),is(c,{ref:"teamfolderForm",synoId:`${e.synoId}-${o.windowName}-teamfolder-form`,model:o.formValues,rules:o.rules,style:Q(s.customFormStyle)},{default:Ii((()=>[is(l,{"hide-label":"",textonly:""},{default:Ii((()=>[rs(ce(e.$T("version","version_description")),1)])),_:1}),is(l,{hideLabel:!0},{default:Ii((()=>[is(u,{modelValue:o.formValues.input.versioning,"onUpdate:modelValue":t[2]||(t[2]=e=>o.formValues.input.versioning=e),synoId:`${e.synoId}-${o.windowName}-input-versioning`},{default:Ii((()=>[rs(ce(e.$T("version","enable_versioning")),1)])),_:1},8,["modelValue","synoId"])])),_:1}),is(l,{prop:"version",label:e.$T("cstn","label_version_limit"),indent:"1",disableValidation:!o.formValues.input.versioning},{default:Ii((()=>[is(a,{ref:"input",modelValue:o.formValues.input.version,"onUpdate:modelValue":t[3]||(t[3]=e=>o.formValues.input.version=e),class:"input",synoId:`${e.synoId}-${o.windowName}-input-version`,placeholder:e.$T("cstn","label_version_limit_placeholder"),disabled:!o.formValues.input.versioning},null,8,["modelValue","synoId","placeholder","disabled"])])),_:1},8,["label","disableValidation"])])),_:1},8,["synoId","model","rules","style"])])),_:1},8,["synoId","confirm","cancel"])])),_:1},8,["synoId","title","beforeClose","height"])}],["__scopeId","data-v-944bb2de"]]),f5={components:{ShareNameColumn:t5,ShareStatusColumn:r5},mixins:[lJ],props:{findAppWindow:{type:Function,default:void 0},jumpToAdminConsole:{type:Function,default:void 0},jumpToControlPanelShareTab:{type:Function,default:void 0},jumpToUserHomeSettings:{type:Function,default:void 0}},data(){return{columns:[{title:this.$T("common","shared_folder"),field:"share_name"},{title:this.$T("common","status"),field:"share_status"}],selectedRows:[],c2ShareAccounts:{},existingShareNames:[]}},computed:{isEnableBtnEnable(){if(!this.hasSelection)return!1;const{selectedRows:e,canEnable:t}=this;return!(e.length>1&&e.some((e=>X2.isC2Share(e)||X2.isTieringShare(e))))&&e.some((e=>t(e)))},isDisableBtnEnable(){return this.hasSelection&&this.selectedRows.some((e=>e.share_enable))},isSettingsBtnEnable(){return this.hasSelection&&this.selectedRows.some((e=>e.share_enable))},hasSelection(){return this.selectedRows.length>0}},methods:{async loadShareInfo(e){let t={sort_by:"share_name",sort_direction:"ASC"};e.sort_by&&(t.sort_by=e.sort_by),e.sort_direction&&(t.sort_direction=e.sort_direction);const i=[{...SYNO.SDS.Drive.WebAPIDesc.list_share,params:t}];SYNO.SDS.CSTN.SupportHybridShare()&&i.push(SYNO.SDS.Drive.WebAPIDesc.list_c2_share);const n=await nX.compoundAPI(i);if(!0===n.has_fail)return sJ.APIErrorHandling(n,this.$refs.win),{total:0,items:[]};const o=n.result[0].data;return this.existingShareNames=o.items.map((e=>e.share_name.toLowerCase())),SYNO.SDS.CSTN.SupportHybridShare()&&(this.c2ShareAccounts=n.result[1].data),o},onSelectedChange(e){this.selectedRows=e.rows},onGoToTeamFolderClick(){this.jumpToAdminConsole()},async onCreateClick(){const e=this.findAppWindow();var t=[];try{t=(await e.getWebAPI().listVolumePromise({limit:-1,offset:0,location:"internal",option:"include_cold_storage"})).volumes}catch(e){return SYNO.Debug.error(e),void sJ.APIErrorHandling(e,this.$refs.win)}this.createDialog=this.$refs.win.openModalWindow(p5,{action:"create",sendApplyRequest:async t=>{try{await this.createShare(this.createShareInfo(t.create))}catch(e){throw e}return e.getWebAPI().enableTeamFolderPromise(t.enable)},createAPIParams:e=>{const t={share_enable:!0,share_name:e.name};return e.versioning?(t.rotate_cnt=Number(e.version),t.rotate_policy="fifo",t.rotate_days=30):t.rotate_cnt=0,{create:{name:e.name,location:e.location},enable:{share:[t]}}},getToastMsgAfterChangesApplied:e=>String.format(this.$T("edit_team_folder","teamfolder_created_toast"),e.enable.share[0].share_name),onTeamFolderLinkClick:()=>{this.jumpToAdminConsole()},onShareTabLinkClick:()=>{this.jumpToControlPanelShareTab()},volumeList:t,existingShareNames:this.existingShareNames}).component,XZ(this.createDialog,"applied",this.afterApply)},async onEnableClick(){if(!this.hasSelection)return!1;const e=this.selectedRows.filter((e=>!e.share_enable&&!X2.isReservedForOtherPackages(e))),t=e.filter((e=>X2.isC2Share(e))),i=e.some((e=>X2.isMyDrive(e))),n=e.some((e=>X2.isTieringShare(e)));let o=!1;const s=this.findAppWindow(),r=e=>e.versioning?{rotate_cnt:Number(e.version),rotate_policy:"fifo",rotate_days:30}:{rotate_cnt:0};let a={versioning:!0,version:8};t.length>0&&(a.versioning=!1),this.enableDialog=this.$refs.win.openModalWindow(p5,{action:"enable",teamfolderSetting:a,onBeforeApply:async e=>{if(t.length>0)return this.showC2ShareRemainder(this.enableDialog,t,r(e));return n&&e.versioning?this.showTieringRemainder():""},sendApplyRequest:e=>s.getWebAPI().enableTeamFolderPromise(e),createAPIParams:t=>({share:(o?e.filter((e=>!X2.isMyDrive(e))):e).map((e=>{const i={share_name:e.share_name};return X2.isMyDrive(e)||(i.share_enable=!0),Object.assign(i,r(t)),i}))}),getToastMsgAfterChangesApplied:e=>e.share.length>1?String.format(this.$T("edit_team_folder","enable_multi_teamfolder_toast"),e.share.length):String.format(this.$T("edit_team_folder","enable_single_teamfolder_toast"),e.share[0].share_name),onTeamFolderLinkClick:()=>{this.jumpToAdminConsole()}}).component,XZ(this.enableDialog,"applied",this.afterApply),i&&(this.enableDialog.setWinStatusBusy(),this.showMsgBox("confirm","",this.$T("warning","enable_home_service"),(t=>{"confirm"===t?this.jumpToUserHomeSettings():1===e.length?this.enableDialog.close():o=!0,this.enableDialog.clearWinStatus()}),!1,{useHtml:!0}))},async onDisableClick(){if(!this.hasSelection)return!1;const e=this.selectedRows.filter((e=>e.share_enable)),t=e.filter((e=>X2.isC2Share(e))),i=e.some((e=>X2.isMyDrive(e)));if(i&&1==e.length){return void("confirm"===await this.$refs.win.getMsgBox(SYNO.SDS.Drive.Vue.MsgBox).confirm("",this.$T("warning","disable_home_service"))&&this.jumpToUserHomeSettings())}if(t.length>0){let i="";i=t.length>1?this.$T("warning","hybrid_share_disable_sync_multi"):String.format(this.$T("warning","hybrid_share_disable_sync"),t[0].share_name,this.c2ShareAccounts[t[0].share_name].synology_account);if("confirm"===await this.$refs.win.getMsgBox(SYNO.SDS.Drive.Vue.MsgBox).confirm("",i)){this.setWinStatusBusy();try{await this.disableTeamFolder(e)}catch(e){SYNO.Debug.error(e),sJ.APIErrorHandling(e,this.$refs.win)}this.afterApply(),this.clearWinStatus()}return}if("confirm"!==await this.$refs.win.getMsgBox(SYNO.SDS.Drive.Vue.MsgBox).confirm("",this.$T("warning","msg_remove_user_share_db")))return;let n="";i&&(n=await this.$refs.win.getMsgBox(SYNO.SDS.Drive.Vue.MsgBox).confirm("",this.$T("warning","disable_home_service_with_team_folder")));const o=this.disableTeamFolder(e);"confirm"===n&&this.jumpToUserHomeSettings(),this.setWinStatusBusy();try{await o}catch(e){SYNO.Debug.error(e),sJ.APIErrorHandling(e,this.$refs.win)}let s=e.length>1?String.format(this.$T("edit_team_folder","disable_multi_teamfolder_toast"),e.length):String.format(this.$T("edit_team_folder","disable_single_teamfolder_toast"),e[0].share_name);this.afterApply(s),this.clearWinStatus()},onSettingsClick(){if(!this.hasSelection)return!1;const e=this.selectedRows.filter((e=>e.share_enable)),t=e.filter((e=>X2.isC2Share(e))),i=e.some((e=>X2.isTieringShare(e))),n=e[0].rotate_cnt,o={versioning:e.some((e=>e.rotate_cnt>0)),version:e.every((e=>e.rotate_cnt===n))?n:null},s=this.findAppWindow(),r=this;this.settingsDialog=this.$refs.win.openModalWindow(p5,{action:"update",teamfolderSetting:o,onBeforeApply:async e=>{const n=(e=>({versioning:e.versioning,version:e.versioning?Number(e.version):0}))(e);if(r.needToShowCleanupConfirm(o,n)){let e=r.$T("warning","version_start_cleanup");t.length>1?e=r.$T("version","hybrid_share_version_start_cleanup_multi"):1===t.length&&(e=String.format(r.$T("warning","hybrid_share_version_start_cleanup"),r.c2ShareAccounts[t[0].share_name].synology_account));if("confirm"!==await this.settingsDialog.$refs.win.getMsgBox(SYNO.SDS.Drive.Vue.MsgBox).confirm("",e))throw new Error("canceled");return""}if(t.length>0&&r.needToShowC2Remainder(o,n))return r.showC2ShareRemainder(this.settingsDialog,t,n);return i&&!o.versioning&&n.versioning?r.showTieringRemainder():""},sendApplyRequest:e=>s.getWebAPI().updateTeamFolderSettingsPromise(e),createAPIParams:e=>({share:this.selectedRows.filter((e=>e.share_enable)).map((t=>({share_name:t.share_name,rotate_cnt:e.versioning?Number(e.version):0})))}),getToastMsgAfterChangesApplied:()=>this.$T("edit_team_folder","changes_saved_toast"),onTeamFolderLinkClick:()=>{this.jumpToAdminConsole()}}).component,XZ(this.settingsDialog,"applied",this.afterApply)},createShareInfo(e){return{name:e.name,vol_path:e.location,desc:"",enable_recycle_bin:!0,recycle_bin_admin_only:!0,enable_share_cow:!1,enable_share_compress:!1}},async createShare(e){return this.findAppWindow().getWebAPI().createSharePromise({name:e.name,shareinfo:e})},async disableTeamFolder(e){return this.findAppWindow().getWebAPI().updateTeamFolderSettingsPromise({share:e.map((e=>({share_name:e.share_name,share_enable:!1})))})},afterApply(e){this.$refs.table.refresh(),this.findAppWindow().getEventMgr().fireEvent("updateteamfolderdone"),sJ.isString(e)&&""!==e&&this.showApplyToast(e)},showApplyToast(e){this.$refs.win.getToastBox(this.$refs.win.$el,{delay:3e3,text:e,animate:!1},{offset:[0,12]})},canEnable(e){return!e.share_enable&&("not_available"!==e.share_status&&"not_supported"!==e.share_status&&!X2.isColdShare(e)&&!X2.isTieringDisconnected(e)&&!X2.isReservedForOtherPackages(e))},needToShowCleanupConfirm(e,t){return!(!e.versioning||t.versioning)||e.version>t.version},needToShowC2Remainder(e,t){return!(e.versioning||!t.versioning)||e.version<t.version},getC2ShareRemainderMsg(e,t){let i='<ol style="list-style:decimal;padding-left:16px;padding-bottom:12px;">';return t.rotate_cnt>0&&(i+=`<li>${String.format(this.$T("version","hybrid_share_localcache_desc"))}</li>`),i+="<li>",e.length>1?i+=this.$T("version","hybrid_share_enable_multi"):i+=String.format(this.$T("version","hybrid_share_enable"),this.c2ShareAccounts[e[0].share_name].synology_account),i+="</ol>"+this.$T("common","confirm_continue"),i},showC2ShareRemainder(e,t,i){return new Promise(((n,o)=>{e.setWinStatusBusy(),this.showMsgBox("confirm","",this.getC2ShareRemainderMsg(t,i),(t=>{"confirm"===t?n():o(new Error("canceled")),e.clearWinStatus()}),!1,{useHtml:!0})}))},showTieringRemainder(){let e=this.$T("warning","tiering_share_enable_sync")+'</br><span style="color: #00A6A6; font-size: 13px; line-height: 20px; margin-top: 20px; display: inline-block;">'+this.$T("common","note")+this.$T("common","colon")+" </span>"+this.$T("warning","tiering_share_enable_sync_note");return new Promise(((t,i)=>{this.showMsgBox("confirm","",e,(e=>{"confirm"===e?t():i(new Error("canceled"))}),!1,{useHtml:!0})}))},onCancel(){this.close()}}};d(8770);var m5=(0,uJ.Z)(f5,[["render",function(e,t,i,n,o,s){const r=Bi("v-button"),a=Bi("ShareNameColumn"),l=Bi("ShareStatusColumn"),d=Bi("v-data-table"),c=Bi("v-panel"),u=Bi("v-modal-window");return jo(),Zo(u,{ref:"win","syno-id":`${e.synoId}-team-folder-editor`,title:e.$T("edit_team_folder","manage"),"show-close":!0,width:"720",height:"520",resizable:!1},{default:Ii((()=>[is(c,{tbar:"",fbar:{confirm:!1,cancel:!0},"syno-id":`${e.synoId}-team-folder-editor-panel`,cancelText:e.$T("common","close"),cancel:s.onCancel},{tbar:Ii((()=>[is(r,{"syno-id":`${e.synoId}-team-folder-editor-create-btn`,onClick:s.onCreateClick},{default:Ii((()=>[rs(ce(e.$T("common","create")),1)])),_:1},8,["syno-id","onClick"]),is(r,{"syno-id":`${e.synoId}-team-folder-editor-enable-btn`,disabled:!s.isEnableBtnEnable,onClick:s.onEnableClick},{default:Ii((()=>[rs(ce(e.$T("btn","btn_enable")),1)])),_:1},8,["syno-id","disabled","onClick"]),is(r,{"syno-id":`${e.synoId}-team-folder-editor-disable-btn`,disabled:!s.isDisableBtnEnable,onClick:s.onDisableClick},{default:Ii((()=>[rs(ce(e.$T("btn","btn_disable")),1)])),_:1},8,["syno-id","disabled","onClick"]),is(r,{"syno-id":`${e.synoId}-team-folder-editor-settings-btn`,disabled:!s.isSettingsBtnEnable,onClick:s.onSettingsClick},{default:Ii((()=>[rs(ce(e.$T("common","setting")),1)])),_:1},8,["syno-id","disabled","onClick"])])),body:Ii((()=>[is(d,{ref:"table",class:"team-folder-table",columns:o.columns,data:s.loadShareInfo,enableHdMenu:!1,multipleSelected:!0,"syno-id":`${e.synoId}-team-folder-editor-table`,sortMethod:"remote",onSelectedChange:s.onSelectedChange},{share_name:Ii((({row:e})=>[is(a,{share:e},null,8,["share"])])),share_status:Ii((({row:e})=>[is(l,{share:e},null,8,["share"])])),_:1},8,["columns","data","syno-id","onSelectedChange"])])),_:1},8,["syno-id","cancelText","cancel"])])),_:1},8,["syno-id","title"])}],["__scopeId","data-v-24e42f8c"]]);const g5=e=>(ki("data-v-00250b07"),e=e(),_i(),e),v5={ref:"container",class:"tips-container"},y5=g5((()=>ts("div",{class:"syno-d-arrow syno-d-arrow-white"},null,-1))),b5=g5((()=>ts("div",{class:"syno-d-arrow syno-d-arrow-black"},null,-1))),w5={class:"tips-text-container"},C5={class:"tips-title"},x5={class:"tips-hint"},S5={class:"tips-content-container"};var k5={props:{synoId:{type:String,default:"DriveBaseTip"},tipsTitle:{type:String,default:""},tipsContent:{type:String,default:""},mountTo:{type:String,default:"body"},alignment:{type:Object,default:()=>({pos:"tl->bl",offset:[0,0]})},targetClass:{type:String,default:"base-tips"}},data(){return{showTips:!1,anchorDom:{type:Object,default:document.body},hidePermanentlyCallback:()=>{},anchor:void 0}},methods:{init(e,t){this.anchorDom=e,t&&(this.hidePermanentlyCallback=t)},show(){window.setTimeout((()=>{this.anchorDom&&0!==this.anchorDom.getBoundingClientRect().width&&(this.anchor=this.anchorDom,this.showTips=!0)}),100)},hide(){this.showTips=!1},onAligned(){tJ(this,"aligned")},onConfirmClick(){this.hide(),tJ(this,"confirm")}}};d(4271);var _5=(0,uJ.Z)(k5,[["render",function(e,t,i,n,o,s){const r=Bi("v-button"),a=Bi("v-portal");return jo(),Zo(a,{mountTo:i.mountTo,anchor:o.anchor,alignment:i.alignment,targetClass:i.targetClass,onAligned:s.onAligned},{default:Ii((()=>[is(js,{name:"fade",onAfterLeave:o.hidePermanentlyCallback,persisted:""},{default:Ii((()=>[Xi(ts("div",v5,[y5,b5,ts("div",w5,[ts("div",C5,[rs(ce(i.tipsTitle)+" ",1),ts("span",x5,ce(`${e.$T("common","new_badge")}`),1)]),ts("div",S5,ce(i.tipsContent),1)]),is(r,{class:"clear-fix float-bottom",type:"footbar",suffix:"main",mobileBreakpoint:!1,synoId:`${i.synoId}-fbar-confirm`,onClick:s.onConfirmClick},{default:Ii((()=>[rs(ce(e.$T("recycle","tips_dismiss")),1)])),_:1},8,["synoId","onClick"])],512),[[lr,o.showTips]])])),_:1},8,["onAfterLeave"])])),_:1},8,["mountTo","anchor","alignment","targetClass","onAligned"])}],["__scopeId","data-v-00250b07"]]),I5={components:{BaseTips:_5},props:{synoId:{type:String,default:"TeamFolderEditorTips"},setDontShowAgain:{type:Function,required:!0}},data(){return{mountTo:"body",alignment:{pos:"tl->bl",offset:[0,10]}}},methods:{init(e){this.$refs.tips.init(e)},show(){this.$refs.tips.show()},hide(){this.$refs.tips.hide()}}};d(8538);var T5=(0,uJ.Z)(I5,[["render",function(e,t,i,n,o,s){const r=Bi("base-tips");return jo(),Ko("div",null,[is(r,{ref:"tips",synoId:i.synoId,tipsTitle:e.$T("edit_team_folder","tips_title"),tipsContent:e.$T("edit_team_folder","tips_description"),mountTo:o.mountTo,alignment:o.alignment,targetClass:"team-folder-editor-tips",onConfirm:i.setDontShowAgain},null,8,["synoId","tipsTitle","tipsContent","mountTo","alignment","onConfirm"])])}]]);const D5={class:"wrapper"},L5={class:"label-name"};var A5={props:{synoId:{type:String,default:"FileListLabelTooltip"}},data(){return{mountTo:"body",anchor:{},labels:[],shouldHideLabels:[],targetBaseClass:"syno-d-drive-FileListLabelTooltip",targetStatusClass:[],alignment:{pos:"tr->br",offset:[0,6]}}},computed:{shouldShowLabels(){return this.labels.filter((e=>!this.shouldHideLabels.includes(e.label_id)))},targetClass(){return[this.targetBaseClass].concat(this.targetStatusClass).join(" ")}},methods:{getTagTextColor(e){return ZZ.TagTextColor[e]},open(e){this.anchor=e.anchor,this.labels=e.labels,this.shouldHideLabels=e.shouldHideLabels||[],this.$nextTick((()=>{this.targetStatusClass=["mousein"]}))},hide(){this.targetStatusClass=["mouseout"]}}};d(2015),d(1850);var E5=(0,uJ.Z)(A5,[["render",function(e,t,i,n,o,s){const r=Bi("v-icon"),a=Bi("v-portal");return jo(),Zo(a,{targetClass:s.targetClass,mountTo:o.mountTo,anchor:o.anchor,alignment:o.alignment,onAligned:e.onAligned},{default:Ii((()=>[ts("div",D5,[(jo(!0),Ko(Po,null,tn(s.shouldShowLabels,(e=>(jo(),Ko("div",{key:e.label_id,style:Q({"background-color":`#${e.color}`,color:`#${s.getTagTextColor(e.color)}`}),class:"tag"},["shared_label"===e.type?(jo(),Zo(r,{key:0,name:"shared-label-icon",class:"label-icon",style:Q({"background-color":`#${s.getTagTextColor(e.color)}`})},null,8,["style"])):ls("v-if",!0),ts("span",L5,ce(e.name),1)],4)))),128))])])),_:1},8,["targetClass","mountTo","anchor","alignment","onAligned"])}],["__scopeId","data-v-834e175a"]]);var M5={components:{BaseTips:_5},props:{synoId:{type:String,default:"C2TransferTips"}},data(){return{mountTo:"body",alignment:{pos:"tl->bl",offset:[40,-124]},hidePermanentlyCallback:{type:Function,default:()=>{}}}},methods:{init(e,t){this.$refs.tips.init(e,t)},show(){this.$refs.tips.show()},hide(){this.$refs.tips.hide()}}};var B5=(0,uJ.Z)(M5,[["render",function(e,t,i,n,o,s){const r=Bi("base-tips");return jo(),Zo(r,{ref:"tips",synoId:i.synoId,tipsTitle:e.$T("c2transfer","tip_title"),tipsContent:e.$T("c2transfer","tip_description"),mountTo:o.mountTo,alignment:o.alignment},null,8,["synoId","tipsTitle","tipsContent","mountTo","alignment"])}]]);const O5=e=>(ki("data-v-9bb93cca"),e=e(),_i(),e),$5={key:0,class:"syno-d-highlight-mask"},F5={width:"100%",height:"100%"},V5={id:"hole-mask"},P5=O5((()=>ts("rect",{width:"100%",height:"100%",fill:"white"},null,-1))),N5=["x","y","width","height"],R5=O5((()=>ts("rect",{width:"100%",height:"100%",fill:"rgba(0, 0, 0, 0.6)",mask:"url(#hole-mask)"},null,-1)));var H5={name:"SpotlightMask",props:{position:{type:Array,default:()=>[0,0]},size:{type:Array,default:()=>[0,0]},zIndex:{type:Number,default:2e4}},data(){return{showMask:!1,valid:!1,targetStyle:{width:"100%",height:"100%",zIndex:0},positionX:this.position[0],positionY:this.position[1],width:this.size[0],height:this.size[1]}},watch:{position:{handler(e){this.positionX=e[0],this.positionY=e[1]},immediate:!0},size:{handler(e){this.width=e[0],this.height=e[1],this.width<=0||this.height<=0?this.valid=!1:this.valid=!0},immediate:!0},showMask(e){this.targetStyle.zIndex=e?this.zIndex:0}},methods:{show(){this.showMask=!0},hide(){this.showMask=!1}}};d(8487);var z5=(0,uJ.Z)(H5,[["render",function(e,t,i,n,o,s){const r=Bi("v-portal");return jo(),Zo(r,{mountTo:"body",targetStyle:o.targetStyle},{default:Ii((()=>[is(js,{name:"fade"},{default:Ii((()=>[o.showMask&&o.valid?(jo(),Ko("div",$5,[(jo(),Ko("svg",F5,[ts("defs",null,[ts("mask",V5,[ls(" we use mask attribute here so: (black => transparent, white => visible) "),P5,ls(" hole (with black) "),ts("rect",{fill:"black",rx:"4",ry:"4",x:o.positionX,y:o.positionY,width:o.width,height:o.height},null,8,N5)])]),R5]))])):ls("v-if",!0)])),_:1})])),_:1},8,["targetStyle"])}],["__scopeId","data-v-9bb93cca"]]);var W5={components:{BaseTips:_5,SpotlightMask:z5},props:{synoId:{type:String,default:"SharedLabelTips"}},data(){return{mountTo:"body",alignment:{pos:"tl->tr",offset:[12,-96]},spotLightPosition:[0,0],spotLightSize:[0,0],resolveFunc:null}},methods:{init(e,t,i){i&&(this.resolveFunc=i);const n=e.getBoundingClientRect();this.spotLightPosition=[n.left+-6,n.top],this.spotLightSize=[n.width+4,n.height],this.$refs.tips.init(e,t)},show(){this.$refs.tips.show(),this.$refs.spotlightMask.show()},hide(){this.$refs.tips.hide(),this.$refs.spotlightMask.hide()},resolve(){this.resolveFunc&&this.resolveFunc()}}};var j5=(0,uJ.Z)(W5,[["render",function(e,t,i,n,o,s){const r=Bi("base-tips"),a=Bi("SpotlightMask");return jo(),Ko("div",null,[is(r,{ref:"tips",synoId:i.synoId,tipsTitle:e.$T("shared_label","tips_title"),tipsContent:e.$T("shared_label","tips_description"),mountTo:o.mountTo,alignment:o.alignment},null,8,["synoId","tipsTitle","tipsContent","mountTo","alignment"]),is(a,{ref:"spotlightMask",position:o.spotLightPosition,size:o.spotLightSize,zIndex:14999},null,8,["position","size"])])}]]);var U5={components:{BaseTips:_5,SpotlightMask:z5},props:{synoId:{type:String,default:"FileRequestTips"}},data(){return{mountTo:"body",alignment:{pos:"tl->br",offset:[8,-124]},hidePermanentlyCallback:{type:Function,default:()=>{}},spotLightPosition:[0,0],spotLightSize:[0,0]}},methods:{init(e,t){const i=e.getBoundingClientRect();this.spotLightPosition=[i.left,i.top],this.spotLightSize=[i.width,i.height],this.$refs.tips.init(e,t)},show(){this.$refs.tips.show(),this.$refs.spotlightMask.show()},hide(){this.$refs.tips.hide(),this.$refs.spotlightMask.hide()}}};var G5=(0,uJ.Z)(U5,[["render",function(e,t,i,n,o,s){const r=Bi("base-tips"),a=Bi("SpotlightMask");return jo(),Ko("div",null,[is(r,{ref:"tips",synoId:i.synoId,tipsTitle:e.$T("file_request","tips_title"),tipsContent:e.$T("file_request","tips_description"),mountTo:o.mountTo,alignment:o.alignment},null,8,["synoId","tipsTitle","tipsContent","mountTo","alignment"]),is(a,{ref:"spotlightMask",position:o.spotLightPosition,size:o.spotLightSize,zIndex:14999},null,8,["position","size"])])}]]);const q5={class:"sync-desc"},Y5={class:"row-wrapper"},K5={class:"name"},Z5={class:"default pull-right button-region"};const J5=GZ("action","sync");var Q5={name:"DialogSyncToDevice",mixins:[dJ],props:{synoId:{type:String,default:"sync-to-device"},confirmText:{type:String,default:J5},findAppWindow:{type:Function,default:()=>{}}},emits:["close"],data(){return{columns:[{title:this.$T("file","title"),field:"name",tooltip:!1,width:293,sort:"ASC"},{title:this.$T("chat","binding"),field:"sync_to_device",width:150,disableSort:!0,headerAction:"checkbox",action:"enable",align:"center",minWidth:150}],totalTextMode:"total",selectedCount:0,syncList:[]}},watch:{syncList:{handler(e){this.checkSelectedTextMode(),this.checkSelectedCount()},deep:!0}},methods:{async loadData(){this.setWinStatusBusy();try{const e=await nX.listSharedWithMe();return e.total>0&&(this.syncList=e.items.map((e=>{const t=e.capabilities.can_download;return{...e,disabled:{sync_to_device:!t||e.support_remote}}}))),{total:e.total,items:this.syncList}}catch(e){this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(e),void 0,!0)}finally{this.clearWinStatus()}return{total:0,items:[]}},onConfirm(){if(!this.isDirty())return void this.close();const e=this.findAppWindow(),t=this.getParams();e.getAction().syncDevice(t,this.onApplyCb,this)},onDataLoaded(){this.$refs.syncToDeviceTable.commit(),this.checkSelectedTextMode(),this.checkSelectedCount()},isDirty(){return this.$refs.syncToDeviceTable.isDirty()},getParams(){const e=this.$refs.syncToDeviceTable.getDirtyRows();return{enable:e.filter((e=>e.sync_to_device)).map((e=>e.file_id)),disable:e.filter((e=>!e.sync_to_device)).map((e=>e.file_id))}},onApplyCb(e,t,i,n){this.clearWinStatus(),!e||t.has_fail?(this.setWinStatusError({text:SYNO.SDS.Drive.Utils.getErrorStr(t)}),this.showMsgBox("alert","",SYNO.SDS.Drive.Utils.getErrorStr(t))):this.close()},checkSelectedTextMode(){this.totalTextMode=this.syncList.some((e=>e.sync_to_device))?"select":"total"},checkSelectedCount(){this.selectedCount=this.syncList.filter((e=>e.sync_to_device)).length}}};d(5849);var X5=(0,uJ.Z)(Q5,[["render",function(e,t,i,n,o,s){const r=Bi("v-whitetip"),a=Bi("v-empty-view"),l=Bi("v-data-table"),d=Bi("v-button"),c=Bi("v-panel"),u=Bi("v-modal-window"),h=Fi("tooltip");return jo(),Zo(u,{ref:"win",width:"500",height:"530",title:e.$T("sync","title"),beforeClose:e.beforeClose,synoId:`${i.synoId}-window`,onKeypress:Ur(s.onConfirm,["enter"])},{default:Ii((()=>[is(c,{layoutType:"content",tbar:!0,fbar:!0,synoId:`${i.synoId}-panel`},{tbar:Ii((()=>[ts("div",q5,ce(e.$T("sync","desc")),1)])),body:Ii((()=>[is(l,{ref:"syncToDeviceTable",class:"sync-to-device-table",data:s.loadData,columns:o.columns,pagination:!1,showTotal:!0,multipleSelected:!0,enableHdMenu:!1,virtualScroll:!0,totalTextMode:o.totalTextMode,selectedCount:o.selectedCount,synoId:`${i.synoId}-dataTable`,onDataloaded:s.onDataLoaded},{name:Ii((({row:t})=>[ts("div",Y5,[Xi((jo(),Ko("div",K5,[rs(ce(t.name),1)])),[[h,{content:t.name}]]),t.support_remote?(jo(),Zo(r,{key:0,class:"whitetip",content:e.$T("sync","hybrid_sync_tip")},null,8,["content"])):ls("v-if",!0)])])),"empty-area":Ii((()=>[is(a,{hideAction:!0,hideIcon:!0},{default:Ii((()=>[rs(ce(e.$T("common","no_data")),1)])),_:1})])),_:1},8,["data","columns","totalTextMode","selectedCount","synoId","onDataloaded"])])),fbar:Ii((()=>[ts("div",Z5,[is(d,{type:"footbar",suffix:"cancel",synoId:`${i.synoId}-fbar-cancel`,onClick:e.onCancel},{default:Ii((()=>[rs(ce(e.cancelText),1)])),_:1},8,["synoId","onClick"]),is(d,{type:"footbar",suffix:"main",synoId:`${i.synoId}-fbar-commit`,onClick:s.onConfirm},{default:Ii((()=>[rs(ce(i.confirmText),1)])),_:1},8,["synoId","onClick"])])])),_:1},8,["synoId"])])),_:1},8,["title","beforeClose","synoId","onKeypress"])}],["__scopeId","data-v-6e2ab1f8"]]);var e9={DEFAULT_GRAPH:{"panel-body":[{filter:/^window\.(modal|app) => tabs\.(content|overview) => tab-body => panel.content => panel-body/,styles:{"layout-padding":"var(--panel-in-tabs-padding-top) 20px 6px 20px","layout-height":"100%"}},{filter:/^window\.page-list-app => tabs\.overview => tab-body => panel.content => panel-body/,styles:{"layout-padding":"var(--panel-in-tabs-padding-top) 20px 6px 20px","layout-height":"100%"}},{filter:/^window\.page-list-app => tabs\.content => tab-body => panel.content => panel-body/,styles:{"layout-padding":"var(--panel-in-tabs-padding-top) 16px 6px 16px","layout-height":"100%"}},{filter:/^tabs\.(content|overview) => tab-body => panel.content => panel-body/,styles:{"layout-padding":"var(--panel-in-tabs-padding-top) 0 0 0"}},{filter:/^window\.page-list-app => panel.overview => panel-body/,styles:{"layout-padding":"16px 20px 16px 20px","layout-margin":"0 0 0 0"}},{filter:/^window\.page-list-app => panel.content => panel-body/,styles:{"layout-padding":"16px 16px 6px 16px","layout-margin":"0 0 0 0"}},{filter:/^window\.(modal|app) => panel.content => panel-body/,styles:{"layout-padding":"16px 20px 6px 20px","layout-margin":"0 0 0 0"}}],fieldset:[{filter:/^fieldset/,styles:{"layout-padding":"8px 0 0 0"}},{filter:/^fieldset\[0\]/,styles:{"layout-padding":"0 0 0 0"}}],"fieldset-body":[{filter:/^fieldset => fieldset-body/,styles:{"layout-padding":"8px 0 0 0"}},{filter:/^form => fieldset => fieldset-body/,styles:{"layout-padding":"8px 8px 8px 8px"}}],form:[{filter:/^fieldset => fieldset-body => form/,styles:{"layout-padding":"0px 8px 8px 8px"}},{filter:/^tab-body => content => form/,styles:{"layout-padding":"0 8px 0 8px"}},{filter:/^tab-body => form/,styles:{"layout-padding":"8px 8px 0 8px"}},{filter:/^tab-body => content => form\[\d+\]:has\(fieldset\)/,styles:{"layout-padding":"0"}},{filter:/^tab-body => form\[\d+\]:has\(fieldset\)/,styles:{"layout-padding":"8px 0px 0 0px"}},{filter:/^tab-body => panel.content => panel-body => => form\[\d+\]:has\(\)/,styles:{"layout-padding":"0 8px 0 8px"}},{filter:/^tab-body => panel.content => panel-body => content => form\[\d+\]:has\(\)/,styles:{"layout-padding":"0 8px 0 8px"}}],"tree.selector":[{filter:/^tree\.selector/,styles:{"layout-padding":"7px"}}],"tab-tbar":[{filter:/^window\.(page-list-app|modal|app) => tabs.overview => tab-tbar/,styles:{"layout-padding":"16px 20px 0 20px","layout-margin":"0 0 0 0"}},{filter:/^window\.page-list-app => tabs.content => tab-tbar/,styles:{"layout-padding":"16px 16px 0 16px","layout-margin":"0 0 0 0"}},{filter:/^window\.(modal|app) => tabs.content => tab-tbar/,styles:{"layout-padding":"16px 20px 0 20px","layout-margin":"0 0 0 0"}}],"tab-body":[{filter:/^window\.(page-list-app|modal|app) => tabs.overview => tab-body/,styles:{"layout-padding":"4px 20px 6px 20px","layout-margin":"0 0 0 0"}},{filter:/^window\.page-list-app => tabs.content => tab-body/,styles:{"layout-padding":"4px 16px 6px 16px","layout-margin":"0 0 0 0"}},{filter:/^window\.(modal|app) => tabs.content => tab-body/,styles:{"layout-padding":"4px 20px 6px 20px","layout-margin":"0 0 0 0"}},{filter:/^tabs.content => tab-body\[\d+\]:has\(panel\.content\)/,styles:{"layout-padding":"4px 0 0 0","layout-margin":"0 0 0 0"},priority:2}]}};const t9=Zr({});Ext.namespace("SYNO.SDS.Drive.Vue"),SYNO.SDS.Drive._Vue=t9,SYNO.SDS.Drive.Vue.i18nPlugin=qZ,SYNO.SDS.Drive.Vue.MsgBox=Z0,SYNO.SDS.Drive.Vue.DialogCreate=hJ,SYNO.SDS.Drive.Vue.DialogRename=mJ,SYNO.SDS.Drive.Vue.DialogInfo=TJ,SYNO.SDS.Drive.Vue.ShareGetLinkMenu=C2,SYNO.SDS.Drive.Vue.RequestGetLinkMenu=A2,SYNO.SDS.Drive.Vue.DialogTree=ZJ,SYNO.SDS.Drive.Vue.DialogShare=HQ,SYNO.SDS.Drive.Vue.DialogMail=rX,SYNO.SDS.Drive.Vue.DialogEditSharedLabelPersonal=b1,SYNO.SDS.Drive.Vue.DialogManageSharedLabel=R1,SYNO.SDS.Drive.Vue.DialogSharedLabelEdit=B1,SYNO.SDS.Drive.Vue.DialogLabelTransfer=q1,SYNO.SDS.Drive.Vue.DialogFileRequest=j0,SYNO.SDS.Drive.Vue.VersionViewer=q2,SYNO.SDS.Drive.Vue.DialogTag=hX,SYNO.SDS.Drive.Vue.RecycleBinFolderTips=s2,SYNO.SDS.Drive.Vue.FileListLabelTooltip=E5,SYNO.SDS.Drive.Vue.C2TransferTips=B5,SYNO.SDS.Drive.Vue.SharedLabelTips=j5,SYNO.SDS.Drive.Vue.FileRequestTips=G5,SYNO.SDS.Drive.Vue.TeamFolderEditor=m5,SYNO.SDS.Drive.Vue.TeamFolderEditorTips=T5,SYNO.SDS.Drive.Vue.DialogSyncToDevice=X5,SYNO.SDS.Drive.Vue.AboutWindow=Lq,SYNO.SDS.Drive.Vue.AboutWindowV2=hM,SYNO.SDS.Drive.Vue.Utils={labelHelper:CX,enableRWD:function(e){t9.config.globalProperties.$breakpointManager.active=e},createVueApp:function(...e){const t=Zr(...e);return function(e){e.config.globalProperties={...t9.config.globalProperties,...e.config.globalProperties},Object.assign(e._context,{directives:{...t9._context.directives},provides:{...t9._context.provides,...e._context.provides},components:{...t9._context.components},mixins:[...t9._context.mixins]})}(t),t}};const i9=SYNO.SDS.Session.standaloneAppName;/^SYNO\.SDS\.(Drive|Office)/.exec(i9)&&(t9.use(jZ,{configManager:{props:{hasPopupContainer:{all:{value:{useAdaptiveContainer:!1}}}}},layoutManager:{keepOriginalGraph:!0,debug:!1,graph:{"panel-body":[...e9.DEFAULT_GRAPH["panel-body"].slice(0,-1),{filter:/^window\.(modal|app) => panel.content => panel-body/,styles:{"layout-padding":"12px 20px 0 20px"}},{filter:/^window\.(modal|app) => panel.content => panel-body\[\d+\]:has\(tree.selector\)/,styles:{"layout-padding":"20px 28px 0 28px"}}],fieldset:[{filter:/^fieldset/,styles:{"layout-padding":"0"}},...e9.DEFAULT_GRAPH.fieldset.slice(1)],"fieldset-body":[{filter:/^fieldset => fieldset-body/,styles:{"layout-padding":"8px"}},...e9.DEFAULT_GRAPH["fieldset-body"].slice(1)],form:[{filter:/^fieldset => fieldset-body => form/,styles:{"layout-padding":"0"}},...e9.DEFAULT_GRAPH.form.slice(1),{filter:/^panel-body => form/,styles:{"layout-padding":"0 8px","layout-margin":0}}],"tree.selector":[{filter:/^tree\.selector/,styles:{"layout-padding":"8px 0px 8px 8px"}}],"tab-tbar":[void 0,void 0,void 0,{...e9.DEFAULT_GRAPH["tab-tbar"].slice(0,2),filter:/^window\.(modal|app) => tabs.content => tab-tbar/,styles:{"layout-padding":"12px 20px 0 20px","layout-margin":"0 0 0 0"}}],"tab-body":[...e9.DEFAULT_GRAPH["tab-body"],{filter:/^window\.(modal|app) => tabs.content => tab-body\[\d\]:has\(fieldset\)/,styles:{"layout-padding":"12px 20px 0 20px","layout-margin":"0 0 0 0"}}]}},iconManager:{iconType:"bkg-img"},breakpointManager:{active:!1}}),t9.use(qZ),function(){const e=SYNO.SDS.Config.FnMap["SYNO.SDS.Drive.Application"].config.version,t=document.createElement("script");t.src=`webman/3rdparty/SynologyDrive-Drive/css_inject_bundle.js?v=${e}`,document.head.appendChild(t)}()),Ext.namespace("SYNO.SDS.Drive.SharedLabel"),SYNO.SDS.Drive.SharedLabel={LabelConst:YZ,LabelConfig:KZ},Ext.define("SYNO.SDS.Drive.VuePanel",{extend:"Ext.Container",constructor(e){e.vueClass||this.vueClass||SYNO.Debug.error("SYNO.SDS.VuePanel should be along with vueClass"),this.vueProps=e.vueProps,Ext.Container.prototype.constructor.apply(this,arguments),this.on("afterrender",(()=>{this.initVueInstance(this.getVueInstance())}))},onRender:function(e,t){Ext.Container.prototype.onRender.apply(this,arguments),this.mountElDom=document.createElement("div"),this.mountElDom.style.height="100%",this.mountElDom.id=this.mountId,this.el.dom.appendChild(this.mountElDom);const{propsData:i,...n}=this.getVueOptions()||{},o=SYNO.SDS.Drive.Vue.Utils.createVueApp(this.vueClass,this.getVueProps()||i),s=o.mount(this.mountElDom);s._$extPanel=this,this._$vueInst=s,this._app=o,SYNO.SDS.Desktop&&s&&SYNO.SDS.Desktop.appendChild(s)},beforeDestroy(){var e;null===(e=this.app)||void 0===e||e.unmount(),Ext.Container.prototype.beforeDestroy.apply(this,arguments)},getVueOptions(){return this.vueOptions},getVueProps(){return this.vueProps},getVueInstance(){return this._$vueInst},initVueInstance:Ext.emptyFn})}()}();