HEX
Server: Apache/2.4.63 (Unix)
System: Linux Synopilou92 4.4.302+ #72806 SMP Mon Jul 21 23:16:00 CST 2025 x86_64
User: pilou92 (1026)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /volume1/@appstore/SynologyPhotos/ui/963.react_bundle.js
(self.webpackChunkFotoReactLibrary=self.webpackChunkFotoReactLibrary||[]).push([["963"],{15203:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i,o={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"}};function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var s={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({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:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function l(e){return function(t,n){var i;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,r=null!=n&&n.width?String(n.width):o;i=e.formattingValues[r]||e.formattingValues[o]}else{var s=e.defaultWidth,a=null!=n&&n.width?String(n.width):e.defaultWidth;i=e.values[a]||e.values[s]}return i[e.argumentCallback?e.argumentCallback(t):t]}}function c(e){return function(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],s=t.match(r);if(!s)return null;var a=s[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(l,function(e){return e.test(a)}):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(l,function(e){return e.test(a)});return n=e.valueCallback?e.valueCallback(c):c,{value:n=i.valueCallback?i.valueCallback(n):n,rest:t.slice(a.length)}}}var d={code:"en-US",formatDistance:function(e,t,n){var i,r=o[e];return(i="string"==typeof r?r:1===t?r.one:r.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},formatLong:s,formatRelative:function(e,t,n,i){return a[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:l({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:l({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:l({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:l({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:l({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"})},match:{ordinalNumber:(i={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]:{},n=e.match(i.matchPattern);if(!n)return null;var o=n[0],r=e.match(i.parsePattern);if(!r)return null;var s=i.valueCallback?i.valueCallback(r[0]):r[0];return{value:s=t.valueCallback?t.valueCallback(s):s,rest:e.slice(o.length)}}),era:c({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:c({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:c({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:c({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:c({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"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},79745:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var i={};function o(){return i}},77298:function(e,t){"use strict";var n=function(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"})}},i=function(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"})}};t.Z={p:i,P:function(e,t){var o,r=e.match(/(P+)(p+)?/)||[],s=r[1],a=r[2];if(!a)return n(e,t);switch(s){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",n(s,t)).replace("{{time}}",i(a,t))}}},14525:function(e,t,n){"use strict";function i(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()}n.d(t,{Z:function(){return i}})},47891:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(20832),o=n(85390),r=n(67171),s=n(59071);function a(e){(0,s.Z)(1,arguments);var t=(0,i.Z)(e);return Math.round(((0,o.Z)(t).getTime()-(function(e){(0,s.Z)(1,arguments);var t=(0,r.Z)(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),(0,o.Z)(n)})(t).getTime())/6048e5)+1}},67171:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(20832),o=n(59071),r=n(85390);function s(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e),n=t.getUTCFullYear(),s=new Date(0);s.setUTCFullYear(n+1,0,4),s.setUTCHours(0,0,0,0);var a=(0,r.Z)(s),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=(0,r.Z)(l);return t.getTime()>=a.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}},18034:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(20832),o=n(11666),r=n(99665),s=n(59071),a=n(61464),l=n(79745);function c(e,t){(0,s.Z)(1,arguments);var n=(0,i.Z)(e);return Math.round(((0,o.Z)(n,t).getTime()-(function(e,t){(0,s.Z)(1,arguments);var n,i,c,d,u,h,p,f,m=(0,l.j)(),g=(0,a.Z)(null!==(n=null!==(i=null!==(c=null!==(d=null==t?void 0:t.firstWeekContainsDate)&&void 0!==d?d:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(h=u.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==i?i:null===(p=m.locale)||void 0===p?void 0:null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1),y=(0,r.Z)(e,t),v=new Date(0);return v.setUTCFullYear(y,0,g),v.setUTCHours(0,0,0,0),(0,o.Z)(v,t)})(n,t).getTime())/6048e5)+1}},99665:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(20832),o=n(59071),r=n(11666),s=n(61464),a=n(79745);function l(e,t){(0,o.Z)(1,arguments);var n,l,c,d,u,h,p,f,m=(0,i.Z)(e),g=m.getUTCFullYear(),y=(0,a.j)(),v=(0,s.Z)(null!==(n=null!==(l=null!==(c=null!==(d=null==t?void 0:t.firstWeekContainsDate)&&void 0!==d?d:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(h=u.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:y.firstWeekContainsDate)&&void 0!==l?l:null===(p=y.locale)||void 0===p?void 0:null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1);if(!(v>=1&&v<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(g+1,0,v),b.setUTCHours(0,0,0,0);var w=(0,r.Z)(b,t),C=new Date(0);C.setUTCFullYear(g,0,v),C.setUTCHours(0,0,0,0);var S=(0,r.Z)(C,t);return m.getTime()>=w.getTime()?g+1:m.getTime()>=S.getTime()?g:g-1}},92266:function(e,t,n){"use strict";n.d(t,{Do:function(){return s},Iu:function(){return r},qp:function(){return a}});var i=["D","DD"],o=["YY","YYYY"];function r(e){return -1!==i.indexOf(e)}function s(e){return -1!==o.indexOf(e)}function a(e,t,n){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}},59071:function(e,t,n){"use strict";function i(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return i}})},85390:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(20832),o=n(59071);function r(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e),n=t.getUTCDay();return t.setUTCDate(t.getUTCDate()-((n<1?7:0)+n-1)),t.setUTCHours(0,0,0,0),t}},11666:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(20832),o=n(59071),r=n(61464),s=n(79745);function a(e,t){(0,o.Z)(1,arguments);var n,a,l,c,d,u,h,p,f=(0,s.j)(),m=(0,r.Z)(null!==(n=null!==(a=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t?void 0:null===(d=t.locale)||void 0===d?void 0:null===(u=d.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==l?l:f.weekStartsOn)&&void 0!==a?a:null===(h=f.locale)||void 0===h?void 0:null===(p=h.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,i.Z)(e),y=g.getUTCDay();return g.setUTCDate(g.getUTCDate()-((y<m?7:0)+y-m)),g.setUTCHours(0,0,0,0),g}},61464:function(e,t,n){"use strict";function i(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)}n.d(t,{Z:function(){return i}})},51028:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var i=n(67052),o=n(91719),r=n(20832),s=n(59071),a=n(47891),l=n(67171),c=n(18034),d=n(99665);function u(e,t){for(var n=Math.abs(e).toString();n.length<t;)n="0"+n;return(e<0?"-":"")+n}var h={y:function(e,t){var n=e.getUTCFullYear(),i=n>0?n:1-n;return u("yy"===t?i%100:i,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):u(n+1,2)},d:function(e,t){return u(e.getUTCDate(),t.length)},h:function(e,t){return u(e.getUTCHours()%12||12,t.length)},H:function(e,t){return u(e.getUTCHours(),t.length)},m:function(e,t){return u(e.getUTCMinutes(),t.length)},s:function(e,t){return u(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length;return u(Math.floor(e.getUTCMilliseconds()*Math.pow(10,n-3)),t.length)}},p={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function f(e,t){var n=e>0?"-":"+",i=Math.abs(e),o=Math.floor(i/60),r=i%60;return 0===r?n+String(o):n+String(o)+(t||"")+u(r,2)}function m(e,t){return e%60==0?(e>0?"-":"+")+u(Math.abs(e)/60,2):g(e,t)}function g(e,t){var n=Math.abs(e);return(e>0?"-":"+")+u(Math.floor(n/60),2)+(t||"")+u(n%60,2)}var y={G:function(e,t,n){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var i=e.getUTCFullYear();return n.ordinalNumber(i>0?i:1-i,{unit:"year"})}return h.y(e,t)},Y:function(e,t,n,i){var o=(0,d.Z)(e,i),r=o>0?o:1-o;return"YY"===t?u(r%100,2):"Yo"===t?n.ordinalNumber(r,{unit:"year"}):u(r,t.length)},R:function(e,t){return u((0,l.Z)(e),t.length)},u:function(e,t){return u(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return u(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return u(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){var i=e.getUTCMonth();switch(t){case"M":case"MM":return h.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return u(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){var o=(0,c.Z)(e,i);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):u(o,t.length)},I:function(e,t,n){var i=(0,a.Z)(e);return"Io"===t?n.ordinalNumber(i,{unit:"week"}):u(i,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):h.d(e,t)},D:function(e,t,n){var i=function(e){(0,s.Z)(1,arguments);var t=(0,r.Z)(e),n=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((n-t.getTime())/864e5)+1}(e);return"Do"===t?n.ordinalNumber(i,{unit:"dayOfYear"}):u(i,t.length)},E:function(e,t,n){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){var o=e.getUTCDay(),r=(o-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return u(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){var o=e.getUTCDay(),r=(o-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return u(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var i=e.getUTCDay(),o=0===i?7:i;switch(t){case"i":return String(o);case"ii":return u(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){var i,o=e.getUTCHours();switch(i=12===o?p.noon:0===o?p.midnight:o/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){var i,o=e.getUTCHours();switch(i=o>=17?p.evening:o>=12?p.afternoon:o>=4?p.morning:p.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var i=e.getUTCHours()%12;return 0===i&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return h.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):h.H(e,t)},K:function(e,t,n){var i=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(i,{unit:"hour"}):u(i,t.length)},k:function(e,t,n){var i=e.getUTCHours();return(0===i&&(i=24),"ko"===t)?n.ordinalNumber(i,{unit:"hour"}):u(i,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):h.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):h.s(e,t)},S:function(e,t){return h.S(e,t)},X:function(e,t,n,i){var o=(i._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return m(o);case"XXXX":case"XX":return g(o);default:return g(o,":")}},x:function(e,t,n,i){var o=(i._originalDate||e).getTimezoneOffset();switch(t){case"x":return m(o);case"xxxx":case"xx":return g(o);default:return g(o,":")}},O:function(e,t,n,i){var o=(i._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+f(o,":");default:return"GMT"+g(o,":")}},z:function(e,t,n,i){var o=(i._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+f(o,":");default:return"GMT"+g(o,":")}},t:function(e,t,n,i){return u(Math.floor((i._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,n,i){return u((i._originalDate||e).getTime(),t.length)}},v=n(77298),b=n(14525),w=n(92266),C=n(61464),S=n(79745),k=n(15203),x=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,B=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,T=/^'([^]*?)'?$/,E=/''/g,I=/[a-zA-Z]/;function D(e,t,n){(0,s.Z)(2,arguments);var a,l,c,d,u,h,p,f,m,g,D,V,N,_,M,$,Z,A,O=String(t),F=(0,S.j)(),z=null!==(a=null!==(l=null==n?void 0:n.locale)&&void 0!==l?l:F.locale)&&void 0!==a?a:k.Z,L=(0,C.Z)(null!==(c=null!==(d=null!==(u=null!==(h=null==n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null==n?void 0:null===(p=n.locale)||void 0===p?void 0:null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==u?u:F.firstWeekContainsDate)&&void 0!==d?d:null===(m=F.locale)||void 0===m?void 0:null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==c?c:1);if(!(L>=1&&L<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=(0,C.Z)(null!==(D=null!==(V=null!==(N=null!==(_=null==n?void 0:n.weekStartsOn)&&void 0!==_?_:null==n?void 0:null===(M=n.locale)||void 0===M?void 0:null===($=M.options)||void 0===$?void 0:$.weekStartsOn)&&void 0!==N?N:F.weekStartsOn)&&void 0!==V?V:null===(Z=F.locale)||void 0===Z?void 0:null===(A=Z.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==D?D:0);if(!(P>=0&&P<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!z.localize)throw RangeError("locale must contain localize property");if(!z.formatLong)throw RangeError("locale must contain formatLong property");var R=(0,r.Z)(e);if(!(0,i.Z)(R))throw RangeError("Invalid time value");var H=(0,b.Z)(R),j=(0,o.Z)(R,H),W={firstWeekContainsDate:L,weekStartsOn:P,locale:z,_originalDate:R};return O.match(B).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,v.Z[t])(e,z.formatLong):e}).join("").match(x).map(function(i){if("''"===i)return"'";var o,r=i[0];if("'"===r)return(o=i.match(T))?o[1].replace(E,"'"):i;var s=y[r];if(s)return!(null!=n&&n.useAdditionalWeekYearTokens)&&(0,w.Do)(i)&&(0,w.qp)(i,t,String(e)),!(null!=n&&n.useAdditionalDayOfYearTokens)&&(0,w.Iu)(i)&&(0,w.qp)(i,t,String(e)),s(j,i,z.localize,W);if(r.match(I))throw RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");return i}).join("")}},61836:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(77352),o=n(59071);function r(e){return(0,o.Z)(1,arguments),e instanceof Date||"object"===(0,i.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}},67052:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(61836),o=n(20832),r=n(59071);function s(e){return(0,r.Z)(1,arguments),(!!(0,i.Z)(e)||"number"==typeof e)&&!isNaN(Number((0,o.Z)(e)))}},80432:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(20832),o=n(59071);function r(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e);return t.setHours(0,0,0,0),t}},81238:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(20832),o=n(59071);function r(e){(0,o.Z)(1,arguments);var t=(0,i.Z)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},91719:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(61464),o=n(20832),r=n(59071);function s(e,t){return(0,r.Z)(2,arguments),function(e,t){return(0,r.Z)(2,arguments),new Date((0,o.Z)(e).getTime()+(0,i.Z)(t))}(e,-(0,i.Z)(t))}},20832:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(77352),o=n(59071);function r(e){(0,o.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,i.Z)(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://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}},48168:function(e,t,n){let i=n(8874),o={};for(let e of Object.keys(i))o[i[e]]=e;let r={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"]}};for(let t of(e.exports=r,Object.keys(r))){if(!("channels"in r[t]))throw Error("missing channels property: "+t);if(!("labels"in r[t]))throw Error("missing channel labels property: "+t);if(r[t].labels.length!==r[t].channels)throw Error("channel and label counts mismatch: "+t);let{channels:e,labels:n}=r[t];delete r[t].channels,delete r[t].labels,Object.defineProperty(r[t],"channels",{value:e}),Object.defineProperty(r[t],"labels",{value:n})}r.rgb.hsl=function(e){let t;let n=e[0]/255,i=e[1]/255,o=e[2]/255,r=Math.min(n,i,o),s=Math.max(n,i,o),a=s-r;s===r?t=0:n===s?t=(i-o)/a:i===s?t=2+(o-n)/a:o===s&&(t=4+(n-i)/a),(t=Math.min(60*t,360))<0&&(t+=360);let l=(r+s)/2;return[t,100*(s===r?0:l<=.5?a/(s+r):a/(2-s-r)),100*l]},r.rgb.hsv=function(e){let t,n,i,o,r;let s=e[0]/255,a=e[1]/255,l=e[2]/255,c=Math.max(s,a,l),d=c-Math.min(s,a,l),u=function(e){return(c-e)/6/d+.5};return 0===d?(o=0,r=0):(r=d/c,t=u(s),n=u(a),i=u(l),s===c?o=i-n:a===c?o=1/3+t-i:l===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*r,100*c]},r.rgb.hwb=function(e){let t=e[0],n=e[1],i=e[2];return[r.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,i))*100,100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},r.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,o=Math.min(1-t,1-n,1-i);return[100*((1-t-o)/(1-o)||0),100*((1-n-o)/(1-o)||0),100*((1-i-o)/(1-o)||0),100*o]},r.rgb.keyword=function(e){let t;let n=o[e];if(n)return n;let r=1/0;for(let n of Object.keys(i)){let o=i[n],s=(e[0]-o[0])**2+(e[1]-o[1])**2+(e[2]-o[2])**2;s<r&&(r=s,t=n)}return t},r.keyword.rgb=function(e){return i[e]},r.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*(.4124*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)+.3576*(n=n>.04045?((n+.055)/1.055)**2.4:n/12.92)+.1805*(i=i>.04045?((i+.055)/1.055)**2.4:i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]},r.rgb.lab=function(e){let t=r.rgb.xyz(e),n=t[0],i=t[1],o=t[2];return n/=95.047,i/=100,o/=108.883,[116*(i=i>.008856?i**(1/3):7.787*i+16/116)-16,500*((n=n>.008856?n**(1/3):7.787*n+16/116)-i),200*(i-(o=o>.008856?o**(1/3):7.787*o+16/116))]},r.hsl.rgb=function(e){let t,n,i;let o=e[0]/360,r=e[1]/100,s=e[2]/100;if(0===r)return[i=255*s,i,i];t=s<.5?s*(1+r):s+r-s*r;let a=2*s-t,l=[0,0,0];for(let e=0;e<3;e++)(n=o+-(1/3*(e-1)))<0&&n++,n>1&&n--,i=6*n<1?a+(t-a)*6*n:2*n<1?t:3*n<2?a+(t-a)*(2/3-n)*6:a,l[e]=255*i;return l},r.hsl.hsv=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,o=n,r=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,o*=r<=1?r:2-r;let s=(i+n)/2;return[t,100*(0===i?2*o/(r+o):2*n/(i+n)),100*s]},r.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,i=e[2]/100,o=Math.floor(t)%6,r=t-Math.floor(t),s=255*i*(1-n),a=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,o){case 0:return[i,l,s];case 1:return[a,i,s];case 2:return[s,i,l];case 3:return[s,a,i];case 4:return[l,s,i];case 5:return[i,s,a]}},r.hsv.hsl=function(e){let t,n;let i=e[0],o=e[1]/100,r=e[2]/100,s=Math.max(r,.01);n=(2-o)*r;let a=(2-o)*s;return[i,100*(o*s/(a<=1?a:2-a)||0),100*(n/=2)]},r.hwb.rgb=function(e){let t,n,i,o;let r=e[0]/360,s=e[1]/100,a=e[2]/100,l=s+a;l>1&&(s/=l,a/=l);let c=Math.floor(6*r),d=1-a;t=6*r-c,(1&c)!=0&&(t=1-t);let u=s+t*(d-s);switch(c){default:case 6:case 0:n=d,i=u,o=s;break;case 1:n=u,i=d,o=s;break;case 2:n=s,i=d,o=u;break;case 3:n=s,i=u,o=d;break;case 4:n=u,i=s,o=d;break;case 5:n=d,i=s,o=u}return[255*n,255*i,255*o]},r.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,i*(1-o)+o))]},r.xyz.rgb=function(e){let t,n,i;let o=e[0]/100,r=e[1]/100,s=e[2]/100;return t=(t=3.2406*o+-1.5372*r+-.4986*s)>.0031308?1.055*t**(1/2.4)-.055:12.92*t,n=(n=-.9689*o+1.8758*r+.0415*s)>.0031308?1.055*n**(1/2.4)-.055:12.92*n,i=(i=.0557*o+-.204*r+1.057*s)>.0031308?1.055*i**(1/2.4)-.055:12.92*i,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},r.xyz.lab=function(e){let t=e[0],n=e[1],i=e[2];return t/=95.047,n/=100,i/=108.883,[116*(n=n>.008856?n**(1/3):7.787*n+16/116)-16,500*((t=t>.008856?t**(1/3):7.787*t+16/116)-n),200*(n-(i=i>.008856?i**(1/3):7.787*i+16/116))]},r.lab.xyz=function(e){let t,n,i;let o=e[0],r=e[1],s=e[2];t=r/500+(n=(o+16)/116),i=n-s/200;let a=n**3,l=t**3,c=i**3;return n=(a>.008856?a:(n-16/116)/7.787)*100,[t=(l>.008856?l:(t-16/116)/7.787)*95.047,n,i=(c>.008856?c:(i-16/116)/7.787)*108.883]},r.lab.lch=function(e){let t;let n=e[0],i=e[1],o=e[2];return(t=360*Math.atan2(o,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+o*o),t]},r.lch.lab=function(e){let t=e[0],n=e[1],i=e[2]/360*2*Math.PI;return[t,n*Math.cos(i),n*Math.sin(i)]},r.rgb.ansi16=function(e,t=null){let[n,i,o]=e,s=null===t?r.rgb.hsv(e)[2]:t;if(0===(s=Math.round(s/50)))return 30;let a=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return 2===s&&(a+=60),a},r.hsv.ansi16=function(e){return r.rgb.ansi16(r.hsv.rgb(e),e[2])},r.rgb.ansi256=function(e){let t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.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];let n=(~~(e>50)+1)*.5;return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},r.ansi256.rgb=function(e){let t;if(e>=232){let t=(e-232)*10+8;return[t,t,t]}return[Math.floor((e-=16)/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},r.rgb.hex=function(e){let 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},r.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));let i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(e){let t;let n=e[0]/255,i=e[1]/255,o=e[2]/255,r=Math.max(Math.max(n,i),o),s=Math.min(Math.min(n,i),o),a=r-s;return t=a<1?s/(1-a):0,[(a<=0?0:r===n?(i-o)/a%6:r===i?2+(o-n)/a:4+(n-i)/a)/6%1*360,100*a,100*t]},r.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=n<.5?2*t*n:2*t*(1-n),o=0;return i<1&&(o=(n-.5*i)/(1-i)),[e[0],100*i,100*o]},r.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=t*n,o=0;return i<1&&(o=(n-i)/(1-i)),[e[0],100*i,100*o]},r.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100;if(0===n)return[255*i,255*i,255*i];let o=[0,0,0],r=t%1*6,s=r%1,a=1-s,l=0;switch(Math.floor(r)){case 0:o[0]=1,o[1]=s,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]=s;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return l=(1-n)*i,[(n*o[0]+l)*255,(n*o[1]+l)*255,(n*o[2]+l)*255]},r.hcg.hsv=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t),i=0;return n>0&&(i=t/n),[e[0],100*i,100*n]},r.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},r.hcg.hwb=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],(n-t)*100,(1-n)*100]},r.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,i=n-t,o=0;return i<1&&(o=(n-i)/(1-i)),[e[0],100*i,100*o]},r.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},r.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},r.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},r.gray.hsl=function(e){return[0,0,e[0]]},r.gray.hsv=r.gray.hsl,r.gray.hwb=function(e){return[0,100,e[0]]},r.gray.cmyk=function(e){return[0,0,0,e[0]]},r.gray.lab=function(e){return[e[0],0,0]},r.gray.hex=function(e){let t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},r.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},12085:function(e,t,n){let i=n(48168),o=n(4111),r={};Object.keys(i).forEach(e=>{r[e]={},Object.defineProperty(r[e],"channels",{value:i[e].channels}),Object.defineProperty(r[e],"labels",{value:i[e].labels});let t=o(e);Object.keys(t).forEach(n=>{let i=t[n];r[e][n]=function(e){let t=function(...t){let n=t[0];if(null==n)return n;n.length>1&&(t=n);let i=e(t);if("object"==typeof i)for(let e=i.length,t=0;t<e;t++)i[t]=Math.round(i[t]);return i};return"conversion"in e&&(t.conversion=e.conversion),t}(i),r[e][n].raw=function(e){let t=function(...t){let n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(i)})}),e.exports=r},4111:function(e,t,n){let i=n(48168);e.exports=function(e){let t=function(e){let t=function(){let e={},t=Object.keys(i);for(let n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;){let e=n.pop(),o=Object.keys(i[e]);for(let i=o.length,r=0;r<i;r++){let i=o[r],s=t[i];-1===s.distance&&(s.distance=t[e].distance+1,s.parent=e,n.unshift(i))}}return t}(e),n={},o=Object.keys(t);for(let e=o.length,r=0;r<e;r++){let e=o[r];null!==t[e].parent&&(n[e]=function(e,t){let n=[t[e].parent,e],o=i[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),o=function(e,t){return function(n){return t(e(n))}}(i[t[r].parent][r],o),r=t[r].parent;return o.conversion=n,o}(e,t))}return n}},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]}},19818:function(e,t,n){var i=n(8874),o=n(86851),r=Object.hasOwnProperty,s=Object.create(null);for(var a in i)r.call(i,a)&&(s[i[a]]=a);var l=e.exports={to:{},get:{}};function c(e,t,n){return Math.min(Math.max(t,e),n)}function d(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,o,s=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(n=0,o=t[2],t=t[1];n<3;n++){var a=2*n;s[n]=parseInt(t.slice(a,a+2),16)}o&&(s[3]=parseInt(o,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(n=0,o=(t=t[1])[3];n<3;n++)s[n]=parseInt(t[n]+t[n],16);o&&(s[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(n=0;n<3;n++)s[n]=parseInt(t[n+1],0);t[4]&&(t[5]?s[3]=.01*parseFloat(t[4]):s[3]=parseFloat(t[4]))}else if(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)s[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?s[3]=.01*parseFloat(t[4]):s[3]=parseFloat(t[4]))}else if(!(t=e.match(/^(\w+)$/)))return null;else return"transparent"===t[1]?[0,0,0,0]:r.call(i,t[1])?((s=i[t[1]])[3]=1,s):null;for(n=0;n<3;n++)s[n]=c(s[n],0,255);return s[3]=c(s[3],0,1),s},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 n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,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 n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,c(parseFloat(t[2]),0,100),c(parseFloat(t[3]),0,100),c(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=o(arguments);return"#"+d(e[0])+d(e[1])+d(e[2])+(e[3]<1?d(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),n=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+i+"%)":"rgba("+t+"%, "+n+"%, "+i+"%, "+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 s[e.slice(0,3)]}},86851:function(e,t,n){"use strict";var i=n(89594),o=Array.prototype.concat,r=Array.prototype.slice,s=e.exports=function(e){for(var t=[],n=0,s=e.length;n<s;n++){var a=e[n];i(a)?t=o.call(t,r.call(a)):t.push(a)}return t};s.wrap=function(e){return function(){return e(s(arguments))}}},89594: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))}},47773:function(e,t,n){"use strict";var i=n(18590),o=n(90101),r=TypeError;e.exports=function(e){if(i(e))return e;throw new r(o(e)+" is not a function")}},3909:function(e,t,n){"use strict";var i=n(83908).has;e.exports=function(e){return i(e),e}},92225:function(e,t,n){"use strict";var i=n(64526),o=TypeError;e.exports=function(e,t){if(i(t,e))return e;throw new o("Incorrect invocation")}},37403:function(e,t,n){"use strict";var i=n(55173),o=String,r=TypeError;e.exports=function(e){if(i(e))return e;throw new r(o(e)+" is not an object")}},72264:function(e,t,n){"use strict";var i=n(67233),o=n(19130),r=n(8352),s=function(e){return function(t,n,s){var a,l=i(t),c=r(l);if(0===c)return!e&&-1;var d=o(s,c);if(e&&n!=n){for(;c>d;)if((a=l[d++])!=a)return!0}else for(;c>d;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},86136:function(e,t,n){"use strict";var i=n(72511),o=n(40616),r=TypeError,s=Object.getOwnPropertyDescriptor,a=i&&!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)&&!s(e,"length").writable)throw new r("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},23162:function(e,t,n){"use strict";var i=n(37403),o=n(63959);e.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},10394:function(e,t,n){"use strict";var i=n(74052),o=i({}.toString),r=i("".slice);e.exports=function(e){return r(o(e),8,-1)}},49852:function(e,t,n){"use strict";var i=n(74091),o=n(18590),r=n(10394),s=n(2933)("toStringTag"),a=Object,l="Arguments"===r(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(e){}};e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=c(t=a(e),s))?n:l?r(t):"Object"===(i=r(t))&&o(t.callee)?"Arguments":i}},6082:function(e,t,n){"use strict";var i=n(21312),o=n(32090),r=n(95721),s=n(83208);e.exports=function(e,t,n){for(var a=o(t),l=s.f,c=r.f,d=0;d<a.length;d++){var u=a[d];i(e,u)||n&&i(n,u)||l(e,u,c(t,u))}}},27396:function(e,t,n){"use strict";var i=n(91602);e.exports=!i(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},31141:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},48887:function(e,t,n){"use strict";var i=n(72511),o=n(83208),r=n(20198);e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},20198:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},64622:function(e,t,n){"use strict";var i=n(72511),o=n(83208),r=n(20198);e.exports=function(e,t,n){i?o.f(e,t,r(0,n)):e[t]=n}},70812:function(e,t,n){"use strict";var i=n(9297),o=n(83208);e.exports=function(e,t,n){return n.get&&i(n.get,t,{getter:!0}),n.set&&i(n.set,t,{setter:!0}),o.f(e,t,n)}},50576:function(e,t,n){"use strict";var i=n(18590),o=n(83208),r=n(9297),s=n(93941);e.exports=function(e,t,n,a){a||(a={});var l=a.enumerable,c=void 0!==a.name?a.name:t;if(i(n)&&r(n,c,a),a.global)l?e[t]=n:s(t,n);else{try{a.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},55850:function(e,t,n){"use strict";var i=n(50576);e.exports=function(e,t,n){for(var o in t)i(e,o,t[o],n);return e}},93941:function(e,t,n){"use strict";var i=n(7155),o=Object.defineProperty;e.exports=function(e,t){try{o(i,e,{value:t,configurable:!0,writable:!0})}catch(n){i[e]=t}return t}},97309:function(e,t,n){"use strict";var i=n(90101),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+i(t)+" of "+i(e))}},72511:function(e,t,n){"use strict";var i=n(91602);e.exports=!i(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},82978:function(e,t,n){"use strict";var i=n(7155),o=n(55173),r=i.document,s=o(r)&&o(r.createElement);e.exports=function(e){return s?r.createElement(e):{}}},6450:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},11855:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},45556:function(e,t,n){"use strict";var i=n(7155).navigator,o=i&&i.userAgent;e.exports=o?String(o):""},5020:function(e,t,n){"use strict";var i,o,r=n(7155),s=n(45556),a=r.process,l=r.Deno,c=a&&a.versions||l&&l.version,d=c&&c.v8;d&&(o=(i=d.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&s&&(!(i=s.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=s.match(/Chrome\/(\d+)/))&&(o=+i[1]),e.exports=o},22997:function(e,t,n){"use strict";var i=n(7155),o=n(95721).f,r=n(48887),s=n(50576),a=n(93941),l=n(6082),c=n(59760);e.exports=function(e,t){var n,d,u,h,p,f=e.target,m=e.global,g=e.stat;if(n=m?i:g?i[f]||a(f,{}):i[f]&&i[f].prototype)for(d in t){if(h=t[d],u=e.dontCallGetSet?(p=o(n,d))&&p.value:n[d],!c(m?d:f+(g?".":"#")+d,e.forced)&&void 0!==u){if(typeof h==typeof u)continue;l(h,u)}(e.sham||u&&u.sham)&&r(h,"sham",!0),s(n,d,h,e)}}},91602:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},93929:function(e,t,n){"use strict";var i=n(87601),o=Function.prototype,r=o.apply,s=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?s.bind(r):function(){return s.apply(r,arguments)})},11698:function(e,t,n){"use strict";var i=n(28358),o=n(47773),r=n(87601),s=i(i.bind);e.exports=function(e,t){return o(e),void 0===t?e:r?s(e,t):function(){return e.apply(t,arguments)}}},87601:function(e,t,n){"use strict";var i=n(91602);e.exports=!i(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},45564:function(e,t,n){"use strict";var i=n(87601),o=Function.prototype.call;e.exports=i?o.bind(o):function(){return o.apply(o,arguments)}},50783:function(e,t,n){"use strict";var i=n(72511),o=n(21312),r=Function.prototype,s=i&&Object.getOwnPropertyDescriptor,a=o(r,"name"),l=a&&(!i||i&&s(r,"name").configurable);e.exports={EXISTS:a,PROPER:a&&"something"===(function(){}).name,CONFIGURABLE:l}},10972:function(e,t,n){"use strict";var i=n(74052),o=n(47773);e.exports=function(e,t,n){try{return i(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},28358:function(e,t,n){"use strict";var i=n(10394),o=n(74052);e.exports=function(e){if("Function"===i(e))return o(e)}},74052:function(e,t,n){"use strict";var i=n(87601),o=Function.prototype,r=o.call,s=i&&o.bind.bind(r,r);e.exports=i?s:function(e){return function(){return r.apply(e,arguments)}}},55882:function(e,t,n){"use strict";var i=n(7155),o=n(18590);e.exports=function(e,t){var n;return arguments.length<2?o(n=i[e])?n:void 0:i[e]&&i[e][t]}},3636:function(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},79571:function(e,t,n){"use strict";var i=n(49852),o=n(19369),r=n(13017),s=n(34715),a=n(2933)("iterator");e.exports=function(e){if(!r(e))return o(e,a)||o(e,"@@iterator")||s[i(e)]}},89249:function(e,t,n){"use strict";var i=n(45564),o=n(47773),r=n(37403),s=n(90101),a=n(79571),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?a(e):t;if(o(n))return r(i(n,e));throw new l(s(e)+" is not iterable")}},19369:function(e,t,n){"use strict";var i=n(47773),o=n(13017);e.exports=function(e,t){var n=e[t];return o(n)?void 0:i(n)}},11218:function(e,t,n){"use strict";var i=n(47773),o=n(37403),r=n(45564),s=n(773),a=n(3636),l="Invalid size",c=RangeError,d=TypeError,u=Math.max,h=function(e,t){this.set=e,this.size=u(t,0),this.has=i(e.has),this.keys=i(e.keys)};h.prototype={getIterator:function(){return a(o(r(this.keys,this.set)))},includes:function(e){return r(this.has,this.set,e)}},e.exports=function(e){o(e);var t=+e.size;if(t!=t)throw new d(l);var n=s(t);if(n<0)throw new c(l);return new h(e,n)}},7155:function(e,t,n){"use strict";var i=function(e){return e&&e.Math===Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||i("object"==typeof this&&this)||function(){return this}()||Function("return this")()},21312:function(e,t,n){"use strict";var i=n(74052),o=n(97119),r=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(o(e),t)}},93549:function(e){"use strict";e.exports={}},28763:function(e,t,n){"use strict";var i=n(55882);e.exports=i("document","documentElement")},3129:function(e,t,n){"use strict";var i=n(72511),o=n(91602),r=n(82978);e.exports=!i&&!o(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},42103:function(e,t,n){"use strict";var i=n(74052),o=n(91602),r=n(10394),s=Object,a=i("".split);e.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===r(e)?a(e,""):s(e)}:s},48040:function(e,t,n){"use strict";var i=n(74052),o=n(18590),r=n(7326),s=i(Function.toString);o(r.inspectSource)||(r.inspectSource=function(e){return s(e)}),e.exports=r.inspectSource},37992:function(e,t,n){"use strict";var i,o,r,s=n(66884),a=n(7155),l=n(55173),c=n(48887),d=n(21312),u=n(7326),h=n(60893),p=n(93549),f="Object already initialized",m=a.TypeError,g=a.WeakMap;if(s||u.state){var y=u.state||(u.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,i=function(e,t){if(y.has(e))throw new m(f);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},r=function(e){return y.has(e)}}else{var v=h("state");p[v]=!0,i=function(e,t){if(d(e,v))throw new m(f);return t.facade=e,c(e,v,t),t},o=function(e){return d(e,v)?e[v]:{}},r=function(e){return d(e,v)}}e.exports={set:i,get:o,has:r,enforce:function(e){return r(e)?o(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},43262:function(e,t,n){"use strict";var i=n(2933),o=n(34715),r=i("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[r]===e)}},40616:function(e,t,n){"use strict";var i=n(10394);e.exports=Array.isArray||function(e){return"Array"===i(e)}},18590: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}},59760:function(e,t,n){"use strict";var i=n(91602),o=n(18590),r=/#|\.prototype\./,s=function(e,t){var n=l[a(e)];return n===d||n!==c&&(o(t)?i(t):!!t)},a=s.normalize=function(e){return String(e).replace(r,".").toLowerCase()},l=s.data={},c=s.NATIVE="N",d=s.POLYFILL="P";e.exports=s},13017:function(e){"use strict";e.exports=function(e){return null==e}},55173:function(e,t,n){"use strict";var i=n(18590);e.exports=function(e){return"object"==typeof e?null!==e:i(e)}},40432:function(e){"use strict";e.exports=!1},6747:function(e,t,n){"use strict";var i=n(55882),o=n(18590),r=n(64526),s=n(89570),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return o(t)&&r(t.prototype,a(e))}},53903:function(e,t,n){"use strict";var i=n(45564);e.exports=function(e,t,n){for(var o,r,s=n?e:e.iterator,a=e.next;!(o=i(a,s)).done;)if(void 0!==(r=t(o.value)))return r}},46009:function(e,t,n){"use strict";var i=n(11698),o=n(45564),r=n(37403),s=n(90101),a=n(43262),l=n(8352),c=n(64526),d=n(89249),u=n(79571),h=n(63959),p=TypeError,f=function(e,t){this.stopped=e,this.result=t},m=f.prototype;e.exports=function(e,t,n){var g,y,v,b,w,C,S,k=n&&n.that,x=!!(n&&n.AS_ENTRIES),B=!!(n&&n.IS_RECORD),T=!!(n&&n.IS_ITERATOR),E=!!(n&&n.INTERRUPTED),I=i(t,k),D=function(e){return g&&h(g,"normal"),new f(!0,e)},V=function(e){return x?(r(e),E?I(e[0],e[1],D):I(e[0],e[1])):E?I(e,D):I(e)};if(B)g=e.iterator;else if(T)g=e;else{if(!(y=u(e)))throw new p(s(e)+" is not iterable");if(a(y)){for(v=0,b=l(e);b>v;v++)if((w=V(e[v]))&&c(m,w))return w;return new f(!1)}g=d(e,y)}for(C=B?e.next:g.next;!(S=o(C,g)).done;){try{w=V(S.value)}catch(e){h(g,"throw",e)}if("object"==typeof w&&w&&c(m,w))return w}return new f(!1)}},565:function(e,t,n){"use strict";var i=n(63959);e.exports=function(e,t,n){for(var o=e.length-1;o>=0;o--)if(void 0!==e[o])try{n=i(e[o].iterator,t,n)}catch(e){t="throw",n=e}if("throw"===t)throw n;return n}},63959:function(e,t,n){"use strict";var i=n(45564),o=n(37403),r=n(19369);e.exports=function(e,t,n){var s,a;o(e);try{if(!(s=r(e,"return"))){if("throw"===t)throw n;return n}s=i(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw n;if(a)throw s;return o(s),n}},62719:function(e,t,n){"use strict";var i=n(45564),o=n(57569),r=n(48887),s=n(55850),a=n(2933),l=n(37992),c=n(19369),d=n(63298).IteratorPrototype,u=n(31141),h=n(63959),p=n(565),f=a("toStringTag"),m="IteratorHelper",g="WrapForValidIterator",y="normal",v="throw",b=l.set,w=function(e){var t=l.getterFor(e?g:m);return s(o(d),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return u(void 0,!0);try{var i=n.nextHandler();return n.returnHandlerResult?i:u(i,n.done)}catch(e){throw n.done=!0,e}},return:function(){var n=t(this),o=n.iterator;if(n.done=!0,e){var r=c(o,"return");return r?i(r,o):u(void 0,!0)}if(n.inner)try{h(n.inner.iterator,y)}catch(e){return h(o,v,e)}if(n.openIters)try{p(n.openIters,y)}catch(e){return h(o,v,e)}return o&&h(o,y),u(void 0,!0)}})},C=w(!0),S=w(!1);r(S,f,"Iterator Helper"),e.exports=function(e,t,n){var i=function(i,o){o?(o.iterator=i.iterator,o.next=i.next):o=i,o.type=t?g:m,o.returnHandlerResult=!!n,o.nextHandler=e,o.counter=0,o.done=!1,b(this,o)};return i.prototype=t?C:S,i}},27025:function(e){"use strict";e.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}},74404:function(e,t,n){"use strict";var i=n(7155);e.exports=function(e,t){var n=i.Iterator,o=n&&n.prototype,r=o&&o[e],s=!1;if(r)try{r.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return r}},63298:function(e,t,n){"use strict";var i,o,r,s=n(91602),a=n(18590),l=n(55173),c=n(57569),d=n(83377),u=n(50576),h=n(2933),p=n(40432),f=h("iterator"),m=!1;[].keys&&("next"in(r=[].keys())?(o=d(d(r)))!==Object.prototype&&(i=o):m=!0),!l(i)||s(function(){var e={};return i[f].call(e)!==e})?i={}:p&&(i=c(i)),a(i[f])||u(i,f,function(){return this}),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:m}},34715:function(e){"use strict";e.exports={}},8352:function(e,t,n){"use strict";var i=n(49733);e.exports=function(e){return i(e.length)}},9297:function(e,t,n){"use strict";var i=n(74052),o=n(91602),r=n(18590),s=n(21312),a=n(72511),l=n(50783).CONFIGURABLE,c=n(48040),d=n(37992),u=d.enforce,h=d.get,p=String,f=Object.defineProperty,m=i("".slice),g=i("".replace),y=i([].join),v=a&&!o(function(){return 8!==f(function(){},"length",{value:8}).length}),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(p(t),0,7)&&(t="["+g(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||l&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&s(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var i=u(e);return s(i,"source")||(i.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w(function(){return r(this)&&h(this).source||c(this)},"toString")},10257:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},57569:function(e,t,n){"use strict";var i,o=n(37403),r=n(5753),s=n(11855),a=n(93549),l=n(28763),c=n(82978),d=n(60893),u="prototype",h="script",p=d("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},y=function(){var e,t=c("iframe");return t.style.display="none",l.appendChild(t),t.src=String("java"+h+":"),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F},v=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}v="undefined"!=typeof document?document.domain&&i?g(i):y():g(i);for(var e=s.length;e--;)delete v[u][s[e]];return v()};a[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f[u]=o(e),n=new f,f[u]=null,n[p]=e):n=v(),void 0===t?n:r.f(n,t)}},5753:function(e,t,n){"use strict";var i=n(72511),o=n(27448),r=n(83208),s=n(37403),a=n(67233),l=n(87956);t.f=i&&!o?Object.defineProperties:function(e,t){s(e);for(var n,i=a(t),o=l(t),c=o.length,d=0;c>d;)r.f(e,n=o[d++],i[n]);return e}},83208:function(e,t,n){"use strict";var i=n(72511),o=n(3129),r=n(27448),s=n(37403),a=n(63201),l=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",p="writable";t.f=i?r?function(e,t,n){if(s(e),t=a(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var i=d(e,t);i&&i[p]&&(e[t]=n.value,n={configurable:h in n?n[h]:i[h],enumerable:u in n?n[u]:i[u],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(s(e),t=a(t),s(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},95721:function(e,t,n){"use strict";var i=n(72511),o=n(45564),r=n(31101),s=n(20198),a=n(67233),l=n(63201),c=n(21312),d=n(3129),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=a(e),t=l(t),d)try{return u(e,t)}catch(e){}if(c(e,t))return s(!o(r.f,e,t),e[t])}},42215:function(e,t,n){"use strict";var i=n(33154),o=n(11855).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},17007:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},83377:function(e,t,n){"use strict";var i=n(21312),o=n(18590),r=n(97119),s=n(60893),a=n(27396),l=s("IE_PROTO"),c=Object,d=c.prototype;e.exports=a?c.getPrototypeOf:function(e){var t=r(e);if(i(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?d:null}},64526:function(e,t,n){"use strict";var i=n(74052);e.exports=i({}.isPrototypeOf)},33154:function(e,t,n){"use strict";var i=n(74052),o=n(21312),r=n(67233),s=n(72264).indexOf,a=n(93549),l=i([].push);e.exports=function(e,t){var n,i=r(e),c=0,d=[];for(n in i)!o(a,n)&&o(i,n)&&l(d,n);for(;t.length>c;)o(i,n=t[c++])&&(~s(d,n)||l(d,n));return d}},87956:function(e,t,n){"use strict";var i=n(33154),o=n(11855);e.exports=Object.keys||function(e){return i(e,o)}},31101:function(e,t){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!n.call({1:2},1);t.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},90990:function(e,t,n){"use strict";var i=n(45564),o=n(18590),r=n(55173),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!r(a=i(n,e))||o(n=e.valueOf)&&!r(a=i(n,e))||"string"!==t&&o(n=e.toString)&&!r(a=i(n,e)))return a;throw new s("Can't convert object to primitive value")}},32090:function(e,t,n){"use strict";var i=n(55882),o=n(74052),r=n(42215),s=n(17007),a=n(37403),l=o([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=s.f;return n?l(t,n(e)):t}},36170:function(e,t,n){"use strict";var i=n(13017),o=TypeError;e.exports=function(e){if(i(e))throw new o("Can't call method on "+e);return e}},83230:function(e,t,n){"use strict";var i=n(83908),o=n(94797),r=i.Set,s=i.add;e.exports=function(e){var t=new r;return o(e,function(e){s(t,e)}),t}},25758:function(e,t,n){"use strict";var i=n(3909),o=n(83908),r=n(83230),s=n(25251),a=n(11218),l=n(94797),c=n(53903),d=o.has,u=o.remove;e.exports=function(e){var t=i(this),n=a(e),o=r(t);return s(t)<=n.size?l(t,function(e){n.includes(e)&&u(o,e)}):c(n.getIterator(),function(e){d(o,e)&&u(o,e)}),o}},83908:function(e,t,n){"use strict";var i=n(74052),o=Set.prototype;e.exports={Set:Set,add:i(o.add),has:i(o.has),remove:i(o.delete),proto:o}},45803:function(e,t,n){"use strict";var i=n(3909),o=n(83908),r=n(25251),s=n(11218),a=n(94797),l=n(53903),c=o.Set,d=o.add,u=o.has;e.exports=function(e){var t=i(this),n=s(e),o=new c;return r(t)>n.size?l(n.getIterator(),function(e){u(t,e)&&d(o,e)}):a(t,function(e){n.includes(e)&&d(o,e)}),o}},34850:function(e,t,n){"use strict";var i=n(3909),o=n(83908).has,r=n(25251),s=n(11218),a=n(94797),l=n(53903),c=n(63959);e.exports=function(e){var t=i(this),n=s(e);if(r(t)<=n.size)return!1!==a(t,function(e){if(n.includes(e))return!1},!0);var d=n.getIterator();return!1!==l(d,function(e){if(o(t,e))return c(d,"normal",!1)})}},22722:function(e,t,n){"use strict";var i=n(3909),o=n(25251),r=n(94797),s=n(11218);e.exports=function(e){var t=i(this),n=s(e);return!(o(t)>n.size)&&!1!==r(t,function(e){if(!n.includes(e))return!1},!0)}},44041:function(e,t,n){"use strict";var i=n(3909),o=n(83908).has,r=n(25251),s=n(11218),a=n(53903),l=n(63959);e.exports=function(e){var t=i(this),n=s(e);if(r(t)<n.size)return!1;var c=n.getIterator();return!1!==a(c,function(e){if(!o(t,e))return l(c,"normal",!1)})}},94797:function(e,t,n){"use strict";var i=n(74052),o=n(53903),r=n(83908),s=r.Set,a=r.proto,l=i(a.forEach),c=i(a.keys),d=c(new s).next;e.exports=function(e,t,n){return n?o({iterator:c(e),next:d},t):l(e,t)}},87677:function(e,t,n){"use strict";var i=n(55882),o=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},r=function(e){return{size:e,has:function(){return!0},keys:function(){throw Error("e")}}};e.exports=function(e,t){var n=i("Set");try{new n()[e](o(0));try{return new n()[e](o(-1)),!1}catch(i){if(!t)return!0;try{return new n()[e](r(-1/0)),!1}catch(i){var s=new n;return s.add(1),s.add(2),t(s[e](r(1/0)))}}}catch(e){return!1}}},63804:function(e){"use strict";e.exports=function(e){try{var t=new Set,n=t[e]({size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}});return 1===n.size&&4===n.values().next().value}catch(e){return!1}}},25251:function(e,t,n){"use strict";var i=n(10972),o=n(83908);e.exports=i(o.proto,"size","get")||function(e){return e.size}},82483:function(e,t,n){"use strict";var i=n(3909),o=n(83908),r=n(83230),s=n(11218),a=n(53903),l=o.add,c=o.has,d=o.remove;e.exports=function(e){var t=i(this),n=s(e).getIterator(),o=r(t);return a(n,function(e){c(t,e)?d(o,e):l(o,e)}),o}},21054:function(e,t,n){"use strict";var i=n(3909),o=n(83908).add,r=n(83230),s=n(11218),a=n(53903);e.exports=function(e){var t=i(this),n=s(e).getIterator(),l=r(t);return a(n,function(e){o(l,e)}),l}},60893:function(e,t,n){"use strict";var i=n(46483),o=n(26169),r=i("keys");e.exports=function(e){return r[e]||(r[e]=o(e))}},7326:function(e,t,n){"use strict";var i=n(40432),o=n(7155),r=n(93941),s="__core-js_shared__",a=e.exports=o[s]||r(s,{});(a.versions||(a.versions=[])).push({version:"3.45.1",mode:i?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.45.1/LICENSE",source:"https://github.com/zloirock/core-js"})},46483:function(e,t,n){"use strict";var i=n(7326);e.exports=function(e,t){return i[e]||(i[e]=t||{})}},58276:function(e,t,n){"use strict";var i=n(5020),o=n(91602),r=n(7155).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&i&&i<41})},19130:function(e,t,n){"use strict";var i=n(773),o=Math.max,r=Math.min;e.exports=function(e,t){var n=i(e);return n<0?o(n+t,0):r(n,t)}},67233:function(e,t,n){"use strict";var i=n(42103),o=n(36170);e.exports=function(e){return i(o(e))}},773:function(e,t,n){"use strict";var i=n(10257);e.exports=function(e){var t=+e;return t!=t||0===t?0:i(t)}},49733:function(e,t,n){"use strict";var i=n(773),o=Math.min;e.exports=function(e){var t=i(e);return t>0?o(t,9007199254740991):0}},97119:function(e,t,n){"use strict";var i=n(36170),o=Object;e.exports=function(e){return o(i(e))}},57775:function(e,t,n){"use strict";var i=n(45564),o=n(55173),r=n(6747),s=n(19369),a=n(90990),l=n(2933),c=TypeError,d=l("toPrimitive");e.exports=function(e,t){if(!o(e)||r(e))return e;var n,l=s(e,d);if(l){if(void 0===t&&(t="default"),!o(n=i(l,e,t))||r(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},63201:function(e,t,n){"use strict";var i=n(57775),o=n(6747);e.exports=function(e){var t=i(e,"string");return o(t)?t:t+""}},74091:function(e,t,n){"use strict";var i=n(2933)("toStringTag"),o={};o[i]="z",e.exports="[object z]"===String(o)},90101:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},26169:function(e,t,n){"use strict";var i=n(74052),o=0,r=Math.random(),s=i(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+r,36)}},89570:function(e,t,n){"use strict";var i=n(58276);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},27448:function(e,t,n){"use strict";var i=n(72511),o=n(91602);e.exports=i&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},66884:function(e,t,n){"use strict";var i=n(7155),o=n(18590),r=i.WeakMap;e.exports=o(r)&&/native code/.test(String(r))},2933:function(e,t,n){"use strict";var i=n(7155),o=n(46483),r=n(21312),s=n(26169),a=n(58276),l=n(89570),c=i.Symbol,d=o("wks"),u=l?c.for||c:c&&c.withoutSetter||s;e.exports=function(e){return r(d,e)||(d[e]=a&&r(c,e)?c[e]:u("Symbol."+e)),d[e]}},35005:function(e,t,n){"use strict";var i=n(22997),o=n(97119),r=n(8352),s=n(86136),a=n(97309),l=n(6450);i({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(e){return e instanceof TypeError}}()},{unshift:function(e){var t=o(this),n=r(t),i=arguments.length;if(i){l(n+i);for(var c=n;c--;){var d=c+i;c in t?t[d]=t[c]:a(t,d)}for(var u=0;u<i;u++)t[u]=arguments[u]}return s(t,n+i)}})},56693:function(e,t,n){"use strict";var i=n(22997),o=n(7155),r=n(92225),s=n(37403),a=n(18590),l=n(83377),c=n(70812),d=n(64622),u=n(91602),h=n(21312),p=n(2933),f=n(63298).IteratorPrototype,m=n(72511),g=n(40432),y="constructor",v="Iterator",b=p("toStringTag"),w=TypeError,C=o[v],S=g||!a(C)||C.prototype!==f||!u(function(){C({})}),k=function(){if(r(this,f),l(this)===f)throw new w("Abstract class Iterator not directly constructable")},x=function(e,t){m?c(f,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===f)throw new w("You can't redefine this property");h(this,e)?this[e]=t:d(this,e,t)}}):f[e]=t};h(f,b)||x(b,v),(S||!h(f,y)||f[y]===Object)&&x(y,k),k.prototype=f,i({global:!0,constructor:!0,forced:S},{Iterator:k})},67213:function(e,t,n){"use strict";var i=n(22997),o=n(45564),r=n(46009),s=n(47773),a=n(37403),l=n(3636),c=n(63959),d=n(74404)("every",TypeError);i({target:"Iterator",proto:!0,real:!0,forced:d},{every:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(d)return o(d,this,e);var t=l(this),n=0;return!r(t,function(t,i){if(!e(t,n++))return i()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},91194:function(e,t,n){"use strict";var i=n(22997),o=n(45564),r=n(47773),s=n(37403),a=n(3636),l=n(62719),c=n(23162),d=n(40432),u=n(63959),h=n(27025),p=n(74404),f=!d&&!h("filter",function(){}),m=!d&&!f&&p("filter",TypeError),g=d||f||m,y=l(function(){for(var e,t,n=this.iterator,i=this.predicate,r=this.next;;){if(e=s(o(r,n)),this.done=!!e.done)return;if(c(n,i,[t=e.value,this.counter++],!0))return t}});i({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(e){s(this);try{r(e)}catch(e){u(this,"throw",e)}return m?o(m,this,e):new y(a(this),{predicate:e})}})},88720:function(e,t,n){"use strict";var i=n(22997),o=n(45564),r=n(46009),s=n(47773),a=n(37403),l=n(3636),c=n(63959),d=n(74404)("find",TypeError);i({target:"Iterator",proto:!0,real:!0,forced:d},{find:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(d)return o(d,this,e);var t=l(this),n=0;return r(t,function(t,i){if(e(t,n++))return i(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},19306:function(e,t,n){"use strict";var i=n(22997),o=n(45564),r=n(46009),s=n(47773),a=n(37403),l=n(3636),c=n(63959),d=n(74404)("forEach",TypeError);i({target:"Iterator",proto:!0,real:!0,forced:d},{forEach:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(d)return o(d,this,e);var t=l(this),n=0;r(t,function(t){e(t,n++)},{IS_RECORD:!0})}})},81024:function(e,t,n){"use strict";var i=n(22997),o=n(45564),r=n(47773),s=n(37403),a=n(3636),l=n(62719),c=n(23162),d=n(63959),u=n(27025),h=n(74404),p=n(40432),f=!p&&!u("map",function(){}),m=!p&&!f&&h("map",TypeError),g=p||f||m,y=l(function(){var e=this.iterator,t=s(o(this.next,e));if(!(this.done=!!t.done))return c(e,this.mapper,[t.value,this.counter++],!0)});i({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(e){s(this);try{r(e)}catch(e){d(this,"throw",e)}return m?o(m,this,e):new y(a(this),{mapper:e})}})},80737:function(e,t,n){"use strict";var i=n(22997),o=n(46009),r=n(47773),s=n(37403),a=n(3636),l=n(63959),c=n(74404),d=n(93929),u=n(91602),h=TypeError,p=u(function(){[].keys().reduce(function(){},void 0)}),f=!p&&c("reduce",h);i({target:"Iterator",proto:!0,real:!0,forced:p||f},{reduce:function(e){s(this);try{r(e)}catch(e){l(this,"throw",e)}var t=arguments.length<2,n=t?void 0:arguments[1];if(f)return d(f,this,t?[e]:[e,n]);var i=a(this),c=0;if(o(i,function(i){t?(t=!1,n=i):n=e(n,i,c),c++},{IS_RECORD:!0}),t)throw new h("Reduce of empty iterator with no initial value");return n}})},22778:function(e,t,n){"use strict";var i=n(22997),o=n(45564),r=n(46009),s=n(47773),a=n(37403),l=n(3636),c=n(63959),d=n(74404)("some",TypeError);i({target:"Iterator",proto:!0,real:!0,forced:d},{some:function(e){a(this);try{s(e)}catch(e){c(this,"throw",e)}if(d)return o(d,this,e);var t=l(this),n=0;return r(t,function(t,i){if(e(t,n++))return i()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},5593:function(e,t,n){"use strict";var i=n(22997),o=n(25758),r=n(91602);i({target:"Set",proto:!0,real:!0,forced:!n(87677)("difference",function(e){return 0===e.size})||r(function(){var e=new Set([1,2,3,4]);return 3!==e.difference({size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var n=t++>1;return e.has(1)&&e.clear(),{done:n,value:2}}}}}).size})},{difference:o})},48626:function(e,t,n){"use strict";var i=n(22997),o=n(91602),r=n(45803);i({target:"Set",proto:!0,real:!0,forced:!n(87677)("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:r})},83877:function(e,t,n){"use strict";var i=n(22997),o=n(34850);i({target:"Set",proto:!0,real:!0,forced:!n(87677)("isDisjointFrom",function(e){return!e})},{isDisjointFrom:o})},26250:function(e,t,n){"use strict";var i=n(22997),o=n(22722);i({target:"Set",proto:!0,real:!0,forced:!n(87677)("isSubsetOf",function(e){return e})},{isSubsetOf:o})},44163:function(e,t,n){"use strict";var i=n(22997),o=n(44041);i({target:"Set",proto:!0,real:!0,forced:!n(87677)("isSupersetOf",function(e){return!e})},{isSupersetOf:o})},2270:function(e,t,n){"use strict";var i=n(22997),o=n(82483),r=n(63804);i({target:"Set",proto:!0,real:!0,forced:!n(87677)("symmetricDifference")||!r("symmetricDifference")},{symmetricDifference:o})},71094:function(e,t,n){"use strict";var i=n(22997),o=n(21054),r=n(63804);i({target:"Set",proto:!0,real:!0,forced:!n(87677)("union")||!r("union")},{union:o})},50401:function(e,t,n){"use strict";n(56693)},879:function(e,t,n){"use strict";n(67213)},91234:function(e,t,n){"use strict";n(91194)},56165:function(e,t,n){"use strict";n(88720)},49549:function(e,t,n){"use strict";n(19306)},15773:function(e,t,n){"use strict";n(81024)},15065:function(e,t,n){"use strict";n(80737)},80438:function(e,t,n){"use strict";n(22778)},77352:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return i}})},11747:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var i=(e,t)=>{let n=e.__vccOpts||e;for(let[e,i]of t)n[e]=i;return n}},40532:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"AdvancePanelColumns",props:{columns:{type:Array,default:()=>[]}}}),s={class:"adv-columns"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s,[((0,i.openBlock)(!0),(0,i.createElementBlock)(i.Fragment,null,(0,i.renderList)(e.columns,(t,n)=>((0,i.openBlock)(),(0,i.createElementBlock)("div",{key:n,class:"adv-column"},[(0,i.renderSlot)(e.$slots,t.name)]))),128))])}]])},27835:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(29151),o=n(25217),r=n(11747);let s=(0,o.defineComponent)({name:"AdvancePanelForm",props:{fields:{type:Array,default:()=>[]}},computed:{formCls(){return["adv-form",{mobile:this.isMobile}]},isMobile(){return this.$breakpointManager?this.$breakpointManager.mobile:((0,i.D8)("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})}}),a={class:"adv-form-label"};var l=(0,r.Z)(s,[["render",function(e,t,n,i,r,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(e.formCls)},[((0,o.openBlock)(!0),(0,o.createElementBlock)(o.Fragment,null,(0,o.renderList)(e.fields,t=>((0,o.openBlock)(),(0,o.createElementBlock)(o.Fragment,{key:t.name},[(0,o.createElementVNode)("div",a,[(0,o.renderSlot)(e.$slots,`${t.name}-label`)]),(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)([e.getValueCls(t),"adv-form-value"])},[(0,o.renderSlot)(e.$slots,`${t.name}-value`)],2)],64))),128))],2)}]])},28678:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094);var i=n(37153),o=n(80036),r=n(21812),s=n(83871),a=n(25944),l=n(25217),c=n(11747);(0,i.z)("adv-grid-sort-down",r.Bn),(0,i.z)("adv-grid-sort-up",r.LB);let d="DESC",u="UNKNOWN",h=(0,l.defineComponent)({name:"AdvancePanelGrid",components:{vIcon:s.Z,vWhitetip:a.Z},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:"ASC"}}),computed:{isEmpty(){return 0===this.data.length},innerData(){let{columnIndex:e,order:t}=this.sort;if(-1===e)return[...this.data];let n=this.columns[e],i=this.localSortFunc?this.localSortFunc(n):void 0;return[...this.data].sort(i??((e,i)=>{let o=e[n.field],r=i[n.field];if(o!==r){if(t===d)return o<r?1:-1;if("ASC"===t)return o<r?-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){return"ASC"===(t!==this.sort.columnIndex?e?.sort?.defaultOrder??"ASC":this.sort.order)?"adv-grid-sort-up":"adv-grid-sort-down"},onSort(e,t){if(!this.isSortable(e))return;let n=u;n=t!==this.sort.columnIndex?e?.sort?.defaultOrder??"ASC":"ASC"===this.sort.order?d:"ASC",this.sort={columnIndex:t,order:n}},getCellTooltip:e=>e?.tooltip??!1,getHeaderTip:e=>!!(0,o.isString)(e.tip)&&e.tip,getHeaderTipSlotName:e=>`${e.field}.tip`,getCellSlotName:e=>e?.slot??"default-cell",useCellSlot:e=>!!e.slot,getCellHtml:e=>e?.html??!1,getCellContent:e=>(0,o.isString)(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)}}}}),p={class:"adv-grid"},f={class:"adv-grid-thead"},m={role:"row",class:"table-head-row"},g=["onClick"],y={class:"head-cell-content"},v={class:"adv-grid-body"},b={key:0,class:"empty-body"},w=["colspan"],C={class:"empty-body-content"},S={class:"cell-wrapper"},k={class:"cell"},x=["innerHTML"],B={key:0,class:"row-hover-action"};var T=(0,c.Z)(h,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-icon"),a=(0,l.resolveComponent)("v-whitetip"),c=(0,l.resolveDirective)("tooltip");return(0,l.openBlock)(),(0,l.createElementBlock)("table",p,[(0,l.createElementVNode)("thead",f,[(0,l.createElementVNode)("tr",m,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.columns,(t,n)=>((0,l.openBlock)(),(0,l.createElementBlock)("th",{key:n,class:"table-head"},[(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(e.getTableHeadCls(t)),onClick:i=>e.onSort(t,n)},[(0,l.createElementVNode)("div",y,(0,l.toDisplayString)(t.title),1),e.isSortable(t)?((0,l.openBlock)(),(0,l.createBlock)(s,{key:0,class:(0,l.normalizeClass)(["sort-icon",e.getSortIconCls(n)]),name:e.getSortIconName(t,n),"svg-icon-set":"set02"},null,8,["class","name"])):(0,l.createCommentVNode)("",!0),t.tip?((0,l.openBlock)(),(0,l.createBlock)(a,{key:1,size:"small",class:"head-cell-tip",content:e.getHeaderTip(t),"has-margin":!1,type:"white"},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,e.getHeaderTipSlotName(t))]),_:2},1032,["content"])):(0,l.createCommentVNode)("",!0)],10,g)),[[c,e.getCellTooltip(t)]])]))),128))])]),(0,l.createElementVNode)("tbody",v,[e.isEmpty?((0,l.openBlock)(),(0,l.createElementBlock)("tr",b,[(0,l.createElementVNode)("td",{colspan:e.columns.length},[(0,l.createElementVNode)("div",C,[(0,l.renderSlot)(e.$slots,"empty-body")])],8,w)])):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.innerData,(t,n)=>((0,l.openBlock)(),(0,l.createElementBlock)("tr",{key:n,role:"row",class:(0,l.normalizeClass)(["table-row",e.getRowHoverActionCls(n)])},[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.columns,(i,o)=>((0,l.openBlock)(),(0,l.createElementBlock)("td",{key:o,class:"table-cell"},[(0,l.createElementVNode)("div",S,[(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("div",k,[(0,l.renderSlot)(e.$slots,e.getCellSlotName(t[i.field]),{cell:t[i.field]},()=>[e.getCellHtml(t[i.field])?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,innerHTML:e.getCellHtml(t[i.field])},null,8,x)):(0,l.createCommentVNode)("",!0),(0,l.createTextVNode)(" "+(0,l.toDisplayString)(e.getCellContent(t[i.field])),1)])])),[[c,e.getCellTooltip(t[i.field])]]),e.hasRowHoverAction(o)?((0,l.openBlock)(),(0,l.createElementBlock)("div",B,[(0,l.renderSlot)(e.$slots,"row-hover-action",{item:t,column:i,index:n,activate:e.activateHoverAction(n),deactivate:e.deactivateHoverAction(n)})])):(0,l.createCommentVNode)("",!0)])]))),128))],2))),128))])])}]])},4006:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});var i=n(28678),o=n(27835),r=n(40532);let s=(0,n(53300).e)({components:[i.Z,o.Z,r.Z]})},33443:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(88358),o=n(39192),r=n(63917),s=n(25217),a=n(11747);let l="bottom",c=(0,s.defineComponent)({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:"top"},innerClass:{type:Object,default:()=>({})},innerStyle:{type:Object,default:()=>({})}},data:()=>({fixed:!1,placeholderRect:void 0,top:0}),computed:{fixedTop(){return"top"===this.fix},fixedBottom(){return this.fix===l},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(()=>{let e=this.scrollContainers?.length>0?this.scrollContainers:(0,r.getAllScrollContainer)(this.$el);for(let t of(this.disposedFn.push((0,o.k)(this.$refs.inner,()=>{this.updatePos()})),e))this.disposedFn.push((0,r.on)(t,"scroll",()=>this.updatePos()));this.updatePos()})},[i.mT.beforeUnmount](){for(let e of this.disposedFn)e?.()},methods:{updatePos(){this.fixed=!1,this.$nextTick(()=>{let e=(this.target?.()??document.documentElement).getBoundingClientRect(),t=this.$refs.inner.getBoundingClientRect();this.placeholderRect=t,this.fixedTop?t.top<e.top+this.offsetTop&&(this.fixed="top",this.top=e.top+this.offsetTop):this.fixedBottom&&t.bottom>e.bottom-this.offsetBottom&&(this.fixed=l,this.top=e.bottom-this.offsetBottom-t.height)})}}}),d={class:"affix-wrapper"};var u=(0,a.Z)(c,[["render",function(e,t,n,i,o,r){return(0,s.openBlock)(),(0,s.createElementBlock)("div",d,[e.fixed?((0,s.openBlock)(),(0,s.createElementBlock)("div",{key:0,class:"affix-placeholder",style:(0,s.normalizeStyle)(e.placeholderStyle)},null,4)):(0,s.createCommentVNode)("",!0),(0,s.createElementVNode)("div",{ref:"inner",class:(0,s.normalizeClass)(["affix-inner",e.innerClass]),style:(0,s.normalizeStyle)(e._innerStyle)},[(0,s.renderSlot)(e.$slots,"default")],6)])}]])},77070:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var i=n(33443);let o=(0,n(53300).e)({components:[i.Z]})},82240:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(83871),o=n(69092),r=n(62704),s=n(84593),a=n(80036),l=n(61644),c=n(81460),d=n(30272),u=n(37153),h=n(41401),p=n(21812),f=n(33443),m=n(16447),g=n(78671),y=n(62088),v=n(25217),b=n(11747);(0,u.z)("alert-bar-close",p.nT),(0,u.z)("alert-bar-status-info",p.SI),(0,u.z)("alert-bar-status-processing",p.Nd),(0,u.z)("alert-bar-status-normal",p.Zx),(0,u.z)("alert-bar-status-warning",p.IH),(0,u.z)("alert-bar-status-error",p.fr);var w=(0,b.Z)((0,v.defineComponent)({name:"AlertBar",components:{withAffix:(0,m.Q)(f.Z),vButton:l.Z,vLayout:c.Z,vRichText:h.Z,vIcon:i.Z},mixins:[r.ZP,s.Z,u.Z,(0,d.f)("alert-bar-container"),(0,y.W)("alertBar")],props:{affix:{type:[Boolean,Object],default:!1},suffix:{type:String,default:"grey"},showClose:{type:Boolean,default:void 0},onClick:{type:Function,default:a.noop},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:a.noop},icon:{type:[Boolean,String,Object],default:!1},closeIcon:{type:Object,default:()=>({})}},emits:["close"],data:()=>({prefix:"v-alert-bar"}),computed:{innerAffixBind(){let e=(0,a.isBoolean)(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!!(0,a.isBoolean)(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!!this.icon},innerIcon(){let e=this.getAlertBarConfigValue("icon"),t=(0,a.isString)(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(0,g.Z)({name:`alert-bar-status-${t}`},(0,a.isObject)(e)?e:{})},hasActionButton(){return"button"===this.actionType},hasActionLink(){return"link"===this.actionType}},methods:{onClose(){(0,o.Qy)(this,"close")}}}),[["render",function(e,t,n,i,o,r){let s=(0,v.resolveComponent)("v-icon"),a=(0,v.resolveComponent)("v-rich-text"),l=(0,v.resolveComponent)("v-button"),c=(0,v.resolveComponent)("v-layout"),d=(0,v.resolveComponent)("with-affix"),u=(0,v.resolveDirective)("syno-id");return(0,v.openBlock)(),(0,v.createBlock)(d,(0,v.mergeProps)({wrap:e.affix},e.innerAffixBind),{default:(0,v.withCtx)(()=>[(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createBlock)(c,{type:"alert-bar"},{default:(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",{class:(0,v.normalizeClass)(e.wrapCls),tabindex:"-1"},[e.hasIcon?((0,v.openBlock)(),(0,v.createBlock)(s,(0,v.mergeProps)({key:0},e.innerIcon,{class:"alert-bar-status-icon"}),null,16)):(0,v.createCommentVNode)("",!0),(0,v.createElementVNode)("div",{tabindex:"0",class:(0,v.normalizeClass)(e.extendedTextCls),onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)})},[(0,v.renderSlot)(e.$slots,"text",{},()=>[(0,v.createVNode)(a,{text:e.text,"allow-attrs":["href","target"]},null,8,["text"])])],2),e.hasActionButton?((0,v.openBlock)(),(0,v.createBlock)(l,{key:1,"syno-id":`${e.synoId}-action-button`,class:(0,v.normalizeClass)(e.extendedActionBtnCls),suffix:e.suffix,size:"small",onClick:t[1]||(t[1]=()=>e.onClickActionBtn(this))},{default:(0,v.withCtx)(()=>[(0,v.createTextVNode)((0,v.toDisplayString)(e.actionText),1)]),_:1},8,["syno-id","class","suffix"])):(0,v.createCommentVNode)("",!0),e.hasActionLink?((0,v.openBlock)(),(0,v.createElementBlock)("button",{key:2,class:(0,v.normalizeClass)(e.extendedActionLinkCls),onClick:t[2]||(t[2]=()=>e.onClickActionBtn(this))},(0,v.toDisplayString)(e.actionText),3)):(0,v.createCommentVNode)("",!0),e.innerShowClose?((0,v.openBlock)(),(0,v.createBlock)(s,(0,v.mergeProps)({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"])):(0,v.createCommentVNode)("",!0)],2)]),_:3})),[[u]])]),_:3},16,["wrap"])}]])},69470:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(82240);let o=(0,n(53300).e)({components:[i.Z]})},774:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}}),n(50401),n(15773);var i=n(69092),o=n(71058),r=n(59449),s=n(36659),a=n(60853),l=n(46491),c=n(5290),d=n(61644),u=n(14198),h=n(30864),p=n(83871),f=n(84593),m=n(25217),g=n(11747);let y=(0,m.defineComponent)({components:{vAvatar:o.Z,vButton:d.Z,vSpace:r.Z,vMenu:s.Z,vMenuItem:a.Z},mixins:[f.Z],props:{username:{type:String,default:""},email:{type:String,default:"example@synology.com"}},emits:["click-manage-profile"],methods:{onClickManagerProfile(){(0,i.Qy)(this,"click-manage-profile")}}}),v={class:"app-profile-menu__info-wrapper"},b={class:"app-profile-menu__name"},w={class:"app-profile-menu__email"};var C=(0,g.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-avatar"),a=(0,m.resolveComponent)("v-button"),l=(0,m.resolveComponent)("v-space"),c=(0,m.resolveComponent)("v-menu-item"),d=(0,m.resolveComponent)("v-menu");return(0,m.openBlock)(),(0,m.createBlock)(d,{class:"app-profile-menu",width:300},{default:(0,m.withCtx)(()=>[(0,m.createVNode)(c,{class:"profile-menu-item"},{default:(0,m.withCtx)(()=>[(0,m.createVNode)(l,{class:"profile-menu-item__wrapper",direction:"column",spacing:"none"},{default:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{class:"app-profile-menu__avatar",username:e.username,size:"large",disabled:""},null,8,["username"]),(0,m.createElementVNode)("div",v,[(0,m.createElementVNode)("div",b,(0,m.toDisplayString)(e.username),1),(0,m.createElementVNode)("div",w,(0,m.toDisplayString)(e.email),1)]),(0,m.createVNode)(l,{class:"app-profile-menu__actions"},{default:(0,m.withCtx)(()=>[(0,m.createVNode)(a,{onClick:e.onClickManagerProfile},{default:(0,m.withCtx)(()=>[(0,m.createTextVNode)((0,m.toDisplayString)(e._i18n("common","synology_account_settings")),1)]),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1}),(0,m.renderSlot)(e.$slots,"profile-menu-items")]),_:3})}]]),S=n(37153),k=n(29151),x=n(21812),B=n(82442);(0,S.z)("app-bar-hamburger",x.VP),(0,S.z)("app-bar-more",x.aG);let T=(0,m.defineComponent)({name:"AppBar",components:{vAvatar:o.Z,vSpace:r.Z,vMenu:s.Z,vMenuItem:a.Z,vMenuDivider:c.Z,vMenuGroup:l.Z,vButton:d.Z,vSingleSelect:u.Z,vOverflowList:h.Z,vIcon:p.Z,vAppProfileMenu:C},mixins:[f.Z,S.Z],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?((0,k.D8)("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(0,B.FJ)(this)},onClickHamburgerIcon(){(0,i.Qy)(this,"click-hamburger")},onClickLogo(){(0,i.Qy)(this,"click-logo")},onClickMoreProducts(){(0,i.Qy)(this,"click-more-products")},onClickServiceItem(e){(0,i.Qy)(this,"click-service-item",e)},getServiceIconStyle:e=>({backgroundImage:`url("${e.iconUrl}")`}),onSelectRegion(e){(0,i.Qy)(this,"select-region",e)},onClickSignin(){(0,i.Qy)(this,"click-signin")}}}),E={class:"v-app-bar__app-name"},I={class:"v-app-bar-launch-menu-item__title"},D={class:"v-app-bar-launch-menu-item__title"};var V=(0,g.Z)(T,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-icon"),a=(0,m.resolveComponent)("v-space"),l=(0,m.resolveComponent)("v-single-select"),c=(0,m.resolveComponent)("v-overflow-list"),d=(0,m.resolveComponent)("v-button"),u=(0,m.resolveComponent)("v-menu-item"),h=(0,m.resolveComponent)("v-menu-group"),p=(0,m.resolveComponent)("v-menu-divider"),f=(0,m.resolveComponent)("v-menu"),g=(0,m.resolveComponent)("v-app-profile-menu"),y=(0,m.resolveComponent)("v-avatar"),v=(0,m.resolveDirective)("syno-id");return(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("div",{class:(0,m.normalizeClass)(["v-app-bar",e.appClass])},[e.showHamburgerIcon?((0,m.openBlock)(),(0,m.createBlock)(s,{key:0,class:"v-app-bar__hamburger",name:"app-bar-hamburger","svg-icon-set":"set13",onClick:e.onClickHamburgerIcon},null,8,["onClick"])):(0,m.createCommentVNode)("",!0),(0,m.createVNode)(a,{class:"v-app-bar__title",onClick:e.onClickLogo},{default:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{size:[32,32],class:"v-app-bar__app-icon",style:(0,m.normalizeStyle)(e.appIconStyle),sprite:""},null,8,["style"]),(0,m.createElementVNode)("span",E,[(0,m.renderSlot)(e.$slots,"app-name",{},()=>[(0,m.createTextVNode)((0,m.toDisplayString)(e.service.name),1)])]),(0,m.renderSlot)(e.$slots,"subtitle")]),_:3},8,["onClick"]),e.isMobile?(0,m.createCommentVNode)("",!0):((0,m.openBlock)(),(0,m.createBlock)(a,{key:1,class:"v-app-bar__navbar-items-group"},{default:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"navbar-items")]),_:3})),(0,m.createVNode)(a,{class:"v-app-bar__right-toolbar","justify-content":"end"},{default:(0,m.withCtx)(()=>[!e.isMobile&&e.hasRegionSelector?((0,m.openBlock)(),(0,m.createBlock)(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"])):(0,m.createCommentVNode)("",!0),(0,m.createVNode)(a,{class:"v-app-bar__toolbar-buttons","justify-content":"end"},{default:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"toolbar-buttons",{},()=>[(0,m.createVNode)(c,{items:e.toolbarButtons,class:"v-app-bar__toolbar-overflow-list","collapse-direction":"start"},{default:(0,m.withCtx)(t=>[(0,m.renderSlot)(e.$slots,"toolbar-buttons-item",(0,m.normalizeProps)((0,m.guardReactiveProps)(t)))]),"overflow-item":(0,m.withCtx)(t=>[(0,m.renderSlot)(e.$slots,"toolbar-buttons-overflow-item",(0,m.normalizeProps)((0,m.guardReactiveProps)(t)))]),_:3},8,["items"])]),e.hasMore?((0,m.openBlock)(),(0,m.createBlock)(d,{key:0,"syno-id":`${e.synoId}-more-button`,display:"icon",type:"styleless",class:"v-app-bar-icon-button","menu-align":"tr->br"},{dropdown:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"more-dropdown")]),default:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{name:"app-bar-more",class:"v-app-bar__more"})]),_:3},8,["syno-id"])):(0,m.createCommentVNode)("",!0),!e.isMobile&&e.hasLaunch?((0,m.openBlock)(),(0,m.createBlock)(d,{key:1,"syno-id":`${e.synoId}-launch-button`,display:"icon",type:"styleless",class:"v-app-bar-icon-button","menu-align":"tr->br"},{dropdown:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"launch-dropdown",{},()=>[e.serviceItems.concat(e.serviceItemsNotBuy).length>0?((0,m.openBlock)(),(0,m.createBlock)(f,{key:0,class:"v-app-bar-launch-menu",width:270,"syno-id":`${e.synoId}-launch-menu`},{"bottom-actions":(0,m.withCtx)(()=>[(0,m.createElementVNode)("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)})},(0,m.toDisplayString)(e._i18n("common","more_products")),1)]),default:(0,m.withCtx)(()=>[((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(e.serviceItems,(t,n)=>((0,m.openBlock)(),(0,m.createBlock)(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-${n}`,onClick:n=>e.onClickServiceItem(t)},{default:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{class:"v-app-bar-launch-menu-item__icon",style:(0,m.normalizeStyle)(e.getServiceIconStyle(t)),sprite:""},null,8,["style"]),(0,m.createElementVNode)("span",I,(0,m.toDisplayString)(t.title),1)]),_:2},1032,["id","syno-id","onClick"]))),128)),(0,m.createVNode)(h,{title:e._i18n("common","explore"),class:"v-app-bar-launch-menu-item-group","syno-id":`${e.synoId}-launch-menu-group`},{default:(0,m.withCtx)(()=>[((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(e.serviceItemsNotBuy,(t,n)=>((0,m.openBlock)(),(0,m.createBlock)(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-${n}`,onClick:n=>e.onClickServiceItem(t)},{default:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{class:"v-app-bar-launch-menu-item__icon",style:(0,m.normalizeStyle)(e.getServiceIconStyle(t)),sprite:""},null,8,["style"]),(0,m.createElementVNode)("span",D,(0,m.toDisplayString)(t.title),1)]),_:2},1032,["id","syno-id","onClick"]))),128))]),_:1},8,["title","syno-id"]),(0,m.createVNode)(p)]),_:1},8,["syno-id"])):(0,m.createCommentVNode)("",!0)])]),default:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{name:"v-app-bar__launch",sprite:""})]),_:3},8,["syno-id"])):(0,m.createCommentVNode)("",!0),e.hasAvatar?((0,m.openBlock)(),(0,m.createBlock)(y,{key:2,"syno-id":`${e.synoId}-avatar`,username:e.username,size:"small"},{dropdown:(0,m.withCtx)(()=>[(0,m.createVNode)(g,{username:e.username,email:e.email,onClickManageProfile:t[1]||(t[1]=t=>e.$emit("click-manage-profile"))},(0,m.createSlots)({_:2},[(0,m.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,m.withCtx)(t=>[(0,m.renderSlot)(e.$slots,n,(0,m.normalizeProps)((0,m.guardReactiveProps)(t)))])}))]),1032,["username","email"])]),_:3},8,["syno-id","username"])):(0,m.createCommentVNode)("",!0),e.hasSignin?((0,m.openBlock)(),(0,m.createBlock)(d,{key:3,"syno-id":`${e.synoId}-signin-button`,suffix:"main",onClick:e.onClickSignin},{default:(0,m.withCtx)(()=>[(0,m.createTextVNode)((0,m.toDisplayString)(e._i18n("common","sign_in")),1)]),_:1},8,["syno-id","onClick"])):(0,m.createCommentVNode)("",!0)]),_:3})]),_:3})],2)),[[v]])}]])},54406:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(61644),o=n(25217),r=(0,n(11747).Z)((0,o.defineComponent)({name:"NavbarItem",components:{vButton:i.Z},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,n,i,r,s){let a=(0,o.resolveComponent)("v-button"),l=(0,o.resolveDirective)("syno-id");return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)(a,{"syno-id":`${e.synoId}-navbar-button`,class:(0,o.normalizeClass)(["v-navbar-item",e.btnClass]),type:e.buttonType,display:"text"},{dropdown:(0,o.withCtx)(()=>[(0,o.renderSlot)(e.$slots,"dropdown")]),default:(0,o.withCtx)(()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.name)+" ",1)]),_:3},8,["syno-id","class","type"])),[[l]])}]])},69143:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});var i=n(774),o=n(54406);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},22901:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(69092),o=n(88698),r=n(78456),s=n(37153),a=n(41431),l=n(21812),c=n(61644),d=n(83871),u=n(36659),h=n(60853),p=n(25217),f=n(11747);(0,s.z)("app-window-header-hamburger",l.VP);var m=(0,f.Z)((0,p.defineComponent)({name:"AppWindowHeader",components:{vWindowHeaderToolWrapper:r.Z,vButton:c.Z,vIcon:d.Z,vMenu:u.Z,vMenuItem:h.Z},extends:o.Z,mixins:[s.Z],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=a.Z._S?.("user")},methods:{onContextMenu(e){this.isStandalone||(0,i.Qy)(this,"taskbar-menu",e)},isLogoutVisible(){return a.Z._S?.("rewrite_mode")&&this.showHelp},isBannerVisible(){return!this.isStandalone||"true"!==a.Z._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(){(0,i.Qy)(this,"click-hamburger-icon")}}}),[["render",function(e,t,n,i,o,r){let s=(0,p.resolveComponent)("v-icon"),a=(0,p.resolveComponent)("v-menu-item"),l=(0,p.resolveComponent)("v-menu"),c=(0,p.resolveComponent)("v-button"),d=(0,p.resolveComponent)("v-window-header-tool-wrapper"),u=(0,p.resolveDirective)("tooltip");return e.isBannerVisible()?((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:0,class:(0,p.normalizeClass)(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?((0,p.openBlock)(),(0,p.createBlock)(s,{key:0,name:"app-window-header-hamburger","svg-icon-set":"set13",onClick:e.onClickHamburgerIcon},null,8,["onClick"])):(0,p.createCommentVNode)("",!0),e.showAppIcon?((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:1,class:"app-icon",style:(0,p.normalizeStyle)(e.iconStyle)},null,4)):(0,p.createCommentVNode)("",!0),(0,p.createElementVNode)("div",{class:(0,p.normalizeClass)(e.prefixCls+"-text")},[(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("div",{class:(0,p.normalizeClass)(e.prefixCls+"-title")},[(0,p.createTextVNode)((0,p.toDisplayString)(e.title),1)],2)),[[u,e.titleTooltip]]),(0,p.renderSlot)(e.$slots,"sub-title")],2),e.isStandalone?((0,p.openBlock)(),(0,p.createBlock)(c,{key:2,type:"dropdown","menu-align":"tr->br",class:"user-menu-btn","syno-id":`${e.synoId}-user-menu-btn`},{dropdown:(0,p.withCtx)(()=>[e.isLogoutVisible()||e.showHelp?((0,p.openBlock)(),(0,p.createBlock)(l,{key:0,width:"auto","syno-id":`${e.synoId}-user-menu`},{default:(0,p.withCtx)(()=>[e.isLogoutVisible()?((0,p.openBlock)(),(0,p.createBlock)(a,{key:0,title:e.$i18n("common","logout"),"syno-id":`${e.synoId}-user-menu-logout`,onClick:e.onLogout},null,8,["title","syno-id","onClick"])):(0,p.createCommentVNode)("",!0),e.showHelp?((0,p.openBlock)(),(0,p.createBlock)(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"])):(0,p.createCommentVNode)("",!0)]),_:1},8,["syno-id"])):(0,p.createCommentVNode)("",!0)]),default:(0,p.withCtx)(()=>[(0,p.createTextVNode)((0,p.toDisplayString)(e.user)+" ",1)]),_:1},8,["syno-id"])):(0,p.createCommentVNode)("",!0),(0,p.createVNode)(d,{"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)):(0,p.createCommentVNode)("",!0)}]])},81482:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var i=n(88358),o=n(69092),r=n(43866),s=n(59922),a=n(66649),l=n(88552),c=n(22901),d=n(80036),u=n(29151),h=n(81460),p=n(30272),f=n(41431),m=n(55082),g=n(61036),y=n(41253),v=n(25217),b=n(11747),w=n(30319);let C=(0,v.defineComponent)({name:w.jK,components:{vAppWindowHeader:c.Z,vLayout:h.Z,vTrapFocus:g.Z,vResizable:a.Z,vDraggable:l.Z,vSpin:y.Z},extends:r.Z,mixins:[(0,p.f)("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)},[i.mT.beforeUnmount](){this.taskButton?.destroy?.(),this.taskButton=null,this.manager&&this.containerMasked&&this.doUnmaskContainer()},methods:{onTaskbarMenu(e){this.taskButton?.showMenuPortal?.(e.pageX,e.pageY,!1)},onClickHamburgerIcon(){(0,o.Qy)(this,"click-hamburger-icon")},getInstance(){return this.instance},getJsID(){let e=this.getInstance();if(e)return e.jsConfig.jsID},applySizeAndPos(e,t){let n=!this.isStandalone&&this.getInstance()&&(!0===e.autoStart||!0!==e.fromRestore&&!1!==e.autoRestoreSizePos&&!1!==t.autoRestoreSizePos);t?.alwaysCenter?this.manager.centerWindow(this,{withOffset:!0}):n&&this.applyRestoreSizePos(),!1!==e?.autoCenter?this.centerItIfOutOfBound():this.constrainXYInBound()},init(e,t,n){var i;this.initialized||(this.unregisterManager=this.registerManager(n),this.isStandaloneMainWindow=(i=this.getInstance(),!!f.Z._S&&f.Z._S("standalone")&&i&&i.isMainApp),this.isStandalone=f.Z._S?.("standalone"),this.isMobile=f.Z._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=m.fm()?.SDS?.UIString?.GetLocalizedString?.(e?.title??t?.title,this.getJsID())??e?.title??t?.title,this.hidden=!1,this.initialized=!0,r.Z.methods.init.apply(this,[n,this.getInstance()]),this.isComponentType||this.applySizeAndPos(e,t),this.maskContainer&&this.doMaskContainer((0,d.isObject)(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(){var e;let t={top:this.top,left:this.left,bottom:this.top+this.currentHeight,right:this.left+this.currentWidth};this.manager&&(e=this.constrainRect,t.left<e.left||t.right>e.right||t.top<e.top||t.bottom>e.bottom)&&this.manager.centerWindow(this)},initTaskButton(){let e=this.getInstance()?.getJsConfig();!0!==e?.hideTaskBtn&&!f.Z._S?.("standalone")&&this.toggleMinimizable&&this.hasTaskButton&&(this.taskButton=this.getInstance()?.taskButton,this.taskButton&&(this.taskButton.init(this),this.taskButton.setState("deactive")))},setParams(e,t,n){this.autoRestoreSizePos=(0,d.isDefined)(e.autoRestoreSizePos)?e.autoRestoreSizePos:this.autoRestoreSizePos,this.initialized||this.init(e,t,n)},applyFavIcon(){for(let e of["FavHeaderV7_small","FavHeaderV7_medium","FavHeaderV7_large"]){let t=this.getIcon(e),n=SYNO.SDS.UIFeatures.IconSizeManager.getRes(e);SYNO.SDS.Utils.addFavIconLink(t,"image/png",`${n}x${n}`)}},applyStandaloneSettings(){this.applyFavIcon(),this.onMaximize()},applyMobileSettings(){this.onMaximize()},getIcon(e){let t=this.jsConfig?.icon||this.jsConfig?.icon_16;if(!t||!SYNO.SDS.UIFeatures.IconSizeManager)return;let n=this.jsConfig.jsBaseURL+"/"+t;e||(e=this.isStandalone?"StandaloneHeader":"Header");let i=SYNO.SDS.UIFeatures.IconSizeManager.getIconPath(n,e);return this.jsConfig.version&&(i=`${i}&app_version=${this.jsConfig.version}`),i},async onClose(){let{forceClose:e=!1,payload:t={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!this.isStandalone&&!1!==await r.Z.methods.onClose.apply(this,arguments)&&void 0},async doClose(){let{payload:e={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.getInstance();await r.Z.methods.doClose.apply(this,arguments),t&&t.removeItem(this)},updateTaskButton(e){this.taskButton&&this.taskButton.updateActionState(e)},getSizeAndPosition(){let e={};if(this.maximized){let{width:t,height:n,top:i,left:o}=this.getStoreSizeAndPos();e={width:t,height:n,top:i,left:o}}else e={left:this.left,top:this.top,width:this.currentWidth,height:this.currentHeight};return e},storeSizeAndPos(){let 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(0,d.isDefined)(this.minWidth)&&(0,d.isDefined)(e.width)&&e.width<+this.minWidth&&(e.width=+this.minWidth),(0,d.isDefined)(this.minHeight)&&(0,d.isDefined)(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():!(0,d.isDefined)(e.maximized)&&this.defaultMaximized||(0,d.isDefined)(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(){let e=this.getStoreSizeAndPos();if(this.isFit&&e){let{width:t,height:n,top:i,left:o}=e;(0,d.isDefined)(t)&&(0,d.isDefined)(n)?(this.currentWidth=t,this.currentHeight=n):(this.currentWidth=this.width,this.currentHeight=this.height),(0,d.isDefined)(i)||(0,d.isDefined)(o)?(this.top=i,this.left=o):this.manager?.centerWindow(this)}this.isFit=!1},onDragEnd(){r.Z.methods.onDragEnd.apply(this,arguments),this.moveDirty=!0,this.saveRestoreData()},onResizeEnd(){r.Z.methods.onResizeEnd.apply(this,arguments),this.resizeDirty=!0,this.saveRestoreData()},onMaximize(){if(!1===r.Z.methods.onMaximize.apply(this,arguments))return!1;this.updateTaskButton("maximize")},onMinimize(){f.Z._S("standalone")||this.minimizable&&(r.Z.methods.onMinimize.apply(this,arguments),this.updateTaskButton("minimize"))},onRestore(){r.Z.methods.onRestore.apply(this,arguments),this.updateTaskButton("restore")},doMaximize(){r.Z.methods.doMaximize.apply(this,arguments),this.saveRestoreData()},doMinimize(){r.Z.methods.doMinimize.apply(this,arguments),this.saveRestoreData()},doRestore(){r.Z.methods.doRestore.apply(this,arguments),this.saveRestoreData()},getHelpParams(){let e=this.getJsID(),t=this.helpParams;return(0,d.isString)(t)&&t&&(e+=":"+t),e},_onHelp(){if(this.onHelp)return this.onHelp();let e=this.getHelpParams();f.Z._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]:{},t=this.getIcon("About"),n=m.fm()?.SDS?.Packages.getPkgId(this.jsConfig.jsID),i=this.openWindow(s.Z,{title:this.currentTitle,icon:t,version:this.jsConfig.version,copyrightYear:function(e){let t=f.Z._S?.("builddate");return e.buildTime?e.buildTime.split("-")[0]:t?t.split("/")[0]:0}(this.jsConfig),fetchVersion:()=>Promise.all([(0,m.rl)({api:"SYNO.Core.Package.Server",method:"list",version:2,params:{filter_ids:[n]}}),(0,m.rl)({api:"SYNO.Core.Package.Info",method:"get",version:1})]).then(e=>{let[{packages:t,beta_packages:n},{config:i}]=e;return{newVersion:t?.[0]?.version,betaVersion:i.blBetaChannel?n?.[0]?.version:null}}).catch(e=>((0,u.N6)(e),{newVersion:null,betaVersion:null})),synoId:`${this.jsConfig.jsID}-about-winodw-v2`,...e}).window;this.pushModalWindow(i)}}}),S=["aria-label"],k={class:"focus-last-alert",tabindex:"0",role:"alert"};var x=(0,b.Z)(C,[["render",function(e,t,n,i,o,r){let s=(0,v.resolveComponent)("v-app-window-header"),a=(0,v.resolveComponent)("v-trap-focus"),l=(0,v.resolveComponent)("v-resizable"),c=(0,v.resolveComponent)("v-draggable"),d=(0,v.resolveComponent)("v-spin"),u=(0,v.resolveComponent)("v-layout"),h=(0,v.resolveDirective)("syno-id");return(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createBlock)(u,{ref:"_window",class:(0,v.normalizeClass)(e.windowCls),style:(0,v.normalizeStyle)(e.windowStyle),type:`window.${e.layoutType}`,order:e.layoutOrder,onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:(0,v.withKeys)(e.onEsc,["esc","native"])},{default:(0,v.withCtx)(()=>[(0,v.createVNode)(s,(0,v.mergeProps)({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"]),(0,v.createVNode)(a,{ref:"trapFocus",class:(0,v.normalizeClass)(e.prefixCls+"-body")},{"alert-last":(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",k,(0,v.toDisplayString)(e._i18n("desktop","window_last_hint")),1)]),default:(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"application","aria-label":e.currentTitle},null,8,S),(0,v.renderSlot)(e.$slots,"default")]),_:3},8,["class"]),e.resizable?((0,v.openBlock)(),(0,v.createBlock)(l,{key:0,"window-property":e.windowProperty,onResizeEnd:e.onResizeEnd},null,8,["window-property","onResizeEnd"])):(0,v.createCommentVNode)("",!0),e.innerDraggable&&!e.isComponentType?((0,v.openBlock)(),(0,v.createBlock)(c,{key:1,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):(0,v.createCommentVNode)("",!0),e.isMasking?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:2,class:(0,v.normalizeClass)(e.maskCls),onMousedown:t[0]||(t[0]=(0,v.withModifiers)(function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)},["stop"]))},[(0,v.createVNode)(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)):(0,v.createCommentVNode)("",!0),(0,v.renderSlot)(e.$slots,"wrapper-mask")]),_:3},8,["class","style","type","order","onKeydown"])),[[v.vShow,e.showWindow],[h]])}]])},41453:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(88698),o=n(81482),r=n(8378),s=n(60674),a=n(78671),l=n(30272),c=n(61036),d=n(88552),u=n(81460),h=n(41253),p=n(25217),f=n(11747),m=n(30319);let g=(0,p.defineComponent)({name:"AppWizardWindow",components:{vWindowHeader:i.Z,vLayout:u.Z,vTrapFocus:c.Z,vDraggable:d.Z,vSpin:h.Z},extends:o.Z,mixins:[(0,l.J)("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":r.G6,"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]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getWindowEl();t=(0,a.Z)({text:e},t),(0,s.e)(this.$.appContext.app,this.$el,t,(0,a.Z)({constrainMode:!1,absoluteMode:!0,anchorEl:i,containerEl:i,offset:m.pQ,align:"t->t"},n))},tryConstrainHeight(){let{isFullsize:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!0},clearStatusBusy(){this.clearStatus()}}}),y=["id"],v=["aria-label"],b={class:"focus-last-alert",tabindex:"0",role:"alert"};var w=(0,f.Z)(g,[["render",function(e,t,n,i,o,r){let s=(0,p.resolveComponent)("v-window-header"),a=(0,p.resolveComponent)("v-trap-focus"),l=(0,p.resolveComponent)("v-draggable"),c=(0,p.resolveComponent)("v-spin"),d=(0,p.resolveComponent)("v-layout"),u=(0,p.resolveDirective)("syno-id");return(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createBlock)(d,{ref:"_window",type:`window.${e.layoutType}`,class:(0,p.normalizeClass)(e.windowCls),style:(0,p.normalizeStyle)(e.windowStyle),order:e.layoutOrder,onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:(0,p.withKeys)(e.onEsc,["esc","native"])},{default:(0,p.withCtx)(()=>[(0,p.createVNode)(s,(0,p.mergeProps)({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":(0,p.withCtx)(()=>[e.inFitBreakpoint?(0,p.createCommentVNode)("",!0):((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:0,id:`${e.id}-subtitle`,class:"sub-wrapper",style:(0,p.normalizeStyle)(e.subTitleStyle)},(0,p.toDisplayString)(e.innerSubTitle),13,y))]),_:1},16,["show-help","onHelp","onClose","onTaskbarMenu"]),e.inFitBreakpoint?((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:0,class:"headline-transform",style:(0,p.normalizeStyle)(e.subTitleStyle)},[(0,p.createElementVNode)("div",{class:"headline-text",style:(0,p.normalizeStyle)(e.headlineStyle)},(0,p.toDisplayString)(e.innerSubTitle),5)],4)):(0,p.createCommentVNode)("",!0),(0,p.createVNode)(a,{ref:"trapFocus",class:(0,p.normalizeClass)(e.prefixCls+"-body")},{"alert-last":(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",b,(0,p.toDisplayString)(e._i18n("desktop","window_last_hint")),1)]),default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"application","aria-label":e.currentTitle},null,8,v),(0,p.renderSlot)(e.$slots,"default")]),_:3},8,["class"]),e.innerDraggable?((0,p.openBlock)(),(0,p.createBlock)(l,{key:1,"prefix-cls":"v-wizard-window","window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):(0,p.createCommentVNode)("",!0),e.isMasking?((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:2,class:(0,p.normalizeClass)(e.maskCls),onMousedown:t[0]||(t[0]=(0,p.withModifiers)(function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)},["stop"]))},[(0,p.createVNode)(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)):(0,p.createCommentVNode)("",!0)]),_:3},8,["type","class","style","order","onKeydown"])),[[p.vShow,e.showWindow],[u]])}]])},67451:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var i=n(88358),o=n(69092),r=n(82442),s=n(48198),a=n(80036),l=n(30272),c=n(55082),d=n(25217);let u="app_instance_inject";var h=(0,d.defineComponent)({name:"AppInstance",mixins:[(0,l.J)("app-instance")],inject:{[u]:{default:a.noop}},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:a.noop}),created(){this.id=(0,s.s)(this),this[u]&&(this[u].app=this)},mounted(){this.register()},[i.mT.beforeUnmount](){!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,n){if(!1!==this.shouldLaunch?.()){if(!this.initialized){if(_S&&_S("standalone")){let e=_S("standaloneAppName");this.jsConfig.jsID===e||this.jsConfig.jsID===c.fm()?.SDS?.Config?.FnMap?.[e]?.config?.launchApp?this.isMainApp=!0:this.isMainApp=!1}this.addWindowItem(e,t,n),this.addTrayItem(e),this.addAppItem(e),this.initialized=!0}}else this.onDestroy?.()},shouldNotifyMsg(){return this.notifyMsg},addWindowItem(e,t,n){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,n))},addTrayItem(e){let t=(0,c.mV)();if(!this.trayItem&&this.appTrayItemName&&t){let n=t.getClassByName(this.appTrayItemName);this.trayItem=new n(t.apply({appInstance:this})),this.addItem(this.trayItem),this.trayItem.open(e)}},addAppItem(e){let t=(0,c.mV)();if(!this.appItem&&this.appItemName&&t){let n=t.getClassByName(this.appItemName);this.appItem=new n(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||[];let 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},async open(e){for(let t of(this.initialized||(((0,a.isFunction)(this.canOpen)?await this.canOpen():this.canOpen)||this.onDestroy?.(),this.setParams(e)),this.items||[]))t.open?.()},setOpenParam(e){(0,o.Qy)(this,"openparamchanged",this,e)}},render(){return r.FJ(this).default?.()}})},7873:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var i=n(88358),o=n(69092),r=n(81482),s=n(43866),a=n(81460),l=n(84849),c=n(30272),d=n(16447),u=n(82442),h=n(80036),p=n(22901),f=n(61036),m=n(41253),g=n(66649),y=n(88552),v=n(25217),b=n(11747);let w=(0,v.defineComponent)({name:"PageListAppWindow",components:{vModuleList:l.Z,vLayout:a.Z,withTransition:(0,d.Q)("transition"),vAppWindowHeader:p.Z,vTrapFocus:f.Z,vSpin:m.Z,vResizable:g.Z,vDraggable:y.Z},extends:r.Z,mixins:[(0,c.J)("page-list-app-window")],props:{mobileBreakpoint:{type:[String,Boolean,Object],default:()=>({fit:"sm",center:!1})},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?(0,u._Y)(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(0,h.isBoolean)(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(){(0,o.Zn)(this,"module.changed",e=>{this.currentModule=e})},[i.mT.beforeUnmount](){(0,o.M5)(this,"module.changed")},methods:{onModuleListValueChanged(e,t){this.selectedVal=e,(0,o.Qy)(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 s.Z.methods.onClose.apply(this,arguments)&&void 0},async onBeforeSelectModule(e,t){return!this.currentModule||!1!==await this.currentModule.canLeave()||this.showConfirmLostChangedDialog()},async showConfirmLostChangedDialog(){let 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(0,h.isDefined)(this.currentModule?.helpParams)&&(t=(0,h.isFunction)(this.currentModule?.helpParams)?this.currentModule.helpParams?.():this.currentModule.helpParams),(0,h.isDefined)(this.currentModule?.helpTopic)&&(e=(0,h.isFunction)(this.currentModule?.helpTopic)?this.currentModule.helpTopic?.():this.currentModule.helpTopic),e||(e=this.getJsID()),(0,h.isString)(t)&&t&&(e+=":"+t),e},setStatusBusy(e,t){t=t||this._i18n("common","loading"),this.setStatus(e,t)},focusModules(){this.$refs["module-list"]?.focus()}}}),C=["aria-label"],S={class:"page-list-app-top-bar"},k={class:"page-list-app-main"},x={key:0,class:"container"},B={class:"focus-last-alert",tabindex:"0",role:"alert"};var T=(0,b.Z)(w,[["render",function(e,t,n,i,o,r){let s=(0,v.resolveComponent)("v-app-window-header"),a=(0,v.resolveComponent)("v-module-list"),l=(0,v.resolveComponent)("v-layout"),c=(0,v.resolveComponent)("with-transition"),d=(0,v.resolveComponent)("v-spin"),u=(0,v.resolveComponent)("v-trap-focus"),h=(0,v.resolveComponent)("v-resizable"),p=(0,v.resolveComponent)("v-draggable"),f=(0,v.resolveDirective)("syno-id");return(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createBlock)(l,{ref:"_window",class:(0,v.normalizeClass)(e.windowCls),style:(0,v.normalizeStyle)(e.windowStyle),type:`window.${e.layoutType}`,onMousedown:t[2]||(t[2]=t=>e.toFront()),onKeydown:(0,v.withKeys)(e.onEsc,["esc","native"])},{default:(0,v.withCtx)(()=>[(0,v.createVNode)(s,(0,v.mergeProps)({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"]),(0,v.createVNode)(u,{ref:"trapFocus",class:(0,v.normalizeClass)(e.prefixCls+"-body"),"body-class":["page-list-app-window-trap-body"]},{"alert-last":(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",B,(0,v.toDisplayString)(e._i18n("desktop","window_last_hint")),1)]),default:(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"application","aria-label":e.currentTitle},null,8,C),(0,v.createElementVNode)("div",S,[(0,v.renderSlot)(e.$slots,"top-bar")]),(0,v.createElementVNode)("div",k,[(0,v.createVNode)(c,{wrap:e.inFitBreakpoint,name:"slide"},{default:(0,v.withCtx)(()=>[(0,v.withDirectives)((0,v.createVNode)(l,{class:"module-list-layout",type:`module-list.${e.innerModuleListLayoutType}`},{default:(0,v.withCtx)(()=>[(0,v.renderSlot)(e.$slots,"module-list-toolbar-wrapper"),(0,v.createVNode)(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:(0,v.withCtx)(()=>[(0,v.renderSlot)(e.$slots,"module-options")]),_:3},8,["value","model-value","before-select","aria-label","onInput","onUpdate:modelValue"])]),_:3},8,["type"]),[[v.vShow,e.hasModules]])]),_:3},8,["wrap"]),(0,v.createVNode)(v.Transition,{name:"fade"},{default:(0,v.withCtx)(()=>[e.hasModules?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:0,class:"module-list-mask",onClick:t[0]||(t[0]=function(){return e.onClickModuleListMask&&e.onClickModuleListMask(...arguments)})})):(0,v.createCommentVNode)("",!0)]),_:1}),((0,v.openBlock)(),(0,v.createElementBlock)("div",x,[(0,v.renderSlot)(e.$slots,"default"),e.isMasking?((0,v.openBlock)(),(0,v.createBlock)(d,{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"])):(0,v.createCommentVNode)("",!0)]))])]),_:3},8,["class"]),e.resizable?((0,v.openBlock)(),(0,v.createBlock)(h,{key:0,"window-property":e.windowProperty,onResizeEnd:e.onResizeEnd},null,8,["window-property","onResizeEnd"])):(0,v.createCommentVNode)("",!0),e.innerDraggable&&!e.isComponentType?((0,v.openBlock)(),(0,v.createBlock)(p,{key:1,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):(0,v.createCommentVNode)("",!0),e.isMasking?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:2,class:(0,v.normalizeClass)(e.maskCls),onMousedown:t[1]||(t[1]=(0,v.withModifiers)(function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)},["stop"]))},null,34)):(0,v.createCommentVNode)("",!0),(0,v.renderSlot)(e.$slots,"wrapper-mask")]),_:3},8,["class","style","type","onKeydown"])),[[v.vShow,e.showWindow],[f]])}]])},16625:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(88358),o=n(92128),r=n(69092),s=n(30272),a=n(80036),l=n(25217),c=(0,n(11747).Z)((0,l.defineComponent)({name:"PageListModule",mixins:[(0,s.f)("page-list-app-window")],props:{[o.yz.value()]:{type:String,default:void 0,required:!0},canLeave:{type:Function,default:a.noop},customLeaveLostChangeDialog:{type:Function,default:void 0},confirmSave:{type:Function,default:a.noop},confirmDontSave:{type:Function,default:a.noop},confirmCancel:{type:Function,default:a.noop},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=(0,r.Zn)(this.appWindow,"selected-module",this.onCurrentModuleChanged),this.onCurrentModuleChanged(this.appWindow.selectedVal))},[i.mT.beforeUnmount](){this.disposedFn?.(),delete this.appWindow},methods:{onCurrentModuleChanged(e,t){let n=(0,o.eQ)(this)===e;this.activated!==n?(this.activated=n,this.activated?((0,r.Qy)(this.appWindow,"module.changed",this),(0,r.Qy)(this,"activated",t)):(0,r.Qy)(this,"deactivated",t)):this.activated&&(0,r.Qy)(this,"module-focus",t)}}}),[["render",function(e,t,n,i,o,r){return e.activated?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(e.innerCls)},[(0,l.renderSlot)(e.$slots,"default")],2)):(0,l.createCommentVNode)("",!0)}]])},23713:function(e,t,n){"use strict";n.d(t,{_:function(){return d}});var i=n(53300),o=n(67451),r=n(81482),s=n(22901),a=n(7873),l=n(16625),c=n(41453);let d=(0,i.e)({components:[o.Z,r.Z,a.Z,l.Z,c.Z,s.Z]})},71058:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var i=n(61644),o=n(37153),r=n(83871),s=n(25217),a=n(11747);let l=["#CF272D","#FFFFFF","#CF5600","#FFFFFF","#D1970F","#A67003","#18AD90","#FFFFFF","#FFFFFF","#0890C2","#FFFFFF","#FFFFFF","#FFFFFF","#FFFFFF","#252AB8","#FFFFFF","#0067E6","#FFFFFF"],c=["#FFC3BD","#FF968F","#FFC987","#FFAB52","#FFEE99","#FFD447","#A5FADE","#26D4AC","#18AD90","#65DFF7","#8CCBFF","#2789F2","#003B99","#00304D","#A5B5FA","#252AB8","#91F0FF","#4E65E6"],d=(0,s.defineComponent)({name:"Avatar",components:{vButton:i.Z,vIcon:r.Z},mixins:[o.Z],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){let 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":c[this.username.length%c.length],"--front-color":l[this.username.length%l.length]}}}}),u={key:0,class:"rounded-icon"};var h=(0,a.Z)(d,[["render",function(e,t,n,i,o,r){let a=(0,s.resolveComponent)("v-icon"),l=(0,s.resolveComponent)("v-button"),c=(0,s.resolveDirective)("syno-id");return(0,s.withDirectives)(((0,s.openBlock)(),(0,s.createBlock)(l,{"syno-id":`${e.synoId}-button`,class:(0,s.normalizeClass)(["v-avatar",e.avatarCls]),display:"text",type:"styleless",style:(0,s.normalizeStyle)(e.avatarStyle),"menu-align":"tr->br",disabled:e.disabled},{dropdown:(0,s.withCtx)(()=>[(0,s.renderSlot)(e.$slots,"dropdown")]),default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.initialName)+" ",1),e.showAccountSwitcher?((0,s.openBlock)(),(0,s.createElementBlock)("div",u,[(0,s.createVNode)(a,{name:"avatar-user",sprite:""})])):(0,s.createCommentVNode)("",!0)]),_:3},8,["syno-id","style","class","disabled"])),[[c]])}]])},42289:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var i=n(71058);let o=(0,n(53300).e)({components:[i.Z]})},58344:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(88358),o=n(69092),r=n(61644),s=n(36659),a=n(60853),l=n(5290),c=n(74547),d=n(21812),u=n(37153),h=n(83871),p=n(39192),f=n(80036),m=n(25217),g=n(11747);(0,u.z)("breadcrumb-slash",d.z),(0,u.z)("action-dropdown",d.Zt);let y=(0,m.defineComponent)({name:"Breadcrumb",components:{vButton:r.Z,vMenu:s.Z,vMenuItem:a.Z,vMenuDivider:l.Z,vIcon:h.Z},directives:{tooltip:c.Z,iconify:u.Z},props:{items:{type:Array,required:!0,default:()=>[]},actionMenuItems:{type:[Array,Boolean],default:!1}},emits:["click-item"],data:()=>({displayItems:[]}),computed:{hasActionMenu(){return!0===this.actionMenuItems||(0,f.isArray)(this.actionMenuItems)&&this.actionMenuItems.length>0},innerActionMenuItems(){return(0,f.isBoolean)(this.actionMenuItems)?[]:this.actionMenuItems}},watch:{actionMenuItems(){this.genFeasibleDisplayItems()},items(){this.genFeasibleDisplayItems()}},mounted(){this.genFeasibleDisplayItems(),(0,p.k)(this.$el,this.genFeasibleDisplayItems,this)},[i.mT.beforeUnmount](){(0,p.S)(this.$el,this.genFeasibleDisplayItems)},methods:{async isWidthFit(){return await this.$nextTick(),(this.$refs.measure?.getBoundingClientRect()?.width??0)>0},async genFeasibleDisplayItems(){let e=e=>({...e,type:"normal"}),t=e=>({display:"/",type:"divider",id:`v-breadcrumb-divider-${e}`}),n=e=>({...e,type:"action",items:this.innerActionMenuItems}),i=e=>({display:"...",type:"compressed",id:"v-breadcrumb-compressed",items:e}),o=[],r=[],s=[];for(let t=0;t<this.items.length;t++){let i=this.items[t];t===this.items.length-1&&this.hasActionMenu?o.push(n(i)):0===t||t===this.items.length-1?o.push(e(i)):s.push(e(i))}for(;;){let e=[];for(let n of(o[0]&&e.push(o[0]),r.length>0&&(e.push(t(e.length)),e.push(i(r))),s))e.push(t(e.length)),e.push(n);if(o[1]&&(e.push(t(e.length)),e.push(o[1])),this.displayItems=e,await this.isWidthFit())break;if(s.length>0)r.push(s.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){let{type:t,ellipsis:n}=e,i=["item"];switch(n&&i.push("ellipsis"),t){case"normal":i.push("normal");break;case"action":i.push("action");break;case"compressed":i.push("compressed");break;case"divider":i.push("divider")}return i},getItemTooltip:e=>"divider"!==e.type&&"compressed"!==e.type&&{content:e.display},onClickItem(e){"compressed"!==e.type&&"action"!==e.type&&(0,o.Qy)(this,"click-item",e)}}}),v={class:"v-breadcrumb"},b={ref:"measure",class:"v-breadcrumb-spacer"};var w=(0,g.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-icon"),a=(0,m.resolveComponent)("v-menu-item"),l=(0,m.resolveComponent)("v-menu"),c=(0,m.resolveComponent)("v-button"),d=(0,m.resolveComponent)("v-menu-divider"),u=(0,m.resolveDirective)("tooltip"),h=(0,m.resolveDirective)("syno-id");return(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("div",v,[((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(e.displayItems,(t,n)=>((0,m.openBlock)(),(0,m.createElementBlock)(m.Fragment,{key:n},["divider"===t.type?((0,m.openBlock)(),(0,m.createBlock)(s,{key:`slash-${n}`,name:"breadcrumb-slash",class:(0,m.normalizeClass)(e.getItemClass(t))},null,8,["class"])):"compressed"===t.type?(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createBlock)(c,{key:`compressed-button-${n}`,"syno-id":`${e.synoId}-compressed-button-${n}`,type:"styleless",class:(0,m.normalizeClass)(e.getItemClass(t)),onClick:n=>e.onClickItem(t)},{dropdown:(0,m.withCtx)(()=>[(0,m.createVNode)(l,{width:200,"syno-id":`${e.synoId}-compressed-menu`},{default:(0,m.withCtx)(()=>[((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(t.items,t=>((0,m.openBlock)(),(0,m.createBlock)(a,{key:`compressed-${t.id}`,"syno-id":`${e.synoId}-compressed-menu-menuItem-${t.id}`,tooltip:t.display,title:t.display,onClick:n=>e.onClickItem(t)},null,8,["syno-id","tooltip","title","onClick"]))),128))]),_:2},1032,["syno-id"])]),default:(0,m.withCtx)(()=>[(0,m.createElementVNode)("span",null,(0,m.toDisplayString)(t.display),1)]),_:2},1032,["syno-id","class","onClick"])),[[u,e.getItemTooltip(t)]]):"action"===t.type?(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createBlock)(c,{key:`action-button-${n}`,"syno-id":`${e.synoId}-action-button-${n}`,type:"styleless",class:(0,m.normalizeClass)(e.getItemClass(t)),onClick:n=>e.onClickItem(t)},{dropdown:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"action-menu-dropdown",{items:t.items},()=>[(0,m.createVNode)(l,{width:200,"syno-id":`${e.synoId}-action-menu`},{default:(0,m.withCtx)(()=>[((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(t.items,(t,n)=>((0,m.openBlock)(),(0,m.createElementBlock)(m.Fragment,{key:n},["-"===t?((0,m.openBlock)(),(0,m.createBlock)(d,{key:`action-divider-${n}`,"syno-id":`${e.synoId}-action-menu-divider-${n}`},null,8,["syno-id"])):((0,m.openBlock)(),(0,m.createBlock)(a,{key:`action-${t.id}`,"syno-id":`${e.synoId}-action-menu-menuItem-${t.id}`,title:t.display,tooltip:t.display,onClick:n=>e.onClickItem(t)},null,8,["syno-id","title","tooltip","onClick"]))],64))),128))]),_:2},1032,["syno-id"])])]),default:(0,m.withCtx)(()=>[(0,m.createElementVNode)("span",null,(0,m.toDisplayString)(t.display),1),(0,m.createVNode)(s,{name:"action-dropdown","svg-icon-set":"set13"})]),_:2},1032,["syno-id","class","onClick"])),[[u,e.getItemTooltip(t)]]):(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createBlock)(c,{key:t.id,"syno-id":`${e.synoId}-remain-button-${n}`,type:"styleless",class:(0,m.normalizeClass)(e.getItemClass(t)),onClick:n=>e.onClickItem(t)},{default:(0,m.withCtx)(()=>[(0,m.createElementVNode)("span",null,(0,m.toDisplayString)(t.display),1)]),_:2},1032,["syno-id","class","onClick"])),[[u,e.getItemTooltip(t)]])],64))),128)),(0,m.createElementVNode)("div",b,null,512)])),[[h]])}]])},99152:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var i=n(58344);let o=(0,n(53300).e)({components:[i.Z]})},33153:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}}),n(50401),n(15773);var i=n(30272),o=n(61644),r=n(59449),s=n(37153),a=n(21812),l=n(48198),c=n(83871),d=n(36659),u=n(60853),h=n(25217),p=n(11747);(0,s.z)("buttons-group-more",a.aG);var f=(0,p.Z)((0,h.defineComponent)({name:"BreakpointButtonsGroup",components:{vButton:o.Z,vSpace:r.Z,vIcon:c.Z,vMenu:d.Z,vMenuItem:u.Z},mixins:[(0,i.J)("breakpoint-buttons-group"),s.Z],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=>(0,l.s)(t)===(0,l.s)(e)),1)},getUid:e=>(0,l.s)(e)}}),[["render",function(e,t,n,i,o,r){let s=(0,h.resolveComponent)("v-icon"),a=(0,h.resolveComponent)("v-menu-item"),l=(0,h.resolveComponent)("v-menu"),c=(0,h.resolveComponent)("v-button"),d=(0,h.resolveComponent)("v-space");return(0,h.openBlock)(),(0,h.createElementBlock)("div",{class:(0,h.normalizeClass)(["breakpoint-buttons-group",e.wrapperCls])},[e.$breakpointManager.mobile?(0,h.renderSlot)(e.$slots,"mobile",{key:0,names:e.names},()=>[(0,h.createVNode)(c,{type:"styleless",class:"breakpoint-buttons-group-more-button","use-breakpoint":!1,"menu-align":e.menuAlign,display:"icon"},{dropdown:(0,h.withCtx)(()=>[(0,h.createVNode)(l,null,{default:(0,h.withCtx)(()=>[((0,h.openBlock)(!0),(0,h.createElementBlock)(h.Fragment,null,(0,h.renderList)(e.buttons,t=>((0,h.openBlock)(),(0,h.createBlock)(a,{key:e.getUid(t),title:t.name,disabled:t.disabled,onClick:t.handleClick},null,8,["title","disabled","onClick"]))),128))]),_:1})]),default:(0,h.withCtx)(()=>[(0,h.createVNode)(s,{name:"buttons-group-more","svg-icon-set":"set13"})]),_:1},8,["menu-align"])]):(0,h.createCommentVNode)("",!0),(0,h.withDirectives)((0,h.createVNode)(d,{"justify-content":"start",spacing:e.spacing},{default:(0,h.withCtx)(()=>[(0,h.renderSlot)(e.$slots,"default")]),_:3},8,["spacing"]),[[h.vShow,!e.$breakpointManager.mobile]])],2)}]])},8658:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(88358),o=n(30272),r=n(9610),s=n(10853),a=n(82442),l=n(29151),c=(0,n(25217).defineComponent)({name:"ButtonDropdown",mixins:[(0,o.f)("button")],emits:["update:is-open"],data:()=>({dropdownItem:null}),async mounted(){(0,l.D8)("button-dropdown is deprecated, please use button with dropdown slot directly instead"),this.button&&(this.button.register(this),await this.$nextTick(),this.getDropdownItem())},[i.mT.beforeUnmount](){this.button&&this.button.unregister(this),this.dropdownItem&&(this.dropdownItem=null)},methods:{getDropdownItem(){let e=(0,r.g)((0,s.G)(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 a.FJ(this)?.default()}})},12170:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"ButtonGroup"}),s={class:"v-btn-group"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){let l=(0,i.resolveDirective)("syno-id");return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",s,[(0,i.renderSlot)(e.$slots,"default")])),[[l]])}]])},89125:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"ButtonSplit"}),s={class:"v-button-split"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s)}]])},61644:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var i=n(78671),o=n(88358),r=n(80036),s=n(82442),a=n(8658),l=n(97006),c=n(74547),d=n(36659),u=n(7912),h=n(62704),p=n(29151),f=n(30272),m=n(8725),g=n(37153),y=n(21812),v=n(69092),b=n(83871),w=n(89986),C=n(62088),S=n(25217),k=n(58954);(0,g.z)("btn-arrow",y.zw);let x={NORMAL:"normal",SMALL:"small"},B=["","footbar","dropdown","styleless-dropdown","styleless","split","border","border-dropdown","border-split","footbar-border","footbar-border-dropdown","welcome","round","round-border"];var T=(0,S.defineComponent)({name:"Button",components:{vIcon:b.Z,vPortal:w.Z},directives:{clickoutside:l.ZP,tooltip:c.Z},mixins:[h.ZP,u.ZP,(0,f.J)("trigger-action",["closeDropdown",{expose:"focusTrigger",internal:"focus"}]),m.Z,(0,f.f)("breakpoint-buttons-group"),g.Z,(0,C.W)("button")],props:{type:{type:(0,k.C)(String),default:"",validator:e=>B.includes(e)},size:{type:(0,k.C)(String),default:x.NORMAL,validator:e=>Object.values(x).includes(e)},display:{type:(0,k.C)(String),default:"text",validator:e=>["text","icon","icon-text"].includes(e)},suffix:{type:(0,k.C)(String),default:"grey"},htmlType:{type:(0,k.C)(String),default:"button"},disabled:{type:Boolean,default:!1},icon:{type:String,default:void 0},alignment:{type:(0,k.C)([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:(0,k.C)([Object,String,Boolean]),default:!1},dropdownOffset:{type:Array,default:()=>{}},useBreakpoint:{type:Boolean,default:!0},name:{type:String,default:""},mobileBreakpoint:{type:(0,k.C)([String,Boolean]),default:"xxs"},active:{type:Boolean,default:!1},getExtraElements:{type:(0,k.C)(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?((0,p.D8)("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(){let{prefixCls:e,type:t,suffix:n,icon:i}=this;return{[e]:!0,[`${e}-${t}`]:t,[`${e}-styleless`]:this.isStyleless,[`${e}-${n}`]:n,[`${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,...i&&{[i]:!0}}},ariaLabel(){if(this.icon){let e=this.getTip();return e&&e.content||this.name}},innerAlignment(){((0,r.isDefined)(this.menuAlign)||(0,r.isDefined)(this.dropdownOffset)||(0,r.isDefined)(this.menuConstrainHeight))&&(0,p.D8)("The prop 'menuAlign', 'dropdownOffset', 'menuConstrainHeight' is deprecated, please use 'alignment' instead.");let e=this.getPopupConfigValue("alignment");return(0,r.isString)(e)&&(e={pos:e}),(0,i.Z)(e,{pos:this.menuAlign,offset:this.dropdownOffset,opts:{constrainHeight:this.menuConstrainHeight}})}},watch:{dropdownShown:{async handler(e){(0,v.Qy)(this,"dropdown-show",e),(0,v.Qy)(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=(0,s._Y)(this,"dropdown")},[o.mT.beforeUnmount](){this["breakpoint-buttons-group"]&&this.useBreakpoint&&this["breakpoint-buttons-group"].unregister(this),this.clearDropdownItem()},methods:{innerGetExtraElements(){let e=this.getExtraElements?.()??[];return e=(0,r.isArray)(e)?e:[e],[this.$el,...e]},focus(){this.$el?.focus()},closeDropdown(){this.dropdownShown=!1},hasDefaultSlot(){return(0,s._Y)(this,"default")},hasIconSlot(){return(0,s._Y)(this,"icon")},onClickoutside(){this.closeDropdown()},getTip(){return!1!==this.tooltip&&((0,r.isObject)(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=>{};((0,r.isExtendVueComponent)(e,d.Z)||(0,r.isFunction)(e.isMenu)&&e.isMenu()||(0,r.isExtendVueComponent)(e,a.Z))&&(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),(0,v.Qy)(this,"click",e))},handleDropdownBtnClick(e){this.disabled||this.isSplitMode&&(e.stopPropagation(),this.dropdownShown=!this.dropdownShown,(0,v.Qy)(this,"click-dropdown",e))},handleKeydown(e){this.hasDropdown&&e.stopPropagation(),this.dropdownShown=!0},onDropdownAligned(e){this.dropdownItem?.tryConstrain(e)}}}),E=n(11747);let I=["type","aria-haspopup","aria-expanded","aria-disabled","aria-label","role"],D={key:0,class:"v-btn-content"},V=(0,S.createElementVNode)("i",{class:"split-div"},null,-1);var N=(0,E.Z)(T,[["render",function(e,t,n,i,o,r){let s=(0,S.resolveComponent)("v-icon"),a=(0,S.resolveComponent)("v-portal"),l=(0,S.resolveDirective)("tooltip"),c=(0,S.resolveDirective)("clickoutside"),d=(0,S.resolveDirective)("syno-id");return(0,S.withDirectives)(((0,S.openBlock)(),(0,S.createElementBlock)("button",{type:e.htmlType,class:(0,S.normalizeClass)(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]=(0,S.withKeys)(function(){return e.handleKeydown&&e.handleKeydown(...arguments)},["down"]))},[e.hasDefaultSlot()||e.hasIconSlot()?(0,S.withDirectives)(((0,S.openBlock)(),(0,S.createElementBlock)("span",{key:0,class:(0,S.normalizeClass)(`${e.prefixCls}-text`)},[(0,S.renderSlot)(e.$slots,"icon",{disabled:"disabled"}),e.hasDefaultSlot()?((0,S.openBlock)(),(0,S.createElementBlock)("span",D,[(0,S.renderSlot)(e.$slots,"default")])):(0,S.createCommentVNode)("",!0),e.isDropdown?((0,S.openBlock)(),(0,S.createBlock)(s,(0,S.mergeProps)({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"])):(0,S.createCommentVNode)("",!0)],2)),[[l,e.getTip()]]):(0,S.createCommentVNode)("",!0),e.isSplitMode?((0,S.openBlock)(),(0,S.createElementBlock)(S.Fragment,{key:1},[V,(0,S.createVNode)(s,(0,S.mergeProps)({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)):(0,S.createCommentVNode)("",!0),e.dropdownShown?((0,S.openBlock)(),(0,S.createBlock)(a,{key:2,ref:"portal","mount-to":e.getContainerEl(),"acquire-z-index":"",alignment:e.innerAlignment,anchor:e.$el,onAligned:e.onDropdownAligned},{default:(0,S.withCtx)(()=>[(0,S.withDirectives)(((0,S.openBlock)(),(0,S.createElementBlock)("div",{ref:"dropdown",class:(0,S.normalizeClass)(e.prefixCls+"-dropdown")},[(0,S.renderSlot)(e.$slots,"dropdown",{closeDropdown:e.closeDropdown,focusTrigger:e.focus})],2)),[[c,e.onClickoutside,e.innerGetExtraElements(),{children:!0}]])]),_:3},8,["mount-to","alignment","anchor","onAligned"])):(0,S.createCommentVNode)("",!0)],42,I)),[[d]])}]])},73138:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var i=n(61644),o=n(12170),r=n(89125),s=n(8658),a=n(33153);let l=(0,n(53300).e)({components:[i.Z,o.Z,s.Z,a.Z,r.Z]})},61715:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i=n(24121),o=n(37153),r=n(81460),s=n(21812),a=n(16447),l=n(83871),c=n(25217),d=n(11747);(0,o.z)("card-arrow-up",s.np),(0,o.z)("card-arrow-down",s.u);let u=(0,c.defineComponent)({name:"Card",components:{vLayout:r.Z,withSlideTransition:(0,a.Q)(i.Z),vIcon:l.Z},mixins:[o.Z],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}}}),h={key:0,class:"v-card-header"},p={class:"v-card-title"},f={class:"actions-wrapper"},m={key:0,class:"v-card-body"};var g=(0,d.Z)(u,[["render",function(e,t,n,i,o,r){let s=(0,c.resolveComponent)("v-icon"),a=(0,c.resolveComponent)("with-slide-transition"),l=(0,c.resolveComponent)("v-layout");return(0,c.openBlock)(),(0,c.createBlock)(l,{class:"v-card-wrapper",type:`card.${e.layoutType}${e.hasHeader?"-has-header":""}`,order:e.layoutOrder},{default:(0,c.withCtx)(()=>[e.hasHeader?((0,c.openBlock)(),(0,c.createElementBlock)("div",h,[(0,c.createElementVNode)("div",p,[(0,c.renderSlot)(e.$slots,"title",{},()=>[(0,c.createTextVNode)((0,c.toDisplayString)(e.title),1)])]),(0,c.createElementVNode)("div",f,[(0,c.renderSlot)(e.$slots,"header-actions"),e.expandable?((0,c.openBlock)(),(0,c.createBlock)(s,{key:0,name:e.innerExpanded?"card-arrow-up":"card-arrow-down","svg-icon-set":"set31",onClick:e.toggleExpand},null,8,["name","onClick"])):(0,c.createCommentVNode)("",!0)])])):(0,c.createCommentVNode)("",!0),(0,c.createVNode)(a,{wrap:e.expandable},{default:(0,c.withCtx)(()=>[e.innerExpanded?((0,c.openBlock)(),(0,c.createElementBlock)("div",m,[(0,c.renderSlot)(e.$slots,"body")])):(0,c.createCommentVNode)("",!0)]),_:3},8,["wrap"])]),_:3},8,["type","order"])}]])},50495:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var i=n(61715);let o=(0,n(53300).e)({components:[i.Z]})},79237:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(8725),o=n(37153),r=n(92128),s=n(71510),a=n(69092),l=n(83871),c=n(25217),d=n(58954),u=(0,c.defineComponent)({name:"Checkbox",components:{vIcon:l.Z},mixins:[i.Z,o.Z],props:{stopPropagation:{type:Boolean,default:!1},[r.yz.value()]:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},id:{type:String,default:()=>`syno-${(0,s.V)()}`},name:{type:String,default:void 0},labelColor:{type:(0,d.C)(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(0,r.eQ)(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){let t=!!this.indeterminate||!this.innerValue;(0,a.Qy)(this,(0,r.ef)(),t),(0,a.Qy)(this,"change",t,e)},onFocus(){this.$refs.input.focus()},onFocusInput(){this.isFocused=!0,(0,a.Qy)(this,"focus",this)},onBlurInput(){this.isFocused=!1,(0,a.Qy)(this,"blur",this)},onClick(e){this.stopPropagation&&e.stopPropagation(),this.disabled||this.onChange(e)},onDblClick(e){this.stopPropagation&&e.stopPropagation()}}}),h=n(11747);let p=["aria-checked","aria-labelledby","value","checked","disabled","name"],f=["id"];var m=(0,h.Z)(u,[["render",function(e,t,n,i,o,r){let s=(0,c.resolveComponent)("v-icon"),a=(0,c.resolveDirective)("syno-id");return(0,c.withDirectives)(((0,c.openBlock)(),(0,c.createElementBlock)("div",{class:(0,c.normalizeClass)(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)})},[(0,c.createVNode)(s,{name:"checkbox",class:(0,c.normalizeClass)(e.prefixCls+"-icon"),sprite:""},null,8,["class"]),(0,c.createElementVNode)("input",{ref:"input",type:"checkbox",role:"checkbox","aria-checked":e.innerValue?"true":"false","aria-labelledby":e.id,class:(0,c.normalizeClass)(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]=(0,c.withModifiers)(()=>{},["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,p),(0,c.createElementVNode)("label",{id:e.id,class:(0,c.normalizeClass)(e.labelCls)},[(0,c.renderSlot)(e.$slots,"default")],10,f)],34)),[[a]])}]])},98891:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var i=n(79237);let o=(0,n(53300).e)({components:[i.Z]})},39881:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}}),n(50401),n(91234),n(15773),n(80438);var i=n(69092),o=n(61036),r=n(80036),s=n(11325),a=n(84593),l=n(86367),c=n(37153),d=n(21812),u=n(83871),h=n(82442),p=n(25217),f=n(11747);(0,c.z)("color-picker-reset",d.RC),(0,c.z)("color-picker-custom",d.xI);let m=(0,p.defineComponent)({name:"ColorPickerDropdown",components:{vTrapFocus:o.Z,vDivider:s.Z,vIcon:u.Z},mixins:[a.Z,c.Z],props:{customDropdownCls:{type:String,default:""},commonOptions:{type:Array,default:()=>l.o7},options:{type:Array,default:()=>l.QP},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||(0,h._Y)(this,"top-custom")||(0,h._Y)(this,"bottom-custom")},hasBottomDivider(){return(0,h._Y)(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=>(0,r.isObject)(e)?e:{color:e,alpha:1}).filter(e=>!this.filterSameColor||![...this.innerOptions,...this.innerCommonOptions].some(t=>t.color===e.color&&t.alpha===e.alpha))},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"===(0,l.ZP)(e.color).hex()}),colorBlockStyle:e=>({"user-select":"none","background-color":(0,l.ZP)(e.color).alpha((0,r.isNumber)(e.alpha)?e.alpha:1).string()}),closeDropdown(e){(0,i.Qy)(this,"close-dropdown",e)},reset(){(0,i.Qy)(this,"reset"),this.closeDropdown()},arrowSelect(e,t){let n=(0,r.clampValue)(this.activeIndex+e+10*t,0,this.allOptions.length-1);this.select(n)},clearSelection(){this.select(-1)},select(e){let t=this.allOptions[e];this.activeIndex=e,(0,i.Qy)(this,"select",e,t)},onClickButtonOption(e){this.select(e),this.closeDropdown()},onClickCustom(){(0,i.Qy)(this,"show-custom")}}}),g=["syno-id"],y={class:"reset-button-wrapper"},v=["syno-id"],b=["aria-activedescendant"],w=["id","syno-id","aria-selected","onClick"],C={class:"color-block"},S=["aria-activedescendant"],k=["id","syno-id","aria-selected","onClick"],x={class:"color-block"},B={key:1,class:"custom-button-wrapper"},T=["syno-id"],E={key:2,class:"custom-color-wrapper"},I=["syno-id","aria-selected","onClick"],D={class:"color-block"};var V=(0,f.Z)(m,[["render",function(e,t,n,i,o,r){let s=(0,p.resolveComponent)("v-icon"),a=(0,p.resolveComponent)("v-divider"),l=(0,p.resolveComponent)("v-trap-focus"),c=(0,p.resolveDirective)("auto-focus");return(0,p.openBlock)(),(0,p.createElementBlock)("div",{ref:"dropdown","syno-id":`${e.synoId}-dropdown-menu`,style:(0,p.normalizeStyle)(e.dropdownStyle),class:(0,p.normalizeClass)(e.dropdownCls),onKeydown:t[12]||(t[12]=(0,p.withKeys)(function(){return e.closeDropdown&&e.closeDropdown(...arguments)},["esc"]))},[(0,p.createVNode)(l,{ref:"dropdownTrapFocus"},{default:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",y,[(0,p.createVNode)(s,{name:"color-picker-reset","svg-icon-set":"set01"}),(0,p.createElementVNode)("button",{"syno-id":`${e.synoId}-reset-btn`,class:"reset color-picker-button",onClick:t[0]||(t[0]=t=>e.reset())},(0,p.toDisplayString)(e._i18n("common","reset")),9,v)]),(0,p.createVNode)(a),(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("ul",{class:"common-color-wrapper",role:"menu",tabindex:"0","aria-activedescendant":`option-${e.activeIndex}`,onKeydown:[t[1]||(t[1]=(0,p.withKeys)((0,p.withModifiers)(t=>e.arrowSelect(0,-1),["prevent"]),["up"])),t[2]||(t[2]=(0,p.withKeys)((0,p.withModifiers)(t=>e.arrowSelect(-1,0),["prevent"]),["left"])),t[3]||(t[3]=(0,p.withKeys)((0,p.withModifiers)(t=>e.arrowSelect(0,1),["prevent"]),["down"])),t[4]||(t[4]=(0,p.withKeys)((0,p.withModifiers)(t=>e.arrowSelect(1,0),["prevent"]),["right"])),t[5]||(t[5]=(0,p.withKeys)((0,p.withModifiers)(function(){return e.closeDropdown&&e.closeDropdown(...arguments)},["prevent"]),["enter"]))]},[((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(e.innerCommonOptions,(t,n)=>((0,p.openBlock)(),(0,p.createElementBlock)("li",{key:n,id:`options-${n}`,"syno-id":`${e.synoId}-option-${t.color}`,class:(0,p.normalizeClass)(e.commonColorItemCls(n)),role:"menuitem","aria-selected":n===e.activeIndex,onClick:t=>e.onClickButtonOption(n)},[(0,p.createElementVNode)("i",C,[(0,p.createElementVNode)("i",{class:(0,p.normalizeClass)(["cover",e.colorBlockCls(t)]),style:(0,p.normalizeStyle)(e.colorBlockStyle(t))},null,6)])],10,w))),128))],40,b)),[[c]]),(0,p.createVNode)(a),(0,p.createElementVNode)("ul",{class:(0,p.normalizeClass)(e.colorWrapperCls),role:"menu",tabindex:"0","aria-activedescendant":`option-${e.activeIndex}`,onKeydown:[t[6]||(t[6]=(0,p.withKeys)((0,p.withModifiers)(t=>e.arrowSelect(0,-1),["prevent"]),["up"])),t[7]||(t[7]=(0,p.withKeys)((0,p.withModifiers)(t=>e.arrowSelect(-1,0),["prevent"]),["left"])),t[8]||(t[8]=(0,p.withKeys)((0,p.withModifiers)(t=>e.arrowSelect(0,1),["prevent"]),["down"])),t[9]||(t[9]=(0,p.withKeys)((0,p.withModifiers)(t=>e.arrowSelect(1,0),["prevent"]),["right"])),t[10]||(t[10]=(0,p.withKeys)((0,p.withModifiers)(function(){return e.closeDropdown&&e.closeDropdown(...arguments)},["prevent"]),["enter"]))]},[((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(e.innerOptions,(t,n)=>((0,p.openBlock)(),(0,p.createElementBlock)("li",{key:n,id:`options-${n}`,"syno-id":`${e.synoId}-option-${t.color}`,class:(0,p.normalizeClass)(e.colorItemCls(n)),role:"menuitem","aria-selected":n+e.commonOptions.length===e.activeIndex,onClick:t=>e.onClickButtonOption(n+e.commonOptions.length)},[(0,p.createElementVNode)("i",x,[(0,p.createElementVNode)("i",{class:(0,p.normalizeClass)(["cover",e.colorBlockCls(t)]),style:(0,p.normalizeStyle)(e.colorBlockStyle(t))},null,6)])],10,k))),128))],42,S),e.hasTopDivider?((0,p.openBlock)(),(0,p.createBlock)(a,{key:0})):(0,p.createCommentVNode)("",!0),(0,p.renderSlot)(e.$slots,"top-custom"),e.hasCustom?((0,p.openBlock)(),(0,p.createElementBlock)("div",B,[(0,p.createVNode)(s,{name:"color-picker-custom","svg-icon-set":"set01"}),(0,p.createElementVNode)("button",{"syno-id":`${e.synoId}-custom-btn`,class:"custom color-picker-button",onClick:t[11]||(t[11]=t=>e.onClickCustom())},(0,p.toDisplayString)(e._i18n("common","custom")),9,T)])):(0,p.createCommentVNode)("",!0),(0,p.renderSlot)(e.$slots,"bottom-custom"),e.innerCustomOptions.length>0?((0,p.openBlock)(),(0,p.createElementBlock)("ul",E,[((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(e.innerCustomOptions,(t,n)=>((0,p.openBlock)(),(0,p.createElementBlock)("li",{key:n,"syno-id":`${e.synoId}-option-${t.color}`,class:(0,p.normalizeClass)(e.customColorItemCls(n)),role:"menuitem","aria-selected":n+e.commonOptions.length+e.options.length===e.activeIndex,onClick:t=>e.onClickButtonOption(n+e.commonOptions.length+e.options.length)},[(0,p.createElementVNode)("i",D,[(0,p.createElementVNode)("i",{class:(0,p.normalizeClass)(["cover",e.colorBlockCls(t)]),style:(0,p.normalizeStyle)(e.colorBlockStyle(t))},null,6)])],10,I))),128))])):(0,p.createCommentVNode)("",!0),e.hasBottomDivider?((0,p.openBlock)(),(0,p.createBlock)(a,{key:3})):(0,p.createCommentVNode)("",!0),(0,p.renderSlot)(e.$slots,"bottom")]),_:3},512)],46,g)}]])},29094:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var i=n(92128),o=n(69092),r=n(62704),s=n(71510),a=n(8725),l=n(7912),c=n(84593),d=n(97006),u=n(39881),h=n(86367),p=n(37153),f=n(21812),m=n(83871),g=n(89986),y=n(80036),v=n(29151),b=n(78671),w=n(25217),C=n(11747);(0,p.z)("color-picker-dropdown",f.zw);let S=(0,w.defineComponent)({name:"ColorPicker",components:{vColorPickerDropdown:u.Z,vIcon:m.Z,vPortal:g.Z},directives:{clickoutside:d.ZP},mixins:[r.ZP,c.Z,a.Z,l.ZP,p.Z],props:{align:{type:String,default:void 0},dropdownOffset:{type:Array,default:()=>{}},alignOptions:{type:Object,default:()=>{}},disabled:{type:Boolean,default:!1},[i.yz.value()]:{type:String,default:""},alpha:{type:Number,default:1},customDropdownCls:{type:String,default:""},options:{type:Array,default:()=>h.QP},commonOptions:{type:Array,default:()=>h.o7},customOptions:{type:Array,default:()=>[]},position:{type:String,default:"absolute"},dropdownWidth:{type:String,default:"234px"},id:{type:String,default:()=>`syno-${(0,s.V)()}`},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:(0,i.eQ)(this),alpha:this.alpha}},innerAlignment(){((0,y.isDefined)(this.align)||(0,y.isDefined)(this.alignOptions)||(0,y.isDefined)(this.dropdownOffset))&&(0,v.D8)("The prop 'align', 'dropdownOffset' is deprecated, please use 'alignment' instead.");let e=(0,y.isDefined)(this.align)?this.align:this.getPopupConfigValue("alignment");return(0,y.isString)(this.alignment)&&(e={pos:e}),(0,b.Z)(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(){let e=this.currentColor;return{backgroundColor:(0,h.ZP)(e.color||"#FFFFFF").alpha(e.alpha).string()}}},watch:{show:{async handler(e){e||this.$refs.colorPickerBtn&&this.$refs.colorPickerBtn.focus()}}},mounted(){this.orgValue=(0,i.eQ)(this)||""},methods:{clickOutside(){this.show=!1},reset(){(0,o.Qy)(this,"input",this.orgValue)},showCustom(){this.show=!1,(0,o.Qy)(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){let n=t?t.color:"";(0,o.Qy)(this,(0,i.ef)(),n),(0,o.Qy)(this,"select",t)}}}),k=["aria-expanded"],x=["name"];var B=(0,C.Z)(S,[["render",function(e,t,n,i,o,r){let s=(0,w.resolveComponent)("v-icon"),a=(0,w.resolveComponent)("v-color-picker-dropdown"),l=(0,w.resolveComponent)("v-portal"),c=(0,w.resolveDirective)("syno-id"),d=(0,w.resolveDirective)("clickoutside");return(0,w.withDirectives)(((0,w.openBlock)(),(0,w.createElementBlock)("div",{ref:"colorPickerBtn",class:(0,w.normalizeClass)(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]=(0,w.withKeys)((0,w.withModifiers)(function(){return e.showDropdown&&e.showDropdown(...arguments)},["prevent","stop"]),["enter"])),t[2]||(t[2]=(0,w.withKeys)((0,w.withModifiers)(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)},[(0,w.withDirectives)(((0,w.openBlock)(),(0,w.createElementBlock)("span",{ref:"colorIcon",class:(0,w.normalizeClass)(e.prefix+"-color-icon"),style:(0,w.normalizeStyle)(e.iconStyle),name:e.name},[(0,w.createElementVNode)("i",{class:"cover",style:(0,w.normalizeStyle)(e.iconStyle)},null,4)],14,x)),[[c]]),(0,w.createVNode)(s,{name:"color-picker-dropdown",class:(0,w.normalizeClass)(e.prefix+"-dropdown-icon"),"svg-icon-set":"set01"},null,8,["class"]),e.show?((0,w.openBlock)(),(0,w.createBlock)(l,{key:0,"mount-to":e.getContainerEl(),alignment:e.innerAlignment,anchor:e.$el,"acquire-z-index":""},{default:(0,w.withCtx)(()=>[(0,w.createVNode)(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},(0,w.createSlots)({_:2},[(0,w.renderList)(e.$slots,(t,n)=>({name:n,fn:(0,w.withCtx)(t=>[(0,w.renderSlot)(e.$slots,n,(0,w.normalizeProps)((0,w.guardReactiveProps)(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"])):(0,w.createCommentVNode)("",!0)],42,k)),[[d,e.clickOutside,void 0,{children:!0}]])}]])},86367:function(e,t,n){"use strict";n.d(t,{QP:function(){return r},ZP:function(){return u},o7:function(){return s}}),n(50401),n(15773);var i=n(19818),o=n(12085);let r=["#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"],s=["#000000","#FF0000","#FF9500","#FFEA00","#19FA3E","#00FAE5","#0582FF","#1A38FF","#8C1AFF","#FF1A8C"],a=[].slice,l=["keyword","gray","hex"],c={};for(let e of Object.keys(o))c[a.call(o[e].labels).sort().join("")]=e;let d={};function u(e,t){let n,r;if(!(this instanceof u))return new u(e,t);if(t&&t in l&&(t=null),t&&!(t in o))throw Error("Unknown model: "+t);if(e){if(e instanceof u)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){let t=i.get(e);if(null===t)throw Error("Unable to parse color from string: "+e);this.model=t.model,r=o[this.model].channels,this.color=t.value.slice(0,r),this.valpha="number"==typeof t.value[r]?t.value[r]:1}else if(e.length>0){this.model=t||"rgb",r=o[this.model].channels;let n=a.call(e,0,r);this.color=f(n,r),this.valpha="number"==typeof e[r]?e[r]: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;let t=Object.keys(e);"alpha"in e&&(t.splice(t.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);let i=t.sort().join("");if(!(i in c))throw Error("Unable to parse color from object: "+JSON.stringify(e));this.model=c[i];let r=o[this.model].labels,s=[];for(n=0;n<r.length;n++)s.push(e[r[n]]);this.color=f(s)}}else this.model="rgb",this.color=[0,0,0],this.valpha=1;if(d[this.model])for(r=o[this.model].channels,n=0;n<r;n++){let e=d[this.model][n];e&&(this.color[n]=e(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}for(let e of(u.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in i.to?this:this.rgb(),n=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);return i.to[t.model](n)},percentString(e){let t=this.rgb().round("number"==typeof e?e:1),n=1===t.valpha?t.color:t.color.concat(this.valpha);return i.to.rgb.percent(n)},array(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object(){let e={},t=o[this.model].channels,n=o[this.model].labels;for(let i=0;i<t;i++)e[n[i]]=this.color[i];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray(){let e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject(){let e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round(e){var t;return e=Math.max(e||0,0),new u(this.color.map((t=e,function(e){return Number(e.toFixed(t))})).concat(this.valpha),this.model)},alpha(e){return arguments.length>0?new u(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha},red:h("rgb",0,p(255)),green:h("rgb",1,p(255)),blue:h("rgb",2,p(255)),hue:h(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:h("hsl",1,p(100)),lightness:h("hsl",2,p(100)),saturationv:h("hsv",1,p(100)),value:h("hsv",2,p(100)),chroma:h("hcg",1,p(100)),gray:h("hcg",2,p(100)),white:h("hwb",1,p(100)),wblack:h("hwb",2,p(100)),cyan:h("cmyk",0,p(100)),magenta:h("cmyk",1,p(100)),yellow:h("cmyk",2,p(100)),black:h("cmyk",3,p(100)),x:h("xyz",0,p(100)),y:h("xyz",1,p(100)),z:h("xyz",2,p(100)),l:h("lab",0,p(100)),a:h("lab",1),b:h("lab",2),keyword(e){return arguments.length>0?new u(e):o[this.model].keyword(this.color)},hex(e){return arguments.length>0?new u(e):i.to.hex(this.rgb().round().color)},hexa(e){if(arguments.length>0)return new u(e);let t=this.rgb().round().color,n=Math.round(255*this.valpha).toString(16).toUpperCase();return 1===n.length&&(n="0"+n),i.to.hex(t)+n},rgbNumber(){let e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity(){let e=this.rgb().color,t=[];for(let[n,i]of e.entries()){let e=i/255;t[n]=e<=.03928?e/12.92:((e+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){let t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){let t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark(){let e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight(){return!this.isDark()},negate(){let e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){let t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){let t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){let t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){let t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){let t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){let t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){let e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return u.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){let t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);let n=e.rgb(),i=this.rgb(),o=void 0===t?.5:t,r=2*o-1,s=n.alpha()-i.alpha(),a=((r*s==-1?r:(r+s)/(1+r*s))+1)/2,l=1-a;return u.rgb(a*n.red()+l*i.red(),a*n.green()+l*i.green(),a*n.blue()+l*i.blue(),n.alpha()*o+i.alpha()*(1-o))}},Object.keys(o))){if(l.includes(e))continue;let t=o[e].channels;u.prototype[e]=function(){var n;if(this.model===e)return new u(this);if(arguments.length>0)return new u(arguments,e);let i="number"==typeof arguments[t]?t:this.valpha;return new u((Array.isArray(n=o[this.model][e].raw(this.color))?n:[n]).concat(i),e)},u[e]=function(n){return"number"==typeof n&&(n=f(a.call(arguments),t)),new u(n,e)}}function h(e,t,n){for(let i of e=Array.isArray(e)?e:[e])(d[i]||(d[i]=[]))[t]=n;return e=e[0],function(i){let o;return arguments.length>0?(n&&(i=n(i)),(o=this[e]()).color[t]=i):(o=this[e]().color[t],n&&(o=n(o))),o}}function p(e){return function(t){return Math.max(0,Math.min(e,t))}}function f(e,t){for(let n=0;n<t;n++)"number"!=typeof e[n]&&(e[n]=0);return e}},30208:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var i=n(88358),o=n(69092),r=n(62704),s=n(23908),a=n(63917),l=n(39192),c=n(80036),d=n(27873),u=n(86419),h=n(86367),p=n(25217),f=n(11747);let m=(0,p.defineComponent)({name:"ColorCustomPanel",components:{vPanel:d.Z,vInput:u.Z},mixins:[r.ZP,s.Z],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:(0,h.ZP)(),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:(0,h.ZP)().saturationv(100).value(100).hue(this.hue).rgb().string()}},minimapColorStyle(){return{backgroundColor:this.currentColor.string()}}},watch:{initial:{async handler(e){this.currentColor=(0,h.ZP)(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(){(0,l.k)(this.$el,this.alignPointer,this)},[i.mT.beforeUnmount](){(0,l.S)(this.$el,this.alignPointer)},methods:{alignPointer(){this.setHuePointer(this.hue),this.setAreaPointer(this.saturation,this.value),this.setAlphaPointer(this.alpha)},updateColor(){this.currentColor=(0,h.ZP)().hue(this.hue).saturationv(this.saturation).value(this.value).alpha(this.alpha),this.alphaPointerStyle.backgroundColor=this.currentColor.rgb().string(),this.huePointerStyle.backgroundColor=(0,h.ZP)().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(){(0,o.Qy)(this,"colorselected",this.currentColor.hex(),this.alpha)},cancel(){(0,o.Qy)(this,"colorselectcanceled")},setAlphaPointer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.alpha;if(!this.hasAlpha)return;let 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,t=this.setPointerPosition(0,360,this.$refs.hue.getBoundingClientRect())(e);this.huePointerStyle.top=`${t}px`},setAreaPointer(e,t){let n=this.$refs.area.getBoundingClientRect(),i=(0,c.normalize)(e,0,100),o=(0,c.normalize)(t,0,100);this.areaPointerStyle.left=i*n.width+"px",this.areaPointerStyle.top=(1-o)*n.height+"px"},setPointerPosition:(e,t,n,i)=>o=>{let r=(0,c.normalize)(o,e,t);return i?n.height-r*n.height:r*n.height},onAlphaBarMouseDown(e){let t=this.$refs.area.getBoundingClientRect(),n=t.y,i=e=>{let i=e.clientY-n;i=(0,c.clampValue)(i,0,t.height),this.alpha=1-(0,c.normalize)(i,0,t.height),(0,a.raf)(()=>{this.alphaPointerStyle.top=`${i}px`})};(0,a.on)(document,"mousemove",i),(0,a.once)(document,"mouseup",()=>{(0,a.off)(document,"mousemove",i)})},onHueBarMouseDown(e){let t=this.$refs.hue.getBoundingClientRect(),n=t.y,i=e=>{let i=e.clientY-n;i=(0,c.clampValue)(i,0,t.height);let o=(0,c.normalize)(i,0,t.height);this.hue=360*o,(0,a.raf)(()=>{this.huePointerStyle.top=`${i}px`})};(0,a.on)(document,"mousemove",i),(0,a.once)(document,"mouseup",()=>{(0,a.off)(document,"mousemove",i)})},onColorAreaMouseDown(e){let t=this.$refs.area.getBoundingClientRect(),n=t.x,i=t.y,o=e=>{let o=e.clientX-n,r=e.clientY-i;o=(0,c.clampValue)(o,0,t.width),r=(0,c.clampValue)(r,0,t.height);let s=(0,c.normalize)(o,0,t.width),l=(0,c.normalize)(r,0,t.height);this.saturation=100*s,this.value=100*(1-l),(0,a.raf)(()=>{this.areaPointerStyle={left:`${o}px`,top:`${r}px`,backgroundColor:this.currentColor.hex()}})};(0,a.on)(document,"mousemove",o),(0,a.once)(document,"mouseup",()=>{(0,a.off)(document,"mousemove",o)})},onInputHexBlur(e,t){let n=t.target.value;try{this.currentColor=(0,h.ZP)(n).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)}}}),g=(0,p.createElementVNode)("div",{class:"color-bg cover-right"},null,-1),y=(0,p.createElementVNode)("div",{class:"color-bg cover-bottom"},null,-1),v={class:"color-bar"},b={class:"display-area"},w={class:"minimap"},C={class:"form"},S={class:"r-value field"},k={class:"g-value field"},x={class:"b-value field"},B={key:0,class:"a-value field"},T={class:"real-value field"};var E=(0,f.Z)(m,[["render",function(e,t,n,i,o,r){let s=(0,p.resolveComponent)("v-input"),a=(0,p.resolveComponent)("v-panel");return(0,p.openBlock)(),(0,p.createBlock)(a,{confirm:e.confirm,cancel:e.cancel,class:(0,p.normalizeClass)(e.prefixCls),"fluid-footer":!0,"syno-id":e.synoId},{body:(0,p.withCtx)(()=>[(0,p.createElementVNode)("div",{class:"color-wrapper",style:(0,p.normalizeStyle)(e.colorWrapperStyle)},[(0,p.createElementVNode)("div",{ref:"area",class:"color-area",style:(0,p.normalizeStyle)(e.colorAreaStyle),onMousedown:t[0]||(t[0]=function(){return e.onColorAreaMouseDown&&e.onColorAreaMouseDown(...arguments)})},[g,y,(0,p.createElementVNode)("div",{class:"pointer",style:(0,p.normalizeStyle)(e.areaPointerStyle)},null,4)],36),(0,p.createElementVNode)("div",v,[(0,p.createElementVNode)("div",{ref:"hue",class:"hue bar",onMousedown:t[1]||(t[1]=function(){return e.onHueBarMouseDown&&e.onHueBarMouseDown(...arguments)})},[(0,p.createElementVNode)("div",{class:"pointer",style:(0,p.normalizeStyle)(e.huePointerStyle)},null,4)],544),e.hasAlpha?((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:0,ref:"alpha",class:"alpha bar",onMousedown:t[2]||(t[2]=function(){return e.onAlphaBarMouseDown&&e.onAlphaBarMouseDown(...arguments)})},[(0,p.createElementVNode)("div",{class:"cover",style:(0,p.normalizeStyle)(e.alphaCoverStyle)},null,4),(0,p.createElementVNode)("div",{class:"pointer",style:(0,p.normalizeStyle)(e.alphaPointerStyle)},null,4)],544)):(0,p.createCommentVNode)("",!0)]),(0,p.createElementVNode)("div",b,[(0,p.createElementVNode)("div",w,[(0,p.createElementVNode)("div",{class:"minimap-color",style:(0,p.normalizeStyle)(e.minimapColorStyle)},null,4)]),(0,p.createElementVNode)("div",C,[(0,p.createElementVNode)("div",S,[(0,p.createTextVNode)(" R: "),(0,p.createVNode)(s,{value:e.inputRValue,"model-value":e.inputRValue,onInput:t[3]||(t[3]=t=>e.onInput("red",t)),"onUpdate:modelValue":t[4]||(t[4]=t=>e.onInput("red",t))},null,8,["value","model-value"])]),(0,p.createElementVNode)("div",k,[(0,p.createTextVNode)(" G: "),(0,p.createVNode)(s,{value:e.inputGValue,"model-value":e.inputGValue,onInput:t[5]||(t[5]=t=>e.onInput("green",t)),"onUpdate:modelValue":t[6]||(t[6]=t=>e.onInput("green",t))},null,8,["value","model-value"])]),(0,p.createElementVNode)("div",x,[(0,p.createTextVNode)(" B: "),(0,p.createVNode)(s,{value:e.inputBValue,"model-value":e.inputBValue,onInput:t[7]||(t[7]=t=>e.onInput("blue",t)),"onUpdate:modelValue":t[8]||(t[8]=t=>e.onInput("blue",t))},null,8,["value","model-value"])]),e.hasAlpha?((0,p.openBlock)(),(0,p.createElementBlock)("div",B,[(0,p.createTextVNode)(" A: "),(0,p.createVNode)(s,{value:e.inputAValue,"model-value":e.inputAValue,onInput:e.onInputAlpha,"onUpdate:modelValue":e.onInputAlpha},null,8,["value","model-value","onInput","onUpdate:modelValue"])])):(0,p.createCommentVNode)("",!0),(0,p.createElementVNode)("div",T,[(0,p.createVNode)(s,{modelValue:e.inputHex,"onUpdate:modelValue":t[9]||(t[9]=t=>e.inputHex=t),value:e.inputHex,onBlur:e.onInputHexBlur},null,8,["modelValue","value","onBlur"])])])])],4)]),_:1},8,["confirm","cancel","class","syno-id"])}]])},80478:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(69092),o=n(30208),r=n(84593),s=n(25303),a=n(25217),l=(0,n(11747).Z)((0,a.defineComponent)({name:"ColorCustomWindow",components:{vColorCustomPanel:o.Z,vModalWindow:s.Z},mixins:[r.Z],props:{},emits:["color-selected","color-select-cancelled"],data:()=>({}),methods:{onCancel(){(0,i.Qy)(this,"color-select-cancelled"),this.$refs.window.close({payload:{action:"color-select-cancelled"}})},onColorSelected(e){(0,i.Qy)(this,"color-selected",e),this.$refs.window.close({payload:{action:"color-selected",color:e}})}}}),[["render",function(e,t,n,i,o,r){let s=(0,a.resolveComponent)("v-color-custom-panel"),l=(0,a.resolveComponent)("v-modal-window");return(0,a.openBlock)(),(0,a.createBlock)(l,{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:(0,a.withCtx)(()=>[(0,a.createVNode)(s,{"syno-id":`${e.synoId}-panel`,onColorselected:e.onColorSelected,onColorselectcanceled:e.onCancel},null,8,["syno-id","onColorselected","onColorselectcanceled"])]),_:1},8,["title","syno-id"])}]])},54162:function(e,t,n){"use strict";n.d(t,{R:function(){return a}});var i=n(29094),o=n(39881),r=n(30208),s=n(80478);let a=(0,n(53300).e)({components:[i.Z,o.Z,r.Z,s.Z]})},96725:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(30272),o=n(19213),r=n(82442);let s=(0,n(25217).defineComponent)({name:"ConfigProvider",mixins:[(0,i.J)("config-provider")],props:o.u,render(){return r.FJ(this).default?.()}})},19719:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var i=n(96725);let o=(0,n(53300).e)({components:[i.Z]})},26940:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(92128),o=n(69092),r=n(86419),s=n(61644),a=n(83871),l=n(21812),c=n(84593),d=n(37153),u=n(25217),h=n(11747);(0,d.z)("copy",l.kI),(0,d.z)("cut",l.Ky);var p=(0,h.Z)((0,u.defineComponent)({name:"CopyCutField",components:{vInput:r.Z,vButton:s.Z,vIcon:a.Z},mixins:[d.Z,c.Z],props:{[i.yz.value()]:{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||!(0,i.eQ)(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(0,i.eQ)(this)}},methods:{onInputValueChange(e){(0,o.Qy)(this,(0,i.ef)(),e)},onInputFocus(e){(0,o.Qy)(this,"input-focused",e)},onClickButton(){("copy"===this.type?this.$refs.input.copyValue():this.$refs.input.cutValue())?(0,o.Qy)(this,"action-success",(0,i.eQ)(this)):(0,o.Qy)(this,"action-failed")}}}),[["render",function(e,t,n,i,o,r){let s=(0,u.resolveComponent)("v-input"),a=(0,u.resolveComponent)("v-icon"),l=(0,u.resolveComponent)("v-button");return(0,u.openBlock)(),(0,u.createElementBlock)("div",{class:(0,u.normalizeClass)(e.wrapperCls)},[(0,u.createVNode)(s,{ref:"input","syno-id":"v-copy-cut-field-input",class:(0,u.normalizeClass)(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"]),(0,u.createVNode)(l,{"syno-id":"v-copy-cut-field-button",display:"icon",disabled:e.innerDisabled,tooltip:e.tipContent,onClick:e.onClickButton},{icon:(0,u.withCtx)(()=>[(0,u.createVNode)(a,{type:e.iconType,name:e.type,class:(0,u.normalizeClass)(e.buttonCls),"svg-icon-set":"set01"},null,8,["type","name","class"])]),_:1},8,["disabled","tooltip","onClick"])],2)}]])},7142:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(26940);let o=(0,n(53300).e)({components:[i.Z]})},99432:function(e,t,n){"use strict";let i,o;n.d(t,{Z:function(){return ta}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(879),n(91234),n(56165),n(15773),n(15065),n(80438);var r=n(88358),s=n(69092),a=n(82442),l=n(78671),c=n(22902),d=n(62968),u=n(23382),h=n(49748),p=n(63917),f=n(29151),m=n(80036);function g(e){return(0,m.isBoolean)(e.disableSort)?e.disableSort:!!e.action}function y(e,t){let n=e.findIndex(e=>e.pivot);return -1===n&&(n=t),{id:n,column:e[n]}}var v=n(25217);let b=/(\d+)%/;function w(e,t){let n=+e.el.dataset.width,i=n+t,o=e.getMinWidth();return i<=o&&(t=-(n-o)),t}function C(e,t){return Math.ceil(+e.el.dataset.width+t)}function S(e,t){e.el.dataset.width=t}function k(e,t){let n=e.findIndex(e=>e.id===t)+1,i=e[n];for(;i&&!0===i.data.hide;)i=e[++n];return i}function x(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 B(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{onlyVisible:!1,noFixedColumns:!1,omitColumns:[]};return(e=x(e,{visible:t.onlyVisible,noFixed:t.noFixedColumns,omitColumns:t.omitColumns})).reduce((e,t)=>e+=t.getCurrentWidth(),0)}function T(e,t){let n=b.exec(e);return n&&n[1]?Math.floor(t*+n[1]/100):+e}var E=(0,v.defineComponent)({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)},[r.mT.beforeUnmount](){this.removeResizeIndicator(this.$_container,this.$_resizeLeftMarker),this.removeResizeIndicator(this.$_container,this.$_resizeRightMarker),this.removeResizeIndicator(this.$_container,this.$_resizeIndicator)},methods:{adjustResizeIndicatorStyleByMouseMoveEvent(e,t,n){let i=this.$_cols,o=this.$_container.getBoundingClientRect(),r=k(i,n.id),s=function(e,t){let n=e.findIndex(e=>e.id===t)-1,i=e[n];for(;i&&!0===i.data.hide;)i=e[--n];return i}(i,n.id),a=s&&s.headerEl?s.headerEl.getBoundingClientRect().right-o.left:0,l=r&&r.headerEl?r.headerEl.getBoundingClientRect().right-o.left:o.width,c=r.getMinWidth(),d=Math.min(Math.max(a+n.getMinWidth(),e.clientX-o.left),l-c);function u(e,t){e.style.left=`${t}px`,(0,p.removeClass)(e,"col-resizable-indicator--hidden")}u(this.$_resizeLeftMarker,a),u(this.$_resizeRightMarker,l),u(this.$_resizeIndicator,d)},removeResizeIndicator(e,t){t&&e.removeChild(t)},createResizeIndicator(e){let t=document.createElement("div");return(0,p.addClass)(t,"col-resizable-indicator"),(0,p.addClass)(t,"col-resizable-indicator--hidden"),e.appendChild(t),t},takeCols(){let e=[...this.$refs["header-col-group"].querySelectorAll("col")],t=[...this.$refs.theader.querySelectorAll("th")].reduce((e,t)=>(e[t.getAttribute("name")]=t,e),{}),n=this.currentColumns.reduce((e,t)=>(e[t[this.fieldInfo.columnKey]]=t,e),{}),i=this,o=(e=e.map(e=>({id:e.getAttribute("name"),el:e,headerEl:t[e.getAttribute("name")],data:n[e.getAttribute("name")],getWidth(e){let t=T(this.data.defaultWidth,e);return T(this.data.width,e)||t||this.headerEl.clientWidth||100},getCurrentWidth(){return+this.el.dataset.width||100},getMinWidth(){let{action:e,tip:t,title:n,field:o,minWidth:r}=this.data,s=i.groupInfo;if(s.action&&s.actionField===o)return 84;let a=0;return(0,p.hasClass)(this.headerEl,"is-draggable")&&(0,p.hasClass)(this.headerEl,"cell-first")&&(a+=16),(0,p.hasClass)(this.headerEl,"last-th-cell")&&(a+=17),r?a+=r:(n&&(a+=24),e&&(a+=28),t&&(a+=26),g(this.data)||(a+=12),a+16)},canResize:!1}))).reduce((e,t)=>(e[t.id]=t,e),{});return{cols:e,colsMap:o}},takeContainer(){return this.$refs.container},applyColsWidth(e,t){for(let n of e)if(n.el){let e=this.colsData[n.id],i=(0,m.isDefined)(e)?+e:n.getWidth(t);i<n.getMinWidth()&&(i=n.getMinWidth()),n.el.dataset.width=i}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;let{cols:t,colsMap:n}=this.takeCols(),i=this.takeContainer(),o=(0,m.isDefined)(e.containerWidth)?e.containerWidth:i.clientWidth;e.applyHeadersWidth&&o>0&&this.applyColsWidth(t,o);let r=B(t,this.currentColumns,{onlyVisible:!0});(e.forceFit||r!==this.tableWidth||e.containerWidth)&&function(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{omitFixedColumns:!1,omitColumns:[]},o=B(e,{onlyVisible:!0}),r=B(e,{onlyVisible:!0,noFixedColumns:i.omitFixedColumns,omitColumns:i.omitColumns}),s=o-r,a=(n-o)/r,l=x(e,{visible:!0,noFixed:i.omitFixedColumns,omitColumns:i.omitColumns});if(0===n||n<s)return;let c=[],d=[];for(let e of l){let t=function(e,t){let n=e.getCurrentWidth(),i=1;t<0&&(i=-1,t=Math.abs(t));let o=Math.floor(n+i*Math.floor(t*n)),r=e.getMinWidth();return S(e,Math.max(r,o)),r>o?r-o:0}(e,a);t>0?a+=a>0?t/n:-t/n:c.push(e.id)}if(d=(d=i.omitColumns&&i.omitColumns.length>=1?i.omitColumns:[]).concat(c),(o=B(e,{onlyVisible:!0}))>n){let e=o-n;for(let n of d){let i=t[n];if(i&&e>0){let t=e,n=+i.el.dataset.width-t,o=i.getMinWidth();o>n&&(n=o,t=o-+i.el.dataset.width),e-=t,S(i,n)}}}else if(o<n){let e=n-o,t=Object.keys(l).length,i=Math.floor(e/t);for(let n of(e%=t,l)){let t=n.getMinWidth();S(n,Math.max(t,+n.el.dataset.width+i+(e>0?1:0))),e>0&&e--}}}(t,n,o,{omitFixedColumns:e.applyHeadersWidth,omitColumns:e.omitColumns}),this.renderColumns(t,e),this.tableWidth=B(t,this.currentColumns,{onlyVisible:!0}),this.$refs.scrollbar&&this.$refs.scrollbar.update(),this.$_cols=t,this.$_colsMap=n},onHeaderCellMouseMove(e,t,n){e._isGroup&&e._subColumns.length>0&&(t=e._subColumns[e._subColumns.length-1][this.fieldInfo.columnKey]);let i=n.target;for(;i&&"TH"!==i.tagName;)i=i.parentNode;let o=this.$_colsMap?.[t];o&&(i.getBoundingClientRect().right-n.pageX<10?((0,p.css)(i,"cursor","col-resize"),i._canResize=!0,o.canResize=!0):((0,p.css)(i,"cursor",""),i._canResize=!1,o.canResize=!1))},onHeaderCellMouseDown(e,t,n,i){e._isGroup&&e._subColumns.length>0&&(t=e._subColumns[e._subColumns.length-1][this.fieldInfo.columnKey]);let o=this.$_colsMap?.[t];if(!o||!o.canResize||0!==i.button)return;o.headerEl._resizing=!0,i.stopPropagation();let r=document.onselectstart,a=document.ondragstart;document.onselectstart=()=>!1,document.ondragstart=()=>!1;let l={startX:i.clientX,dragging:!0,diff:0},c=e=>{e.stopPropagation(),l.dragging&&(l.diff=Math.ceil(e.clientX-l.startX),this.adjustResizeIndicatorStyleByMouseMoveEvent(e,n,o))};(0,p.once)(document,"mouseup",e=>{e.stopPropagation(),l.dragging=!1,(0,p.off)(document,"mousemove",c);let n=k(this.$_cols,t),i=w(o,l.diff),d=C(o,i=-w(n,-i)),u=C(n,-i);S(o,d),S(n,u),this.renderColumn(o),this.renderColumn(n),(0,p.addClass)(this.$_resizeIndicator,"col-resizable-indicator--hidden"),(0,p.addClass)(this.$_resizeLeftMarker,"col-resizable-indicator--hidden"),(0,p.addClass)(this.$_resizeRightMarker,"col-resizable-indicator--hidden"),document.onselectstart=r,document.ondragstart=a,delete o.headerEl._resizing,(0,s.Qy)(this,"column-resize",this.colsData)}),(0,p.on)(document,"mousemove",c)},renderColumn(e){e.el.setAttribute("width",e.el.dataset.width),(0,h.t)(this.colsData,e.id,e.el.dataset.width)},renderColumns(e,t){for(let n of(t.applyHeadersWidth||0!==Object.keys(this.colsData).length||(0,f.N6)("should apply headers width before render it. or you will get wrong width on col"),e))this.renderColumn(n)}}}),I=n(36184),D=n(47696),V=n(76965),N=n(90946),_=n(71510);let M={ALWAYS:"always",HOVER:"hover",NEVER:"never"},$="INSERT_TOP",Z="INSERT_BOTTOM",A="INSERT_INNER",O="INSERT_UNKNOWN";function F(e,t,n){let{width:i,height:o}=e.getBoundingClientRect(),{offsetTop:r,offsetLeft:s}=e;n===A&&(0,p.hasClass)(t,"landed-inner")||n===$&&(0,p.hasClass)(t,"landed-up")||n===Z&&(0,p.hasClass)(t,"landed-down")||((0,p.removeClass)(t,"landed-down"),(0,p.removeClass)(t,"landed-up"),(0,p.removeClass)(t,"landed-inner"),n===Z?(0,p.addClass)(t,"landed-down"):n===$?(0,p.addClass)(t,"landed-up"):n===A&&(0,p.addClass)(t,"landed-inner")),(0,p.css)(t,"left",`${s}px`),(0,p.css)(t,"top",`${r}px`),(0,p.css)(t,"width",`${i}px`),(0,p.css)(t,"height",`${o}px`)}function z(e,t,n){let i;this.$_draggingIndicator=function(e){let t=document.createElement("div");return(0,p.addClass)(t,"data-table-draggable-indicator"),e.appendChild(t),t._svcContainer=e,t}(this.$refs["table-body"]),this.rowDraggableStates.isDragging=!0;let o=n.payload.index,r=Array.from(this.selectIndexes);r.includes(o)?i=r:(this.selectRow(o,{ensureRowVisible:!0,forceSelect:!1}),i=[o]),this.rowDraggableStates.draggingIndexes=i.sort(),this.rowDraggableStates.triggerIndex=o}function L(e){var t;t=this.$_draggingIndicator,t?.parentNode?.removeChild(t),delete this.$_draggingIndicator,this.rowDraggableStates.isDragging=!1,this.rowDraggableStates.draggingIndexes=[],this.rowDraggableStates.triggerIndex=-1}function P(e,t,n,i){let o=t.getBoundingClientRect(),r=[e[0]-o.x,e[1]-o.y];return this.isItemDraggable(n)?this.allowReorder?this.canLandedRowInner(n)?r[1]>o.height-3?Z:r[1]<3?$:this.rowDraggableStates.draggingIndexes.includes(i)?O:A:r[1]>o.height/2?Z:$:this.canLandedRowInner(n)&&!this.rowDraggableStates.draggingIndexes.includes(i)?A:O:O}function R(e,t,n,i,o){let r=P.call(this,e,t,n,i);if(i<0||i>=this.current.legnth)return{insertType:O,landedIndex:-1};if(o.includes(i)){if(r===$){if(i-1>=0&&!o.includes(i))return{insertType:Z,landedIndex:i-1}}else if(r===Z&&i+1<this.current.length&&!o.includes(i))return{insertType:$,landedIndex:i+1};return{insertType:O,landedIndex:i}}return{insertType:r,landedIndex:i}}function H(e,t,n){if((0,m.isObject)(this.isDraggable))return this.isDraggable.onDragEnter?.(e,t,n)}function j(e,t,n){if((0,m.isObject)(this.isDraggable))return this.isDraggable.onDrop?.(e,t,n)}function W(e,t,n){var i;let o,r;if((0,m.isObject)(this.isDraggable)&&!1===this.isDraggable.onDragOver?.(e,t,n))return;(0,N.z6)(e)?(o=e.touches[0].clientX,r=e.touches[0].clientY):(o=e.clientX,r=e.clientY);let s=document.elementFromPoint(o,r),a=(0,p.findParentBySelector)(s,"tr");if(!a)return;let l=+a.getAttribute("index"),{insertType:c,landedIndex:d}=R.call(this,[o,r],a,this.getRow(l),l,this.rowDraggableStates.draggingIndexes);this.rowDraggableStates.insertType=c,this.rowDraggableStates.landedIndex=d,i=this.$_draggingIndicator,(0,p.css)(i,"display","block"),F.call(this,a,this.$_draggingIndicator,c)}function G(){let{draggingIndexes:e,insertType:t}=this.rowDraggableStates;0!==e.length&&t!==O&&((0,m.isDefined)(this.customActionOnValidDrop)?this.current=this.customActionOnValidDrop(this.current,this.rowDraggableStates):t!==$&&t!==Z||(this.current=function(e){let{draggingIndexes:t,insertType:n,landedIndex:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.map(t=>e[t]),r=e[i],s=e.slice();if(0===o.length)return s;for(let e of t.reverse())s.splice(e,1);let a=s.findIndex(e=>e===r);return n===Z?s.splice(a+1,0,...o):s.splice(a,0,...o),s}(this.current,this.rowDraggableStates)),this.clearSelection(),this.$emit("drop",{data:this.current,draggableStates:this.rowDraggableStates}),this.$emit("reorder",{data:this.current}))}function Q(e,t,n){var i;(0,m.isObject)(this.isDraggable)&&!1===this.isDraggable.onDragOut?.(e,t,n)||(i=this.$_draggingIndicator,(0,p.css)(i,"display","none"))}var U=(0,v.defineComponent)({props:{getDraggingGhostProps:{type:Function,default:void 0},isDraggable:{type:[Boolean,Object],default:!1}},[r.mT.beforeUnmount](){if(this._destroyFns)for(let e of this._destroyFns)e?.()},emits:["reorder","drop"],data:()=>({rowDraggableStates:{isDragging:!1,draggingIndexes:[],triggerIndex:-1,landedIndex:-1,insertType:O}}),computed:{allowRowDrop(){return!!(0,m.isObject)(this.isDraggable)&&(this.isDraggable.allowRowDrop??!1)},allowReorder(){return(0,m.isObject)(this.isDraggable)?this.isDraggable.allowReorder??!0:this.isDraggable},draggingId(){return(0,m.isObject)(this.isDraggable)?this.isDraggable.draggingId??`dragging-${(0,_.V)()}`:`dragging-${(0,_.V)()}`}},methods:{getLandedClass(e){if(!this.rowDraggableStates)return[];let{landedIndex:t,insertType:n,isDragging:i}=this.rowDraggableStates,o=["is-landed"];return!1===i||t!==e?[]:(n===Z?o.push("landed-down"):n===$?o.push("landed-up"):n===A?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){let{column:t}=y(this.columns,0),{draggingIndexes:n,triggerIndex:i}=this.rowDraggableStates,o=this.current[i],r=this.getDraggingGhostProps?.(t.field,o,i)??{},{destroyFn:s,anchorEl:a}=(0,D.J)(this.$.appContext.app,V.Z,{nums:n.length,title:this.getCellValue(t.field,o,i),...r});return e.appendChild(a),s},buildDraggableCols(){let e=this.$refs.content&&[...this.$refs.content.querySelectorAll("table")];if(e){if(this._destroyFns)for(let e of this._destroyFns)e?.();for(let{index:t,item:n}of(this._destroyFns=[],this.dragZone=new I.sZ(e[0],{draggingId:this.draggingId},{componentName:this.$options.name}),this._destroyFns.push(this.$ddm.registerDragZone(this.dragZone)),this.currentVisible)){let e=this.$refs[`row-${t}`]?.[0];if(e=e?.$el??e){if(e._ddTarget)e._ddTarget.payload={index:t};else if(!this.isItemDisabled(n)&&this.isItemDraggable(n)){let n=new I._1(e,{renderGhost:e=>this.renderDraggingGhost(e),startDrag:z.bind(this),endDrag:L.bind(this),onDragEnter:H.bind(this),onDragOver:W.bind(this),onDragOut:Q.bind(this),onDrop:j.bind(this),onValidDrop:G.bind(this),ghostCls:"v-table-dd-ghost",draggingId:this.draggingId},{index:t,componentName:this.$options.name});this._destroyFns.push(n.registerDragZone(this.dragZone),this.$ddm.registerDragTarget(n))}}}}},canLandedRowInner(e){return e?.[this.fieldInfo.rowInfo]?.allowDrop??this.allowRowDrop}}});function K(e,t){if(t.el._resizing||t.el._canResize)return!1}function q(e,t,n){this.colDraggableStates.isDragging=!0,this.colDraggableStates.draggingIndex=n.payload.index,this.colDraggableStates.draggingKey=n.payload.key,this.$_topMoveableIndicator=ei(document.body,"top"),this.$_bottomMoveableIndicator=ei(document.body,"bottom")}function Y(e){window.setTimeout(()=>{this.colDraggableStates={isDragging:!1,draggingIndex:-1,landedIndex:-1,draggingKey:null,landedKey:null},function(e){for(let t of e)t&&t.parentNode&&t.parentNode.removeChild(t)}([this.$_topMoveableIndicator,this.$_bottomMoveableIndicator])},0)}function J(e,t){let n=t?p.removeClass:p.addClass;for(let t of e)n(t,"col-moveable-indicator--hidden")}function X(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top",i=arguments.length>3?arguments[3]:void 0,{top:o,right:r,left:s,bottom:a}=e.getBoundingClientRect(),[l,c]=this.$alignManager.getScroll(document.body),d=0;e.getAttribute("is-group")&&(d=20),s=("before"===i?s:r)+-4+l,o=("top"===n?o:a+t.offsetWidth+d)+-9+c,(0,p.css)(t,"left",`${s}px`),(0,p.css)(t,"top",`${o}px`)}function ee(e){let t=document.elementFromPoint(e.clientX,e.clientY),n=(0,p.findParentBySelector)(t,"th");if(!n||!n._markDraggable)return;let i="before",o=n.cellIndex,r=n,{width:s}=n.getBoundingClientRect();if(function(e,t){let{x:n,y:i}=t.getBoundingClientRect();return[e.pageX-n,e.pageY-i]}(e,n)[0]>s/2){i="after";let e=function(e,t,n){let i=e.findIndex(e=>e[n]===t),o=e[++i];for(;o&&et(o);)o=e[++i];return{col:o,index:i}}(this.columns,n.getAttribute("name"),this.fieldInfo.columnKey);n=e.col?this.$options.headersMap[e.col[this.fieldInfo.columnKey]]:null,o=e.index}if(this.colDraggableStates.landedIndex=o,this.colDraggableStates.position=i,this.colDraggableStates.landedKey=n?n.getAttribute("name"):"n/a",this.colDraggableStates.draggingKey===this.colDraggableStates.landedKey)return J([this.$_topMoveableIndicator,this.$_bottomMoveableIndicator],!1),!1;J([this.$_topMoveableIndicator,this.$_bottomMoveableIndicator],!0),X.call(this,r,this.$_topMoveableIndicator,"top",i),X.call(this,r,this.$_bottomMoveableIndicator,"bottom",i)}function et(e){return e.hide||e.groupKey}function en(){let{draggingIndex:e,landedIndex:t,draggingKey:n,landedKey:i}=this.colDraggableStates;if(-1===e||-1===t)return;let o=this.columns.findIndex(e=>e[this.fieldInfo.columnKey]===n),r=-1;r=t===this.columns.length?t:this.columns.findIndex(e=>e[this.fieldInfo.columnKey]===i);let s=this.columns.slice();s=function(e,t,n){let i=e[t],o=e.slice(),r=t;return i&&(o.splice(n,0,i),n<t&&r++,o.splice(r,1)),o}(s,o,r),this.$emit("update:columns",s)}function ei(e,t){let n=document.createElement("div");return(0,p.addClass)(n,"col-moveable-indicator"),(0,p.addClass)(n,t),e.appendChild(n),n}var eo=(0,v.defineComponent)({emits:["update:columns"],data:()=>({colDraggableStates:{isDragging:!1,draggingIndex:-1,landedIndex:-1}}),methods:{removeMoveableColsDD(){if(this.$options.moveableDD){for(let e of this.$options.moveableDD)e.purge();this.$options.moveableDD=[]}},buildMoveableCols(){this.removeMoveableColsDD(),this.$options.moveableDD=this.$options.moveableDD||[];let e=this.$refs.theader;if(!e)return;let t=this.isGroupHeadMode?this.firstColumnRow:this.currentVisibleColumns,n=t.length,i=new I.sZ(e);this.$options.headersMap=[...this.$refs.theader.querySelectorAll("th")].reduce((e,t)=>(e[t.getAttribute("name")]=t,e),{});for(let e=0;e<n;e++){let n=t[e],o=this.getHeaderCell(e);if(!o||et(n))continue;let r=new I._1(o,{onBeforeDrag:K.bind(this),startDrag:q.bind(this),endDrag:Y.bind(this),onDragOver:ee.bind(this),onValidDrop:en.bind(this),ghostCls:"v-table-dd-ghost col-moveable-ghost",getTargetContent:(function(){return`
                    <div class="col-moveable">
                        <div class="dd-drop-icon"></div>
                        <div class="col-desc">
                            ${o.innerText}
                        </div>
                    </div>`}).bind(this)},{index:e,key:n[this.fieldInfo.columnKey]});r.registerDragZone(i),this.$ddm.registerDragTarget(r),this.$options.moveableDD.push(r)}}}}),er=n(52952);function es(e,t){return e>=0&&e<t.length}function ea(e){return(0,m.isArray)(e)?e.map(e=>ea(e)):e?.$el??e}var el=(0,v.defineComponent)({mixins:[(0,er.eu)({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){(0,p.raf)(()=>{let n=ea(this.$refs[`row-${e}`]),i=ea(this.$refs[`row-${t}`]);this.groupTable&&(n=ea(this.$refs.groupNode.$refs[`row-${e}`]),i=ea(this.$refs.groupNode.$refs[`row-${t}`])),this.toggleHoverRow("row-hover",n,i),this.toggleHoverRow("row-hover",this.$refs[`expandable-row-${e}`],this.$refs[`expandable-row-${t}`])})}},methods:{isMultipleSelected(){return this.innerMultipleSelected},toggleHoverRow(e,t,n){t=t&&t[0],(n=n&&n[0])&&(0,p.removeClass)(n,e),t&&(0,p.addClass)(t,e)},ensureRowVisible(e){let t=ea(this.$refs[`row-${e}`]);t&&t[0]&&this.$refs.scrollbar.ensureVisible(t[0])},getItemValue:e=>e.index,selectRowItem(e,t,n){let{index:i}=e;return this.selectRow(i,n)},toggleRowItem(e,t,n){let{index:i}=e;return this.toggleRow(i,n)},toggleRow(e){let{ensureRowVisible:t=!0,forceSelect:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t&&this.ensureRowVisible(e),this.toggleItem({index:e},e,{ensureRowVisible:t,forceSelect:n})},selectRow(e){let{ensureRowVisible:t=!0,forceSelect:n,keepSelection:i=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t&&this.ensureRowVisible(e),this.selectItem({index:e},e,{ensureRowVisible:t,forceSelect:n,keepSelection:i})},selectPrevRow(){es(this.lastSelectIndex-1,this.current)&&this.selectRow(this.lastSelectIndex-1)},selectNextRow(){es(this.lastSelectIndex+1,this.current)&&this.selectRow(this.lastSelectIndex-1)},defaultSelect(){if(this.clearSelection(),!0!==this.defaultSelected){if(this.innerMultipleSelected)for(let e of(0,m.isArray)(this.defaultSelected)?this.defaultSelected:[this.defaultSelected])this.clickRow(e,null,{selectStrategy:er.SG["select-keep"],forceSelect:this.isRowUnselectable({index:e})});else this.clickRow(this.defaultSelected,null)}else{let e=!1,t=-1;for(let n of this.getAllRange({filter:!1}))this.isRowDefaultSelected(n)&&(this.clickRow(n,null,{selectStrategy:er.SG["select-keep"],forceSelect:this.isRowUnselectable({index:n})}),e=!0),-1===t&&this.isRowSelectable(n)&&(t=n);e||this.clickRow(t,null)}},clearSelectedRows(){this.clearSelection(),(0,s.Qy)(this,"rowclear")},clickRow(e,t){let{selectStrategy:n,forceSelect:i=!1,isCtrlMode:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={},a=!1;if(this.innerMultipleSelected){n=n??(0,er.Jn)(t,{isCtrlMode:(0,N.yl)(t)||"checkbox"===this.innerSelectionMode||o}),a=this.onClickItem(t,e,{index:e},{selectStrategy:n},{forceSelect:i});let s=Array.from(this.selectIndexes);r={indexes:s,rows:this.getRows(s)}}else{let i=(n=n??(0,er.Jn)(t))===er.SG["select-keep"];a=this.selectRow(e,{keepSelection:i});let o=Array.from(this.selectIndexes);r={index:o[0],row:this.getRow(o[0])}}return a&&((0,s.Qy)(this,"rowclick",r),this.$nextTick(()=>{this.toggleHoverRow("row-hover",ea(this.$refs[`row-${this.hoverIndex}`]),null),this.toggleHoverRow("row-hover",this.$refs[`expandable-row-${this.hoverIndex}`],null)})),{result:a,payload:r}},getRow(e){if((0,m.isNumber)(e))return this.current?this.current[e]:null;if((0,m.isString)(e)){let[t,n]=e.split(":"),i=this.categories.find(e=>e.key===t);return i?i.items[n]:null}return null},getRows(e){return e.map(e=>this.getRow(e))},unselectCategory(e){if(this.innerMultipleSelected){for(let[t]of e.items.entries()){let n=`${e.key}:${t}`;this.selectIndexes.delete(n)}this.selectIndexes=new Set(this.selectIndexes)}},selectCategory(e){if(this.innerMultipleSelected){for(let[t]of e.items.entries()){let n=`${e.key}:${t}`;this.selectIndexes.add(n)}this.selectIndexes=new Set(this.selectIndexes)}},selectAll(){if(this.innerMultipleSelected){let 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:n=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.innerMultipleSelected&&e.length>1)throw Error("selectRows with multiple indexes only work in multiple-selected mode");for(let n of e)this.isRowSelectable(n)&&this.addSelectedItem({index:n},{forceSelect:t});n&&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(let n of e)this.isRowSelectable({index:n})&&this.removeSelectedItem({index:n},{forceSelect:t});this.selectIndexes=new Set(this.selectIndexes)},selectRange(e,t){let{keepSelection:n=!1,forceSelect:i=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n||this.clearSelection();let o="add";this.isSelectionMode&&this.isItemSelected({index:t})&&(o="remove");let r=this.getVisibleRange(e,t);return"add"===o?this.selectRows(r,{forceSelect:i}):this.deselectRows(r,{forceSelect:i}),this.lastSelectRangeIndex=t,!0},getIndex(e){if(this.groupTable){let[t,n]=e.split(":");return[this.categories.findIndex(e=>e.key===t),+n]}return e},getAllRange(){let{filter:e=!1,pagination:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=[];if(this.groupTable)for(let t of this.categories){let i=this.getItems(t.items,{filter:e});n=n.concat(i.map(e=>{let{index:n}=e;return`${t.key}:${n}`}))}else n=this.getItems(this.current,{filter:e}).map(e=>{let{index:t}=e;return t});if(t){let{pageNum:e,pageSize:i}=t,o=(e-1)*i;n=n.slice(o,o+this.pageSize)}return n},getVisibleRange(e,t){if(this.groupTable){let n=this.categories,i=[],[o,r]=this.getIndex(e),[s,a]=this.getIndex(t);(o===s?r<a:o<s)||([o,s]=[s,o],[r,a]=[a,r]);for(let e=o;e<=s;e++){let t,l;let c=this.getItems(n[e].items,{filter:this.filtered});t=e===o?r:0,l=e===s?a:n[e].items.length-1;let d=c.findIndex(e=>{let{index:n}=e;return n===t}),u=c.findIndex(e=>{let{index:t}=e;return t===l});i=i.concat(c.slice(d,u+1).map(t=>{let{index:i}=t;return`${n[e].key}:${i}`}))}return i}e>t&&([e,t]=[t,e]);let n=this.currentPagingData.findIndex(t=>{let{index:n}=t;return n===e}),i=this.currentPagingData.findIndex(e=>{let{index:n}=e;return n===t});return this.currentPagingData.slice(n,i+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){let n={"row-disabled":this.isItemDisabled&&this.isItemDisabled(t)},i=this.customRowClasses||[];if(t[this.fieldInfo.rowInfo]&&t[this.fieldInfo.rowInfo].customClasses){let e=t[this.fieldInfo.rowInfo].customClasses;(Array.isArray(e)||(0,m.isString)(e))&&(i=i.concat(e))}return["row",n].concat(i).concat(this.getSelectedRowClass(e))},isRowUnselectable(e){let{index:t}=e;return!this.isRowSelectable(t)},isRowDefaultSelected(e){let t=this.getRow(e);return!!t&&!!t?.[this.fieldInfo.rowInfo]?.defaultSelected},isRowForceSelected(e){return this.isRowUnselectable({index:e})&&this.selectIndexes.has(e)},isRowSelectable(e){let t=this.getRow(e);return!t||!t[this.fieldInfo.rowInfo]||!t[this.fieldInfo.rowInfo].unselectable}}}),ec=n(36659),ed=n(60853),eu=n(37616),eh=n(20862),ep=n(11747);let ef=(0,v.defineComponent)({name:"TreeNode",components:{vSlideUpDown:eh.Z},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)}}}),em=["syno-id"],eg={class:"cell-content"},ey={class:"cell-text"},ev={class:"tree-child"};var eb=(0,ep.Z)(ef,[["render",function(e,t,n,i,o,r){let s=(0,v.resolveComponent)("tree-node",!0),a=(0,v.resolveComponent)("v-slide-up-down");return(0,v.openBlock)(),(0,v.createElementBlock)("div",{class:(0,v.normalizeClass)(e.prefix+"-ct")},[(0,v.createElementVNode)("table",{class:(0,v.normalizeClass)(e.prefix+"-table")},[(0,v.createElementVNode)("tr",null,[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.columns,(n,i)=>((0,v.openBlock)(),(0,v.createElementBlock)("td",{key:i,"syno-id":`${e.synoId}-td-${i}`},[(0,v.renderSlot)(e.$slots,"td",{content:e.node[n.field],column:n,index:e.index,cindex:i,node:e.node},()=>[(0,v.createElementVNode)("div",eg,[0===i?((0,v.openBlock)(),(0,v.createElementBlock)("span",{key:0,class:(0,v.normalizeClass)("cell-indent-"+e.level)},null,2)):(0,v.createCommentVNode)("",!0),0===i?((0,v.openBlock)(),(0,v.createElementBlock)("span",{key:1,class:(0,v.normalizeClass)(["cell-expandable",{show:e.expandable,expand:e.currentExpand,collapse:!e.currentExpand}]),onClick:t[0]||(t[0]=t=>e.toggle())},null,2)):(0,v.createCommentVNode)("",!0),(0,v.createElementVNode)("span",ey,[n.fn||n.field?n.fn?((0,v.openBlock)(),(0,v.createElementBlock)(v.Fragment,{key:1},[(0,v.createTextVNode)((0,v.toDisplayString)(n.fn(e.node,this)),1)],64)):((0,v.openBlock)(),(0,v.createElementBlock)(v.Fragment,{key:2},[(0,v.createTextVNode)((0,v.toDisplayString)(e.node[n.field]),1)],64)):((0,v.openBlock)(),(0,v.createElementBlock)(v.Fragment,{key:0},[(0,v.createTextVNode)((0,v.toDisplayString)(e.node[n.field]),1)],64))])])])],8,em))),128))])],2),(0,v.createVNode)(a,{expand:e.currentExpand,"syno-id":`${e.synoId}-slide-up-down`},{default:(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",ev,[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.node.children,(t,n)=>((0,v.openBlock)(),(0,v.createElementBlock)(v.Fragment,null,[!e.node.leaf&&e.node.children?((0,v.openBlock)(),(0,v.createBlock)(s,{key:n,node:t,columns:e.columns,index:n,level:e.level+1,"syno-id":`${e.synoId}-${n}`},null,8,["node","columns","index","level","syno-id"])):(0,v.createCommentVNode)("",!0)],64))),256))])]),_:1},8,["expand","syno-id"])],2)}]]),ew=n(74547),eC=n(24121),eS=n(32744);(i=(e,t)=>((e,t,n)=>{let i=(0,eS.Ie)(n);return(0,eS.h)(e,"colgroup",i,t.columns.map(n=>{let i=n[t.columnIdField];return(0,eS.h)(e,"col",{attrs:{name:i,width:!!t.followHeadColGroup&&t.colsData[i]},key:n[t.columnIdField]})}))})(void 0,e,t)).props={columns:{type:Array,default:()=>[],required:!0},columnIdField:{type:String,default:void 0,required:!0},followHeadColGroup:{type:Boolean,default:!1},colsData:{type:Object,default:()=>{}}};var ek=n(92128),ex=(0,v.defineComponent)({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),(0,p.on)(this.$el,"transitionend",this.onTransitionEnd)})},[r.mT.beforeUnmount](){},methods:{setHeight(e,t,n){n&&((0,p.css)(this.$el,"height",e),(0,p.css)(this.$el,"transition",`height ease ${this.duration}ms`),this.forceRelayout=this.$el.scrollHeight),(0,p.css)(this.$el,"height",t)},onTransitionEnd(e){this.expand?(0,s.Qy)(this,"expand"):(0,s.Qy)(this,"collapse")},doLayout(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.$el.scrollHeight;this.$nextTick(()=>{if(e){(0,p.css)(this.$el,"height","auto");let e=this.$el.scrollHeight;this.setHeight(`${t}px`,`${e}px`,!0)}else this.setHeight(`${t}px`,"auto",!1)})}},render(){let e=(0,a.FJ)(this).default();if(e&&e.length)return e.length>1?void(0,f.N6)("basic expansion component should only handle one child"):e[0]}}),eB=n(79237),eT=n(85863),eE=n(83871),eI=n(37153),eD=n(21812);function eV(e,t,n){let i=[];t.showExpandIcon&&i.push((0,eS.h)(e,eE.Z,{class:["expand-icon",t.expandIconCls],props:{name:t.expand?"data-table-expand-up":"data-table-expand-down",svgIconSet:"set32"},nativeOn:{click:e=>{e.stopPropagation();let t=(0,eS.LO)(n,"toggle-expand");t?.()}}}));let o=t.action?(0,eS.h)(e,"div",{class:["cell","action-cell"],directives:[{name:"tooltip",value:t.tooltip}]},["enable"===t.action||"checkbox"===t.action?(0,eS.h)(e,eB.Z,{props:{synoId:`${t.synoId??n.attrs?.["syno-id"]??""}-checkbox`,[ek.yz.value()]:t.value,stopPropagation:!0,disabled:t.isActionDisabled},on:{change:(0,eS.LO)(n,"action-change")}}):"radio"===t.action?(0,eS.h)(e,eT.Z,{props:{synoId:`${t.synoId??n.attrs?.["syno-id"]??""}-radio`,[ek.yz.value("model")]:t.value,value:!0,stopPropagation:!0,disabled:t.isActionDisabled},on:{click:(0,eS.LO)(n,"action-change")}}):null]):function(e,t,n){let i=[];if(t.expandable&&t.expand){let e=t.hasExpandSlot?t.expandSlot:"basic-expand-default",o=(0,eS.FJ)(n)[e];o&&i.push(o({row:t.item,data:t.value}))}else{let o=(0,eS.FJ)(n)[t.fieldSlot],r=o?o({data:t.value,row:t.item,update:t.updateItem,initialData:t.initialValue}):t.getHtml?(0,eS.h)(e,"div",{class:["html-content"],domProps:{innerHTML:t.getHtml(t.item)}}):t.contentFn?t.contentFn(t.item):t.value;i.push(r)}return(0,eS.h)(e,"div",{class:["cell","content-cell"],directives:[{name:"tooltip",value:t.tooltip}]},i)}(e,t,n);return i.push(o),(0,eS.h)(e,"div",{class:["inner-cell"]},i)}(0,eI.z)("data-table-draggable-s",eD.ph),(0,eI.z)("data-table-expand-up",eD.tj),(0,eI.z)("data-table-expand-down",eD.TD),(o=(e,t)=>(function(e,t,n){let i=[];t.hidden||(i=[t.expandable?(0,eS.h)(e,ex,{props:{active:t.expandable,expand:t.expand},scopedSlots:{default:()=>[eV(e,t,n)]}}):eV(e,t,n)],0===t.cindex&&((0,m.isObject)(t.isDraggable)?(t.isDraggable?.showIcon??M.ALWAYS)!==M.NEVER:t.isDraggable)&&i.push((0,eS.h)(e,eE.Z,{class:{"show-icon-only-hover":!!(0,m.isObject)(t.isDraggable)&&(t.isDraggable?.showIcon??M.ALWAYS)===M.HOVER},props:{svgIconSet:"set26",name:"data-table-draggable-s"}})));let o=(0,eS.Ie)(n,[]);return o.attrs={"syno-id":t.synoId,...o.attrs},(0,eS.h)(e,"td",o,i)})(void 0,e,t)).props={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}};var eN=n(30272);(0,eI.z)("data-table-chevron-up",eD.np),(0,eI.z)("data-table-chevron-down",eD.u);let e_=(0,v.defineComponent)({name:"GroupNode",components:{vIcon:eE.Z,vCheckbox:eB.Z,vTableCell:o,vSlideUpDownTransition:eC.Z,vColGroup:i},directives:{tooltip:ew.Z},mixins:[(0,eN.f)("data-table"),eI.Z],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(let t of e)(0,m.hasOwn)(this.categoryExpandRecord,t.key)||(0,h.t)(this.categoryExpandRecord,t.key,this.groupInfo.defaultExpand);for(let t of e)for(let 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})},[r.mT.beforeUnmount](){this.unwatch?.()},methods:{getSlots(){return(0,a.FJ)(this)},getCategoriesSortFn(){return this.table.sortColumn&&this.table.sortColumn.field===this.groupInfo.actionField?(e,t)=>{let n=e.enableIndeterminate?1:e.enableState?2:0,i=t.enableIndeterminate?1:t.enableState?2:0;if(n!==i){if("DESC"===this.table.sortColumn.sort)return n<i?1:-1;if("ASC"===this.table.sortColumn.sort)return n<i?-1:1}return 0}:this.groupInfo.sortCategoryFn},setActiveCell(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-2,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1,r=null;return!(i<-1)&&(r=-1===i?this.table.getHeaderCell(o):this.getCell(n,i,o),!(o<0||this.table.currentColumns.length<=o)&&(this.activeIndexes.prevCell&&this.activeIndexes.prevCell.setAttribute("tabindex","-1"),r&&r.setAttribute("tabindex","0"),this.activeIndexes={row:i,col:o,categoryIndex:n,category:t,prevCell:r},!0))},focusActiveCell(){let e;let{row:t,col:n,categoryIndex:i}=this.activeIndexes;return!(t<-1)&&!(n<0)&&!(this.table.currentColumns.length<=n)&&((e=-1===t?this.table.getHeaderCell(n):this.getCell(i,t,n))&&e.focus(),e===document.activeElement)},setActiveCellWithFocus(e,t,n){let i=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,n,i,o))return t?this.table.clickRow(`${t.key}:${i}`,e):this.table.clearSelectedRows(),this.focusActiveCell(e)},getCell(e,t,n){let i=this.$refs[`cell-${e}-${t}-${n}`];return i&&i[0]},selectCellByKeydown(e){if(!["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.key))return;let{row:t,col:n,categoryIndex:i,category:o}=this.activeIndexes;e.preventDefault();let r=t,s=n;return"ArrowUp"===e.key&&(r=t-1),"ArrowDown"===e.key&&(r=t+1),"ArrowLeft"===e.key&&(s=n-1),"ArrowRight"===e.key&&(s=n+1),o?r<0?(i-=1,r=(o=this.currentCategories[i])?o.items.length-1:-1):r>o.items.length-1&&(i+=1,r=0,o=this.currentCategories[i]):(i=0,o=this.currentCategories[i]),this.setActiveCellWithFocus(e,o,i,r,s)},toggleCategory(e){if(!1===this.groupInfo.expandable)return;let t=this.categoryExpandRecord[e]||!1;t=!t,(0,h.t)(this.categoryExpandRecord,e,t),this.table.virtualScroll&&(this.table.renderVisibleItems({checkScrollSticky:!1}),this.updateCategoryVisibleItems(this.table.visibleStart,this.table.visibleEnd))},itemAction(e,t,n,i,o,r){return this.groupInfo.actionField===o.field&&this.$nextTick(()=>this.setCategoryEnableState(o,r)),this.table.itemAction(e,t,n,i,o,r)},setCategoriesEnableState(e){for(let t of this.categories)this.setCategoryEnableState(e,t)},setCategoryEnableState(e,t){if(this.groupInfo.actionField!==e.field)return;let n=!1,i=!1,o=Object.entries(t.items);if(o){for(let[r,s]of o)this.table.isActionDisabled(s,e)||this.table.isActionHidden(s,e)||(!0===this.table.getCellValue(e.field,s,r,t.key)?n=!0:i=!0);n&&i?t.enableIndeterminate=!0:(n?t.enableState=!0:t.enableState=!1,t.enableIndeterminate=!1)}},categoryAction(e){let t=!e.enableState,n=this.table.getColumnByField(this.groupInfo.actionField)??this.table.selectionActionColumn;if((0,h.t)(e,"enableState",t),(0,h.t)(e,"enableIndeterminate",!1),this.table.isSelectionModeColumn(n)&&(t?this.table.selectCategory(e):this.table.unselectCategory(e)),e&&e.items)for(let i of e.items)this.table.isActionDisabled(i,n)||this.table.isActionHidden(i,n)||(i[this.groupInfo.actionField]=t);this.table.setHeadState(n),(0,s.Qy)(this,"category-action",{column:n,category:e,enableState:t})},getContentCellClasses(e,t,n,i){let o=this.table.getContentCellClasses(e,t,n,i);return"left"!==(t.align||"left")||t.action||0!==n||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 n=0,i={};for(let o of this.currentCategories){let r=this.categoryExpandRecord[o.key]?o.items.length:0,s=n+r;e<=s&&t>=n&&(i[o.key]={start:e<n?0:e-n,end:t>s?r:t-n}),n+=r+1}this.visibleItems=i},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){let t=this.table.getItems(e.items,{filter:this.table.filtered});if(this.table.virtualScroll){let n=this.visibleItems[e.key]?.start??0,i=this.visibleItems[e.key]?.end??0;return t.slice(n,i)}return t},updateItem(e,t,n){return i=>{this.currentCategories[e].items[t][n]=i}}}}),eM=["onClick"],e$={class:"content"},eZ=["syno-id"];var eA=(0,ep.Z)(e_,[["render",function(e,t,n,i,o,r){let s=(0,v.resolveComponent)("v-icon"),a=(0,v.resolveComponent)("v-checkbox"),l=(0,v.resolveComponent)("v-col-group"),c=(0,v.resolveComponent)("v-table-cell"),d=(0,v.resolveComponent)("v-slide-up-down-transition"),u=(0,v.resolveDirective)("tooltip");return(0,v.openBlock)(),(0,v.createElementBlock)("div",{class:(0,v.normalizeClass)(e.containerClass)},[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.currentCategories,(n,i)=>((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:n.key,class:(0,v.normalizeClass)(e.prefix+"-group")},[(0,v.createElementVNode)("div",{class:(0,v.normalizeClass)(e.titleClass),onClick:t=>e.toggleCategory(n.key)},[e.groupInfo.expandable?((0,v.openBlock)(),(0,v.createBlock)(s,{key:0,"syno-id":`${e.synoId}-group-${n.key}-arrow`,class:"arrow group-expand-icon",name:!0===e.categoryExpandRecord[n.key]?"data-table-chevron-up":"data-table-chevron-down","svg-icon-set":"set31"},null,8,["syno-id","name"])):(0,v.createCommentVNode)("",!0),"enable"===e.groupInfo.action?((0,v.openBlock)(),(0,v.createBlock)(a,{key:1,"syno-id":`${e.synoId}-group-checkbox`,value:n.enableState,"model-value":n.enableState,indeterminate:n.enableIndeterminate,"stop-propagation":"",onChange:t=>e.categoryAction(n)},null,8,["syno-id","value","model-value","indeterminate","onChange"])):(0,v.createCommentVNode)("",!0),(0,v.createElementVNode)("span",e$,[(0,v.renderSlot)(e.$slots,"group-title",{category:n},()=>[(0,v.createTextVNode)((0,v.toDisplayString)(n.key),1)])])],10,eM),(0,v.createVNode)(d,null,{default:(0,v.withCtx)(()=>[!0===e.categoryExpandRecord[n.key]?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:0,class:(0,v.normalizeClass)(`${e.prefix}-table-wrapper`),"syno-id":`${e.synoId}-group-${n.key}-slideUpDown`,style:(0,v.normalizeStyle)(e.getVirtualGroupStyle(n))},[(0,v.createElementVNode)("table",{class:(0,v.normalizeClass)(e.tableClass),style:(0,v.normalizeStyle)(e.getTableOffsetStyle(n)),onMouseleave:t[0]||(t[0]=function(){return e.table.onMouseLeave&&e.table.onMouseLeave(...arguments)})},[(0,v.createVNode)(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"]),(0,v.createElementVNode)("tbody",null,[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.getVisibleItems(n),t=>{let{item:o,index:r}=t;return(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createBlock)((0,v.resolveDynamicComponent)(e.table.useBodyRow()),{key:`${n.key}:${r}`,ref_for:!0,ref:`row-${n.key}:${r}`,item:o,index:r,categroy:n,"syno-id":`${e.synoId}-tr-${r}`,class:(0,v.normalizeClass)(e.table.getRowClass(`${n.key}:${r}`,o).concat(e.rowClass)),onClick:t=>e.table.clickRow(`${n.key}:${r}`,t),onDblclick:t=>e.table.rowDblClick(`${n.key}:${r}`,o,t),onMouseover:t=>e.table.hoverRow(`${n.key}:${r}`)},{default:(0,v.withCtx)(()=>[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.table.isGroupHeadMode?e.table.flattenColumns:e.table.currentVisibleColumns,(t,s)=>((0,v.openBlock)(),(0,v.createBlock)(c,{ref_for:!0,ref:`cell-${i}-${r}-${s}`,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,r,n.key),item:o,class:(0,v.normalizeClass)(e.getContentCellClasses(r,t,s,o)),tabindex:"-1","aria-colindex":s+1,"field-key":t.fieldKey,index:r,cindex:s,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(i,r,t.field),column:t,hidden:e.table.getCellHidden(t,o),onFocus:t=>e.setActiveCell(t,n,i,r,s),onClick:n=>e.table.onCellClick(o,t,r,s,n),onContextmenu:i=>e.table.onCellContextMenu(o,t,`${n.key}:${r}`,s,i),onActionChange:(i,s)=>e.itemAction(i,s,r,o,t,n),onToggleExpand:t=>e.table.toggleRowExpand(o)},(0,v.createSlots)({_:2},[(0,v.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,v.withCtx)(t=>[(0,v.renderSlot)(e.$slots,n,(0,v.mergeProps)({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,eZ)):(0,v.createCommentVNode)("",!0)]),_:2},1024)],2))),128))],2)}]]),eO=n(30782),eF=n(61644),ez=n(41253),eL=n(84593),eP=n(39192),eR=n(99465),eH=(0,v.defineComponent)({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 (0,v.nextTick)(),this.onScrollViewportChanged(),this.intersectionListener=(0,eR.m)(this.$el,this.onVisibleChanged),this.$refs.scrollbar&&(this.resizeListener=(0,eP.k)(this.$refs.scrollbar.$el,this.onScrollViewportChanged)),this.updateSizes(),this.renderVisibleItems({checkScrollSticky:!1,autoFocus:!0})):(this.intersectionListener?.(),this.resizeListener?.())},immediate:!0},isEmpty(e){(0,v.nextTick)(()=>{e?this.resizeListener?.():this.$refs.scrollbar&&this.virtualScroll&&(this.resizeListener=(0,eP.k)(this.$refs.scrollbar.$el,this.onScrollViewportChanged),this.onScrollViewportChanged())})},current:{async handler(){await (0,v.nextTick)(),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&&(0,f.D8)("group table only support virtual scroll with fixed size currently",this)},[r.mT.beforeUnmount](){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,n)=>(t.push({item:n,acc:e}),e+=this.$_cachedSizes[n[this.fieldInfo.rowKey]]??this.innerRowHeight,t),[])},onVisibleChanged(e){e.isVisible&&this.renderVisibleItems({checkScrollSticky:!1})},findAnchor(e,t){let n,i=0,o=0,r=0,s=this.size;if(this.autoRowHeight){if(this.sizes.length>0){for(o=i=Math.max(Math.min(function(e,t){let n=0,i=t.length;for(;n<i;){let o=n+~~((i-n)/2);e<=t[o].acc?i=o:n=o+1}return n}(e,this.sizes),this.sizes.length),0),n=this.sizes.length;o<n&&this.sizes[o].acc<t;o++);r=this.sizes[this.sizes.length-1].acc}}else i=Math.max(Math.min(~~(e/this.innerRowHeight),s),0),o=Math.max(Math.min(~~(t/this.innerRowHeight),s),0),r=s*this.innerRowHeight;return{start:i=(0,m.clampValue)(i-this.bufferItemsNum,0,s-1),end:o=(0,m.clampValue)(o+this.bufferItemsNum,0,s-1),total:r}},getVisibleItems(e,t){return this.bufferStart=e,this.bufferEnd=t,this.findAnchor(this.bufferStart,this.bufferEnd)},isScrollSticky(e,t,n){let i,o;let r=this.sizes[(0,m.clampValue)(this.visibleStart+this.updateBufferItemsNum,0,this.sizes.length-1)],s=this.sizes[(0,m.clampValue)(this.visibleEnd-this.updateBufferItemsNum,0,this.sizes.length-1)];return this.autoRowHeight?(o=r.acc,i=s.acc):(o=(this.visibleStart+this.updateBufferItemsNum)*this.innerRowHeight,i=(this.visibleEnd-this.updateBufferItemsNum)*this.innerRowHeight),e>this.$_scrollTop&&n>=i||e<this.$_scrollTop&&t<=o},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||this.autoRowHeight&&this.sizes.length<=0)return;let n=this.$refs.scrollbar.getScrollTop(),{bufferStart:i,bufferEnd:o}=this.getBuffer(n);if(!e||this.isScrollSticky(n,i,o)){let{start:e,end:n,total:r}=this.getVisibleItems(i,o);this.renderRange(e,n,r,{autoFocus:t})}this.$_scrollTop=n},renderRange(e,t,n){let{autoFocus:i=!0}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.visibleStart=(0,m.clampValue)(e,0,this.sizes.length-1),this.visibleEnd=(0,m.clampValue)(t,0,this.sizes.length-1),this.virtualTotalSize=n,this.autoRowHeight&&(0,p.raf)(()=>{(0,v.nextTick)(()=>{for(let e=this.visibleStart;e<=this.visibleEnd;e++){let t=this.current[e],n=this.$refs[`row-${e}`]?.[0];(n=n?.$el??n)&&(this.$_cachedSizes[t[this.fieldInfo.rowKey]]=n.offsetHeight)}this.updateSizes()})}),i&&(0,v.nextTick)(()=>{this.focusActiveCell()})}}}),ej=n(25944),eW=n(62088);(0,eI.z)("data-table-sort-down",eD.Bn),(0,eI.z)("data-table-sort-up",eD.LB);let eG=(0,v.defineComponent)({name:"TableHeaderCell",components:{vCheckbox:eB.Z,vWhitetip:ej.Z,vIcon:eE.Z},mixins:[(0,eW.W)("tableHeaderCell","HeaderCell")],props:{columnKey:{type:[String,Number],default:(0,_.V)()},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=>(!(0,m.isDefined)(e.headerAction)||"none"!==e.headerAction)&&!!e.action,getHeaderTip:e=>!!(0,m.isString)(e.tip)&&e.tip,getHeaderTipSlotName:e=>`${e.field||e.fieldKey}.tip`,getHeaderSlotName:e=>`${e.field||e.fieldKey}.th`,onClickSort(){(0,s.Qy)(this,"sort")},onActionChange(){(0,s.Qy)(this,"action-change")}}}),eQ=["name","syno-id","aria-sort","aria-colindex"],eU={class:"inner-cell"},eK={key:0,class:"cell-title"},eq={class:"cell-title"};var eY=(0,ep.Z)(eG,[["render",function(e,t,n,i,o,r){let s=(0,v.resolveComponent)("v-checkbox"),a=(0,v.resolveComponent)("v-icon"),l=(0,v.resolveComponent)("v-whitetip"),c=(0,v.resolveDirective)("tooltip");return(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createElementBlock)("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))},[(0,v.createElementVNode)("div",eU,[e.isActionCell(e.column)?((0,v.openBlock)(),(0,v.createElementBlock)("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?((0,v.openBlock)(),(0,v.createElementBlock)(v.Fragment,{key:0},[(0,v.createVNode)(s,{"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?((0,v.openBlock)(),(0,v.createElementBlock)("span",eK,(0,v.toDisplayString)(e.column.title),1)):(0,v.createCommentVNode)("",!0),e.disableSort?(0,v.createCommentVNode)("",!0):((0,v.openBlock)(),(0,v.createBlock)(a,(0,v.mergeProps)({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)):(0,v.createCommentVNode)("",!0),e.column.tip?((0,v.openBlock)(),(0,v.createBlock)(l,{key:1,size:"small",content:e.getHeaderTip(e.column)},{default:(0,v.withCtx)(()=>[(0,v.renderSlot)(e.$slots,e.getHeaderTipSlotName(e.column))]),_:3},8,["content"])):(0,v.createCommentVNode)("",!0)])):((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:1,class:"head-cell cell",onClick:t[2]||(t[2]=function(){return e.onClickSort&&e.onClickSort(...arguments)})},[(0,v.renderSlot)(e.$slots,"th",{title:e.column.title,column:e.column,cindex:e.cindex},()=>[(0,v.renderSlot)(e.$slots,e.getHeaderSlotName(e.column),{title:e.column.title,column:e.column,cindex:e.cindex},()=>[(0,v.createElementVNode)("span",eq,(0,v.toDisplayString)(e.column.title),1)])]),e.disableSort?(0,v.createCommentVNode)("",!0):((0,v.openBlock)(),(0,v.createBlock)(a,(0,v.mergeProps)({key:0,class:"v-table-column-sorter",name:e.sortIconName,"svg-icon-set":"set16"},e.innerSortIcon),null,16,["name"])),e.column.tip?((0,v.openBlock)(),(0,v.createBlock)(l,{key:1,size:"small",content:e.getHeaderTip(e.column)},{default:(0,v.withCtx)(()=>[(0,v.renderSlot)(e.$slots,e.getHeaderTipSlotName(e.column))]),_:3},8,["content"])):(0,v.createCommentVNode)("",!0)]))])],40,eQ)),[[c,e.tooltip]])}]]),eJ=n(5675);function eX(e,t,n){let i=e.getFieldSlotName(t),o=`mobile-${i}`,r=e.value,s=e.getCellValue(t.field,r,n),l=(0,a.FJ)(e)[o],c=(0,a.FJ)(e)[i];return l?l({data:s,row:r,update:e.updateItem(e.index,t.field)}):c?c({data:s,row:r,update:e.updateItem(e.index,t.field)}):t.getHtml?(0,eJ.h)("div",{staticClass:"html-content",domProps:{innerHTML:t.getHtml(r)}}):t.fn?t.fn(r):s}(0,eI.z)("data-table-mobile-chevron-up",eD.np),(0,eI.z)("data-table-mobile-chevron-down",eD.u);var e0=(0,v.defineComponent)({mixins:[eL.Z,eI.Z],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=>!!(0,m.isObject)(e)||["adaptive","horizontal","vertical"].includes(e)},mobileRowCollapsible:{type:[Boolean,Object],default:!0}},emits:["rowclick"],data(){return{expanded:!!(0,m.isObject)(this.mobileRowCollapsible)&&this.mobileRowCollapsible.defaultExpanded}},computed:{hasSlider(){return!!this.mobileRowCollapsible},isCollapsible(){let{column:e}=y(this.columns);return this.hasSlider&&((0,a._Y)(this,"mobile-header")||!!e)},isSlideContainDescription(){return!!(0,m.isObject)(this.mobileRowCollapsible)&&this.mobileRowCollapsible.containDesc},isFieldAlignmentAdaptive(){return"adaptive"===this.fieldAlignment||!!(0,m.isObject)(this.fieldAlignment)&&"adaptive"===this.fieldAlignment.strategy},currentFieldAlignment(){if(this.isFieldAlignmentAdaptive){if(!this.$breakpointManager)return void(0,f.D8)("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active.");let 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(){let e=function(e){var t,n;let{id:i,column:o}=y(e.columns),r=[],s=(0,a.FJ)(e)["mobile-header"];return s?r.push(s({row:e.value})):o&&r.push(eX(e,o,i)),r.length>0?(0,eJ.h)("div",{class:"header-wrapper",on:{click:e.toggleExpand}},[e.hasSlider?(t=e.expanded,n=e.toggleExpand,(0,eJ.h)(eE.Z,{class:["header-expand-arrow"],props:{name:t?"data-table-mobile-chevron-up":"data-table-mobile-chevron-down",svgIconSet:"set31"},nativeOn:{click:n}})):null,(0,eJ.h)("div",{class:"header-title"},r),function(e){let t=(0,a.FJ)(e)["mobile-header-actions"];if(t)return(0,eJ.h)("div",{class:"action-wrapper"},t({row:e.value}))}(e)]):null}(this),t=function(e){let t=(0,a.FJ)(e)["mobile-desc"];return t?(0,eJ.h)("div",{class:"desc-wrapper"},t({row:e.value})):null}(this),n=function(e){let t=e.columns.filter(e=>!1!==e.mobile),n=(0,eJ.h)("div",{class:["field-wrapper",`field-align-${e.currentFieldAlignment}`]},t.map((t,n)=>(function(e,t,n,i){let o=n.title;(0,m.isString)(n.patchColon)?o+=n.patchColon:!1!==n.patchColon&&(o+=t._i18n("common","pure_colon"));let r=[o];if(n.tip){let i=(0,a.FJ)(t)[`${n.field}.tip`];(0,m.isString)(n.tip)?r.push(e(ej.Z,{props:{size:"small",content:n.tip}})):i&&r.push(e(ej.Z,{props:{size:"small"},scopedSlots:{default:i}}))}return[e("div",{class:"mobile-label"},r),e("div",{class:"mobile-value"},[eX(t,n,i)])]})(eJ.h,e,t,n)));return(0,eJ.h)("div",{class:"content-wrapper"},[n])}(this),i=[e,t,n];if(this.isCollapsible){i=[e];let o=[];this.isSlideContainDescription?o.push(t):i.push(t),o.push(n);let r=this.expanded||!e?(0,eJ.h)("div",{},o):null;i.push((0,eJ.h)(eC.Z,{},[r]))}return(0,eJ.h)("div",{class:["mobile-row-card-wrapper",{collapsible:this.isCollapsible}],on:{click:()=>(0,s.Qy)(this,"rowclick",{index:this.index,row:this.value})}},i)}}),e1=n(16447);(0,eI.z)("data-table-header-menu",eD.Di);let e2="local",e5="__actionable_selection_mode__",e3="__file_list_selection_mode__",e8="selection-mode",e7=(0,v.defineComponent)({name:"DataTable",components:{vIcon:eE.Z,vTableCell:o,vTableHeaderCell:eY,vPagination:eu.Z,vSpin:ez.Z,vTreeNode:eb,vGroupNode:eA,vButton:eF.Z,vScrollbar:eO.Z,vMenu:ec.Z,vMenuItem:ed.Z,vColGroup:i,vSlideUpDownTransition:eC.Z,vMobileRowCard:e0,withTransition:(0,e1.Q)(v.Transition)},directives:{tooltip:ew.Z},mixins:[U,eo,E,el,eL.Z,(0,eN.J)("data-table"),(0,eN.J)("form-controller"),(0,eN.f)("form"),eH,eI.Z,(0,eW.W)("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:e2},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&&(0,f.N6)("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=>!!(0,m.isObject)(e)||-1!==["spin","refresh"].indexOf(e)},beforeSort:{type:Function,default:m.noop},beforeRefresh:{type:Function,default:m.noop},beforeSwitchPage:{type:Function,default:m.noop},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=>!!(0,m.isObject)(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:{innerHeader(){return this.getTableConfigValue("header")},innerHeaderHidden(){return!0===this.hideHeader?((0,f.Rn)("hideHeader","header",this),this.hideHeader):(0,m.isBoolean)(this.innerHeader)?this.innerHeader:this.innerHeader?.hidden??!1},headerBorder(){return(0,m.isObject)(this.innerHeader)?this.hasGroupHeader&&"hover"===this.innerHeader.border?((0,f.D8)("border hover mode is not supported in group header",this),"visible"):this.innerHeader.border:"visible"},innerSpinBinding(){if((0,m.isObject)(this.loadingType)){let{type:e,...t}=this.loadingType;return"spin"===e?(0,l.Z)({spinning:this.currentLoading,tip:this.innerLoadingText},t):{}}return{spinning:"spin"===this.loadingType&&this.currentLoading,tip:this.innerLoadingText}},innerPaginationLoading(){return(0,m.isObject)(this.loadingType)?"refresh"===this.loadingType.type&&((0,m.isDefined)(this.loadingType.spinning)?this.loadingType.spinning:this.currentLoading):"refresh"===this.loadingType&&this.currentLoading},innerLoadingText(){return this.loadingText??this._i18n("common","loading")},innerTotalTextFormat(){return(0,l.Z)({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(0,m.isObject)(this.isDraggable)?this.isDraggable?.showIcon!==M.NEVER:!!this.isDraggable},innerPaginationBreakpoint(){return this.paginationBreakpoint?this.paginationBreakpoint:(0,m.isBoolean)(this.mobileBreakpoint)?this.mobileBreakpoint:void 0},canSwitchPage(){return(0,m.isObject)(this.pagination)?!0===this.pagination.switchPage:this.pagination},autoPagination(){return!!(0,m.isObject)(this.pagination)&&"pagination"===this.pagination.data},innerSelectionMode(){return this.getTableConfigValue("selectionMode")},innerPageStart(){return(0,m.isDefined)(this.pageStart)?this.pageStart:(this.currentPageNum-1)*this.currentPageSize},innerPageEnd(){return(0,m.isDefined)(this.pageEnd)?this.pageEnd:this.currentPageNum*this.currentPageSize},innerSelectedCount(){return(0,m.isDefined)(this.selectedCount)?this.selectedCount:this.selectIndexes.size},innerFilteredCount(){return(0,m.isDefined)(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(0,m.isBoolean)(this.expandable)?this.expandable:(0,m.isObject)(this.expandable)&&"basic"===this.expandable.type},isAdvanceExpandable(){return(0,m.isObject)(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(){let e=e=>e.length<=0?null:e[e.length-1];if(this.isGroupHeadMode){let t=[],n=e(this.firstColumnRow);return t.push(n[this.fieldInfo.columnKey]),n._subColumns&&t.push(e(n._subColumns)[this.fieldInfo.columnKey]),t}return[e(this.currentVisibleColumns)[this.fieldInfo.columnKey]]},firstVisibleColumnId(){let e=this.currentVisibleColumns;return e.length<=0?null:e[0][this.fieldInfo.columnKey]},firstNonActionVisibleColumnId(){let e=this.currentVisibleColumns;if(e.length<=0)return null;for(let t=0,n=e.length;t<n;t++){let n=e[t];if(!n.action)return n[this.fieldInfo.columnKey]}return null},showEmptyText(){return!!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)for(let t of(this.isSelectionMode&&this.clearSelectedRows(),!0===this.groupTable&&this.groupingCategory(e),this.expandable&&this.setDefaultRowExpand(e),(0,v.nextTick)(()=>{this.buildCols({applyHeadersWidth:!0}),this.isDraggable&&this.buildDraggableCols()}),this.activeColumns))t.action&&this.setHeadState(t)}},currentFilteredData(){return this.getItems(this.current,{filter:this.filtered})},currentPagingData(){let e=this.currentFilteredData;if(this.autoPagination){let 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(0,m.isDefined)(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(){let e=this.currentVisibleColumns,t,n=0;for(n=0,t=e.length;n<t&&e[n].action;n++);return n},isMobile(){return this.$breakpointManager?(0,m.isDefined)(this.mobileBreakpoint)?(0,m.isString)(this.mobileBreakpoint)?this.$breakpointManager.lessAndEqThan(this.mobileBreakpoint):this.mobileBreakpoint:this.$breakpointManager.mobile:((0,f.D8)("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){(0,v.nextTick)(()=>{this.tryDefaultSelect()})},pageSize:{immediate:!0,handler(e){this.currentPageSize=e}},pageNum(e){this.currentPageNum=e},currentPageNum(e){this.$refs.scrollbar&&(this.$refs.scrollbar?.resetScrollTop(),(0,v.nextTick)(()=>{this.handleStickyPagination()})),(0,s.Qy)(this,"update:page-num",e),this.form&&this.resetField(),this.data&&this.loadData()},isMobile(e){e||(0,v.nextTick)(()=>{this.buildCols({applyHeadersWidth:!0,forceFit:!0})})},isEmpty(){(0,v.nextTick)(()=>{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&&(0,v.nextTick)(()=>{this.buildDraggableCols()})}},currentVisibleColumns:{immediate:!0,handler(e){this.columnMoveable&&(0,v.nextTick)(()=>{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){(0,m.isDefined)(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=(0,c.Z)(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 (0,v.nextTick)(),this.isDraggable&&this.buildDraggableCols(),this.columnMoveable&&this.buildMoveableCols(),this.disposedFns.push((0,eP.k)(this.$el,this.updateContainerWidth,this))},[r.mT.beforeUnmount](){for(let e of this.disposedFns)e()},methods:{getSlots(){return(0,a.FJ)(this)},useBodyRow(){return(0,m.isFunction)(this.defaultBodyRow)?this.defaultBodyRow():this.defaultBodyRow},getPureTableData(e){return e.map(e=>(0,d.Z)(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,(0,s.Qy)(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()=>{let{fields:t,autoLoading:n}=e;if(this.filtered=!0,t&&(this.filterFields=t),(0,m.isFunction)(this.onFilter)){n&&this.setLoading(!0);let t=await this.onFilter?.(e);(0,m.isArray)(t)?this.$data.$_filteredCurrent=t:this.$data.$_filteredCurrent=null,n&&this.setLoading(!1)}await (0,v.nextTick)(),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 (0,v.nextTick)(),this.virtualScroll&&this.renderVisibleItems({checkScrollSticky:!1,autoFocus:!1}),this.$refs.scrollbar?.update(),this.$refs.scrollbar?.resetScrollTop(),this.virtualScroll&&this.onScrollViewportChanged()},isColumnDisableSort:e=>g(e),isColumnSorting(e){return this.sortColumn===e},setCurrentColumns(e){for(let t of(this.currentColumns=e.slice(),this.currentColumns))t[this.fieldInfo.columnKey]=t[this.fieldInfo.columnKey]||(0,_.V)(),t.sort&&(this.sortColumn=t),t.action&&this.groupTable&&(t.disableSort=!0);if(this.isSelectionMode){let e=this.isFilesListSelectionMode?e3:e5,t=this.isFilesListSelectionMode?"checkbox":this.innerSelectionMode;this.selectionActionColumn=(0,l.Z)({[this.fieldInfo.columnKey]:e,action:t,field:e,className:e8,fieldClassName:e8,width:44,align:"center",disableSort:!0,hideMenuItem:!0},this.selectionModeColumn),this.currentColumns.splice(0,0,this.selectionActionColumn)}(0,v.nextTick)(()=>{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),{});let t=this.currentVisibleColumns.reduce((t,n)=>{if("group"===n.type){let i=e[n.field]||(e[n.field]={[this.fieldInfo.columnKey]:n.field,_isGroup:!0,_subColumns:[],disableSort:!0,align:"center",_rowSpan:1,_colSpan:0});Object.assign(i,n),t.push(i)}else if(n.groupKey){let t=e[n.groupKey]||(e[n.groupKey]={[this.fieldInfo.columnKey]:n.groupKey,_subColumns:[],disableSort:!0,_isGroup:!0,align:"center",_rowSpan:1,_colSpan:0});t._subColumns.push(n),t._colSpan++}else t.push({_isGroup:!1,...n,_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(0,a._Y)(this,"row-hover-action")},hasBasicExpandSlot(e){return(0,a._Y)(this,this.getBasicExpandSlot(e))},getAdvanceExpandSlot(e){return`${e[this.fieldInfo.expandableKey]}`},hasAdvanceExpandSlot(e){return!!e[this.fieldInfo.expandableKey]&&(0,a._Y)(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(){let e=this.getPureTableData(this.current);return!(0,m.isEqual)(this.$data.$_initData,e)},async updateContainerWidth(e){if(e.contentRect.width>0){let t=Math.floor(e.contentRect.width);await (0,v.nextTick)(),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),(0,s.Qy)(this,"local-sorted",{sortColumn:this.sortColumn,sortInfo:this.sortInfo,sortedData:this.current}))},sortData(e){if(!this.sortColumn||!this.sortColumn.sort)return;let t=this.sortColumn,n=(this.localSortFunc?this.localSortFunc(t):null)||((e,n)=>{let i,o,r=this.isActionDisabled(e,t),s=this.isActionDisabled(n,t);if(t.fn)i=t.fn(e),o=t.fn(n);else if(t.getHtml)i=t.getHtml(e),o=t.getHtml(n);else if(this.groupTable){let r=this.categoriesMap[e[this.groupInfo.category]]||[],s=this.categoriesMap[n[this.groupInfo.category]]||[];i=this.getCellValue(t.field,e,r.indexOf(e),e[this.groupInfo.category]),o=this.getCellValue(t.field,n,s.indexOf(n),n[this.groupInfo.category])}else i=this.getCellValue(t.field,e,this.current.indexOf(e)),o=this.getCellValue(t.field,n,this.current.indexOf(n));if(t.action&&(!r||!s)){if(r)return"ASC"===t.sort?-1:1;if(s)return"ASC"===t.sort?1:-1}if(i!==o){if("DESC"===t.sort)return i<o?1:-1;if("ASC"===t.sort)return i<o?-1:1}return 0});e.sort((e,t)=>n(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;let{selectionItem:e,lastSelectionItem:t,selectionItems:n}=this.storeSelections;this.mappingSelectionByKey(e,t,n,this.autoScrollVisibleWhenSort)},mappingSelectionByKey(e,t,n,i){this.lastSelectIndex=this.restoreSelectionByKey(t),this.selectIndexes=new Set(n.map(e=>this.restoreSelectionByKey(e))),this.selectIndexes.delete(-1),-1!==this.selectIndex&&i&&this.ensureRowVisible(this.selectIndex)},restoreSelectionByKey(e){if(!e)return -1;if(this.groupTable){let 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){(0,f.Rn)("isCustomSort and isLocalSort","sortMethod",this),!0===this.isCustomSort?(0,s.Qy)(this,"sort",{sortColumn:this.sortColumn,sortInfo:this.sortInfo}):this.isLocalSort?this.localSort():this.loadData()},onSort(e){(0,s.Qy)(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&&(0,f.N6)("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?(0,s.Qy)(this,"sort",{sortColumn:this.sortColumn,sortInfo:this.sortInfo}):this.sortMethod===e2?this.localSort():this.loadData(),!0===this.groupTable&&this.groupingCategory(this.current),this.restoreSelections()}},setCurrentSort(e){if(!e)return;let t="ASC";for(let t of this.activeColumns)e!==t&&(0,h.t)(t,"sort",null);switch(e.sort){case"ASC":t="DESC";break;case"DESC":t="ASC";break;default:t=e.defaultSortOrder??"ASC"}(0,h.t)(e,"sort",t),this.sortInfo[this.sortInfoKey.by]=e.field,this.sortInfo[this.sortInfoKey.order]=t,this.sortColumn=e},getSortInfo(){for(let 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(){let e=(0,u.Z)(this.getPureTableData(this.current));this.$data.$_initData=e},resetField(){(0,s.Qy)(this,"update:current-data",(0,u.Z)(this.$data.$_initData)),this.form?.instance?.validate()},resetItems(e){(0,m.isArray)(e)||(e=[e]);let t=e.map(e=>this.$data.$_initData.findIndex(t=>t[this.fieldInfo.itemKey]===e)),n=(0,u.Z)(this.getPureTableData(this.current));for(let e of t)n[e]=(0,u.Z)(this.$data.$_initData[e]);(0,s.Qy)(this,"update:current-data",n),this.form?.instance?.validate()},getDirtyRows(){let e=this.getPureTableData(this.current),t=[];for(let[n,i]of this.$data.$_initData.entries())(0,m.isEqual)(i,e[n])||t.push(e[n]);return t},loadData(){if(!this.data)return;this.setLoading(!0);let 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();let t={items:[],total:-1};this.paramsName.results&&(t.items=(0,m.getPropByString)(e,this.paramsName.results)),this.paramsName.total&&(t.total=(0,m.getPropByString)(e,this.paramsName.total)),t.total=t.total||t.items.length,this.setData(t.items,t.total),this.setTotal(t.total),(0,s.Qy)(this,"dataloaded",this.current.slice()),this.clearSelectedRows(),this.setLoading(!1)}).catch(e=>{(0,f.N6)(e),this.setLoading(!1)})},groupingCategory(e){let t=Object.create(null);for(let n of e){let e=n[this.groupInfo.category];t[e]||(t[e]=[]),t[e].push(n)}let n=Object.keys(t);this.categoriesMap=t,this.categories=n.map(e=>({key:e,enableState:!1,enableIndeterminate:!1,items:t[e]}))},isSelectionModeColumn(e){return e[this.fieldInfo.columnKey]===e5||e[this.fieldInfo.columnKey]===e3},headAction(e){let t=!e.enableState;if((0,h.t)(e,"enableState",t),(0,h.t)(e,"enableIndeterminate",!1),this.current){if(this.isSelectionModeColumn(e))t?this.selectAll():this.clearSelectedRows();else for(let n of this.getAllRange({filter:this.filtered,pagination:!!this.autoPagination&&{pageNum:this.currentPageNum,pageSize:this.currentPageSize}})){let i=this.getRow(n);this.isActionDisabled(i,e)||this.isActionHidden(i,e)||(i[e.field]=t)}}if(this.groupTable)for(let t of this.categories)this.$refs.groupNode&&this.$refs.groupNode.setCategoryEnableState(e,t);(0,s.Qy)(this,"head-action",{column:e})},setHeadState(e){let t,n=!1,i=!1;if(this.groupTable?t=this.categories.reduce((e,t,n)=>e=e.concat(t.items.map((e,n)=>[`${t.key}:${n}`,e])),[]):this.current&&(t=this.current.entries()),t){for(let[o,r]of t)this.isActionDisabled(r,e)||this.isActionHidden(r,e)||(!0===this.getCellValue(e.field,r,o)?n=!0:i=!0);n&&i?(0,h.t)(e,"enableIndeterminate",!0):(n?(0,h.t)(e,"enableState",!0):(0,h.t)(e,"enableState",!1),(0,h.t)(e,"enableIndeterminate",!1))}},toggleColumnDisplayState(e,t){let n=this.getColumnByField(e,"all");if((0,h.t)(n,"hide",!t),(0,s.Qy)(this,"column-display",{column:n,state:t}),this.isAllColumnHide)return(0,h.t)(n,"hide",!1),void(0,s.Qy)(this,"column-display",{column:n,state:!1});(0,v.nextTick)(()=>{this.buildCols({applyHeadersWidth:!0,forceFit:!0,omitColumns:[n[this.fieldInfo.columnKey]]})})},itemAction(e,t,n,i,o,r){n=r?`${r.key}:${n}`:n,this.isSelectionModeColumn(o)?(this.clickRow(n,t,{isCtrlMode:!0}),(0,v.nextTick)(()=>{this.setHeadState(o)})):(i[o.field]=!i[o.field],this.setHeadState(o)),(0,s.Qy)(this,"action",{index:n,row:i,column:o,category:r})},rowDblClick(e,t,n){this.expandable&&this.toggleRowExpand(t),(0,s.Qy)(this,"rowdblclick",e,t,n)},rowSelectionChange(e){e=Array.from(e),(0,s.Qy)(this,"selected-change",{indexes:e,rows:this.getRows(e)}),this.selectionActionColumn&&(0,v.nextTick)(()=>{this.setHeadState(this.selectionActionColumn),this.groupTable&&this.$refs.groupNode&&this.$refs.groupNode.setCategoriesEnableState(this.selectionActionColumn)})},getRowClasses(e,t){let n=[];return this.getRowClass&&(n=n.concat(this.getRowClass(e,t))),this.getDraggingClass&&(n=n.concat(this.getDraggingClass(e))),this.getLandedClass&&(n=n.concat(this.getLandedClass(e))),this.isAdvanceExpandable&&n.push("advance"),this.expandState[t[this.fieldInfo.rowKey]]&&n.push("expanded"),n},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,n,i){let o=[];return 0===n&&o.push("cell-first"),this.showDraggableIndicator&&(o.push("is-draggable"),i&&i[this.fieldInfo.rowInfo]&&!1===i[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 n=this.getCellClasses(-1,e,t);return(e.className&&n.push(e.className),this.isLastVisibleCell(e)&&n.push("last-th-cell"),this.isColumnDisableSort(e)&&n.push("disable-sort"),e.sort&&n.push("sorting"),e._isGroup)?n.push("group"):e.groupKey&&this.isLastVisibleGroupSecondRowCell(e)&&n.push("last-th-visible-sec-row-cell"),n},hasExpandIcon(e){return this.expandable&&e[this.fieldInfo.columnKey]===this.firstNonActionVisibleColumnId},getContentCellClasses(e,t,n,i){let o=this.getCellClasses(e,t,n,i),r=this.isLastVisibleCell(t);if(t.fieldClassName&&o.push(t.fieldClassName),r&&o.push("last-td-cell"),this.hasExpandIcon(t)&&o.push("has-expand-icon"),i[this.fieldInfo.rowInfo]&&i[this.fieldInfo.rowInfo].customClasses){let e=i[this.fieldInfo.rowInfo].customClasses;(0,m.isObject)(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),(0,s.Qy)(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]:[];for(let t of(this.$data.$_hasData=!0,e=e.slice(),(0,m.isDefined)(this.$data.$_initData)||(this.$data.$_initData=(0,u.Z)(this.getPureTableData(e))),e))t[this.fieldInfo.rowKey]=t[this.fieldInfo.itemKey]||(0,_.V)();this.current=e,this.hoverIndex>=this.current.length&&(this.hoverIndex=null),(0,v.nextTick)(()=>{this.tryDefaultSelect()})},tryDefaultSelect(){!1===this.defaultSelected||this.isEmpty||this.defaultSelect()},handleStickyPagination(){if(!this.isStickyPagination)return;let e=this.$refs.scrollbar?.getScrollTop()??0,t=this.$refs.scrollbar?.isReachTop()??!0,n=Math.abs(e-this.$data.$_paginationScroll);t?(this.paginationAnimationShow=!0,(0,s.Qy)(this,"pagination-animate-show",!0,{action:"scroll"})):n>20&&(e>this.$data.$_paginationScroll?(this.paginationAnimationShow=!1,(0,s.Qy)(this,"pagination-animate-show",!1,{action:"scroll"})):(this.paginationAnimationShow=!0,(0,s.Qy)(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,n,i,o){(0,s.Qy)(this,"cell-click",e,t,n,i,o)},onMobileRowClick(e){(0,s.Qy)(this,"rowclick",e),(0,s.Qy)(this,"on-rowclick",e)},onRowClick(e,t){let{result:n,payload:i}=this.clickRow(e,t);n&&(0,s.Qy)(this,"on-rowclick",i)},onCellContextMenu(e,t,n,i,o){this.isItemSelected({index:n})||this.clickRow(n,o);let r=Array.from(this.selectIndexes);(0,s.Qy)(this,"contextmenu",{indexes:r,rows:this.getRows(r),event:o}),(0,s.Qy)(this,"cell-contextmenu",e,t,n,i,o)},getHeaderCell(e){return this.$refs[`header-${e}`]?.[0]?.$el},getCell(e,t){let n=this.$refs[`cell-${e}-${t}`];return n&&n[0]},focusActiveCell(){let e;let{row:t,col:n}=this.activeIndexes;return!(t<-1)&&!(this.current.length<=t)&&!(n<0)&&!(this.currentColumns.length<=n)&&(e=-1===t?this.getHeaderCell(n):this.getCell(t,n),(0,p.focusWithoutScroll)(e),e===document.activeElement)},setActiveCell(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=null;return!(t<-1||this.current.length<=t)&&(i=-1===t?this.getHeaderCell(n):this.getCell(t,n),!(n<0||this.currentColumns.length<=n)&&(this.activeIndexes.prevCell&&this.activeIndexes.prevCell.setAttribute("tabindex","-1"),i&&i.setAttribute("tabindex","0"),this.activeIndexes={row:t,col:n,prevCell:i},!0))},setActiveCellWithFocus(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;if(this.setActiveCell(e,t,n))return this.onRowClick(t,e),this.focusActiveCell(e)},selectCellByKeydown(e){if(this.groupTable)return void(this.$refs.groupNode&&this.$refs.groupNode.selectCellByKeydown(e));if(!(0,N.Wl)(e))return;let{row:t,col:n}=this.activeIndexes;return e.preventDefault(),(0,N.Tx)(e)?this.setActiveCellWithFocus(e,t-1,n):(0,N.BU)(e)?this.setActiveCellWithFocus(e,t+1,n):(0,N.F$)(e)?this.setActiveCellWithFocus(e,t,n-1):(0,N.oQ)(e)?this.setActiveCellWithFocus(e,t,n+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){let n;return this.isSelectionModeColumn(t)?e[this.fieldInfo.rowInfo]&&e[this.fieldInfo.rowInfo].unselectable:(n=(0,m.isObject)(e.disabled)?e.disabled[t.field]:e.disabled,this.isItemDisabled(e)||n)},isActionHidden:(e,t)=>!!(0,m.isObject)(e.hidden)&&e.hidden[t.field],updateItem(e,t){return n=>{this.current[e][t]=n}},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=>(0,m.isString)(e.tip)?e.tip:"",getHeaderTipSlotName:e=>`${e.field||e.fieldKey}.tip`,showHeaderTip:e=>!!e.tip,getPaginationPrefixSlot(){return(0,a.XR)("pagination-",this)},setDefaultRowExpand(e){for(let t of e)t[this.fieldInfo.rowInfo]&&t[this.fieldInfo.rowInfo].defaultExpand&&this.setRowExpand(t,!0)},setRowExpand(e,t){(0,h.t)(this.expandState,e[this.fieldInfo.rowKey],t)},toggleRowExpand(e){let t=this.expandState[e[this.fieldInfo.rowKey]];this.setRowExpand(e,!t)},getCellHidden(e,t){if((0,m.isObject)(t.hidden))return t.hidden[e.field]},getCellValue(e,t,n,i){return e===e5||e===e3?(n=i?`${i}:${n}`:n,this.selectIndexes.has(n)):t[e]},getCellTooltip(e,t){let n;return!(!e.tooltip||e.useSlot||this.isItemDisabled(t))&&(n=(0,m.isFunction)(e.tooltip)?e.tooltip.apply(this,[t]):e.fn?e.fn(t,this):t[e.field],(0,m.isObject)(n)?{...this.cellTooltipDefaultProps,...n}:{...this.cellTooltipDefaultProps,content:n})},setPageSize(e){this.currentPageSize=e,(0,s.Qy)(this,"update:page-size",e)},setCurrentPageNum(e){this.currentPageNum=e,(0,s.Qy)(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,n,i)=>{let o=!0;if(t&&this.filterFields)for(let t of this.filterFields){for(let[e,i]of(o=!0,Object.entries(t)))o=o&&i.test(n[e]);if(o)return e.push({index:i,item:n}),e}else e.push({index:i,item:n});return e},[])},onScrollEvent(e,t){(0,s.Qy)(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"}}}),e6={key:0,class:"cover-wrapper"},e4=["aria-rowcount","aria-colcount"],e9=["syno-id"],te={key:0,role:"row",class:"second-column-row"},tt={class:"hd-menu-btn-wrapper"},tn={key:0,class:"empty-wrapper"},ti={key:1,class:"mobile-body"},to=["onClick","onDblclick","onMouseover"],tr=["colspan"],ts={key:0,class:"expandable-slide-up-down"};var ta=(0,ep.Z)(e7,[["render",function(e,t,n,i,o,r){let s=(0,v.resolveComponent)("v-col-group"),a=(0,v.resolveComponent)("v-table-header-cell"),l=(0,v.resolveComponent)("v-icon"),c=(0,v.resolveComponent)("v-menu-item"),d=(0,v.resolveComponent)("v-menu"),u=(0,v.resolveComponent)("v-button"),h=(0,v.resolveComponent)("v-group-node"),p=(0,v.resolveComponent)("v-mobile-row-card"),f=(0,v.resolveComponent)("v-table-cell"),m=(0,v.resolveComponent)("v-slide-up-down-transition"),g=(0,v.resolveComponent)("v-scrollbar"),y=(0,v.resolveComponent)("v-pagination"),b=(0,v.resolveComponent)("with-transition"),w=(0,v.resolveComponent)("v-spin"),C=(0,v.resolveDirective)("tooltip"),S=(0,v.resolveDirective)("syno-id");return(0,v.openBlock)(),(0,v.createBlock)(w,(0,v.mergeProps)({class:`${e.prefix}-wrapper`},e.innerSpinBinding),{"spin-inner":(0,v.withCtx)(()=>[(0,v.renderSlot)(e.$slots,"spin-inner")]),default:(0,v.withCtx)(()=>[e.hasCover?((0,v.openBlock)(),(0,v.createElementBlock)("div",e6,[(0,v.renderSlot)(e.$slots,"cover")])):(0,v.createCommentVNode)("",!0),(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createElementBlock)("div",{ref:"container",role:"grid",style:(0,v.normalizeStyle)(e.containerStyle),class:(0,v.normalizeClass)(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?(0,v.createCommentVNode)("",!0):((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:0,ref:"table-header",class:(0,v.normalizeClass)(e.tableHeaderCls)},[(0,v.createElementVNode)("table",{ref:"theader","syno-id":`${e.synoId}-header`,role:"none"},[(0,v.createVNode)(s,{ref:"header-col-group",columns:e.activeColumns,"column-id-field":e.fieldInfo.columnKey},null,8,["columns","column-id-field"]),(0,v.createElementVNode)("thead",{class:(0,v.normalizeClass)(e.prefix+"-thead"),role:"none"},[(0,v.createElementVNode)("tr",{role:"row",class:(0,v.normalizeClass)(["row",e.hasGroupHeader?"first-column-row":""])},[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.isGroupHeadMode?e.firstColumnRow:e.currentVisibleColumns,(t,n)=>((0,v.openBlock)(),(0,v.createElementBlock)(v.Fragment,null,[t.hide?(0,v.createCommentVNode)("",!0):((0,v.openBlock)(),(0,v.createBlock)(a,{key:t[e.fieldInfo.columnKey],ref_for:!0,ref:"header-"+n,"column-key":t[e.fieldInfo.columnKey],column:t,cindex:n,"syno-id":`${e.synoId}-th-${n}`,class:(0,v.normalizeClass)(e.getHeaderCellClasses(t,n)),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:n=>e.headAction(t),onSort:n=>e.onSort(t),onFocus:t=>e.setActiveCell(t,-1,n),onMousedown:i=>e.onHeaderCellMouseDown(t,`${t[e.fieldInfo.columnKey]}`,n,i),onMousemove:n=>e.onHeaderCellMouseMove(t,`${t[e.fieldInfo.columnKey]}`,n)},(0,v.createSlots)({_:2},[(0,v.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,v.withCtx)(t=>[(0,v.renderSlot)(e.$slots,n,(0,v.mergeProps)({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?((0,v.openBlock)(),(0,v.createElementBlock)("tr",te,[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.secondColumnRow,(t,n)=>((0,v.openBlock)(),(0,v.createElementBlock)(v.Fragment,null,[t.hide?(0,v.createCommentVNode)("",!0):((0,v.openBlock)(),(0,v.createBlock)(a,{key:t[e.fieldInfo.columnKey],"column-key":t[e.fieldInfo.columnKey],column:t,cindex:n,"syno-id":`${e.synoId}-th-${n}`,class:(0,v.normalizeClass)(e.getHeaderCellClasses(t,n)),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:n=>e.headAction(t),onSort:n=>e.onSort(t),onFocus:t=>e.setActiveCell(t,-1,n),onMousedown:i=>e.onHeaderCellMouseDown(t,`${t[e.fieldInfo.columnKey]}`,n,i),onMousemove:n=>e.onHeaderCellMouseMove(t,`${t[e.fieldInfo.columnKey]}`,n)},(0,v.createSlots)({_:2},[(0,v.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,v.withCtx)(t=>[(0,v.renderSlot)(e.$slots,n,(0,v.mergeProps)({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))])):(0,v.createCommentVNode)("",!0)],2)],8,e9),(0,v.createElementVNode)("div",tt,[e.isHdMenuShowInStickyMode?((0,v.openBlock)(),(0,v.createBlock)(u,{key:0,"syno-id":`${e.synoId}-show-menu`,class:(0,v.normalizeClass)(e.prefix+"-header-hd-menu"),"menu-align":"tr->br",type:"styleless","dropdown-offset":[2,0],"menu-constrain-height":""},{icon:(0,v.withCtx)(()=>[(0,v.createVNode)(l,{name:"data-table-header-menu",class:"hd-menu-icon","svg-icon-set":"set16"})]),dropdown:(0,v.withCtx)(t=>[(0,v.createVNode)(d,{class:"v-table__menu","is-open":t.menuShow,width:"auto","syno-id":`${e.synoId}-menu`},{default:(0,v.withCtx)(()=>[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.hdMenuItems,t=>((0,v.openBlock)(),(0,v.createBlock)(c,{key:t[e.fieldInfo.columnKey],title:t.title?t.title:"",type:"checkbox",selected:!t.hide,"syno-id":`${e.synoId}-menu-item`,onChanged:n=>e.toggleColumnDisplayState(t.field,n)},null,8,["title","selected","syno-id","onChanged"]))),128))]),_:2},1032,["is-open","syno-id"])]),_:1},8,["syno-id","class"])):(0,v.createCommentVNode)("",!0)])],2)),e.isEmpty||e.isEmptyWithFilteredData?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:1,class:(0,v.normalizeClass)(e.prefix+"-empty-body")},[(0,v.renderSlot)(e.$slots,e.getEmptySlotName(),{},()=>[e.showEmptyText?((0,v.openBlock)(),(0,v.createElementBlock)("div",tn,(0,v.toDisplayString)(e.emptyText),1)):(0,v.createCommentVNode)("",!0)])],2)):((0,v.openBlock)(),(0,v.createBlock)(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-top",t)),onNotReachBottom:t[4]||(t[4]=t=>e.onScrollEvent("not-reach-bottom",t)),onNotReachTop:t[5]||(t[5]=t=>e.onScrollEvent("not-reach-top",t))},{default:(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",{ref:"content",class:(0,v.normalizeClass)(e.contentClass)},[e.groupTable?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:0,class:(0,v.normalizeClass)(e.prefix+"-body")},[(0,v.createVNode)(h,{ref:"groupNode","syno-id":`${e.synoId}-gn`,"multiple-selected":e.innerMultipleSelected,categories:e.categories,columns:e.currentColumns,"group-info":e.mergeGroupInfo},(0,v.createSlots)({_:2},[(0,v.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,v.withCtx)(t=>[(0,v.renderSlot)(e.$slots,n,(0,v.normalizeProps)((0,v.guardReactiveProps)(t)))])}))]),1032,["syno-id","multiple-selected","categories","columns","group-info"])],2)):e.isMobile?((0,v.openBlock)(),(0,v.createElementBlock)("div",ti,[(0,v.createElementVNode)("div",{role:"none",style:(0,v.normalizeStyle)(e.tableOffsetStyle),onMouseleave:t[0]||(t[0]=function(){return e.onMouseLeave&&e.onMouseLeave(...arguments)})},[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.currentVisible,t=>{let{item:n,index:i}=t;return(0,v.openBlock)(),(0,v.createBlock)(p,{key:n[e.fieldInfo.rowKey],columns:e.activeColumns,value:n,index:i,"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},(0,v.createSlots)({_:2},[(0,v.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,v.withCtx)(t=>[(0,v.renderSlot)(e.$slots,n,(0,v.mergeProps)({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?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:0,style:(0,v.normalizeStyle)(e.virtualBodyStyle)},null,4)):(0,v.createCommentVNode)("",!0)])):((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:2,ref:"table-body",class:(0,v.normalizeClass)(e.prefix+"-body")},[(0,v.createElementVNode)("table",{ref:"tbody",role:"none",style:(0,v.normalizeStyle)(e.tableOffsetStyle),onMouseleave:t[1]||(t[1]=function(){return e.onMouseLeave&&e.onMouseLeave(...arguments)})},[(0,v.createVNode)(s,{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"]),(0,v.withDirectives)((0,v.createElementVNode)("tbody",{class:(0,v.normalizeClass)(e.prefix+"-tbody"),role:"none"},[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.currentVisible,t=>{let{item:n,index:i}=t;return(0,v.openBlock)(),(0,v.createElementBlock)(v.Fragment,{key:n[e.fieldInfo.rowKey]},[(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createBlock)((0,v.resolveDynamicComponent)(e.useBodyRow()),{ref_for:!0,ref:`row-${i}`,"syno-id":`${e.synoId}-tr-${i}`,item:n,index:i,class:(0,v.normalizeClass)(e.getRowClasses(i,n)),role:"row","aria-rowindex":i+1,onMouseover:t=>e.hoverRow(i),onClick:t=>e.onRowClick(i,t),onDblclick:t=>e.rowDblClick(i,n,t)},{default:(0,v.withCtx)(()=>[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.activeColumns,(t,o)=>((0,v.openBlock)(),(0,v.createBlock)(f,{ref_for:!0,ref:`cell-${i}-${o}`,key:t[e.fieldInfo.columnKey],role:"cell","syno-id":`${e.synoId}-td-${n[e.fieldInfo.rowKey]}-${t[e.fieldInfo.columnKey]}`,value:e.getCellValue(t.field,n,i),item:n,class:(0,v.normalizeClass)(e.getContentCellClasses(i,t,o,n)),tabindex:"-1","aria-colindex":o+1,"field-key":t.fieldKey,index:i,cindex:o,expandable:e.isBasicExpandable,"has-expand-slot":e.hasBasicExpandSlot(t),"expand-slot":e.getBasicExpandSlot(t),expand:e.expandState[n[e.fieldInfo.rowKey]],"show-expand-icon":e.hasExpandIcon(t),action:t.action,"is-action-disabled":e.isActionDisabled(n,t),tooltip:e.getCellTooltip(t,n),"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(i,t.field),"initial-value":e.getInitialValue(i,t.field),column:t,hidden:e.getCellHidden(t,n),"is-draggable":e.isDraggable,onFocus:t=>e.setActiveCell(t,i,o),onClick:r=>e.onCellClick(n,t,i,o,r),onContextmenu:r=>e.onCellContextMenu(n,t,i,o,r),onActionChange:(o,r)=>e.itemAction(o,r,i,n,t),onToggleExpand:t=>e.toggleRowExpand(n)},(0,v.createSlots)({_:2},[(0,v.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,v.withCtx)(t=>[(0,v.renderSlot)(e.$slots,n,(0,v.mergeProps)({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()?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:0,class:(0,v.normalizeClass)(e.rowHoverActionCls(n[e.fieldInfo.rowKey]))},[(0,v.renderSlot)(e.$slots,"row-hover-action",{activate:e.activateHoverAction(n),deactivate:e.deactivateHoverAction(n),item:n})],2)):(0,v.createCommentVNode)("",!0)]),_:2},1064,["syno-id","item","index","class","aria-rowindex","onMouseover","onClick","onDblclick"])),[[C,e.getRowTooltip(n)]]),e.isAdvanceExpandable?((0,v.openBlock)(),(0,v.createElementBlock)("tr",{key:`${n[e.fieldInfo.rowKey]}-expandable`,ref_for:!0,ref:`expandable-row-${i}`,class:(0,v.normalizeClass)(["expandable-row",e.getAdvanceExpandedRowClasses(i,n)]),onClick:t=>e.onRowClick(i,t),onDblclick:t=>e.rowDblClick(i,n,t),onMouseover:t=>e.hoverRow(i)},[((0,v.openBlock)(!0),(0,v.createElementBlock)(v.Fragment,null,(0,v.renderList)(e.indentExpandCellCount,e=>((0,v.openBlock)(),(0,v.createElementBlock)("td",{key:e,class:"indent-cell"}))),128)),(0,v.createElementVNode)("td",{class:"expandable-cell",colspan:e.currentVisibleColumns.length-e.indentExpandCellCount},[(0,v.createVNode)(m,{"syno-id":`${e.synoId}-slide-up-down`},{default:(0,v.withCtx)(()=>[e.expandState[n[e.fieldInfo.rowKey]]?((0,v.openBlock)(),(0,v.createElementBlock)("div",ts,[e.hasAdvanceExpandSlot(n)?(0,v.renderSlot)(e.$slots,e.getAdvanceExpandSlot(n),{key:0,item:n}):(0,v.renderSlot)(e.$slots,"advance-expand-default",{key:1,item:n})])):(0,v.createCommentVNode)("",!0)]),_:2},1032,["syno-id"])],8,tr)],42,to)):(0,v.createCommentVNode)("",!0)],64)}),128))],2),[[v.vShow,!e.isEmpty]])],36),e.virtualScroll?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:0,style:(0,v.normalizeStyle)(e.virtualBodyStyle)},null,4)):(0,v.createCommentVNode)("",!0)],2))],2)]),_:3},8,["active-adaptive-scrollbar","onScroll","onSwipe","onTouchstart","onTouchend"]))],46,e4)),[[S]]),(0,v.createVNode)(b,{wrap:e.isStickyPagination,name:"slide"},{default:(0,v.withCtx)(()=>[e.havePagingBar?(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createBlock)(y,{key:0,ref:"pagination","mobile-breakpoint":e.innerPaginationBreakpoint,class:(0,v.normalizeClass)(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())},(0,v.createSlots)({_:2},[(0,v.renderList)(e.getPaginationPrefixSlot(),t=>{let{name:n,exposeName:i}=t;return{name:n,fn:(0,v.withCtx)(t=>[(0,v.renderSlot)(e.$slots,i,(0,v.normalizeProps)((0,v.guardReactiveProps)(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"])),[[v.vShow,e.animateShowPagingBar]]):(0,v.createCommentVNode)("",!0)]),_:3},8,["wrap"])]),_:3},16,["class"])}]])},57578:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var i=n(99432);let o=(0,n(53300).e)({components:[i.Z]})},34311:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}}),n(50401),n(49549),n(15773);var i=n(69092),o=n(30782),r=n(80036),s=n(29151),a=n(90946),l=n(1305),c=n(52952),d=n(25217),u=n(11747);let h=(0,d.defineComponent)({name:"DataView",components:{vScrollbar:o.Z},mixins:[(0,c.eu)({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((0,r.isArray)(e)){if(this.singleSelect&&e.length>1)return(0,s.D8)("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)=>{(0,r.isDefined)(e[this.idProperty])||(e[this.idProperty]=t)})},methods:{onSelectionChanged(){let e=new Map;for(let[t,n]of this.items.entries())e.set(this.getItemValue(n),t);let t=Array.from(this.selectedItems).map((t,n)=>e.get(t));(0,i.Qy)(this,"selectionchange",this.singleSelect?t?.[0]:t),(0,i.Qy)(this,"selected-change",Array.from(this.selectedItems))},isMultipleSelected(){return!this.singleSelect},clearSelectedRows(){this.clearSelection(),(0,i.Qy)(this,"rowclear")},onContextMenu(e,t,n){(0,i.Qy)(this,"contextmenu",e,t,n)},getItemValue(e){return e[this.idProperty]},isItemDisabled:e=>e.disabled,onKeyDown(e){(0,a.Tx)(e)||(0,a.F$)(e)?(e.preventDefault(),e.stopPropagation(),this.selectPrev(e)):((0,a.BU)(e)||(0,a.oQ)(e))&&(e.preventDefault(),e.stopPropagation(),this.selectNext(e))},selectRange(e,t){let{keepSelection:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.selectItemsRange(e,t,this.items,{keepSelection:n})},selectPrev(e){let t=this.lastSelectRangeIndex-1;if(t<0)return;let n=this.items[t];this.clickItem(e,t,n),this.focusItem(n[this.idProperty])},selectNext(e){let t=this.lastSelectRangeIndex+1;if(t>this.items.length-1)return;let n=this.items[t];this.clickItem(e,t,n),this.focusItem(n[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,n){this.onClickItem(e,t,n)},focusItem(e){let t=e[this.idProperty];this.$refs[`item-${t}`]?.[0]?.focus()},onFocusItem(e){let t=e[this.idProperty],n=this.$refs[`item-${t}`]?.[0];this.focusInner&&(0,l.fo)(n)}}}),p=["syno-id","onClick","onFocus","onContextmenu"];var f=(0,u.Z)(h,[["render",function(e,t,n,i,o,r){let s=(0,d.resolveComponent)("v-scrollbar"),a=(0,d.resolveDirective)("syno-id");return(0,d.withDirectives)(((0,d.openBlock)(),(0,d.createElementBlock)("div",{class:(0,d.normalizeClass)(e.prefix)},[(0,d.renderSlot)(e.$slots,"outer-spin"),(0,d.renderSlot)(e.$slots,"before"),(0,d.createElementVNode)("div",{class:(0,d.normalizeClass)(`${e.prefix}-body`)},[(0,d.createVNode)(s,(0,d.mergeProps)({ref:"scrollbar"},e.scrollbar),{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,"inner-spin"),(0,d.createElementVNode)("div",{ref:"content",tabindex:"0",onKeydown:t[0]||(t[0]=t=>e.onKeyDown(t))},[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.items,(t,n)=>((0,d.openBlock)(),(0,d.createElementBlock)("div",{key:t[e.idProperty],ref_for:!0,ref:`item-${t[e.idProperty]}`,"syno-id":`${e.synoId}-${n}`,class:(0,d.normalizeClass)(e.getItemCls(t)),tabindex:"-1",onClick:i=>e.onClickItem(i,n,t),onFocus:n=>e.onFocusItem(t),onContextmenu:i=>e.onContextMenu(t,n,i)},[(0,d.renderSlot)(e.$slots,"item",{item:t,index:n,disabled:t.disabled})],42,p))),128))],544)]),_:3},16)],2),(0,d.renderSlot)(e.$slots,"after")],2)),[[a]])}]])},93939:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var i=n(34311);let o=(0,n(53300).e)({components:[i.Z]})},8085:function(e,t,n){"use strict";n.d(t,{KZ:function(){return r},U9:function(){return a},tC:function(){return s}});var i=n(31005),o=n(51028);function r(e,t,n){return s(e,t)+" "+a(e,n)}function s(e,t){if(!(e instanceof Date))throw"need to be Date Object";let n=(0,i.uk)(t);return(0,o.Z)(e,n)}function a(e,t){if(!(e instanceof Date))throw"need to be Date Object";let n=(0,i.uk)(t);return(0,o.Z)(e,n)}},68712:function(e,t,n){"use strict";n.d(t,{Z:function(){return er}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(879),n(91234),n(15773);var i=n(92128),o=n(69092),r=n(61644),s=n(14198),a=n(79237),l=n(61036),c=n(36659),d=n(60853),u=n(84593),h=n(30272),p=n(97006),f=n(67052),m=n(80432),g=n(81238),y=n(20832),v=n(59071),b=n(61464);function w(e,t){(0,v.Z)(2,arguments);var n=(0,y.Z)(e),i=(0,b.Z)(t);return isNaN(i)?new Date(NaN):(i&&n.setDate(n.getDate()+i),n)}function C(e,t){(0,v.Z)(2,arguments);var n=(0,m.Z)(e),i=(0,m.Z)(t);return n.getTime()===i.getTime()}function S(e,t){(0,v.Z)(2,arguments);var n=(0,y.Z)(e).getTime(),i=(0,y.Z)(t.start).getTime(),o=(0,y.Z)(t.end).getTime();if(!(i<=o))throw RangeError("Invalid interval");return n>=i&&n<=o}var k=n(79745);function x(e,t){(0,v.Z)(1,arguments);var n,i,o,r,s,a,l,c,d=(0,k.j)(),u=(0,b.Z)(null!==(n=null!==(i=null!==(o=null!==(r=null==t?void 0:t.weekStartsOn)&&void 0!==r?r:null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==i?i:null===(l=d.locale)||void 0===l?void 0:null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(u>=0&&u<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=(0,y.Z)(e),p=h.getDay();return h.setDate(h.getDate()-((p<u?7:0)+p-u)),h.setHours(0,0,0,0),h}var B=n(61836);function T(e,t){(0,v.Z)(2,arguments);var n=(0,y.Z)(e),i=(0,b.Z)(t);if(isNaN(i))return new Date(NaN);if(!i)return n;var o=n.getDate(),r=new Date(n.getTime());return(r.setMonth(n.getMonth()+i+1,0),o>=r.getDate())?r:(n.setFullYear(r.getFullYear(),r.getMonth(),o),n)}var E=n(62088);let I=new Date(864e11),D=new Date(-864e11);var V=n(80036),N=n(37153),_=n(7912),M=n(21812),$=n(83871),Z=n(89986),A=n(25217),O=n(11747);(0,N.z)("date-picker-down",M.Zt),(0,N.z)("date-picker-left",M.aP),(0,N.z)("date-picker-right",M.ED);let F=(0,A.defineComponent)({name:"DatePickerMenu",components:{vButton:r.Z,vSingleSelect:s.Z,vCheckbox:a.Z,vTrapFocus:l.Z,vMenu:c.Z,vMenuItem:d.Z,vIcon:$.Z,vPortal:Z.Z},directives:{clickoutside:p.ZP},mixins:[u.Z,N.Z,_.ZP,(0,h.f)("date-picker"),(0,E.W)("datePickerMenu","Menu")],props:{[i.yz.value()]:{type:[Date,Array],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:()=>I},minTime:{type:Date,default:()=>D},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(){return{showYear:!1,showMonth:!1,activeDate:void 0,hoveredDate:void 0,innerValue:void 0,originalValue:(0,i.eQ)(this)}},computed:{isRangeMode(){return(0,V.isArray)(this.innerValue)},rangeModeSelectCount(){return this.isRangeMode?this.innerValue.filter(f.Z).length:0},innerDropdownIcon(){return this.getMenuConfigValue("dropdownIcon")},dropdownCls(){return["v-dt-dropdown","v-select2-dropdown",{"with-week-number":this.showWeekNumber}]},ariaLabelledby(){return`date-${(0,m.Z)(this.activeDate).getTime()}`},ariaLabelLastMonth(){let e=this.getAriaLabelMonthBtnFromOffset(-1);return`${this._i18n("common","last_month")} ${e}`},ariaLabelNextMonth(){let e=this.getAriaLabelMonthBtnFromOffset(1);return`${this._i18n("common","next_month")} ${e}`},givenYears(){return this.yearsRange?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(){let e=this.activeDate.getFullYear();return 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(){let e=this._i18n("uicommon","schedule_abbre_sun").slice(0,1),t=this._i18n("uicommon","schedule_abbre_mon").slice(0,1),n=this._i18n("uicommon","schedule_abbre_tue").slice(0,1),i=this._i18n("uicommon","schedule_abbre_wed").slice(0,1),o=this._i18n("uicommon","schedule_abbre_thu").slice(0,1),r=this._i18n("uicommon","schedule_abbre_fri").slice(0,1),s=this._i18n("uicommon","schedule_abbre_sat").slice(0,1);return 6===this.startWeekDay?[s,e,t,n,i,o,r]:1===this.startWeekDay?[t,n,i,o,r,s,e]:[e,t,n,i,o,r,s]},dates(){let e=this.isRangeMode?void 0:(0,m.Z)(this.innerValue),t=this.isRangeMode?(0,m.Z)(this.innerValue?.[0]):void 0,n=this.isRangeMode?(0,m.Z)(this.innerValue?.[1]):void 0,i=(0,m.Z)(this.hoveredDate),o=(0,m.Z)(this.activeDate),r=(0,m.Z)(new Date),s=(0,g.Z)(o),a=function(e){(0,v.Z)(1,arguments);var t=(0,y.Z)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}(o),l=(s.getDay()-this.startWeekDay+7)%7,c=function(e,t){return(0,v.Z)(2,arguments),w(e,-(0,b.Z)(t))}(s,l),d=0,u=[];for(let l=0;l<6;l++)for(let l=0;l<7;l++){let l=w(c,d),h=C(l,o),p=!this._isDisableDate(l),f=C(l,r),m=S(l,{start:s,end:a}),g=S(l,{start:x(r),end:function(e,t){(0,v.Z)(1,arguments);var n,i,o,r,s,a,l,c,d=(0,k.j)(),u=(0,b.Z)(null!==(n=null!==(i=null!==(o=null!==(r=null==t?void 0:t.weekStartsOn)&&void 0!==r?r:null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==o?o:d.weekStartsOn)&&void 0!==i?i:null===(l=d.locale)||void 0===l?void 0:null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(u>=0&&u<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=(0,y.Z)(e),p=h.getDay();return h.setDate(h.getDate()+((p<u?-7:0)+6-(p-u))),h.setHours(23,59,59,999),h}(r)}),B=C(l,e),{isRangeStart:T,isRangeEnd:E,isInRange:I}=this._getDateRangeInfo(l,t,n,i),D={time:l.getTime(),text:l.getDate(),date:l,cellClass:{"this-week":!this.isRangeMode&&g,"in-range":I,"range-start":T,"range-end":E},dateClass:{active:h,enabled:p,disabled:!p,selected:B||T||E,today:f,"other-month":!m}};u.push(D),d++}return u},today(){return this.getDateTimeByOnlyDate((0,m.Z)(new Date))},hourOptions(){return this.enableHour24?Array(24).fill(0).map((e,t)=>({label:`${t}`,value:t})):Array(12).fill(0).map((e,t)=>({label:`${t+1}`,value:(t+1)%12}))},minuteOptions:()=>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(){let e=(0,i.eQ)(this);return e?e.getHours()%this.maxHour24or12:0},set(e){let t=this.enableHour24||"am"===this.activeAmPm?e:e+12,n=(0,m.Z)(this.activeDate);n.setHours(t),n.setMinutes(this.activeMinute),this._emitDate(n)}},activeMinute:{get(){let e=(0,i.eQ)(this);return e?e.getMinutes():0},set(e){let t=(0,y.Z)(this.activeDate);t.setMinutes(e),this._emitDate(t)}},activeAmPm:{get(){let e=(0,i.eQ)(this);return e?12>e.getHours()?"am":"pm":"am"},set(e){if(this.enableHour24)return;let t=(0,y.Z)(this.activeDate),n="am"===e?this.activeHour:this.activeHour+12;t.setHours(n),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.showResetButton},hasClearButton(){return this.allowBlank&&this.showClearButton},dotsSet(){return new Set(this.dateDots.map(e=>(0,m.Z)(e).getTime()))},isTodayDisabled(){return(0,V.isBoolean)(this.todayDisabled)?this.todayDisabled:this._isDisableDate(this.today)}},watch:{isOpen:{handler(e){!0===e?this.mountToContainer():this.closeDropdowns()},immediate:!0},[i.yz.value()]:{immediate:!0,deep:!0,handler(e){Array.isArray(e)?(this.innerValue=e.map(e=>(0,B.Z)(e)?(0,y.Z)(e):void 0).slice(0,2),this.innerValue=this._sortDates(this.innerValue),this.activeDate=this.innerValue[0]||new Date):(this.innerValue=(0,B.Z)(e)?(0,y.Z)(e):e,this.activeDate=this.innerValue||new Date),this.showTime||(this.activeDate=(0,m.Z)(this.activeDate))}}},methods:{_isDisableDate(e){return!((0,V.isFunction)(this.isDisableDate)?!this.isDisableDate(e):S(e,{start:this.minTime,end:this.maxTime}))},_getDateRangeInfo(e,t,n,i){let o={isInRange:!1,isRangeStart:!1,isRangeEnd:!1};return this.isRangeMode&&(0,f.Z)(e)&&(n=(0,f.Z)(n)?n:i,[t,n]=this._sortDates([t,n]),(0,f.Z)(t)&&(o.isRangeStart=C(e,t)),(0,f.Z)(n)&&(o.isRangeEnd=C(e,n)),(0,f.Z)(t)&&(0,f.Z)(n)&&(o.isInRange=S(e,{start:t,end:n}))),o},_sortDates:e=>(Array.isArray(e)&&e.sort((e,t)=>{let n=(0,f.Z)(e),i=(0,f.Z)(t);return n&&i?e-t:n||i?n?-1:1:0}),e),getWeekNumber:e=>(function(e,t){(0,v.Z)(1,arguments);var n=(0,y.Z)(e);return Math.round((x(n,t).getTime()-(function(e,t){(0,v.Z)(1,arguments);var n,i,o,r,s,a,l,c,d=(0,k.j)(),u=(0,b.Z)(null!==(n=null!==(i=null!==(o=null!==(r=null==t?void 0:t.firstWeekContainsDate)&&void 0!==r?r:null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:d.firstWeekContainsDate)&&void 0!==i?i:null===(l=d.locale)||void 0===l?void 0:null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==n?n:1),h=function(e,t){(0,v.Z)(1,arguments);var n,i,o,r,s,a,l,c,d=(0,y.Z)(e),u=d.getFullYear(),h=(0,k.j)(),p=(0,b.Z)(null!==(n=null!==(i=null!==(o=null!==(r=null==t?void 0:t.firstWeekContainsDate)&&void 0!==r?r:null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:h.firstWeekContainsDate)&&void 0!==i?i:null===(l=h.locale)||void 0===l?void 0:null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==n?n:1);if(!(p>=1&&p<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var f=new Date(0);f.setFullYear(u+1,0,p),f.setHours(0,0,0,0);var m=x(f,t),g=new Date(0);g.setFullYear(u,0,p),g.setHours(0,0,0,0);var w=x(g,t);return d.getTime()>=m.getTime()?u+1:d.getTime()>=w.getTime()?u:u-1}(e,t),p=new Date(0);return p.setFullYear(h,0,u),p.setHours(0,0,0,0),x(p,t)})(n,t).getTime())/6048e5)+1})(e),getYearBtn(){return this.$refs.yearBtn},getMonthBtn(){return this.$refs.monthBtn},_emitDate(e){let t=(Array.isArray(e)?e:[e]).map(e=>(0,B.Z)(e)?this.maxTime?e<this.maxTime?e:this.maxTime:this.minTime?e>this.minTime?e:this.minTime:this.showTime?void 0:(0,m.Z)(e):e),n=t.length>1?t:t[0];(0,o.Qy)(this,(0,i.ef)(),n),(0,o.Qy)(this,"change",n)},focusDatePickerTable(){this.$refs.datePicker.focus()},getExtraElements(){return[this.$refs.hourSelect,this.$refs.minuteSelect,this.$refs.ampmSelect,this.$refs.yearMenu,this.$refs.monthMenu]},umountFromContainer(){let e=this.getContainerEl();e&&e.removeChild(this.$el)},closeDropdowns(){this.showYear=!1,this.showMonth=!1},tryClose(){this.close()},close(){(0,o.Qy)(this,"update:is-open",!1)},getAriaLabelMonthBtnFromOffset(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=T(this.activeDate,e),n=this.months[t.getMonth()].text;return`${t.getFullYear()} ${n}`},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;let 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()},hoverDate(e){this.hoveredDate=e.date,(0,o.Qy)(this,"hover-date",e.date)},selectYear(e){isNaN(e)||(this.activeDate=function(e,t){(0,v.Z)(2,arguments);var n=(0,y.Z)(e),i=(0,b.Z)(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(i),n)}(this.activeDate,e))},selectMonth(e){isNaN(e)||(this.activeDate=function(e,t){(0,v.Z)(2,arguments);var n=(0,y.Z)(e),i=(0,b.Z)(t),o=n.getFullYear(),r=n.getDate(),s=new Date(0);s.setFullYear(o,i,15),s.setHours(0,0,0,0);var a=function(e){(0,v.Z)(1,arguments);var t=(0,y.Z)(e),n=t.getFullYear(),i=t.getMonth(),o=new Date(0);return o.setFullYear(n,i+1,0),o.setHours(0,0,0,0),o.getDate()}(s);return n.setMonth(i,Math.min(r,a)),n}(this.activeDate,e-1))},selectDate(e){if(this._isDisableDate(e))return;let t,n=!0,i=this.getDateTimeByOnlyDate(new Date(e));if(this.isRangeMode)0===this.rangeModeSelectCount||2===this.rangeModeSelectCount?(t=[i,void 0],n=!1):t=this._sortDates([this.innerValue[0],i]);else{if(C(this.innerValue,i))return;t=i}this._emitDate(t),(0,o.Qy)(this,"select-date",t),this.closeOnSelect&&n&&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(){if(this.selectMonth(this.today.getMonth()+1),this.selectYear(this.today.getFullYear()),!this._isDisableDate(this.today)){let e=this.getDateTimeByOnlyDate((0,m.Z)(this.today));this._emitDate(this.isRangeMode?[e,void 0]:e)}},changeDate(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.activeDate=w(this.activeDate,e)},changeMonth(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.activeDate=T(this.activeDate,e)},changeYear(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.activeDate=function(e,t){return(0,v.Z)(2,arguments),T(e,12*(0,b.Z)(t))}(this.activeDate,e)},resetValue(){this._emitDate(this.originalValue)},clearValue(){this._emitDate(this.isRangeMode?[void 0,void 0]:void 0),this.close()},hasDot(e){return this.dotsSet.has(e)}}}),z={class:"v-dt-date-panel"},L={class:"v-dt-header"},P={class:"v-dt-body"},R={key:0,class:"v-dt-week-number"},H=["aria-labelledby"],j={class:"v-dt-table-head"},W=["syno-id"],G={class:"v-dt-weekday"},Q={class:"v-dt-table-body"},U=["title","onClick","onMouseover"],K=["id","syno-id","aria-label"],q={key:0,class:"dot"},Y={class:"v-dt-footer"},J={class:"button-wrapper"},X={class:"left"},ee={class:"right"},et={key:0,class:"v-dt-time-wrapper"},en={class:"v-dt-select-wrapper"},ei=(0,A.createElementVNode)("div",{class:"separator"},":",-1),eo=(0,A.createElementVNode)("div",{class:"separator empty"},null,-1);var er=(0,O.Z)(F,[["render",function(e,t,n,i,o,r){let s=(0,A.resolveComponent)("v-icon"),a=(0,A.resolveComponent)("v-menu-item"),l=(0,A.resolveComponent)("v-menu"),c=(0,A.resolveComponent)("v-portal"),d=(0,A.resolveComponent)("v-button"),u=(0,A.resolveComponent)("v-checkbox"),h=(0,A.resolveComponent)("v-single-select"),p=(0,A.resolveComponent)("v-trap-focus"),f=(0,A.resolveDirective)("clickoutside"),m=(0,A.resolveDirective)("syno-id");return(0,A.withDirectives)(((0,A.openBlock)(),(0,A.createBlock)(p,{class:(0,A.normalizeClass)(e.dropdownCls),onMousedown:t[17]||(t[17]=e=>e.preventDefault())},{default:(0,A.withCtx)(()=>[(0,A.createElementVNode)("div",z,[(0,A.createElementVNode)("div",L,[(0,A.createElementVNode)("div",{ref:"yearBtn",class:(0,A.normalizeClass)(["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]=(0,A.withKeys)((0,A.withModifiers)(t=>e.toggleYearPicker(t),["prevent"]),["enter"]))},[(0,A.createTextVNode)((0,A.toDisplayString)(e.activeDate.getFullYear())+" ",1),(0,A.createVNode)(s,(0,A.mergeProps)({name:"date-picker-down"},e.innerDropdownIcon),null,16),e.showYear?((0,A.openBlock)(),(0,A.createBlock)(c,{key:0,alignment:"tl->bl","mount-to":e.getContainerEl(),anchor:e.$refs.yearBtn,"acquire-z-index":""},{default:(0,A.withCtx)(()=>[(0,A.withDirectives)(((0,A.openBlock)(),(0,A.createBlock)(l,{ref:"yearMenu","syno-id":`${e.synoId}-year-menu`,class:(0,A.normalizeClass)(["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:(0,A.withCtx)(()=>[((0,A.openBlock)(!0),(0,A.createElementBlock)(A.Fragment,null,(0,A.renderList)(e.years,t=>((0,A.openBlock)(),(0,A.createBlock)(a,{key:t.year,title:t.text.toString(),"syno-id":t.year.toString(),onClick:n=>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"])):(0,A.createCommentVNode)("",!0)],34),(0,A.createElementVNode)("div",{ref:"monthBtn",class:(0,A.normalizeClass)(["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]=(0,A.withKeys)((0,A.withModifiers)(t=>e.toggleMonthPicker(t),["prevent"]),["enter"]))},[(0,A.createTextVNode)((0,A.toDisplayString)(e.months[e.activeDate.getMonth()].text)+" ",1),(0,A.createVNode)(s,(0,A.mergeProps)({name:"date-picker-down"},e.innerDropdownIcon),null,16),e.showMonth?((0,A.openBlock)(),(0,A.createBlock)(c,{key:0,alignment:"tl->bl","mount-to":e.getContainerEl(),anchor:e.$refs.monthBtn,"acquire-z-index":""},{default:(0,A.withCtx)(()=>[(0,A.withDirectives)(((0,A.openBlock)(),(0,A.createBlock)(l,{ref:"monthMenu","syno-id":`${e.synoId}-month-menu`,class:(0,A.normalizeClass)(["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:(0,A.withCtx)(()=>[((0,A.openBlock)(!0),(0,A.createElementBlock)(A.Fragment,null,(0,A.renderList)(e.months,t=>((0,A.openBlock)(),(0,A.createBlock)(a,{key:t.month,title:t.text.toString(),"syno-id":t.month.toString(),onClick:n=>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"])):(0,A.createCommentVNode)("",!0)],34),((0,A.openBlock)(),(0,A.createBlock)(s,{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:(0,A.withKeys)((0,A.withModifiers)(e.onPrevMonthClick,["prevent"]),["enter","native"])},null,8,["aria-label","onClick","onKeydown"])),((0,A.openBlock)(),(0,A.createBlock)(s,{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:(0,A.withKeys)((0,A.withModifiers)(e.onNextMonthClick,["prevent"]),["enter","native"])},null,8,["aria-label","onClick","onKeydown"]))]),(0,A.createElementVNode)("div",P,[e.showWeekNumber?((0,A.openBlock)(),(0,A.createElementBlock)("div",R,[((0,A.openBlock)(),(0,A.createElementBlock)(A.Fragment,null,(0,A.renderList)(5,t=>(0,A.createElementVNode)("div",{key:t,class:"v-dt-week-number-cell",style:(0,A.normalizeStyle)({"--row-start":t+1})},(0,A.toDisplayString)(e.getWeekNumber(e.dates[7*(t-1)].date)),5)),64))])):(0,A.createCommentVNode)("",!0),(0,A.createElementVNode)("div",{ref:"datePicker",class:"v-dt-table",role:"grid",tabindex:"0","aria-labelledby":e.ariaLabelledby,onKeydown:[t[4]||(t[4]=(0,A.withKeys)((0,A.withModifiers)(t=>e.changeDate(-1),["prevent"]),["left"])),t[5]||(t[5]=(0,A.withKeys)((0,A.withModifiers)(t=>e.changeDate(1),["prevent"]),["right"])),t[6]||(t[6]=(0,A.withKeys)((0,A.withModifiers)(t=>e.changeDate(-7),["prevent"]),["up"])),t[7]||(t[7]=(0,A.withKeys)((0,A.withModifiers)(t=>e.changeDate(7),["prevent"]),["down"]))],onKeyup:t[8]||(t[8]=(0,A.withKeys)((0,A.withModifiers)(t=>e.selectActiveDateAndClose(),["prevent","stop"]),["enter"]))},[(0,A.createElementVNode)("div",j,[((0,A.openBlock)(!0),(0,A.createElementBlock)(A.Fragment,null,(0,A.renderList)(e.week,(t,n)=>((0,A.openBlock)(),(0,A.createElementBlock)("div",{key:n,"syno-id":`${e.synoId}-${t}`,class:"v-dt-table-head-cell"},[(0,A.createElementVNode)("div",G,(0,A.toDisplayString)(t),1)],8,W))),128))]),(0,A.createElementVNode)("div",Q,[((0,A.openBlock)(),(0,A.createElementBlock)(A.Fragment,null,(0,A.renderList)(5,t=>((0,A.openBlock)(),(0,A.createElementBlock)(A.Fragment,{key:t},[e.dates.length>0?((0,A.openBlock)(),(0,A.createElementBlock)(A.Fragment,{key:0},(0,A.renderList)(7,n=>(0,A.createElementVNode)("div",{key:`date-${e.dates[7*(t-1)+n-1].time}`,class:(0,A.normalizeClass)(["v-dt-cell",e.dates[7*(t-1)+n-1].cellClass]),title:e.dates[7*(t-1)+n-1].title,onClick:i=>e.selectDateByItem(e.dates[7*(t-1)+n-1]),onMouseover:i=>e.hoverDate(e.dates[7*(t-1)+n-1])},[(0,A.renderSlot)(e.$slots,`date-${t}-${n}`,{},()=>[(0,A.createElementVNode)("div",{id:`date-${e.dates[7*(t-1)+n-1].time}`,"syno-id":e.getDateSynoId(7*(t-1)+n-1),class:(0,A.normalizeClass)(["v-dt-date",e.dates[7*(t-1)+n-1].dateClass]),"aria-label":e.getLongDateString(e.dates[7*(t-1)+n-1])},[e.hasDot(e.dates[7*(t-1)+n-1].time)?((0,A.openBlock)(),(0,A.createElementBlock)("i",q)):(0,A.createCommentVNode)("",!0),(0,A.createTextVNode)(" "+(0,A.toDisplayString)(e.dates[7*(t-1)+n-1].text),1)],10,K)])],42,U)),64)):(0,A.createCommentVNode)("",!0)],64))),64))])],40,H)])]),(0,A.createElementVNode)("div",Y,[(0,A.createElementVNode)("div",J,[(0,A.createElementVNode)("div",X,[e.showTodayButton?((0,A.openBlock)(),(0,A.createBlock)(d,{key:0,"syno-id":`${e.synoId}-today-btn`,disabled:e.isTodayDisabled,onClick:t[9]||(t[9]=(0,A.withModifiers)(t=>e.selectToday(t),["stop"]))},{default:(0,A.withCtx)(()=>[(0,A.createTextVNode)((0,A.toDisplayString)(e.todayText||e._i18n("extlang","todayText")),1)]),_:1},8,["syno-id","disabled"])):(0,A.createCommentVNode)("",!0)]),(0,A.createElementVNode)("div",ee,[e.hasResetButton?((0,A.openBlock)(),(0,A.createBlock)(d,{key:0,"syno-id":`${e.synoId}-reset-btn`,onClick:t[10]||(t[10]=(0,A.withModifiers)(t=>e.resetValue(t),["stop"]))},{default:(0,A.withCtx)(()=>[(0,A.createTextVNode)((0,A.toDisplayString)(e.resetText||e._i18n("common","reset")),1)]),_:1},8,["syno-id"])):e.hasClearButton?((0,A.openBlock)(),(0,A.createBlock)(d,{key:1,"syno-id":`${e.synoId}-clear-btn`,onClick:t[11]||(t[11]=(0,A.withModifiers)(t=>e.clearValue(t),["stop"]))},{default:(0,A.withCtx)(()=>[(0,A.createTextVNode)((0,A.toDisplayString)(e.clearText||e._i18n("common","clean")),1)]),_:1},8,["syno-id"])):(0,A.createCommentVNode)("",!0)])]),e.showTime?((0,A.openBlock)(),(0,A.createElementBlock)("div",et,[e.timeOptional?((0,A.openBlock)(),(0,A.createBlock)(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:(0,A.withCtx)(()=>[(0,A.createTextVNode)((0,A.toDisplayString)(e.addTimeText||e._i18n("uicommon","add_time")),1)]),_:1},8,["syno-id","value","model-value"])):(0,A.createCommentVNode)("",!0),(0,A.createElementVNode)("div",en,[(0,A.createVNode)(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:(0,A.normalizeClass)({"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"]),ei,(0,A.createVNode)(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:(0,A.normalizeClass)({"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?(0,A.createCommentVNode)("",!0):((0,A.openBlock)(),(0,A.createElementBlock)(A.Fragment,{key:0},[eo,(0,A.createVNode)(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))])])):(0,A.createCommentVNode)("",!0)])]),_:3},8,["class"])),[[m]])}]])},32718:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}}),n(50401),n(15773);var i=n(92128),o=n(69092),r=n(62968),s=n(78671),a=n(97006),l=n(68712),c=n(84593),d=n(8725),u=n(7912),h=n(30272),p=n(31005),f=n(77684),m=n(8085),g=n(29151),y=n(80036),v=n(63917),b=n(71172),w=n(37153),C=n(21812),S=n(80432),k=n(20832),x=n(59071),B=n(82442),T=n(83871),E=n(89986),I=n(25217),D=n(11747);(0,w.z)("date-picker-calendar",C.PX);let V=(0,I.defineComponent)({name:"DatePicker",directives:{clickoutside:a.ZP},components:{vIcon:T.Z,vPortal:E.Z,vDatePickerMenu:l.Z},mixins:[c.Z,d.Z,(0,h.J)("date-picker"),u.ZP,w.Z],props:{...(0,r.Z)(l.Z.props,["isOpen","timeChecked"]),[i.yz.value()]:{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:p.fK["0"]},timeFormat:{type:String,default:p.Xr["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(0,i.eQ)(this)},_closeOnSelect(){return(0,y.isBoolean)(this.closeOnSelect)?this.closeOnSelect:!this.showTime},isTimeVisible(){return this.showTime&&(this.timeOptional&&this.timeChecked||!this.timeOptional)},wrapCls(){return(0,B._Y)(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(){let e=[];if(this.yearsRange){let t=new Date(this.yearsRange[0],0,1);e.push(t)}if(this.minTime){let t=(0,S.Z)(this.minTime);e.push(t)}return new Date(Math.max(...e.map(e=>e.getTime())))},innerMaxTime(){let e=[];if(this.yearsRange){let t=new Date(this.yearsRange[1]+1,0,0);e.push(t)}if(this.maxTime){let t=function(e){(0,x.Z)(1,arguments);var t=(0,k.Z)(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(){((0,y.isDefined)(this.align)||(0,y.isDefined)(this.dropdownOffset))&&(0,g.D8)("The prop 'align', 'dropdownOffset' is deprecated, please use 'alignment' instead.");let e=(0,y.isDefined)(this.align)?this.align:this.getPopupConfigValue("alignment");return(0,y.isString)(this.alignment)&&(e={pos:e}),(0,s.Z)(e,{offset:this.dropdownOffset})}},watch:{show:{async handler(e){!0===e?((0,o.Qy)(this,"menu-shown"),await this.$nextTick(),this.$refs.dropdown.focusDatePickerTable()):((0,o.Qy)(this,"menu-hidden"),this.$refs.input&&this.$refs.input.focus())},immediate:!0},[i.yz.value()]:{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&&(0,g.N6)("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?(0,m.KZ)(this.innerValue,this.dateFormat,this.timeFormat):(0,m.tC)(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(),(0,o.Qy)(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(0,f.s)(e,this.dateFormat,this.isTimeVisible?this.timeFormat:void 0)},onBlur(e){let t=(0,v.getFocusElement)(e);this.isFocused=!1;let n=null;this.$refs.dropdown&&this.$refs.dropdown.$el.contains(t)||this.$el.contains(t)||!this.$refs.input||this.label&&!1===(n=this.parseString(this.label))||((0,o.Qy)(this,(0,i.ef)(),n),(0,o.Qy)(this,"change",n))},validate(e){let t=this.$refs.input&&this.$refs.input.value;if(!t){if(this.allowBlank)return;throw new b.J([{message:(0,y.formatString)(this._i18n("extlang","fieldblank"),this.$refs.input.value,this.dateFormat)}])}let n=this.parseString(t);if(!1===n)throw new b.J([{message:(0,y.formatString)(this._i18n("extlang","invaliddate"),this.$refs.input.value,this.dateFormat)}]);if(n.getTime()<this.innerMinTime.getTime())throw new b.J([{message:(0,y.formatString)(this._i18n("error","error_invalid_min_date"),(0,m.tC)(this.innerMinTime,this.dateFormat))}]);if(n.getTime()>this.innerMaxTime.getTime())throw new b.J([{message:(0,y.formatString)(this._i18n("error","error_invalid_max_date"),(0,m.tC)(this.innerMaxTime,this.dateFormat))}])}}}),N={class:"input-wrapper"},_=["disabled","readonly","name","placeholder"],M={class:"suffix-wrapper"};var $=(0,D.Z)(V,[["render",function(e,t,n,i,o,r){let s=(0,I.resolveComponent)("v-icon"),a=(0,I.resolveComponent)("v-date-picker-menu"),l=(0,I.resolveComponent)("v-portal"),c=(0,I.resolveDirective)("syno-id"),d=(0,I.resolveDirective)("clickoutside");return(0,I.withDirectives)(((0,I.openBlock)(),(0,I.createElementBlock)("div",{class:(0,I.normalizeClass)(e.wrapCls)},[(0,I.createElementVNode)("div",N,[(0,I.renderSlot)(e.$slots,"input",{label:e.label,toggleDialog:e.toggleDialog},()=>[(0,I.withDirectives)((0,I.createElementVNode)("input",{ref:"input","onUpdate:modelValue":t[0]||(t[0]=t=>e.label=t),class:(0,I.normalizeClass)(["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]=(0,I.withKeys)((0,I.withModifiers)(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,_),[[I.vModelText,e.label],[c]]),(0,I.createElementVNode)("span",M,[(0,I.createVNode)(s,{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?((0,I.openBlock)(),(0,I.createBlock)(l,{key:0,"mount-to":e.getContainerEl(),"acquire-z-index":"",alignment:e.innerAlignment,anchor:e.$el},{default:(0,I.withCtx)(()=>[(0,I.createVNode)(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:(0,I.withKeys)((0,I.withModifiers)(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"])):(0,I.createCommentVNode)("",!0)],2)),[[d,e.closeDialog,void 0,{children:!0}]])}]])},31005:function(e,t,n){"use strict";n.d(t,{Xr:function(){return o},fK:function(){return i},uk:function(){return r}});let i=["m/d/Y","d/m/Y","Y-m-d","d.m.Y","d-m-Y"],o=["h:i a","H:i"];function r(e){return e=(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")}},77684:function(e,t,n){"use strict";n.d(t,{s:function(){return eA},i:function(){return eO}});var i=n(77352);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,void 0):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,s=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw s}}}}var s=n(15203),a=n(91719),l=n(20832),c=n(77298),d=n(14525),u=n(92266),h=n(61464),p=n(59071);function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){return(m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}function b(e){var t=v();return function(){var n,o=y(e);return n=t?Reflect.construct(o,arguments,y(this).constructor):o.apply(this,arguments),function(e,t){if(t&&("object"==(0,i.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return f(e)}(this,n)}}function w(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function C(e){var t=function(e,t){if("object"!=(0,i.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,i.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,i.Z)(t)?t:t+""}function S(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,C(i.key),i)}}function k(e,t,n){return t&&S(e.prototype,t),n&&S(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function x(e,t,n){return(t=C(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(){function e(){w(this,e),x(this,"priority",void 0),x(this,"subPriority",0)}return k(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),T=function(e){g(n,e);var t=b(n);function n(e,i,o,r,s){var a;return w(this,n),(a=t.call(this)).value=e,a.validateValue=i,a.setValue=o,a.priority=r,s&&(a.subPriority=s),a}return k(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(B),E=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",10),x(f(e),"subPriority",-1),e}return k(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(B),I=function(){function e(){w(this,e),x(this,"incompatibleTokens",void 0),x(this,"priority",void 0),x(this,"subPriority",void 0)}return k(e,[{key:"run",value:function(e,t,n,i){var o=this.parse(e,t,n,i);return o?{setter:new T(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}]),e}(),D=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",140),x(f(e),"incompatibleTokens",["R","u","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(I),V={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},N={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function _(e,t){return e?{value:t(e.value),rest:e.rest}:e}function M(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function $(e,t){var n=t.match(e);return n?"Z"===n[0]?{value:0,rest:t.slice(1)}:{value:("+"===n[1]?1:-1)*((n[2]?parseInt(n[2],10):0)*36e5+(n[3]?parseInt(n[3],10):0)*6e4+(n[5]?parseInt(n[5],10):0)*1e3),rest:t.slice(n[0].length)}:null}function Z(e){return M(V.anyDigitsSigned,e)}function A(e,t){switch(e){case 1:return M(V.singleDigit,t);case 2:return M(V.twoDigits,t);case 3:return M(V.threeDigits,t);case 4:return M(V.fourDigits,t);default:return M(RegExp("^\\d{1,"+e+"}"),t)}}function O(e,t){switch(e){case 1:return M(V.singleDigitSigned,t);case 2:return M(V.twoDigitsSigned,t);case 3:return M(V.threeDigitsSigned,t);case 4:return M(V.fourDigitsSigned,t);default:return M(RegExp("^-?\\d{1,"+e+"}"),t)}}function F(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function z(e,t){var n,i=t>0,o=i?t:1-t;if(o<=50)n=e||100;else{var r=o+50;n=e+100*Math.floor(r/100)-(e>=r%100?100:0)}return i?n:1-n}function L(e){return e%400==0||e%4==0&&e%100!=0}var P=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",130),x(f(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return _(A(4,e),i);case"yo":return _(n.ordinalNumber(e,{unit:"year"}),i);default:return _(A(t.length,e),i)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var i=e.getUTCFullYear();if(n.isTwoDigitYear){var o=z(n.year,i);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}var r="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(I),R=n(99665),H=n(11666),j=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",130),x(f(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return _(A(4,e),i);case"Yo":return _(n.ordinalNumber(e,{unit:"year"}),i);default:return _(A(t.length,e),i)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,i){var o=(0,R.Z)(e,i);if(n.isTwoDigitYear){var r=z(n.year,o);return e.setUTCFullYear(r,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,H.Z)(e,i)}var s="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(s,0,i.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,H.Z)(e,i)}}]),n}(I),W=n(85390),G=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",130),x(f(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t){return"R"===t?O(4,e):O(t.length,e)}},{key:"set",value:function(e,t,n){var i=new Date(0);return i.setUTCFullYear(n,0,4),i.setUTCHours(0,0,0,0),(0,W.Z)(i)}}]),n}(I),Q=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",130),x(f(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t){return"u"===t?O(4,e):O(t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(I),U=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",120),x(f(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return A(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),n}(I),K=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",120),x(f(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return A(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth((n-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),n}(I),q=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),x(f(e),"priority",110),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return e-1};switch(t){case"M":return _(M(V.month,e),i);case"MM":return _(A(2,e),i);case"Mo":return _(n.ordinalNumber(e,{unit:"month"}),i);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(I),Y=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",110),x(f(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return e-1};switch(t){case"L":return _(M(V.month,e),i);case"LL":return _(A(2,e),i);case"Lo":return _(n.ordinalNumber(e,{unit:"month"}),i);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(I),J=n(18034),X=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",100),x(f(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"w":return M(V.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,i){return(0,H.Z)(function(e,t,n){(0,p.Z)(2,arguments);var i=(0,l.Z)(e),o=(0,h.Z)(t),r=(0,J.Z)(i,n)-o;return i.setUTCDate(i.getUTCDate()-7*r),i}(e,n,i),i)}}]),n}(I),ee=n(47891),et=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",100),x(f(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"I":return M(V.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,W.Z)(function(e,t){(0,p.Z)(2,arguments);var n=(0,l.Z)(e),i=(0,h.Z)(t),o=(0,ee.Z)(n)-i;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}]),n}(I),en=[31,28,31,30,31,30,31,31,30,31,30,31],ei=[31,29,31,30,31,30,31,31,30,31,30,31],eo=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",90),x(f(e),"subPriority",1),x(f(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"d":return M(V.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){var n=L(e.getUTCFullYear()),i=e.getUTCMonth();return n?t>=1&&t<=ei[i]:t>=1&&t<=en[i]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(I),er=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",90),x(f(e),"subpriority",1),x(f(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return M(V.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return L(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(I),es=n(79745);function ea(e,t,n){(0,p.Z)(2,arguments);var i,o,r,s,a,c,d,u,f=(0,es.j)(),m=(0,h.Z)(null!==(i=null!==(o=null!==(r=null!==(s=null==n?void 0:n.weekStartsOn)&&void 0!==s?s:null==n?void 0:null===(a=n.locale)||void 0===a?void 0:null===(c=a.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==r?r:f.weekStartsOn)&&void 0!==o?o:null===(d=f.locale)||void 0===d?void 0:null===(u=d.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==i?i:0);if(!(m>=0&&m<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,l.Z)(e),y=(0,h.Z)(t),v=g.getUTCDay();return g.setUTCDate(g.getUTCDate()+(((y%7+7)%7<m?7:0)+y-v)),g}var el=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",90),x(f(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=ea(e,n,i)).setUTCHours(0,0,0,0),e}}]),n}(I),ec=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",90),x(f(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n,i){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return _(A(t.length,e),o);case"eo":return _(n.ordinalNumber(e,{unit:"day"}),o);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=ea(e,n,i)).setUTCHours(0,0,0,0),e}}]),n}(I),ed=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",90),x(f(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n,i){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+i.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return _(A(t.length,e),o);case"co":return _(n.ordinalNumber(e,{unit:"day"}),o);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,i){return(e=ea(e,n,i)).setUTCHours(0,0,0,0),e}}]),n}(I),eu=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",90),x(f(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){var i=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return A(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return _(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return _(n.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return _(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i);default:return _(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),i)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return(e=function(e,t){(0,p.Z)(2,arguments);var n=(0,h.Z)(t);n%7==0&&(n-=7);var i=(0,l.Z)(e),o=((n%7+7)%7<1?7:0)+n-i.getUTCDay();return i.setUTCDate(i.getUTCDate()+o),i}(e,n)).setUTCHours(0,0,0,0),e}}]),n}(I),eh=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",80),x(f(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(F(n),0,0,0),e}}]),n}(I),ep=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",80),x(f(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(F(n),0,0,0),e}}]),n}(I),ef=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",80),x(f(e),"incompatibleTokens",["a","b","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(F(n),0,0,0),e}}]),n}(I),em=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",70),x(f(e),"incompatibleTokens",["H","K","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"h":return M(V.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var i=e.getUTCHours()>=12;return i&&n<12?e.setUTCHours(n+12,0,0,0):i||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(I),eg=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",70),x(f(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"H":return M(V.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(I),ey=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",70),x(f(e),"incompatibleTokens",["h","H","k","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"K":return M(V.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(I),ev=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",70),x(f(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"k":return M(V.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){return e.setUTCHours(n<=24?n%24:n,0,0,0),e}}]),n}(I),eb=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",60),x(f(e),"incompatibleTokens",["t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"m":return M(V.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(I),ew=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",50),x(f(e),"incompatibleTokens",["t","T"]),e}return k(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return M(V.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return A(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(I),eC=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",30),x(f(e),"incompatibleTokens",["t","T"]),e}return k(n,[{key:"parse",value:function(e,t){return _(A(t.length,e),function(e){return Math.floor(e*Math.pow(10,-t.length+3))})}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}]),n}(I),eS=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",10),x(f(e),"incompatibleTokens",["t","T","x"]),e}return k(n,[{key:"parse",value:function(e,t){switch(t){case"X":return $(N.basicOptionalMinutes,e);case"XX":return $(N.basic,e);case"XXXX":return $(N.basicOptionalSeconds,e);case"XXXXX":return $(N.extendedOptionalSeconds,e);default:return $(N.extended,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(I),ek=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",10),x(f(e),"incompatibleTokens",["t","T","X"]),e}return k(n,[{key:"parse",value:function(e,t){switch(t){case"x":return $(N.basicOptionalMinutes,e);case"xx":return $(N.basic,e);case"xxxx":return $(N.basicOptionalSeconds,e);case"xxxxx":return $(N.extendedOptionalSeconds,e);default:return $(N.extended,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(I),ex=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",40),x(f(e),"incompatibleTokens","*"),e}return k(n,[{key:"parse",value:function(e){return Z(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(I),eB=function(e){g(n,e);var t=b(n);function n(){var e;w(this,n);for(var i=arguments.length,o=Array(i),r=0;r<i;r++)o[r]=arguments[r];return x(f(e=t.call.apply(t,[this].concat(o))),"priority",20),x(f(e),"incompatibleTokens","*"),e}return k(n,[{key:"parse",value:function(e){return Z(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(I),eT={G:new D,y:new P,Y:new j,R:new G,u:new Q,Q:new U,q:new K,M:new q,L:new Y,w:new X,I:new et,d:new eo,D:new er,E:new el,e:new ec,c:new ed,i:new eu,a:new eh,b:new ep,B:new ef,h:new em,H:new eg,K:new ey,k:new ev,m:new eb,s:new ew,S:new eC,X:new eS,x:new ek,t:new ex,T:new eB},eE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eI=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eD=/^'([^]*?)'?$/,eV=/''/g,eN=/\S/,e_=/[a-zA-Z]/;function eM(e,t,n,o){(0,p.Z)(3,arguments);var f=String(e),m=String(t),g=(0,es.j)(),y=null!==(w=null!==(C=null==o?void 0:o.locale)&&void 0!==C?C:g.locale)&&void 0!==w?w:s.Z;if(!y.match)throw RangeError("locale must contain match property");var v=(0,h.Z)(null!==(S=null!==(k=null!==(x=null!==(B=null==o?void 0:o.firstWeekContainsDate)&&void 0!==B?B:null==o?void 0:null===(T=o.locale)||void 0===T?void 0:null===(I=T.options)||void 0===I?void 0:I.firstWeekContainsDate)&&void 0!==x?x:g.firstWeekContainsDate)&&void 0!==k?k:null===(D=g.locale)||void 0===D?void 0:null===(V=D.options)||void 0===V?void 0:V.firstWeekContainsDate)&&void 0!==S?S:1);if(!(v>=1&&v<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=(0,h.Z)(null!==(N=null!==(_=null!==(M=null!==($=null==o?void 0:o.weekStartsOn)&&void 0!==$?$:null==o?void 0:null===(Z=o.locale)||void 0===Z?void 0:null===(A=Z.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==M?M:g.weekStartsOn)&&void 0!==_?_:null===(O=g.locale)||void 0===O?void 0:null===(F=O.options)||void 0===F?void 0:F.weekStartsOn)&&void 0!==N?N:0);if(!(b>=0&&b<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===m)return""===f?(0,l.Z)(n):new Date(NaN);var w,C,S,k,x,B,T,I,D,V,N,_,M,$,Z,A,O,F,z,L={firstWeekContainsDate:v,weekStartsOn:b,locale:y},P=[new E],R=m.match(eI).map(function(e){var t=e[0];return t in c.Z?(0,c.Z[t])(e,y.formatLong):e}).join("").match(eE),H=[],j=r(R);try{for(j.s();!(z=j.n()).done;){var W=function(){var t=z.value;!(null!=o&&o.useAdditionalWeekYearTokens)&&(0,u.Do)(t)&&(0,u.qp)(t,m,e),!(null!=o&&o.useAdditionalDayOfYearTokens)&&(0,u.Iu)(t)&&(0,u.qp)(t,m,e);var n=t[0],i=eT[n];if(i){var r=i.incompatibleTokens;if(Array.isArray(r)){var s=H.find(function(e){return r.includes(e.token)||e.token===n});if(s)throw RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===i.incompatibleTokens&&H.length>0)throw RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));H.push({token:n,fullToken:t});var a=i.run(f,t,y.match,L);if(!a)return{v:new Date(NaN)};P.push(a.setter),f=a.rest}else{if(n.match(e_))throw RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(eD)[1].replace(eV,"'")),0!==f.indexOf(t))return{v:new Date(NaN)};f=f.slice(t.length)}}();if("object"===(0,i.Z)(W))return W.v}}catch(e){j.e(e)}finally{j.f()}if(f.length>0&&eN.test(f))return new Date(NaN);var G=P.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(e){return P.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),Q=(0,l.Z)(n);if(isNaN(Q.getTime()))return new Date(NaN);var U,K=(0,a.Z)(Q,(0,d.Z)(Q)),q={},Y=r(G);try{for(Y.s();!(U=Y.n()).done;){var J=U.value;if(!J.validate(K,L))return new Date(NaN);var X=J.set(K,q,L);Array.isArray(X)?(K=X[0],function(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}(q,X[1])):K=X}}catch(e){Y.e(e)}finally{Y.f()}return K}var e$=n(67052),eZ=n(31005);function eA(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=n?`${t} ${n}`:t;return!!eO(e,t,n)&&eM(e,(0,eZ.uk)(i),new Date)}function eO(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return function(e,t,n){return(0,p.Z)(2,arguments),(0,e$.Z)(eM(e,t,new Date,n))}(e,(0,eZ.uk)(n?`${t} ${n}`:t))}},98749:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});var i=n(32718),o=n(68712);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},69153:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(91234);var i=n(88358),o=n(69092),r=n(80036);function s(e,t,n){let i=e,o=["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"].find(e=>(0,r.isFunction)(i[e]))??"";if(!o)return!1;do{if(i[o](t))return!0;if(i===n)break;i=i.parentNode}while(i);return!1}function a(e,t,n){e&&(e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener?e.addEventListener(t,n,!0):e["on"+t]=n)}function l(e,t,n){e&&(e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener?e.removeEventListener(t,n,!0):e["on"+t]=null)}function c(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;return[Math.round(t/i/e[0])*e[0],Math.round(n/i/e[1])*e[1]]}function d(e,t,n){return null!==t&&e<t?t:null!==n&&n<e?n:e}var u=n(25217),h=n(11747);let p={start:"touchstart",move:"touchmove",stop:"touchend"},f={userSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",MsUserSelect:"none"},m={userSelect:"auto",MozUserSelect:"auto",WebkitUserSelect:"auto",MsUserSelect:"auto"},g={move:"mousemove",stop:"mouseup"},y=(0,u.defineComponent)({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=>{let 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?f:m}},actualHandles(){return this.resizable?this.handles:[]},resizingOnX(){return!!this.handle&&(this.handle.includes("l")||this.handle.includes("r"))},resizingOnY(){return!!this.handle&&(this.handle.includes("t")||this.handle.includes("b"))},isCornerHandle(){return!!this.handle&&["tl","tr","br","bl"].includes(this.handle)}},watch:{active(e){this.enabled=e,(0,o.Qy)(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());let 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());let 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());let 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());let 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);let[e,t]=this.getParentSize();this.parentWidth=e,this.parentHeight=t;let[n,i]=function(e){let t=window.getComputedStyle(e);return[parseFloat(t.getPropertyValue("width")),parseFloat(t.getPropertyValue("height"))]}(this.$el);this.aspectFactor=("auto"!==this.w?this.w:n)/("auto"!==this.h?this.h:i),this.width="auto"!==this.w?this.w:n,this.height="auto"!==this.h?this.h:i,this.right=this.parentWidth-this.width-this.left,this.bottom=this.parentHeight-this.height-this.top,a(document.documentElement,"mousedown",this.deselect),a(document.documentElement,"touchend",this.deselect),a(document.documentElement,"touchcancel",this.deselect),a(window,"resize",this.checkParentSize)},[i.mT.beforeUnmount](){l(document.documentElement,"mousedown",this.deselect),l(document.documentElement,"touchstart",this.handleUp),l(document.documentElement,"mousemove",this.move),l(document.documentElement,"touchmove",this.move),l(document.documentElement,"mouseup",this.handleUp),l(document.documentElement,"tochend",this.deselect),l(document.documentElement,"touchcancel",this.deselect),l(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){let[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){let e=this.$el.parentNode,t=window.getComputedStyle(e,null),n=parseInt(t.getPropertyValue("width"),10),i=parseInt(t.getPropertyValue("height"),10);return[n=isNaN(n)?e.offsetWidth:n,i=isNaN(i)?e.offsetHeight:i]}if("string"==typeof this.parent){let e=document.querySelector(this.parent);if(!(e instanceof HTMLElement))throw Error(`The selector ${this.parent} does not match any element`);return[e.offsetWidth,e.offsetHeight]}return[null,null]},elementTouchDown(e){g=p,this.elementDown(e)},elementDown(e){let t=e.target||e.srcElement;if(this.$el.contains(t)){if(this.onDragStart&&!1===this.onDragStart(e))return;if(this.dragHandle&&!s(t,this.dragHandle,this.$el)||this.dragCancel&&s(t,this.dragCancel,this.$el))return void(this.dragging=!1);this.enabled||(this.enabled=!0,(0,o.Qy)(this,"activated"),(0,o.Qy)(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()),a(document.documentElement,g.move,this.move),a(document.documentElement,g.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){let t=e.target||e.srcElement,n=RegExp(this.className+"-([trmbl]{2})","");this.$el.contains(t)||n.test(t.className)||(this.enabled&&!this.preventDeactivation&&(this.enabled=!1,(0,o.Qy)(this,"deactivated"),(0,o.Qy)(this,"update:active",!1)),l(document.documentElement,g.move,this.handleResize))},handleTouchDown(e,t){g=p,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(),a(document.documentElement,g.move,this.handleResize),a(document.documentElement,g.stop,this.handleUp))},calcResizeLimits(){let e=this.minW,t=this.minH,n=this.maxW,i=this.maxH,o=this.aspectFactor,[r,s]=this.grid,a=this.width,l=this.height,c=this.left,d=this.top,u=this.right,h=this.bottom;this.lockAspectRatio&&(e/t>o?t=e/o:e=o*t,n&&i?(n=Math.min(n,o*i),i=Math.min(i,n/o)):n?i=n/o:i&&(n=o*i)),n-=n%r,i-=i%s;let 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"),y=this.handle.startsWith("b");return this.parent?(p.minLeft=(this.parentWidth+c)%r,p.maxLeft=c+Math.floor((a-e)/r)*r,p.minTop=(this.parentHeight+d)%s,p.maxTop=d+Math.floor((l-t)/s)*s,p.minRight=(this.parentWidth+u)%r,p.maxRight=u+Math.floor((a-e)/r)*r,p.minBottom=(this.parentHeight+h)%s,p.maxBottom=h+Math.floor((l-t)/s)*s,n&&(p.minLeft=Math.max(p.minLeft,this.parentWidth-u-n),p.minRight=Math.max(p.minRight,this.parentWidth-c-n)),i&&(p.minTop=Math.max(p.minTop,this.parentHeight-h-i),p.minBottom=Math.max(p.minBottom,this.parentHeight-d-i)),this.lockAspectRatio&&(f&&y?(p.minLeft=Math.max(p.minLeft,c-(h-p.minBottom)*o),p.minBottom=0):(p.minLeft=Math.max(p.minLeft,c-d*o),p.minBottom=Math.max(p.minBottom,h-u/o)),g&&m?(p.minRight=Math.max(p.minRight,u-(d-p.minTop)*o),p.minTop=0):(p.minRight=Math.max(p.minRight,u-h*o),p.minTop=Math.max(p.minTop,d-c/o)))):(p.minLeft=null,p.maxLeft=c+Math.floor((a-e)/r)*r,p.minTop=null,p.maxTop=d+Math.floor((l-t)/s)*s,p.minRight=null,p.maxRight=u+Math.floor((a-e)/r)*r,p.minBottom=null,p.maxBottom=h+Math.floor((l-t)/s)*s,n&&(p.minLeft=-(u+n),p.minRight=-(c+n)),i&&(p.minTop=-(h+i),p.minBottom=-(d+i)),this.lockAspectRatio&&n&&i&&(p.minLeft=Math.min(p.minLeft,-(u+n)),p.minTop=Math.min(p.minTop,-(i+h)),p.minRight=Math.min(p.minRight,-c-n),p.minBottom=Math.min(p.minBottom,-d-i))),p},move(e){this.resizing?this.handleResize(e):this.dragging&&this.handleDrag(e)},handleDrag(e){let t=this.axis,n=this.bounds,i=this.mouseClickPosition,r=t&&"y"!==t?i.mouseX-(e.touches?e.touches[0].pageX:e.pageX):0,s=t&&"x"!==t?i.mouseY-(e.touches?e.touches[0].pageY:e.pageY):0,[a,l]=c(this.grid,r,s);if(!a&&!l)return;let u=d(i.left-a,n.minLeft,n.maxLeft),h=d(i.top-l,n.minTop,n.maxTop),p=d(i.right+a,n.minRight,n.maxRight),f=d(i.bottom+l,n.minBottom,n.maxBottom);this.left=u,this.top=h,this.right=p,this.bottom=f,(0,o.Qy)(this,"dragging",this.left,this.top)},handleResize(e){let t=this.left,n=this.top,i=this.right,o=this.bottom,r=this.mouseClickPosition,s=this.aspectFactor,a=r.mouseX-(e.touches?e.touches[0].pageX:e.pageX),l=r.mouseY-(e.touches?e.touches[0].pageY:e.pageY),[u,h]=c(this.grid,a,l);this.handle.includes("b")?(o=d(r.bottom+h,this.bounds.minBottom,this.bounds.maxBottom),this.lockAspectRatio&&this.resizingOnY&&this.handle.includes("m")&&(i=this.right-(this.bottom-o)*s)):this.handle.includes("t")&&(n=d(r.top-h,this.bounds.minTop,this.bounds.maxTop),this.lockAspectRatio&&this.resizingOnY&&this.handle.includes("m")&&(t=this.left-(this.top-n)*s)),this.handle.includes("r")?(i=d(r.right+u,this.bounds.minRight,this.bounds.maxRight),this.lockAspectRatio&&this.resizingOnX&&(this.handle.includes("t")?n=d(this.top-(this.right-i)/s,this.bounds.minTop,this.bounds.maxTop):o=this.bottom-(this.right-i)/s)):this.handle.includes("l")&&(t=d(r.left-u,this.bounds.minLeft,this.bounds.maxLeft),this.lockAspectRatio&&this.resizingOnX&&(this.handle.includes("b")?o=d(this.bottom-(this.left-t)/s,this.bounds.minBottom,this.bounds.maxBottom):n=this.top-(this.left-t)/s));let p=this.parentWidth-t-i,f=this.parentHeight-n-o;this.left=t,this.top=n,this.right=i,this.bottom=o,this.width=p,this.height=f,this.$emit("resizing",this.left,this.top,this.width,this.height)},handleUp(e){this.handle=null,this.resetBoundsAndMouseState(),this.resizing&&(this.resizing=!1,(0,o.Qy)(this,"resizestop",this.left,this.top,this.width,this.height)),this.dragging&&(this.dragging=!1,(0,o.Qy)(this,"dragstop",this.left,this.top)),l(document.documentElement,g.move,this.handleResize)}}}),v=["onMousedown","onTouchstart"];var b=(0,h.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,u.resolveDirective)("syno-id");return(0,u.withDirectives)(((0,u.openBlock)(),(0,u.createElementBlock)("div",{style:(0,u.normalizeStyle)(e.style),class:(0,u.normalizeClass)([{[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)})},[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.actualHandles,t=>((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:t,class:(0,u.normalizeClass)([e.classNameHandle,e.classNameHandle+"-"+t]),style:(0,u.normalizeStyle)({display:e.enabled?"block":"none"}),onMousedown:(0,u.withModifiers)(n=>e.handleDown(t,n),["stop","prevent"]),onTouchstart:(0,u.withModifiers)(n=>e.handleTouchDown(t,n),["stop","prevent"])},[(0,u.renderSlot)(e.$slots,t)],46,v))),128)),(0,u.renderSlot)(e.$slots,"default")],38)),[[s]])}]])},78420:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var i=n(69153);let o=(0,n(53300).e)({components:[i.Z]})},50915:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(88358),o=n(69092),r=n(78671),s=n(82442),a=n(9610),l=n(63917),c=n(80036),d=n(71510),u=(0,n(25217).defineComponent)({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-${(0,d.V)()}`}},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(0,r.Z)({onDragEnter:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"drag-enter",...n)},onDragOver:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"drag-over",...n)},onDragOut:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"drag-out",...n)},onDrag:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"drag",...n)},onBeforeDrag:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"before-drag",...n)},onBeforeDrop:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"before-drop",...n)},onBeforeDragOut:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"before-drag-out",...n)},onBeforeDragOver:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"before-drag-over",...n)},onBeforeDragEnter:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"before-drag-enter",...n)},onDrop:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"drop",...n)},onValidDrop:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"valid-drop",...n)},onInvalidDrop:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"invalid-drop",...n)},startDrag:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"start-drag",...n)},endDrag:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"end-drag",...n)},ghostCls:"v-dd-target",getTargetContent:()=>this.$el.outerHTML,draggingId:this.draggingId},this.dragProps)}},async mounted(){this.createDDTarget()},[i.mT.beforeUnmount](){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():(0,c.isElement)(this.autoScrollElement)&&this.setAutoScrollElement(this.autoScrollElement))},autoRegisterDragZone(){let e=this.getDragZone?.();e&&this.registerDragZone(e)},autoRegisterScrollElement(){let e=(0,l.getScrollContainer)(this.$el);this.setAutoScrollElement(e)},removeDDTarget(){this.ddTarget&&(this._destroyFn?.(),delete this.ddTarget)},registerDragZone(e){let t=e.getDragZone?.()??e;this._destroyFn=this.ddTarget.registerDragZone(t)},setAutoScrollElement(e){this.ddTarget.setAutoScrollElement(e)}},render(){return(0,a.g)(s.FJ(this)?.default?.())}})},66539:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(88358),o=n(69092),r=n(82442),s=n(9610),a=n(78671),l=n(71510),c=(0,n(25217).defineComponent)({name:"DragZone",props:{payload:{type:Object,default:()=>({})},dragProps:{type:Object,default:()=>({})},draggingId:{type:String,default:`dragging-${(0,l.V)()}`}},emits:["enter","drop","over","out","valid-drop","invalid-drop"],computed:{mergedDragProps(){var e=this;return(0,a.Z)({notifyEnter:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"enter",...n)},notifyDrop:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"drop",...n)},notifyOver:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"over",...n)},notifyOut:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"out",...n)},notifyValidDrop:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"valid-drop",...n)},notifyInvalidDrop:function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];(0,o.Qy)(e,"invalid-drop",...n)},draggingId:this.draggingId},this.dragProps)}},mounted(){this.createDragZone()},[i.mT.beforeUnmount](){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(0,s.g)(r.FJ(this)?.default?.())}})},56715:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});var i=n(50915),o=n(66539);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},82241:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var i=n(69092),o=n(37153),r=n(21812),s=n(83871),a=n(25217),l=n(11747);(0,o.z)("edit-menu-more",r.GX);let c=(0,a.defineComponent)({name:"EditMenuItem",components:{vIcon:s.Z},mixins:[o.Z],props:{hasMore:{type:Boolean,default:!1}},emits:["click"],data:()=>({}),computed:{wrapperCls(){return["v-edit-menu-item",{"has-more":this.hasMore}]}},methods:{onClick(e){(0,i.Qy)(this,"click",e)}}}),d={class:"edit-menu-text"},u={key:0,class:"more-btn-wrapper"};var h=(0,l.Z)(c,[["render",function(e,t,n,i,o,r){let s=(0,a.resolveComponent)("v-icon");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:(0,a.normalizeClass)(e.wrapperCls),onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)})},[(0,a.createElementVNode)("span",d,[(0,a.renderSlot)(e.$slots,"default")]),e.hasMore?((0,a.openBlock)(),(0,a.createElementBlock)("div",u,[(0,a.createVNode)(s,{size:"thin-rect",name:"edit-menu-more","svg-icon-set":"set02"})])):(0,a.createCommentVNode)("",!0)],2)}]])},29721:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(69092),o=n(30782),r=n(30272),s=n(80036),a=n(82241),l=n(25217),c=n(11747);let d=(0,l.defineComponent)({name:"EditMenu",components:{vEditMenuItem:a.Z,vScrollbar:o.Z},mixins:[(0,r.J)("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((0,s.isDefined)(e.useSlot))return!!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),(0,i.Qy)(this,"click-item",e),(0,i.Qy)(this,"switch-items",e.subItems)}}}),u={key:0,class:"prev-filter gradient-filter"},h={key:1,class:"next-filter gradient-filter"};var p=(0,c.Z)(d,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-edit-menu-item"),a=(0,l.resolveComponent)("v-scrollbar");return e.innerItems.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(e.wrapperCls)},[(0,l.createVNode)(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:(0,l.withCtx)(()=>[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.innerItems,t=>((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,null,[e.useSlot(t)?(0,l.renderSlot)(e.$slots,e.getSlot(t),{key:0}):((0,l.openBlock)(),(0,l.createBlock)(s,{key:t.value,"has-more":!!t.subItems,onClick:n=>e.onClickItem(t)},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(t.display),1)]),_:2},1032,["has-more","onClick"]))],64))),256))]),_:3}),e.reachLeft?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("i",u)),e.reachRight?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("i",h))],2)):(0,l.createCommentVNode)("",!0)}]])},21008:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});var i=n(29721),o=n(82241);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},29643:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(69092),o=n(61644),r=n(59449),s=n(83871),a=n(84593),l=n(37153),c=n(25217),d=n(58954),u=(0,c.defineComponent)({name:"EmptyView",components:{vIcon:s.Z,vSpace:r.Z,vButton:o.Z},mixins:[a.Z,l.Z],props:{icon:{type:(0,d.C)(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:(0,d.C)(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){(0,i.Qy)(this,"action-click",e)}}}),h=n(11747);let p={class:"v-empty-view"},f={class:"v-empty-view-box"},m={key:1,class:"v-empty-view-title"},g={key:2,class:"v-empty-view-text"},y={key:3,class:"v-empty-view-action"};var v=(0,h.Z)(u,[["render",function(e,t,n,i,o,r){let s=(0,c.resolveComponent)("v-icon"),a=(0,c.resolveComponent)("v-button"),l=(0,c.resolveComponent)("v-space");return(0,c.openBlock)(),(0,c.createElementBlock)("div",p,[(0,c.createElementVNode)("div",f,[e.hideIcon?(0,c.createCommentVNode)("",!0):((0,c.openBlock)(),(0,c.createBlock)(s,(0,c.mergeProps)({key:0},e.icon,{class:["v-empty-view-icon",e.iconClass]}),null,16,["class"])),e.hideTitle?(0,c.createCommentVNode)("",!0):((0,c.openBlock)(),(0,c.createElementBlock)("div",m,[(0,c.renderSlot)(e.$slots,"title")])),e.hideText?(0,c.createCommentVNode)("",!0):((0,c.openBlock)(),(0,c.createElementBlock)("p",g,[(0,c.renderSlot)(e.$slots,"default",{},()=>[(0,c.createTextVNode)((0,c.toDisplayString)(e.innerText),1)])])),e.hideAction?(0,c.createCommentVNode)("",!0):((0,c.openBlock)(),(0,c.createElementBlock)("div",y,[(0,c.createVNode)(l,{spacing:"dense"},{default:(0,c.withCtx)(()=>[(0,c.renderSlot)(e.$slots,"action",{},()=>[(0,c.createVNode)(a,{"syno-id":`${e.synoId}-default-button`,suffix:e.actionBtnSuffix,onClick:e.onActionClick},{default:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(e.innerActionText),1)]),_:1},8,["syno-id","suffix","onClick"])])]),_:3})]))])])}]])},97992:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var i=n(29643);let o=(0,n(53300).e)({components:[i.Z]})},41732:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var i=n(69092),o=n(82442),r=n(24121),s=n(74547),a=n(37153),l=n(21812),c=n(80036),d=n(90946),u=n(29151),h=n(83871),p=n(25217),f=n(58954);(0,a.z)("expandable-item-up",l.jS),(0,a.z)("expandable-item-down",l.lQ);var m=(0,p.defineComponent)({name:"ExpandableItem",components:{vSlideUpDownTransition:r.Z,vIcon:h.Z},directives:{tooltip:s.Z},mixins:[a.Z],props:{icon:{type:(0,f.C)([String,Boolean]),default:!1},statusIcon:{type:(0,f.C)([String,Boolean]),default:!1},statusIconCls:{type:String,default:void 0},summary:{type:(0,f.C)([String,Object]),default:void 0},summaryStatus:{type:String,default:void 0},summaryStatusTip:{type:[String,Object],default:void 0},title:{type:(0,f.C)([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&&(0,u.Rn)("statusIconCls","statusIcon",this),this.statusIcon??this.statusIconCls},disabledExpand(){return(0,c.isObject)(this.disabled)?!1===(this.disabled.allowExpand??!1):!0===this.disabled},deprecatedSummary(){if(this.summaryStatus||this.summaryStatusTip||this.enableStatusTip){(0,u.Rn)("summaryStatus","summary",this),(0,u.Rn)("summaryStatusTip","summary",this),(0,u.Rn)("enableStatusTip","summary",this);let 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":!!this.disabled,"disabled-all":this.disabledExpand}]},toggleCls(){return{expanded:this.innerExpanded}},innerTitle(){return(0,c.isObject)(this.title)?this.title?.text:this.title},innerTitleFormat(){return(0,c.isObject)(this.title)?this.title?.text??"text":"text"},innerTitleTip(){if(!(0,c.isObject)(this.title))return!1;let e=!0===this.title.tip?this.innerTitle:this.title.tip;return!!e&&((0,c.isObject)(e)?e:{content:e,overflowOnly:!0})},innerSummary(){return this.deprecatedSummary?this.deprecatedSummary:this.summary},innerSummaryFormat(){return(0,c.isObject)(this.innerSummary)?this.innerSummary?.format??"text":"text"},innerSummaryText(){return(0,c.isObject)(this.innerSummary)?this.innerSummary?.text:this.innerSummary},innerSummaryTip(){if(!(0,c.isObject)(this.innerSummary))return!1;let e=!0===this.innerSummary.tip?this.innerSummaryText:this.innerSummary.tip;return!!e&&((0,c.isObject)(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(0,o._Y)(this,"detail")},toggleItem(){this.innerExpandable&&!this.disabledExpand&&(this.innerExpanded=!this.innerExpanded,(0,i.Qy)(this,"update:expanded",this.innerExpanded))},onKeyDown(e){((0,d.tH)(e)||(0,d.Wd)(e))&&(e.preventDefault(),this.toggleItem())}}}),g=n(11747);let y={class:"item-summary"},v={class:"icon-wrapper"},b={class:"main-wrapper"},w={class:"title-wrapper"},C=["innerHTML"],S=["textContent"],k={class:"item-status-wrapper"},x=["innerHTML"],B=["textContent"],T={key:0,ref:"detail",class:"item-detail"};var E=(0,g.Z)(m,[["render",function(e,t,n,i,o,r){let s=(0,p.resolveComponent)("v-icon"),a=(0,p.resolveComponent)("v-slide-up-down-transition"),l=(0,p.resolveDirective)("tooltip"),c=(0,p.resolveDirective)("syno-id");return(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("div",{class:(0,p.normalizeClass)(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)})},[(0,p.createElementVNode)("div",y,[(0,p.createElementVNode)("div",v,[(0,p.renderSlot)(e.$slots,"icon",{},()=>[e.icon?((0,p.openBlock)(),(0,p.createBlock)(s,{key:0,class:"item-icon",name:e.icon,"svg-icon-set":"set06",disabled:!!e.disabled},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"icon-status",{},()=>[e.innerStatusIcon?((0,p.openBlock)(),(0,p.createBlock)(s,{key:0,class:"item-status-icon",name:e.innerStatusIcon,"svg-icon-set":"set02"},null,8,["name"])):(0,p.createCommentVNode)("",!0)])]),_:3},8,["name","disabled"])):(0,p.createCommentVNode)("",!0)])]),(0,p.createElementVNode)("div",b,[(0,p.createElementVNode)("div",w,[(0,p.renderSlot)(e.$slots,"title",{},()=>["html"===e.innerTitleFormat?(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("span",{key:0,class:"item-title",innerHTML:e.innerTitle},null,8,C)),[[l,e.innerTitleTip]]):(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("span",{key:1,class:"item-title",textContent:(0,p.toDisplayString)(e.innerTitle)},null,8,S)),[[l,e.innerTitleTip]]),(0,p.renderSlot)(e.$slots,"label")])]),(0,p.createElementVNode)("div",k,[(0,p.renderSlot)(e.$slots,"status",{},()=>["html"===e.innerSummaryFormat?(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:0,class:"item-status",innerHTML:e.innerSummaryText},null,8,x)),[[l,e.innerSummaryTip]]):(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:1,class:"item-status",textContent:(0,p.toDisplayString)(e.innerSummaryText)},null,8,B)),[[l,e.innerSummaryTip]])])])]),(0,p.renderSlot)(e.$slots,"block"),e.innerExpandable?((0,p.openBlock)(),(0,p.createElementBlock)("div",{key:0,class:(0,p.normalizeClass)(["toggle-wrapper",e.toggleCls]),onClick:t[0]||(t[0]=(0,p.withModifiers)(function(){return e.toggleItem&&e.toggleItem(...arguments)},["stop"]))},[(0,p.renderSlot)(e.$slots,"toggle-icon",{},()=>[(0,p.createVNode)(s,{class:"item-toggle-img",name:e.innerExpanded?"expandable-item-up":"expandable-item-down",disabled:!!e.disabledExpand,"svg-icon-set":"set33"},null,8,["name","disabled"])])],2)):(0,p.createCommentVNode)("",!0)]),(0,p.createVNode)(a,null,{default:(0,p.withCtx)(()=>[e.innerExpanded&&e.hasDetailSlot()?((0,p.openBlock)(),(0,p.createElementBlock)("div",T,[(0,p.renderSlot)(e.$slots,"detail")],512)):(0,p.createCommentVNode)("",!0)]),_:3})],34)),[[c]])}]])},59187:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var i=n(41732);let o=(0,n(53300).e)({components:[i.Z]})},72054:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i=n(24121),o=n(81460),r=n(37153),s=n(21812),a=n(83871),l=n(80036),c=n(29151),d=n(25217),u=n(11747);(0,r.z)("fieldset-chevron-up",s.np),(0,r.z)("fieldset-chevron-down",s.u);let h={CLICK:"click",DBLCLICK:"dblclick",NONE:"none"},p=(0,d.defineComponent)({name:"Fieldset",components:{vSlideUpDownTransition:i.Z,vLayout:o.Z,vIcon:a.Z},mixins:[r.Z],props:{layoutOrder:{type:Number,default:0},prefixCls:{type:String,default:"v-fieldset"},collapsible:{type:Boolean,default:!0},collapseTriggerEvent:{type:String,default:h.CLICK,validator:e=>Object.values(h).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(0,l.isDefined)(this.titleHtml)?((0,c.Rn)("titleHtml","title",this),"html"):(0,l.isObject)(this.title)?this.title.format??"text":"text"},innerTitle(){return(0,l.isDefined)(this.titleHtml)?((0,c.Rn)("titleHtml","title",this),this.titleHtml):(0,l.isObject)(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===h.CLICK&&this.toggleCollapse()},onDblClick(){this.$emit("header-dblclick"),this.collapseTriggerEvent===h.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)}}}),f=["innerHTML"],m=["textContent"];var g=(0,u.Z)(p,[["render",function(e,t,n,i,o,r){let s=(0,d.resolveComponent)("v-icon"),a=(0,d.resolveComponent)("v-layout"),l=(0,d.resolveComponent)("v-slide-up-down-transition");return(0,d.openBlock)(),(0,d.createBlock)(a,{class:(0,d.normalizeClass)(e.fieldsetCls),role:"group","aria-label":e.innerTitle,tabindex:"0",type:"fieldset",order:e.layoutOrder},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)("div",{class:(0,d.normalizeClass)(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)})},[(0,d.renderSlot)(e.$slots,"collapse-icon",{},()=>[e.collapsible&&"none"!==e.collapseIcon?((0,d.openBlock)(),(0,d.createBlock)(s,{key:0,class:"v-fieldset-collapse-icon",name:e.iconName,"svg-icon-set":"set15"},null,8,["name"])):(0,d.createCommentVNode)("",!0)]),(0,d.renderSlot)(e.$slots,"title",{},()=>["html"===e.titleFormat?((0,d.openBlock)(),(0,d.createElementBlock)("div",{key:0,class:(0,d.normalizeClass)(e.prefixCls+"-title"),innerHTML:e.innerTitle},null,10,f)):((0,d.openBlock)(),(0,d.createElementBlock)("div",{key:1,class:(0,d.normalizeClass)(e.prefixCls+"-title"),textContent:(0,d.toDisplayString)(e.innerTitle)},null,10,m))])],34),(0,d.createVNode)(l,{"syno-id":`${e.prefixCls}-slide-up-down`},{default:(0,d.withCtx)(()=>[(0,d.withDirectives)((0,d.createVNode)(a,{ref:"body",class:(0,d.normalizeClass)(e.prefixCls+"-body"),type:"fieldset-body"},{default:(0,d.withCtx)(()=>[(0,d.renderSlot)(e.$slots,"default")]),_:3},8,["class"]),[[d.vShow,!e.isCollapsed]])]),_:3},8,["syno-id"])]),_:3},8,["class","aria-label","order"])}]])},51593:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var i=n(72054);let o=(0,n(53300).e)({components:[i.Z]})},47430:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}}),n(50401),n(15773);var i=n(69092),o=n(74547),r=n(84593),s=n(62704),a=n(8725),l=n(80036),c=n(61644),d=n(83871),u=n(86419),h=n(21812),p=n(37153),f=n(25217),m=n(11747);(0,p.z)("file-button-upload",h.k_);let g=(0,f.defineComponent)({name:"FileButton",directives:{tooltip:o.Z},components:{vButton:c.Z,vInput:u.Z,vIcon:d.Z},mixins:[s.ZP,r.Z,a.Z,p.Z],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(0,l.isObject)(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(0,l.isArray)(this.fileName)?this.fileName.length?(0,l.formatString)(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(){let e=(0,l.isArray)(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(){let e=this.getFileList();return e?e[0]:null},getFileList(){return this.files},onClick(){this.disabled||this.$refs.fileInput.click()},onClear(){this.files=[],(0,i.Qy)(this,"change",""),(0,i.Qy)(this,"update:file-name",""),(0,i.Qy)(this,"files",this.files)},onFileChange(e){this.files=[...e.target.files],this.$refs.fileInput.value=null;let t=this.files.map(e=>e.name);(0,i.Qy)(this,"files",this.files),this.multiple?((0,i.Qy)(this,"change",t),(0,i.Qy)(this,"update:file-name",t)):((0,i.Qy)(this,"change",t[0]),(0,i.Qy)(this,"update:file-name",t[0]))}}}),y=["accept","multiple","webkitdirectory"];var v=(0,m.Z)(g,[["render",function(e,t,n,i,o,r){let s=(0,f.resolveComponent)("v-icon"),a=(0,f.resolveComponent)("v-input"),l=(0,f.resolveComponent)("v-button"),c=(0,f.resolveDirective)("syno-id"),d=(0,f.resolveDirective)("tooltip");return(0,f.withDirectives)(((0,f.openBlock)(),(0,f.createElementBlock)("div",{class:(0,f.normalizeClass)(e.fileButtonWrapperCls)},[e.hasCustom?(0,f.renderSlot)(e.$slots,"custom",{key:0,openFileBrowser:e.onClick}):(0,f.createCommentVNode)("",!0),e.hasInput?((0,f.openBlock)(),(0,f.createBlock)(a,{key:1,name:"file-button",class:(0,f.normalizeClass)(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},(0,f.createSlots)({_:2},[e.isIconInInput?{name:"suffix-icons",fn:(0,f.withCtx)(()=>[(0,f.createVNode)(s,(0,f.normalizeProps)((0,f.guardReactiveProps)(e.innerIcon)),null,16)]),key:"0"}:void 0]),1032,["class","placeholder","model-value","value","syno-id","clearable","disabled","onClear"])):(0,f.createCommentVNode)("",!0),(0,f.createElementVNode)("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,y),e.hasButton?((0,f.openBlock)(),(0,f.createBlock)(l,{key:2,disabled:e.disabled,"syno-id":`${e.synoId}-btn`,display:e.buttonDisplay,onClick:e.onClick},{icon:(0,f.withCtx)(()=>["icon"===e.buttonDisplay?((0,f.openBlock)(),(0,f.createBlock)(s,(0,f.normalizeProps)((0,f.mergeProps)({key:0},e.innerIcon)),null,16)):(0,f.createCommentVNode)("",!0)]),default:(0,f.withCtx)(()=>["text"===e.buttonDisplay?((0,f.openBlock)(),(0,f.createElementBlock)(f.Fragment,{key:0},[(0,f.createTextVNode)((0,f.toDisplayString)(e._i18n("uicommon","browse")),1)],64)):(0,f.createCommentVNode)("",!0)]),_:1},8,["disabled","syno-id","display","onClick"])):(0,f.createCommentVNode)("",!0)],2)),[[c],[d,e.getTip()]])}]])},92324:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var i=n(47430);let o=(0,n(53300).e)({components:[i.Z]})},61803:function(e,t,n){"use strict";n.d(t,{Z:function(){return W}}),n(50401),n(91234),n(80438);var i=n(88358),o=n(82442),r=n(22902);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t,n){return(c=!function(){if("undefined"==typeof Reflect||!Reflect.construct||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(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&l(o,n.prototype),o}:Reflect.construct).apply(null,arguments)}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw 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 c(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l(n,e)})(e)}var u=/%[sdj%]/g;function h(e){if(!e||!e.length)return null;var t={};return e.forEach(function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)}),t}function p(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=1,o=t[0],r=t.length;return"function"==typeof o?o.apply(null,t.slice(1)):"string"==typeof o?String(o).replace(u,function(e){if("%%"===e)return"%";if(i>=r)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(e){return"[Circular]"}break;default:return e}}):o}function f(e,t){return!!(null==e||"array"===t&&Array.isArray(e)&&!e.length)||("string"===t||"url"===t||"hex"===t||"email"===t||"date"===t||"pattern"===t)&&"string"==typeof e&&!e}function m(e,t,n){var i=0,o=e.length;!function r(s){if(s&&s.length){n(s);return}var a=i;i+=1,a<o?t(e[a],r):n([])}([])}"undefined"!=typeof process&&process.env;var g=function(e){function t(t,n){var i;return(i=e.call(this,"Async Validation Error")||this).errors=t,i.fields=n,i}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,l(t,e),t}(d(Error));function y(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 v(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"object"==typeof i&&"object"==typeof e[n]?e[n]=s({},e[n],i):e[n]=i}}return e}function b(e,t,n,i,o,r){e.required&&(!n.hasOwnProperty(e.field)||f(t,r||e.type))&&i.push(p(o.messages.required,e.fullField))}var w={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: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},C={integer:function(e){return C.number(e)&&parseInt(e,10)===e},float:function(e){return C.number(e)&&!C.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return new RegExp(e),!0}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&&!C.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(w.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(w.url)},hex:function(e){return"string"==typeof e&&!!e.match(w.hex)}},S="enum",k={required:b,whitespace:function(e,t,n,i,o){(/^\s+$/.test(t)||""===t)&&i.push(p(o.messages.whitespace,e.fullField))},type:function(e,t,n,i,o){if(e.required&&void 0===t){b(e,t,n,i,o);return}var r=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(r)>-1?C[r](t)||i.push(p(o.messages.types[r],e.fullField,e.type)):r&&typeof t!==e.type&&i.push(p(o.messages.types[r],e.fullField,e.type))},range:function(e,t,n,i,o){var r="number"==typeof e.len,s="number"==typeof e.min,a="number"==typeof e.max,l=t,c=null,d="number"==typeof t,u="string"==typeof t,h=Array.isArray(t);if(d?c="number":u?c="string":h&&(c="array"),!c)return!1;h&&(l=t.length),u&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),r?l!==e.len&&i.push(p(o.messages[c].len,e.fullField,e.len)):s&&!a&&l<e.min?i.push(p(o.messages[c].min,e.fullField,e.min)):a&&!s&&l>e.max?i.push(p(o.messages[c].max,e.fullField,e.max)):s&&a&&(l<e.min||l>e.max)&&i.push(p(o.messages[c].range,e.fullField,e.min,e.max))},enum:function(e,t,n,i,o){e[S]=Array.isArray(e[S])?e[S]:[],-1===e[S].indexOf(t)&&i.push(p(o.messages[S],e.fullField,e[S].join(", ")))},pattern:function(e,t,n,i,o){!e.pattern||(e.pattern instanceof RegExp?(e.pattern.lastIndex=0,e.pattern.test(t)||i.push(p(o.messages.pattern.mismatch,e.fullField,t,e.pattern))):"string"!=typeof e.pattern||new RegExp(e.pattern).test(t)||i.push(p(o.messages.pattern.mismatch,e.fullField,t,e.pattern)))}};function x(e,t,n,i,o){var r=e.type,s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t,r)&&!e.required)return n();k.required(e,t,i,s,o,r),f(t,r)||k.type(e,t,i,s,o)}n(s)}var B={string:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t,"string")&&!e.required)return n();k.required(e,t,i,r,o,"string"),f(t,"string")||(k.type(e,t,i,r,o),k.range(e,t,i,r,o),k.pattern(e,t,i,r,o),!0===e.whitespace&&k.whitespace(e,t,i,r,o))}n(r)},method:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();k.required(e,t,i,r,o),void 0!==t&&k.type(e,t,i,r,o)}n(r)},number:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(""===t&&(t=void 0),f(t)&&!e.required)return n();k.required(e,t,i,r,o),void 0!==t&&(k.type(e,t,i,r,o),k.range(e,t,i,r,o))}n(r)},boolean:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();k.required(e,t,i,r,o),void 0!==t&&k.type(e,t,i,r,o)}n(r)},regexp:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();k.required(e,t,i,r,o),f(t)||k.type(e,t,i,r,o)}n(r)},integer:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();k.required(e,t,i,r,o),void 0!==t&&(k.type(e,t,i,r,o),k.range(e,t,i,r,o))}n(r)},float:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();k.required(e,t,i,r,o),void 0!==t&&(k.type(e,t,i,r,o),k.range(e,t,i,r,o))}n(r)},array:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();k.required(e,t,i,r,o,"array"),null!=t&&(k.type(e,t,i,r,o),k.range(e,t,i,r,o))}n(r)},object:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();k.required(e,t,i,r,o),void 0!==t&&k.type(e,t,i,r,o)}n(r)},enum:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();k.required(e,t,i,r,o),void 0!==t&&k.enum(e,t,i,r,o)}n(r)},pattern:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t,"string")&&!e.required)return n();k.required(e,t,i,r,o),f(t,"string")||k.pattern(e,t,i,r,o)}n(r)},date:function(e,t,n,i,o){var r,s=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t,"date")&&!e.required)return n();k.required(e,t,i,s,o),!f(t,"date")&&(r=t instanceof Date?t:new Date(t),k.type(e,r,i,s,o),r&&k.range(e,r.getTime(),i,s,o))}n(s)},url:x,hex:x,email:x,required:function(e,t,n,i,o){var r=[],s=Array.isArray(t)?"array":typeof t;k.required(e,t,i,r,o,s),n(r)},any:function(e,t,n,i,o){var r=[];if(e.required||!e.required&&i.hasOwnProperty(e.field)){if(f(t)&&!e.required)return n();k.required(e,t,i,r,o)}n(r)}};function T(){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 E=T();function I(e){this.rules=null,this._messages=E,this.define(e)}I.prototype={messages:function(e){return e&&(this._messages=v(T(),e)),this._messages},define:function(e){var t,n;if(!e)throw Error("Cannot configure a schema with no rules");if("object"!=typeof e||Array.isArray(e))throw Error("Rules must be an object");for(t in this.rules={},e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e,t,n){var i,o,r=this;void 0===t&&(t={}),void 0===n&&(n=function(){});var a=e,l=t,c=n;if("function"==typeof l&&(c=l,l={}),!this.rules||0===Object.keys(this.rules).length)return c&&c(),Promise.resolve();if(l.messages){var d=this.messages();d===E&&(d=T()),v(d,l.messages),l.messages=d}else l.messages=this.messages();var u={};(l.keys||Object.keys(this.rules)).forEach(function(t){i=r.rules[t],o=a[t],i.forEach(function(n){var i=n;"function"==typeof i.transform&&(a===e&&(a=s({},a)),o=a[t]=i.transform(o)),(i="function"==typeof i?{validator:i}:s({},i)).validator=r.getValidationMethod(i),i.field=t,i.fullField=i.fullField||t,i.type=r.getType(i),i.validator&&(u[t]=u[t]||[],u[t].push({rule:i,value:o,source:a,field:t}))})});var f={};return function(e,t,n,i){if(t.first){var o=new Promise(function(t,o){var r;m((r=[],Object.keys(e).forEach(function(t){r.push.apply(r,e[t])}),r),n,function(e){return i(e),e.length?o(new g(e,h(e))):t()})});return o.catch(function(e){return e}),o}var r=t.firstFields||[];!0===r&&(r=Object.keys(e));var s=Object.keys(e),a=s.length,l=0,c=[],d=new Promise(function(t,o){var d=function(e){if(c.push.apply(c,e),++l===a)return i(c),c.length?o(new g(c,h(c))):t()};s.length||(i(c),t()),s.forEach(function(t){var i=e[t];-1!==r.indexOf(t)?m(i,n,d):function(e,t,n){var i=[],o=0,r=e.length;function s(e){i.push.apply(i,e),++o===r&&n(i)}e.forEach(function(e){t(e,s)})}(i,n,d)})});return d.catch(function(e){return e}),d}(u,l,function(e,t){var n,i=e.rule,o=("object"===i.type||"array"===i.type)&&("object"==typeof i.fields||"object"==typeof i.defaultField);function r(e,t){return s({},t,{fullField:i.fullField+"."+e})}function a(n){void 0===n&&(n=[]);var a=n;if(Array.isArray(a)||(a=[a]),!l.suppressWarning&&a.length&&I.warning("async-validator:",a),a.length&&void 0!==i.message&&(a=[].concat(i.message)),a=a.map(y(i)),l.first&&a.length)return f[i.field]=1,t(a);if(o){if(i.required&&!e.value)return void 0!==i.message?a=[].concat(i.message).map(y(i)):l.error&&(a=[l.error(i,p(l.messages.required,i.field))]),t(a);var c={};if(i.defaultField)for(var d in e.value)e.value.hasOwnProperty(d)&&(c[d]=i.defaultField);for(var u in c=s({},c,e.rule.fields))if(c.hasOwnProperty(u)){var h=Array.isArray(c[u])?c[u]:[c[u]];c[u]=h.map(r.bind(null,u))}var m=new I(c);m.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),m.validate(e.value,e.rule.options||l,function(e){var n=[];a&&a.length&&n.push.apply(n,a),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)})}else t(a)}o=o&&(i.required||!i.required&&e.value),i.field=e.field,i.asyncValidator?n=i.asyncValidator(i,e.value,a,e.source,l):i.validator&&(!0===(n=i.validator(i,e.value,a,e.source,l))?a():!1===n?a(i.message||i.field+" fails"):n instanceof Array?a(n):n instanceof Error&&a(n.message)),n&&n.then&&n.then(function(){return a()},function(e){return a(e)})},function(e){!function(e){var t,n=[],i={};for(t=0;t<e.length;t++)!function(e){if(Array.isArray(e)){var t;n=(t=n).concat.apply(t,e)}else n.push(e)}(e[t]);n.length?i=h(n):(n=null,i=null),c(n,i)}(e)})},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!B.hasOwnProperty(e.type))throw Error(p("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),n=t.indexOf("message");return(-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0])?B.required:B[this.getType(e)]||!1}},I.register=function(e,t){if("function"!=typeof t)throw Error("Cannot register a validator by type, validator is not a function");B[e]=t},I.warning=function(){},I.messages=E,I.validators=B;var D=n(62704),V=n(84593),N=n(30272),_=n(67834),M=n(80036),$=n(63917),Z=n(71172),A=n(74583),O=n(16447),F=n(69092),z=n(92128),L=n(25217),P=n(11747);let R=(0,L.defineComponent)({name:"FormItem",components:{vPopup:_.Z,withCol:(0,O.Q)(A.Z)},mixins:[V.Z,D.ZP,(0,N.f)("form-controller"),(0,N.J)("form-item"),(0,N.f)("form-multiple-item"),(0,N.f)("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!!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&&!(0,M.isDefined)(this.label)&&!(0,o._Y)(this,"label")},innerControlFlex(){return"vertical"!==this.form?.instance?.innerDirection&&((0,M.isDefined)(this.controlFlex)?this.controlFlex:!!this.inFlexMultipleFormItem&&"auto")},innerLabelFlex(){return"vertical"!==this.form?.instance?.innerDirection&&!!(0,M.isDefined)(this.labelFlex)&&this.labelFlex},controlCls(){let 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!((0,M.isDefined)(this.validateMessage)&&""!==this.validateMessage)||this.hideValidateMessage||!this.shouldValidate||this.validateMessageTextMode},isDirty(){return!(0,M.isEqual)(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;(0,F.Zn)(this,"form.register",this.onFieldRegister),(0,F.Zn)(this,"form.unregister",this.onFieldUnregister),this.validateDebounced=(0,r.Z)(function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];e.validate(t,...i)},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))},[i.mT.beforeUnmount](){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]:{},n=arguments.length>2?arguments[2]:void 0,i=null;if(this.validateDebounced&&this.validateDebounced.cancel(),this.innerValidateStatus="",i=this.getFilteredRule(e),n&&(i=i.concat(n)),(!this.field||!this.field.validateByField)&&(!this.prop||!i||0===i.length||!this.shouldValidate))return this.validateMessage="",(0,F.Qy)(this,"validated",{message:this.validateMessage,status:this.innerValidateStatus}),this.validateMessage;this.innerValidateStatus="validating",(0,F.Qy)(this,"validating");try{if(this.field?.validateByField&&await this.field?.validate?.(t?.event),i.length>0){let e={[this.prop]:this.fieldValue},t=new I({[this.prop]:i});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 Z.J||/Async Validation Error/.test(e.message)))throw e;e.errors&&(this.innerValidateStatus="error",this.validateMessage=e.errors[0].message)}return(0,F.Qy)(this,"validated",{message:this.validateMessage,status:this.innerValidateStatus}),this.validateMessage},inFormController(){return!!this["form-controller"]},resetField(){this.innerValidateStatus="",this.validateMessage="",this.field&&(0,F.Qy)(this.field,(0,z.ef)(this.field),this.innerInitialValue)},commit(){this["form-controller"]||(this.innerInitialValue=this.fieldValue)},getRules(){let e=this.form?.instance?.rules?.[this.prop]??[];return[].concat(this.rules??[]).concat(e)},getFilteredRule(e){return this.getRules().filter(t=>{let n=t.trigger??this.defaultValidateTrigger;return!(0,M.isDefined)(e)||null===e||((0,M.isArray)(n)?n.some(t=>t.includes(e)):n.includes(e))})},setInvalid(e,t){this.innerValidateStatus=t||"error",(0,M.isDefined)(e)&&(this.validateMessage=e)},ensureVisible(){(0,$.scrollTo)(this.$el,{scrollMode:"if-needed"})},resetInvalid(){this.innerValidateStatus="",this.validateMessage=""},watchField(e){let t=e.valueKey??(0,z.GV)(),n=e.disabledKey??"disabled";this.field=e,this.labelFor=e.id,(0,M.isDefined)(this.fixInitialValue)||(this.innerInitialValue=e[t]),this.fieldValue=e[t];let i=[e.$watch(t,this.onFieldChange,{immediate:!0}),e.$watch(t,e=>{this.onFieldShouldValidate(e,"change")},{immediate:this.immediateValidate}),e.$watch(n,e=>{this.onFieldDisable(e),(this.immediateValidate||e)&&this.onFieldShouldValidate(e,this.defaultValidateTrigger)},{immediate:!0}),(0,F.Zn)(e,"blur",this.onFieldBlur),(0,F.Zn)(e,"keyup",this.onFieldKeyUp),(0,F.Zn)(e,"focus-next-field",this.onFocusNextField),(0,F.Zn)(e,"focus-prev-field",this.onFocusPreviousField)];e.validateByField&&i.push((0,F.Zn)(e,e.validateByField.event,this.onFieldCustomEvent)),this.unwatchers=i},unwatchField(e){if((0,F.M5)(e,"blur",this.onFieldBlur),(0,F.M5)(e,"keyup",this.onFieldKeyUp),(0,F.M5)(e,"focus-next-field",this.onFocusNextField),(0,F.M5)(e,"focus-prev-field",this.onFocusPreviousField),e.validateByField&&(0,F.M5)(e,e.validateByField.event,this.onFieldCustomEvent),this.unwatchers){for(let 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(0,o._Y)(this,"description")},getFlexStyle(e){let t={},n=(0,M.isObject)(e)?this.$breakpointManager.getSuitableValue(e):e;return!1===n?{}:((0,M.isNumberLike)(n)||(t.flex=n),(0,M.isNumberUnit)(n)&&(t.width=n,t["flex-grow"]=0,t["flex-shrink"]=0),t)}}}),H=["for"],j={key:0,class:"validate-message"};var W=(0,P.Z)(R,[["render",function(e,t,n,i,o,r){let s=(0,L.resolveComponent)("v-popup"),a=(0,L.resolveComponent)("with-col");return(0,L.openBlock)(),(0,L.createBlock)(a,{wrap:e.inFlexMultipleFormItem,flex:e.wrapperFlex},{default:(0,L.withCtx)(()=>[(0,L.createElementVNode)("div",{class:(0,L.normalizeClass)(e.itemCls),style:(0,L.normalizeStyle)(e.itemStyle)},[(0,L.renderSlot)(e.$slots,"before"),e.innerHideLabel||e.isComposite?(0,L.createCommentVNode)("",!0):((0,L.openBlock)(),(0,L.createElementBlock)("div",{key:0,class:(0,L.normalizeClass)(e.labelCls),style:(0,L.normalizeStyle)(e.labelStyle)},[(0,L.renderSlot)(e.$slots,"label",{label:e.label,for:e.labelFor},()=>[(0,L.renderSlot)(e.$slots,"label-before"),e.label?((0,L.openBlock)(),(0,L.createElementBlock)("label",{key:0,for:e.labelFor},(0,L.toDisplayString)(e.label),9,H)):(0,L.createCommentVNode)("",!0),(0,L.renderSlot)(e.$slots,"label-after")])],6)),(0,L.createElementVNode)("div",{class:"v-form-item-input",style:(0,L.normalizeStyle)(e.controlStyle)},[(0,L.createElementVNode)("div",{class:(0,L.normalizeClass)(e.controlCls)},[(0,L.createVNode)(s,{ref:"popup",type:"error",disable:e.isPopupDisabled,content:e.validateMessage},{default:(0,L.withCtx)(()=>[(0,L.renderSlot)(e.$slots,"default")]),_:3},8,["disable","content"])],2),(0,L.renderSlot)(e.$slots,"status",{validateMessageTextMode:e.validateMessageTextMode,validateMessage:e.validateMessage},()=>[e.validateMessageTextMode&&e.validateMessage?((0,L.openBlock)(),(0,L.createElementBlock)("div",j,(0,L.toDisplayString)(e.validateMessage),1)):(0,L.createCommentVNode)("",!0)]),e.hasDescriptionSlot()?((0,L.openBlock)(),(0,L.createElementBlock)("div",{key:0,class:(0,L.normalizeClass)(["item-description",e.descriptionCls])},[(0,L.renderSlot)(e.$slots,"description")],2)):(0,L.createCommentVNode)("",!0)],4),(0,L.renderSlot)(e.$slots,"after")],6)]),_:3},8,["wrap","flex"])}]])},96767:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}}),n(50401),n(879),n(80438);var i=n(30272),o=n(16447),r=n(80036),s=n(56761),a=n(15180),l=n(25217),c=n(11747);let d="follow-form",u=(0,l.defineComponent)({name:"FormMultipleItem",components:{withGrid:(0,o.Q)(s.Z),withRow:(0,o.Q)(a.Z)},mixins:[(0,i.J)("form-multiple-item",["isComposite"]),(0,i.f)("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:d},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===d?"grid"===this.form?.instance?.flex:"grid"===this.flex},inRowLayoutForm(){return this.flex===d?"row"===this.form?.instance?.flex||!0===this.form?.instance?.flex:"row"===this.flex||!0===this.flex},innerJustify(){return this.flexJustify},innerAlign(){return(0,r.isDefined)(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=(0,r.removeItems)(this.fields,e)},isDirty(){return this.fields.some(e=>e.isDirty)},isDisabled(){return this.fields.every(e=>e.isFieldDisabled)},getFlexStyle(e){let t={},n=(0,r.isObject)(e)?this.$breakpointManager.getSuitableValue(e):e;return!1===n?{}:((0,r.isNumberLike)(n)||(t.flex=n),(0,r.isNumberUnit)(n)&&(t.width=n,t["flex-grow"]=0,t["flex-shrink"]=0),t)}}}),h={key:0};var p=(0,c.Z)(u,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("with-row"),a=(0,l.resolveComponent)("with-grid");return(0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(e.wrapperCls),style:(0,l.normalizeStyle)(e.wrapperStyle)},[e.hideLabel?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(e.labelCls),style:(0,l.normalizeStyle)(e.labelStyle)},[(0,l.renderSlot)(e.$slots,"label",{label:e.label},()=>[(0,l.renderSlot)(e.$slots,"label-before"),e.label?((0,l.openBlock)(),(0,l.createElementBlock)("label",h,(0,l.toDisplayString)(e.label),1)):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(e.$slots,"label-after")])],6)),(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(e.itemsWrapperCls),style:(0,l.normalizeStyle)(e.itemsWrapperStyle)},[(0,l.createElementVNode)("div",{class:(0,l.normalizeClass)(e.itemsCls)},[(0,l.createVNode)(a,{wrap:e.inGridLayoutForm,gap:e.gap},{default:(0,l.withCtx)(()=>[(0,l.createVNode)(s,{wrap:e.inRowLayoutForm,gap:e.gap,"flex-wrap":e.flexWrap,align:e.innerAlign,justify:e.innerJustify},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,"default")]),_:3},8,["wrap","gap","flex-wrap","align","justify"])]),_:3},8,["wrap","gap"])],2)],6)],6)}]])},69398:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}}),n(50401),n(56165),n(49549),n(15773),n(80438);var i=n(30272),o=n(1305),r=n(80036),s=n(29151),a=n(81460),l=n(69092),c=n(25217),d=n(11747);let u="horizontal";var h=(0,d.Z)((0,c.defineComponent)({name:"Form",components:{vLayout:a.Z},mixins:[(0,i.J)("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:u})},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(0,r.isObject)(this.direction)?this.$breakpointManager?this.$breakpointManager.getSuitableValue(this.direction):((0,s.D8)("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),u):this.direction},wrapClasses(){return{[this.prefix]:!0,[`${this.prefix}-${this.innerDirection}`]:!0}}},watch:{async rules(e,t){(0,r.isEqual)(e,t)||await this.validate()}},created(){(0,l.Zn)(this,"form.addField",e=>{e&&this.addField(e)}),(0,l.Zn)(this,"form.removeField",e=>{e&&this.removeField(e)})},methods:{addField(e){return this.fields.push(e),()=>this.removeField(e)},removeField(e){this.fields=(0,r.removeItems)(this.fields,e)},addFormController(e){return this.controllers.push(e),()=>(0,r.removeItems)(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){(0,l.Qy)(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(let 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]:{},n=await Promise.all(this.fields.map(async t=>({error:await t?.validate?.(e),field:t}))),i=n.find(e=>e.error);return t&&i&&i.field&&(i.field.ensureVisible(),i.field.showPopup()),(0,l.Qy)(this,"validated",{valid:!i,errResults:n}),!i},async validateField(e){let t=this.fields.find(t=>t.prop===e);if(!t)throw Error("must call validateField with valid prop string!");await t.validate("")},isDirty(){let e=!1;for(let t of this.controllers)e=e||t.isDirty?.();return e||this.fields.some(e=>!e.isInTable?.()&&((0,r.isFunction)(e.isDirty)?e.isDirty():e.isDirty))},commit(){for(let e of this.controllers)e.commit?.();this.fields.forEach(e=>{e.commit()})},focusNextField(){(0,o.f9)(this.$el)},focusPrevField(){(0,o.lI)(this.$el)}}}),[["render",function(e,t,n,i,o,r){let s=(0,c.resolveComponent)("v-layout"),a=(0,c.resolveDirective)("syno-id");return(0,c.withDirectives)(((0,c.openBlock)(),(0,c.createBlock)(s,{tag:"form",class:(0,c.normalizeClass)(e.wrapClasses),type:"form",order:e.layoutOrder,onSubmit:(0,c.withModifiers)(e.onSubmit,["prevent"])},{default:(0,c.withCtx)(()=>[(0,c.renderSlot)(e.$slots,"default")]),_:3},8,["class","order","onSubmit"])),[[a]])}]])},8205:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}}),n(50401),n(879),n(91234);var i=n(88358),o=n(30272),r=n(74583),s=n(15180),a=n(37153),l=n(21812),c=n(80036),d=n(23382),u=n(84593),h=n(69092),p=n(83871),f=n(61644),m=n(25217),g=n(11747);(0,a.z)("incremental-form-multiple-item-plus",l.sm),(0,a.z)("incremental-form-multiple-item-minus",l.Eq);let y=(0,m.defineComponent)({name:"IncrementalFormMultipleItem",components:{vCol:r.Z,vRow:s.Z,vButton:f.Z,vIcon:p.Z},mixins:[(0,o.J)("form-multiple-item",["isComposite"]),a.Z,(0,o.f)("form"),u.Z],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(0,c.isDefined)(this.disabledAddButton)?this.disabledAddButton:(0,c.isNumber)(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)},[i.mT.beforeUnmount](){this.removeFn?.()},methods:{register(e){this.fields=this.fields||[],this.fields.push(e)},unregister(e){this.fields=(0,c.removeItems)(this.fields,e)},commit(){this.initialItems=(0,d.Z)(this.items)},resetField(){(0,h.Qy)(this,"update:items",(0,d.Z)(this.initialItems))},isDirty(){return!(0,c.isEqual)(this.initialItems,this.items)},isDisabled(){return this.fields.every(e=>e.isFieldDisabled)},onRemoveField(e){(0,h.Qy)(this,"update:items",this.items.filter(t=>t!==e)),(0,h.Qy)(this,"remove-item",e)},onAddField(){(0,h.Qy)(this,"add-item")},getFlexStyle(e){let t={},n=(0,c.isObject)(e)?this.$breakpointManager.getSuitableValue(e):e;return!1===n?{}:((0,c.isNumberLike)(n)||(t.flex=n),(0,c.isNumberUnit)(n)&&(t.width=n,t["flex-grow"]=0,t["flex-shrink"]=0),t)}}}),v={key:0},b={class:"actions-wrapper"};var w=(0,g.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-icon"),a=(0,m.resolveComponent)("v-button"),l=(0,m.resolveComponent)("v-col"),c=(0,m.resolveComponent)("v-row"),d=(0,m.resolveDirective)("syno-id");return(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("div",{class:(0,m.normalizeClass)(["v-form-incremental-wrapper v-form-multi-wrapper",e.wrapperCls]),style:(0,m.normalizeStyle)(e.wrapperStyle)},[e.hideLabel?(0,m.createCommentVNode)("",!0):((0,m.openBlock)(),(0,m.createElementBlock)("div",{key:0,class:(0,m.normalizeClass)(e.labelCls),style:(0,m.normalizeStyle)(e.labelStyle)},[(0,m.renderSlot)(e.$slots,"label",{label:e.label},()=>[(0,m.renderSlot)(e.$slots,"label-before"),e.label?((0,m.openBlock)(),(0,m.createElementBlock)("label",v,(0,m.toDisplayString)(e.label),1)):(0,m.createCommentVNode)("",!0),(0,m.renderSlot)(e.$slots,"label-after")])],6)),(0,m.createElementVNode)("div",{class:(0,m.normalizeClass)(e.itemsWrapperCls),style:(0,m.normalizeStyle)(e.itemsWrapperStyle)},[(0,m.createElementVNode)("div",{class:(0,m.normalizeClass)(e.itemsCls)},[((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(e.items,(t,n)=>((0,m.openBlock)(),(0,m.createBlock)(c,{key:n,"flex-wrap":!1,gap:e.gap,class:"v-form-incremental-row"},{default:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"default",{item:t}),(0,m.createVNode)(l,{flex:"none"},{default:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"remove-field",{disabled:e.isRemoveDisabled,item:t},()=>[(0,m.createVNode)(a,{"syno-id":`${e.synoId}-remove-${n}`,display:"icon",disabled:e.isRemoveDisabled,onClick:n=>e.onRemoveField(t)},{icon:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{name:"incremental-form-multiple-item-minus","svg-icon-set":"set01"})]),_:2},1032,["syno-id","disabled","onClick"])])]),_:2},1024)]),_:2},1032,["gap"]))),128))],2),(0,m.createElementVNode)("div",b,[(0,m.renderSlot)(e.$slots,"actions",{disabledAdd:e.innerDisabledAddButton},()=>[(0,m.createVNode)(a,{"syno-id":`${e.synoId}-add`,display:"icon-text",disabled:e.innerDisabledAddButton,onClick:e.onAddField},{icon:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{name:"incremental-form-multiple-item-plus","svg-icon-set":"set01"})]),default:(0,m.withCtx)(()=>[(0,m.createTextVNode)(" "+(0,m.toDisplayString)(e.innerAddText),1)]),_:1},8,["syno-id","disabled","onClick"])])])],6)],6)),[[d]])}]])},88869:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var i=n(69398),o=n(61803),r=n(96767),s=n(8205);let a=(0,n(53300).e)({components:[i.Z,o.Z,r.Z,s.Z]})},76965:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(80036),o=n(83871),r=n(41401),s=n(25217),a=n(11747);let l=(0,s.defineComponent)({name:"Ghost",components:{vIcon:o.Z,vRichText:r.Z},props:{nums:{type:[Number,String,Boolean],default:!1},icon:{type:[Boolean,Object],default:!1},title:{type:String,default:""}},data:()=>({}),computed:{showIcon(){return!!this.icon},iconProps(){return(0,i.isObject)(this.icon)?this.icon:{}},showNums(){return(0,i.isBoolean)(this.nums)?this.nums:+this.nums>=2},innerNums(){return+this.nums>99?"99+":this.nums}}}),c={class:"v-ghost"},d={class:"ghost-title-wrapper"},u={class:"ghost-title"},h={key:0,class:"ghost-dot-nums"};var p=(0,a.Z)(l,[["render",function(e,t,n,i,o,r){let a=(0,s.resolveComponent)("v-icon"),l=(0,s.resolveComponent)("v-rich-text");return(0,s.openBlock)(),(0,s.createElementBlock)("div",c,[(0,s.renderSlot)(e.$slots,"default",{},()=>[(0,s.createElementVNode)("div",d,[e.showIcon?((0,s.openBlock)(),(0,s.createBlock)(a,(0,s.normalizeProps)((0,s.mergeProps)({key:0},e.iconProps)),null,16)):(0,s.createCommentVNode)("",!0),(0,s.createElementVNode)("div",u,[(0,s.renderSlot)(e.$slots,"title",{},()=>[(0,s.createVNode)(l,{text:e.title},null,8,["text"])])])]),e.showNums?((0,s.openBlock)(),(0,s.createElementBlock)("i",h,(0,s.toDisplayString)(e.innerNums),1)):(0,s.createCommentVNode)("",!0)])])}]])},14671:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var i=n(76965);let o=(0,n(53300).e)({components:[i.Z]})},74583:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(80036),o=n(30272),r=n(25217),s=(0,n(11747).Z)((0,r.defineComponent)({name:"Col",mixins:[(0,o.f)("grid"),(0,o.f)("row")],props:{flex:{type:[String,Number,Object],default:"none"}},computed:{layout(){return this.grid?.instance?"grid":!!this.row?.instance&&"row"},colStyle(){let e={},t=(0,i.isObject)(this.flex)?this.$breakpointManager.getSuitableValue(this.flex):this.flex;return(0,i.isNumberLike)(t)||(e.flex=t),(0,i.isNumberUnit)(t)&&(e.width=t,e["flex-grow"]=0,e["flex-shrink"]=0),e},colCls(){let e=[],t=(0,i.isObject)(this.flex)?this.$breakpointManager.getSuitableValue(this.flex):this.flex;return(0,i.isNumberLike)(t)?e.push(`v-col-${t}`):"auto"!==t&&"none"!==t||e.push(`v-col-${t}`),[{[`in-${this.layout}-layout`]:!!this.layout},"v-col",...e]}}}),[["render",function(e,t,n,i,o,s){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(e.colCls),style:(0,r.normalizeStyle)(e.colStyle)},[(0,r.renderSlot)(e.$slots,"default")],6)}]])},56761:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(80036),o=n(30272),r=n(25217),s=n(11747);let a="start",l="max-content";var c=(0,s.Z)((0,r.defineComponent)({name:"Grid",mixins:[(0,o.J)("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:a},justify:{type:[String,Object],default:a}},computed:{gapStyle(){let e=(0,i.isObject)(this.gap)?this.$breakpointManager.getSuitableValue(this.gap):this.gap,t=(0,i.isArray)(e)?e[0]:e;return{"--v-grid-row-gap":(0,i.isArray)(e)?e[1]:e,"--v-grid-col-gap":t}},innerColumns(){return(0,i.isObject)(this.columns)?this.$breakpointManager.getSuitableValue(this.columns):this.columns},innerRows(){return(0,i.isObject)(this.rows)?this.$breakpointManager.getSuitableValue(this.rows):this.rows},innerGridTemplateRows(){let e=(0,i.isObject)(this.gridTemplateRows)?this.$breakpointManager.getSuitableValue(this.gridTemplateRows):this.gridTemplateRows;return e===l?"repeat(var(--v-grid-rows), minmax(0, max-content))":(0,i.isArray)(e)?e.join(" "):`repeat(var(--v-grid-rows), ${e})`},innerGridTemplateColumns(){let e=(0,i.isObject)(this.gridTemplateColumns)?this.$breakpointManager.getSuitableValue(this.gridTemplateColumns):this.gridTemplateColumns;return e===l?"repeat(var(--v-grid-columns), minmax(0, max-content))":(0,i.isArray)(e)?e.join(" "):`repeat(var(--v-grid-columns), ${e})`},innerAlign(){return(0,i.isObject)(this.align)?this.$breakpointManager.getSuitableValue(this.align):this.align},innerJustify(){return(0,i.isObject)(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,n,i,o,s){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:"v-grid",style:(0,r.normalizeStyle)(e.gridStyle)},[(0,r.renderSlot)(e.$slots,"default")],4)}]])},62220:function(e,t,n){"use strict";n.d(t,{W:function(){return s}});var i=n(56761),o=n(74583),r=n(15180);let s=(0,n(53300).e)({components:[i.Z,o.Z,r.Z]})},15180:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(80036),o=n(30272),r=n(25217),s=n(11747);let a=["start","end","baseline","center","stretch"];var l=(0,s.Z)((0,r.defineComponent)({name:"Row",mixins:[(0,o.J)("row")],props:{align:{type:[String,Object],default:"start",validator:e=>!(0,i.isString)(e)||a.includes(e)},justify:{type:[String,Object],default:"start",validator:e=>!(0,i.isString)(e)||a.includes(e)},gap:{type:[Object,String,Array,Number],default:void 0},flexWrap:{type:[Object,Boolean],default:!1}},computed:{innerFlexWrap(){return(0,i.isObject)(this.flexWrap)?this.$breakpointManager.getSuitableValue(this.flexWrap):this.flexWrap},innerAlign(){return(0,i.isObject)(this.align)?this.$breakpointManager.getSuitableValue(this.align):this.align},innerJustify(){return(0,i.isObject)(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=(0,i.isObject)(this.gap)?this.$breakpointManager.getSuitableValue(this.gap):this.gap;return{"--v-row-horizontal-gap":(0,i.isArray)(e)?e[0]:e,"--v-row-vertical-gap":(0,i.isArray)(e)?e[1]:e}}}}),[["render",function(e,t,n,i,o,s){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(e.rowCls),style:(0,r.normalizeStyle)(e.rowStyle)},[(0,r.renderSlot)(e.$slots,"default")],6)}]])},25550:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(25217),o=(0,n(11747).Z)((0,i.defineComponent)({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,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)(e.wrapperCls)},[(0,i.createElementVNode)("div",{class:(0,i.normalizeClass)(e.innerCls)},[(0,i.renderSlot)(e.$slots,"default")],2)],2)}]])},69701:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var i=n(25550);let o=(0,n(53300).e)({components:[i.Z]})},83871:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i=n(29151),o=n(42346),r=n(80036),s=n(62088),a=n(28990);let l=["normal","thin-rect"];var c=n(58954);let d=(0,a.o)({svgIcon:{type:(0,c.C)(Object),default:()=>null},name:{type:String,default:void 0},size:{type:(0,c.C)([String,Array]),default:"normal",validator:e=>(0,r.isArray)(e)||l.includes(e)},type:{type:(0,c.C)(String),default:o.e1.FOLLOW_MANAGER,validator:e=>Object.values(o.e1).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 u=n(25217),h=(0,u.defineComponent)({name:"Icon",mixins:[(0,s.W)("icon")],props:d,computed:{innerAriaHidden(){return!((0,r.isString)(this.ariaLabel)&&this.ariaLabel.length>0)&&this.ariaHidden},innerSize(){return this.getIconConfigValue("size")},innerSvgIconSet(){return this.getIconConfigValue("svgIconSet")},innerSvgIcon(){return this.getIconConfigValue("svgIcon")},innerType(){let e=this.getIconConfigValue("type");return e===o.e1.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&&!(0,r.isArray)(this.innerSize),disabled:this.innerDisabled,"is-svg":this.isSvg,"is-bkg":this.isBkg}]},iconStyle(){return{width:(0,r.isArray)(this.innerSize)?`${this.innerSize[0]}px`:void 0,height:(0,r.isArray)(this.innerSize)?`${this.innerSize[1]}px`:void 0}},isSvg(){return this.innerType===o.e1.SVG},isBkg(){return this.innerType===o.e1.BKG},svgComponent(){let e=this.innerSvgIcon??this.$iconManager.get(this.name);return e||(0,i.D8)(`${this.name} icon is not registered into icon manager.`),e},svgProps(){return{width:(0,r.isArray)(this.innerSize)?+this.innerSize[0]:void 0,height:(0,r.isArray)(this.innerSize)?+this.innerSize[1]:void 0}},isComponentSvg(){return(0,r.isVueComponent)(this.svgComponent)},isHtmlSvg(){let e=(0,r.isString)(this.svgComponent);return e&&(0,i.D8)("please use svg icon component instead of html svg, html svg will deprecated in the future."),e}},beforeCreate(){this.$iconManager||(0,i.D8)("please import and use IconManagerPlugin when you are in tree-shaking mode or svg icon will unavailable.")},methods:{focus(){this.$el?.focus()}}}),p=n(11747);let f=["syno-id","aria-hidden","aria-label","innerHTML"],m=["syno-id","aria-hidden","aria-label"];var g=(0,p.Z)(h,[["render",function(e,t,n,i,o,r){return e.isSvg&&!e.innerSprite&&e.isHtmlSvg?((0,u.openBlock)(),(0,u.createElementBlock)("i",{key:0,class:(0,u.normalizeClass)(e.iconCls),style:(0,u.normalizeStyle)(e.iconStyle),"syno-id":e.synoId,"aria-hidden":e.innerAriaHidden,"aria-label":e.ariaLabel,innerHTML:e.svgComponent},null,14,f)):((0,u.openBlock)(),(0,u.createElementBlock)("i",{key:1,class:(0,u.normalizeClass)(e.iconCls),style:(0,u.normalizeStyle)(e.iconStyle),"syno-id":e.synoId,"aria-hidden":e.innerAriaHidden,"aria-label":e.ariaLabel},[e.isSvg&&!e.innerSprite&&e.isComponentSvg?((0,u.openBlock)(),(0,u.createBlock)((0,u.resolveDynamicComponent)(e.svgComponent),(0,u.normalizeProps)((0,u.mergeProps)({key:0},e.svgProps)),null,16)):(0,u.createCommentVNode)("",!0),(0,u.renderSlot)(e.$slots,"default")],14,m))}]])},32040:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var i=n(83871);let o=(0,n(53300).e)({components:[i.Z]})},6681:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var i=n(88358),o=n(69092),r=n(63917),s=n(25217),a=(0,s.defineComponent)({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()},[i.mT.beforeUnmount](){this.removeListener?.()},methods:{createIndicator(e){let{width:t,top:n,left:i}=this.$refs.indicator.getBoundingClientRect(),[o,s]=this.$alignManager.getScroll(document.body),a=document.createElement("div");return(0,r.css)(a,"width",`${t}px`),(0,r.css)(a,"left",`${i+o}px`),(0,r.css)(a,"top",`${n+s}px`),(0,r.addClass)(a,"info-board-dragging-indicator"),e.appendChild(a),a},moveIndicator(e,t){let{y:n}=t,[,i]=this.$alignManager.getScroll(document.body);(0,r.css)(e,"top",`${n+i}px`)},removeIndicator(e){e&&e.parentNode&&e.parentNode.removeChild(e)},register(){let e={start:0,dragging:!1,diff:0},t=null,n=n=>{n.stopPropagation(),e.dragging&&(e.diff=n.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}))},i=i=>{i.stopPropagation(),e.dragging&&((0,r.off)(document.documentElement,"mousemove",n),this.removeIndicator(t),(0,o.Qy)(this,"resize-end",{newHeight:+this.height-e.diff})),e.dragging=!1,e.start=0,e.diff=0},s=o=>{this.enable&&(t=this.createIndicator(document.body),o.stopPropagation(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,e.start=o.clientY,e.dragging=!0,(0,r.once)(document.documentElement,"mouseup",i),(0,r.on)(document.documentElement,"mousemove",n))};return(0,r.on)(this.$refs.indicator,"mousedown",s),()=>(0,r.off)(this.$refs.indicator,"mousedown",s)}}}),l=n(11747);let c=[(0,s.createElementVNode)("div",{class:"ghost"},null,-1)];var d=(0,l.Z)(a,[["render",function(e,t,n,i,o,r){return(0,s.openBlock)(),(0,s.createElementBlock)("div",{ref:"indicator",class:(0,s.normalizeClass)(["info-board-indicator",e.indicatorClass]),style:(0,s.normalizeStyle)(e.indicatorStyle)},c,6)}]]),u=n(30272),h=n(30782),p=n(37153),f=n(21812),m=n(83871),g=n(24121);(0,p.z)("info-board-up",f.np),(0,p.z)("info-board-down",f.u);var y=(0,s.defineComponent)({name:"InfoBoard",components:{vIcon:m.Z,vSlideUpDownTransition:g.Z,vInfoBoardDraggable:d,vScrollbar:h.Z},mixins:[(0,u.J)("info-board"),p.Z],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}}});let v={ref:"title",class:"board-title"},b={class:"title"},w={key:0,class:"board-content"},C={key:0,class:"empty"};var S=(0,l.Z)(y,[["render",function(e,t,n,i,o,r){let a=(0,s.resolveComponent)("v-info-board-draggable"),l=(0,s.resolveComponent)("v-icon"),c=(0,s.resolveComponent)("v-scrollbar"),d=(0,s.resolveComponent)("v-slide-up-down-transition"),u=(0,s.resolveDirective)("syno-id");return(0,s.withDirectives)(((0,s.openBlock)(),(0,s.createElementBlock)("div",{class:(0,s.normalizeClass)(["info-board-wrapper",e.borderClass])},[(0,s.createVNode)(a,{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"]),(0,s.createElementVNode)("div",v,[(0,s.createElementVNode)("span",b,[(0,s.renderSlot)(e.$slots,"title",{},()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.title),1)])]),(0,s.createVNode)(l,{name:e.iconName,class:"expand-icon","svg-icon-set":"set14",onClick:e.onToggleExpand},null,8,["name","onClick"])],512),(0,s.createVNode)(d,null,{default:(0,s.withCtx)(()=>[e.expand?((0,s.openBlock)(),(0,s.createElementBlock)("div",w,[(0,s.createElementVNode)("div",{class:"border-content-inner",style:(0,s.normalizeStyle)(e.contentStyle)},[e.isEmpty?((0,s.openBlock)(),(0,s.createElementBlock)("div",C,[(0,s.renderSlot)(e.$slots,"empty")])):((0,s.openBlock)(),(0,s.createBlock)(c,{key:1},{default:(0,s.withCtx)(()=>[(0,s.renderSlot)(e.$slots,"default",{},()=>[(0,s.createTextVNode)(" defualt content ")])]),_:3}))],4)])):(0,s.createCommentVNode)("",!0)]),_:3})],2)),[[u]])}]])},88839:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var i=n(6681);let o=(0,n(53300).e)({components:[i.Z]})},89283:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(25217),o=(0,i.defineComponent)({name:"InfoMask",mixins:[],props:{active:{type:Boolean,default:!0}},data:()=>({})}),r=n(11747);let s={class:"v-info-mask-wrapper"},a={key:0,class:"v-info-mask"},l={class:"info-content-wrapper"},c={class:"info-content"};var d=(0,r.Z)(o,[["render",function(e,t,n,o,r,d){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s,[(0,i.renderSlot)(e.$slots,"inner"),e.active?((0,i.openBlock)(),(0,i.createElementBlock)("div",a,[(0,i.createElementVNode)("div",l,[(0,i.createElementVNode)("div",c,[(0,i.renderSlot)(e.$slots,"default")])])])):(0,i.createCommentVNode)("",!0)])}]])},35402:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var i=n(89283);let o=(0,n(53300).e)({components:[i.Z]})},9210:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var i=n(92128),o=n(69092),r=n(83871),s=n(80036),a=n(90946),l=n(44888),c=n(97006),d=n(36659),u=n(60853),h=n(8725),p=n(7912),f=n(37153),m=n(21812),g=n(89986),y=n(25217),v=n(11747);(0,f.z)("input-steppers-plus",m.HY),(0,f.z)("input-steppers-minus",m.pQ),(0,f.z)("input-steppers-up",m.EN),(0,f.z)("input-steppers-down",m.rn);let b=["up-down","right-left"],w=(0,y.defineComponent)({name:"InputSteppers",components:{vIcon:r.Z,vMenu:d.Z,vMenuItem:u.Z,vPortal:g.Z},directives:{pressing:l.Z,clickoutside:c.ZP},mixins:[p.ZP,h.Z,f.Z],props:{controlsType:{type:String,default:"right-left",validator:e=>b.includes(e)},width:{type:Number,default:120},hasDivider:{type:Boolean,default:!0},[i.yz.value()]:{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:{[i.yz.value()]:{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((0,s.isNumber)(e)&&!isNaN(e)||(e=this.innerValue),(0,s.isFunction)(this.patchNum)){let 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){let t=(0,s.clampValue)(e,+this.min,+this.max);this.$refs.input.value=t,t!==this.innerValue&&(0,o.Qy)(this,(0,i.ef)(),t)},selectValue(e){this.setValue(e)},onKeyDown(e){this.showMenu=!1,(0,a.Tx)(e)?(e.preventDefault(),this.onPlus()):(0,a.BU)(e)?(e.preventDefault(),this.onMinus()):(0,a.tH)(e)&&this.applyValue(parseFloat(this.$refs.input.value))}}}),C={key:0,class:"border-minus-wrapper"},S={key:0,class:"stepper-border border-minus"},k=["value","disabled","step"],x={key:1,class:"border-plus-wrapper"},B={key:0,class:"stepper-border border-plus"},T={key:2,class:"up-down-wrapper"},E=(0,y.createElementVNode)("div",{class:"stepper-border"},null,-1),I={class:"up-down-icon-wrapper"};var D=(0,v.Z)(w,[["render",function(e,t,n,i,o,r){let s=(0,y.resolveComponent)("v-icon"),a=(0,y.resolveComponent)("v-menu-item"),l=(0,y.resolveComponent)("v-menu"),c=(0,y.resolveComponent)("v-portal"),d=(0,y.resolveDirective)("pressing"),u=(0,y.resolveDirective)("clickoutside");return(0,y.openBlock)(),(0,y.createElementBlock)("div",{class:(0,y.normalizeClass)(e.wrapperCls),style:(0,y.normalizeStyle)(e.wrapperStyle)},[e.isRightLeftControlsType?((0,y.openBlock)(),(0,y.createElementBlock)("div",C,[(0,y.withDirectives)((0,y.createVNode)(s,{class:(0,y.normalizeClass)(["input-steppers-icon",e.minusIconCls]),name:"input-steppers-minus","svg-icon-set":"set13"},null,8,["class"]),[[d,e.onMinus]]),e.hasDivider?((0,y.openBlock)(),(0,y.createElementBlock)("div",S)):(0,y.createCommentVNode)("",!0)])):(0,y.createCommentVNode)("",!0),(0,y.withDirectives)((0,y.createElementVNode)("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,k),[[u,e.onClickoutside,void 0,{children:!0}]]),e.isRightLeftControlsType?((0,y.openBlock)(),(0,y.createElementBlock)("div",x,[e.hasDivider?((0,y.openBlock)(),(0,y.createElementBlock)("div",B)):(0,y.createCommentVNode)("",!0),(0,y.withDirectives)((0,y.createVNode)(s,{class:(0,y.normalizeClass)(["input-steppers-icon",e.plusIconCls]),name:"input-steppers-plus","svg-icon-set":"set13"},null,8,["class"]),[[d,e.onPlus]])])):(0,y.createCommentVNode)("",!0),e.isUpDownControlsType?((0,y.openBlock)(),(0,y.createElementBlock)("div",T,[E,(0,y.createElementVNode)("div",I,[e.useSvgIcon?((0,y.openBlock)(),(0,y.createElementBlock)(y.Fragment,{key:0},[(0,y.withDirectives)((0,y.createVNode)(s,{class:(0,y.normalizeClass)(["input-steppers-icon",e.plusIconCls]),name:"input-steppers-up","svg-icon-set":"set13"},null,8,["class"]),[[d,e.onPlus]]),(0,y.withDirectives)((0,y.createVNode)(s,{class:(0,y.normalizeClass)(["input-steppers-icon",e.minusIconCls]),name:"input-steppers-down","svg-icon-set":"set13"},null,8,["class"]),[[d,e.onMinus]])],64)):((0,y.openBlock)(),(0,y.createElementBlock)(y.Fragment,{key:1},[(0,y.withDirectives)((0,y.createVNode)(s,{class:(0,y.normalizeClass)(["input-steppers-icon",e.plusIconCls]),name:"input-steppers-plus"},null,8,["class"]),[[d,e.onPlus]]),(0,y.withDirectives)((0,y.createVNode)(s,{class:(0,y.normalizeClass)(["input-steppers-icon",e.minusIconCls]),name:"input-steppers-minus"},null,8,["class"]),[[d,e.onMinus]])],64))])])):(0,y.createCommentVNode)("",!0),e.hasMenu&&e.showMenu?((0,y.openBlock)(),(0,y.createBlock)(c,{key:3,ref:"portal","mount-to":e.getContainerEl(),"acquire-z-index":"",alignment:e.innerAlignment,anchor:e.$el},{default:(0,y.withCtx)(()=>[(0,y.createVNode)(l,{width:e.width,onMenuClose:t[3]||(t[3]=t=>e.showMenu=!1)},{default:(0,y.withCtx)(()=>[((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(e.menu,t=>((0,y.openBlock)(),(0,y.createBlock)(a,{key:t.value,type:"select",title:`${t.title}`,selected:e.innerValue===t.value,"close-on-select":"",onSelected:n=>e.selectValue(t.value)},null,8,["title","selected","onSelected"]))),128))]),_:1},8,["width"])]),_:1},8,["mount-to","alignment","anchor"])):(0,y.createCommentVNode)("",!0)],6)}]])},58886:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var i=n(9210);let o=(0,n(53300).e)({components:[i.Z]})},86419:function(e,t,n){"use strict";n.d(t,{Z:function(){return Q}}),n(50401),n(15773);var i=n(22902);n(49549);var o=n(63917),r=n(60590);let s="function"==typeof Map?new Map:function(){let e=[],t=[];return{has:t=>e.indexOf(t)>-1,get:n=>t[e.indexOf(n)],set(n,i){-1===e.indexOf(n)&&(e.push(n),t.push(i))},delete(n){let i=e.indexOf(n);i>-1&&(e.splice(i,1),t.splice(i,1))}}}();function a(e){let t=s.get(e);t&&t.destroy()}function l(e){let t=s.get(e);t&&t.update()}let c=null;r.s?((c=e=>e).destroy=e=>e,c.update=e=>e):((c=(e,t)=>(e&&Array.prototype.forEach.call(e.length?e:[e],e=>(function(e){if(!e||!e.nodeName||"TEXTAREA"!==e.nodeName||s.has(e))return;let t=null,n=null,i=null;function r(){if(0===e.scrollHeight)return;let i=function(e){let 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",n=e.clientWidth,i.forEach(e=>{e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}function a(){r();let t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),s="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(s<t?"hidden"===n.overflowY&&(r(),s="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(r(),s="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),i!==s){i=s;let t=(0,o.createEvent)("autosize:resized");try{e.dispatchEvent(t)}catch{}}let a=(0,o.createEvent)("autosize:updated");try{e.dispatchEvent(a)}catch{}}let l=()=>{e.clientWidth!==n&&a()},c=(t=>{window.removeEventListener("resize",l,!1),e.removeEventListener("input",a,!1),e.removeEventListener("keyup",a,!1),e.removeEventListener("autosize:destroy",c,!1),e.removeEventListener("autosize:update",a,!1),Object.keys(t).forEach(n=>{e.style[n]=t[n]}),s.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",c,!1),window.addEventListener("resize",l,!1),e.addEventListener("keyup",a,!1),e.addEventListener("autosize:update",a,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",s.set(e,{destroy:c,update:a}),function(){let n=window.getComputedStyle(e,null);"vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),isNaN(t="content-box"===n.boxSizing?-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth))&&(t=0),a()}()})(e)),e)).destroy=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],a),e),c.update=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],l),e));var d=n(62704),u=n(71510),h=n(8725),p=n(84593),f=n(30782),m=n(89986),g=n(82442),y=n(69092),v=n(92128),b=n(80036),w=n(37153),C=n(29151),S=n(21812),k=n(83871),x=n(25550),B=n(74547),T=n(88358),E=n(39192),I=n(25217),D=n(11747);(0,w.z)("input-clear",S.xo),(0,w.z)("input-eye",S.eK),(0,w.z)("input-eye-slash",S.sG),(0,w.z)("input-password-rule-tick",S.E5);let V=(0,I.defineComponent)({name:"Input",components:{vIcon:k.Z,vHighlightBox:x.Z,vScrollbar:f.Z,vPortal:m.Z},directives:{tooltip:B.Z},mixins:[d.ZP,h.Z,w.Z,p.Z],props:{type:{type:String,default:"text"},id:{type:String,default:()=>`syno-${(0,u.V)()}`},[v.yz.value()]:{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(){let e=this[v.yz.value()];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?((0,C.D8)("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||!!this.strengthChecker)},hasPasswordRules(){return this.passwordRules.length>0},textareaRows(){return this.autosize?.minRows??2},textareaStyle(){let 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&&!(0,g._Y)(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(0,g._Y)(this,"prefix")},hasSuffixIcons(){return this.showClear||this.showPasswordIcon||(0,g._Y)(this,"suffix-icons")},hasSuffix(){return this.hasSuffixIcons||(0,g._Y)(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 [v.yz.value()](e){this.currentValue=e,this.hasPasswordRules&&this.checkPasswordRules(),this.strengthChecker&&this.checkStrength()}},created(){this.checkStrengthDebounced=(0,i.Z)(()=>{this.checkStrength()},250)},async mounted(){if(await this.$nextTick(),"textarea"===this.type){this.autosize?c(this.$refs.textarea):this.updateTextFieldHeight();let e=(0,i.Z)(()=>{this.$refs?.textarea&&!(0,o.isHidden)(this.$refs.textarea)&&(this.autosize?c.update(this.$refs.textarea):this.updateTextFieldHeight())},30);this.disposeFn=(0,E.k)(this.$refs.textarea,e)}},[T.mT.beforeUnmount](){"textarea"===this.type&&(this.disposeFn?.(),c.destroy(this.$refs.textarea))},methods:{onMouseDown(e){let t;let n=this.$refs.scrollbar.getScrollEl(),i=e.clientY,r=e.offsetY,s=n.clientHeight-e.offsetY,a=e=>{let o=e.clientY>i?1:-1,a=Math.abs(e.clientY-i),l=0;1===o&&a>=s?l=a-s:-1===o&&a>=r&&(l=r-a),l*=1,n.scrollTop+=l,t&&window.clearInterval(t),t=window.setInterval(()=>{n.scrollTop+=l},100)};(0,o.once)(document,"mouseup",e=>{(0,o.off)(document,"mousemove",a),window.clearInterval(t)}),(0,o.on)(document,"mousemove",a)},onCompositionStart(){this.composing=!0},onCompositionEnd(e){this.composing=!1,this.onInput(e)},updateTextFieldHeight(){if(this.$refs.textarea){let e=this.$refs.textarea.scrollTop;(0,o.css)(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){let t=e.deltaY,n=this.$refs.scrollbar?.getScrollEl();n&&(n.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)),(0,y.Qy)(this,(0,v.ef)(),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(),(0,y.Qy)(this,"focus",this)},selectInput(){("textarea"===this.type?this.$refs.textarea:this.$refs.input).select()},onBlur(e){this.showPasswordInfoInMobile&&(this.showPasswordInfoInMobile=!1),this.isFocused=!1,(0,y.Qy)(this,"blur",this,e)},async checkStrength(){if(!this.strengthChecker)return;let{strength:e,strengthText:t}=await this.strengthChecker(this.currentValue);this.strength=e,this.strengthText=t,this.showStrength=!0,(0,y.Qy)(this,"strength-check",{strength:e,strengthText:t})},async checkPasswordRules(){this.passwordRulesChecked=await Promise.all(this.passwordRules.map(e=>e?.check?.(this.currentValue)))},filterMaskValue(e){return this.mask&&(e=(0,b.isFunction)(this.mask)?this.mask(e):e.replace(this.mask,"")),this.numberOnly&&(e="-"===e.substr(0,1)?"-"+e.substr(1).replace(/[^\d]/g,"").replace(/^0*/,""):e.replace(/[^\d]/g,"").replace(/^0+(?!$)/,""),(0,b.isNumberLike)(e)&&(e=+e)),e},onPaste(){(0,y.Qy)(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),(0,y.Qy)(this,"keydown",e)},onClickVisibilityIcon(){this.disabled||(this.maskPassword=!this.maskPassword)},async onClear(e){this.disabled||((0,y.Qy)(this,(0,v.ef)(),""),(0,y.Qy)(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){(0,y.Qy)(this,"click",e)}}}),N={class:"strength-text"},_=(0,I.createElementVNode)("div",{class:"strength-line"},[(0,I.createElementVNode)("div",{class:"strength-cover"})],-1),M={key:1,class:"v-input-password-rules"},$={class:"rule-header"},Z={class:"rule-wrapper"},A={class:"rule-text"},O=["id","placeholder","disabled","value","readonly","maxlength","enterkeyhint","rows"],F={key:0,class:"prefix-wrapper"},z=["id","type","placeholder","disabled","value","enterkeyhint","autocomplete","readonly","maxlength","aria-describedby"],L={ref:"fake-textarea",class:"fake-textarea"},P={class:"strength-text"},R=(0,I.createElementVNode)("div",{class:"strength-line"},[(0,I.createElementVNode)("div",{class:"strength-cover"})],-1),H={key:1,class:"v-input-password-rules"},j={class:"rule-header"},W={class:"rule-wrapper"},G={class:"rule-text"};var Q=(0,D.Z)(V,[["render",function(e,t,n,i,o,r){let s=(0,I.resolveComponent)("v-icon"),a=(0,I.resolveComponent)("v-portal"),l=(0,I.resolveComponent)("v-scrollbar"),c=(0,I.resolveComponent)("v-highlight-box"),d=(0,I.resolveDirective)("tooltip"),u=(0,I.resolveDirective)("syno-id");return(0,I.withDirectives)(((0,I.openBlock)(),(0,I.createElementBlock)("div",{class:(0,I.normalizeClass)(e.wrapperCls),onClick:t[19]||(t[19]=function(){return e.onClick&&e.onClick(...arguments)})},[(0,I.withDirectives)(((0,I.openBlock)(),(0,I.createElementBlock)("div",{ref:"input-container",class:(0,I.normalizeClass)(["input-container",e.inputContainerCls])},[e.hasPasswordInfo?((0,I.openBlock)(),(0,I.createBlock)(a,{key:0,name:e.passwordPortalName,to:e.passwordPortalName},{default:(0,I.withCtx)(()=>[e.strengthChecker?((0,I.openBlock)(),(0,I.createElementBlock)("div",{key:0,class:(0,I.normalizeClass)([e.strengthCheckerCls,"v-input-strength-wrapper"])},[(0,I.createElementVNode)("div",N,(0,I.toDisplayString)(e.strengthText||e._i18n("common","password_strength")),1),_],2)):(0,I.createCommentVNode)("",!0),e.hasPasswordRules?((0,I.openBlock)(),(0,I.createElementBlock)("div",M,[(0,I.renderSlot)(e.$slots,"password-rule-header",{},()=>[(0,I.createElementVNode)("div",$,(0,I.toDisplayString)(e._i18n("common","password_must"))+" "+(0,I.toDisplayString)(e._i18n("common","colon")),1)]),(0,I.createElementVNode)("div",Z,[((0,I.openBlock)(!0),(0,I.createElementBlock)(I.Fragment,null,(0,I.renderList)(e.passwordRules,(t,n)=>((0,I.openBlock)(),(0,I.createElementBlock)("div",{key:n,class:(0,I.normalizeClass)(e.getRuleItemCls(t,n))},[(0,I.createVNode)(s,{name:"input-password-rule-tick"}),(0,I.createElementVNode)("div",A,(0,I.toDisplayString)(t.text),1)],2))),128))])])):(0,I.createCommentVNode)("",!0)]),_:3},8,["name","to"])):(0,I.createCommentVNode)("",!0),"textarea"===e.type?((0,I.openBlock)(),(0,I.createElementBlock)("div",{key:1,class:(0,I.normalizeClass)(e.textareaWrapperCls)},["textarea"===e.type?((0,I.openBlock)(),(0,I.createElementBlock)("textarea",{key:0,id:e.id,ref:"textarea",class:(0,I.normalizeClass)(e.inputCls),placeholder:e.placeholder,disabled:e.disabled,value:e.currentValue,readonly:e.readonly,maxlength:e.maxlength,enterkeyhint:e.enterKey,rows:e.textareaRows,style:(0,I.normalizeStyle)(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]=(0,I.withModifiers)(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,O)):(0,I.createCommentVNode)("",!0),e.hasSuffix?((0,I.openBlock)(),(0,I.createElementBlock)("span",{key:1,class:(0,I.normalizeClass)(["suffix-wrapper",e.suffixWrapperCls])},[e.showClear?((0,I.openBlock)(),(0,I.createBlock)(s,{key:0,name:"input-clear","svg-icon-set":"set25",onClick:(0,I.withModifiers)(e.onClear,["stop"])},null,8,["onClick"])):(0,I.createCommentVNode)("",!0),e.showPasswordIcon?((0,I.openBlock)(),(0,I.createBlock)(s,{key:1,name:e.maskPassword?"input-eye":"input-eye-slash",class:"password-icon","svg-icon-set":"set13",onClick:(0,I.withModifiers)(e.onClickVisibilityIcon,["stop"])},null,8,["name","onClick"])):(0,I.createCommentVNode)("",!0),(0,I.renderSlot)(e.$slots,"suffix-icons")],2)):(0,I.createCommentVNode)("",!0)],2)):((0,I.openBlock)(),(0,I.createElementBlock)("div",{key:2,class:(0,I.normalizeClass)(e.inputWrapperCls)},[e.hasPrefix?((0,I.openBlock)(),(0,I.createElementBlock)("span",F,[(0,I.renderSlot)(e.$slots,"prefix")])):(0,I.createCommentVNode)("",!0),(0,I.createElementVNode)("input",(0,I.mergeProps)({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,z),e.hasSuffix?((0,I.openBlock)(),(0,I.createElementBlock)("span",{key:1,class:(0,I.normalizeClass)(["suffix-wrapper",e.suffixWrapperCls])},[e.showClear?((0,I.openBlock)(),(0,I.createBlock)(s,{key:0,name:"input-clear",class:"clear-icon","svg-icon-set":"set25",onClick:(0,I.withModifiers)(e.onClear,["stop"])},null,8,["onClick"])):(0,I.createCommentVNode)("",!0),e.showPasswordIcon?((0,I.openBlock)(),(0,I.createBlock)(s,{key:1,name:e.maskPassword?"input-eye":"input-eye-slash",class:"password-icon","svg-icon-set":"set13",onClick:(0,I.withModifiers)(e.onClickVisibilityIcon,["stop"])},null,8,["name","onClick"])):(0,I.createCommentVNode)("",!0),(0,I.renderSlot)(e.$slots,"suffix-icons"),(0,I.renderSlot)(e.$slots,"suffix")],2)):(0,I.createCommentVNode)("",!0)],2))],2)),[[d,e.passwordTipOpts]]),"textarea"===e.type?((0,I.openBlock)(),(0,I.createBlock)(l,{key:0,ref:"scrollbar",class:"textarea-fake-scrollbar","has-padding":"",disabled:e.disabled,onScroll:e.onScroll},{default:(0,I.withCtx)(()=>[(0,I.createElementVNode)("div",L,null,512)]),_:1},8,["disabled","onScroll"])):(0,I.createCommentVNode)("",!0),e.hasPasswordInfo&&e.showPasswordInfoInMobile&&e.isMobile?((0,I.openBlock)(),(0,I.createBlock)(c,{key:1,class:"password-rule-wrapper",color:"grey","hide-inner-cls":""},{default:(0,I.withCtx)(()=>[e.strengthChecker?((0,I.openBlock)(),(0,I.createElementBlock)("div",{key:0,class:(0,I.normalizeClass)([e.strengthCheckerCls,"v-input-strength-wrapper"])},[(0,I.createElementVNode)("div",P,(0,I.toDisplayString)(e.strengthText||e._i18n("common","password_strength")),1),R],2)):(0,I.createCommentVNode)("",!0),e.hasPasswordRules?((0,I.openBlock)(),(0,I.createElementBlock)("div",H,[(0,I.createElementVNode)("div",j,(0,I.toDisplayString)(e._i18n("common","password_must")),1),(0,I.createElementVNode)("div",W,[((0,I.openBlock)(!0),(0,I.createElementBlock)(I.Fragment,null,(0,I.renderList)(e.passwordRules,(t,n)=>((0,I.openBlock)(),(0,I.createElementBlock)("div",{key:n,class:(0,I.normalizeClass)(e.getRuleItemCls(t,n))},[(0,I.createVNode)(s,{name:"input-password-rule-tick"}),(0,I.createElementVNode)("div",G,(0,I.toDisplayString)(t.text),1)],2))),128))])])):(0,I.createCommentVNode)("",!0)]),_:1})):(0,I.createCommentVNode)("",!0)],2)),[[u]])}]])},65078:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var i=n(86419);let o=(0,n(53300).e)({components:[i.Z]})},81460:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}}),n(50401),n(91234);var i=n(88358),o=n(30272),r=n(29151),s=n(69092),a=n(48198),l=n(25217),c=(0,n(11747).Z)((0,l.defineComponent)({name:"Layout",mixins:[(0,o.J)("layout"),(0,o.f)("layout"),(0,o.f)("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(){let{styles:e}=this.layoutData,t={},n={};for(let[n,i]of Object.entries(this.customLayoutStyles))t[i]=e[n];for(let[t,i]of Object.entries(e))n[`--svc-${t}`]=i;return{...n,...t}},currentClass(){return["v-layout",{"pass-through":this.passThrough},"layout-"+this.type.replace(".","-")]},passThrough(){let{props:e}=this.layoutData;return!!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"])){let e=this["layout-container"].instance;(0,s.Zn)(e,"activate",this.onContainerActivate),(0,s.Zn)(e,"deactivate",this.onContainerDeactivate)}},[i.mT.beforeUnmount](){if(this.layout&&this.layout.unregister(this),this["layout-container"]){let e=this["layout-container"].instance;(0,s.M5)(e,"activate",this.onContainerActivate),(0,s.M5)(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){let t=this.children.findIndex(t=>(0,a.s)(t)===(0,a.s)(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=>(0,a.s)(e)===(0,a.s)(this)):-1},onKeydown(e){(0,s.Qy)(this,"keydown",e)},onClick(e){this.$layoutManager.debug&&(e.stopPropagation(),(0,r.cM)("Layout on this element ",this.$el,"with below paths: "),(0,r.p8)(this.$layoutManager.getLayoutData(this).paths))}}}),[["render",function(e,t,n,i,o,r){return(0,l.openBlock)(),(0,l.createBlock)((0,l.resolveDynamicComponent)(e.tag),{style:(0,l.normalizeStyle)(e.currentLayoutStyles),class:(0,l.normalizeClass)(e.currentClass),onClick:e.onClick,onKeydown:e.onKeydown},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,"default")]),_:3},40,["style","class","onClick","onKeydown"])}]])},31143:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(69092),o=n(84593),r=n(75904),s=n(30864),a=n(36659),l=n(60853),c=n(92858),d=n(5290),u=n(61644),h=n(89125),p=n(25217),f=n(11747);let m=(0,p.defineComponent)({name:"OverflowToolbar",components:{vOverflowList:s.Z,vButton:u.Z,vButtonSplit:h.Z,vMenu:a.Z,vMenuItem:l.Z,vMenuSubmenu:c.Z,vMenuDivider:d.Z},extends:r.Z,mixins:[o.Z],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)||(0,i.Qy)(this,"click-item",e)},getMenuBind:e=>e.menuBind??e.bind}}),g={class:"v-toolbar v-overflow-toolbar"},y={class:"right-wrapper"};var v=(0,f.Z)(m,[["render",function(e,t,n,i,o,r){let s=(0,p.resolveComponent)("v-button-split"),a=(0,p.resolveComponent)("v-menu-divider"),l=(0,p.resolveComponent)("v-menu-item"),c=(0,p.resolveComponent)("v-menu"),d=(0,p.resolveComponent)("v-button"),u=(0,p.resolveComponent)("v-menu-submenu"),h=(0,p.resolveComponent)("v-overflow-list"),f=(0,p.resolveDirective)("syno-id");return(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("div",g,[(0,p.createVNode)(h,{items:e.items,"min-visible-items-num":e.minVisibleItemsNum},(0,p.createSlots)({default:(0,p.withCtx)(t=>{let{item:n}=t;return[(0,p.renderSlot)(e.$slots,n.slot,{item:n},()=>[e.isDivider(n)?((0,p.openBlock)(),(0,p.createBlock)(s,(0,p.normalizeProps)((0,p.mergeProps)({key:0},n.bind)),null,16)):((0,p.openBlock)(),(0,p.createBlock)(d,(0,p.mergeProps)({key:1,type:e.getButtonType(n)},n.bind,{"syno-id":e.getItemSynoId(n),onClick:t=>e.onClickItem(n)}),(0,p.createSlots)({default:(0,p.withCtx)(()=>[(0,p.createTextVNode)((0,p.toDisplayString)(n.title)+" ",1)]),_:2},[n.menuItems||n.slot?{name:"dropdown",fn:(0,p.withCtx)(()=>[(0,p.createVNode)(c,(0,p.mergeProps)({"syno-id":`${e.getItemSynoId(n)}-menu`},n.menu),{default:(0,p.withCtx)(()=>[((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(n.menuItems,t=>((0,p.openBlock)(),(0,p.createElementBlock)(p.Fragment,null,[e.isDividerMenuItem(t)?((0,p.openBlock)(),(0,p.createBlock)(a,(0,p.mergeProps)({key:0,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),onClick:n=>e.onClickItem(t)}),null,16,["syno-id","onClick"])):((0,p.openBlock)(),(0,p.createBlock)(l,(0,p.mergeProps)({key:1,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),title:t.title,onClick:n=>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":(0,p.withCtx)(t=>[(0,p.renderSlot)(e.$slots,"overflow-item",(0,p.normalizeProps)((0,p.guardReactiveProps)(t)),()=>[(0,p.createVNode)(d,{type:"dropdown","syno-id":`${e.synoId}-more`},{dropdown:(0,p.withCtx)(()=>[(0,p.createVNode)(c,(0,p.mergeProps)({"syno-id":`${e.synoId}-more-menu`},e.moreMenu),{default:(0,p.withCtx)(()=>[((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(t.overflowItems,(t,n)=>((0,p.openBlock)(),(0,p.createElementBlock)(p.Fragment,null,[t.menuItems?((0,p.openBlock)(),(0,p.createBlock)(u,(0,p.mergeProps)({key:t.id,title:t.title,"syno-id":`${e.getItemSynoId(t)}-submenu`,ref_for:!0},e.getMenuBind(t)),{default:(0,p.withCtx)(()=>[((0,p.openBlock)(!0),(0,p.createElementBlock)(p.Fragment,null,(0,p.renderList)(t.menuItems,t=>((0,p.openBlock)(),(0,p.createElementBlock)(p.Fragment,null,[e.isDividerMenuItem(t)?((0,p.openBlock)(),(0,p.createBlock)(a,(0,p.mergeProps)({key:0,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),onClick:n=>e.onClickItem(t)}),null,16,["syno-id","onClick"])):((0,p.openBlock)(),(0,p.createBlock)(l,(0,p.mergeProps)({key:1,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),title:t.title,onClick:n=>e.onClickItem(t)}),null,16,["syno-id","title","onClick"]))],64))),256))]),_:2},1040,["title","syno-id"])):e.isDivider(t)?n>0?((0,p.openBlock)(),(0,p.createBlock)(a,(0,p.mergeProps)({key:2,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":`divider-${n}`}),null,16,["syno-id"])):(0,p.createCommentVNode)("",!0):((0,p.openBlock)(),(0,p.createBlock)(l,(0,p.mergeProps)({key:1,ref_for:!0},e.getMenuBind(t),{key:t.id,"syno-id":e.getItemSynoId(t),title:t.title,onClick:n=>e.onClickItem(t)}),null,16,["syno-id","title","onClick"]))],64))),256))]),_:2},1040,["syno-id"])]),default:(0,p.withCtx)(()=>[(0,p.createTextVNode)((0,p.toDisplayString)(e.getInnerMoreButtonText(t))+" ",1)]),_:2},1032,["syno-id"])])]),_:2},[(0,p.renderList)(["overflow-start-anchor","overflow-end-anchor"],t=>({name:t,fn:(0,p.withCtx)(n=>[(0,p.renderSlot)(e.$slots,t,(0,p.normalizeProps)((0,p.guardReactiveProps)(n)))])}))]),1032,["items","min-visible-items-num"]),(0,p.createElementVNode)("div",y,[(0,p.renderSlot)(e.$slots,"right")])])),[[f]])}]])},14568:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});var i=n(81460),o=n(75904),r=n(31143);let s=(0,n(53300).e)({components:[i.Z,o.Z,r.Z]})},75904:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"Toolbar",data:()=>({})}),s={class:"v-toolbar"},a={class:"main-wrapper"},l={class:"right-wrapper"};var c=(0,o.Z)(r,[["render",function(e,t,n,o,r,c){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s,[(0,i.createElementVNode)("div",a,[(0,i.renderSlot)(e.$slots,"default")]),(0,i.createElementVNode)("div",l,[(0,i.renderSlot)(e.$slots,"right")])])}]])},5290:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"MenuDivider"}),s={class:"v-menu-item-divider"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){let l=(0,i.resolveDirective)("syno-id");return(0,i.withDirectives)(((0,i.openBlock)(),(0,i.createElementBlock)("div",s,null,512)),[[l]])}]])},46491:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(62704),o=n(69092),r=n(25217),s=n(11747);let a=(0,r.defineComponent)({name:"MenuGroup",mixins:[i.ZP],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(){(0,o.Zn)(this,"item-created",e=>{e.setDisabled(this.disabled),this.items.push(e)}),(0,o.Zn)(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)}}}),l={key:0,class:"v-menu-group-title"};var c=(0,s.Z)(a,[["render",function(e,t,n,i,o,s){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(e.groupCls)},[(0,r.renderSlot)(e.$slots,"title",{},()=>[e.title?((0,r.openBlock)(),(0,r.createElementBlock)("div",l,(0,r.toDisplayString)(e.title),1)):(0,r.createCommentVNode)("",!0)]),(0,r.renderSlot)(e.$slots,"default")],2)}]])},60853:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(88358),o=n(82442),r=n(69092),s=n(62704),a=n(80036),l=n(78671),c=n(37153),d=n(21812),u=n(83871),h=n(25217),p=n(11747);(0,c.z)("menu-item-tick",d.E5),(0,c.z)("menu-item-untick",a.voidElement);let f=(0,h.defineComponent)({name:"MenuItem",components:{vIcon:u.Z},mixins:[s.ZP],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,Boolean],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(){let e=this.getIconType();if((0,a.isObject)(this.icon))return this.icon;let t=(0,a.isString)(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&&!!this.innerSelected},ariaSelected(){return"select"===this.type&&!this.innerSelected},showIcon(){let e=this.getIconType();return this.icon||"checkbox"===e||"select"===e},iconCls(){let e=this.getIconType();return["v-icon","icon--left",{[`v-icon--${e}`]:"checkbox"===e||"select"===e,"v-checkbox-icon":"checkbox"===e}]},itemCls(){let 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}},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)},[i.mT.beforeUnmount](){this.dispatch("MenuGroup","item-removed",this),this.dispatch("Menu","item-removed",this)},methods:{mergedTooltip(){if(!this.$refs.text)return!1;let e=this.tooltip;return(0,a.isString)(e)?e={content:e,overflowOnly:!1}:(0,a.isBoolean)(e)&&(e={disabled:!1===e}),(0,l.Z)({content:this.desc?`${this.title} ${this.desc}`:this.title,overflowOnly:()=>this.$refs.text},e)},hasSuffix(){return(0,o._Y)(this,"suffix")},getIconType(){return(0,a.isDefined)(this.iconType)?this.iconType:this.type},onClick(e){if(this.innerDisabled)return;(0,r.Qy)(this,"click",e);let 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;let t=this.innerSelected;this.innerSelected=e,"checkbox"!==this.type&&"select"!==this.type||this.dispatch("Menu","change",[this,e,t]),(0,r.Qy)(this,"update:selected",e,t),(0,r.Qy)(this,"changed",e,t),this.innerSelected&&(0,r.Qy)(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}}}),m=["role","aria-checked","aria-selected","tabindex"],g=["innerHTML"],y={key:2,class:"item-suffix"};var v=(0,p.Z)(f,[["render",function(e,t,n,i,o,r){let s=(0,h.resolveComponent)("v-icon"),a=(0,h.resolveDirective)("tooltip"),l=(0,h.resolveDirective)("syno-id");return(0,h.withDirectives)(((0,h.openBlock)(),(0,h.createElementBlock)("div",{class:(0,h.normalizeClass)(e.itemCls),role:e.role,"aria-checked":e.ariaChecked,"aria-selected":e.ariaSelected,tabindex:e.activatable?"0":"",onClick:t[0]||(t[0]=(0,h.withModifiers)(t=>e.onClick(t),["prevent"])),onKeydown:[t[1]||(t[1]=(0,h.withKeys)((0,h.withModifiers)(t=>e.onClick(t),["prevent"]),["enter"])),t[2]||(t[2]=(0,h.withKeys)((0,h.withModifiers)(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)})},[(0,h.renderSlot)(e.$slots,"default",{},()=>[e.showIcon?((0,h.openBlock)(),(0,h.createBlock)(s,(0,h.mergeProps)({key:0,class:e.iconCls},e.iconProps),null,16,["class"])):(0,h.createCommentVNode)("",!0),(0,h.renderSlot)(e.$slots,"title",{},()=>[e.useHtml?((0,h.openBlock)(),(0,h.createElementBlock)("span",{key:0,ref:"text",class:"title",innerHTML:e.title},null,8,g)):((0,h.openBlock)(),(0,h.createElementBlock)("span",{key:1,ref:"text",class:"title"},(0,h.toDisplayString)(e.title),513))]),e.desc?((0,h.openBlock)(),(0,h.createElementBlock)("span",{key:1,ref:"desc",class:"desc"},(0,h.toDisplayString)(e.desc),513)):(0,h.createCommentVNode)("",!0),e.hasSuffix()?((0,h.openBlock)(),(0,h.createElementBlock)("div",y,[(0,h.renderSlot)(e.$slots,"suffix")])):(0,h.createCommentVNode)("",!0)])],42,m)),[[a,e.mergedTooltip()],[l]])}]])},92858:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var i=n(36659),o=n(62704),r=n(7912),s=n(30272),a=n(63917),l=n(80036),c=n(78671),d=n(37153),u=n(21812),h=n(69092),p=n(82442),f=n(88358),m=n(83871),g=n(89986),y=n(25217),v=n(11747);(0,d.z)("menu-submenu-triangle-right",u.je);let b=(0,y.defineComponent)({name:"MenuSubmenu",components:{vMenu:i.Z,vIcon:m.Z,vPortal:g.Z},mixins:[o.ZP,(0,s.J)("sub-menu-item"),(0,s.f)("menu"),r.ZP,d.Z],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=>!(0,l.isString)(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(){let e=(0,c.Z)({pos:"tl->tr",opts:{constrainHeight:!1}},this.menu?.instance?.getDefaultAlignment()??{},{opts:{constrainHeight:this.constrainHeight}});return(0,l.isObject)(this.alignment)?(0,c.Z)(e,this.alignment):(0,c.Z)(e,{pos:this.alignment})},showIcon(){return this.icon},iconProps(){if((0,l.isObject)(this.icon))return this.icon;let e=(0,l.isString)(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(){let e=(0,l.isString)(this.tooltip)?{content:this.tooltip,overflowOnly:!1}:this.tooltip;return(0,c.Z)({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)},[f.mT.beforeUnmount](){this.menu.unregister(this),this.dispatch("Menu","item-removed",this)},methods:{innerOnClose(){this.isOpen=!1,this.onClose?.()},getSlots(){return(0,p.FJ)(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(),(0,h.Zn)(this,"reposition-done",()=>{(0,a.focusWithoutScroll)(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),(0,h.Qy)(this,"reposition-done")},onMenuOpened(){(0,h.Qy)(this,"menu-opened")},onMenuClosed(){(0,h.Qy)(this,"menu-closed")}}}),w=["tabindex"],C=["innerHTML"],S={class:"item-suffix"};var k=(0,v.Z)(b,[["render",function(e,t,n,i,o,r){let s=(0,y.resolveComponent)("v-icon"),a=(0,y.resolveComponent)("v-menu"),l=(0,y.resolveComponent)("v-portal"),c=(0,y.resolveDirective)("tooltip"),d=(0,y.resolveDirective)("syno-id");return(0,y.withDirectives)(((0,y.openBlock)(),(0,y.createElementBlock)("div",{class:(0,y.normalizeClass)(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)})},[(0,y.renderSlot)(e.$slots,"content",{},()=>[e.showIcon?((0,y.openBlock)(),(0,y.createBlock)(s,(0,y.mergeProps)({key:0,class:e.iconCls},e.iconProps),null,16,["class"])):(0,y.createCommentVNode)("",!0),(0,y.renderSlot)(e.$slots,"title",{},()=>[e.useHtml?((0,y.openBlock)(),(0,y.createElementBlock)("span",{key:0,ref:"text",class:"title",innerHTML:e.title},null,8,C)):((0,y.openBlock)(),(0,y.createElementBlock)("span",{key:1,ref:"text",class:"title"},(0,y.toDisplayString)(e.title),513))]),e.desc?((0,y.openBlock)(),(0,y.createElementBlock)("span",{key:1,ref:"desc",class:"desc"},(0,y.toDisplayString)(e.desc),513)):(0,y.createCommentVNode)("",!0),(0,y.createElementVNode)("div",S,[(0,y.renderSlot)(e.$slots,"suffix"),e.arrowIcon?((0,y.openBlock)(),(0,y.createBlock)(s,{key:0,name:"menu-submenu-triangle-right","svg-icon-set":"set01",size:"thin-rect"})):(0,y.createCommentVNode)("",!0)])]),e.isOpen?((0,y.openBlock)(),(0,y.createBlock)(l,{key:0,ref:"portal","mount-to":e.getContainerEl(),anchor:e.$el,alignment:e.innerAlignment,"acquire-z-index":"",onAligned:e.onMenuAligned},{default:(0,y.withCtx)(()=>[(0,y.createVNode)(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},(0,y.createSlots)({_:2},[(0,y.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,y.withCtx)(t=>[(0,y.renderSlot)(e.$slots,n,(0,y.normalizeProps)((0,y.guardReactiveProps)(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"])):(0,y.createCommentVNode)("",!0)],42,w)),[[c,e.innerTooltip],[d]])}]])},36659:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}}),n(50401),n(879),n(91234),n(80438);var i=n(88358),o=n(69092),r=n(61036),s=n(62704),a=n(30272),l=n(80036),c=n(30782),d=n(7912),u=n(90946),h=n(62088),p=n(25217),f=(0,n(11747).Z)((0,p.defineComponent)({name:"Menu",components:{vScrollbar:c.Z,vTrapFocus:r.Z},mixins:[s.ZP,(0,a.J)("menu"),(0,a.f)("menu"),(0,a.f)("sub-menu-item"),(0,a.f)("trigger-action"),d.ZP,(0,h.W)("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=(0,l.isString)(this.innerWidth)?this.innerWidth:+this.innerWidth+"px";return(0,l.isDefined)(this.forceHeight)&&(e=`${this.forceHeight}px`),(0,l.isDefined)(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(){(0,o.Zn)(this,"item-created",e=>{this.items.push(e),(e.icon||"checkbox"===e.type||"select"===e.type)&&(this.showIcon=!0)}),(0,o.Zn)(this,"item-hover",e=>{let t=this.items.indexOf(e);t>=0&&this.activeItemByIndex(t)}),(0,o.Zn)(this,"item-hover-out",e=>{this.deactiveItem(e)}),(0,o.Zn)(this,"item-removed",e=>{this.items=this.items.filter(t=>t!==e)}),(0,o.Zn)(this,"group-created",e=>{this.groups.push(e)}),(0,o.Zn)(this,"select",(e,t)=>{this.isRoot?(!1===this.emitEventOnly&&e.setSelected(t),(0,o.Qy)(this,"item-select",e,t),this.canCloseOnSelect(e)&&this.closeMenu(e)):this.dispatch("Menu","select",[e,t])}),(0,o.Zn)(this,"change",(e,t,n)=>{this.isRoot?(0,o.Qy)(this,"item-change",e,t,n):this.dispatch("Menu","change",[e,t,n])})},mounted(){if(this.isRoot){let e=this.getTriggerAction();e?.register?.(this)}else this.menu?.register(this),this["sub-menu-item"]?.register?.(this);(0,o.Qy)(this,"menu-opened")},[i.mT.beforeUnmount](){if(this.isRoot){let e=this.getTriggerAction();e?.unregister?.(this)}else this.menu?.unregister(this),this["sub-menu-item"]?.unregister(this);(0,o.Qy)(this,"menu-closed")},methods:{async autoActiveItem(){(0,l.isNumber)(this.autoFocus)?(await (0,p.nextTick)(),this.activeItemByIndex(this.autoFocus)):this.autoFocus&&(await (0,p.nextTick)(),this.tryActiveFirstItem())},getDefaultAlignment(){return this.defaultAlignment},canCloseOnSelect(e){return(0,l.isDefined)(e.closeOnSelect)?(0,l.isFunction)(e.closeOnSelect)?e.closeOnSelect():e.closeOnSelect:(0,l.isDefined)(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(let e of this.subMenus)await e.closeMenu();if(this.onClose?.(),this.isRoot){let t=this.getTriggerAction();t?.closeDropdown?.(),await this.$nextTick();let n=e?.focusTriggerWhenClosed??this.focusTriggerWhenClosed;!0===n?t?.focusTrigger?.():(0,l.isFunction)(n)&&n()}(0,o.Qy)(this,"close-menu")},register(e){"Menu"===e.$options.name?e.isRoot||this.subMenus.push(e):"MenuSubmenu"===e.$options.name&&(e.parentMenu=this)},unregister(e){let 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,(0,o.Qy)(this,"mouseenter")},onMouseLeave(){this.isOver=!1,(0,o.Qy)(this,"mouseleave")},async onArrowKeydown(e){(0,u.Tx)(e)?this.activePrevItem():(0,u.BU)(e)?this.activeNextItem():(0,u.oQ)(e)||(0,u.tH)(e)?this.items[this.activeIndex]&&this.items[this.activeIndex].hasChildMenu&&this.items[this.activeIndex].openChildMenuWithFocus():(0,u.F$)(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;let 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 (0,p.nextTick)(),await this.autoActiveItem()),e.constrainWidth&&(this.forceWidth=e.constrainWidth)}}}),[["render",function(e,t,n,i,o,r){let s=(0,p.resolveComponent)("v-scrollbar"),a=(0,p.resolveComponent)("v-trap-focus"),l=(0,p.resolveDirective)("syno-id");return(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createBlock)(a,{ref:"menu",style:(0,p.normalizeStyle)(e.menuStyle),class:(0,p.normalizeClass)(e.menuCls),tabindex:"-1",role:"listbox",onMouseenter:e.onMouseEnter,onMouseleave:e.onMouseLeave,onKeydown:[(0,p.withKeys)((0,p.withModifiers)(e.onArrowKeydown,["prevent"]),["up","native"]),(0,p.withKeys)((0,p.withModifiers)(e.onArrowKeydown,["prevent"]),["down","native"]),(0,p.withKeys)((0,p.withModifiers)(e.onArrowKeydown,["prevent"]),["right","native"]),(0,p.withKeys)((0,p.withModifiers)(e.onArrowKeydown,["prevent"]),["left","native"]),(0,p.withKeys)((0,p.withModifiers)(e.onArrowKeydown,["prevent"]),["enter","native"]),t[0]||(t[0]=(0,p.withKeys)((0,p.withModifiers)(t=>e.closeMenu(),["prevent","stop"]),["esc","native"]))]},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"top-actions"),e.forceScroll||e.useScrollbar?((0,p.openBlock)(),(0,p.createBlock)(s,{key:0,"active-adaptive-scrollbar":!1},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"default")]),_:3})):(0,p.renderSlot)(e.$slots,"default",{key:1}),(0,p.renderSlot)(e.$slots,"bottom-actions")]),_:3},8,["style","class","onMouseenter","onMouseleave","onKeydown"])),[[p.vShow,e.isOpen],[l]])}]])},84044:function(e,t,n){"use strict";n.d(t,{S:function(){return l}});var i=n(36659),o=n(60853),r=n(92858),s=n(46491),a=n(5290);let l=(0,n(53300).e)({components:[i.Z,o.Z,r.Z,s.Z,a.Z]})},4641:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"ModuleListDivider"}),s={class:"module-list-divider"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s)}]])},86115:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}}),n(50401),n(80438);var i=n(88358),o=n(92128),r=n(30272),s=n(80036),a=n(82442),l=n(83871),c=n(21812),d=n(24121),u=n(78671),h=n(37153),p=n(69092),f=n(74547),m=n(25217),g=n(11747);(0,h.z)("module-list-section-arrow-up",c.np),(0,h.z)("module-list-section-arrow-down",c.u),(0,h.z)("module-list-option-overview",c.sw);let y=(0,m.defineComponent)({name:"ModuleListOption",components:{vIcon:l.Z,vSlideUpDownTransition:d.Z},directives:{tooltip:f.Z},mixins:[(0,r.f)("module-list"),(0,r.f)("module-list-option"),(0,r.J)("module-list-option"),h.Z],props:{display:{type:String,default:""},[o.yz.value()]:{required:!0,type:String,default:""},beforeSelect:{type:Function,default:s.noop},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},tooltip:{type:[Boolean,Object],default:void 0}},emits:["collapsed","selected"],data:()=>({activated:!1,innerCollapsed:!1,subModuleActivated:!1,isSubModule:!1}),computed:{innerIndent(){return(0,s.isDefined)(this.indent)?+this.indent:this.isSubModule?1:0},innerIcon(){return(0,u.Z)({name:"module-list-option-overview",svgIconSet:"set05"},this.icon)},innerTooltip(){return!1!==this.tooltip&&((0,s.isObject)(this.tooltip)?this.tooltip:{content:this.display,overflowOnly:!0})},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(0,s.isDefined)(this.selectable)?this.selectable:!this.innerCollapsible},innerCollapsible(){return(0,s.isObject)(this.collapsible)?this.collapsible.enabled:this.collapsible},hasCollapsibleIcon(){return(0,s.isObject)(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((0,o.GV)(),this.onCurrentSelectedChanged,{immediate:!0}))}),this["module-list-option"]&&(this.isSubModule=!0,this.removeSelfFromParentModule=this["module-list-option"].instance?.appendSubModule(this))},[i.mT.beforeUnmount](){if(this["module-list"])for(let e of(this["module-list"].unregister(this),this.unwatchers))e();this.removeSelfFromParentModule?.()},methods:{hasAction(){return this.innerCollapsible||(0,a._Y)(this,"action")},appendSubModule(e){return this.subModules=this.subModules??[],this.subModules.push(e),()=>{(0,s.removeItems)(this.subModules,e)}},onCurrentSelectedChanged(e){this.innerSelectable&&(this.activated=e===(0,o.eQ)(this)),this.subModuleActivated=this.subModules.some(t=>(0,o.eQ)(t)===e)},async onBeforeSelect(){return!!this.activated||!1!==await this.beforeSelect()&&void 0},async onSelect(e,t){if(this.innerCollapsible&&(this.innerCollapsed=!this.innerCollapsed,(0,p.Qy)(this,"collapsed",this.innerCollapsed)),this.innerSelectable){if(this.disabled||!1===await this.onBeforeSelect())return!1;(0,p.Qy)(this,"selected",(0,o.eQ)(this),this,t)}}}}),v={class:"module-item-text"},b={key:1,class:"action-wrapper"},w={key:0,class:"sub-module-options"};var C=(0,g.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-icon"),a=(0,m.resolveComponent)("v-slide-up-down-transition"),l=(0,m.resolveDirective)("tooltip");return(0,m.openBlock)(),(0,m.createElementBlock)("div",{class:(0,m.normalizeClass)(e.wrapperCls),style:(0,m.normalizeStyle)(e.wrapperStyle)},[(0,m.createElementVNode)("li",{class:(0,m.normalizeClass)(e.optionCls),tabindex:"-1",role:"menuitem",onClick:t[0]||(t[0]=function(){return e.onSelect&&e.onSelect(...arguments)})},[e.hasIcon?((0,m.openBlock)(),(0,m.createBlock)(s,(0,m.mergeProps)({key:0,class:"module-item-icon"},e.innerIcon),{default:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"icon-inner")]),_:3},16)):(0,m.createCommentVNode)("",!0),(0,m.renderSlot)(e.$slots,"text",{},()=>[(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("div",v,[(0,m.createTextVNode)((0,m.toDisplayString)(e.display),1)])),[[l,e.innerTooltip]])]),e.hasAction()?((0,m.openBlock)(),(0,m.createElementBlock)("div",b,[(0,m.renderSlot)(e.$slots,"action"),e.hasCollapsibleIcon?((0,m.openBlock)(),(0,m.createBlock)(s,{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"])):(0,m.createCommentVNode)("",!0)])):(0,m.createCommentVNode)("",!0)],2),(0,m.createVNode)(a,null,{default:(0,m.withCtx)(()=>[e.innerCollapsed?(0,m.createCommentVNode)("",!0):((0,m.openBlock)(),(0,m.createElementBlock)("div",w,[(0,m.renderSlot)(e.$slots,"default")]))]),_:3})],6)}]])},44267:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(88358),o=n(30272),r=n(37153),s=n(21812),a=n(80036),l=n(82442),c=n(83871),d=n(24121),u=n(74547),h=n(25217),p=n(11747);(0,r.z)("module-list-section-arrow-up",s.np),(0,r.z)("module-list-section-arrow-down",s.u);let f=(0,h.defineComponent)({name:"ModuleListSection",components:{vIcon:c.Z,vSlideUpDownTransition:d.Z},directives:{tooltip:u.Z},mixins:[r.Z,(0,o.f)("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},tooltip:{type:[Boolean,Object],default:void 0}},data:()=>({innerCollapsed:!1,isSubModule:!1}),computed:{innerIndent(){return(0,a.isDefined)(this.indent)?+this.indent:this.isSubModule?1:0},innerCollapsible(){return(0,a.isObject)(this.collapsible)?this.collapsible.enabled:this.collapsible},innerTooltip(){return!1!==this.tooltip&&((0,a.isObject)(this.tooltip)?this.tooltip:{content:this.display,overflowOnly:!0})},hasCollapsibleIcon(){return(0,a.isObject)(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)},[i.mT.beforeUnmount](){this.removeSelfFromParentModule?.()},methods:{hasActionSlot(){return(0,l._Y)(this,"action")},onClick(){this.innerCollapsed=!this.innerCollapsed}}}),m=["aria-label"],g={class:"module-item"},y={class:"module-section-item-text"},v={key:0,class:"action-wrapper"},b={key:0,class:"module-options"};var w=(0,p.Z)(f,[["render",function(e,t,n,i,o,r){let s=(0,h.resolveComponent)("v-icon"),a=(0,h.resolveComponent)("v-slide-up-down-transition"),l=(0,h.resolveDirective)("tooltip");return(0,h.openBlock)(),(0,h.createElementBlock)("li",{class:(0,h.normalizeClass)(e.wrapperCls),style:(0,h.normalizeStyle)(e.wrapperStyle),role:"group","aria-label":e.display},[(0,h.createElementVNode)("div",g,[(0,h.createElementVNode)("div",{class:"module-item-content",onClick:t[0]||(t[0]=t=>e.innerCollapsible&&e.onClick())},[e.hasCollapsibleIcon?((0,h.openBlock)(),(0,h.createBlock)(s,{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"])):(0,h.createCommentVNode)("",!0),(0,h.renderSlot)(e.$slots,"text",{},()=>[(0,h.withDirectives)(((0,h.openBlock)(),(0,h.createElementBlock)("div",y,[(0,h.createTextVNode)((0,h.toDisplayString)(e.display),1)])),[[l,e.innerTooltip]])])]),e.hasActionSlot()?((0,h.openBlock)(),(0,h.createElementBlock)("div",v,[(0,h.renderSlot)(e.$slots,"action")])):(0,h.createCommentVNode)("",!0)]),(0,h.createVNode)(a,null,{default:(0,h.withCtx)(()=>[e.innerCollapsed?(0,h.createCommentVNode)("",!0):((0,h.openBlock)(),(0,h.createElementBlock)("div",b,[(0,h.renderSlot)(e.$slots,"default")]))]),_:3})],14,m)}]])},84849:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}}),n(50401),n(91234),n(56165);var i=n(30272),o=n(80036),r=n(90946),s=n(30782),a=n(69092),l=n(92128),c=n(48198),d=n(16447),u=n(25217),h=(0,n(11747).Z)((0,u.defineComponent)({name:"ModuleList",components:{withScrollbar:(0,d.Q)(s.Z)},mixins:[(0,i.J)("module-list")],props:{[l.yz.value()]:{type:String,default:void 0},beforeSelect:{type:Function,default:o.noop},scrollbar:{type:[Boolean,Object],default:!0}},emits:["selected","update:model-value","input"],data:()=>({prefixCls:"v-module-list",options:[]}),computed:{hasScrollbar(){return!!this.scrollbar},scrollbarProps(){return(0,o.isObject)(this.scrollbar)?this.scrollbar:{}}},methods:{async onBeforeSelect(e,t){return e===t||!1!==await this.beforeSelect(e,t)&&void 0},async onOptionSelected(e,t,n){let i=this[l.yz.value()];if(!1===await this.onBeforeSelect(e,i))return!1;this.targetOption=t,(0,a.Qy)(this,(0,l.ef)(),e,n),(0,a.Qy)(this,"selected",e,n)},register(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{},n=(0,l.eQ)(this);(0,a.Zn)(e,"selected",this.onOptionSelected),n===(0,l.eQ)(e)&&e.innerSelectable&&(this.targetOption=e),this.options.push(e),t(this)},async selectModule(e,t){let n=this.options.find(t=>(0,l.eQ)(t)===e);return null!==e||n?n?.onSelect(null,t):((0,a.Qy)(this,(0,l.ef)(),null,t),void(0,a.Qy)(this,"selected",null,t))},unregister(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:()=>{};(0,a.M5)(e,"selected",this.onOptionSelected),this.options=this.options.filter(t=>(0,c.s)(t)!==(0,c.s)(e)),t(this)},onArrowKeydown(e){if(!this.targetOption)return;let t=[...this.$el.querySelectorAll(".module-item-option:not(.non-selectable)")],n=t.findIndex(e=>this.targetOption.$el?.contains(e));if(-1===n)return;let i=(0,r.Tx)(e)?-1:(0,r.BU)(e)?1:0;n=(0,o.clampValue)(n+i,0,t.length-1),t[n].focus(),t[n].click()},focus(){this.$el?.focus()}}}),[["render",function(e,t,n,i,o,r){let s=(0,u.resolveComponent)("with-scrollbar");return(0,u.openBlock)(),(0,u.createElementBlock)("div",{class:(0,u.normalizeClass)(e.prefixCls),role:"list",onKeydown:[t[0]||(t[0]=(0,u.withKeys)((0,u.withModifiers)(function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)},["prevent"]),["up"])),t[1]||(t[1]=(0,u.withKeys)((0,u.withModifiers)(function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)},["prevent"]),["down"]))]},[(0,u.createVNode)(s,(0,u.mergeProps)({wrap:e.hasScrollbar},e.scrollbarProps),{default:(0,u.withCtx)(()=>[(0,u.renderSlot)(e.$slots,"default")]),_:3},16,["wrap"])],34)}]])},8991:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var i=n(84849),o=n(86115),r=n(44267),s=n(4641);let a=(0,n(53300).e)({components:[i.Z,o.Z,r.Z,s.Z]})},81716:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var i=n(83871),o=n(37153),r=n(21812),s=n(80036),a=n(56923),l=n(61644),c=n(84593),d=n(88358),u=n(90969),h=n(25217);(0,o.z)("notify-tray-close",r.O_),(0,o.z)("notify-tray-icon-tips",r.v_),(0,o.z)("notify-tray-icon-suggestion",r.v6),(0,o.z)("notify-tray-icon-important",r.Ut);var p=(0,h.defineComponent)({name:"NotificationV2",components:{vButton:l.Z,vIcon:i.Z,vA:a.Z},mixins:[c.Z],props:u.W,data:()=>({zIndex:Number.MAX_SAFE_INTEGER,destroyTimerFn:void 0}),computed:{confirmText(){return((0,s.isObject)(this.confirm)?this.confirm.text:(0,s.isString)(this.confirm)?this.confirm:void 0)??this._i18n("common","enable")},cancelText(){return((0,s.isObject)(this.cancel)?this.cancel.text:(0,s.isString)(this.cancel)?this.cancel:void 0)??this._i18n("common","skip")},innerCancel(){return(0,s.isObject)(this.cancel)?this.cancel:{}},innerConfirm(){return(0,s.isObject)(this.confirm)?this.confirm:{}},innerIcon(){return(0,s.isObject)(this.icon)?this.icon:!!(0,s.isString)(this.icon)&&{name:`notify-tray-icon-${this.icon}`}},style(){return{"--z-index":this.zIndex}}},watch:{duration:{handler(e){!1===e?this.stopCounting():(0,s.isNumber)(e)&&this.countingDestroyTimer(e)},immediate:!0}},mounted(){this.zIndex=this.$popupManager?.acquireZIndex()},[d.mT.beforeUnmount](){this.$popupManager?.releaseZIndex(),this.destroyTimerFn?.()},methods:{stopCounting(){this.destroyTimerFn?.()},countingDestroyTimer(e){this.destroyTimerFn?.();let t=window.setTimeout(()=>{this._onClose()},e);this.destroyTimerFn=()=>{window.clearTimeout(t)}},async _onClose(){this.onClose?.()}}}),f=n(11747);let m={class:"v-notification-v2__container"},g={key:0,class:"v-notification-v2__icon"},y={class:"v-notification-v2__body"},v={class:"v-notification-v2__title"},b={class:"v-notification-v2__content"},w={class:"v-notification-v2__actions"},C={key:0,class:"v-notification-v2__footer"};var S=(0,f.Z)(p,[["render",function(e,t,n,i,o,r){let s=(0,h.resolveComponent)("v-icon"),a=(0,h.resolveComponent)("v-a"),l=(0,h.resolveComponent)("v-button");return(0,h.openBlock)(),(0,h.createElementBlock)("div",{class:"v-notification-v2",style:(0,h.normalizeStyle)(e.style)},[(0,h.createElementVNode)("div",m,[e.icon?((0,h.openBlock)(),(0,h.createElementBlock)("div",g,[!0===e.icon?(0,h.renderSlot)(e.$slots,"icon",{key:0}):((0,h.openBlock)(),(0,h.createBlock)(s,(0,h.normalizeProps)((0,h.mergeProps)({key:1},e.innerIcon)),null,16))])):(0,h.createCommentVNode)("",!0),(0,h.createElementVNode)("div",y,[(0,h.createElementVNode)("div",v,[!0===e.title?(0,h.renderSlot)(e.$slots,"title",{key:0}):((0,h.openBlock)(),(0,h.createElementBlock)(h.Fragment,{key:1},[(0,h.createTextVNode)((0,h.toDisplayString)(e.title),1)],64))]),(0,h.createElementVNode)("div",b,[!0===e.content?(0,h.renderSlot)(e.$slots,"content",{key:0}):((0,h.openBlock)(),(0,h.createElementBlock)(h.Fragment,{key:1},[(0,h.createTextVNode)((0,h.toDisplayString)(e.content),1)],64))])]),(0,h.createElementVNode)("div",w,[(0,h.renderSlot)(e.$slots,"actions",{},()=>[(0,h.createVNode)(s,{name:"notify-tray-close","svg-icon-set":"set22",onClick:e._onClose},null,8,["onClick"])])])]),e.fbar?((0,h.openBlock)(),(0,h.createElementBlock)("div",C,[(0,h.renderSlot)(e.$slots,"footer",{},()=>[e.cancel?((0,h.openBlock)(),(0,h.createBlock)(a,(0,h.mergeProps)({key:0,class:"v-notification-v2__footer-skip"},e.innerCancel,{onClick:e.onCancel}),{default:(0,h.withCtx)(()=>[(0,h.createTextVNode)((0,h.toDisplayString)(e.cancelText),1)]),_:1},16,["onClick"])):(0,h.createCommentVNode)("",!0),e.confirm?((0,h.openBlock)(),(0,h.createBlock)(l,(0,h.mergeProps)({key:1,type:"footbar",suffix:"main"},e.innerConfirm,{onClick:e.onConfirm}),{default:(0,h.withCtx)(()=>[(0,h.createTextVNode)((0,h.toDisplayString)(e.confirmText),1)]),_:1},16,["onClick"])):(0,h.createCommentVNode)("",!0)])])):(0,h.createCommentVNode)("",!0)],4)}]])},52046:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}}),n(35005),n(50401),n(91234);var i=n(80036),o=n(81716),r=n(90969),s=n(25217),a=n(96153);function l(e){return`${e}->${e}`}var c=(0,s.defineComponent)({name:"NotifyContainer",components:{vNotification:o.Z},props:r.O,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(0,i.isString)(this.alignment)?this.alignment:this.alignment?.pos??a.$C.pos},cls(){return[`v-notify-container--${this.innerAlignmentPos}`,{"v-notify-container--no-animate":!this.animate}]}},methods:{async doStackLayout(){if(0===this.notifications.length)return;let e=this.$notifyManager.getGap("stack"),t=this.$el.getBoundingClientRect(),n=(this.$refs[`notify-${this.notifications[0].id}`]?.[0]).$el,{x:o,y:r}=this.$alignManager.getAlignToXYv2(n,t,l(this.innerAlignmentPos),{offset:[0,0],containerEl:this.$el,constrain:!1}),s=0,a=n.offsetHeight,c="t"===this.innerAlignmentPos[0];for(let[t,n]of this.notifications.entries()){let l=n.id,d=(this.$refs[`notify-${l}`]?.[0]).$el,u=d.offsetHeight,h=d.offsetWidth,p=[o,r],f=t>0?[s/h,a/u]:[1,1];c?r+=e:r-=e,n.pos=p,n.scale=f,n.blur=t>0,n.visible=!(0,i.isNumber)(this.stackSize)||t<this.stackSize,s=h-2*e*(t+1)}},async doNormalLayout(){if(0===this.notifications.length)return;let e=this.$notifyManager.getGap("normal"),t=this.$el.getBoundingClientRect(),n=(this.$refs[`notify-${this.notifications[0].id}`]?.[0]).$el,{x:i,y:o}=this.$alignManager.getAlignToXYv2(n,t,l(this.innerAlignmentPos),{offset:[0,0],constrain:!1,containerEl:this.$el}),r="t"===this.innerAlignmentPos[0];for(let t of this.notifications){let n=t.id,s=(this.$refs[`notify-${n}`]?.[0]).$el.offsetHeight,a=[i,o];r?o+=s+e:o-=s+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,(0,i.isNumber)(this.stackSize)&&this.notifications.length>this.stackSize?await this.doStackLayout():await this.doNormalLayout(),this.animate=!0},getNotifyComponent(e){return this.notifications[e].props.component??o.Z},getNotifyStyle(e){let{pos:t,scale:n}=this.notifications[e],i="",o="";return t&&(i=`translate3d(${t[0]}px, ${t[1]}px, 0)`),n&&(o=`scale(${n[0]}, ${n[1]})`),{transform:`${i} ${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],t=(0,i.isString)(this.alignment)?[0,0]:this.alignment.offset??[0,0],n=(0,i.isString)(this.alignment)?void 0:this.alignment.opts,{x:o,y:r}=this.$alignManager.getAlignToXYv2(this.$el,this.$el.parentNode,l(this.innerAlignmentPos),{offset:t,containerEl:this.$el.parentNode,constrain:n});this.position={x:o,y:r},await (0,s.nextTick)(),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 (0,s.nextTick)(),this.doLayout()},async remove(e){this.notifications=this.notifications.filter(t=>t.props.id!==e),await (0,s.nextTick)(),this.hovering?this.doNormalLayout():this.doLayout()},onMouseEnter(){for(let e of(this.hovering=!0,this.doNormalLayout(),this.notifications))e.duration=!1},onMouseLeave(){for(let e of(this.hovering=!1,(0,i.isNumber)(this.stackSize)&&this.notifications.length>this.stackSize&&this.doStackLayout(),this.notifications))e.duration=e.props.duration}}}),d=(0,n(11747).Z)(c,[["render",function(e,t,n,i,o,r){return(0,s.openBlock)(),(0,s.createBlock)(s.TransitionGroup,{class:(0,s.normalizeClass)(["v-notify-container",e.cls]),style:(0,s.normalizeStyle)(e.style),name:"notify-list",mode:"in-out",tag:"div",onMouseenter:e.onMouseEnter,onMouseleave:e.onMouseLeave},{default:(0,s.withCtx)(()=>[((0,s.openBlock)(!0),(0,s.createElementBlock)(s.Fragment,null,(0,s.renderList)(e.notifications,(t,n)=>{let{props:i,id:o}=t;return(0,s.openBlock)(),(0,s.createBlock)((0,s.resolveDynamicComponent)(e.getNotifyComponent(n)),(0,s.mergeProps)({ref_for:!0,ref:`notify-${o}`,key:i.id},e.getNotifyProps(n),{style:e.getNotifyStyle(n),class:e.getNotifyClass(n)}),null,16,["style","class"])}),128))]),_:1},8,["class","style","onMouseenter","onMouseleave"])}]])},95592:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var i=n(81716),o=n(52046);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},90969:function(e,t,n){"use strict";n.d(t,{O:function(){return l},W:function(){return a}});var i=n(28990),o=n(80036),r=n(96153),s=n(58954);let a=(0,i.o)({id:{type:(0,s.C)(String),required:!0,default:""},title:{type:(0,s.C)([String,Boolean]),default:!0},content:{type:(0,s.C)([String,Boolean]),default:!0},icon:{type:(0,s.C)([Boolean,String,Object]),validator:e=>!(0,o.isString)(e)||Object.values(r.w4).findIndex(t=>t===e)>-1,default:!1},cancel:{type:(0,s.C)([Boolean,Object,String]),default:!0},confirm:{type:(0,s.C)([Boolean,Object,String]),default:!0},onCancel:{type:(0,s.C)(Function),default:void 0},onConfirm:{type:(0,s.C)(Function),default:void 0},onClose:{type:(0,s.C)(Function),default:void 0},fbar:{type:(0,s.C)(Boolean),default:!1},duration:{type:(0,s.C)([Number,Boolean]),default:5e3}}),l=(0,i.o)({stackSize:{type:(0,s.C)([Number,Boolean]),default:3},alignment:{type:(0,s.C)([String,Object]),require:!0,default:r.$C}})},59700:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var i=n(8725),o=n(80036),r=n(90946),s=n(92128),a=n(49748),l=n(69092),c=n(63917),d=n(25217),u=n(58954),h=(0,d.defineComponent)({name:"OtpInput",mixins:[i.Z],props:{length:{type:(0,u.C)(Number),default:6},invalid:{type:(0,u.C)(Boolean),default:!1},prefix:{type:(0,u.C)([String,Boolean]),default:!1},[s.yz.value()]:{type:(0,u.C)(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){(0,l.Qy)(this,(0,s.ef)(),e.join(""))},deep:!0},[s.yz.value()]:{handler(e){this.otp=e.split(""),e.length===this.length&&(0,l.Qy)(this,"finish",e)},immediate:!0}},methods:{focusIndex(e){(this.$refs[`otp-${e}`]?.[0]).focus()},onInput(e,t){let n=e.target,i=0;if((0,o.isNumberLike)(n.value)){for(;i<t&&!(0,o.isEmptyString)(this.otp[i]);)i++;(0,a.t)(this.otp,i,n.value),i<this.length-1&&(0,c.raf)(()=>{this.focusIndex(i+1)})}else n.value=""},onFocus(e){e.target.select()},onPaste(e,t){e.preventDefault();let n=e.clipboardData?.getData("text")||"";if(!(0,o.isNumberLike)(n))return;let i=Math.min(this.length-t,n.length);for(let e=0;e<i;e++)(0,a.t)(this.otp,t,n[e]),t+=1;t=(0,o.clampValue)(t,0,this.length-1),(0,c.raf)(()=>{this.focusIndex(t)})},onKeyDown(e,t){t=(0,o.clampValue)(t,0,this.length-1),((0,r.SD)(e)||(0,r.bf)(e)||(0,r.mb)(e)||(0,r.n2)(e))&&(e.preventDefault(),(0,r.SD)(e)?((0,a.t)(this.otp,t,""),t--):(0,r.bf)(e)?(0,a.t)(this.otp,t,""):(0,r.mb)(e)?t--:(0,r.n2)(e)&&t++,t=(0,o.clampValue)(t,0,this.length-1),(0,c.raf)(()=>{this.focusIndex(t)}))}}}),p=n(11747);let f={key:0,class:"otp-prefix"},m={class:"input-content"},g=["value","onInput","onPaste","onKeydown"];var y=(0,p.Z)(h,[["render",function(e,t,n,i,o,r){return(0,d.openBlock)(),(0,d.createElementBlock)("div",{class:(0,d.normalizeClass)(["otp-input",e.wrapperCls])},[e.prefix?((0,d.openBlock)(),(0,d.createElementBlock)("div",f,[(0,d.renderSlot)(e.$slots,"prefix",{},()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e.prefix),1)])])):(0,d.createCommentVNode)("",!0),(0,d.createElementVNode)("div",m,[((0,d.openBlock)(!0),(0,d.createElementBlock)(d.Fragment,null,(0,d.renderList)(e.length,n=>((0,d.openBlock)(),(0,d.createElementBlock)("input",{ref_for:!0,ref:"otp-"+(n-1),key:n-1,class:"otp-input-item",type:"text",inputmode:"numeric",autocomplete:"one-time-code",maxlength:"1",value:e.otp[n-1],onInput:t=>e.onInput(t,n-1),onFocus:t[0]||(t[0]=t=>e.onFocus(t)),onPaste:t=>e.onPaste(t,n-1),onKeydown:t=>e.onKeyDown(t,n-1)},null,40,g))),128))])],2)}]])},78749:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var i=n(59700);let o=(0,n(53300).e)({components:[i.Z]})},95061:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(30272),o=n(25217),r=n(11747);let s=(0,o.defineComponent)({name:"OverflowListItem",mixins:[(0,i.f)("overflow-list")],data:()=>({visible:!0}),methods:{hide(){this.visible=!1},show(){this.visible=!0}}}),a={key:0,class:"v-overflow-item"};var l=(0,r.Z)(s,[["render",function(e,t,n,i,r,s){return e.visible?((0,o.openBlock)(),(0,o.createElementBlock)("div",a,[(0,o.renderSlot)(e.$slots,"default")])):(0,o.createCommentVNode)("",!0)}]])},30864:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(88358),o=n(39192),r=n(95061),s=n(30272),a=n(80036),l=n(25217),c=n(11747);let d={START:"start",FROM:"from"},u=(0,l.defineComponent)({name:"OverflowList",components:{vOverflowListItem:r.Z},mixins:[(0,s.J)("overflow-list")],props:{collapseDirection:{type:String,validator:e=>Object.values(d).includes(e),default:d.END},items:{type:Array,default:()=>[]},minVisibleItemsNum:{type:Number,default:0}},data:()=>({visibleItems:[]}),computed:{isCollapsedFromStart(){return this.collapseDirection===d.START},isCollapsedFromEnd(){return this.collapseDirection===d.END},isOverflowing(){return this.visibleItems.length<this.items.length},overflowItems(){return this.items.slice(this.visibleItems.length)}},watch:{items:{handler(e,t){(0,a.isEqual)(e,t)||(this.showAllItems(),this.$nextTick(()=>{this.onMeasure()}))},immediate:!0}},mounted(){this.disposeFn=(0,o.k)(this.$el,this.onResize,this),this.prevWidth=this.$el.getBoundingClientRect().width,this.$nextTick(()=>{this.showAllItems(),this.onMeasure()})},[i.mT.beforeUnmount](){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()}}}),h={class:"v-overflow-list"},p={key:0,ref:"measure",class:"v-overflow-list-spacer"},f={key:3,ref:"measure",class:"v-overflow-list-spacer"};var m=(0,c.Z)(u,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-overflow-list-item");return(0,l.openBlock)(),(0,l.createElementBlock)("div",h,[e.isCollapsedFromStart?((0,l.openBlock)(),(0,l.createElementBlock)("i",p,null,512)):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(e.$slots,"overflow-start-anchor",{visibleItems:e.visibleItems,overflowItems:e.overflowItems}),e.isOverflowing&&e.isCollapsedFromStart?(0,l.renderSlot)(e.$slots,"overflow-item",{key:1,visibleItems:e.visibleItems,overflowItems:e.overflowItems}):(0,l.createCommentVNode)("",!0),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(e.visibleItems,(t,n)=>((0,l.openBlock)(),(0,l.createBlock)(s,{key:e.getItemKey(t,n)},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,"default",{item:t,visibleIndex:n,visibleItems:e.visibleItems,overflowItems:e.overflowItems})]),_:2},1024))),128)),e.isOverflowing&&e.isCollapsedFromEnd?(0,l.renderSlot)(e.$slots,"overflow-item",{key:2,visibleItems:e.visibleItems,overflowItems:e.overflowItems}):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(e.$slots,"overflow-end-anchor",{visibleItems:e.visibleItems,overflowItems:e.overflowItems}),e.isCollapsedFromEnd?((0,l.openBlock)(),(0,l.createElementBlock)("i",f,null,512)):(0,l.createCommentVNode)("",!0)])}]])},99054:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var i=n(30864),o=n(95061);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},11560:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(88358),o=n(39192),r=n(25217),s=n(11747);let a=(0,r.defineComponent)({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=(0,o.k)(this.$el,this.genDisplayContent,this)},[i.mT.beforeUnmount](){this.disposeFn?.()},methods:{async genDisplayContent(){let e=Math.min(this.content.length-this.tailLength,this.content.includes(this.tailBeginWith)?this.content.lastIndexOf(this.tailBeginWith):this.content.length),t=this.content.slice(0,e),n=this.content.slice(e);for(this.displayContent=t+n,await this.$nextTick();(this.$refs.measure?.getBoundingClientRect()?.width??0)<.8&&(t.length>0||n.length>0);)t.length>0?t=t.slice(0,-1):n.length>0&&(n=n.slice(1)),this.displayContent=`${t}...${n}`,await this.$nextTick()}}}),l={class:"v-overflow-text"},c={class:"v-overflow-text-content"},d={ref:"measure",class:"v-overflow-text-spacer"};var u=(0,s.Z)(a,[["render",function(e,t,n,i,o,s){return(0,r.openBlock)(),(0,r.createElementBlock)("div",l,[(0,r.createElementVNode)("div",c,(0,r.toDisplayString)(e.displayContent),1),(0,r.createElementVNode)("div",d,null,512)])}]])},23721:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var i=n(11560);let o=(0,n(53300).e)({components:[i.Z]})},37616:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}}),n(50401),n(91234);var i=n(92128),o=n(69092),r=n(84593),s=n(39546),a=n(41401),l=n(80036),c=n(74547),d=n(37153),u=n(78671),h=n(14198),p=n(83871),f=n(21812),m=n(25217),g=n(58954);(0,d.z)("pagination-first",f.H3),(0,d.z)("pagination-last",f.k7),(0,d.z)("pagination-right",f.ED),(0,d.z)("pagination-right-double",f.k6),(0,d.z)("pagination-left",f.aP),(0,d.z)("pagination-left-double",f.cG),(0,d.z)("pagination-refresh",f.vN);let y=["start","end","total","filteredCount","selectedCount"];var v=(0,m.defineComponent)({name:"Pagination",components:{SpinIcon:s.Z,vIcon:p.Z,vSingleSelect:h.Z,vRichText:a.Z},directives:{tooltip:c.Z,iconify:d.Z},mixins:[r.Z],props:{[i.yz.value()]:{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:(0,g.C)([Boolean,Array]),default:!1},mode:{type:(0,g.C)(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:(0,g.C)([Object,Boolean]),default:()=>({"hide-per-page":"sm","hide-total-items":"xxs",less:"sm"})},totalTextMode:{type:(0,g.C)(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:(0,i.eQ)(this),prefixCls:"v-pagination",activeBtn:void 0}},computed:{innerTotalTextFormat(){return(0,u.Z)({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&&((0,o.Qy)(this,"update:page-size",e),(0,o.Qy)(this,(0,i.ef)(),1))}},allPages(){return Math.ceil(+("filter"===this.totalTextMode?this.filteredCount:this.total)/this.pageSize)},pageList(){if(this.lessMode)return[this.current];let e=[],t=this.pageLeft,n=this.pageRight;for(let i=t;i<=n;i++)e.push(i);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(let t of y)if((0,l.isDefined)(this[t])){let n=(0,l.isFunction)(this[t])?this[t](this):this[t];e=e.replace(`{${t}}`,`${n}`)}return e.replace("{items}",this.getItemsText(this.totalTextMode))}},watch:{current(e){(0,o.Qy)(this,(0,i.ef)(),e),(0,o.Qy)(this,"change",e)},[i.yz.value()](e){this.current=e},allPages(){this._outOfRange((0,i.eQ)(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)),(0,o.Qy)(this,"change-page",{pageNum:e}),this._isValid(e)&&(this.current=e,await this.$nextTick(),this.$refs.page[e-this.pageLeft]?.focus()))},_handleRefresh(){(0,o.Qy)(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(0,l.isDefined)(this.hasPrev)?this.hasPrev:this.current>1},_hasNext(){return(0,l.isDefined)(this.hasNext)?this.hasNext:!!this.endless||this.current<this.allPages},_isValid(e){return(0,l.isNumber)(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();let 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);-1===t&&(t=e.length);let n=Math.max(0,t-1);this.activeBtn=e[n]},async setActiveBtnToRight(){await this.$nextTick();let e=[this.$refs.firstBtn,this.$refs.prevBtn,...this.$refs.page,this.$refs.nextBtn,this.$refs.lastBtn].filter(e=>0===e.tabIndex),t=Math.min(e.indexOf(this.activeBtn)+1,e.length-1);this.activeBtn=e[t]},focusActiveBtn(){this.activeBtn&&this.activeBtn.focus()}}}),b=n(11747);let w=["tabindex","aria-pressed","aria-label","syno-id","onFocus","onClick","onKeydown"],C={key:0,class:"items-per-page-wrapper"},S={class:"items-per-page-text"};var k=(0,b.Z)(v,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-icon"),a=(0,m.resolveComponent)("v-single-select"),l=(0,m.resolveComponent)("v-rich-text"),c=(0,m.resolveComponent)("spin-icon"),d=(0,m.resolveDirective)("tooltip"),u=(0,m.resolveDirective)("syno-id");return(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("div",{class:(0,m.normalizeClass)(e.wrapperCls)},[(0,m.createElementVNode)("div",{class:(0,m.normalizeClass)(e.prefixCls+"-left")},[e.switchPage?((0,m.openBlock)(),(0,m.createElementBlock)("ul",{key:0,class:"left-paging",onKeydown:t[12]||(t[12]=function(){return e.activateBtnByArrowKeydown&&e.activateBtnByArrowKeydown(...arguments)})},[e.hasFirstBtn?(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createBlock)(s,{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:(0,m.normalizeClass)([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]=(0,m.withKeys)((0,m.withModifiers)(t=>e._first(),["prevent"]),["native","enter"]))},null,8,["tabindex","aria-label","class","syno-id"])),[[d,e._i18n("extlang","firstpage")]]):(0,m.createCommentVNode)("",!0),(0,m.withDirectives)((0,m.createVNode)(s,{ref:"prevBtn",role:"button","svg-icon-set":"set13",name:e.prevBtnIconName,tabindex:e._hasPrev()?0:-1,"aria-label":e.prevLabel,class:(0,m.normalizeClass)(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]=(0,m.withKeys)((0,m.withModifiers)(t=>e._prev(),["prevent"]),["native","enter"]))},null,8,["name","tabindex","aria-label","class","syno-id"]),[[d,e.prevLabel]]),((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(e.pageList,(t,n)=>((0,m.openBlock)(),(0,m.createElementBlock)("li",{ref_for:!0,ref:"page",key:`${t}-${n}`,role:"button",class:(0,m.normalizeClass)(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-${n}`,onFocus:t=>e.activeBtn=e.$refs.page[n],onClick:n=>e._handleChange(t),onKeydown:(0,m.withKeys)((0,m.withModifiers)(n=>e._handleChange(t),["prevent"]),["enter"])},(0,m.toDisplayString)(e._outOfRange(t)?"":t),43,w))),128)),(0,m.withDirectives)((0,m.createVNode)(s,{ref:"nextBtn",role:"button","svg-icon-set":"set13",name:e.nextBtnIconName,tabindex:e._hasNext()?0:-1,"aria-label":e.nextLabel,class:(0,m.normalizeClass)(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]=(0,m.withKeys)((0,m.withModifiers)(t=>e._next(),["prevent"]),["native","enter"]))},null,8,["name","tabindex","aria-label","class","syno-id"]),[[d,e.nextLabel]]),e.hasLastBtn&&!e.endless?(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createBlock)(s,{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:(0,m.normalizeClass)([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]=(0,m.withKeys)((0,m.withModifiers)(t=>e._last(),["prevent"]),["native","enter"]))},null,8,["tabindex","aria-label","class","syno-id"])),[[d,e._i18n("extlang","lastpage")]]):(0,m.createCommentVNode)("",!0)],32)):(0,m.createCommentVNode)("",!0)],2),(0,m.renderSlot)(e.$slots,"right-wrapper",{},()=>[(0,m.createElementVNode)("div",{class:(0,m.normalizeClass)(e.prefixCls+"-right")},[e.isPerPageHidden?(0,m.createCommentVNode)("",!0):((0,m.openBlock)(),(0,m.createElementBlock)(m.Fragment,{key:0},[e.itemsPerPage?((0,m.openBlock)(),(0,m.createElementBlock)("div",C,[(0,m.createElementVNode)("span",S,(0,m.toDisplayString)(e._i18n("common","items_perpage")),1),(0,m.createVNode)(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"])])):(0,m.createCommentVNode)("",!0),(0,m.renderSlot)(e.$slots,"right")],64)),!e.showTotal||e.endless||e.isTotalItemsHidden?(0,m.createCommentVNode)("",!0):(0,m.renderSlot)(e.$slots,"total",{key:1},()=>[(0,m.createElementVNode)("div",{class:(0,m.normalizeClass)(e.prefixCls+"-total")},[(0,m.createVNode)(l,{text:e.totalText},null,8,["text"])],2)]),e.loading?((0,m.openBlock)(),(0,m.createBlock)(c,{key:2})):(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createBlock)(s,{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]=(0,m.withKeys)((0,m.withModifiers)(t=>e._handleRefresh(),["prevent"]),["native","enter"]))},null,8,["aria-label","syno-id"])),[[m.vShow,!e.hideRefreshBtn]])],2)])],2)),[[u]])}]])},53987:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var i=n(37616);let o=(0,n(53300).e)({components:[i.Z]})},27873:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var i=n(69092),o=n(61644),r=n(41253),s=n(97052),a=n(84593),l=n(82442),c=n(80036),d=n(81460),u=n(75904),h=n(31143),p=n(30782),f=n(8378),m=n(29151),g=n(16447),y=n(30272),v=n(62088),b=n(25217),w=n(11747);let C="basic";var S=(0,w.Z)((0,b.defineComponent)({name:"Panel",components:{vButton:o.Z,vSpin:r.Z,vStatusBar:s.Z,vLayout:d.Z,vScrollbar:p.Z,withTransitionGroup:(0,g.Q)(b.TransitionGroup)},mixins:[a.Z,(0,y.J)("alert-bar-container"),(0,v.W)("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:"row",desktop:"row"})},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(0,c.isObject)(this.fbar)?!(0,c.isBoolean)(this.fbar.confirm)||this.fbar.confirm:!!this.fbar},hasCancelButton(){return(0,c.isObject)(this.fbar)?!(0,c.isBoolean)(this.fbar.cancel)||this.fbar.cancel:!!this.fbar},confirmBinding(){return(0,c.isObject)(this.fbar)&&(0,c.isObject)(this.fbar.confirm)?this.fbar.confirm:{}},cancelBinding(){return(0,c.isObject)(this.fbar)&&(0,c.isObject)(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!!this.tbar?.transition},toolbarScrollTransition(){return"scroll"===this.tbar?.transition?.action},transitionToolbarName(){return this.tbar?.transition?.name??"slide-toolbar"},toolbarComponent(){return this.toolbarType===C?u.Z:h.Z},toolbarType(){return(0,c.isObject)(this.tbar)?this.tbar.type:!0===this.tbar?C:this.hasTbar?((0,m.Rn)("hasTbar","tbar",this),C):"none"},useFooter(){return!0!==this.hasFbar?((0,m.Rn)("hasFbar","fbar",this),this.hasFbar):this.fbar},useToolbar(){return this.toolbarScrollTransition?this.toolbarShown:this.useBasicToolbar||this.useOverflowToolbar},useBasicToolbar(){return this.toolbarType===C},useOverflowToolbar(){return"overflow"===this.toolbarType},tbarCls(){let e=!1!==this.tbar?.defaultStyle;return!1===this.useDefaultTBar&&((0,m.Rn)("useDefaultTBar","tbar.defaultStyle",this),e=this.useDefaultTBar),this.tbarBorder&&(0,m.Rn)("tbarBorder","tbar.border",this),["tbar-wrapper",{"default-tbar":e,"tbar-has-border":this.tbar?.border||this.tbarBorder}]},footerCls(){return this.isMobile?this.footerDirection?.mobile??"row":this.footerDirection?.desktop??"row"},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":(0,f.Eh)("<",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?((0,m.D8)("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(0,l._Y)(this,"scroll-body")},hasContentBodySlot(){return(0,l._Y)(this,"content-body")},delayHideStatusBar(){this.autoHideStatusBar&&"loading"!==this.statusBarState&&window.setTimeout(()=>{(0,i.Qy)(this,"update:show-status-bar",!1)},this.autoHideTimer)},detectReachStartEnd(){if(this.getScrollEl()&&this.innerDetectScroll){let e=this.getScrollEl(),t=e.scrollTop;this.reachYStart=0===t,this.reachYEnd=e.scrollHeight<=e.offsetHeight||t===e.scrollHeight-e.offsetHeight}},determineToolbarShownWhenScroll(){let 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){(0,i.Qy)(this,"click-toolbar-item",e)}}}),[["render",function(e,t,n,i,o,r){let s=(0,b.resolveComponent)("v-layout"),a=(0,b.resolveComponent)("v-scrollbar"),l=(0,b.resolveComponent)("with-transition-group"),c=(0,b.resolveComponent)("v-status-bar"),d=(0,b.resolveComponent)("v-button"),u=(0,b.resolveComponent)("v-spin"),h=(0,b.resolveDirective)("syno-id");return(0,b.withDirectives)(((0,b.openBlock)(),(0,b.createBlock)(s,{class:(0,b.normalizeClass)(e.panelCls),type:`panel.${e.layoutType}`,order:e.layoutOrder},{default:(0,b.withCtx)(()=>[(0,b.createVNode)(u,{class:(0,b.normalizeClass)(e.prefixCls+"-wrapper"),tip:e.innerLoadingText,spinning:e.loading,"only-mask":!e.isSpinType},{"spin-inner":(0,b.withCtx)(()=>[(0,b.renderSlot)(e.$slots,"spin-inner")]),default:(0,b.withCtx)(()=>[(0,b.createVNode)(s,{class:(0,b.normalizeClass)(e.bodyWrapperCls),type:"panel-body",style:(0,b.normalizeStyle)(e.panelBodyStyle),"custom-layout-styles":{"layout-padding-top":"--svc-panel-layout-padding-top"}},{default:(0,b.withCtx)(()=>[(0,b.createVNode)(l,{wrap:e.hasToolbarTransition,name:e.transitionToolbarName,multiple:!0,tag:"div",class:"layout-body-wrapper-transition"},{default:(0,b.withCtx)(()=>[(0,b.renderSlot)(e.$slots,"tbar-wrapper",{},()=>[e.useToolbar?((0,b.openBlock)(),(0,b.createBlock)((0,b.resolveDynamicComponent)(e.toolbarComponent),{key:"toolbar",class:(0,b.normalizeClass)(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},(0,b.createSlots)({right:(0,b.withCtx)(()=>[(0,b.renderSlot)(e.$slots,"tbar-right")]),default:(0,b.withCtx)(()=>[(0,b.renderSlot)(e.$slots,"tbar")]),_:2},[(0,b.renderList)(["overflow-start-anchor","overflow-end-anchor"],t=>({name:t,fn:(0,b.withCtx)(n=>[(0,b.renderSlot)(e.$slots,t,(0,b.normalizeProps)((0,b.guardReactiveProps)(n)))])}))]),1064,["class","items","min-visible-items-num","syno-id","get-more-button-text","more-menu","onClickItem"])):(0,b.createCommentVNode)("",!0)]),(0,b.createElementVNode)("div",{key:"body-wrapper",class:(0,b.normalizeClass)(["body-wrapper",e.bodyWrapper])},[(0,b.renderSlot)(e.$slots,"body"),e.hasScrollBodySlot()?((0,b.openBlock)(),(0,b.createBlock)(a,(0,b.mergeProps)({key:0},e.scrollbarOption,{ref:"scrollbar",onScroll:e.handleScroll,onIsActive:e.detectReachStartEnd}),{default:(0,b.withCtx)(()=>[(0,b.createVNode)(s,{type:e.useToolbar?"toolbar-content":"content"},{default:(0,b.withCtx)(()=>[(0,b.renderSlot)(e.$slots,"scroll-body")]),_:3},8,["type"])]),_:3},16,["onScroll","onIsActive"])):(0,b.createCommentVNode)("",!0),e.hasContentBodySlot()?((0,b.openBlock)(),(0,b.createBlock)(s,{key:1,type:e.useToolbar?"toolbar-content":"content"},{default:(0,b.withCtx)(()=>[(0,b.renderSlot)(e.$slots,"content-body")]),_:3},8,["type"])):(0,b.createCommentVNode)("",!0)],2)]),_:3},8,["wrap","name"])]),_:3},8,["class","style"]),e.useFooter?((0,b.openBlock)(),(0,b.createBlock)(s,{key:0,class:(0,b.normalizeClass)(e.fbarCls),type:"panel-fbar"},{default:(0,b.withCtx)(()=>["statusbar"===e.loadingType?(0,b.renderSlot)(e.$slots,"status-bar",{key:0},()=>[(0,b.createVNode)(c,{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"])]):(0,b.createCommentVNode)("",!0),(0,b.renderSlot)(e.$slots,"fbar",{},()=>[(0,b.createElementVNode)("div",{class:(0,b.normalizeClass)(["default pull-right button-region",e.footerCls])},[e.hasCancelButton?((0,b.openBlock)(),(0,b.createBlock)(d,(0,b.mergeProps)({key:0,"syno-id":`${e.synoId}-fbar-cancel`,type:"footbar",suffix:"cancel",disabled:e.cancelBtnDisabled},e.cancelBinding,{onClick:e.cancel}),{default:(0,b.withCtx)(()=>[(0,b.createTextVNode)((0,b.toDisplayString)(e.cancelText||e._i18n("common","cancel")),1)]),_:1},16,["syno-id","disabled","onClick"])):(0,b.createCommentVNode)("",!0),e.hasConfirmButton?((0,b.openBlock)(),(0,b.createBlock)(d,(0,b.mergeProps)({key:1,"syno-id":`${e.synoId}-fbar-commit`,type:"footbar",suffix:"main",disabled:e.confirmBtnDisabled},e.confirmBinding,{onClick:e.confirm}),{default:(0,b.withCtx)(()=>[(0,b.createTextVNode)((0,b.toDisplayString)(e.confirmText||e._i18n("common","commit")),1)]),_:1},16,["syno-id","disabled","onClick"])):(0,b.createCommentVNode)("",!0)],2)])]),_:3},8,["class"])):(0,b.createCommentVNode)("",!0)]),_:3},8,["class","tip","spinning","only-mask"])]),_:3},8,["class","type","order"])),[[h]])}]])},4415:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});var i=n(27873),o=n(97052);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},97052:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(39546),o=n(84593),r=n(37153),s=n(74547),a=n(21812),l=n(83871),c=n(25217),d=n(58954);(0,r.z)("status-error",a.fr),(0,r.z)("status-normal",a.Zx);var u=(0,c.defineComponent)({name:"StatusBar",components:{SpinIcon:i.Z,vIcon:l.Z},directives:{tooltip:s.Z},mixins:[o.Z,r.Z],props:{state:{type:(0,d.C)(String),default:"loading"},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}}}),h=n(11747);let p={class:"status-text"};var f=(0,h.Z)(u,[["render",function(e,t,n,i,o,r){let s=(0,c.resolveComponent)("v-icon"),a=(0,c.resolveComponent)("spin-icon"),l=(0,c.resolveDirective)("tooltip");return(0,c.openBlock)(),(0,c.createBlock)(c.Transition,{name:"fade"},{default:(0,c.withCtx)(()=>[(0,c.withDirectives)((0,c.createElementVNode)("div",{class:(0,c.normalizeClass)(["v-status-bar",e.stateBarCls])},[(0,c.withDirectives)(((0,c.openBlock)(),(0,c.createElementBlock)("div",p,[e.useSvgIcon?((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:0},["success"===e.state?((0,c.openBlock)(),(0,c.createBlock)(s,{key:0,name:"status-normal"})):"error"===e.state?((0,c.openBlock)(),(0,c.createBlock)(s,{key:1,name:"status-error"})):((0,c.openBlock)(),(0,c.createBlock)(a,{key:2,class:"status-icon"}))],64)):((0,c.openBlock)(),(0,c.createElementBlock)(c.Fragment,{key:1},["loading"!==e.state?((0,c.openBlock)(),(0,c.createBlock)(s,{key:0,name:"status-icon"})):((0,c.openBlock)(),(0,c.createBlock)(a,{key:1,class:"status-icon"}))],64)),(0,c.createTextVNode)(" "+(0,c.toDisplayString)(e.currentText),1)])),[[l,{overflowOnly:!0,content:e.currentText}]])],2),[[c.vShow,e.show]])]),_:1})}]])},72823:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var i=n(67834);let o=(0,n(53300).e)({components:[i.Z]})},67834:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(7912),o=n(62088),r=n(25217),s=n(11747);let a=(0,r.defineComponent)({name:"Popup",mixins:[i.ZP,(0,o.W)("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(){let 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?.()}}}),l={ref:"tip"};var c=(0,s.Z)(a,[["render",function(e,t,n,i,o,s){let a=(0,r.resolveDirective)("tooltip");return(0,r.withDirectives)(((0,r.openBlock)(),(0,r.createElementBlock)("div",l,[(0,r.renderSlot)(e.$slots,"default")])),[[a,e.innerTipOpts]])}]])},4084:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var i=n(25237),o=n(5675),r=n(80036),s=n(20805),a=n(29151),l=n(25217);function c(e){let{props:t,onAligned:n}=e,c=(0,l.ref)(),{alignStyle:d,mountTo:u,doAlign:h}=function(e){let{props:t,alignEl:n,onAligned:i=r.noop}=e,o=(0,s.xj)(),c=function(e,t){let{alignEl:n}=t;return(0,l.computed)(()=>{let{anchor:t}=(0,l.unref)(e),{alignment:i}=(0,l.unref)(e);return i=i??{},{alignOffset:(0,r.isObject)(i)?i.offset??[0,0]:[0,0],alignPos:(0,r.isString)(i)?i:i.pos??"tl->bl",alignOpts:(0,r.isString)(i)?void 0:i.opts,alignEl:(0,l.unref)(n),anchor:(0,l.unref)(t)}})}(t,{alignEl:n}),d=(0,l.computed)(()=>{var e;return e=(0,l.unref)(t).mountTo,e=(0,r.isFunction)(e)?e?.():e,(0,r.isString)(e)?document.querySelector(e):e}),u=(0,l.reactive)({position:[void 0,void 0],constrainWidth:!1,constrainHeight:!1}),h=(0,l.computed)(()=>({left:(0,r.isDefined)(u.position[0])?`${u.position[0]}px`:void 0,top:(0,r.isDefined)(u.position[1])?`${u.position[1]}px`:void 0,maxWidth:u.constrainWidth?`${u.constrainWidth}px`:void 0,maxHeight:u.constrainHeight?`${u.constrainHeight}px`:void 0})),p=()=>{let{alignOffset:e,alignPos:t,alignOpts:n,alignEl:r,anchor:s}=(0,l.unref)(c);if(!s||!d.value||!r)return u;if(!o)return(0,a.D8)("AlignManager is not found, please make sure you have installed it."),u;let h=o.getAlignToXYv2(r,s,t,{offset:e,containerEl:d.value,constrain:n});u.position=[h.x,h.y],u.constrainHeight=!!h.constrainHeight&&h.constrainHeight,u.constrainWidth=!!h.constrainWidth&&h.constrainWidth,(0,l.nextTick)(()=>{i?.(h)})};return(0,l.watchPostEffect)(()=>{p()}),{alignStyle:h,result:u,mountTo:d,doAlign:p}}({props:t,alignEl:c,onAligned:n}),p=function(e){let t=(0,i.U5)(),n=(0,l.ref)(),o=(0,l.computed)(()=>({zIndex:n.value}));return(0,l.onMounted)(()=>{let{acquireZIndex:i}=(0,l.unref)(e);n.value=i?t?.acquireZIndex():void 0}),(0,l.onBeforeUnmount)(()=>{let{acquireZIndex:n}=(0,l.unref)(e);n&&t?.releaseZIndex()}),o}(t),f=(0,l.computed)(()=>[l.unref(t)?.innerClass??{},l.unref(t)?.customClass??{}]),m=(0,l.computed)(()=>[l.unref(t)?.innerStyle??{},l.unref(t)?.customStyle??{}]);return{render:e=>(0,o.h)("div",{ref:c,class:["vue-portal-target",...f.value],style:[d.value,p.value,...m.value]},e?.()??[]),doAlign:h,mountTo:u}}},9675:function(e,t,n){"use strict";n.d(t,{w:function(){return s}});var i=n(49748),o=n(25217);let r=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,o.reactive)({}),n={open:function(e){let{to:n,from:o,content:r,order:s=1/0}=e;if(!n||!o||!r)return;t[n]||(0,i.t)(t,n,{});let a=t[n];(0,i.t)(a,o,{to:n,from:o,content:r,order:s})},close:function(e){let{to:n,from:o}=e;if(!n||!o)return;let r=t[n];r&&((0,i.I)(r,o),r.size||(0,i.I)(t,n))},transports:t,getContentForTarget:function(e,n){let i=t[e];if(!i)return[];let o=Object.values(i)??[];return n?o.sort((e,t)=>(e?.order??0)-(t?.order??0)):o.length>0?[o[o.length-1]]:[]}};return e?(0,o.readonly)(n):n}();function s(){return r}},86640:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var i=n(89986),o=n(65964);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},65964:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}}),n(50401),n(15773);var i=n(9675),o=n(4084),r=n(25217),s=n(58954),a=(0,r.defineComponent)({name:"PortalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slotProps:{type:Object,default:()=>({})},mountTo:{type:(0,s.C)([String,HTMLElement,Function]),default:void 0},acquireZIndex:{type:Boolean,default:!1},customClass:{type:(0,s.C)([String,Array,Object]),default:()=>[]},customStyle:{type:(0,s.C)([String,Array,Object]),default:()=>[]}},emits:["change","aligned"],setup(e,t){let{emit:n,slots:s,expose:a}=t,l=(0,r.reactive)({innerStyle:void 0,innerClass:void 0,anchor:void 0,alignment:void 0}),c=(0,i.w)(),d=(0,r.computed)(()=>{let t=c.getContentForTarget(e.name,e.multiple).map(t=>t.content(e.slotProps)).flat(1);return{vnodes:t,vnodesFn:()=>t}}),{render:u,doAlign:h}=(0,o.m)({props:(0,r.computed)(()=>({...l,...e})),onAligned(e){n("aligned",e)}});return(0,r.watch)(d,t=>{let{vnodes:i}=t,o=i.length>0,r=c.transports[e.name];n("change",{hasContent:o,sources:r?[...Object.keys(r)]:[]})},{flush:"post"}),a({doAlign:h,updateData:e=>{Object.assign(l,e)}}),()=>d.value.vnodes.length?u(d.value.vnodesFn):s.default?.()}})},89986:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(10853),o=n(5675),r=n(9675),s=n(4084),a=n(58954);let l={disabled:{type:Boolean,default:!1},name:{type:String,default:()=>String(Math.round(1e7*Math.random()))},order:{type:Number,default:0},slotProps:{type:(0,a.C)(Object),default:()=>({})},to:{type:String,default:()=>String(Math.round(1e7*Math.random()))},mountTo:{type:(0,a.C)([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:(0,a.C)([String,Object,Array]),default:void 0},targetStyle:{type:(0,a.C)([String,Object,Array]),default:void 0}};var c=n(25217),d=(0,c.defineComponent)({name:"Portal",props:l,emits:["aligned"],setup(e,t){let{slots:n,emit:a,expose:l}=t;if(e.mountTo&&i.$B){let t=(0,c.computed)(()=>({name:e.to,acquireZIndex:e.acquireZIndex,mountTo:e.mountTo,innerStyle:e.targetStyle,innerClass:e.targetClass,anchor:e.anchor,alignment:e.alignment})),{render:i,mountTo:r,doAlign:d}=(0,s.m)({props:t,onAligned:e=>a("aligned",e)});return l({doAlign:d}),()=>e.disabled&&n?.default?n.default(e.slotProps):n?.default?(0,o.h)(c.Teleport,{props:{to:r.value}},[i(()=>n?.default?.(e.slotProps)??[])]):void 0}{let{portalTarget:t,doAlign:i}=function(e,t,n){let i=(0,r.w)(),o=null,s=(0,c.ref)(null),a=(0,c.ref)(null);function l(){let{to:n,name:o,order:r,mountTo:s}=e;t.default?i.open({to:n,from:o,order:r,content:t.default}):d()}function d(t){i.close({to:t??e.to,from:e.name}),o?.()}return(0,c.getCurrentInstance)(),(0,c.onMounted)(()=>{e.disabled||l()}),(0,c.onUpdated)(()=>{e.disabled?d():l()}),(0,c.onBeforeUnmount)(()=>{d()}),(0,c.watch)(()=>e.mountTo,()=>{o?.(),o=function(){let{portalTarget:e,doAlign:t,destroyFn:n}=function(e,t){throw Error("mount portal target only for vue2")}();return s.value=e,a&&(a.value=t),n}()}),(0,c.watch)(()=>e.to,(t,n)=>{e.disabled||(n&&n!==t&&d(n),l())}),{portalTarget:s,doAlign:a}}(e,n);l({portalTarget:t,doAlign:i})}return()=>e.disabled&&n.default?n.default(e.slotProps):null}})},10572:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var i=n(42488);let o=(0,n(53300).e)({components:[i.Z]})},42488:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(91234);var i=n(88358),o=n(80036),r=n(39192),s=n(63917),a=n(25217),l=n(11747);let c=(0,a.defineComponent)({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(0,o.isArray)(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:`${(0,o.clampValue)(+this.percent,0,100)}%`}}},watch:{percent:{handler(e){this.onResize()},immediate:!0}},mounted(){this.$options.disposedFn=(0,r.k)(this.$el,this.onResize.bind(this))},[i.mT.beforeUnmount](){this.$options.disposedFn?.()},methods:{async onResize(){if(this.isMultipleSegments){for(let e of(this.hiddenSegment=new Set,await this.$nextTick(),this.segments)){let t=this.$refs[`seg-${e.id}`]?.[0],n=t?.getBoundingClientRect(),i=parseInt((0,s.css)(t,"border-right-width"),10);n&&n.width<.9+i&&this.hiddenSegment.add(e.id)}this.hiddenSegment=new Set(this.hiddenSegment)}},getSegmentBorderSize(e){let t=e.border??this.segmentBorder??{};return t?.size??0},getSegmentBorderColor(e){let t=e.border??this.segmentBorder??{};return t?.color??"#FFFFFF"},getSegmentStyle(e){return{width:`${(0,o.clampValue)(+e.value,0,100)}%`,backgroundColor:e.color,"--border-size":`${this.getSegmentBorderSize(e)}px`,"--border-color":this.getSegmentBorderColor(e)}}}}),d={class:"progress-wrapper"},u={key:0,class:"progress-title-wrapper"},h={key:0,tabindex:"0",class:"progress-title"},p={key:1,tabindex:"0",class:"progress-percent"},f={key:0,class:"segments-outer"},m={key:1,tabindex:"0",class:"progress-info"};var g=(0,l.Z)(c,[["render",function(e,t,n,i,o,r){let s=(0,a.resolveDirective)("tooltip");return(0,a.openBlock)(),(0,a.createElementBlock)("div",d,[e.hasTitle||e.hasPercentText?((0,a.openBlock)(),(0,a.createElementBlock)("div",u,[e.hasTitle?(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("div",h,[(0,a.createTextVNode)((0,a.toDisplayString)(e.title),1)])),[[s,e.titleTip]]):(0,a.createCommentVNode)("",!0),e.hasPercentText?((0,a.openBlock)(),(0,a.createElementBlock)("div",p,(0,a.toDisplayString)(e.percentText),1)):(0,a.createCommentVNode)("",!0)])):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)(["progress-bar-outer",e.progressOuterClass])},[e.isMultipleSegments?((0,a.openBlock)(),(0,a.createElementBlock)("div",f,[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(e.segments,t=>((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:t.id||t.color,ref_for:!0,ref:`seg-${t.id}`,class:"segment-inner",style:(0,a.normalizeStyle)(e.getSegmentStyle(t))},null,4))),128))])):((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:1,class:(0,a.normalizeClass)(e.progressPercentClass),style:(0,a.normalizeStyle)(e.progressPercentStyle)},null,6))],2),e.hasInfo?((0,a.openBlock)(),(0,a.createElementBlock)("div",m,(0,a.toDisplayString)(e.info),1)):(0,a.createCommentVNode)("",!0)])}]])},34918:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});var i=n(85863),o=n(67220);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},67220:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}}),n(50401),n(56165);var i=n(85863),o=n(71510),r=n(8725),s=n(30272),a=n(92128),l=n(69092),c=n(25217),d=n(58954),u=(0,c.defineComponent)({name:"RadioGroup",components:{vRadio:i.Z},mixins:[r.Z,(0,s.J)("radio-group"),(0,s.J)("form-controls-group")],props:{[a.yz.value()]:{type:(0,d.C)([String,Number,Boolean]),default:""},data:{type:(0,d.C)(Array),default:()=>[]},disabled:{type:Boolean,default:!1},size:{type:String,default:""},name:{type:String,default:()=>`syno-${(0,o.V)()}`},deactiveChildrenFormItems:{type:(0,d.C)(Function),default:()=>i.Z}},emits:["change","update:model-value"],data:()=>({prefixCls:"v-radio-group",hasSlot:!1,model:""}),computed:{ariaLabelledby(){let e=this.data.find(e=>e.value===this.innerValue);return e&&this.getRadioId(e.value)},wrapperCls(){return[this.prefixCls]},innerValue(){return(0,a.eQ)(this)}},mounted(){this.$slots&&this.$slots.default&&(this.hasSlot=!0)},created(){if(this.model=this.innerValue,this.disabled)for(let e of this.data)e.disabled=!0},methods:{change(e){this.model=e,(0,l.Qy)(this,(0,a.ef)(),e),(0,l.Qy)(this,"change",e)},getRadioSynoId(e){return`${this.synoId}-${e}`},getRadioId(e){return`${this.name}-${e}`}}}),h=n(11747);let p=["aria-labelledby"];var f=(0,h.Z)(u,[["render",function(e,t,n,i,o,r){let s=(0,c.resolveComponent)("v-radio"),a=(0,c.resolveDirective)("syno-id");return(0,c.withDirectives)(((0,c.openBlock)(),(0,c.createElementBlock)("div",{class:(0,c.normalizeClass)(e.wrapperCls),role:"radiogroup","aria-labelledby":e.ariaLabelledby,tabindex:"-1",onBlur:t[0]||(t[0]=function(){return e.onBlur&&e.onBlur(...arguments)})},[(0,c.renderSlot)(e.$slots,"default"),e.hasSlot?(0,c.createCommentVNode)("",!0):((0,c.openBlock)(!0),(0,c.createElementBlock)(c.Fragment,{key:0},(0,c.renderList)(e.data,t=>((0,c.openBlock)(),(0,c.createBlock)(s,{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:(0,c.withCtx)(()=>[(0,c.createTextVNode)((0,c.toDisplayString)(t.text),1)]),_:2},1032,["id","syno-id","disabled","value","name"]))),128))],42,p)),[[a]])}]])},85863:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(37153),o=n(30272),r=n(8725),s=n(92128),a=n(69092),l=n(71510),c=n(83871),d=n(25217),u=n(58954),h=(0,d.defineComponent)({name:"Radio",components:{vIcon:c.Z},mixins:[(0,o.f)("radio-group"),i.Z,r.Z],model:{prop:"model",event:"input"},props:{stopPropagation:{type:Boolean,default:!1},value:{type:(0,u.C)([String,Number,Boolean]),default:""},[s.yz.value("model")]:{type:(0,u.C)([String,Number,Boolean]),default:""},disabled:{type:Boolean,default:!1},id:{type:String,default:()=>`syno-${(0,l.V)()}`},name:{type:String,default:""},labelColor:{type:(0,u.C)(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[(0,s.GV)()]},set(e){this.isGroup?this["radio-group"]?.instance.change(e):(0,a.Qy)(this,(0,s.ef)(),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,(0,a.Qy)(this,"focus",this)},onBlurInput(){this.isFocused=!1,(0,a.Qy)(this,"blur",this)},onClick(e){this.stopPropagation&&e.stopPropagation(),this.innerDisabled||((0,a.Qy)(this,"click",e,this),this.innerModel!==this.value&&(this.innerModel=this.value))},onDblClick(e){this.stopPropagation&&e.stopPropagation()}}}),p=n(11747);let f=["id","disabled","name","tabindex","aria-checked","value"];var m=(0,p.Z)(h,[["render",function(e,t,n,i,o,r){let s=(0,d.resolveComponent)("v-icon"),a=(0,d.resolveDirective)("syno-id");return(0,d.withDirectives)(((0,d.openBlock)(),(0,d.createElementBlock)("div",{class:(0,d.normalizeClass)(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)})},[(0,d.createVNode)(s,{name:"radio",class:"v-radio-icon",sprite:""}),(0,d.withDirectives)((0,d.createElementVNode)("input",{id:e.id,ref:"input","onUpdate:modelValue":t[0]||(t[0]=t=>e.innerModel=t),type:"radio",class:(0,d.normalizeClass)(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]=(0,d.withModifiers)(()=>{},["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,f),[[d.vModelRadio,e.innerModel]]),(0,d.createElementVNode)("label",{class:(0,d.normalizeClass)(e.labelCls)},[(0,d.renderSlot)(e.$slots,"default")],2)],34)),[[a]])}]])},82847:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var i=n(41401);let o=(0,n(53300).e)({components:[i.Z]})},41401:function(e,t,n){"use strict";let i;n.d(t,{Z:function(){return i}}),n(50401),n(15773),n(15065);var o,r,s,a,l,c,d,u,h,p,f,m,g,y,v,b,w,C,S,k,x,B,T,E=n(32744),I=new Uint16Array('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\ud835\udd04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\ud835\udd38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\ud835\udc9cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\ud835\udd05pf;쀀\ud835\udd39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſ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;쀀\ud835\udc9epĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\ud835\udd07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\ud835\udd3bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegra\xecȹoɴ͹\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊ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;쀀\ud835\udc9frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\ud835\udd08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\ud835\udd3csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀\ud835\udd09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\ud835\udd3dAll;戀riertrf;愱c\xf2׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\ud835\udd0a;拙pf;쀀\ud835\udd3eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\ud835\udca2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\ud835\udd40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀\ud835\udd0dpf;쀀\ud835\udd41ǣ߇\0ߌr;쀀\ud835\udca5rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀\ud835\udd0epf;쀀\ud835\udd42cr;쀀\ud835\udca6ր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\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\ud835\udd0fĀ;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\ud835\udd43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀\ud835\udd10nusPlus;戓pf;쀀\ud835\udd44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘\xeb૙eryThi\xee૙tedĀGL૸ଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\ud835\udd11ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;쀀\ud835\udca9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻\xd3䃓Āiy෎ීrc耻\xd4䃔;䐞blac;䅐r;쀀\ud835\udd12rave耻\xd2䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀\ud835\udd46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\ud835\udcaaash耻\xd8䃘iŬื฼de耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀\ud835\udd13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀\ud835\udcab;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\ud835\udd14pf;愚cr;쀀\ud835\udcac؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹ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;쀀\ud835\udd16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbb࿝pArrow;憑gma;䎣allCircle;战pf;쀀\ud835\udd4aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\ud835\udcaear;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\ud835\udd17Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\ud835\udd4bipleDot;惛Āctዖዛr;쀀\ud835\udcafrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\ud835\udd18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀\ud835\udd4cЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\ud835\udcb0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\ud835\udd19pf;쀀\ud835\udd4dcr;쀀\ud835\udcb1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\ud835\udd1apf;쀀\ud835\udd4ecr;쀀\ud835\udcb2Ȁfiosᓋᓐᓒᓘr;쀀\ud835\udd1b;䎞pf;쀀\ud835\udd4fcr;쀀\ud835\udcb3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\ud835\udd1cpf;쀀\ud835\udd50cr;쀀\ud835\udcb4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8૙a;䎖r;愨pf;愤cr;쀀\ud835\udcb5௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\ud835\udd1erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\ud835\udd52΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\ud835\udcb6;䀪mpĀ;e዁ᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀\ud835\udd1fg΀costuvwឍឝឳេ៕៛៞ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\ud835\udd53Ā;tᏋᡣom\xbbᏌtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\ud835\udcb7mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t\xbb᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\ud835\udd20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁\xeeᅠeĀmx᫱᫶ent\xbb᫩e\xf3ɍǧ᫾\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\ud835\udd54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\ud835\udcb8Ā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\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍r\xf2΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\ud835\udd21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\ud835\udd55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\ud835\udcb9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴo\xf4ᲉĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\ud835\udd22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\ud835\udd56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\ud835\udd23lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\ud835\udd57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\ud835\udcbbࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\ud835\udd24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\ud835\udd58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎pro\xf8₞r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\ud835\udd25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\ud835\udd59bar;怕ƀclt≯≴≸r;쀀\ud835\udcbdas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\ud835\udd26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\ud835\udd5aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\ud835\udcbenʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\ud835\udd27ath;䈷pf;쀀\ud835\udd5bǣ⏬\0⏱r;쀀\ud835\udcbfrcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\ud835\udd28reen;䄸cy;䑅cy;䑜pf;쀀\ud835\udd5ccr;쀀\ud835\udcc0஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2৆\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3྘quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\ud835\udd29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\ud835\udd5dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\ud835\udcc1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\ud835\udd2ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\ud835\udd5eĀct⣸⣽r;쀀\ud835\udcc2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xed஘istĀ;s஠டr;쀀\ud835\udd2bȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lan\xf4௢i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs఻⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\ud835\udd5f膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lle\xec୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5൅;쀀\ud835\udcc3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5೸\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1೗Ā;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耻\xf3䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀\ud835\udd2cͯ⵹\0\0⵼\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨr\xf2᪀Āir⶝ⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\ud835\udd60ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀\xb6;l⹭⹮䂶le\xecЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\ud835\udd2dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\ud835\udd61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴\xef໻rel;抰Āci⿀⿅r;쀀\ud835\udcc5;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀\ud835\udd2epf;쀀\ud835\udd62rime;恗cr;쀀\ud835\udcc6ƀaeo⿸〉〓tĀei⿾々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec࿲\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\ud835\udd2fĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3࿪arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2࿪a\xf2Ց;怏oustĀ;a㈞㈟掱che\xbb㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\ud835\udd63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\ud835\udcc7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼਴t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\ud835\udd30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec⹯耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\ud835\udd64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\ud835\udcc8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Ā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㘦㘨\xeb∮Ā;oਫ਩war;椪lig耻\xdf䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xeb๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\ud835\udd31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8዁im\xbbኬs\xf0ኞĀas㚺㚮\xf0዁rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\ud835\udd65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\ud835\udcc9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4᝷headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\ud835\udd32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\ud835\udd66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\ud835\udccaƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\ud835\udd33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\ud835\udd67ro\xf0໻tr\xe9㦴Ācu㨆㨋r;쀀\ud835\udccbĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\ud835\udd34pf;쀀\ud835\udd68Ā;eᑹ㩦at\xe8ᑹcr;쀀\ud835\udcccૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tr\xe9៑r;쀀\ud835\udd35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\ud835\udd69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\ud835\udccdĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\ud835\udd36cy;䑗pf;쀀\ud835\udd6acr;쀀\ud835\udcceĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\ud835\udd37cy;䐶grarr;懝pf;쀀\ud835\udd6bcr;쀀\ud835\udccfĀjn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),D=new Uint16Array("Ȁaglq	\x15\x18\x1bɭ\x0f\0\0\x12p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));let V=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]]),N=null!==(m=String.fromCodePoint)&&void 0!==m?m:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};function _(e){return e>=g.ZERO&&e<=g.NINE}(o=g||(g={}))[o.NUM=35]="NUM",o[o.SEMI=59]="SEMI",o[o.EQUALS=61]="EQUALS",o[o.ZERO=48]="ZERO",o[o.NINE=57]="NINE",o[o.LOWER_A=97]="LOWER_A",o[o.LOWER_F=102]="LOWER_F",o[o.LOWER_X=120]="LOWER_X",o[o.LOWER_Z=122]="LOWER_Z",o[o.UPPER_A=65]="UPPER_A",o[o.UPPER_F=70]="UPPER_F",o[o.UPPER_Z=90]="UPPER_Z",(r=y||(y={}))[r.VALUE_LENGTH=49152]="VALUE_LENGTH",r[r.BRANCH_LENGTH=16256]="BRANCH_LENGTH",r[r.JUMP_TABLE=127]="JUMP_TABLE",(s=v||(v={}))[s.EntityStart=0]="EntityStart",s[s.NumericStart=1]="NumericStart",s[s.NumericDecimal=2]="NumericDecimal",s[s.NumericHex=3]="NumericHex",s[s.NamedEntity=4]="NamedEntity",(a=b||(b={}))[a.Legacy=0]="Legacy",a[a.Strict=1]="Strict",a[a.Attribute=2]="Attribute";class M{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=v.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=b.Strict}startEntity(e){this.decodeMode=e,this.state=v.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case v.EntityStart:if(e.charCodeAt(t)===g.NUM)return this.state=v.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=v.NamedEntity,this.stateNamedEntity(e,t);case v.NumericStart:return this.stateNumericStart(e,t);case v.NumericDecimal:return this.stateNumericDecimal(e,t);case v.NumericHex:return this.stateNumericHex(e,t);case v.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===g.LOWER_X?(this.state=v.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=v.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,i){if(t!==n){let o=n-t;this.result=this.result*Math.pow(i,o)+parseInt(e.substr(t,o),i),this.consumed+=o}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var i;let o=e.charCodeAt(t);if(!_(o)&&(!((i=o)>=g.UPPER_A)||!(i<=g.UPPER_F))&&(!(i>=g.LOWER_A)||!(i<=g.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(o,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let i=e.charCodeAt(t);if(!_(i))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(i,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,i,o;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===g.SEMI)this.consumed+=1;else if(this.decodeMode===b.Strict)return 0;return this.emitCodePoint((i=this.result)>=55296&&i<=57343||i>1114111?65533:null!==(o=V.get(i))&&void 0!==o?o:i,this.consumed),this.errors&&(e!==g.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,i=n[this.treeIndex],o=(i&y.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let r=e.charCodeAt(t);if(this.treeIndex=function(e,t,n,i){let o=(t&y.BRANCH_LENGTH)>>7,r=t&y.JUMP_TABLE;if(0===o)return 0!==r&&i===r?n:-1;if(r){let t=i-r;return t<0||t>=o?-1:e[n+t]-1}let s=n,a=s+o-1;for(;s<=a;){let t=s+a>>>1,n=e[t];if(n<i)s=t+1;else{if(!(n>i))return e[t+o];a=t-1}}return -1}(n,i,this.treeIndex+Math.max(1,o),r),this.treeIndex<0)return 0===this.result||this.decodeMode===b.Attribute&&(0===o||function(e){var t;return e===g.EQUALS||(t=e)>=g.UPPER_A&&t<=g.UPPER_Z||t>=g.LOWER_A&&t<=g.LOWER_Z||_(t)}(r))?0:this.emitNotTerminatedNamedEntity();if(0!=(o=((i=n[this.treeIndex])&y.VALUE_LENGTH)>>14)){if(r===g.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==b.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,i=(n[t]&y.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,i,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:i}=this;return this.emitCodePoint(1===t?i[e]&~y.VALUE_LENGTH:i[e+1],n),3===t&&this.emitCodePoint(i[e+2],n),n}end(){var e;switch(this.state){case v.NamedEntity:return 0!==this.result&&(this.decodeMode!==b.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case v.NumericDecimal:return this.emitNumericEntity(0,2);case v.NumericHex:return this.emitNumericEntity(0,3);case v.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case v.EntityStart:return 0}}}function $(e){let t="",n=new M(e,e=>t+=N(e));return function(e,i){let o=0,r=0;for(;(r=e.indexOf("&",r))>=0;){t+=e.slice(o,r),n.startEntity(i);let s=n.write(e,r+1);if(s<0){o=r+n.end();break}o=r+s,r=0===s?o+1:o}let s=t+e.slice(o);return t="",s}}function Z(e){return e===w.Space||e===w.NewLine||e===w.Tab||e===w.FormFeed||e===w.CarriageReturn}function A(e){return e===w.Slash||e===w.Gt||Z(e)}$(I),$(D),(l=w||(w={}))[l.Tab=9]="Tab",l[l.NewLine=10]="NewLine",l[l.FormFeed=12]="FormFeed",l[l.CarriageReturn=13]="CarriageReturn",l[l.Space=32]="Space",l[l.ExclamationMark=33]="ExclamationMark",l[l.Number=35]="Number",l[l.Amp=38]="Amp",l[l.SingleQuote=39]="SingleQuote",l[l.DoubleQuote=34]="DoubleQuote",l[l.Dash=45]="Dash",l[l.Slash=47]="Slash",l[l.Zero=48]="Zero",l[l.Nine=57]="Nine",l[l.Semi=59]="Semi",l[l.Lt=60]="Lt",l[l.Eq=61]="Eq",l[l.Gt=62]="Gt",l[l.Questionmark=63]="Questionmark",l[l.UpperA=65]="UpperA",l[l.LowerA=97]="LowerA",l[l.UpperF=70]="UpperF",l[l.LowerF=102]="LowerF",l[l.UpperZ=90]="UpperZ",l[l.LowerZ=122]="LowerZ",l[l.LowerX=120]="LowerX",l[l.OpeningSquareBracket=91]="OpeningSquareBracket",(c=C||(C={}))[c.Text=1]="Text",c[c.BeforeTagName=2]="BeforeTagName",c[c.InTagName=3]="InTagName",c[c.InSelfClosingTag=4]="InSelfClosingTag",c[c.BeforeClosingTagName=5]="BeforeClosingTagName",c[c.InClosingTagName=6]="InClosingTagName",c[c.AfterClosingTagName=7]="AfterClosingTagName",c[c.BeforeAttributeName=8]="BeforeAttributeName",c[c.InAttributeName=9]="InAttributeName",c[c.AfterAttributeName=10]="AfterAttributeName",c[c.BeforeAttributeValue=11]="BeforeAttributeValue",c[c.InAttributeValueDq=12]="InAttributeValueDq",c[c.InAttributeValueSq=13]="InAttributeValueSq",c[c.InAttributeValueNq=14]="InAttributeValueNq",c[c.BeforeDeclaration=15]="BeforeDeclaration",c[c.InDeclaration=16]="InDeclaration",c[c.InProcessingInstruction=17]="InProcessingInstruction",c[c.BeforeComment=18]="BeforeComment",c[c.CDATASequence=19]="CDATASequence",c[c.InSpecialComment=20]="InSpecialComment",c[c.InCommentLike=21]="InCommentLike",c[c.BeforeSpecialS=22]="BeforeSpecialS",c[c.BeforeSpecialT=23]="BeforeSpecialT",c[c.SpecialStartSequence=24]="SpecialStartSequence",c[c.InSpecialTag=25]="InSpecialTag",c[c.InEntity=26]="InEntity",(d=S||(S={}))[d.NoValue=0]="NoValue",d[d.Unquoted=1]="Unquoted",d[d.Single=2]="Single",d[d.Double=3]="Double";let O={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 F{constructor({xmlMode:e=!1,decodeEntities:t=!0},n){this.cbs=n,this.state=C.Text,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=C.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 M(e?D:I,(e,t)=>this.emitCodePoint(e,t))}reset(){this.state=C.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=C.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===w.Lt||!this.decodeEntities&&this.fastForwardTo(w.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=C.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===w.Amp&&this.startEntity()}stateSpecialStartSequence(e){let t=this.sequenceIndex===this.currentSequence.length;if(t?A(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t){this.sequenceIndex++;return}}else this.isSpecial=!1;this.sequenceIndex=0,this.state=C.InTagName,this.stateInTagName(e)}stateInSpecialTag(e){if(this.sequenceIndex===this.currentSequence.length){if(e===w.Gt||Z(e)){let t=this.index-this.currentSequence.length;if(this.sectionStart<t){let e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}this.isSpecial=!1,this.sectionStart=t+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===O.TitleEnd?this.decodeEntities&&e===w.Amp&&this.startEntity():this.fastForwardTo(w.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=Number(e===w.Lt)}stateCDATASequence(e){e===O.Cdata[this.sequenceIndex]?++this.sequenceIndex===O.Cdata.length&&(this.state=C.InCommentLike,this.currentSequence=O.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=C.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===O.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=C.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?!A(e):e>=w.LowerA&&e<=w.LowerZ||e>=w.UpperA&&e<=w.UpperZ}startSpecial(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=C.SpecialStartSequence}stateBeforeTagName(e){if(e===w.ExclamationMark)this.state=C.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===w.Questionmark)this.state=C.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){let t=32|e;this.sectionStart=this.index,this.xmlMode?this.state=C.InTagName:t===O.ScriptEnd[2]?this.state=C.BeforeSpecialS:t===O.TitleEnd[2]?this.state=C.BeforeSpecialT:this.state=C.InTagName}else e===w.Slash?this.state=C.BeforeClosingTagName:(this.state=C.Text,this.stateText(e))}stateInTagName(e){A(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=C.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateBeforeClosingTagName(e){Z(e)||(e===w.Gt?this.state=C.Text:(this.state=this.isTagStartChar(e)?C.InClosingTagName:C.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(e){(e===w.Gt||Z(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=C.AfterClosingTagName,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){(e===w.Gt||this.fastForwardTo(w.Gt))&&(this.state=C.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(e){e===w.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=C.InSpecialTag,this.sequenceIndex=0):this.state=C.Text,this.sectionStart=this.index+1):e===w.Slash?this.state=C.InSelfClosingTag:Z(e)||(this.state=C.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(e){e===w.Gt?(this.cbs.onselfclosingtag(this.index),this.state=C.Text,this.sectionStart=this.index+1,this.isSpecial=!1):Z(e)||(this.state=C.BeforeAttributeName,this.stateBeforeAttributeName(e))}stateInAttributeName(e){(e===w.Eq||A(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=this.index,this.state=C.AfterAttributeName,this.stateAfterAttributeName(e))}stateAfterAttributeName(e){e===w.Eq?this.state=C.BeforeAttributeValue:e===w.Slash||e===w.Gt?(this.cbs.onattribend(S.NoValue,this.sectionStart),this.sectionStart=-1,this.state=C.BeforeAttributeName,this.stateBeforeAttributeName(e)):Z(e)||(this.cbs.onattribend(S.NoValue,this.sectionStart),this.state=C.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(e){e===w.DoubleQuote?(this.state=C.InAttributeValueDq,this.sectionStart=this.index+1):e===w.SingleQuote?(this.state=C.InAttributeValueSq,this.sectionStart=this.index+1):Z(e)||(this.sectionStart=this.index,this.state=C.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===w.DoubleQuote?S.Double:S.Single,this.index+1),this.state=C.BeforeAttributeName):this.decodeEntities&&e===w.Amp&&this.startEntity()}stateInAttributeValueDoubleQuotes(e){this.handleInAttributeValue(e,w.DoubleQuote)}stateInAttributeValueSingleQuotes(e){this.handleInAttributeValue(e,w.SingleQuote)}stateInAttributeValueNoQuotes(e){Z(e)||e===w.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(S.Unquoted,this.index),this.state=C.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===w.Amp&&this.startEntity()}stateBeforeDeclaration(e){e===w.OpeningSquareBracket?(this.state=C.CDATASequence,this.sequenceIndex=0):this.state=e===w.Dash?C.BeforeComment:C.InDeclaration}stateInDeclaration(e){(e===w.Gt||this.fastForwardTo(w.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=C.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===w.Gt||this.fastForwardTo(w.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=C.Text,this.sectionStart=this.index+1)}stateBeforeComment(e){e===w.Dash?(this.state=C.InCommentLike,this.currentSequence=O.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=C.InDeclaration}stateInSpecialComment(e){(e===w.Gt||this.fastForwardTo(w.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=C.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){let t=32|e;t===O.ScriptEnd[3]?this.startSpecial(O.ScriptEnd,4):t===O.StyleEnd[3]?this.startSpecial(O.StyleEnd,4):(this.state=C.InTagName,this.stateInTagName(e))}stateBeforeSpecialT(e){let t=32|e;t===O.TitleEnd[3]?this.startSpecial(O.TitleEnd,4):t===O.TextareaEnd[3]?this.startSpecial(O.TextareaEnd,4):(this.state=C.InTagName,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=C.InEntity,this.entityStart=this.index,this.entityDecoder.startEntity(this.xmlMode?b.Strict:this.baseState===C.Text||this.baseState===C.InSpecialTag?b.Legacy:b.Attribute)}stateInEntity(){let 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===C.Text||this.state===C.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===C.InAttributeValueDq||this.state===C.InAttributeValueSq||this.state===C.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();){let e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case C.Text:this.stateText(e);break;case C.SpecialStartSequence:this.stateSpecialStartSequence(e);break;case C.InSpecialTag:this.stateInSpecialTag(e);break;case C.CDATASequence:this.stateCDATASequence(e);break;case C.InAttributeValueDq:this.stateInAttributeValueDoubleQuotes(e);break;case C.InAttributeName:this.stateInAttributeName(e);break;case C.InCommentLike:this.stateInCommentLike(e);break;case C.InSpecialComment:this.stateInSpecialComment(e);break;case C.BeforeAttributeName:this.stateBeforeAttributeName(e);break;case C.InTagName:this.stateInTagName(e);break;case C.InClosingTagName:this.stateInClosingTagName(e);break;case C.BeforeTagName:this.stateBeforeTagName(e);break;case C.AfterAttributeName:this.stateAfterAttributeName(e);break;case C.InAttributeValueSq:this.stateInAttributeValueSingleQuotes(e);break;case C.BeforeAttributeValue:this.stateBeforeAttributeValue(e);break;case C.BeforeClosingTagName:this.stateBeforeClosingTagName(e);break;case C.AfterClosingTagName:this.stateAfterClosingTagName(e);break;case C.BeforeSpecialS:this.stateBeforeSpecialS(e);break;case C.BeforeSpecialT:this.stateBeforeSpecialT(e);break;case C.InAttributeValueNq:this.stateInAttributeValueNoQuotes(e);break;case C.InSelfClosingTag:this.stateInSelfClosingTag(e);break;case C.InDeclaration:this.stateInDeclaration(e);break;case C.BeforeDeclaration:this.stateBeforeDeclaration(e);break;case C.BeforeComment:this.stateBeforeComment(e);break;case C.InProcessingInstruction:this.stateInProcessingInstruction(e);break;case C.InEntity:this.stateInEntity()}this.index++}this.cleanup()}finish(){this.state===C.InEntity&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let e=this.buffer.length+this.offset;this.sectionStart>=e||(this.state===C.InCommentLike?this.currentSequence===O.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===C.InTagName||this.state===C.BeforeAttributeName||this.state===C.BeforeAttributeValue||this.state===C.AfterAttributeName||this.state===C.InAttributeName||this.state===C.InAttributeValueSq||this.state===C.InAttributeValueDq||this.state===C.InAttributeValueNq||this.state===C.InClosingTagName||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){this.baseState!==C.Text&&this.baseState!==C.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))}}let z=new Set(["input","option","optgroup","select","button","datalist","textarea"]),L=new Set(["p"]),P=new Set(["thead","tbody"]),R=new Set(["dd","dt"]),H=new Set(["rt","rp"]),j=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",L],["h1",L],["h2",L],["h3",L],["h4",L],["h5",L],["h6",L],["select",z],["input",z],["output",z],["button",z],["datalist",z],["textarea",z],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",R],["dt",R],["address",L],["article",L],["aside",L],["blockquote",L],["details",L],["div",L],["dl",L],["fieldset",L],["figcaption",L],["figure",L],["footer",L],["form",L],["header",L],["hr",L],["main",L],["nav",L],["ol",L],["pre",L],["section",L],["table",L],["ul",L],["rt",H],["rp",H],["tbody",P],["tfoot",P]]),W=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),G=new Set(["math","svg"]),Q=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),U=/\s|\//;class K{constructor(e,t={}){var n,i,o,r,s,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!==(n=t.lowerCaseTags)&&void 0!==n?n:this.htmlMode,this.lowerCaseAttributeNames=null!==(i=t.lowerCaseAttributeNames)&&void 0!==i?i:this.htmlMode,this.recognizeSelfClosing=null!==(o=t.recognizeSelfClosing)&&void 0!==o?o:!this.htmlMode,this.tokenizer=new(null!==(r=t.Tokenizer)&&void 0!==r?r:F)(this.options,this),this.foreignContext=[!this.htmlMode],null===(a=(s=this.cbs).onparserinit)||void 0===a||a.call(s,this)}ontext(e,t){var n,i;let o=this.getSlice(e,t);this.endIndex=t-1,null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,o),this.startIndex=t}ontextentity(e,t){var n,i;this.endIndex=t-1,null===(i=(n=this.cbs).ontext)||void 0===i||i.call(n,N(e)),this.startIndex=t}isVoidElement(e){return this.htmlMode&&W.has(e)}onopentagname(e,t){this.endIndex=t;let n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)}emitOpenTag(e){var t,n,i,o;this.openTagStart=this.startIndex,this.tagname=e;let r=this.htmlMode&&j.get(e);if(r)for(;this.stack.length>0&&r.has(this.stack[0]);){let e=this.stack.shift();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,e,!0)}!this.isVoidElement(e)&&(this.stack.unshift(e),this.htmlMode&&(G.has(e)?this.foreignContext.unshift(!0):Q.has(e)&&this.foreignContext.unshift(!1))),null===(o=(i=this.cbs).onopentagname)||void 0===o||o.call(i,e),this.cbs.onopentag&&(this.attribs={})}endOpenTag(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.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 n,i,o,r,s,a,l,c;this.endIndex=t;let d=this.getSlice(e,t);if(this.lowerCaseTagNames&&(d=d.toLowerCase()),this.htmlMode&&(G.has(d)||Q.has(d))&&this.foreignContext.shift(),this.isVoidElement(d))this.htmlMode&&"br"===d&&(null===(r=(o=this.cbs).onopentagname)||void 0===r||r.call(o,"br"),null===(a=(s=this.cbs).onopentag)||void 0===a||a.call(s,"br",{},!0),null===(c=(l=this.cbs).onclosetag)||void 0===c||c.call(l,"br",!1));else{let e=this.stack.indexOf(d);if(-1!==e)for(let t=0;t<=e;t++){let o=this.stack.shift();null===(i=(n=this.cbs).onclosetag)||void 0===i||i.call(n,o,t!==e)}else this.htmlMode&&"p"===d&&(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,n;let i=this.tagname;this.endOpenTag(e),this.stack[0]===i&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,i,!e),this.stack.shift())}onattribname(e,t){this.startIndex=e;let n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n}onattribdata(e,t){this.attribvalue+=this.getSlice(e,t)}onattribentity(e){this.attribvalue+=N(e)}onattribend(e,t){var n,i;this.endIndex=t,null===(i=(n=this.cbs).onattribute)||void 0===i||i.call(n,this.attribname,this.attribvalue,e===S.Double?'"':e===S.Single?"'":e===S.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(e){let t=e.search(U),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n}ondeclaration(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`!${e}`,`!${n}`)}this.startIndex=t+1}onprocessinginstruction(e,t){this.endIndex=t;let n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){let e=this.getInstructionName(n);this.cbs.onprocessinginstruction(`?${e}`,`?${n}`)}this.startIndex=t+1}oncomment(e,t,n){var i,o,r,s;this.endIndex=t,null===(o=(i=this.cbs).oncomment)||void 0===o||o.call(i,this.getSlice(e,t-n)),null===(s=(r=this.cbs).oncommentend)||void 0===s||s.call(r),this.startIndex=t+1}oncdata(e,t,n){var i,o,r,s,a,l,c,d,u,h;this.endIndex=t;let p=this.getSlice(e,t-n);!this.htmlMode||this.options.recognizeCDATA?(null===(o=(i=this.cbs).oncdatastart)||void 0===o||o.call(i),null===(s=(r=this.cbs).ontext)||void 0===s||s.call(r,p),null===(l=(a=this.cbs).oncdataend)||void 0===l||l.call(a)):(null===(d=(c=this.cbs).oncomment)||void 0===d||d.call(c,`[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,n,i;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===(i=(n=this.cbs).onparserinit)||void 0===i||i.call(n,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 n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);for(;t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(e){var t,n;if(this.ended){null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)}end(e){var t,n;if(this.ended){null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,Error(".end() after done!"));return}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)}}(u=k||(k={})).Root="root",u.Text="text",u.Directive="directive",u.Comment="comment",u.Script="script",u.Style="style",u.Tag="tag",u.CDATA="cdata",u.Doctype="doctype",k.Root,k.Text,k.Directive,k.Comment,k.Script,k.Style,k.Tag,k.CDATA,k.Doctype;let q=new Map([[34,"&quot;"],[38,"&amp;"],[39,"&apos;"],[60,"&lt;"],[62,"&gt;"]]);function Y(e,t){return function(n){let i;let o=0,r="";for(;i=e.exec(n);)o!==i.index&&(r+=n.substring(o,i.index)),r+=t.get(i[0].charCodeAt(0)),o=i.index+1;return r+n.substring(o)}}null!=String.prototype.codePointAt||((e,t)=>(64512&e.charCodeAt(t))==55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)),Y(/[&<>'"]/g,q),Y(/["&\u00A0]/g,new Map([[34,"&quot;"],[38,"&amp;"],[160,"&nbsp;"]])),Y(/[&<>\u00A0]/g,new Map([[38,"&amp;"],[60,"&lt;"],[62,"&gt;"],[160,"&nbsp;"]])),(h=x||(x={}))[h.XML=0]="XML",h[h.HTML=1]="HTML",(p=B||(B={}))[p.UTF8=0]="UTF8",p[p.ASCII=1]="ASCII",p[p.Extensive=2]="Extensive",p[p.Attribute=3]="Attribute",p[p.Text=4]="Text",["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]),["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]),(f=T||(T={}))[f.DISCONNECTED=1]="DISCONNECTED",f[f.PRECEDING=2]="PRECEDING",f[f.FOLLOWING=4]="FOLLOWING",f[f.CONTAINS=8]="CONTAINS",f[f.CONTAINED_BY=16]="CONTAINED_BY";var J=n(80036),X=n(58954);let ee=["class","style"],et={parseTags:{type:(0,X.C)(Array),default:()=>["br","li","ul","ol","a","span","b","p"]},allowAttrs:{type:(0,X.C)(Array),default:()=>[]},stopPropagation:{type:Boolean,default:!1},linkTags:{type:(0,X.C)(Array),default:()=>["a","span"]},text:{type:String,default:""}},en=(e,t,n)=>{let i=[],o=[];return new K({onopentag(e,r){if(!t.parseTags.includes(e))return;let s=i.length>0?i[i.length-1]:null,a=((e,i,o)=>{let r=Object.entries(i).reduce((e,n)=>{let[i,o]=n;return(t.allowAttrs.includes(i)||ee.includes(i))&&(e[i]=o),e},{});return o?{name:e,rawProps:{attrs:r,on:{click:e=>{t.stopPropagation&&e.stopPropagation(),(0,E.j8)(n,"click-link",i["link-id"],r)}}},children:[]}:{name:e,rawProps:{attrs:r},children:[]}})(e,r,t.linkTags.includes(e));s?s.children.push(a):o.push(a),i.push(a)},ontext(e){let t=i.length>0?i[i.length-1]:null;t?t.children.push(e):o.push(e)},onclosetag(e){t.parseTags.includes(e)&&i.pop()}}).write(t.text),o.map(t=>(function e(t,n){if((0,J.isString)(n))return n;let{name:i,rawProps:o,children:r}=n;return(0,E.h)(t,i,o,r.map(n=>e(t,n)))})(e,t))};(i=function(e,t){return en(void 0,e,t)}).componentName="RichText",i.props=et,i.emits=["click-link"]},2674:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var i=n(67478);let o=(0,n(53300).e)({components:[i.Z]})},67478:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(15773);var i=n(92128),o=n(69092),r=n(8725),s=n(84593),a=n(80036),l=n(73602),c=n(68314),d=n(50412),u=n(25217),h=(0,n(11747).Z)((0,u.defineComponent)({name:"ScheduleField",components:{vSelectBaseOption:c.Z,vSelectDividerOption:d.Z,vMultipleSelect:l.Z},mixins:[s.Z,r.Z],props:{[i.yz.value()]:{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(){let e=new Set((0,i.eQ)(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)?(0,i.eQ)(this).slice().map(e=>this.days[e].abbre_label).join(this._i18n("common","comma")):this._i18n("uicommon","schedule_weekdays")},innerValue(){return(0,i.eQ)(this)}},methods:{onInput(e){(0,o.Qy)(this,(0,i.ef)(),e.sort())},setActive(e,t){this.activated[e]=t},onActionClick(e){(0,o.Qy)(this,(0,i.ef)(),"daily"===e?[0,1,2,3,4,5,6]:"weekend"===e?[0,6]:[1,2,3,4,5])},onCloseDropdown(){if(this.emptyValue&&0===(0,i.eQ)(this).length){let e=(0,a.isArray)(this.emptyValue)?this.emptyValue.slice():[0,1,2,3,4,5,6];(0,o.Qy)(this,(0,i.ef)(),e)}}}}),[["render",function(e,t,n,i,o,r){let s=(0,u.resolveComponent)("v-select-base-option"),a=(0,u.resolveComponent)("v-select-divider-option"),l=(0,u.resolveComponent)("v-multiple-select");return(0,u.openBlock)(),(0,u.createBlock)(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":(0,u.withCtx)(()=>[((0,u.openBlock)(!0),(0,u.createElementBlock)(u.Fragment,null,(0,u.renderList)(e.actions,t=>((0,u.openBlock)(),(0,u.createBlock)(s,{key:t,class:"schedule-base-option",option:{icon:{name:"schedule",sprite:!0}},display:e._i18n("uicommon",`schedule_${t}`),activated:e.activated[t],onHover:n=>e.setActive(t,!0),onHoverOut:n=>e.setActive(t,!1),onClick:n=>e.onActionClick(t)},null,8,["display","activated","onHover","onHoverOut","onClick"]))),128)),(0,u.createVNode)(a)]),_:1},8,["syno-id","value","model-value","options","display-text","disabled","onInput","onUpdate:modelValue","onCloseDropdown"])}]])},30724:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var i=n(98123);let o=(0,n(53300).e)({components:[i.Z]})},98123:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}}),n(50401),n(15773);var i=n(88358),o=n(92128),r=n(49748),s=n(69092),a=n(22902),l=n(62704),c=n(84593),d=n(8725),u=n(39192),h=n(80036),p=n(37153),f=n(74547),m=n(21812),g=n(83871),y=n(25217),v=n(11747);(0,p.z)("schedule-table-pen",m.fY);let b=(0,y.defineComponent)({name:"ScheduleTable",components:{vIcon:g.Z},directives:{tooltip:f.Z},mixins:[l.ZP,d.Z,p.Z,c.Z],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},[o.yz.value()]:{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=(0,a.Z)(this._applyDragRange,100)},mounted(){this.$nextTick(()=>{(0,u.k)(this.$refs.table,this.updateBtnWrapperWidth,this)})},[i.mT.beforeUnmount](){this.$el&&(0,u.S)(this.$refs.table,this.updateBtnWrapperWidth)},methods:{isOptionEditable(e){let t=(0,h.isObject)(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){(0,s.Qy)(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,n){return(24*e+t)*this.numbersOfHour.length+n},getCustomCellSlot(e,t,n){return this.getItem(e,t,n).customCellSlot},cellCls(e,t,n){let i=this.getItem(e,t,n);if(i)return["body-cell","cell-option",`split-${this.splitMinute}`,{"split-cell":n>0,"cell-option--clear":i.clear,[`cell-option--${i.color}`]:this.checkIsBuildinColor(i.color),"row-col-over":this.hoverHour===t||this.hoverDay===e||this.isInDragZone(e,t,n)||this.hoverAll}]},cellStyles(e,t,n){let i=this.getItem(e,t,n);return this.checkIsBuildinColor(i.color)?{}:{backgroundColor:i.color}},getItem(e,t,n){let i=this.getIndex(e,t,n),r=(0,o.eQ)(this).charAt(i);return this.options[r]||this.options[0]},checkIsBuildinColor:e=>["blue","green","orange","red","yellow"].includes(e),onScheduleBtnSelect(e,t){this.selected=e,(0,s.Qy)(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=(0,o.eQ)(this).split(""),n=this.numbersOfHour.length,i=this.days.length;for(let o=0;o<i;o++)for(let i=0;i<n;i++)t[this.getIndex(o,e,i)]=this.selected;this.emitValueChage(t),this.clearDragZone()},onMouseOverDayCell(e){this.hoverDay=e},onMouseLeaveDayCell(e){this.hoverDay===e&&(this.hoverDay=-1)},selectDayCell(e){let t=(0,o.eQ)(this).split(""),n=this.numbersOfHour.length,i=24*n*e;for(let e=0;e<24*n;e++)t[e+i]=this.selected;this.emitValueChage(t),this.clearDragZone()},selectCell(e,t,n){let i=(0,o.eQ)(this).split("");i[this.getIndex(e,t,n)]=this.selected,this.emitValueChage(i),this.clearDragZone()},selectAll(){let e=(0,o.eQ)(this).split(""),t=24*this.days.length*this.numbersOfHour.length;for(let n=0;n<t;n++)e[n]=this.selected;this.emitValueChage(e),this.clearDragZone()},emitValueChage(e){let t=e.join("");(0,s.Qy)(this,(0,o.ef)(),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]),n=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:n}},canDragCell:e=>e.hasAttribute("day")&&e.hasAttribute("hour")&&e.hasAttribute("hour-split-index"),isInDragZone(e,t,n){if(!this.isDragging)return!1;let{x:i,y:o}=this.getCoordinate(e,t,n),{startX:r,startY:s,endX:a,endY:l}=this.getDragRange();return i>=r&&i<=a&&o>=s&&o<=l},getCoordinate(e,t,n){return{x:t*this.numbersOfHour.length+n,y:e}},getCellIndex(e){let t=+e.getAttribute("day"),n=+e.getAttribute("hour"),i=+e.getAttribute("hour-split-index");return this.getCoordinate(t,n,i)},onMouseDown(e){this.isDragging=!0,this.updateDragZone(e,[0,1])},updateDragZone(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0],n=e.target;if(!this.canDragCell(n)||!this.isDragging)return;let{x:i,y:o}=this.getCellIndex(n);for(let e=0;e<t.length;e++)(0,r.t)(this.dragRange,t[e],[o,i])},_applyDragRange(e){if(!this.isDragging)return;let t=this.numbersOfHour.length,{startX:n,startY:i,endX:r,endY:s}=this.getDragRange(),a=(0,o.eQ)(this).split("");for(let e=i;e<=s;e++)for(let i=n;i<=r;i++)e<0||i<0||(a[24*e*t+i]=this.selected);this.emitValueChage(a),this.clearDragZone()}}}),w=["onMouseover"],C=["syno-id","onClick"],S={class:"head-row"},k=[(0,y.createElementVNode)("div",{class:"select-all-triangle"},null,-1)],x=["syno-id","colspan","onMouseover","onMouseleave","onClick"],B=["syno-id","onMouseover","onMouseleave","onClick"],T=["syno-id","day","hour","hour-split-index","onClick"];var E=(0,v.Z)(b,[["render",function(e,t,n,i,o,r){let s=(0,y.resolveComponent)("v-icon"),a=(0,y.resolveDirective)("tooltip"),l=(0,y.resolveDirective)("syno-id");return(0,y.withDirectives)(((0,y.openBlock)(),(0,y.createElementBlock)("div",{class:(0,y.normalizeClass)(`${e.prefix}-table`)},[(0,y.renderSlot)(e.$slots,"description"),(0,y.renderSlot)(e.$slots,"options",{},()=>[(0,y.createElementVNode)("div",{class:(0,y.normalizeClass)(`${e.prefix}-btn-wrapper`),style:(0,y.normalizeStyle)(e.btnWrapperStyle),onMouseleave:t[0]||(t[0]=t=>e.onHoveroutOptions())},[((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(e.options,(t,n)=>(0,y.withDirectives)(((0,y.openBlock)(),(0,y.createElementBlock)("span",{key:n,class:(0,y.normalizeClass)(`${e.prefix}-btn`),onMouseover:n=>e.onHoverOption(t)},[(0,y.createElementVNode)("span",{"syno-id":`${e.synoId}-schedule-btn-${n}`,class:(0,y.normalizeClass)(e.scheduleBtnCls(t,n)),onClick:(0,y.withModifiers)(i=>e.onScheduleBtnSelect(n,t),["stop"])},[t.clear?(0,y.createCommentVNode)("",!0):((0,y.openBlock)(),(0,y.createElementBlock)("span",{key:0,class:"btn-icon-inner",style:(0,y.normalizeStyle)(e.scheduleBtnStyle(t))},null,4))],10,C),t.labelSlot?(0,y.renderSlot)(e.$slots,t.labelSlot,{key:0}):(0,y.withDirectives)(((0,y.openBlock)(),(0,y.createElementBlock)("span",{key:1,class:(0,y.normalizeClass)(`${e.prefix}-btn-text`)},[(0,y.createTextVNode)((0,y.toDisplayString)(t.label),1)],2)),[[a,{overflowOnly:!0,content:t.label}]]),e.isOptionEditable(t)?(0,y.withDirectives)(((0,y.openBlock)(),(0,y.createBlock)(s,{key:2,name:"schedule-table-pen","svg-icon-set":"set13",onClick:n=>e.onEdit(t)},null,8,["onClick"])),[[a,e.getEditableIconTooltip(t)]]):(0,y.createCommentVNode)("",!0)],42,w)),[[y.vShow,!t.hidden]])),128))],38)]),(0,y.renderSlot)(e.$slots,"detail"),(0,y.createElementVNode)("table",{ref:"table",class:(0,y.normalizeClass)(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))},[(0,y.createElementVNode)("tbody",null,[(0,y.createElementVNode)("tr",S,[(0,y.createElementVNode)("td",{class:"head-cell select-all-cell first-cell",onClick:t[1]||(t[1]=(0,y.withModifiers)(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)})},k,32),((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(e.hours,(t,n)=>((0,y.openBlock)(),(0,y.createElementBlock)("td",{key:n,class:(0,y.normalizeClass)([e.headCls,"cell head-cell"]),"syno-id":`${e.synoId}-head-cell-${n}`,colspan:e.numbersOfHour.length,onMouseover:t=>e.onMouseOverHeadCell(n),onMouseleave:t=>e.onMouseLeaveHeadCell(n),onClick:(0,y.withModifiers)(t=>e.selectHeadCell(n),["stop"])},(0,y.toDisplayString)(t),43,x))),128))]),((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(e.days,(t,n)=>((0,y.openBlock)(),(0,y.createElementBlock)("tr",{key:n,class:"normal-row"},[(0,y.createElementVNode)("td",{"syno-id":`${e.synoId}-first-cell-${n}`,class:"cell body-cell first-cell",onMouseover:t=>e.onMouseOverDayCell(n),onMouseleave:t=>e.onMouseLeaveDayCell(n),onClick:(0,y.withModifiers)(t=>e.selectDayCell(n),["stop"])},(0,y.toDisplayString)(t),41,B),((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(e.hours,(t,i)=>((0,y.openBlock)(),(0,y.createElementBlock)(y.Fragment,null,[((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(e.numbersOfHour,t=>((0,y.openBlock)(),(0,y.createElementBlock)(y.Fragment,null,[e.getCustomCellSlot(n,i,t)?(0,y.renderSlot)(e.$slots,e.getCustomCellSlot(n,i,t),{key:0,synoId:`${e.synoId}-inner-cell-${n}-${i}-${t}`,cellCls:e.cellCls(n,i,t),style:(0,y.normalizeStyle)(e.cellStyles(n,i,t)),day:n,hour:i,hourSplitIndex:t,cellKey:`${n}-${i}-${t}`,click:()=>e.selectCell(n,i,t)}):((0,y.openBlock)(),(0,y.createElementBlock)("td",{key:`${n}-${i}-${t}`,"syno-id":`${e.synoId}-inner-cell-${n}-${i}-${t}`,class:(0,y.normalizeClass)(e.cellCls(n,i,t)),style:(0,y.normalizeStyle)(e.cellStyles(n,i,t)),day:n,hour:i,"hour-split-index":t,onClick:(0,y.withModifiers)(o=>e.selectCell(n,i,t),["stop"])},null,14,T))],64))),256))],64))),256))]))),128))])],34)],2)),[[l]])}]])},89400:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});var i=n(88358),o=n(30782);let r=(0,n(53300).e)({components:[o.Z]},(e,t)=>{let n=(0,i.a0)(e);n&&(n.$scrollbar=t)})},30782:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(88358),o=n(63917),r=n(39192),s=n(30272),a=n(22902),l=n(80036),c=n(69092),d=n(90946),u=n(25217),h=n(58954),p=(0,u.defineComponent)({name:"Scrollbar",mixins:[(0,s.J)("adaptive-container")],props:{viewTag:{type:String,default:"div"},hasPadding:{type:Boolean,default:!1},viewStyle:{type:(0,h.C)([String,Array,Object]),default:""},viewClass:{type:(0,h.C)([String,Array,Object]),default:""},innerStyle:{type:(0,h.C)([String,Array,Object]),default:""},innerClass:{type:(0,h.C)([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:(0,h.C)([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","is-active"],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(){let 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=(0,a.Z)(()=>{this.barHiddenUnderBreakpoint&&this.$breakpointManager.lessAndEqThan(this.barHiddenUnderBreakpoint)&&(this.barHidden=!0)},500)},mounted(){(0,r.k)(this.$refs.inner,this.updateScroll,this),(0,r.k)(this.$refs.view,this.onViewResize,this),this.updateRail(),this.hideBarWhenUnderBreakpoint?.()},[i.mT.beforeUnmount](){(0,r.S)(this.$refs.inner,this.updateScroll),(0,r.S)(this.$refs.view,this.onViewResize)},methods:{showBar(){this.barHidden=!1},updateRail(){let e=this.viewCachedRect?.height??(this.$refs?.view).offsetHeight,t=this.viewCachedRect?.width??(this.$refs?.view).offsetWidth,n=this.$refs["y-rail"]?parseInt((0,o.css)(this.$refs["y-rail"],"marginTop"),10):0,i=this.$refs["y-rail"]?parseInt((0,o.css)(this.$refs["y-rail"],"marginBottom"),10):0,r=this.$refs["x-rail"]?parseInt((0,o.css)(this.$refs["x-rail"],"marginRight"),10):0,s=this.$refs["x-rail"]?parseInt((0,o.css)(this.$refs["x-rail"],"marginLeft"),10):0;this.yRailHeight=e-n-i,this.xRailWidth=t-s-r},onViewResize(){let e=this.$refs.view;e&&(this.viewCachedRect={height:e.offsetHeight,width:e.offsetWidth},this.updateRail(),this.updateScroll(),(0,c.Qy)(this,"is-active",this.hasXRail||this.hasYRail))},getAdaptiveContainer(){return this.activeAdaptiveScrollbar?this.$refs.inner:null},getScrollEl(){return this.$refs.view},isReachTop(){return 0===this.$refs.view.scrollTop},isReachBottom(){let e=this.$refs.view,t=this.viewCachedRect?.height??e.offsetHeight,n=e.scrollTop,i=e.scrollHeight;return n>=i-t-1||i<=t},isReachRight(){let e=this.$refs.view,t=this.viewCachedRect?.width??e.offsetWidth,n=e.scrollLeft,i=e.scrollWidth;return n>=i-t-1||i<=t},isReachLeft(){return 0===this.$refs.view.scrollLeft},updateScroll(){this.showBar(),(0,o.raf)(()=>{let e=this.$refs.view;if(!e)return;let t=this.viewCachedRect?.height??e.offsetHeight,n=this.viewCachedRect?.width??e.offsetWidth,i=this.yRailHeight??t,o=this.xRailWidth??n,r=e.scrollHeight,s=e.scrollTop,a=e.scrollWidth,l=e.scrollLeft,d=this.isReachLeft(),u=this.isReachRight(),h=this.isReachTop(),p=this.isReachBottom();(0,c.Qy)(this,u?"reach-right":"not-reach-right"),(0,c.Qy)(this,d?"reach-left":"not-reach-left"),(0,c.Qy)(this,h?"reach-top":"not-reach-top"),(0,c.Qy)(this,p?"reach-bottom":"not-reach-bottom"),this.yRailExists=r>t,this.xRailExists=a>n,this.yBarHeight=Math.max(i*t/r,this.realMinYBarHeight),this.yBarTop=(i-this.yBarHeight)*s/(r-t),this.reachTop=h,this.reachBottom=p,this.xBarWidth=Math.max(o*n/a,this.realMinXBarWidth),this.xBarLeft=(o-this.xBarWidth)*l/(a-n),this.reachLeft=d,this.reachRight=u,this.hideBarWhenUnderBreakpoint?.()})},update(){this.updateScroll()},handleScroll(e){this.disabled||(this.updateScroll(),(0,c.Qy)(this,"scroll",e))},onBarPointerDown(e,t){if(this.disabled)return;let n=this.$refs.view,i=n.offsetHeight,r=n.offsetWidth,s=n.scrollHeight,a=n.scrollWidth,l=n.scrollTop,u=n.scrollLeft,h=(0,d.xp)(e),p=document.onselectstart,f=document.ondragstart;document.onselectstart=()=>!1,document.ondragstart=()=>!1,this.swallowClick(),this.keepBarShowing=!0;let m=e=>{e.preventDefault(),(0,o.raf)(()=>{let n=this.$refs.view;if(!n)return;let[o,c]=(0,d.xp)(e),p=o-h[0],f=c-h[1];if("y"===t){let e=(s-i)/(i-this.yBarHeight);n.scrollTop=l+f*e}else if("x"===t){let e=(a-r)/(r-this.xBarWidth);n.scrollLeft=u+p*e}})},g=e=>{e.stopPropagation(),(0,o.off)(document.documentElement,"touchmove",m),(0,o.off)(document.documentElement,"mousemove",m),document.onselectstart=p,document.ondragstart=f,window.setTimeout(()=>{this.disposedSwallowClick?.(),delete this.disposedSwallowClick},0),this.keepBarShowing=!1,this.hideBarWhenUnderBreakpoint?.()};(0,o.on)(document.documentElement,"touchmove",m,{passive:!1}),(0,o.on)(document.documentElement,"mousemove",m),(0,o.once)(document.documentElement,"touchend",g),(0,o.once)(document.documentElement,"mouseup",g),(0,c.Qy)(this,"bar-pointer-down",e,t)},swallowClick(){this.disposedSwallowClick||(this.disposedSwallowClick=(0,o.on)(document.documentElement,"click",e=>e.stopPropagation(),{capture:!0}))},onRailPointerDown(e,t){if(this.disabled)return;let n=this.$refs.view,i=n.offsetHeight,o=n.offsetWidth,r=e.target?.getBoundingClientRect(),s=n.scrollHeight,a=n.scrollWidth,l=(0,d.xp)(e);if(this.showBar(),this.hideBarWhenUnderBreakpoint?.(),"y"===t){let e=l[1]-r.top-this.yBarHeight/2;n.scrollTop=e*s/i}else if("x"===t){let e=l[0]-r.left-this.xBarWidth/2;n.scrollLeft=e*a/o}(0,c.Qy)(this,"rail-pointer-down",e,t)},ensureVisible(e){(0,o.scrollTo)(e,{scrollMode:"if-needed",behavior:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"smooth":"auto"})},getScrollTop(){let e=this.$refs.view,t=e.scrollTop,n=this.viewCachedRect?.height??e.offsetHeight,i=e.scrollHeight;return t+n>i&&(t=i-n),t},getScrollLeft(){return this.$refs.view.scrollLeft},setScroll(e,t){let n=this.$refs.view;n&&((0,l.isDefined)(e)&&(n.scrollLeft=e),(0,l.isDefined)(t)&&(n.scrollTop=t))},resetScrollTop(){this.$refs.view.scrollTop=0},resetScrollLeft(){this.$refs.view.scrollLeft=0}}}),f=(0,n(11747).Z)(p,[["render",function(e,t,n,i,o,r){return(0,u.openBlock)(),(0,u.createElementBlock)("div",{ref:"scrollbar",class:(0,u.normalizeClass)(e.wrapperCls)},[((0,u.openBlock)(),(0,u.createBlock)((0,u.resolveDynamicComponent)(e.viewTag),{ref:"view",class:(0,u.normalizeClass)(["v-scrollbar-view",e.viewClass]),style:(0,u.normalizeStyle)(e.viewStyle),onScrollPassive:e.handleScroll},{default:(0,u.withCtx)(()=>[(0,u.createElementVNode)("div",{ref:"inner",class:(0,u.normalizeClass)(["v-scrollbar-inner",e.innerClass]),style:(0,u.normalizeStyle)(e.innerStyle)},[(0,u.renderSlot)(e.$slots,"default")],6)]),_:3},40,["class","style","onScrollPassive"])),e.hasYRail?((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:0,ref:"y-rail",class:"y-rail rail",style:(0,u.normalizeStyle)(e.yRailStyle),onTouchstart:t[2]||(t[2]=t=>e.onRailPointerDown(t,"y")),onMousedown:t[3]||(t[3]=(0,u.withModifiers)(t=>e.onRailPointerDown(t,"y"),["stop"]))},[(0,u.createElementVNode)("div",{ref:"y-bar",class:(0,u.normalizeClass)(["y-bar bar",e.barCls]),style:(0,u.normalizeStyle)(e.yBarStyle),onTouchstart:t[0]||(t[0]=(0,u.withModifiers)(t=>e.onBarPointerDown(t,"y"),["stop"])),onMousedown:t[1]||(t[1]=(0,u.withModifiers)(t=>e.onBarPointerDown(t,"y"),["stop"]))},null,38)],36)):(0,u.createCommentVNode)("",!0),e.hasXRail?((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:1,ref:"x-rail",class:"x-rail rail",style:(0,u.normalizeStyle)(e.xRailStyle),onTouchstart:t[6]||(t[6]=t=>e.onRailPointerDown(t,"x")),onMousedown:t[7]||(t[7]=(0,u.withModifiers)(t=>e.onRailPointerDown(t,"x"),["stop"]))},[(0,u.createElementVNode)("div",{ref:"x-bar",class:(0,u.normalizeClass)(["x-bar bar",e.barCls]),style:(0,u.normalizeStyle)(e.xBarStyle),onTouchstart:t[4]||(t[4]=(0,u.withModifiers)(t=>e.onBarPointerDown(t,"x"),["stop"])),onMousedown:t[5]||(t[5]=(0,u.withModifiers)(t=>e.onBarPointerDown(t,"x"),["stop"]))},null,38)],36)):(0,u.createCommentVNode)("",!0)],2)}]])},17636:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var i=n(1462);let o=(0,n(53300).e)({components:[i.Z]})},1462:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var i=n(82442),o=n(69092),r=n(7912),s=n(37153),a=n(61644),l=n(21812),c=n(80036),d=n(29151),u=n(97006),h=n(78671),p=n(83871),f=n(89986),m=n(86419),g=n(25217),y=n(11747);let v=["search","filter"];(0,s.z)("select-search",l.O0),(0,s.z)("select-filter",l.aK),(0,s.z)("select-adjust",l.DI);let b=(0,g.defineComponent)({name:"SearchInput",components:{vButton:a.Z,vIcon:p.Z,vPortal:f.Z},directives:{clickoutside:u.ZP},extends:m.Z,mixins:[r.ZP],props:{mode:{type:String,default:"search",validator:e=>v.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]},searchTooltipOptions(){return!("left"!==this.advanceIconPos||!this.advanced)&&this._i18n("uicommon","advanced_search")},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(){((0,c.isDefined)(this.align)||(0,c.isDefined)(this.dropdownOffset))&&(0,d.D8)("The prop 'align', 'dropdownOffset' is deprecated, please use 'alignment' instead.");let e=this.getPopupConfigValue("alignment");return(0,c.isString)(this.alignment)&&(e={pos:e}),(0,h.Z)(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&&!(0,i._Y)(this,"suffix"),"has-right-advanced-icon":"right"===this.advanceIconPos}},advanceIconPos(){return(0,c.isBoolean)(this.advanced)?this.advanced?"left":"none":this.advanced?.icon??"left"},innerResetBtn(){if(this.resetBtn){let e={text:this._i18n("common","reset"),clickHandler:c.noop};return(0,c.isBoolean)(this.resetBtn)?e:(0,h.Z)(e,this.resetBtn)}return null},innerSearchBtn(){if(this.searchBtn){let e={text:this._i18n("common","search_now_placeholder"),clickHandler:c.noop};return(0,c.isBoolean)(this.searchBtn)?e:(0,h.Z)(e,this.searchBtn)}return null},resetBtnText(){return this.innerResetBtn.text},searchBtnText(){return this.innerSearchBtn.text},hasSearchBtn(){return!!this.searchBtn},hasResetBtn(){return!!this.resetBtn},hasBtn(){return this.hasResetBtn&&this.hasSearchBtn}},methods:{onClickSearchIcon(e){this.advanced&&this.advanceIconPos===e?((0,o.Qy)(this,"click-advanced-icon"),this.$refs[`search-icon-${e}`]?.$el._svc_tooltip_e_hide_cb?.(),this.toggleAdvancedPanel()):(0,o.Qy)(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()}}}),w=["id","type","placeholder","disabled","value","enterkeyhint","autocomplete","readonly","maxlength"],C={key:0,class:"v-search-input-advanced-footbar"};var S=(0,y.Z)(b,[["render",function(e,t,n,i,o,r){let s=(0,g.resolveComponent)("v-icon"),a=(0,g.resolveComponent)("v-button"),l=(0,g.resolveComponent)("v-portal"),c=(0,g.resolveDirective)("tooltip"),d=(0,g.resolveDirective)("clickoutside"),u=(0,g.resolveDirective)("syno-id");return(0,g.withDirectives)(((0,g.openBlock)(),(0,g.createElementBlock)("div",{class:(0,g.normalizeClass)(e._wrapperCls)},[(0,g.createElementVNode)("div",{class:(0,g.normalizeClass)(["input-container",e.inputContainerCls]),onClick:t[10]||(t[10]=function(){return e.closeAdvancedPanel&&e.closeAdvancedPanel(...arguments)})},[(0,g.createElementVNode)("div",{class:(0,g.normalizeClass)(e.inputWrapperCls)},[(0,g.withDirectives)((0,g.createVNode)(s,{ref:"search-icon-left",class:(0,g.normalizeClass)(e.searchIconCls),name:e.searchIconName,disabled:e.disabled,"svg-icon-set":"set01",sprite:!0===e.advanced,onClick:t[0]||(t[0]=(0,g.withModifiers)(t=>e.onClickSearchIcon("left"),["stop"]))},null,8,["class","name","disabled","sprite"]),[[c,e.searchTooltipOptions]]),e.hasPrefix?((0,g.openBlock)(),(0,g.createElementBlock)("span",{key:0,class:(0,g.normalizeClass)(["prefix-wrapper",e.suffixWrapperCls])},[(0,g.renderSlot)(e.$slots,"prefix")],2)):(0,g.createCommentVNode)("",!0),(0,g.createElementVNode)("input",(0,g.mergeProps)({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,w),e.hasSuffix?((0,g.openBlock)(),(0,g.createElementBlock)("span",{key:1,class:(0,g.normalizeClass)(["suffix-wrapper",e.suffixWrapperCls])},[e.showClear?(0,g.withDirectives)(((0,g.openBlock)(),(0,g.createBlock)(s,{key:0,name:"input-clear",class:"clear-icon","svg-icon-set":"set25",onClick:(0,g.withModifiers)(e.onClear,["stop"])},null,8,["onClick"])),[[c,e._i18n("common","clean")]]):(0,g.createCommentVNode)("",!0),(0,g.renderSlot)(e.$slots,"suffix-icons"),(0,g.renderSlot)(e.$slots,"suffix")],2)):(0,g.createCommentVNode)("",!0),"right"===e.advanceIconPos?(0,g.withDirectives)(((0,g.openBlock)(),(0,g.createBlock)(s,{key:2,ref:"search-icon-right",name:"select-adjust","svg-icon-set":"set13",disabled:e.disabled,class:(0,g.normalizeClass)(e.rightAdvSearchIconCls),onClick:t[9]||(t[9]=(0,g.withModifiers)(t=>e.onClickSearchIcon("right"),["stop"]))},null,8,["disabled","class"])),[[c,e._i18n("uicommon","advanced_search")]]):(0,g.createCommentVNode)("",!0),e.showAdvanced&&e.advanced?((0,g.openBlock)(),(0,g.createBlock)(l,(0,g.mergeProps)({key:"advanced","mount-to":e.getContainerEl(),anchor:e.$el,alignment:e.innerAlignment,"acquire-z-index":""},e.portalProps),{default:(0,g.withCtx)(()=>[(0,g.withDirectives)(((0,g.openBlock)(),(0,g.createElementBlock)("div",{class:"v-search-input-advanced",style:(0,g.normalizeStyle)(e.advancedStyle)},[(0,g.renderSlot)(e.$slots,"advanced-panel",{display:e.currentValue}),(0,g.renderSlot)(e.$slots,"advanced-panel-footer",{},()=>[e.hasBtn?((0,g.openBlock)(),(0,g.createElementBlock)("div",C,[e.hasResetBtn?((0,g.openBlock)(),(0,g.createBlock)(a,{key:0,"syno-id":`${e.synoId}-reset-btn`,type:"footbar",suffix:"cancel",onClick:e.onResetBtnClick},{default:(0,g.withCtx)(()=>[(0,g.createTextVNode)((0,g.toDisplayString)(e.resetBtnText),1)]),_:1},8,["syno-id","onClick"])):(0,g.createCommentVNode)("",!0),e.hasSearchBtn?((0,g.openBlock)(),(0,g.createBlock)(a,{key:1,"syno-id":`${e.synoId}-search-btn`,type:"footbar",suffix:"main",onClick:e.onSearchBtnClick},{default:(0,g.withCtx)(()=>[(0,g.createTextVNode)((0,g.toDisplayString)(e.searchBtnText),1)]),_:1},8,["syno-id","onClick"])):(0,g.createCommentVNode)("",!0)])):(0,g.createCommentVNode)("",!0)])],4)),[[d,e.clickOutside,e.getExtraElements,{children:!0}]])]),_:3},16,["mount-to","anchor","alignment"])):(0,g.createCommentVNode)("",!0)],2)],2)],2)),[[u]])}]])},6144:function(e,t,n){"use strict";n.d(t,{W:function(){return r}});var i=n(73021),o=n(11575);let r=(0,n(53300).e)({components:[i.Z,o.Z]})},73021:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(30272),o=n(92128),r=n(69092),s=n(90946),a=n(61036),l=n(25217),c=n(58954),d=(0,l.defineComponent)({name:"SegmentControl",components:{vTrapFocus:a.Z},mixins:[(0,i.J)("segment-control")],props:{[o.yz.value()]:{type:(0,c.C)(String),default:""}},data:()=>({activeItem:null}),methods:{changeEvent(e,t){(0,r.Qy)(this,(0,o.ef)(),e),(0,r.Qy)(this,"change",e),this.activeItem=t},onArrowKeydown(e){if(!this.activeItem)return;let t=[...this.$el.querySelectorAll(".v-segment-item")],n=t.findIndex(e=>this.activeItem?.$el?.contains(e));-1!==n&&(n=(n+((0,s.Tx)(e)||(0,s.F$)(e)?-1:(0,s.BU)(e)||(0,s.oQ)(e)?1:0)+t.length)%t.length,t[n].focus(),t[n].click())}}}),u=(0,n(11747).Z)(d,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-trap-focus");return(0,l.openBlock)(),(0,l.createBlock)(s,{class:"v-segment-control",onKeydown:[(0,l.withKeys)((0,l.withModifiers)(e.onArrowKeydown,["prevent"]),["down","native"]),(0,l.withKeys)((0,l.withModifiers)(e.onArrowKeydown,["prevent"]),["up","native"]),(0,l.withKeys)((0,l.withModifiers)(e.onArrowKeydown,["prevent"]),["left","native"]),(0,l.withKeys)((0,l.withModifiers)(e.onArrowKeydown,["prevent"]),["right","native"])]},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,"default")]),_:3},8,["onKeydown"])}]])},11575:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(82442),o=n(88358),r=n(30272),s=n(92128),a=n(25217),l=n(58954),c=(0,a.defineComponent)({name:"SegmentItem",mixins:[(0,r.f)("segment-control")],props:{disabled:{type:(0,l.C)(Boolean),default:!1},value:{type:(0,l.C)(String),required:!0},dot:{type:(0,l.C)(Boolean),default:!1},tooltip:{type:(0,l.C)([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(){let e=this["segment-control"].instance;this.watchers=[e.$watch((0,s.GV)(),e=>{this.active=e===this.value},{immediate:!0})]},[o.mT.beforeUnmount](){for(let e of this.watchers)e?.()},methods:{hasDefaultSlot(){return(0,i._Y)(this,"default")},hasSuffix(){return(0,i._Y)(this,"suffix")||this.dot},onActive(){this.disabled||this["segment-control"].instance?.changeEvent(this.value,this)}}}),d=n(11747);let u=["aria-disabled"],h={key:1,class:"suffix"};var p=(0,d.Z)(c,[["render",function(e,t,n,i,o,r){let s=(0,a.resolveDirective)("tooltip");return(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("div",{class:(0,a.normalizeClass)(["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)})},[(0,a.renderSlot)(e.$slots,"icon",{disabled:e.disabled}),e.hasDefaultSlot()?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,class:(0,a.normalizeClass)(["v-segment-item__content",e.contentCls])},[(0,a.renderSlot)(e.$slots,"default")],2)):(0,a.createCommentVNode)("",!0),e.hasSuffix()?((0,a.openBlock)(),(0,a.createElementBlock)("div",h,[e.dot?((0,a.openBlock)(),(0,a.createElementBlock)("i",{key:0,class:(0,a.normalizeClass)(["v-segment-item__dot",e.dotCls])},null,2)):(0,a.createCommentVNode)("",!0),(0,a.renderSlot)(e.$slots,"suffix")])):(0,a.createCommentVNode)("",!0)],42,u)),[[s,e.tooltip]])}]])},25311:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}}),n(50401),n(91234),n(56165),n(15773),n(15065);var i=n(88358),o=n(80036),r=n(82442),s=n(84593),a=n(8725),l=n(7912),c=n(74547),d=n(97006),u=n(28385),h=n(66929),p=n(78671),f=n(22902),m=n(39192),g=n(54878),y=n(37153),v=n(30272),b=n(21812),w=n(92128),C=n(69092),S=n(71510),k=n(34976),x=n(29151),B=n(25217),T=n(58954);(0,y.z)("select-search",b.O0),(0,y.z)("select-filter",b.aK);let E="panel";var I=(0,B.defineComponent)({name:"BaseSelect",directives:{clickoutside:d.ZP,tooltip:c.Z},components:{vSelectInput:u.Z,vSelectDropdown:h.Z},mixins:[s.Z,a.Z,l.ZP,y.Z,(0,v.J)("trigger-action",[{expose:"closeDropdown",internal:"closeAdvancedPanel"}])],props:{[w.yz.value()]:{type:(0,T.C)([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:(0,T.C)(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:(0,T.C)(Function),default:null},shouldMenuClose:{type:(0,T.C)(Function),default:()=>!0},options:{type:(0,T.C)([Object,Array]),default:()=>[]},groupOptions:{type:(0,T.C)(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:(0,T.C)([Object,String,Boolean]),default:()=>({disabled:!0})},useOptionSlot:{type:[Boolean,String],default:void 0},triggerQueryAction:{type:(0,T.C)(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:(0,T.C)(Object),default:()=>({})},displayMode:{type:(0,T.C)(String),default:"none",validator:e=>["label","text","none"].includes(e)},advanced:{type:(0,T.C)([Boolean,Object]),default:!1},searchIconActive:{type:Boolean,default:!1},defaultOption:{type:(0,T.C)([Function,String]),default:k.f.BASE},enterKey:{type:(0,T.C)(String),default:void 0,validator:e=>!e||Object.values(g.a).includes(e)},customIcon:{type:(0,T.C)(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:(0,S.V)(),activeDescendant:null,isFocused:!1,dropdownStyle:{},isSearching:!1,show:!1,showAdvanced:!1,dropItemNodeList:[],display:"",currentQueryAction:"all",visibleOptions:[],searchOptions:[],defaultChildOptionIndent:!0}),computed:{innerLoading(){return(0,o.isDefined)(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(0,o.isObject)(this.advanced)?this.advanced?.type??E:E},hasAdvancedPanel(){return this.innerAdvancedType===E},hasAdvancedMenu(){return"menu"===this.innerAdvancedType},innerAlignment(){((0,o.isDefined)(this.align)||(0,o.isDefined)(this.dropdownOffset))&&(0,x.D8)("The prop 'align', 'dropdownOffset' is deprecated, please use 'alignment' instead.");let e=(0,o.isDefined)(this.align)?this.align:this.getPopupConfigValue("alignment");return(0,o.isString)(this.alignment)&&(e={pos:e}),(0,p.Z)(e,{offset:this.dropdownOffset})},wrapStyles(){return{"--width":(0,o.isNumberLike)(this.width)?`${this.width}px`:this.width,"--height":(0,o.isNumberLike)(this.height)?`${this.height}px`:this.height}},mergedDisplayTextFormat(){return(0,p.Z)({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(0,o.isDefined)(this.editable)?this.editable:!(!this.search&&!this.filter)},_hideTrigger(){return(0,o.isDefined)(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(0,o.isBoolean)(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]===(0,w.eQ)(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(0,o.isDefined)(this.enterKey)?this.enterKey:this.isSearchMode?g.a.Search:g.a.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),(0,C.Qy)(this,"display-changed",e)},show:{async handler(e){(0,C.Qy)(this,e?"dropdown-shown":"dropdown-hidden"),await this.repositionMenu(),await this.$nextTick(),this.$refs.dropdown&&(0,C.Qy)(this.$refs.dropdown,"shown")},immediate:!0},isActive:{handler(e){(0,C.Qy)(this,"is-active",e)}}},created(){this._searchingDebounce=(0,f.Z)(this.searching,250)},mounted(){(0,m.k)(this.$el,this.onInputWidthChanged,this),this.onInputWidthChanged()},[i.mT.beforeUnmount](){(0,m.S)(this.$el,this.onInputWidthChanged)},methods:{onInputWidthChanged(){let{width:e}=this.$el.getBoundingClientRect(),t=this.dropdownWidth??e;t=(0,o.isString)(t)?t:`${t}px`,this.dropdownStyle={width:t}},hasPrefix(){return"none"!==this.innerCustomIcon||this.hasPrefixSlot()},hasPrefixSlot(){return(0,r._Y)(this,"icon")},hasSuffix(){return(0,r._Y)(this,"input-right")},transformGroupOptions(e){if((0,o.isObject)(e)){let t=[];for(let n in e)(0,o.hasOwn)(e,n)&&(t.push({type:"group-label",[this.valueField]:n,[this.displayField]:n,...this.groupOptions?.[n]??{}}),t=t.concat(e[n].options.map(e=>"-"===e?e:{...e,indent:this.groupOptions?.[n]?.indent??this.defaultChildOptionIndent,inGroup:n})));return t}return e},setLoading(e){(0,x.D8)("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((0,o.isString)(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),n=0,i=this.currentOptions.filter(i=>{if("-"===i)return!0;if(i.hide)return!1;let r=!1;if(!this.search&&this.allowEdit&&this.display&&"group-label"!==i.type||(r=!0),"keyword"===e){let e=i[this.displayField],t=this.display;this.caseSensitive||(e=e.toUpperCase(),t=t.toUpperCase()),e.includes(t)&&(r=!0)}else"all"===e&&(r=!0);return(0,o.isFunction)(i.filter)&&(r=i.filter(this.display,i,n,{query:e})),r&&(n++,i.inGroup&&(t[i.inGroup]=!0)),r});return i=i.filter(e=>"-"===e||"group-label"!==e.type||!!t[e[this.valueField]]),this.filterLegalDividerOption(i)},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,n=!1,i=[];for(let o=0;o<e.length;o++){let r=e[o];"-"!==r?(n&&t&&i.push(t),n=!0,i.push(r),t=null):t=r}return i},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;let 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,(0,C.Qy)(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(){(0,C.Qy)(this,"click-icon"),this.advanced&&this.toggleAdvancedPanel()},onClickAdvancedIcon(){(0,C.Qy)(this,"click-advanced-icon"),this.toggleAdvancedPanel()},onEnter(){if(this.$refs.dropdown){let 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="";let e=this.findOptions(this.display);(0,C.Qy)(this,"clear"),(0,C.Qy)(this,(0,w.ef)(),e&&e[this.valueField])},canCloseOnSelect(e){return"-"!==e&&(0,o.isDefined)(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;let t=this.visibleOptions[e];(0,C.Qy)(this,"internal-select",e),(0,C.Qy)(this,"select",t),this.canCloseOnSelect(t)&&(this.closeDropdown(),(0,B.nextTick)().then(()=>this.$refs.input.focus()))},onScrollbarVisible(){this.repositionMenu()},onHoverIndexChanged(){this.activeDescendant=this.$refs.dropdown?.getActiveOptionAria()},inDataTableBehavior(){this.$el.addEventListener("mousedown",e=>{e.stopPropagation(),(0,d.rd)(e)}),this.$el.addEventListener("keydown",e=>e.stopPropagation())},setDisplay(e){this.display=e},onFocus(e){this.isFocused=!0,(0,C.Qy)(this,"focus",e)},onBlur(e){this.isFocused=!1,(0,C.Qy)(this,"blur",e)}}})},34976:function(e,t,n){"use strict";n.d(t,{f:function(){return i}});let i={TICK:"tick",CHECK:"check",BASE:"base"}},2207:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}}),n(50401),n(15773);var i=n(25217),o=n(14198),r=n(46130),s=(0,n(11747).Z)((0,i.defineComponent)({name:"DateSelect",components:{vSingleSelect:o.Z},props:{modelValue:{type:String,default:void 0},options:{type:Array,default:()=>[]}},emits:["date-picker-value-change","update:modelValue"],data:()=>({innerOptions:void 0}),computed:{value:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},watch:{options:{deep:!0,handler(e){this.innerOptions=e.map(e=>({...e,useComponent:e.datePicker?r.Z:void 0,onDatePickerValueChange:e.datePicker?this.onDatePickerValueChange:void 0}))},immediate:!0}},methods:{onDatePickerValueChange(e,t){this.$emit("date-picker-value-change",e,t),this.value=e,this.$refs.select?.closeDropdown?.()}}}),[["render",function(e,t,n,o,r,s){let a=(0,i.resolveComponent)("v-single-select");return(0,i.openBlock)(),(0,i.createBlock)(a,{ref:"select",modelValue:e.value,"onUpdate:modelValue":t[0]||(t[0]=t=>e.value=t),options:e.innerOptions},null,8,["modelValue","options"])}]])},66929:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}}),n(50401),n(15773);var i=n(68314),o=n(54448),r=n(5945),s=n(50412),a=n(16554),l=n(28352),c=n(80036),d=n(30782),u=n(88400),h=n(39546),p=n(23908),f=n(69092),m=n(82442),g=n(84593),y=n(34976),v=n(29151),b=n(25217),w=n(11747);let C=(0,b.defineComponent)({name:"SelectDropdown",components:{vBaseOption:i.Z,vDividerOption:s.Z,SpinIcon:h.Z,vGroupOption:l.Z,vNoMatchOption:a.Z},mixins:[p.Z,g.Z],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:y.f.BASE}},emits:["blur","hover-index","select","toggle","shown"],data(){let e=0;return(0,c.isArray)(this.value)||-1===(e=this.findActiveIndexByValue(this.value))&&(e=0),{activeIndex:e,visible:!1}},computed:{innerNotFoundText(){return this.notFoundText??this._i18n("search","no_search_result")},scrollbar(){return this.virtualScrollbar?u.Z:d.Z},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(0,m._Y)(this,"top-actions")},hasBottomActionsSlot(){return(0,m._Y)(this,"bottom-actions")},listStyles(){return{maxHeight:(0,c.isNumber)(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(()=>{(0,f.Qy)(this,"hover-index",e)})},immediate:!0}},mounted(){(0,f.Zn)(this,"shown",this.onShown)},methods:{onShown(){this.virtualScrollbar||(this.$refs?.scrollbar?.ensureVisible(this.$el),this.moveActiveIndex("none"))},onScrollbarVisible(){(0,f.Qy)(this,"scrollbar-visible"),this.$nextTick(()=>{this.visible=!0,this.moveActiveIndex("none")})},getVisibleOptions(e,t){let n=this.options.map((e,t)=>({index:t,option:e}));return this.virtualScrollbar&&(n=n.slice(e,t+1)),n},closeDropdown(){(0,f.Qy)(this,"close-dropdown")},clearSelection(){this.activeIndex=-1},useComponent(e){if((0,c.isDefined)(e.useComponent))return(0,c.isFunction)(e.useComponent)?e.useComponent():e.useComponent;if((0,c.isString)(this.defaultOption)){if(this.defaultOption===y.f.BASE)return i.Z;if(this.defaultOption===y.f.TICK)return o.Z;if(this.defaultOption===y.f.CHECK)return r.Z}return this.defaultOption?.()},getSlot(e){return e.useSlot||this.useOptionSlot},useSlot(e){return(0,c.isDefined)(e.useSlot)?!!e.useSlot:!!this.useOptionSlot},getOptionClass(e){return e.child&&(0,v.Rn)("option.child","option.indent",this),{[e.class]:!!e.class,indent:e.child||e.indent}},isOptionSelectable(e){let t=this.options[e];return!!t&&"-"!==t&&"group-label"!==t.type&&(!(0,c.isDefined)(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,n=this.options.length;e<n;e++)if(this.isOptionSelectable(e))return this.setActiveIndex(e)}else{for(let e=t,n=this.options.length;e<n;e++)if(this.isOptionSelectable(e))return this.setActiveIndex(e);this.clearSelection()}return!1},async ensureActiveIndexVisible(){let e=this.activeIndex,t=this.options[e];this.virtualScrollbar&&(this.$refs.scrollbar.scrollToIndex(e),await this.$nextTick());let n=this.$refs.dropdownMenu?.querySelector("#"+this.getOptionId(t));n&&this.$refs.scrollbar&&this.$refs.scrollbar.ensureVisible(n)},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(){let 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&&(0,f.Qy)(this,"select",t,e):this.clearSelection()},onToggleOption(e,t){-1!==t?!1!==e.selectable&&(0,f.Qy)(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(0,c.slugify)(`option-${e[this.valueField]}-${this.uuid}`)}}}),S=["syno-id"],k=["aria-label"],x={key:0,class:"v-select2-dropdown-loading-text",role:"menuitem","aria-selected":"false"};var B=(0,w.Z)(C,[["render",function(e,t,n,i,o,r){let s=(0,b.resolveComponent)("spin-icon"),a=(0,b.resolveComponent)("v-no-match-option"),l=(0,b.resolveComponent)("v-divider-option"),c=(0,b.resolveComponent)("v-group-option");return(0,b.openBlock)(),(0,b.createElementBlock)("div",{ref:"dropdown",tabindex:-1,class:"v-select2-dropdown-menu-wrapper",style:(0,b.normalizeStyle)(e.dropdownMenuWrapperStyle),onBlur:t[2]||(t[2]=t=>e.$emit("blur",t))},[(0,b.renderSlot)(e.$slots,"dropdown",{options:e.options},()=>[(0,b.createElementVNode)("div",{"syno-id":`${e.synoId}-dropdown-menu`,class:(0,b.normalizeClass)(e.dropdownCls)},[e.hasTopActionsSlot?((0,b.openBlock)(),(0,b.createElementBlock)("div",{key:0,onMouseenter:t[0]||(t[0]=t=>e.clearSelection())},[(0,b.renderSlot)(e.$slots,"top-actions")],32)):(0,b.createCommentVNode)("",!0),((0,b.openBlock)(),(0,b.createBlock)((0,b.resolveDynamicComponent)(e.scrollbar),{ref:"scrollbar",virtual:e.virtualScrollbar,"item-size":e.virtualItemHeight,total:e.optionsNum,"buffer-size":e.virtualBufferSize,onVisible:e.onScrollbarVisible},{default:(0,b.withCtx)(t=>{let{start:n,end:i}=t;return[(0,b.createElementVNode)("ul",{ref:"dropdownMenu",class:"v-select2-dropdown-menu",role:"listbox","aria-label":e.value,style:(0,b.normalizeStyle)(e.listStyles)},[(0,b.renderSlot)(e.$slots,"before-options"),e.loading?((0,b.openBlock)(),(0,b.createElementBlock)("li",x,[(0,b.createVNode)(s),(0,b.createTextVNode)(" "+(0,b.toDisplayString)(e.loadingText),1)])):((0,b.openBlock)(),(0,b.createElementBlock)(b.Fragment,{key:1},[!e.showNotFound||e.options&&0!==e.options.length?(0,b.createCommentVNode)("",!0):(0,b.renderSlot)(e.$slots,"notfound-item",{key:0},()=>[((0,b.openBlock)(),(0,b.createBlock)(a,{key:"option-no-match",display:e.innerNotFoundText},null,8,["display"]))]),((0,b.openBlock)(!0),(0,b.createElementBlock)(b.Fragment,null,(0,b.renderList)(e.getVisibleOptions(n,i),t=>{let{option:n,index:i}=t;return(0,b.openBlock)(),(0,b.createElementBlock)(b.Fragment,null,[e.useSlot(n)?(0,b.renderSlot)(e.$slots,e.getSlot(n),{key:0,id:e.getOptionId(n),role:"option",option:n,synoId:`${e.synoId}-option-${n[e.valueField]}`,display:n[e.displayField],value:n[e.valueField],disabled:n.disabled,activated:i===e.activeIndex,customClass:e.getOptionClass(n),isSelected:e.isOptionSelected(n),selectable:e.isOptionSelectable(i),tooltip:e.getOptionTooltip(n),active:()=>e.onClickOption(n,i),toggle:()=>e.onToggleOption(n,i),hover:()=>e.onHoverOption(i)}):"-"===n?((0,b.openBlock)(),(0,b.createBlock)(l,{key:`option-divider-${i}`})):"group-label"===n.type?((0,b.openBlock)(),(0,b.createBlock)(c,{key:n[e.displayField],display:n[e.displayField]},null,8,["display"])):((0,b.openBlock)(),(0,b.createBlock)((0,b.resolveDynamicComponent)(e.useComponent(n)),{id:e.getOptionId(n),ref_for:!0,ref:`option-${i}`,key:n[e.valueField],option:n,"syno-id":e.synoId,value:n[e.valueField],display:n[e.displayField],disabled:n.disabled,activated:i===e.activeIndex,"custom-class":e.getOptionClass(n),selectable:e.isOptionSelectable(i),"is-selected":e.isOptionSelected(n),tooltip:e.getOptionTooltip(n),active:()=>e.onClickOption(n,i),toggle:()=>e.onToggleOption(n,i),hover:()=>e.onHoverOption(i)},{"tooltip-portal":(0,b.withCtx)(t=>{let{option:n}=t;return[(0,b.renderSlot)(e.$slots,"tooltip-portal",{option:n})]}),"inner-option":(0,b.withCtx)(t=>{let{option:n}=t;return[(0,b.renderSlot)(e.$slots,"inner-option",{option:n})]}),suffix:(0,b.withCtx)(t=>{let{option:n}=t;return[(0,b.renderSlot)(e.$slots,"suffix",{option:n})]}),_:2},1032,["id","option","syno-id","value","display","disabled","activated","custom-class","selectable","is-selected","tooltip","active","toggle","hover"]))],64)}),256))],64)),(0,b.renderSlot)(e.$slots,"after-options")],12,k)]}),_:3},40,["virtual","item-size","total","buffer-size","onVisible"])),e.hasBottomActionsSlot?((0,b.openBlock)(),(0,b.createElementBlock)("div",{key:1,onMouseenter:t[1]||(t[1]=t=>e.clearSelection())},[(0,b.renderSlot)(e.$slots,"bottom-actions")],32)):(0,b.createCommentVNode)("",!0)],10,S)])],36)}]])},28385:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n(80036),o=n(74547),r=n(90946),s=n(37153),a=n(21812),l=n(83871),c=n(69092),d=n(92128),u=n(25217),h=n(11747);(0,s.z)("select-adjust",a.DI),(0,s.z)("select-dropdown",a.Zt),(0,s.z)("select-clear",a.xo);let p=(0,u.defineComponent)({name:"SelectInput",components:{vIcon:l.Z},directives:{tooltip:o.Z},mixins:[s.Z],props:{clearIconCls:{type:Array,default:()=>[]},searchIconCls:{type:Array,default:()=>[]},allowClear:{type:Boolean,default:!1},allowEdit:{type:Boolean,default:!1},[d.yz.value()]:{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:i.noop},toggleDropdown:{type:Function,default:i.noop},closeDropdown:{type:Function,default:i.noop},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:n}=this.displayTextFormat,o=this.selectedOption;return o?((0,i.isDefined)(n)||(n=this.displayField),o.inGroup?e.replace("{group}",this.groupOptions[o.inGroup][n]||"").replace("{option}",o[n]||""):t.replace("{option}",o[n]||"")):""},isTextDisplayMode(){return"text"===this.displayMode},isHtmlDisplayMode(){return"html"===this.displayMode},isLabelDisplayMode(){return"label"===this.displayMode},isNoneDisplayMode(){return"none"===this.displayMode},innerVal(){return(0,d.eQ)(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(),(0,c.Qy)(this,(0,d.ef)(),e.target.value)},onKeyDown(e){this.advanced||((0,r.tH)(e)?((0,c.Qy)(this,"key-enter"),e.preventDefault(),e.stopPropagation()):(0,r.j2)(e)?((0,c.Qy)(this,"key-esc"),this.dropdownShown&&(this.closeDropdown(),e.stopPropagation())):((0,r.Tx)(e)?((0,c.Qy)(this,"arrow-up"),e.preventDefault()):(0,r.BU)(e)&&((0,c.Qy)(this,"arrow-down"),e.preventDefault()),e.stopPropagation()),(0,c.Qy)(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,(0,c.Qy)(this,"focus",e)},onBlur(e){this.focused=!1,(0,c.Qy)(this,"blur",e)},onClear(e){(0,c.Qy)(this,"clear"),this.focus(),e.preventDefault()}}}),f={class:"input-wrapper"},m={class:"v-select-ul-wrap"},g=["data-placeholder"],y=["innerHTML"],v=["value","enterkeyhint","placeholder"];var b=(0,h.Z)(p,[["render",function(e,t,n,i,o,r){let s=(0,u.resolveComponent)("v-icon"),a=(0,u.resolveDirective)("tooltip");return(0,u.openBlock)(),(0,u.createElementBlock)("div",f,[e.hasPrefix?((0,u.openBlock)(),(0,u.createElementBlock)("span",{key:0,class:(0,u.normalizeClass)(["prefix-wrapper",e.prefixCls])},[(0,u.renderSlot)(e.$slots,"prefix")],2)):(0,u.createCommentVNode)("",!0),(0,u.createElementVNode)("ul",m,[e.isTextDisplayMode||e.isHtmlDisplayMode?(0,u.withDirectives)(((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:0,ref:"input",class:(0,u.normalizeClass)([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?((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:0,innerHTML:e.showPlaceholder?e.placeholder:e.display},null,8,y)):e.isTextDisplayMode?((0,u.openBlock)(),(0,u.createElementBlock)(u.Fragment,{key:1},[(0,u.createTextVNode)((0,u.toDisplayString)(e.showPlaceholder?e.placeholder:e.display),1)],64)):(0,u.createCommentVNode)("",!0)],42,g)),[[a,{overflowOnly:!0,content:e.display}]]):e.isNoneDisplayMode?(0,u.withDirectives)(((0,u.openBlock)(),(0,u.createElementBlock)("input",(0,u.mergeProps)({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]=(0,u.withModifiers)(function(){return e.onClick&&e.onClick(...arguments)},["stop"]))}),null,16,v)),[[a,e.inputTooltip]]):(0,u.createCommentVNode)("",!0)]),e.innerHasSuffix?((0,u.openBlock)(),(0,u.createElementBlock)("span",{key:1,class:(0,u.normalizeClass)(["suffix-wrapper",e.suffixCls])},[e.hasClearIcon?((0,u.openBlock)(),(0,u.createBlock)(s,{key:0,name:"select-clear",class:(0,u.normalizeClass)(e.clearIconCls),"svg-icon-set":"set25",onMousedown:(0,u.withModifiers)(e.onClear,["stop"])},null,8,["class","onMousedown"])):(0,u.createCommentVNode)("",!0),e.hasRightAdvIcon?((0,u.openBlock)(),(0,u.createBlock)(s,{key:1,name:"select-adjust",class:(0,u.normalizeClass)(e.searchIconCls),"svg-icon-set":"set13",disabled:e.disabled,onClick:t[8]||(t[8]=t=>e.$emit("click-advanced-icon"))},null,8,["class","disabled"])):(0,u.createCommentVNode)("",!0),e.hasTriggerIcon?((0,u.openBlock)(),(0,u.createBlock)(s,{key:2,name:"select-dropdown",class:"v-select2-dropdown-icon","svg-icon-set":"set12"})):(0,u.createCommentVNode)("",!0),(0,u.renderSlot)(e.$slots,"suffix")],2)):(0,u.createCommentVNode)("",!0)])}]])},24916:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(91234),n(56165),n(15773),n(80438);var i=n(28385),o=n(92128),r=n(30782),s=n(63917),a=n(80036),l=n(29151),c=n(90946),d=n(52952),u=n(37153),h=n(21812),p=n(69092),f=n(83871),m=n(25217),g=n(11747);(0,u.z)("multiple-select-label-remove",h.uT);let y=(0,m.defineComponent)({name:"MultipleSelectInput",components:{vScrollbar:r.Z,vIcon:f.Z},extends:i.Z,mixins:[(0,d.eu)({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(0,a.isDefined)(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:n,key:i}=this.displayTextFormat;return(0,a.isDefined)(i)||(i=this.displayField),this.selectedOptions.map(n=>n.inGroup?e.replace("{group}",this.groupOptions[n.inGroup][i]).replace("{option}",n[i]):t.replace("{option}",n[i])).join(n)},containerCls(){return[{"hide-trigger":this.hideTrigger},"v-multiselect-ct"]},innerValue(){return(0,o.eQ)(this)}},watch:{isEditing(e){(0,p.Qy)(this,"is-editing",e)},async [o.yz.value()](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,(0,p.Qy)(this,(0,o.ef)(),"")},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&&(0,a.isDefined)(e.irremovable)?((0,l.Rn)("irremovable","disabled",this),e&&!0===e.irremovable):e&&!0===e.disabled)},hasOptionIcon:e=>e&&!!e.labelIcon,getOptionIcon:e=>(0,a.isObject)(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){let t=this.selectedOptions;(0,a.isArray)(e)||(e=[e]);let n=t.filter(t=>!!this.isDisabled(t)||!e.includes(t[this.valueField]));(0,p.Qy)(this,"item-removed",e,n),(0,p.Qy)(this,"reposition-menu")},onKeyDownOnInput(e){let t=e.target;if((0,a.isDefined)(t.value)){let n=t.value?.length,i=this.selectedOptions;this.onBackspaceOnInput(e),(0,c.mb)(e)&&0===t.selectionStart&&i.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())):(0,c.n2)(e)&&t.selectionStart===n&&i.length>0&&(this.isEditing?(this.lastSelectIndex=this.selectedOptions.findIndex(e=>e[this.valueField]===this.editingOption),this.$refs["label-wrapper"]?.focus(),this.selectNextLabel()):this.resetSelectIndex()),(0,c.tH)(e)&&(0,p.Qy)(this,"commit",{autoHighlightLabel:this.isEditing,selectFromDropdown:!0})}i.Z.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),(0,p.Qy)(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(0,m.nextTick)(()=>{this.selectPrevLabel()});let t=this.selectedOptions;t.length>0&&this.removeOption(t[t.length-1])},onEnter(e){(0,c.tH)(e)&&1===this.selectedLabels.size&&this.editLabel(Array.from(this.selectedLabels)[0])},getOptionKey(e){return e[this.valueField]},onResizeLabelEditingInput(){let e=this.$refs["editing-label-input"]?.[0];if(e){let t=(s.measureText(e)?.width??0)+5;(0,s.css)(e,"width",`${t}px`),(0,s.css)(e,"flex","")}},onResizeMultipleInput(){let e=this.getInputEl();if(!this.isTextDisplayMode&&e){if(0===this.selectedOptions.length)(0,s.css)(e,"width",""),(0,s.css)(e,"flex","");else if(0===e.value.length)(0,s.css)(e,"width","100%"),(0,s.css)(e,"flex","1 1 0");else{let t=(s.measureText(e)?.width??0)+5;(0,s.css)(e,"width",`${t}px`),(0,s.css)(e,"flex","")}}},onLabelWrapperKeyDown(e){this.onBackspace(e),this.onDelete(e),this.onEnter(e),this.onSelectLabelByKeyboard(e)},onSelectLabelByKeyboard(e){if(!(0,c.mb)(e)&&!(0,c.n2)(e))return;let t=this.selectedOptions,n=(0,c.mb)(e)?-1:1,i=(0,c.mb)(e)?"selectPrevLabel":"selectNextLabel";if(-1===this.lastSelectIndex&&t.length>0)this.selectLabel(t[t.length-1],t.length-1);else if((0,c.cY)(e)){let e=(0,a.clampValue)(this.lastSelectRangeIndex+n,0,t.length-1);this.selectRange(this.lastSelectIndex,e)}else this[i]()},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]:{},t=this.selectedOptions;for(let n=(-1!==this.lastSelectIndex?this.lastSelectIndex:t.length)-1;n>=0;n--)if(e?this.addSelectedLabel(t[n]):this.selectLabel(t[n],n))return this.selectedLabels=new Set(this.selectedLabels),this.lastSelectIndex=this.lastSelectRangeIndex=n,void this.$nextTick(()=>this.ensureLabelVisible(n))},selectNextLabel(){let{addSelect:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.selectedOptions;for(let n=this.lastSelectIndex+1;n<t.length;n++)if(e?this.addSelectedLabel(t[n]):this.selectLabel(t[n],n))return this.selectedLabels=new Set(this.selectedLabels),this.lastSelectIndex=this.lastSelectRangeIndex=n,void this.ensureLabelVisible(n);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:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.selectItemsRange(e,t,this.selectedOptions,{keepSelection:n})},toggleLabel(e,t){return this.toggleItem(e,t)},onSelectLabel(e){if(!e)return;let 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,n){this.onClickLabel(e,t,n),this.editLabel(n[this.valueField])},editLabel(e){if(!this.labelEditable)return!1;let 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,n){this.onClickItem(e,t,n)},onBlur(){this.clearSelection(),this.resetSelectIndex()},onFocus(){this.isEditing&&(0,p.Qy)(this,"commit",{selectFromDropdown:!0})},onFocusOut(e){let t=(0,s.getFocusElement)(e);this.$refs["label-wrapper"]?.contains(t)||(this.focused=!1,(0,p.Qy)(this,"focus-out",e))},onFocusIn(){this.focused=!0,(0,p.Qy)(this,"focus-in")},canOpenDropdown(e){let 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((0,o.ef)(),e.target.value)},onLabelEditingInput(e){this.canOpenDropdown()?this.openDropdown("keyword"):this.closeDropdown(),this.$emit("editing-label-input",e.target.value)}}}),v=["data-placeholder"],b=["innerHTML"],w=["syno-id","onDblclick","onClick"],C={class:"v-multiselect-item-label"},S=["value","placeholder"];var k=(0,g.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-icon"),a=(0,m.resolveComponent)("v-scrollbar"),l=(0,m.resolveDirective)("tooltip");return(0,m.openBlock)(),(0,m.createElementBlock)("div",{class:(0,m.normalizeClass)(["input-wrapper",e.inputWrapperCls])},[e.hasPrefix?((0,m.openBlock)(),(0,m.createElementBlock)("span",{key:0,class:(0,m.normalizeClass)(["prefix-wrapper",e.prefixCls])},[(0,m.renderSlot)(e.$slots,"prefix")],2)):(0,m.createCommentVNode)("",!0),e.isTextDisplayMode||e.isHtmlDisplayMode?(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("div",{key:1,ref:"input",class:(0,m.normalizeClass)(["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?((0,m.openBlock)(),(0,m.createElementBlock)("div",{key:0,innerHTML:e.showPlaceholder?e.placeholder:e.display},null,8,b)):e.isTextDisplayMode?((0,m.openBlock)(),(0,m.createElementBlock)(m.Fragment,{key:1},[(0,m.createTextVNode)((0,m.toDisplayString)(e.showPlaceholder?e.placeholder:e.display),1)],64)):(0,m.createCommentVNode)("",!0)],42,v)),[[l,{overflowOnly:!0,content:e.display}]]):e.isLabelDisplayMode?((0,m.openBlock)(),(0,m.createBlock)(a,{key:2,ref:"scrollbar",class:(0,m.normalizeClass)(["select-input",e.containerCls]),"view-style":{width:"100%"},disabled:e.disabled},{default:(0,m.withCtx)(()=>[(0,m.createElementVNode)("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]=(0,m.withModifiers)(function(){return e.onLabelWrapperKeyDown&&e.onLabelWrapperKeyDown(...arguments)},["stop"]))},[((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(e.selectedOptions,(n,i)=>((0,m.openBlock)(),(0,m.createElementBlock)(m.Fragment,{key:e.getOptionKey(n)},[e.isOptionEditing(n)?(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("input",{key:e.getOptionKey(n),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]=(0,m.withModifiers)(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)),[[m.vModelText,e.editingOptionText]]):((0,m.openBlock)(),(0,m.createElementBlock)("li",{key:e.getOptionKey(n),ref_for:!0,ref:`label-${i}`,"syno-id":`${e.synoId}-selected-${n[e.valueField]}`,class:(0,m.normalizeClass)(e.itemWrapperClasses(n)),onDblclick:t=>e.onDblClickLabel(t,i,n),onClick:(0,m.withModifiers)(t=>e.onClickLabel(t,i,n),["stop"])},[(0,m.renderSlot)(e.$slots,"pre-label",{option:n}),e.hasOptionIcon(n)?((0,m.openBlock)(),(0,m.createBlock)(s,(0,m.mergeProps)({key:0,class:"v-multiselect-item-label-icon",ref_for:!0},e.getOptionIcon(n),{disabled:e.isDisabled(n)}),null,16,["disabled"])):(0,m.createCommentVNode)("",!0),(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("div",C,[(0,m.createTextVNode)((0,m.toDisplayString)(n[e.displayField]),1)])),[[l,e.getOptionTooltip(n)]]),e.isDisabled(n)?(0,m.createCommentVNode)("",!0):((0,m.openBlock)(),(0,m.createBlock)(s,{key:1,name:"multiple-select-label-remove",class:"v-multiselect-item-remove",onClick:(0,m.withModifiers)(t=>e.removeOption(n),["stop"])},null,8,["onClick"]))],42,w))],64))),128)),e.isEditing?(0,m.createCommentVNode)("",!0):(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createElementBlock)("input",(0,m.mergeProps)({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]=(0,m.withModifiers)(function(){return e.onClick&&e.onClick(...arguments)},["stop"]))}),null,16,S)),[[l,e.inputTooltip]])],544)]),_:3},8,["class","disabled"])):(0,m.createCommentVNode)("",!0),e.innerHasSuffix?((0,m.openBlock)(),(0,m.createElementBlock)("span",{key:3,class:(0,m.normalizeClass)(["suffix-wrapper",e.suffixCls])},[e.hasClearIcon?((0,m.openBlock)(),(0,m.createBlock)(s,{key:0,name:"select-clear",class:(0,m.normalizeClass)(e.clearIconCls),"svg-icon-set":"set25",onMousedown:(0,m.withModifiers)(e.onClear,["stop"])},null,8,["class","onMousedown"])):(0,m.createCommentVNode)("",!0),e.hasTriggerIcon?((0,m.openBlock)(),(0,m.createBlock)(s,{key:1,name:"select-dropdown",class:"v-select2-dropdown-icon","svg-icon-set":"set12"})):(0,m.createCommentVNode)("",!0)],2)):(0,m.createCommentVNode)("",!0)],2)}]])},73602:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}}),n(50401),n(91234),n(56165),n(15773),n(15065),n(80438);var i=n(80036),o=n(63917),r=n(71510),s=n(29151),a=n(90946),l=n(25311),c=n(24916),d=n(92128),u=n(69092),h=n(82442),p=n(34976),f=n(89986),m=n(66929),g=n(25217),y=n(58954);function v(e,t){return e.split(new RegExp(t.join("|")))}let b="normal";var w=(0,g.defineComponent)({name:"MultipleSelect",components:{vMultipleSelectInput:c.Z,vSelectDropdown:m.Z,vPortal:f.Z},extends:l.Z,props:{[d.yz.value()]:{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:(0,y.C)(String),default:"label",validator:e=>["label","text","html"].includes(e)},displayText:{type:[String,Boolean],default:!1},defaultOption:{type:(0,y.C)([Function,String]),default:p.f.CHECK},minSearchChar:{type:[Number,String],default:1},search:{type:(0,y.C)(Function),default:void 0}},emits:["item-removed"],data:()=>({isEditing:!1,defaultChildOptionIndent:!1}),computed:{innerAutoAddLabel(){return this.allowInvalidLabel?((0,s.Rn)("allowInvalidLabel","autoAddLabel",this),this.allowInvalidLabel):(0,i.isDefined)(this.autoAddLabel)?!!this.autoAddLabel:!!this.search},validateLabel(){return(0,i.isObject)(this.autoAddLabel)?this.autoAddLabel.validate??(()=>!0):()=>!0},autoAddKey(){return(0,i.isObject)(this.autoAddLabel)?this.autoAddLabel.addKey??[" "]:[" "]},innerHideSelected(){return!!this.isEditing||this.hideSelected},innerDefaultOption(){return this.isSearchMode||this.isEditing?p.f.BASE:this.defaultOption},selectedOptions(){return(0,d.eQ)(this).reduce((e,t)=>{if((0,i.isObject)(t))e.push(t);else{let n=this.getOptionByValue(t);e.push({type:b,...n})}return e},[])},wrapCls(){return["v-select2-wrapper","v-multiselect-wrapper",`v-multiselect-wrapper--display-${this.displayMode}`,{"v-multiselect-wrapper--full-width":0===(0,d.eQ)(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(){let 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===(0,d.eQ)(this).length?this.placeholder:""},valueArray(){return(0,d.eQ)(this).map(e=>(0,i.isObject)(e)?e[this.valueField]:e)},innerValue(){return(0,d.eQ)(this)}},watch:{[d.yz.value()](){this.closeOnSelect||(this.visibleOptions=this.getVisibleOptions())},display(e){if(this.doSearch(e),this.innerAutoAddLabel){let t=v(e,this.autoAddKey);if(t.length>1){let e=this.addLabels(t.slice(0,t.length-1));this.display=t[t.length-1],(0,u.Qy)(this,(0,d.ef)(),[...(0,d.eQ)(this),...e]),this.$nextTick(()=>{this.$refs.input?.onResizeMultipleInput()})}}}},methods:{getSlots(){return(0,h.FJ)(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",t=this.isEditing?this.$refs.input.editingOptionText:this.display,n=this.innerHideSelected;if(this.filter)return this.filter(t,this.currentOptions,e);if((0,i.isFunction)(this.search))return this.searchOptions;let o=Object.create(null),r=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(n&&this.valueArray.includes(s[this.valueField]))return!1;let a=!1;"group-label"===s.type&&(a=!0),t||(a=!0);let l=s[this.displayField],c=t;return this.caseSensitive||(l=l.toUpperCase(),c=c.toUpperCase()),l.includes(c)&&(a=!0),(0,i.isFunction)(s.filter)&&(a=s.filter(this.display,s,r,{query:e})),a&&(r++,s.inGroup&&(o[s.inGroup]=!0)),a});return s=s.filter(e=>"-"===e||"group-label"!==e.type||!!o[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){let t=this.addLabel(e);if(t||this.isEditing){let e=this.getNewValue(t,{targetOption:this.$refs.input?.getEditingOption()});(0,u.Qy)(this,(0,d.ef)(),e),this.$refs.input?.clearInput()}return t},onCommit(){let{selectFromDropdown:e=!1,text:t,autoHighlightLabel:n=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=this.isEditing;if(t=t??(i?this.$refs.input?.editingOptionText:this.display),this.$refs.dropdown&&e){let e=this.$refs.dropdown.getActiveIndex(),t=this.$refs.dropdown.getActiveOption();if(-1!==e)return this.select(e),void(n&&this.$nextTick(()=>this.$refs.input?.onSelectLabel(t)))}let o=this.findOptions(t);if(i){if(o)return this.selectOption(o),this.clearInput(),void(n&&this.$nextTick(()=>this.$refs.input?.onSelectLabel(o)));if(!this.innerAutoAddLabel){if(t)this.selectOption(this.$refs.input.getEditingOption());else{let e=this.getNewValue(null,{targetOption:this.$refs.input?.getEditingOption()});(0,u.Qy)(this,(0,d.ef)(),e)}return void this.clearInput()}}if(this.innerAutoAddLabel&&!o){let e=this.commitLabels(t);n?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&&(0,a.UI)(e,this.autoAddKey)){let t=this.addLabel(this.display);t&&((0,u.Qy)(this,(0,d.ef)(),[...(0,d.eQ)(this),t]),e.preventDefault(),this.clearInput())}else"Tab"===e.key&&this.show&&(e.preventDefault(),this.onArrow("down"))},addLabel(e){if(e)return{type:this.validateLabel(e)?b:"invalid",[this.displayField]:e,[this.valueField]:(0,r.V)()}},addLabels(e){let t=[];for(let n of e)n&&t.push(this.addLabel(n));return t},async searching(e){this._searchingDefer=this._searchingDefer||Promise.resolve(),this._searchingDefer=this._searchingDefer.then(async()=>{this.isSearching=!0;let 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||((0,i.isDefined)(e.closeOnSelect)?e.closeOnSelect:!!this.isSearchMode||this.closeOnSelect)},getNewValue(e){let{targetOption:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,d.eQ)(this);if(t){let i=this.valueArray.findIndex(e=>e===t[this.valueField]);if(i>=0)return e?[...n.slice(0,i),e,...n.slice(i+1)]:n.filter((e,t)=>t!==i)}return[...n,e]},selectOption(e){e=this.isSearchMode?{type:"search",...e}:e[this.valueField];let t=this.getNewValue(e,{targetOption:this.$refs.input?.getEditingOption()});(0,u.Qy)(this,(0,d.ef)(),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),l.Z.methods.select.apply(this,[e]),this.repositionMenu(),this.clearInput()):this.toggle(e,t))},removeSelect(e){let t=[...(0,d.eQ)(this)];t.splice(e,1),(0,u.Qy)(this,(0,d.ef)(),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;let n=this.valueArray.findIndex(e=>t[this.valueField]===e);-1===n?this.select(e):this.removeSelect(n),this.clearInput()},isOptionSelected(e){return this.valueArray.includes(e[this.valueField])},clear(){let e=this.selectedOptions.reduce((e,t)=>((t.irremovable||t.disabled)&&e.push(t[this.valueField]),e),[]);(0,u.Qy)(this,(0,d.ef)(),e),(0,u.Qy)(this,"clear"),this.clearInput()},onItemRemoved(e,t){let n=(0,d.eQ)(this).filter(t=>{let n=(0,i.isObject)(t)?t[this.valueField]:t;return!e.includes(n)});(0,u.Qy)(this,(0,d.ef)(),n),(0,u.Qy)(this,"item-removed",e,t)},onBlur(e){l.Z.methods.onBlur.apply(this,[e]);let t=(0,o.getFocusElement)(e);this.$refs.dropdown?.$el?.contains(t)||this.onCommit()},onEditingLabelInput(e){if(this.currentQueryAction="keyword",this.doQuery(this.currentQueryAction),this.doSearch(e),this.innerAutoAddLabel){let t=v(e,this.autoAddKey);t.length>1&&this.onCommit({text:t[0]})}},onEditingLabel(e){this.isEditing=e,e&&(this.currentQueryAction="keyword",this.doQuery(this.currentQueryAction))}}}),C=(0,n(11747).Z)(w,[["render",function(e,t,n,i,o,r){let s=(0,g.resolveComponent)("v-multiple-select-input"),a=(0,g.resolveComponent)("v-select-dropdown"),l=(0,g.resolveComponent)("v-portal"),c=(0,g.resolveDirective)("clickoutside"),d=(0,g.resolveDirective)("syno-id");return(0,g.withDirectives)(((0,g.openBlock)(),(0,g.createElementBlock)("div",{class:(0,g.normalizeClass)(e.wrapCls),style:(0,g.normalizeStyle)(e.wrapStyles),onClick:t[4]||(t[4]=function(){return e.onClick&&e.onClick(...arguments)})},[(0,g.renderSlot)(e.$slots,"input",{hasIcon:e.hasPrefix(),hasPrefix:e.hasPrefix(),searchIconCls:e.searchIconCls},()=>[(0,g.createVNode)(s,{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:n=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.onCommit({selectFromDropdown:n,autoHighlightLabel:t})}),onEditingLabelInput:e.onEditingLabelInput,onRepositionMenu:e.repositionMenu,onFocusIn:e.onFocus,onFocusOut:e.onBlur},(0,g.createSlots)({_:2},[(0,g.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,g.withCtx)(t=>[(0,g.renderSlot)(e.$slots,n,(0,g.normalizeProps)((0,g.guardReactiveProps)(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?((0,g.openBlock)(),(0,g.createBlock)(l,{key:0,ref:"portal","mount-to":e.getContainerEl(),anchor:e.$el,"acquire-z-index":"",alignment:e.innerAlignment},{default:(0,g.withCtx)(()=>[(0,g.createVNode)(a,{ref:"dropdown",style:(0,g.normalizeStyle)(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},(0,g.createSlots)({_:2},[(0,g.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,g.withCtx)(t=>[(0,g.renderSlot)(e.$slots,n,(0,g.normalizeProps)((0,g.guardReactiveProps)(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"])):(0,g.createCommentVNode)("",!0)],6)),[[c,e.clickOutside,void 0,{children:!0}],[d]])}]])},92707:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(68314),o=n(69092),r=n(89986),s=n(25217),a=(0,n(11747).Z)((0,s.defineComponent)({name:"SelectActionOption",components:{vPortal:r.Z},extends:i.Z,props:{customActiveBehavior:{type:Boolean,default:!1}},emits:["click"],data:()=>({isActive:!1}),computed:{innerCls(){let 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(){(0,o.Qy)(this,"click")}}}),[["render",function(e,t,n,i,o,r){let a=(0,s.resolveComponent)("v-portal");return(0,s.openBlock)(),(0,s.createElementBlock)("div",{class:(0,s.normalizeClass)(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?((0,s.openBlock)(),(0,s.createBlock)(a,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:(0,s.withCtx)(()=>[(0,s.renderSlot)(e.$slots,"tooltip-portal",{option:e.option})]),_:3},8,["name","to"])):(0,s.createCommentVNode)("",!0),(0,s.renderSlot)(e.$slots,"inner-option",{option:e.option},()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.display),1)])],34)}]])},68314:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(74547),o=n(89986),r=n(83871),s=n(80036),a=n(69092),l=n(25217),c=n(11747);let d=(0,l.defineComponent)({name:"SelectBaseOption",components:{vPortal:o.Z,vIcon:r.Z},directives:{tooltip:i.Z},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:s.noop},hover:{type:Function,default:s.noop},hoverOut:{type:Function,default:s.noop},toggle:{type:Function,default:s.noop},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;let e=Object.assign({},this.tooltip);return!0===e.overflowOnly&&(e.overflowOnly=()=>this.$refs.text),e},innerIcon(){return(0,s.isObject)(this.option.icon)?this.option.icon:{name:this.option.icon}}},methods:{onClick(e){this.active(),(0,a.Qy)(this,"active",e),(0,a.Qy)(this,"click",e)},onHover(e){this.hover(),(0,a.Qy)(this,"hover",e),(0,a.Qy)(this,"mouseenter",e)},onHoverOut(e){this.hoverOut(),(0,a.Qy)(this,"hover-out",e),(0,a.Qy)(this,"mouseleave",e)}}}),u=["id","syno-id","aria-selected"],h={key:1,class:"item-desc"},p={class:"item-suffix"};var f=(0,c.Z)(d,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-portal"),a=(0,l.resolveComponent)("v-icon"),c=(0,l.resolveDirective)("tooltip");return(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:(0,l.normalizeClass)(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?((0,l.openBlock)(),(0,l.createBlock)(s,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,"tooltip-portal",{option:e.option})]),_:3},8,["name","to"])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(e.$slots,"inner-option",{option:e.option},()=>[e.option.icon?((0,l.openBlock)(),(0,l.createBlock)(a,(0,l.mergeProps)({key:0,class:"item-icon"},e.innerIcon),null,16)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("span",{ref:"text",class:"option-text"},(0,l.toDisplayString)(e.display),513),e.option.desc?((0,l.openBlock)(),(0,l.createElementBlock)("span",h,(0,l.toDisplayString)(e.option.desc),1)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("div",p,[(0,l.renderSlot)(e.$slots,"suffix",{option:e.option})])])],42,u)),[[c,e.mergedTooltip]])}]])},5945:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(74547),o=n(68314),r=n(69092),s=n(89986),a=n(83871),l=n(25217),c=n(11747);let d=(0,l.defineComponent)({name:"SelectCheckOption",components:{vPortal:s.Z,vIcon:a.Z},directives:{tooltip:i.Z},extends:o.Z,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(),(0,r.Qy)(this,"toggle",e)}}}),u=["id","syno-id","aria-selected"],h={class:"item-suffix"};var p=(0,c.Z)(d,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-portal"),a=(0,l.resolveComponent)("v-icon"),c=(0,l.resolveDirective)("tooltip");return(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:(0,l.normalizeClass)(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?((0,l.openBlock)(),(0,l.createBlock)(s,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:(0,l.withCtx)(()=>[(0,l.renderSlot)(e.$slots,"tooltip-portal",{option:e.option})]),_:3},8,["name","to"])):(0,l.createCommentVNode)("",!0),(0,l.renderSlot)(e.$slots,"inner-option",{option:e.option},()=>[(0,l.createVNode)(a,{name:"checkbox-icon",sprite:""}),e.option.icon?((0,l.openBlock)(),(0,l.createBlock)(a,(0,l.mergeProps)({key:0,class:"item-icon"},e.innerIcon),null,16)):(0,l.createCommentVNode)("",!0),(0,l.createElementVNode)("span",{ref:"text",class:"option-text"},(0,l.toDisplayString)(e.display),513),(0,l.createElementVNode)("div",h,[(0,l.renderSlot)(e.$slots,"suffix",{option:e.option})])])],42,u)),[[c,e.mergedTooltip]])}]])},46130:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}}),n(50401),n(91234);var i=n(74547),o=n(68314),r=n(69092),s=n(89986),a=n(83871),l=n(37153),c=n(7912),d=n(21812),u=n(68712),h=n(51028),p=n(25217),f=n(11747);(0,l.z)("date-range-option-arrow-right",d.W2);let m=(0,p.defineComponent)({name:"DateRangeOption",components:{vPortal:s.Z,vIcon:a.Z,vDatePickerMenu:u.Z},directives:{tooltip:i.Z},extends:o.Z,mixins:[c.ZP],data:()=>({datePickerValue:void 0,datePickerHoverDate:void 0}),computed:{innerCls(){return["v-select2-dropdown-menu-item date-option",this.customClass?this.customClass:"",{unselectable:!1===this.selectable,disabled:this.disabled,activated:this.activated,"is-selected":this.isSelected}]},desc(){let e=this.datePickerValue[0],t=this.datePickerValue[1]??this.datePickerHoverDate;if(!e)return this.option?.placeholder;let n=this.option?.dateFormat??"yyyy-MM-dd";return`${(0,h.Z)(e,n)} - ${t?(0,h.Z)(t,n):""}`}},watch:{option:{immediate:!0,handler(e){this.datePickerValue=e.datePicker?.modelValue}}},methods:{onClick(e){this.active(),(0,r.Qy)(this,"active",e),(0,r.Qy)(this,"click",e)},onHover(e){this.hover(),(0,r.Qy)(this,"hover",e),(0,r.Qy)(this,"mouseenter",e)},onHoverOut(e){this.hoverOut(),(0,r.Qy)(this,"hover-out",e),(0,r.Qy)(this,"mouseleave",e)},onDatePickerValueChange(e){this.datePickerValue=e,e.filter(Boolean).length>=2&&this.option.onDatePickerValueChange?.(this.value,e)},onDatePickerHoverChange(e){this.datePickerHoverDate=e}}}),g=["id","syno-id","aria-selected"],y={class:"text-wrapper"},v={key:0,class:"item-desc"};var b=(0,f.Z)(m,[["render",function(e,t,n,i,o,r){let s=(0,p.resolveComponent)("v-portal"),a=(0,p.resolveComponent)("v-date-picker-menu"),l=(0,p.resolveComponent)("v-icon"),c=(0,p.resolveDirective)("tooltip");return(0,p.withDirectives)(((0,p.openBlock)(),(0,p.createElementBlock)("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:(0,p.normalizeClass)(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?((0,p.openBlock)(),(0,p.createBlock)(s,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:(0,p.withCtx)(()=>[(0,p.renderSlot)(e.$slots,"tooltip-portal",{option:e.option})]),_:3},8,["name","to"])):(0,p.createCommentVNode)("",!0),e.activated&&!e.disabled?((0,p.openBlock)(),(0,p.createBlock)(s,{key:1,"mount-to":e.getContainerEl(),"acquire-z-index":"",alignment:"tl->tr",anchor:e.$el},{default:(0,p.withCtx)(()=>[(0,p.createVNode)(a,(0,p.mergeProps)({ref:"datePickerMenu"},e.option.datePicker,{"model-value":e.datePickerValue,"onUpdate:modelValue":e.onDatePickerValueChange,onHoverDate:e.onDatePickerHoverChange}),null,16,["model-value","onUpdate:modelValue","onHoverDate"])]),_:1},8,["mount-to","anchor"])):(0,p.createCommentVNode)("",!0),(0,p.renderSlot)(e.$slots,"inner-option",{option:e.option},()=>[e.option.icon?((0,p.openBlock)(),(0,p.createBlock)(l,(0,p.mergeProps)({key:0,class:"item-icon"},e.innerIcon),null,16)):(0,p.createCommentVNode)("",!0),(0,p.createElementVNode)("div",y,[(0,p.createElementVNode)("span",{ref:"text",class:"option-text"},(0,p.toDisplayString)(e.display),513),e.desc?((0,p.openBlock)(),(0,p.createElementBlock)("span",v,(0,p.toDisplayString)(e.desc),1)):(0,p.createCommentVNode)("",!0)]),(0,p.createVNode)(l,{class:"suffix-icon",size:[24,24],name:"date-range-option-arrow-right"})])],42,g)),[[c,e.mergedTooltip]])}]])},50412:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(68314),o=n(25217),r=n(11747);let s=(0,o.defineComponent)({name:"SelectDividerOption",extends:i.Z,methods:{}}),a={class:"v-select2-dropdown-divider"};var l=(0,r.Z)(s,[["render",function(e,t,n,i,r,s){return(0,o.openBlock)(),(0,o.createElementBlock)("div",a)}]])},28352:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(68314),o=n(25217),r=n(11747);let s=(0,o.defineComponent)({name:"SelectGroupOption",extends:i.Z,computed:{innerCls(){return["v-select2-dropdown-menu-item-group-label",{unselectable:!1===this.selectable,[this.customClass]:!!this.customClass}]}},methods:{}}),a=["syno-id"];var l=(0,r.Z)(s,[["render",function(e,t,n,i,r,s){return(0,o.openBlock)(),(0,o.createElementBlock)("li",{class:(0,o.normalizeClass)(e.innerCls),"syno-id":`${e.synoId}-option-${e.value}`},(0,o.toDisplayString)(e.display),11,a)}]])},83270:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(68314),o=n(74547),r=n(37153),s=n(83871),a=n(21812),l=n(80036),c=n(78671),d=n(25217),u=n(11747);(0,r.z)("select-option-tick",a.E5),(0,r.z)("select-option-untick",l.voidElement);let h=(0,d.defineComponent)({name:"SelectMultilineOption",components:{vIcon:s.Z},directives:{tooltip:o.Z},extends:i.Z,mixins:[r.Z],props:{},computed:{useTick(){return this.option?.useTick},innerTickIcon(){return this.useTick?(0,c.Z)({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:{}}),p=["id","syno-id","aria-selected"],f={class:"multiline-option-content-wrapper"},m={class:"multiline-option-content"},g={ref:"text",class:"option-text multiline-option-title"},y={key:0,class:"multiline-option-desc"};var v=(0,u.Z)(h,[["render",function(e,t,n,i,o,r){let s=(0,d.resolveComponent)("v-icon"),a=(0,d.resolveDirective)("tooltip");return(0,d.openBlock)(),(0,d.createElementBlock)("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:(0,d.normalizeClass)(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)})},[(0,d.createElementVNode)("div",f,[(0,d.renderSlot)(e.$slots,"inner-option",{option:e.option},()=>[e.useTick?((0,d.openBlock)(),(0,d.createBlock)(s,(0,d.normalizeProps)((0,d.mergeProps)({key:0},e.innerTickIcon)),null,16)):(0,d.createCommentVNode)("",!0),e.option.icon?((0,d.openBlock)(),(0,d.createBlock)(s,(0,d.mergeProps)({key:1,class:"item-icon"},e.innerIcon),null,16)):(0,d.createCommentVNode)("",!0),(0,d.createElementVNode)("div",m,[(0,d.renderSlot)(e.$slots,"title",{},()=>[(0,d.withDirectives)(((0,d.openBlock)(),(0,d.createElementBlock)("span",g,[(0,d.createTextVNode)((0,d.toDisplayString)(e.display),1)])),[[a,e.mergedTooltip]])]),(0,d.renderSlot)(e.$slots,"desc",{},()=>[e.option.desc?(0,d.withDirectives)(((0,d.openBlock)(),(0,d.createElementBlock)("span",y,[(0,d.createTextVNode)((0,d.toDisplayString)(e.option.desc),1)])),[[a,e.descTooltip]]):(0,d.createCommentVNode)("",!0)])])])])],42,p)}]])},16554:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(68314),o=n(25217),r=(0,n(11747).Z)((0,o.defineComponent)({name:"SelectNoMatchOption",extends:i.Z,data:()=>({}),computed:{innerCls:()=>["v-select2-dropdown-menu-item","not-found"],mergedTooltip(){return{content:this.display,overflowOnly:!0}}},methods:{}}),[["render",function(e,t,n,i,r,s){let a=(0,o.resolveDirective)("tooltip");return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createElementBlock)("li",{class:(0,o.normalizeClass)(e.innerCls)},[(0,o.createTextVNode)((0,o.toDisplayString)(e.display),1)],2)),[[a,e.mergedTooltip]])}]])},54448:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i=n(74547),o=n(68314),r=n(21812),s=n(37153),a=n(80036),l=n(78671),c=n(89986),d=n(83871),u=n(25217),h=n(11747);(0,s.z)("select-option-tick",r.E5),(0,s.z)("select-option-untick",a.voidElement);let p=(0,u.defineComponent)({name:"SelectTickOption",components:{vIcon:d.Z,vPortal:c.Z},directives:{tooltip:i.Z},extends:o.Z,mixins:[s.Z],computed:{innerTickIcon(){return(0,l.Z)({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}]}}}),f=["id","syno-id","aria-selected"],m={class:"item-suffix"};var g=(0,h.Z)(p,[["render",function(e,t,n,i,o,r){let s=(0,u.resolveComponent)("v-portal"),a=(0,u.resolveComponent)("v-icon"),l=(0,u.resolveDirective)("tooltip");return(0,u.withDirectives)(((0,u.openBlock)(),(0,u.createElementBlock)("li",{id:e.id,"syno-id":`${e.synoId}-option-${e.value}`,style:{"user-select":"none"},class:(0,u.normalizeClass)(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?((0,u.openBlock)(),(0,u.createBlock)(s,{key:0,name:e.mergedTooltip.portalName,to:e.mergedTooltip.portalName},{default:(0,u.withCtx)(()=>[(0,u.renderSlot)(e.$slots,"tooltip-portal",{option:e.option})]),_:3},8,["name","to"])):(0,u.createCommentVNode)("",!0),(0,u.renderSlot)(e.$slots,"inner-option",{option:e.option},()=>[(0,u.createVNode)(a,(0,u.normalizeProps)((0,u.guardReactiveProps)(e.innerTickIcon)),null,16),e.option.icon?((0,u.openBlock)(),(0,u.createBlock)(a,(0,u.mergeProps)({key:0,class:"item-icon"},e.innerIcon),null,16)):(0,u.createCommentVNode)("",!0),(0,u.createElementVNode)("span",{ref:"text",class:"option-text"},(0,u.toDisplayString)(e.display),513),(0,u.createElementVNode)("div",m,[(0,u.renderSlot)(e.$slots,"suffix",{option:e.option})])])],42,f)),[[l,e.mergedTooltip]])}]])},74313:function(e,t,n){"use strict";n.d(t,{m:function(){return b}});var i=n(25311),o=n(14198),r=n(73602),s=n(43761),a=n(2207),l=n(68314),c=n(92707),d=n(50412),u=n(28352),h=n(5945),p=n(16554),f=n(83270),m=n(54448),g=n(46130),y=n(28385),v=n(24916);let b=(0,n(53300).e)({components:[i.Z,o.Z,r.Z,s.Z,a.Z,l.Z,c.Z,d.Z,u.Z,h.Z,p.Z,f.Z,m.Z,g.Z,y.Z,v.Z]})},14198:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}}),n(50401),n(91234),n(56165);var i=n(63917),o=n(25311),r=n(80036),s=n(92128),a=n(82442),l=n(69092),c=n(34976),d=n(28385),u=n(66929),h=n(83871),p=n(89986),f=n(25217),m=n(58954);function g(e){return void 0!==e&&""!==e}var y=(0,f.defineComponent)({name:"SingleSelect",components:{vSelectInput:d.Z,vSelectDropdown:u.Z,vIcon:h.Z,vPortal:p.Z},extends:o.Z,props:{forceSelection:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!0},displayMode:{type:(0,m.C)(String),default:"none",validator:e=>["text","none","html"].includes(e)},defaultOption:{type:(0,m.C)([Function,String]),default:c.f.BASE}},data:()=>({lastSelectedOption:void 0,defaultChildOptionIndent:!0,searchPlaceholderOption:void 0}),computed:{selectedOption(){let e=(0,s.eQ)(this);return this.isEmptyStateValue(e)?null:this.currentOptions.find(t=>g(e)&&"-"!==t&&t[this.valueField]===e)},innerValue(){return(0,s.eQ)(this)}},watch:{display(e){this.doSearch(e)},currentOptions:{immediate:!0,deep:!0,handler(){let e=this.selectedOption;e&&!this.search&&(this.display=e[this.displayField])}},[s.yz.value()]:{immediate:!0,handler(e){if(!(0,r.isDefined)(e)&&this.clearable&&this.tryRememberLastSelectedOption(null),this.isEmptyStateValue(e))return(0,l.Qy)(this,(0,s.ef)(),null),this.display="",void this.tryRememberLastSelectedOption(null);g(e)&&this.$refs.dropdown&&this.$refs.dropdown.setActiveIndexByValue(e);let t=this.selectedOption;this.tryRememberLastSelectedOption(t),t&&(this.display=t[this.displayField])}}},methods:{getSlots(){return(0,a.FJ)(this)},getValidOptions(){let 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(),o.Z.methods.onFocus.apply(this,[e])},onBlur(e){let t=(0,i.getFocusElement)(e);if(o.Z.methods.onBlur.apply(this,[e]),this.$refs.dropdown&&this.$refs.dropdown.$el.contains(t)||this.$el.contains(t)||this.selectedOption&&this.display===this.selectedOption[this.displayField]||!this.allowEdit)return;this.search&&this.commitSearchOption(this.display);let n=this.findOptions(this.display);this.forceSelection?!1===this.handleForceSelection(n)&&(0,l.Qy)(this,(0,s.ef)(),n?.[this.valueField]):(0,l.Qy)(this,(0,s.ef)(),n?.[this.valueField])},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.display=t[this.displayField],(0,l.Qy)(this,(0,s.ef)(),t[this.valueField]),o.Z.methods.select.apply(this,[e]))},openDropdown(e){let t=this.selectOnFocus&&this.allowEdit;o.Z.methods.openDropdown.apply(this,[e])&&t&&"all"===e&&this.$refs.input.selectInput()},async openAdvancedPanel(){o.Z.methods.openAdvancedPanel.apply(this)},closeAdvancedPanel(){o.Z.methods.closeAdvancedPanel.apply(this)},onEnter(){o.Z.methods.onEnter.apply(this)},onKeydown(e){"Tab"===e.key&&this.show&&(e.preventDefault(),this.onArrow("down"))},createOption(e){return{type:"normal",[this.displayField]:e,[this.valueField]:e}},commitSearchOption(e){return this.searchPlaceholderOption=this.createOption(e)}}}),v=n(11747);let b={key:1,class:"v-select2-advanced"};var w=(0,v.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,f.resolveComponent)("v-icon"),a=(0,f.resolveComponent)("v-select-input"),l=(0,f.resolveComponent)("v-portal"),c=(0,f.resolveComponent)("v-select-dropdown"),d=(0,f.resolveDirective)("clickoutside"),u=(0,f.resolveDirective)("syno-id");return(0,f.withDirectives)(((0,f.openBlock)(),(0,f.createElementBlock)("div",{class:(0,f.normalizeClass)(e.wrapCls),style:(0,f.normalizeStyle)(e.wrapStyles),onClick:t[3]||(t[3]=function(){return e.onClick&&e.onClick(...arguments)})},[(0,f.renderSlot)(e.$slots,"input",{hasIcon:e.hasPrefix(),hasPrefix:e.hasPrefix(),searchIconCls:e.searchIconCls},()=>[(0,f.createVNode)(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")),onKeydown:e.onKeydown,onKeyEnter:e.onEnter,onFocus:e.onFocus,onBlur:e.onBlur},{prefix:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,"icon",{disabled:e.disabled,class:(0,f.normalizeClass)(e.searchIconCls)},()=>[e.hasPrefix()?((0,f.openBlock)(),(0,f.createBlock)(s,(0,f.mergeProps)({key:0,class:e.searchIconCls,disabled:e.disabled},e.searchIcon,{onClick:e.onClickIcon}),null,16,["class","disabled","onClick"])):(0,f.createCommentVNode)("",!0)])]),suffix:(0,f.withCtx)(()=>[(0,f.renderSlot)(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","onKeydown","onKeyEnter","onFocus","onBlur"])]),e.showAdvanced&&e.advanced?((0,f.openBlock)(),(0,f.createBlock)(l,{ref:"advanced-portal",key:"advanced","mount-to":e.getContainerEl(),anchor:e.$el,alignment:e.innerAlignment},{default:(0,f.withCtx)(()=>[e.hasAdvancedMenu?(0,f.renderSlot)(e.$slots,"advanced-menu",{key:0}):e.hasAdvancedPanel?((0,f.openBlock)(),(0,f.createElementBlock)("div",b,[(0,f.renderSlot)(e.$slots,"advanced-panel",{display:e.display})])):(0,f.createCommentVNode)("",!0)]),_:3},8,["mount-to","anchor","alignment"])):(0,f.createCommentVNode)("",!0),e.show&&e.showDropdown?((0,f.openBlock)(),(0,f.createBlock)(l,{ref:"portal",key:"dropdown","mount-to":e.getContainerEl(),anchor:e.$el,"acquire-z-index":"",alignment:e.innerAlignment},{default:(0,f.withCtx)(()=>[(0,f.renderSlot)(e.$slots,"dropdown",{style:(0,f.normalizeStyle)(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},()=>[(0,f.createVNode)(c,{ref:"dropdown",style:(0,f.normalizeStyle)(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},(0,f.createSlots)({_:2},[(0,f.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,f.withCtx)(t=>[(0,f.renderSlot)(e.$slots,n,(0,f.normalizeProps)((0,f.guardReactiveProps)(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"])):(0,f.createCommentVNode)("",!0)],6)),[[d,e.clickOutside,void 0,{children:!0}],[u]])}]])},43761:function(e,t,n){"use strict";let i;n.d(t,{Z:function(){return i}});var o=n(32744),r=n(73602);(i=function(e,t){return function(e,t,n){let i=(0,o.Ie)(n);return i.attrs=function(){return{"show-dropdown":!1,"hide-trigger":!0,"auto-add-label":!0,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}}}(i.attrs),(0,o.h)(e,r.Z,i)}(void 0,0,t)}).componentName="SuperboxSelect"},11242:function(e,t,n){"use strict";n.d(t,{Mn:function(){return l},S:function(){return c},WX:function(){return s},mV:function(){return a}}),n(50401),n(15773);var i=n(18349),o=n(22440),r=n(80036);function s(e){return e.replace(/\u00a0/g," ").replace(/\n/g,"")}function a(e){let t=[];for(let n of e){let e=n.prevBlock;"empty"!==n.getType()&&e&&"empty"!==e.getType()&&t.push(new o.H(" ")),t.push(n)}return e.length>0&&"empty"!==e[e.length-1].getType()&&t.push(new o.H(" ")),t=l(t)}function l(e){for(let t=0;t<e.length;t++){let n=e[t];n.currentIndex=t,t>0&&(n.prevBlock=e[t-1]),t<e.length-1&&(n.nextBlock=e[t+1])}return e}class c{constructor(e){this.grammar=e}shouldQuote(e){let t=!1;return e.length>2&&e.startsWith('"')&&e.endsWith('"')&&(e=i.gO.trimQuote(e),t=!0),{withQuote:t,text:e}}parseTokens(e){let t=[],n=[],i=e.length,o="",r=0;for(;r<i;){let s=e[r],a=t[t.length-1];if('"'===s?t.length>0?'"'===a&&t.pop():t.push(s):"["===s&&'"'!==a?t.push(s):"]"===s&&"["===a&&t.pop()," "!==s||0!==t.length)o+=s,r++;else{""!==o&&(n.push(o),o="");let t="";for(;" "===s&&r<i;)t+=s,s=e[++r];n.push(t)}}return""!==o&&n.push(o),n?n.map(e=>{let{withQuote:t,text:n}=this.shouldQuote(e);return{text:n,withQuote:t}}):[]}generateBlocksByTokens(e){return l(e.map(e=>{let t=new i.gO(e.text);return t.withQuote=e.withQuote,t.value=e.value,""===e.text.trim()&&(t=new o.H(s(e.text))),t}))}createBlocksByBrieflyBlocks(e){let t=[],n=null;for(let i of e){let e;"empty"===i.type?e=this.grammar.transformEmpty():n=e="bracket"===i.type?this.grammar.transformBracket(i.value):"conjunction"===i.type?this.grammar.transformConjunction(i.value):"category"===i.type?this.grammar.transformCategory(i.value):"operator"===i.type&&n?this.grammar.transformOperator(i.value,n):"value"===i.type&&n?this.grammar.transformValue(i.value,n):this.grammar.transformBlock(i.value),e.shouldHaveQuote()&&(e.withQuote=!0),t.push(e)}return l(t)}toTokensByElement(e){if(e.dataset.serialize){let t=i.gO.deserialize(e.dataset.serialize);return this.toTokens(e.textContent||"").map(e=>{try{e.value=JSON.parse(t.value),(0,r.isObject)(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(s(e))}createTokens(e){let t=[];for(let n of e.childNodes)t=n.nodeType===Node.TEXT_NODE?t.concat(this.toTokens(n.textContent||"")):t.concat(this.toTokensByElement(n));return t}createBlocks(e){let t=this.createTokens(e),n=this.generateBlocksByTokens(t);return this.grammar.transformBlocks(n)}toHtml(e){return e.map(e=>e.getDecoratedHtml()).join("")}toBrieflyBlocks(e){return e.map(e=>({type:e.getType(),value:e.value||e.text||""}))}}},18349:function(e,t,n){"use strict";n.d(t,{Of:function(){return d},gO:function(){return c},gu:function(){return o},m5:function(){return s},yB:function(){return r},yM:function(){return a}}),n(50401),n(91234),n(15773);var i=n(63917);let o="[",r="]",s=RegExp(`^\\${o}(.*)\\]$`),a=", ";function l(e){return e.includes(" ")}class c{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){var t;return l(e)||(t=e).includes("[")||t.includes("]")}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="${c.serialize(e,t)}">${(0,i.htmlEncode)(e)}</span>`}static serialize(e,t){return encodeURI(JSON.stringify({value:Array.isArray(t)?JSON.stringify(t):t,text:encodeURIComponent(e)}))}static deserialize(e){let 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()&&l(this.text??"")}finalizeText(){return this.text??""}isMultipleTexts(){return s.test(this.text??"")}getMultipleTexts(){let{trim:e=!0,withQuote:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(this.text??"").replace(s,"$1").split(a);return e&&(n=n.filter(e=>e)),t||(n=n.map(e=>e.replace(/"/g,""))),n}toMultipleTexts(e){return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?`${o}${e.join(a)}]`:e.join(a)}findMultipleTextIndex(e){let t=this.getMultipleTexts({trim:!1}),n=-1,i=1;for(let[o,r]of t.entries())if(n=i,(i+=r.length+2)>e)return[o,e-n];return[0,-1]}getValue(){return this.value}pureText(){return this.text??""}format(){if(this.isMultipleTexts()){let e=this.getMultipleTexts();this.text=this.toMultipleTexts(e)}return!0}getDecoratedHtml(){let e=this.withQuote?`"${this.finalizeText()}"`:this.finalizeText();return e=(0,i.htmlEncode)(e),(e=(this.decorator??"").replace(/{}/,e)).replace(/{serialize}/,c.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 d extends c{constructor(e){super(e),Array.isArray(e)&&(this.text=this.toMultipleTexts(e)),this.type="unknown"}}},62372:function(e,t,n){"use strict";n.d(t,{A4:function(){return l},DJ:function(){return r},Jj:function(){return a},Sc:function(){return c},e:function(){return s},eU:function(){return o},gG:function(){return d}});var i=n(18349);let o="(",r=")",s=["(",")"];function a(e){return"open"===e?["("]:"close"===e?[")"]:s}function l(e){return e instanceof d&&e.isOpen()}function c(e){return e instanceof d&&e.isClose()}class d extends i.gO{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}}},31331:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var i=n(18349);class o extends i.gO{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}}},4050:function(e,t,n){"use strict";n.d(t,{Xs:function(){return r},tX:function(){return o}});var i=n(18349);let o=["and","or"];class r extends i.gO{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}}},22440:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var i=n(18349);class o extends i.gO{static HTMLToken="&nbsp;";constructor(e){super(e),this.type="empty"}shouldHaveQuote(){return!1}getDecoratedHtml(){return this.text?this.text.replace(/\s/g,"&nbsp;"):""}}},82608:function(e,t,n){"use strict";n.d(t,{E:function(){return a}}),n(50401),n(56165),n(15065);var i=n(80036),o=n(18349),r=n(31005),s=n(77684);class a extends o.gO{constructor(e,t,n){super(e),this.decorator='<span class="v-search-block v-search-block-operator" data-serialize={serialize}>{}</span>',this.relativeCategory=t,this.type="operator",n?(this.value=n.value||e,this.operatorProp=n):this.value=e}isValidValueBlock(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"title";if("number"===this.validValueType)return!!(0,i.isNumber)(e.pureText())&&e.pureText();if("string"===this.validValueType)return!!(0,i.isString)(e.pureText())&&e.pureText();if("date"===this.validValueType)return!!(this.validValueInfo&&this.validValueInfo.dateFormat&&r.fK.includes(this.validValueInfo.dateFormat)&&(0,s.i)(e.pureText(),this.validValueInfo.dateFormat))&&e.pureText();if("array"===this.validValueType)return!this.validValueInfo||!this.validValueInfo.validValues||this.validValueInfo.validValues.find(n=>"title"===t?n.title===e.pureText():"value"===t?n.value===e.value:"both"===t?n.title===e.pureText()&&n.value===e.value:void 0)||!1;if("function"===this.validValueType){if(!0===this.validValueInfo?.validFunc?.(e))return e.pureText()}else if("multiple"===this.validValueType&&this.validValueInfo&&this.validValueInfo?.validValues){let n=e.getValue(),i=("title"===t||"both"===t?e.getMultipleTexts({withQuote:!1}):n).reduce((e,i,o)=>{if(!1===e)return e;let r=this.validValueInfo?.validValues?.find(e=>{if("both"===t){let t=n[o];return e.title===i&&e.value===t}return"value"===t?e.value===i:e.title===i});return!!r&&(e.push(r),e)},[]);return!(!Array.isArray(i)||!i.length)&&i}return!1}setValidValueTypes(e){Array.isArray(e)?(this.validValueType="array",this.validValueInfo={validValues:e.slice()}):(0,i.isFunction)(e)?(this.validValueType="function",this.validValueInfo={validFunc:e}):(0,i.isObject)(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}}},60646:function(e,t,n){"use strict";n.d(t,{B:function(){return r}}),n(50401),n(15773);var i=n(18349),o=n(80036);class r extends i.gO{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(0,o.isString)(e)?e:Array.isArray(e)?this.toMultipleTexts(e.map(e=>i.gO.needToQuoteIt(e.title)?`"${e.title}"`:e.title)):e.title}setValue(e){(0,o.isString)(e)?this.value=e:Array.isArray(e)?(this.valueCases=e,this.value=e.map(e=>e.value)):(this.valueCase=e,this.value=e.value)}}},78815:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var i=n(8345);let o=(0,n(53300).e)({components:[i.Z]})},8345:function(e,t,n){"use strict";n.d(t,{Z:function(){return en}});var i=n(88358),o=n(5675),r=n(92128),s=n(82442),a=n(69092);n(50401),n(15065),n(80438);var l=n(80036),c=n(77684),d=n(18349),u=n(62372),h=n(4050),p=n(31331),f=n(82608),m=n(60646);function g(e,t){return t.title.startsWith(e)}class y{constructor(e,t,n){this.selection=e,this.categories=t,this.info=n}setCategories(e){this.categories=e}getCategoryTitles(e){return e=d.gO.trimQuote(e),this.categories.reduce((t,n)=>{if(n.hint&&!1===n.hint.show)return t;let i=n.hint&&n.hint.searchFunc?n.hint.searchFunc(e,n):g(e,n);if(!1===i)return t;let o=(0,l.isNumber)(i)?i:n.hint&&n.hint.priority?n.hint.priority:10;return t.push({display:n.title,value:n.value,prompt:n.hint&&n.hint.prompt,useSlot:n.hint&&n.hint.useSlot,priority:o,blockType:"category",grouping:n.hint&&n.hint.grouping,hintObj:n.hint}),t},[])}getBracketsTitles(e,t){return(0,u.Jj)(t).reduce((t,n)=>(n.startsWith(e)&&t.push({display:n,value:n,blockType:"bracket"}),t),[])}getOperatorTitles(e,t){return e=d.gO.trimQuote(e),t.validOperators?t.validOperators.reduce((t,n)=>{let i=n.hint&&n.hint.searchFunc?n.hint.searchFunc(e,n):g(e,n);if(!1===i)return t;let o=(0,l.isNumber)(i)?i:n.hint&&n.hint.priority?n.hint.priority:10;return t.push({display:n.title,value:n.value,prompt:n.hint&&n.hint.prompt,useSlot:n.hint&&n.hint.useSlot,priority:o,blockType:"operator",autoPatch:n.autoPatch,grouping:n.hint&&n.hint.grouping,hintObj:n.hint}),t},[]):[]}getValueTitles(e,t){return e=d.gO.trimQuote(e),t&&t.needListValueType()&&t.validValueInfo&&t.validValueInfo.validValues?t.validValueInfo.validValues.reduce((t,n)=>{let i=n.hint&&n.hint.searchFunc?n.hint.searchFunc(e,n):g(e,n);if(!1===i)return t;let o=(0,l.isNumber)(i)?i:n.hint&&n.hint.priority?n.hint.priority:10;return t.push({display:n.title,value:n.value,prompt:n.hint&&n.hint.prompt,useSlot:n.hint&&n.hint.useSlot,priority:o,blockType:"value",grouping:n.hint&&n.hint.grouping,hintObj:n.hint}),t},[]):[]}getValueDate(e,t){return(0,c.s)(e?.value,t)||new Date}getConjunctionTitles(e){return h.tX.reduce((t,n)=>(n.startsWith(e)&&t.push({display:n,value:n,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 p.W&&(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 f.E&&(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 u.gG&&e.isOpen())}needCloseBracket(e){let t=[];for(let n of e)n instanceof u.gG&&(n.isOpen()?t.push(n):n.isClose()&&t.length>0&&t.pop());return t.length>0}shouldHint(e){let t=this.selection.getCurrentBlockInfo(e)[0],n={showHint:!1,type:"list",prefixText:"",searchTitle:"Search Criteria",block:void 0,data:{titles:[]}};if(t&&t.block){let e=t.block,i=t.overlappedBlock,o=e.getPreviousNonEmptyBlock();if(n.block=e,e.isMultipleTexts()){let i=e.getMultipleTexts(),[o,r]=e.findMultipleTextIndex(t.offset),s=i[o];n.prefixText=s?s.substring(0,r):"",n.type="multiple"}else n.prefixText=e.pureText().substring(0,t.offset).trim();if(n.prevBlock=o,"conjunction"===e.getType()||i&&"conjunction"===i.getType())return this.genConjunctionHint(n);(null===o||"block"===o.getType()||o instanceof h.Xs||o instanceof u.gG&&o.isOpen())&&(n=this.genCategoryHint(n)),o instanceof p.W&&(n=this.genOperatorHint(n)),o instanceof f.E&&(n=this.genValueHint(n)),(o instanceof m.B||o instanceof u.gG&&o.isClose())&&(n=this.genCategoryHint(n))}else n=this.genCategoryHint(n);return this.info.limit&&n.data.titles.length>this.info.limit&&(n.limit={showHint:!0,num:this.info.limit}),n}}n(15773);var v=n(60590),b=n(63917),w=n(22440);class C{constructor(e){this.el=e,this.saveRange={start:0,end:0}}getCursorRect(){let e=this.getNative();return e?.getBoundingClientRect()??{left:0,top:0}}getNative(){if(v.s||document.activeElement!==this.el)return null;let e=this.getSelection();return e&&e.rangeCount?e.getRangeAt(0):null}getSelection(){return window.getSelection()}getRange(){let e=this.getNative();if(!e)return{start:0,end:0,collapsed:!0};let t=e.cloneRange();t.selectNodeContents(this.el),t.setEnd(e.startContainer,e.startOffset);let n=t.toString().length;return{start:n,end:n+e.toString().length,collapsed:this.getSelection()?.isCollapsed}}findBlockTextIndex(e,t){let n=0;for(let[i,o]of e.entries()){if(o===t)return{start:n,end:n+o.length(),blockIndex:i};n+=o.length()}return{start:-1,end:-1,blockIndex:-1}}getCurrentBlockInfo(e){let t=this.getRange(),n=0,i=0,o=[];for(let[r,s]of e.entries()){let a=r+1<e.length?e[r+1]:null;i+=s.length(),t.start<=n&&i<=t.end?o.push({block:s,offset:-1,covered:!0,overlappedBlock:null}):n<=t.start&&t.start<=i?o.push({block:s,offset:t.start-n,covered:!1,overlappedBlock:t.start-n>=s.length()?a:null}):n<=t.end&&t.end<=i&&o.push({block:s,offset:t.end-n,covered:!1,overlappedBlock:t.start-n>=s.length()?a:null}),n=i}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 n=0,i=document.createRange();i.setStart(this.el,0),i.collapse(!0);let o=[this.el],r,s=!1,a=!1;for(;!a&&(r=o.pop());)if(r.nodeType==Node.TEXT_NODE){let o=n+(r?.textContent?.length??0);!s&&e>=n&&e<=o&&(i.setStart(r,e-n),s=!0),s&&t>=n&&t<=o&&(i.setEnd(r,t-n),a=!0),n=o}else{let e=r.childNodes.length;for(;e--;)o.push(r.childNodes[e])}let l=window.getSelection();l?.removeAllRanges(),l?.addRange(i)}replaceTextByBlocks(e,t,n,i,o,r,s){(t.textContent||"").length;let a=i.length,c=-1;for(let e of n){let t=e.block;if(t){let{start:e,end:n,blockIndex:o}=this.findBlockTextIndex(i,t);a=Math.min(a,o),c=Math.max(c,o)}}let u=i.slice(0,a),h=i.slice(c+1),p=u.map(e=>e.getDecoratedHtml()).join(""),f=h.map(e=>e.getDecoratedHtml()).join(""),m=p;if(u.length>0&&"empty"!==u[u.length-1].getType()&&(m+=w.H.HTMLToken),"multiple"===r){let t=n[0],i=t.block;if(i.isMultipleTexts()){let[n]=i.findMultipleTextIndex(t.offset),o=i.getMultipleTexts({trim:!1}),r=o.length-1,a=i.getValue()||[];s&&(a[n]=s),o[n]=e+(n!==r?"|":""),m+=d.gO.toHtml(d.gu+i.toMultipleTexts(o,!1)+(n===r?`${d.yM}|`:"")+d.yB,a)}else m+=d.gO.toHtml(`${d.gu}${e}${d.yM}|${d.yB}`,s?[s]:[])}else m+=e+(w.H.HTMLToken+((e=>{if(!(0,l.isString)(o)||!e||!e.block)return!1;let t=e.block.getNextNonEmptyBlock();return!t||!t.text})(n[0])?o:"|")+f),h.length>0&&"empty"!==h[0].getType()&&(m+=w.H.HTMLToken);let g=(0,b.html2Text)(m).indexOf("|");return{html:m.replace("|",""),caretPos:g}}}var S=n(22902),k=n(30782),x=n(54878),B=n(90946);class T{constructor(e,t,n,i,o){this.oldVal=t,this.newVal=n,this.oldRange=i,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 E{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--;){let 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--;){let e=this.redoCommands.pop();if(!e)return;e.execute(),this.undoCommands.push(e)}}}var I=n(25217),D=n(58954);function V(e){return e.replace(/\u00a0/g," ")}var N=(0,I.defineComponent)({name:"SearchContent",components:{vScrollbar:k.Z},directives:{},mixins:[],props:{text:{type:String,default:""},[r.yz.value()]:{type:(0,D.C)(Array),default:()=>[]},fetchOperators:{type:(0,D.C)(Function),default:void 0},fetchValueTypes:{type:(0,D.C)(Function),default:void 0},categories:{type:(0,D.C)(Array),default:()=>[]},placeholder:{type:String,default:""},dslProcessor:{type:(0,D.C)(Object),required:!0},blockFactory:{type:(0,D.C)(Object),required:!0},groupingInfo:{type:(0,D.C)(Object),default:()=>({})},hintInfo:{type:(0,D.C)(Object),default:()=>({limit:!1})},validateMessage:{type:String,default:""},validator:{type:(0,D.C)(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){v.s||(await this.$nextTick(),this.$refs.text.innerText=e,this.onSync())},immediate:!0},[r.yz.value()]:{async handler(e){e&&this.setBlocks(e)}},categories(e){this.hintHandler&&this.hintHandler.setCategories(e)}},created(){this.commandMgr=new E,this.onStateChangedDebounce=(0,S.Z)(this.onStateChanged,30),this.onValidateDebounced=(0,S.Z)(this.onValidate,250)},async mounted(){await this.$nextTick(),this.selection=new C(this.$refs.text),this.hintHandler=new y(this.selection,this.categories,this.hintInfo)},methods:{setBlocks(e){this.blocks=e.slice(),this.applyBlocks(),(0,a.Qy)(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(let 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=d.gO.toHtml(e.blockText||"",e.value)),this.insertTextInSelection(t,e.replaceStrategy,e.autoPatch,e.value)},insertTextInSelection(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=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();let o=this.selection.getCurrentBlockInfo(this.blocks),{html:r,caretPos:s}=this.selection.replaceTextByBlocks(e,this.$refs.text,o,this.blocks,n,t,i);this.$refs.text.innerHTML=r,this.selection.setCaretPos(s,s),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&&(0,a.Qy)(this,"hint",this.hintHandler.shouldHint(this.blocks)),this.$refs.scrollbar?.update?.(),(0,a.Qy)(this,"value",this.blocks),(0,a.Qy)(this,"error",!1))},applyBlocks(){this.$refs.text.innerHTML=this.blockFactory.toHtml(this.blocks),(0,a.Qy)(this,"text",V(this.$refs.text.innerText))},onStateChanged(){if(!this.selection)return;this.prevRange||(this.prevRange=this.selection.getRange());let e=new T(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){let{hasError:e,message:t}=this.validator(this.dslProcessor.parse(this.blocks));(0,a.Qy)(this,"error",e,t)}else(0,a.Qy)(this,"error",!this.dslProcessor.parse(this.blocks),this.validateMessage)},onSelectionChange(){this.selection&&(this.selection.save(),(0,a.Qy)(this,"hint",this.hintHandler?.shouldHint(this.blocks)))},setCaretPosToEnd(){let{collapse:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=V(this.$refs.text.innerText),{start:n}=this.selection?.getRange()??{start:0};e&&(n=t.length),this.selection?.setCaretPos(n,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;let e=this.selection.getCursorRect(),t={top:0,left:0};return this.$refs.text&&(t=this.$refs.text.getBoundingClientRect()),{left:Math.max(33,e.left-t.left),top:Math.max(0,e.top-t.top)}},onKeyDown(e){this.isLock||((0,a.Qy)(this,"keydown",e),"End"===e.key?(e.preventDefault(),this.setCaretPosToEnd({collapse:!(0,B.cY)(e)})):"Home"===e.key?(e.preventDefault(),this.setCaretPosToStart({collapse:!(0,B.cY)(e)})):"z"===e.key.toLowerCase()&&e.ctrlKey&&(e.shiftKey?this.redo():this.undo(),e.preventDefault()))},undo(){this.commandMgr?.undo(),(0,a.Qy)(this,"value",this.blocks)},redo(){this.commandMgr?.redo(),(0,a.Qy)(this,"value",this.blocks)},onKeyUp(e){"Escape"!==e.key&&"Enter"!==e.key&&"ArrowUp"!==e.key&&"ArrowDown"!==e.key&&this.onSelectionChange()},onBlur(e){(0,a.Qy)(this,"blur",e)},onFocus(e){(0,a.Qy)(this,"focus",e)},genContentEditableDiv(){return(0,o.h)(k.Z,{ref:"scrollbar",scopedSlots:{default:()=>[(0,o.h)("div",{class:["v-search-contenteditable"],attrs:{contenteditable:!0,spellcheck:!1,placeholder:this.placeholder,enterkeyhint:x.a.Search},ref:"text",on:{paste:e=>{e.preventDefault();let 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){let t=this.blockFactory.createBlocksByBrieflyBlocks(e);this.setBlocks(t)},getBrieflyBlocks(){return this.blockFactory.toBrieflyBlocks(this.blocks)},saveScrollTop(){this.scrollTop=this.getScrollTop()},restoreScrollTop(){let e=this.scrollTop;this.$refs.scrollbar?.setScroll(void 0,e),this.scrollTop=null},getScrollTop(){return this.$refs.scrollbar?.getScrollTop()??0}},render(){return this.genContentEditableDiv()}}),_=n(36659),M=n(60853),$=n(97006),Z=n(7912),A=n(30272),O=n(67834);function F(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"title";return t.find(t=>t.condition?t.condition(e):"title"===n?t.title===e.pureText():"value"===n?t.value===e.getValue():"both"===n?t.title===e.pureText()&&t.value===e.getValue():void 0)}function z(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"title";return t?.find(t=>"title"===n?t.title===e.pureText():"value"===n?t.value===e.getValue():"both"===n?t.title===e.pureText()&&t.value===e.getValue():void 0)}function L(e,t){let n=t.prevBlock,i=t.nextBlock;n&&(n.nextBlock=e),i&&(i.prevBlock=e),e.nextBlock=i,e.prevBlock=n,e.currentIndex=t.currentIndex,e.withQuote=t.withQuote}n(56165);class P{constructor(e,t,n){this.categories=e||[],this.fetchValueTypes=n,this.fetchOperators=t}setCategories(e){this.categories=e}transformBlock(e){return new d.gO(e)}transformEmpty(){return new w.H(" ")}transformCategory(e){let t=new d.gO("");t.value=e;let n=F(t,this.categories,"value");if(n){let e=new p.W(n.title,n);return e.validOperators=this.fetchOperators(e),e}return new d.Of(e)}transformOperator(e,t){if("category"!==t.getType())return new d.Of(e);let n=new d.gO("");n.value=e;let i=z(n,t.validOperators,"value");return i?new f.E(i.title,t,i):new d.Of(e)}transformValue(e,t){if("operator"!==t.getType())return new d.Of(e);t.setValidValueTypes(this.fetchValueTypes(t));let n=new m.B(e,t);n.value=e;let i=t.isValidValueBlock(n,"value");return!1!==i?(n.setValue(i),n.text=n.toText(i),n):new d.Of(e)}transformBracket(e){return new u.gG(e)}transformConjunction(e){return new h.Xs(e)}transformValues(e){for(let t of e){let n=t.getNextNonEmptyBlock();if(t instanceof f.E&&(t.setValidValueTypes(this.fetchValueTypes(t)),n&&("block"===n.getType()||n instanceof p.W))){let i=t.isValidValueBlock(n,n.value?"both":"title");!1!==i&&(e[n.currentIndex]=new m.B(n.text,t),e[n.currentIndex].setValue(i),L(e[n.currentIndex],n))}}return e}transformOperators(e){for(let t=0;t<e.length;t++){let n=e[t],i=n.getNextNonEmptyBlock();if(n instanceof p.W&&(n.validOperators=this.fetchOperators(n),i&&"block"===i.getType()&&n.validOperators&&n.validOperators.length>0)){let t=z(i,n.validOperators,i.value?"both":"title");t&&(e[i.currentIndex]=new f.E(i.text,n,t),L(e[i.currentIndex],i))}}return e}transformConjunctions(e){for(let t=0;t<e.length;t++){let n=e[t],i=n.getNextNonEmptyBlock();(n instanceof m.B||n instanceof u.gG&&n.isClose())&&i&&"block"===i.getType()&&function(e){return h.tX.some(t=>t===e)}(i.pureText())&&(e[i.currentIndex]=new h.Xs(i.text),L(e[i.currentIndex],i))}return e}transformOpenBrackets(e){for(let i=0;i<e.length;i++){var t,n;let o=e[i],r=o.getNextNonEmptyBlock();0===i&&(t=o.pureText(),u.eU===t)&&(e[o.currentIndex]=new u.gG(o.text),L(e[o.currentIndex],o),r=o.getNextNonEmptyBlock()),(o instanceof h.Xs||"block"===o.getType()||o instanceof u.gG&&o.isOpen())&&r&&"block"===r.getType()&&(n=r.pureText(),u.eU===n)&&(e[r.currentIndex]=new u.gG(r.text),L(e[r.currentIndex],r))}return e}transformCloseBrackets(e){var t;for(let n=0;n<e.length;n++){let i=e[n],o=i.getNextNonEmptyBlock();(i instanceof m.B||i instanceof u.gG&&i.isClose())&&o&&"block"===o.getType()&&(t=o.pureText(),u.DJ===t&&(e[o.currentIndex]=new u.gG(o.text),L(e[o.currentIndex],o)))}return e}transformCategories(e){for(let t=0;t<e.length;t++){let n=e[t];if("block"===n.getType()){let t=F(n,this.categories,n.value?"both":"title");t&&(e[n.currentIndex]=new p.W(n.text,t),L(e[n.currentIndex],n))}}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),e=this.transformOpenBrackets(e)}verifyClause(e){let t=function(e){let t=e.getNextNonEmptyBlock();return t&&"value"===t.getType()};for(let n of e)"category"===n.getType()&&(n.validClause=function(e){let n=e.getNextNonEmptyBlock();return!(!n||"operator"!==n.getType()||!t(n))}(n));return e}}var R=n(83871),H=n(37153),j=n(21812),W=n(20377),G=(0,I.defineComponent)({name:"SuggestionGroupItem",extends:W.Z,props:{selectable:{type:Boolean,default:!1}},render(){return(0,o.h)("li",{class:["v-search-suggestions-item group",{"v-search-suggestions-item-selected":this.selected,"v-search-suggestions-item-focused":this.focused}]},[(0,o.h)("div",{class:["search-suggestion-item-content"]},[(0,o.h)("span",{class:["item-display"]},this.display),(0,o.h)("span",{class:["item-prompt"]},this.prompt)])])}}),Q=n(68712),U=n(8085),K=n(89986),q=(0,I.defineComponent)({name:"SearchSuggestions",components:{SuggestionItem:W.Z,SuggestionGroupItem:G,vDatePickerMenu:Q.Z,vScrollbar:k.Z},directives:{clickoutside:$.ZP},mixins:[(0,A.f)("semantic-search"),Z.ZP],props:{hint:{type:(0,D.C)(Object),required:!0},groupingInfo:{type:(0,D.C)(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(){let e=Object.create(null),t=[],n=[],i=(e,t)=>{let n=e.display,i=!1;return d.gO.needToQuoteIt(e.display)&&(n=`"${e.display}"`,i=!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:n,hasQuote:i,isGroup:!1,inGroup:t,selectable:!0,hintObj:e.hintObj}};for(let n of this.titleInfos)n.grouping&&n.grouping.by?(e[n.grouping.by]||(e[n.grouping.by]=[]),e[n.grouping.by].push(n)):t.push(n);for(let[o,r]of this.sortGroupInfos(e,t))if((0,l.isString)(o)){let e=this.getGroupInfo(o);for(let t of(n.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}),r.sort((e,t)=>{let n=e.priority||10,i=t.priority||10;return i>n?1:i<n?-1:0})))n.push(i(t,!0))}else for(let e of r)n.push(i(e,!1));return this.hint.limit&&(n=n.slice(0,this.hint.limit.num)),n},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){let n=t.map(e=>[null,[e]]).concat(Object.entries(e)),i=e=>{if((0,l.isString)(e[0])){let t=this.getGroupInfo(e[0]);return t&&t.priority?t.priority:10}return e[1][0].priority?e[1][0].priority:10};return n.sort((e,t)=>{let n=i(e);return i(t)-n})},getGroupInfo(e){return this.groupingInfo[e]},onClick(e){this.selectedIndex=e,(0,a.Qy)(this,"select",this.suggestionItems[this.selectedIndex])},genSuggestionItem(e,t){return(0,o.h)(W.Z,{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)=>(0,o.h)(G,{props:{display:t.display,value:t.value,prompt:t.prompt},key:e}),genSuggestionItems(){let e=this.suggestionItems.reduce((e,t,n)=>{let i=s.FJ(this)?.["suggestion-items"];if(!0===t.useSlot&&i){let o=i({index:n,suggestion:t,onSelect:()=>this.onClick(n),selected:this.selectedIndex===n});o&&(e=e.concat(o))}else{let i=t.isGroup?this.genSuggestionGroupItem(n,t):this.genSuggestionItem(n,t);i&&e.push(i)}return e},[]),t=s.FJ(this)?.["suggestion-limit-hint"];if(this.hint.limit&&this.hint.limit.showHint&&t){let n=t({});n&&(e=e.concat(n))}return e},getSelectedSuggestion(){if(-1!==this.selectedIndex)return this.suggestionItems[this.selectedIndex]},selectNextSuggestion(){if(-1===this.selectedIndex)return this.selectFirstSuggestion();let e=this.suggestionItems.length;for(let t=1;t<e;t++){let n=(this.selectedIndex+t)%e;if(this.suggestionItems[n].selectable)return void this.selectIndex(n)}},selectPrevSuggestion(){if(-1===this.selectedIndex)return this.selectFirstSuggestion();let e=this.suggestionItems.length;for(let t=1;t<e;t++){let n=(this.selectedIndex-t+e)%e;if(this.suggestionItems[n].selectable)return void this.selectIndex(n)}},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;let 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?(0,o.h)("div",{ref:"wrapper",directives:[{name:"clickoutside",value:this.onClickOutside,modifiers:{children:!0}}],class:["v-search-suggestions-date-picker-wrapper"],attrs:{tabindex:-1}},[(0,o.h)(Q.Z,{props:{[r.yz.value()]:this.defaultDate},on:{change:e=>{(0,a.Qy)(this,"selected-date",(0,U.tC)(e,this.hint.data.date.dateFormat),"value")},"update:is-open":e=>{this.hidden=!e}}})]):(0,o.h)("div",{ref:"wrapper",directives:[{name:"clickoutside",value:this.onClickOutside,modifiers:{children:!0}}],class:["v-search-suggestions-wrapper"],attrs:{tabindex:-1}},[this.hint.searchTitle?(0,o.h)("div",{class:["v-search-search-criteria"]},this.hint.searchTitle):null,(0,o.h)("ul",{class:["v-search-suggestions"]},[(0,o.h)(k.Z,{ref:"scrollbar",class:["v-search-suggestion-scrollbar"],scopedSlots:{default:()=>this.genSuggestionItems()}})])]),(0,o.h)(K.Z,{props:{anchor:this["semantic-search"].instance.getSuggestionAnchor(),targetClass:"search-dropdown",mountTo:this.getContainerEl(),acquireZIndex:!0,alignment:this.suggestionAlignment},ref:"portal",scopedSlots:{default:()=>[e]}})):null}}),Y=n(11242);function J(e){return!!(e&&(e instanceof f.E||e instanceof h.Xs||e instanceof u.gG))}function X(e){return!!(e&&(e instanceof p.W||e instanceof m.B))}function ee(e){return e instanceof f.E?3:e instanceof h.Xs?e.isAnd()?2:1:0}class et{constructor(e,t,n){this.unknownBlockBehavior=t,this.defaultConjunction=n,this.grammar=e}patchOperatorBlocks(e){let t=[];for(let n of e){let e=n.getNextNonEmptyBlock();t.push(n),"category"===n.getType()&&e&&"block"===e.getType()&&t.push(new f.E(n.validOperators?.[0]?.title??"",n))}return t=(0,Y.Mn)(t),t=this.grammar.transformBlocks(t)}patchConjunctionBlocks(e){let t=[];for(let n of e){let e=n.getNextNonEmptyBlock();t.push(n),("value"===n.getType()&&e&&"category"===e.getType()||"bracket"===n.getType()&&n.isClose()&&e&&"category"===e.getType())&&t.push(new h.Xs(this.defaultConjunction.conjunctionType))}return t=(0,Y.Mn)(t),t=this.grammar.transformBlocks(t)}patchMissingBlocks(e){return e=this.patchOperatorBlocks(e),e=this.patchConjunctionBlocks(e),e=(0,Y.Mn)(e),e=(0,Y.mV)(e)}translateUnknownBlocks(e){let t=[];for(let n of e)if("block"===n.getType()){let e=new p.W(this.unknownBlockBehavior.category),i=new f.E(this.unknownBlockBehavior.operator,e),o=new m.B(n.text,i),r=new h.Xs(this.unknownBlockBehavior.conjunction),s=n.getPreviousNonEmptyBlock(),a=n.getNextNonEmptyBlock();s&&(s instanceof m.B||s instanceof u.gG)&&t.push(r),t.push(e,i,o),a&&(a instanceof p.W||a instanceof u.gG||"block"===a.getType())&&t.push(r)}else t.push(n);return t}parse(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(e=this.grammar.verifyClause(e),t&&(e=this.translateUnknownBlocks(e)),0===(e=this.toPostfix(e)).length)return{};for(let t of e)if(J(t)){if(n.length<2)return!1;let e=n.pop(),i=n.pop(),o=e?.block,r=i?.block;if(t instanceof h.Xs&&(X(o)||X(r))||t instanceof f.E&&(J(o)||J(r)))return!1;let s={block:t,right:e,left:i};n.push(s)}else if(X(t)){let e={block:t};n.push(e)}return!(1!==n.length||!J(n[0].block))&&n[0]}toPostfix(e){let t=[],n=[];for(let i of e)if(!(i instanceof w.H)){if((0,u.A4)(i))t.push(i);else if((0,u.Sc)(i)){for(;t.length>0&&!(0,u.A4)(t[t.length-1]);){let e=t.pop();e&&n.push(e)}t.pop()}else if(i instanceof f.E||i instanceof h.Xs){for(;t.length>0&&ee(t[t.length-1])>=ee(i);){let e=t.pop();e&&n.push(e)}t.push(i)}else n.push(i)}for(;t.length>0;){let e=t.pop();e&&n.push(e)}return n}}(0,H.z)("semantic-search-icon",j.O0),(0,H.z)("semantic-search-clear",j.xo);var en=(0,I.defineComponent)({name:"SemanticSearch",components:{SearchContent:N,SearchSuggestions:q,vMenu:_.Z,vMenuItem:M.Z,vPopup:O.Z},directives:{clickoutside:$.ZP},mixins:[Z.ZP,(0,A.J)("semantic-search"),H.Z],props:{validateMessage:{type:String,default:""},validator:{type:Function,default:void 0},text:{type:String,default:""},[r.yz.value()]:{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 P(this.categories,this.fetchOperators,this.fetchValueTypes),this.dslProcessor=new et(this.grammar,this.unknownBlockBehavior,this.defaultConjunction),this.blockFactory=new Y.S(this.grammar)},mounted(){this.suggestionZIndex=this.$popupManager.acquireZIndex()},[i.mT.beforeUnmount](){this.$popupManager.releaseZIndex()},methods:{getSuggestionAnchor(){return this.$el},genSuggestions(){return(0,o.h)(q,{props:{hint:this.hint,groupingInfo:this.groupingInfo,cursorRect:this.cursorRect,useAdaptiveContainer:this.useAdaptiveContainer},ref:"suggestions",scopedSlots:(0,s.FJ)(this),on:{select:this.onSelectSuggestion,"selected-date":this.onSelectSuggestionDate}})},genClearIcon(){return this.hasBlocks?(0,o.h)(R.Z,{class:["search-clear-icon"],props:{name:"semantic-search-clear",svgIconSet:"set25"},nativeOn:{click:this.onClickClearIcon}}):null},genRightSlots(){return s.FJ(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(),(0,a.Qy)(this,"clear")},async onHint(e){this.hint=e,await this.$nextTick(),this.alignSuggestion()},async alignSuggestion(){if(v.s)return;let 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){let 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){let n=t.getSelectedSuggestion();t.showSuggestion&&n?this.onSelectSuggestion(n):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";if((0,l.isBoolean)(this.autoFormat)?this.autoFormat:this.autoFormat[e])return this.$refs.content.formatBlocks()},patchMissingBlocks(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"blur";if((0,l.isBoolean)(this.autoPatch)?this.autoPatch:this.autoPatch[e])return this.$refs.content.patchMissingBlocks()},async onSearch(e){this.isSearching=!0;let t=this.$refs.content,n=this.$refs.suggestions;this.patchMissingBlocks("search"),this.formatBlocks("search"),await this.$nextTick(),t.setCaretPosToEnd(),t.blur(),n.hide(),(0,a.Qy)(this,"search",this.dslProcessor?.parse(t.blocks),e),this.validate(),window.setTimeout(()=>{this.isSearching=!1})},onBlocksChange(e){(0,a.Qy)(this,"value",this.dslProcessor?.parse(e),e),this.hasBlocks=e.length>0},onClickOutside(){this.$refs.suggestions.hide()},onContentBlur(e){if(this.isSearching)return;let t=(0,b.getFocusElement)(e),n=this.$refs.suggestions;t&&n?.containsEl(t)||(this.patchMissingBlocks("blur"),this.formatBlocks("blur")),(0,a.Qy)(this,"blur")},getBrieflyBlocks(){return this.$refs.content.getBrieflyBlocks()},setBrieflyBlocks(e){this.$refs.content.setBrieflyBlocks(e)}},render(){return(0,o.h)("div",{class:this.searchClass},[(0,o.h)(R.Z,{class:[`${this.cls}-icon`],props:{name:"semantic-search-icon",svgIconSet:"set01"}}),(0,o.h)(O.Z,{class:[`${this.cls}-popup`],props:{type:"error",tippyOptions:this.tippyOptions,disable:this.isPopupDisabled,content:this.currentValidateMessage},scopedSlots:{default:()=>[(0,o.h)(N,{props:{text:this.text,value:(0,r.eQ)(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)=>{(0,a.Qy)(this,"error",e,t),this.hasError=e,this.currentValidateMessage=t},text:e=>(0,a.Qy)(this,"text",e),blur:this.onContentBlur,focus:e=>(0,a.Qy)(this,"focus",e)}})]}}),this.genSuggestions(),this.genClearIcon(),this.genRightSlots()])}})},20377:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(5675),o=(0,n(25217).defineComponent)({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(0,i.h)("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}]},[(0,i.h)("div",{class:["search-suggestion-item-content"]},[(0,i.h)("span",{class:["item-display"]},this.display),(0,i.h)("span",{class:["item-prompt"]},this.prompt)])])}})},77578:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var i=n(24121);let o=(0,n(53300).e)({components:[i.Z]})},24121:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(63917),o=n(69092),r=n(25217),s=(0,r.defineComponent)({name:"SlideUpDownTransition",emits:["before-enter","enter","after-enter","before-leave","leave","after-leave"],methods:{onBeforeEnter(e){e.dataset||(e.dataset={}),e.dataset.overflow=(0,i.css)(e,"overflow"),e.dataset.paddingTop=e.dataset.paddingTop?e.dataset.paddingTop:(0,i.css)(e,"padding-top"),e.dataset.paddingBottom=e.dataset.paddingBottom?e.dataset.paddingBottom:(0,i.css)(e,"padding-bottom"),this.reflow=e.scrollHeight,(0,i.css)(e,"max-height","0"),(0,i.css)(e,"padding-top","0"),(0,i.css)(e,"padding-bottom","0"),this.reflow=e.scrollHeight,(0,o.Qy)(this,"before-enter",e)},onEnter(e){0!==e.scrollHeight?(0,i.css)(e,"max-height",`${e.scrollHeight}px`):(0,i.css)(e,"max-height",""),(0,i.css)(e,"padding-top",e.dataset.paddingTop),(0,i.css)(e,"padding-bottom",e.dataset.paddingBottom),(0,i.css)(e,"overflow","hidden"),(0,o.Qy)(this,"enter",e)},onAfterEnter(e){(0,i.css)(e,"max-height",""),e.removeAttribute("data-padding-top"),e.removeAttribute("data-padding-bottom"),(0,o.Qy)(this,"after-enter",e)},onBeforeLeave(e){e.dataset||(e.dataset={}),(0,i.css)(e,"max-height",`${e.scrollHeight}px`),e.dataset.overflow=(0,i.css)(e,"overflow"),e.dataset.paddingTop=e.dataset.paddingTop?e.dataset.paddingTop:(0,i.css)(e,"padding-top"),e.dataset.paddingBottom=e.dataset.paddingBottom?e.dataset.paddingBottom:(0,i.css)(e,"padding-bottom"),(0,i.css)(e,"overflow","hidden"),(0,o.Qy)(this,"before-leave",e)},onLeave(e){0!==e.scrollHeight&&((0,i.css)(e,"max-height","0"),(0,i.css)(e,"padding-top","0"),(0,i.css)(e,"padding-bottom","0")),(0,o.Qy)(this,"leave",e)},onAfterLeave(e){(0,i.css)(e,"max-height",""),(0,i.css)(e,"padding-top",e.dataset.paddingTop),(0,i.css)(e,"padding-bottom",e.dataset.paddingBottom),(0,i.css)(e,"overflow",e.dataset.overflow),e.removeAttribute("data-padding-top"),e.removeAttribute("data-padding-bottom"),e.removeAttribute("overflow"),(0,o.Qy)(this,"after-leave",e)}}}),a=(0,n(11747).Z)(s,[["render",function(e,t,n,i,o,s){return(0,r.openBlock)(),(0,r.createBlock)(r.Transition,{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:(0,r.withCtx)(()=>[(0,r.renderSlot)(e.$slots,"default")]),_:3},8,["onEnter","onLeave"])}]])},46509:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var i=n(20862);let o=(0,n(53300).e)({components:[i.Z]})},20862:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(5675),o=(0,n(25217).defineComponent)({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,n){this.style={height:e},n&&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(0,i.h)(this.tag,{style:this.style,ref:"wrapper",attrs:{"aria-hidden":!this.expand},directives:[{name:"syno-id"}],on:{transitionend:this.onTransitionEnd}},this.$slots.default)}})},94478:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var i=n(83685);let o=(0,n(53300).e)({components:[i.Z]})},83685:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n(86419),o=n(88358),r=n(92128),s=n(78671),a=n(63917),l=n(80036),c=n(90946),d=n(69092),u=n(82442),h=n(25217),p=n(58954),f=(0,h.defineComponent)({name:"Slider",components:{vInput:i.Z},props:{disabled:{type:Boolean},min:{type:[Number,String],required:!0},max:{type:[Number,String],required:!0},step:{type:[Number,String],default:1},[r.yz.value()]:{type:Number,required:!0},patchNum:{type:(0,p.C)(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(0,l.isDefined)(this.tip)?this.tip:!this.hasInput},innerValue(){return(0,r.eQ)(this)},sliderStyle(){let 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!!this.withInput},inputBinding(){let e={selectOnFocus:!0,type:"number",inputAttrs:{step:this.step,min:this.min,max:this.max}};return(0,l.isObject)(this.withInput)?(0,s.Z)(e,this.withInput):e}},watch:{innerValue:{handler(e){this.inputVal=e},immediate:!0}},[o.mT.beforeUnmount](){this.disposedFn?.()},methods:{normalizeValue(e){return Math.round(+e/+this.step)*+this.step},hasPrefixLabels(){return(0,u._Y)(this,"prefix")},hasSuffixLabels(){return(0,u._Y)(this,"suffix")||this.hasInput},coordsToValue(e,t){let n=e/t*(+this.max-+this.min);return this.normalizeValue(n)},onLineMouseDown(e){if(this.disabled)return;let{offsetX:t}=e,n=this.coordsToValue(t,this.$refs.line.offsetWidth);this.setValue(n),this.startDragging(n,e.clientX)},onThumbMouseDown(e){if(this.disabled)return;let t=(0,c.z6)(e)?e.touches[0].clientX:e.clientX;this.startDragging(this.innerValue,t)},startDragging(e,t){let n=(0,l.clampValue)(e,+this.min,+this.max),i=this.$refs.line.offsetWidth;this.disposedFn?.(),this.disposedFn=(0,a.on)(document.documentElement,["touchmove","mousemove"],o=>{let r=(0,c.z6)(o)?o.touches[0].clientX:o.clientX;this.dragging||(this.dragging=!0);let s=this.coordsToValue(r-t,i);n=(0,l.clampValue)(e+s,+this.min,+this.max),this.setValue(n)}),(0,a.once)(document.documentElement,["touchend","mouseup"],()=>{this.dragging=!1,this.disposedFn?.()})},setValue(e){this.patchNum&&(e=this.patchNum(e)),e=(0,l.clampValue)(e,+this.min,+this.max),(0,d.Qy)(this,(0,r.ef)(),e)},onInputValChange(e){this.inputVal=e},onInputCommit(){if((0,l.isEmptyString)(this.inputVal))this.setValue(this.innerValue),this.inputVal=this.innerValue;else{let e=this.normalizeValue(this.inputVal);this.inputVal=e,this.setValue(e)}}}}),m=n(11747);let g={key:0,class:"v-slider-prefix-labels v-slider-labels"},y={class:"v-slider-line-wrapper"},v={key:1,class:"v-slider-suffix-labels v-slider-labels"};var b=(0,m.Z)(f,[["render",function(e,t,n,i,o,r){let s=(0,h.resolveComponent)("v-input"),a=(0,h.resolveDirective)("syno-id");return(0,h.withDirectives)(((0,h.openBlock)(),(0,h.createElementBlock)("div",{style:(0,h.normalizeStyle)(e.sliderStyle),class:(0,h.normalizeClass)(e.sliderClass)},[e.hasPrefixLabels()?((0,h.openBlock)(),(0,h.createElementBlock)("div",g,[(0,h.renderSlot)(e.$slots,"prefix",{value:e.innerValue})])):(0,h.createCommentVNode)("",!0),(0,h.createElementVNode)("div",y,[(0,h.createElementVNode)("div",{ref:"line",class:"v-slider-line",onMousedown:t[2]||(t[2]=function(){return e.onLineMouseDown&&e.onLineMouseDown(...arguments)})},[(0,h.createElementVNode)("div",{class:"v-slider-thumb",onMousedown:t[0]||(t[0]=(0,h.withModifiers)(function(){return e.onThumbMouseDown&&e.onThumbMouseDown(...arguments)},["stop"])),onTouchstart:t[1]||(t[1]=(0,h.withModifiers)(function(){return e.onThumbMouseDown&&e.onThumbMouseDown(...arguments)},["stop"]))},null,32)],544),(0,h.renderSlot)(e.$slots,"marked",{value:e.innerValue})]),e.hasSuffixLabels()?((0,h.openBlock)(),(0,h.createElementBlock)("div",v,[(0,h.renderSlot)(e.$slots,"suffix",{value:e.innerValue}),e.hasInput?((0,h.openBlock)(),(0,h.createBlock)(s,(0,h.mergeProps)({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:(0,h.withKeys)(e.onInputCommit,["enter"]),onBlur:e.onInputCommit}),{suffix:(0,h.withCtx)(()=>[(0,h.renderSlot)(e.$slots,"input-suffix",{value:e.innerValue})]),_:3},16,["syno-id","value","model-value","onInput","onUpdate:modelValue","onKeypress","onBlur"])):(0,h.createCommentVNode)("",!0)])):(0,h.createCommentVNode)("",!0)],6)),[[a]])}]])},64233:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var i=n(59449);let o=(0,n(53300).e)({components:[i.Z]})},59449:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(25217),o=n(58954);let r=["none","regular","dense"],s=["row","column"],a=["start","end","baseline","center","stretch"],l=["space-between","space-around","space-evenly"];var c=(0,i.defineComponent)({name:"Space",props:{alignItem:{type:(0,o.C)(String),default:"center",validator:e=>a.includes(e)},justifyContent:{type:(0,o.C)(String),default:"center",validator:e=>a.includes(e)||l.includes(e)},direction:{type:(0,o.C)(String),default:"row",validator:e=>s.includes(e)},spacing:{type:(0,o.C)(String),default:"regular",validator:e=>r.includes(e)}},data:()=>({}),computed:{wrapperCls(){return["v-space",`direction-${this.direction}`,`align-${this.alignItem}`,`justify-content-${this.justifyContent}`,`spacing-${this.spacing}`]}}}),d=(0,n(11747).Z)(c,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)(e.wrapperCls)},[(0,i.renderSlot)(e.$slots,"default")],2)}]])},29942:function(e,t,n){"use strict";n.d(t,{J:function(){return s}});var i=n(41253),o=n(66358),r=n(39546);let s=(0,n(53300).e)({components:[i.Z,o.Z,r.Z]})},39546:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(25217),o=(0,i.defineComponent)({name:"SpinIcon"}),r=n(11747);let s={class:"v-spin-icon"},a=[(0,i.createElementVNode)("i",null,[(0,i.createElementVNode)("i")],-1)];var l=(0,r.Z)(o,[["render",function(e,t,n,o,r,l){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s,a)}]])},41253:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(82442),o=n(66358),r=n(25217),s=n(58954),a=(0,r.defineComponent)({name:"Spin",components:{vSpinInner:o.Z},props:{type:{type:(0,s.C)(String),default:"circle"},maskStyle:{type:(0,s.C)(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(0,i.XR)("inner-",this)}}}),l=n(11747);let c={key:1,class:"loader-inner"};var d=(0,l.Z)(a,[["render",function(e,t,n,i,o,s){let a=(0,r.resolveComponent)("v-spin-inner");return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(e.wrapperClass)},["circle"===e.type?((0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:0},[(0,r.withDirectives)((0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.prefix+"-wrapper-masking"),style:(0,r.normalizeStyle)(e.maskStyle)},null,6),[[r.vShow,e.mask&&e.delayedShow&&e.spinning]]),(0,r.renderSlot)(e.$slots,"default"),e.delayedShow&&e.spinning&&!e.onlyMask?(0,r.renderSlot)(e.$slots,"spin-inner",{key:0},()=>[(0,r.createVNode)(a,{tip:e.tip,prefix:e.prefix,delay:e.delay,"show-icon":e.showIcon},(0,r.createSlots)({_:2},[(0,r.renderList)(e.getSpinInnerSlots(),t=>{let{name:n,exposeName:i}=t;return{name:n,fn:(0,r.withCtx)(t=>[(0,r.renderSlot)(e.$slots,i,(0,r.normalizeProps)((0,r.guardReactiveProps)(t)))])}})]),1032,["tip","prefix","delay","show-icon"])]):(0,r.createCommentVNode)("",!0)],64)):"large-dots"===e.type?((0,r.openBlock)(),(0,r.createElementBlock)("div",c)):(0,r.createCommentVNode)("",!0)],2)}]])},66358:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(39546),o=n(25217),r=(0,o.defineComponent)({name:"SpinInner",components:{SpinIcon:i.Z},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]}}}),s=(0,n(11747).Z)(r,[["render",function(e,t,n,i,r,s){let a=(0,o.resolveComponent)("spin-icon");return(0,o.openBlock)(),(0,o.createElementBlock)("div",{class:(0,o.normalizeClass)(e.wrapClasses)},[(0,o.createElementVNode)("div",{class:(0,o.normalizeClass)(e.textClasses)},[(0,o.renderSlot)(e.$slots,"default",{},()=>[(0,o.createTextVNode)((0,o.toDisplayString)(e.tip),1)])],2),e.showIcon?(0,o.renderSlot)(e.$slots,"icon",{key:0},()=>[(0,o.createVNode)(a)]):(0,o.createCommentVNode)("",!0)],2)}]])},24417:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(69092),o=n(84593),r=n(61644),s=n(25217),a=n(58954),l=(0,s.defineComponent)({name:"TabFooter",components:{vButton:r.Z},mixins:[o.Z],props:{confirmText:{type:String,default:void 0},footerDirection:{type:(0,a.C)(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(){(0,i.Qy)(this,"cancel")},onClickConfirm(){(0,i.Qy)(this,"confirm")}}}),c=n(11747);let d={class:"default pull-right button-region"};var u=(0,c.Z)(l,[["render",function(e,t,n,i,o,r){let a=(0,s.resolveComponent)("v-button"),l=(0,s.resolveDirective)("syno-id");return(0,s.withDirectives)(((0,s.openBlock)(),(0,s.createElementBlock)("div",d,[(0,s.createVNode)(a,{"syno-id":`${e.synoId}-cancel`,type:"footbar",suffix:"cancel",onClick:e.onClickCancel},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.innerCancelText),1)]),_:1},8,["syno-id","onClick"]),(0,s.createVNode)(a,{"syno-id":`${e.synoId}-apply`,type:"footbar",suffix:"main",onClick:e.onClickConfirm},{default:(0,s.withCtx)(()=>[(0,s.createTextVNode)((0,s.toDisplayString)(e.innerConfirmText),1)]),_:1},8,["syno-id","onClick"])])),[[l]])}]])},4166:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var i=n(17031),o=n(63367),r=n(24417);let s=(0,n(53300).e)({components:[i.Z,o.Z,r.Z]})},63367:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(88358),o=n(69092),r=n(30272),s=n(82442),a=n(30782),l=n(81460),c=n(25217),d=(0,c.defineComponent)({name:"TabPane",components:{vScrollbar:a.Z,vLayout:l.Z},mixins:[(0,r.J)("layout-container"),(0,r.f)("tabs"),(0,r.J)("alert-bar-container")],props:{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}},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&&(0,o.Qy)(this.tabs?.instance,"reachYEnd",e)},reachYStart(e){this.active&&(0,o.Qy)(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?((0,o.Qy)(this,"activate",this),await this.$nextTick(),this.detectReachStartEnd()):(0,o.Qy)(this,"deactivate",this)},{immediate:!0})},[i.mT.beforeUnmount](){this.disposedFn?.(),this.tabs?.instance?.removeTab(this)},methods:{hasDefaultSlot(){return(0,s._Y)(this,"default")},hasScrollBodySlot(){return(0,s._Y)(this,"scroll-body")},hasContentBodySlot(){return(0,s._Y)(this,"content-body")},getScrollEl(){return this.$refs.scrollbar?.getScrollEl()},detectReachStartEnd(){if(this.detectScroll&&this.$refs.scrollbar){let e=this.$refs.scrollbar;this.reachYStart=e.isReachTop(),this.reachYEnd=e.isReachBottom()}}}}),u=n(11747);let h=["id","aria-hidden","aria-labelledby"];var p=(0,u.Z)(d,[["render",function(e,t,n,i,o,r){let s=(0,c.resolveComponent)("v-layout"),a=(0,c.resolveComponent)("v-scrollbar"),l=(0,c.resolveDirective)("syno-id");return(0,c.withDirectives)(((0,c.openBlock)(),(0,c.createElementBlock)("div",{id:`tab-pane-${e.tabKey}`,role:"tabpanel","aria-hidden":!e.active,class:(0,c.normalizeClass)(e.wrapCls),"aria-labelledby":`tab-${e.tabKey}`},[(0,c.renderSlot)(e.$slots,"default"),e.hasScrollBodySlot()?((0,c.openBlock)(),(0,c.createBlock)(a,{key:0,ref:"scrollbar",onScroll:e.detectReachStartEnd,onIsActive:e.detectReachStartEnd},{default:(0,c.withCtx)(()=>[(0,c.createVNode)(s,{type:"content"},{default:(0,c.withCtx)(()=>[(0,c.renderSlot)(e.$slots,"scroll-body")]),_:3})]),_:3},8,["onScroll","onIsActive"])):(0,c.createCommentVNode)("",!0),e.hasContentBodySlot()?((0,c.openBlock)(),(0,c.createBlock)(s,{key:1,type:"content"},{default:(0,c.withCtx)(()=>[(0,c.renderSlot)(e.$slots,"content-body")]),_:3})):(0,c.createCommentVNode)("",!0)],10,h)),[[c.vShow,e.active||e.alwaysActive],[l]])}]])},17031:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}}),n(50401),n(56165);var i=n(69092),o=n(48198),r=n(92128),s=n(84593),a=n(24417),l=n(62704),c=n(80036),d=n(63917),u=n(62088),h=n(30272),p=n(81460),f=n(29151),m=n(25217),g=n(58954),y=(0,m.defineComponent)({name:"Tabs",components:{tabFooter:a.Z,vLayout:p.Z},mixins:[l.ZP,s.Z,(0,h.f)("info-board"),(0,u.W)("tabs"),(0,h.J)("tabs")],props:{[r.yz.value()]:{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:(0,g.C)(String),default:"content"},layoutOrder:{type:Number,default:0},mobileBreakpoint:{type:(0,g.C)([String,Boolean]),default:"xxs"},navTabsList:{type:(0,g.C)([Array,Boolean]),default:!1},beforeTabChange:{type:(0,g.C)(Function),default:c.noop},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?((0,f.Rn)("hasFbar","fbar",this),this.hasFbar):this.fbar},innerNavTabsList(){return(0,c.isArray)(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?((0,f.D8)("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:{[r.yz.value()]:{async handler(e){let t=this.innerNavTabsList.find(t=>t.tabKey===e);t&&this.selectTab(t,{autoScroll:this.isMobile})}},activatedTabKey(e){(0,i.Qy)(this,(0,r.ef)(),e)}},created(){(0,i.Zn)(this,"reachYEnd",e=>{this.reachYEnd=e}),(0,i.Zn)(this,"reachYStart",e=>{this.reachYStart=e})},mounted(){this["info-board"]&&(this.inInfoBoard=!0),this.onTabNavScroll();let e=this.orderedTabs.find(e=>e.tabKey===(0,r.eQ)(this));e&&this.selectTab(e,{autoScroll:this.isMobile}),this.navTabsList&&(this.activatedTabKey=(0,r.eQ)(this))},methods:{onTabNavScroll(){let{scrollLeft:e,scrollWidth:t,offsetWidth:n}=this.$refs.navWrap;this.showNavbarFilter=t>n,this.navbarScrollingTo=e<=0?"left":e>=t-n?"right":"middle"},getTabHeaderCls(e){let 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[(0,o.s)(e)]=e,this.orderedTabs=this.getOrderedTabs(this.tabs)},removeTab(e){delete this.tabs[o.s(e)],this.orderedTabs=this.getOrderedTabs(this.tabs)},getActiveTab(){return this.orderedTabs.find(e=>e.tabKey===this.activatedTabKey)},onClickTab(e,t){this.selectTab(e,t),(0,i.Qy)(this,"tab-click",this.activatedTabKey)},async selectTab(e){let{autoScroll:t=!1,autoFocus:n=!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;n&&(0,d.focusWithoutScroll)(this.$refs?.[e.tabKey]?.[0]),t&&(0,d.scrollTo)(this.$refs?.[e.tabKey]?.[0],{inline:"center",behavior:"smooth"}),this.activatedTabKey=e.tabKey},onCancel(){(0,i.Qy)(this,"cancel")},onConfirm(){(0,i.Qy)(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,t=(i,o,r)=>{let s=(o+r)%r;return s===n?n:i[s].disabled?t(i,s+e,r):s},n=this.orderedTabs.findIndex(e=>e.tabKey===this.activatedTabKey),i=this.orderedTabs.length,o=t(this.orderedTabs,n+e,i);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}}),v=n(11747);let b=["id","syno-id","tabindex","aria-disabled","aria-selected","aria-controls","onClick"],w={class:"tab-text-wrapper"},C={class:"tab-text"},S={key:0,class:"error-dot"},k=(0,m.createElementVNode)("i",{class:"prev-filter gradient-filter"},null,-1),x=(0,m.createElementVNode)("i",{class:"next-filter gradient-filter"},null,-1);var B=(0,v.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-layout"),a=(0,m.resolveComponent)("tab-footer"),l=(0,m.resolveDirective)("syno-id");return(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createBlock)(s,{class:(0,m.normalizeClass)(e.tabsCls),type:`tabs.${e.layoutType}`,order:e.layoutOrder},{default:(0,m.withCtx)(()=>[(0,m.createVNode)(s,{role:"tablist",class:(0,m.normalizeClass)(e.prefixCls+"-bar"),type:"tab-tbar",onKeydown:e.onKeyDown},{default:(0,m.withCtx)(()=>[(0,m.createElementVNode)("div",{class:(0,m.normalizeClass)(e.navContainerCls)},[(0,m.createElementVNode)("div",{ref:"navWrap",class:(0,m.normalizeClass)(e.navPrefixCls+"-wrap"),onScroll:t[0]||(t[0]=function(){return e.onTabNavScroll&&e.onTabNavScroll(...arguments)})},[((0,m.openBlock)(!0),(0,m.createElementBlock)(m.Fragment,null,(0,m.renderList)(e.innerNavTabsList,t=>((0,m.openBlock)(),(0,m.createElementBlock)("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:(0,m.normalizeClass)(e.getTabHeaderCls(t)),onClick:n=>e.onClickTab(t,{autoScroll:e.isMobile})},[(0,m.createElementVNode)("div",w,[(0,m.createElementVNode)("span",C,(0,m.toDisplayString)(t.tab),1),e.hasErrorState(t)?((0,m.openBlock)(),(0,m.createElementBlock)("i",S)):(0,m.createCommentVNode)("",!0)]),(0,m.createElementVNode)("div",{class:(0,m.normalizeClass)(e.tabPrefixCls+"-text-guard"),"aria-hidden":"true"},(0,m.toDisplayString)(t.tab),3)],10,b))),128))],34),e.showNavbarFilter?((0,m.openBlock)(),(0,m.createElementBlock)(m.Fragment,{key:0},[k,x],64)):(0,m.createCommentVNode)("",!0)],2)]),_:1},8,["class","onKeydown"]),(0,m.createVNode)(s,{ref:"body",class:(0,m.normalizeClass)(e.tabBodyCls),type:"tab-body"},{default:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"default")]),_:3},8,["class"]),!e.inInfoBoard&&e.useFooter?((0,m.openBlock)(),(0,m.createBlock)(s,{key:0,class:(0,m.normalizeClass)(e.fbarCls),type:"tab-fbar",role:"tabfooter"},{default:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"fbar",{},()=>[(0,m.createVNode)(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"])):(0,m.createCommentVNode)("",!0)]),_:3},8,["class","type","order"])),[[l]])}]])},43087:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var i=n(57530);let o=(0,n(53300).e)({components:[i.Z]})},57530:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}}),n(50401),n(91234);var i=n(49748),o=n(82442),r=n(92128),s=n(69092),a=n(81238),l=n(51028),c=n(37153),d=n(21812),u=n(30782),h=n(24121),p=n(80036),f=n(90946),m=n(63917),g=n(83871),y=n(25217),v=n(11747);(0,c.z)("timeline-group-arrow-up",d.np),(0,c.z)("timeline-group-arrow-down",d.u);let b=(0,y.defineComponent)({name:"Timeline",components:{vScrollbar:u.Z,vSlideUpDownTransition:h.Z,vIcon:g.Z},mixins:[c.Z],props:{[r.yz.value()]:{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(){let e=[...this.timePoints];e.sort((e,t)=>"ASC"===this.order?e.date-t.date:t.date-e.date);let t={};for(let n of e){let e=this.getGroupId(n);"top"!==e&&(e in t||(t[e]={points:[]}),t[e].points.push(n))}return t},timePointsMap(){let e=new Map;for(let t of this.timePoints)e.set(t.value,t);return e}},watch:{defaultGroupExpanded:{handler(e){this.expanded=Object.assign({},e)},immediate:!0},[r.yz.value()]:{async handler(e){e&&(this.selected=e,this.ensureSelectedItemVisible())},immediate:!0}},methods:{hasAction(){return(0,o._Y)(this,"time-point-item-action")},getSelectedTimePoint(){return this.timePointsMap.get(this.selected)},getGroupId:e=>e.group?e.group:a.Z(new Date(e.date))?.getTime(),getTimePointEl(e){return this.$el.querySelector(`#${this.getTimelinePointItemId(e.value)}`)},async ensureTimepointVisible(e){(0,i.t)(this.expanded,this.getGroupId(e),!0),await this.$nextTick();let 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):(0,l.Z)(new Date(e),"MMM yyyy")},getPointDateString(e){return e=Number(e),this.pointDateFormatter?this.pointDateFormatter(e):(0,l.Z)(new Date(e),"d MMM")},getPointTimeString(e){return e=Number(e),this.pointTimeFormatter?this.pointTimeFormatter(e):(0,l.Z)(new Date(e),"kk:mm:ss")},onClickGroupHeader(e){(0,i.t)(this.expanded,e,!this.expanded[e])},onSelectItem(e){this.selected=e.value,(0,s.Qy)(this,(0,r.ef)(),e.value)},ensureSelectedItemVisible(){let e=this.getSelectedTimePoint();this.ensureTimepointVisible(e)},getTimelinePointItemId:e=>(0,p.slugify)(`v-timeline-point-item-${e}`),async selectTimePointByOffset(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=[...this.$el.querySelectorAll(".point-item,.group-header")],n=this.getTimePointEl(this.getSelectedTimePoint()),o=t.findIndex(e=>n.contains(e));if(-1===o)return;let r=o+e;if(r<0||r>=t.length)return;let s=t[r];if(this.$refs.scrollbar?.ensureVisible(s),(0,m.hasClass)(s,"group-header")){let t=s.getAttribute("group-id");return this.expanded[t]||((0,i.t)(this.expanded,t,!0),await (0,p.sleep)(0)),void await this.selectTimePointByOffset(e+(e<0?-1:1))}t[r].focus(),t[r].click()},onArrowKeydown(e){(0,f.BU)(e)?this.selectTimePointByOffset(1):(0,f.Tx)(e)&&this.selectTimePointByOffset(-1)}}}),w=["id","onClick"],C=(0,y.createElementVNode)("div",{class:"line"},null,-1),S={class:"text"},k={class:"date"},x={class:"time"},B={key:0,class:"action-wrapper"},T=["group-id","onClick"],E={class:"text"},I={key:0,class:"group-points"},D=["id","onClick"],V=(0,y.createElementVNode)("div",{class:"line"},null,-1),N={class:"text"},_={class:"date"},M={class:"time"},$={key:0,class:"action-wrapper"};var Z=(0,v.Z)(b,[["render",function(e,t,n,i,o,r){let s=(0,y.resolveComponent)("v-icon"),a=(0,y.resolveComponent)("v-slide-up-down-transition"),l=(0,y.resolveComponent)("v-scrollbar");return(0,y.openBlock)(),(0,y.createElementBlock)("div",{class:"v-timeline",role:"list",onKeydown:[t[0]||(t[0]=(0,y.withKeys)((0,y.withModifiers)(function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)},["prevent"]),["up"])),t[1]||(t[1]=(0,y.withKeys)((0,y.withModifiers)(function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)},["prevent"]),["down"]))]},[(0,y.createVNode)(l,{ref:"scrollbar"},{default:(0,y.withCtx)(()=>[((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(e.topTimePoints,t=>((0,y.openBlock)(),(0,y.createElementBlock)("li",{id:e.getTimelinePointItemId(t.value),key:t.value,class:(0,y.normalizeClass)(["point-item",{selected:t.value===e.selected}]),tabindex:"-1",onClick:n=>e.onSelectItem(t)},[C,(0,y.createElementVNode)("div",S,[(0,y.renderSlot)(e.$slots,`${t.slot}-text`,{},()=>[(0,y.createElementVNode)("div",k,(0,y.toDisplayString)(e.getPointDateString(t.date)),1),(0,y.createElementVNode)("div",x,(0,y.toDisplayString)(e.getPointTimeString(t.date)),1)])]),(0,y.renderSlot)(e.$slots,"time-point-item-desc",{timePoint:t}),e.hasAction()?((0,y.openBlock)(),(0,y.createElementBlock)("div",B,[(0,y.renderSlot)(e.$slots,"time-point-item-action",{timePoint:t})])):(0,y.createCommentVNode)("",!0)],10,w))),128)),((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(Object.keys(e.timePointGroup),t=>((0,y.openBlock)(),(0,y.createElementBlock)("li",{key:t,class:"group"},[(0,y.createElementVNode)("div",{class:(0,y.normalizeClass)(e.groupHeaderCls(t)),"group-id":t,tabindex:"-1",onClick:n=>e.onClickGroupHeader(t)},[(0,y.createElementVNode)("div",E,(0,y.toDisplayString)(e.getGroupDateString(t))+" ("+(0,y.toDisplayString)(e.timePointGroup[t].points.length)+") ",1),(0,y.createVNode)(s,{name:e.expanded[t]?"timeline-group-arrow-up":"timeline-group-arrow-down",class:"arrow","svg-icon-set":"set31"},null,8,["name"])],10,T),(0,y.createVNode)(a,null,{default:(0,y.withCtx)(()=>[e.expanded[t]?((0,y.openBlock)(),(0,y.createElementBlock)("div",I,[((0,y.openBlock)(!0),(0,y.createElementBlock)(y.Fragment,null,(0,y.renderList)(e.timePointGroup[t].points,t=>((0,y.openBlock)(),(0,y.createElementBlock)("li",{id:e.getTimelinePointItemId(t.value),key:t.value,class:(0,y.normalizeClass)(["point-item",{selected:t.value===e.selected}]),tabindex:"-1",onClick:n=>e.onSelectItem(t)},[V,(0,y.createElementVNode)("div",N,[(0,y.createElementVNode)("div",_,(0,y.toDisplayString)(e.getPointDateString(t.date)),1),(0,y.createElementVNode)("div",M,(0,y.toDisplayString)(e.getPointTimeString(t.date)),1)]),(0,y.renderSlot)(e.$slots,"time-point-item-desc",{timePoint:t}),e.hasAction()?((0,y.openBlock)(),(0,y.createElementBlock)("div",$,[(0,y.renderSlot)(e.$slots,"time-point-item-action",{timePoint:t})])):(0,y.createCommentVNode)("",!0)],10,D))),128))])):(0,y.createCommentVNode)("",!0)]),_:2},1024)]))),128))]),_:3},512)],32)}]])},20444:function(e,t,n){"use strict";n.d(t,{Z:function(){return r},p:function(){return o}});var i=n(29151);let o=()=>{(0,i.N6)("you are not install vToastPlugin yet, please install it first")};function r(e){o=e}},45359:function(e,t,n){"use strict";n.d(t,{h:function(){return l}});var i=n(33929),o=n(88358),r=n(60674),s=n(53300),a=n(20444);let l=(0,s.e)({components:[i.Z]},e=>{let t=(0,o.a0)(e),n=function(){for(var t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return(0,r.e)(e,...n)};(0,a.Z)(()=>({open:n})),t&&(t.$getToastBox=n)})},60674:function(e,t,n){"use strict";n.d(t,{e:function(){return l}});var i=n(29151),o=n(22412),r=n(18049),s=n(47696),a=n(33929);let l=function(e,t,n,l){let{destroyFn:c,component:d,anchorEl:u}=(0,s.J)(e,a.Z,{onDestroy:()=>c?.(),...n});return t.appendChild(u),(0,r.Re)(l?.containerEl)&&(t===l.containerEl||o.Ys||(0,i.D8)("[Toast] The mountEl should not be different from the containerEl, as it will cause incorrect alignment.",void 0,"mountEl:",t,"alignConfig.containerEl:",l.containerEl)),d.doAlign(t,{containerEl:t,...l}),d}},33929:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(62704),o=n(84593),r=n(7912),s=n(80036),a=n(86483),l=n(16447),c=n(37153),d=n(21812),u=n(83871),h=n(25217),p=n(11747);(0,c.z)("toast-close",d.nT);var f=(0,p.Z)((0,h.defineComponent)({name:"Toast",components:{withTransition:(0,l.Q)(h.Transition),vIcon:u.Z},mixins:[i.ZP,o.Z,r.ZP,c.Z],props:{showClose:{type:Boolean,default:void 0},delay:{type:[Number,String,Boolean],default:5e3},onClick:{type:Function,default:s.noop},text:{type:String,default:""},actionBtnText:{type:String,default:""},actionBtnCls:{type:String,default:""},textCls:{type:String,default:""},onClickActionBtn:{type:Function,default:s.noop},animate:{type:[Boolean,String],default:!0},icon:{type:[String,Boolean],default:!1},interactive:{type:Boolean,default:!1},onDestroy:{type:Function,default:s.noop}},data:()=>({prefix:"v-toast",left:0,top:0,destroyTimer:null}),computed:{innerShowClose(){return(0,s.isBoolean)(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(0,s.isString)(this.animate)?this.animate:"fadeInUp"},hasAnimate(){return!!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]:{},n=t?.anchorEl??e,i=t?.offset,o=t?.align??"t->t",r=!(0,s.isBoolean)(t?.constrainMode)||t?.constrainMode,l=!(0,s.isBoolean)(t?.absoluteMode)||t?.absoluteMode,c=t?.containerEl??(0,a.V)(this.$refs.root),{x:d,y:u}=this.$alignManager.getAlignToXYv2(this.$refs.root,n,o,{offset:i,constrain:r,absoluteMode:l,containerEl:c});this.left=d,this.top=u},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,n,i,o,r){let s=(0,h.resolveComponent)("v-icon"),a=(0,h.resolveComponent)("with-transition");return(0,h.openBlock)(),(0,h.createBlock)(a,{wrap:e.hasAnimate,name:e.transitionName,appear:""},{default:(0,h.withCtx)(()=>[(0,h.createElementVNode)("div",{ref:"root",class:(0,h.normalizeClass)(e.wrapCls),style:(0,h.normalizeStyle)(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?((0,h.openBlock)(),(0,h.createBlock)(s,{key:0,name:e.icon},null,8,["name"])):(0,h.createCommentVNode)("",!0),(0,h.createElementVNode)("div",{class:(0,h.normalizeClass)(e.extendedTextCls),onClick:t[0]||(t[0]=function(){return e.onClick&&e.onClick(...arguments)})},(0,h.toDisplayString)(e.text),3),e.actionBtnText?((0,h.openBlock)(),(0,h.createElementBlock)("button",{key:1,class:(0,h.normalizeClass)(e.extendedActionBtnCls),onClick:t[1]||(t[1]=()=>e.onClickActionBtn(this))},(0,h.toDisplayString)(e.actionBtnText),3)):(0,h.createCommentVNode)("",!0),e.innerShowClose?((0,h.openBlock)(),(0,h.createBlock)(s,{key:2,name:"toast-close",class:(0,h.normalizeClass)(`${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"])):(0,h.createCommentVNode)("",!0)],38)]),_:1},8,["wrap","name"])}]])},61331:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var i=n(54203);let o=(0,n(53300).e)({components:[i.Z]})},54203:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(92128),o=n(69092),r=n(82442),s=n(39546),a=n(8725),l=n(25217),c=n(58954),d=(0,l.defineComponent)({name:"Toggle",components:{vSpinIcon:s.Z},mixins:[a.Z],props:{[i.yz.value()]:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},onBeforeChange:{type:(0,c.C)(Function),default:void 0}},emits:["update:model-value"],data:()=>({}),computed:{compCls(){return["v-toggle",{"v-toggle--on":(0,i.eQ)(this),"v-toggle--disabled":this.disabled,"v-toggle--loading":this.loading}]}},methods:{hasPrefix(){return(0,r._Y)(this,"prefix")},hasSuffix(){return(0,r._Y)(this,"suffix")},getValue(){return(0,i.eQ)(this)},async handleChange(e){this.disabled||this.getValue()===e||this.loading||!1===await this.onBeforeChange?.()||(0,o.Qy)(this,(0,i.ef)(),e)},onSwitch(){this.handleChange(!this.getValue())}}}),u=n(11747);let h=["aria-checked","aria-disabled"],p={key:0,class:"v-toggle__prefix"},f={key:1,class:"v-toggle__loading"},m={key:2,class:"v-toggle__track"},g=[(0,l.createElementVNode)("div",{class:"v-toggle__indicator"},null,-1)],y={key:3,class:"v-toggle__suffix"};var v=(0,u.Z)(d,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-spin-icon");return(0,l.openBlock)(),(0,l.createElementBlock)("div",{role:"switch",tabindex:"-1",class:(0,l.normalizeClass)(e.compCls),"aria-checked":e.getValue(),"aria-disabled":e.disabled,onClick:t[0]||(t[0]=(0,l.withModifiers)(function(){return e.onSwitch&&e.onSwitch(...arguments)},["prevent"])),onKeydown:[t[1]||(t[1]=(0,l.withKeys)((0,l.withModifiers)(function(){return e.onSwitch&&e.onSwitch(...arguments)},["prevent"]),["enter"])),t[2]||(t[2]=(0,l.withKeys)((0,l.withModifiers)(function(){return e.onSwitch&&e.onSwitch(...arguments)},["prevent"]),["space"]))]},[e.hasPrefix()?((0,l.openBlock)(),(0,l.createElementBlock)("div",p,[(0,l.renderSlot)(e.$slots,"prefix",{disabled:e.disabled,value:e.getValue(),loading:e.loading})])):(0,l.createCommentVNode)("",!0),e.loading?((0,l.openBlock)(),(0,l.createElementBlock)("div",f,[(0,l.createVNode)(s)])):((0,l.openBlock)(),(0,l.createElementBlock)("div",m,g)),e.hasSuffix()?((0,l.openBlock)(),(0,l.createElementBlock)("div",y,[(0,l.renderSlot)(e.$slots,"suffix",{disabled:e.disabled,value:e.getValue(),loading:e.loading})])):(0,l.createCommentVNode)("",!0)],42,h)}]])},20947:function(e,t,n){"use strict";n.d(t,{W:function(){return o}});var i=n(61036);let o=(0,n(53300).e)({components:[i.Z]})},61036:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(1305),o=n(69092),r=n(25217),s=(0,n(11747).Z)((0,r.defineComponent)({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(){let e=this.shouldFocus();!1!==e&&("self"===e?this.focusTrapper():"last"===e?this.focusLastDescendantInBody():"first"===e&&this.focusFirstDescendantInBody(),(0,o.Qy)(this,"focus"))},focusTrapper(){this.$refs.trapper&&this.$refs.trapper.focus()},focusFirstDescendantInBody(){this.$refs.body&&(0,i.fo)(this.$refs.body)},focusLastDescendantInBody(){this.$refs.body&&(0,i.bg)(this.$refs.body)}}}),[["render",function(e,t,n,i,o,s){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{ref:"trapper",tabindex:"-1",onFocus:t[2]||(t[2]=function(){return e.focus&&e.focus(...arguments)})},[(0,r.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",onFocus:t[0]||(t[0]=function(){return e.focusLastDescendantInBody&&e.focusLastDescendantInBody(...arguments)})},null,32),(0,r.createElementVNode)("div",{ref:"body",class:(0,r.normalizeClass)(e.innerBodyClass)},[(0,r.renderSlot)(e.$slots,"default")],2),(0,r.renderSlot)(e.$slots,"alert-last"),(0,r.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",onFocus:t[1]||(t[1]=function(){return e.focusFirstDescendantInBody&&e.focusFirstDescendantInBody(...arguments)})},null,32)],544)}]])},32758:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var i=n(95099);let o=(0,n(53300).e)({components:[i.Z]})},95099:function(e,t,n){"use strict";n.d(t,{Z:function(){return z}}),n(35005),n(50401),n(56165),n(15773),n(15065);var i=n(88358),o=n(49748),r=n(69092),s=n(82442),a=n(62704),l=n(30782),c=n(24121),d=n(79237);n(879),n(91234),n(80438);var u=n(80036),h=n(25217),p=(0,h.defineComponent)({mixins:[a.ZP],props:{checkbox:{type:Boolean,default:!1}},emits:["internal-checked","checked","checked-up","checked-down"],created(){(0,r.Zn)(this,"checked-up",e=>{let t=this.getNodePath(this.currentData,e[this.paramsInfo.id]);if(0===t.length)return;let[{node:n}]=t;this.updateCheckedStateByNode(n),this.dispatch("TreePanel","checked-up",n)}),(0,r.Zn)(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(let e of this.currentData)(0,u.isDefined)(e.disabled)&&(0,o.t)(e,"disabled",e.disabled||!1),(0,u.isDefined)(e.indeterminate)&&(0,o.t)(e,"_indeterminate",e.indeterminate||!1),e.checked||e._indeterminate?((0,o.t)(e,"checked",e.checked||!1),(0,o.t)(e,"_indeterminate",e._indeterminate||!1)):(this.parent&&!1===this.parent._indeterminate&&!0!==e.disabled&&!0===this.parent.checked?(0,o.t)(e,"checked",!0):(this.parent&&!1===this.parent._indeterminate&&!0!==e.disabled&&this.parent.checked,(0,o.t)(e,"checked",!1)),(0,o.t)(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){let t=this.currentData.findIndex(t=>t[this.paramsInfo.id]===e),n=this.currentData[t];if(t>=0){let e=!n.checked;n._indeterminate&&(e=!0),this.checkByClick(n,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(0,r.Qy)(this,"internal-checked",e);(0,r.Qy)(this,"checked",{path:this.getNodePath(this.currentData,e[this.paramsInfo.id]),checked:e.checked,_indeterminate:e._indeterminate,node:e})},updateCheckedStateByNode(e){let t=e[this.paramsInfo.children].filter(e=>!e.disabled);if(e&&!e.disabled&&t){if((0,u.isDefined)(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){for(let t of this.currentData.filter(e=>!e.disabled))t.disabled||(t.checked=e.checked,t._indeterminate=(0,u.isDefined)(t.indeterminate)?t.indeterminate:e._indeterminate)}}}),f=n(74547),m=n(50915),g=n(16447),y=n(63917),v=n(29151),b=n(39546),w=n(78671),C=n(37153),S=n(21812),k=n(83871),x=n(71510),B=n(11747);(0,C.z)("tree-panel-arrow-right",S.W2),(0,C.z)("tree-panel-arrow-down",S.Pd);let T={TOP:Symbol("INSERT_TOP"),BOTTOM:Symbol("INSERT_BOTTOM"),INNER:Symbol("INSERT_INNER"),UNKNOWN:Symbol("INSERT_UNKNOWN")},E={TOP:Symbol("DRAGGING_TOP"),BOTTOM:Symbol("DRAGGING_BOTTOM"),INNER:Symbol("DRAGGING_INNER"),NONE:Symbol("DRAGGING_NONE")};function I(e){return!1!==e.selectable&&!e.disabled}function D(e){return e===T.TOP?"top":e===T.BOTTOM?"bottom":e===T.INNER?"inner":"unknown"}let V=(0,h.defineComponent)({name:"TreePanel",components:{vSlideUpDownTransition:c.Z,vCheckbox:d.Z,vSpinIcon:b.Z,vIcon:k.Z,withScrollbar:(0,g.Q)(l.Z),withDragTarget:(0,g.Q)(m.Z)},directives:{tooltip:f.Z},mixins:[a.ZP,p,C.Z],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=>(0,u.isString)(e)?["append-only","full"].includes(e):((0,u.isObject)(e),!0)},getDragZone:{type:Function,default:void 0},getDraggingProps:{type:Function,default:()=>({})},parent:{type:Object,default:()=>null},validateDrop:{type:Function,default:u.noop},validateDrag:{type:Function,default:u.noop},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(0,u.isObject)(this.draggable)?this.draggable.draggingId??`dragging-${(0,x.V)()}`:`dragging-${(0,x.V)()}`},draggingType(){return((0,u.isObject)(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;){let n=t.pop(),i=n[this.paramsInfo.children]||[];e.push(n);for(let e=i.length-1;e>=0;e--)t.push(i[e])}return e},displayedNodes(){return this.isRoot?this.flattenNodes.reduce((e,t)=>((function e(t){return!t._parentNode||t._parentNode.expanded&&e(t._parentNode)})(t)&&I(t)&&e.push(t),e),[]):null},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=>(0,u.isArray)(t[this.paramsInfo.children])&&t[this.paramsInfo.children].map(e=>e.id).includes(e.path[0]?.id));void 0!==t&&e.path.unshift(t)};(0,r.Zn)(this,"node-clicked",t=>{if(e(t),"0"!==this.level)return this.dispatch("TreePanel","node-clicked",t);(0,r.Qy)(this,"clicked",t)}),(0,r.Zn)(this,"node-selected",t=>{if(e(t),"0"!==this.level)return this.dispatch("TreePanel","node-selected",t);this.currentSelectedId=t.id,(0,r.Qy)(this,"selected",this.getSelectedNodes(),t)}),["node-expanded","node-collapsed"].forEach(t=>{(0,r.Zn)(this,t,n=>{if(e(n),"0"!==this.level)return this.dispatch("TreePanel",t,n);(0,r.Qy)(this,"node-expanded"===t?"expanded":"collapsed",n)})}),(0,r.Zn)(this,"cancel-selected",e=>{this.broadcast("TreePanel","cancel-selected",e),this!==e.origin&&this.cancelSelectState()}),(0,r.Zn)(this,"set-node-expanded",(e,t)=>{this.setExpandByNodeId(e,t)}),(0,r.Zn)(this,"set-node-checked",e=>{this.setCheckedByNodeId(e)})},mounted(){this.preHandleData(),this.$nextTick(()=>{this.updateDragTargets()})},[i.mT.beforeUnmount](){["node-clicked","node-selected","node-expanded","node-collapsed","cancel-selected"].forEach(e=>(0,r.M5)(this,e)),this._destroyDragZone?.()},methods:{hasArrowIcon(e){return!this.isModule},getArrowIconCls(e){return{hided:this.asyncExpandFunc?!1===e.expandable:e.isLeaf||!e[this.paramsInfo.children]||0===e[this.paramsInfo.children].length}},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(0,s.FJ)(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===E.TOP&&e._showIndicator:e._draggingTo===E.BOTTOM&&e._showIndicator,getDragInfo(e,t){let n=e.clientX,i=e.clientY,o=document.elementFromPoint(n,i),r=(0,y.findParentBySelector)(o,`li.${this.prefixCls}-node`),s=this.nodesMap[t.el.getAttribute("node-id")];if(!r)return{type:T.UNKNOWN,el:null,node:null,draggingNode:s};let a=r.getBoundingClientRect(),l=this.nodesMap[r.getAttribute("node-id")],c=[n-a.x,i-a.y];return{type:"append-only"===this.draggingType?T.INNER:c[1]>a.height-3?T.BOTTOM:c[1]<3?T.TOP:T.INNER,el:r,node:l,draggingNode:s}},onDrag(e,t){if(!this.isRoot)return this.getRootTree()?.onDrag(e,t);this.currentDragging=!0;let n=this.nodesMap[t.el.getAttribute("node-id")];n&&(n._dragging=!0)},onValidDrop(e,t,n){if(!this.isRoot)return this.getRootTree()?.onValidDrop(e,t,n);let i=this.getDragInfo(e,n),s=i.draggingNode;if(!this.isValidDrag(i,s))return;let a=T.TOP?"top":T.BOTTOM?"bottom":T.INNER;if(!1===this.validateDrop({type:a,draggingNode:s,landedNode:i.node}))return;let l=s._parentNode?s._parentNode[this.paramsInfo.children]:this.currentData,c=i.node._parentNode?i.node._parentNode[this.paramsInfo.children]:this.currentData,d=l.findIndex(e=>e[this.paramsInfo.id]===s[this.paramsInfo.id]);if(l.splice(d,1),s._parentNode&&(s._parentNode.isLeaf=s._parentNode.length<=0),i.type===T.INNER)i.node[this.paramsInfo.children]=i.node[this.paramsInfo.children]||[],i.node[this.paramsInfo.children].push(s),(i.node.isLeaf||!i.node.children||i.node.children.length<=0)&&(0,o.t)(i.node,"expanded",!0),i.node.isLeaf=i.node[this.paramsInfo.children].length<=0,s._parentNode=i.node;else if(i.type===T.TOP){let e=c.findIndex(e=>e[this.paramsInfo.id]===i.node[this.paramsInfo.id]);c.splice(e,0,s),s._parentNode=i.node._parentNode}else if(i.type===T.BOTTOM){let e=c.findIndex(e=>e[this.paramsInfo.id]===i.node[this.paramsInfo.id]);c.splice(e+1,0,s),s._parentNode=i.node._parentNode}(0,r.Qy)(this,"update:data",this.currentData),(0,r.Qy)(this,"drop",{draggingNode:s,type:a,landedNode:i.node})},isValidDrag(e,t){return!(!e.el||function(e,t){let n=e._parentNode;for(;n;){if(n===t)return!0;n=n._parentNode}return!1}(e.node,t)||e.type===T.INNER&&(!1===e.node.canAppend||e.node===t)||e.node[this.paramsInfo.id]===t[this.paramsInfo.id])},onDrop(e,t,n,i){if(!this.isRoot)return this.getRootTree()?.onDrop(e,t,n,i);this.currentDragging=!1;let o=this.getDragInfo(e,n);(!(0,u.isObject)(this.draggable)||!1!==this.draggable.onDrop?.(e,t,n,{...o,type:D(o.type),...i}))&&(o.draggingNode&&(o.draggingNode._dragging=!1),this._autoExpandTimer&&window.clearTimeout(this._autoExpandTimer),this._showIndicatorTimer&&window.clearTimeout(this._showIndicatorTimer),this._prevLandedNode&&(this._prevLandedNode._draggingTo=E.NONE))},onDragEnter(e,t,n){if(!this.isRoot)return this.getRootTree()?.onDragEnter(e,t,n);if((0,u.isObject)(this.draggable)){let i=this.getDragInfo(e,n);return this.draggable.onDragEnter?.(e,t,n,{...i,type:D(i.type)})}},onDragOut(e,t,n){if(!this.isRoot)return this.getRootTree()?.onDragOut(e,t,n);if((0,u.isObject)(this.draggable)){let i=this.getDragInfo(e,n);return this.draggable.onDragOut?.(e,t,n,{...i,type:D(i.type)})}},onDragOver(e,t,n){if(!this.isRoot)return this.getRootTree()?.onDragOver(e,t,n);let i=this.nodesMap[n.el.getAttribute("node-id")],o=this.getDragInfo(e,n);if((0,u.isObject)(this.draggable)){let i=this.draggable.onDragOver?.(e,t,n,{...o,type:D(o.type)});if((0,u.isString)(i))return i;if(!1===i)return this._prevLandedStatus=n.getInvalidStatusCls(),n.getInvalidStatusCls();if(!0===i)return this._prevLandedStatus=n.getValidStatusCls(),n.getValidStatusCls()}return o.el&&(this._prevLandedType!==o.type||this._prevLandedNode[this.paramsInfo.id]!==o.node[this.paramsInfo.id])?(this._autoExpandTimer&&window.clearTimeout(this._autoExpandTimer),this._showIndicatorTimer&&window.clearTimeout(this._showIndicatorTimer),this._prevLandedNode&&(this._prevLandedNode._draggingTo=E.NONE),this._prevLandedType=o.type,this._prevLandedNode=o.node,!1===this.validateDrag({type:D(o.type),draggingNode:i,landedNode:o.node})?(this._prevLandedStatus=n.getInvalidStatusCls(),n.getInvalidStatusCls()):this.isValidDrag(o,i)?(this._prevLandedStatus=n.getValidStatusCls(),void(o.type===T.INNER?(o.node._draggingTo=E.INNER,this._autoExpandTimer=window.setTimeout(()=>{o.node.expanded=!0},600)):o.type===T.TOP?(o.node._draggingTo=E.TOP,o.node._showIndicator=!1,this._showIndicatorTimer=window.setTimeout(()=>{o.node._showIndicator=!0},0)):o.type===T.BOTTOM&&(o.node._draggingTo=E.BOTTOM,o.node._showIndicator=!1,this._showIndicatorTimer=window.setTimeout(()=>{o.node._showIndicator=!0},0)))):(this._prevLandedStatus=n.getInvalidStatusCls(),n.getInvalidStatusCls())):this._prevLandedStatus},getDragProps(e){return(0,w.Z)({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>"}},async updateDragTargets(){await this.$nextTick();let e=this.getRootTree();if(this.$refs.dragTargets&&e)for(let 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(0,u.isObject)(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]:"",n=e[this.paramsInfo.id]||e[this.paramsInfo.title];return n=n.replace(/\s/g,"").toLowerCase(),t?`${this.synoId}-${t}-${n}`:`${this.synoId}-${n}`},getNodeCls(e){return[`${this.prefixCls}-node`,{[e[this.paramsInfo.customClass]]:!!e[this.paramsInfo.customClass]}]},hasIcon:e=>e.icon||e.iconCls,iconProps:e=>(0,u.isObject)(e.icon)?e.icon:(0,u.isString)(e.icon)?{name:e.icon}:void 0,selectHandleCls(e){e[this.paramsInfo.id]||(0,v.Kd)(`${this.paramsInfo.id} property of item is required`);let t=[`${this.prefixCls}-node-wrapper`,{[`${this.prefixCls}-dragging-inner`]:e._draggingTo===E.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(let[e,t]of this.currentData.entries())(0,o.t)(t,"level",`${this.level}-${e}`),(0,o.t)(t,"_draggingTo",E.NONE),(0,o.t)(t,"_showIndicator",!1),(0,o.t)(t,"_dragging",!1),(0,o.t)(t,"_loading",!1),(0,o.t)(t,"_parentNode",this.parent),this.asyncExpandFunc?(0,o.t)(t,"isLeaf",!1):((0,o.t)(t,"isLeaf",!0),t[this.paramsInfo.children]&&t[this.paramsInfo.children].length>0&&(0,o.t)(t,"isLeaf",!1));this.prepareCheckboxData()},hasChildren(e){return(0,u.isArray)(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){(0,o.t)(e,"_loading",!0);let t=await this.asyncExpandFunc(e);(0,o.t)(e,this.paramsInfo.children,t),(0,o.t)(e,"_loading",!1),await this.$nextTick()}},getChildTree(e){let t=this.getNodePath(this.currentData,e);if(!t.length)return!1;let n=this;for(let e of t.slice(0,-1)){let t=e.index;n=n.$refs[`childBranch-${t}`]&&n.$refs[`childBranch-${t}`][0]}return n},getNodeEl(e){let t=this.getNodePath(this.currentData,e);if(!t.length)return!1;let n=this;for(let[e,i]of t.entries())n=e===t.length-1?n.$refs.node[i.index]:n.$refs[`childBranch-${i.index}`]&&n.$refs[`childBranch-${i.index}`][0];return n},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 n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!1===this.currentData[e].expandable)return;let r=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],n),!0!==r&&(await this.$nextTick(),(0,o.t)(this.currentData[this.expandedIndex],"expanded",!0))):!1!==r&&(await this.$nextTick(),(0,o.t)(this.currentData[this.expandedIndex],"expanded",!1)),i&&await new Promise(t=>{(0,y.once)(this.$refs[`slideUpDown-${e}`]?.[0]?.$el,"transitionend",t)})},toggleExpand(e){if(!1===this.currentData[e].expandable)return;let t=!this.currentData[e].expanded;return this.setExpand(e,t)},bubbleEvent(e,t){this.isRoot?(0,r.Qy)(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&&I(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 n=[];for(let i of e){let e=!0;for(let[n,o]of Object.entries(t))if(i[n]!==o){e=!1;break}e&&n.push(i),i[this.paramsInfo.children]&&i[this.paramsInfo.children].length&&(n=n.concat(this.getNodes(i[this.paramsInfo.children],t)))}return n},getSelectedNodes(e){for(let t of e=e||this.currentData){if(t[this.paramsInfo.id]===this.currentSelectedId)return[Object.assign({},t)];if(t[this.paramsInfo.children]){let e=this.getSelectedNodes(t[this.paramsInfo.children]);if(e.length>0)return e}}return[]},getNodePath(e,t){e=e||this.currentData;let n=[],i=[];for(let o=0;o<e.length;o++){let r=e[o];if(r[this.paramsInfo.children]&&r[this.paramsInfo.children].length&&(i=this.getNodePath(r[this.paramsInfo.children],t)),i.length>0||r[this.paramsInfo.id]===t){(n=i).unshift({node:r,index:o});break}}return n},async updateNode(e,t){let n=this.getNodePath(this.currentData,e);if(!n.length)return!1;let i=this;for(let[e,o]of n.entries()){let r=o.index;if(e===n.length-1)return void await i.fetchChildByPath(o.index,t);i.data[o.index].expanded||await i.setExpand(o.index,!0,!0),i=i.$refs[`childBranch-${r}`][0]}},async expandNode(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.getNodePath(this.currentData,e);if(!i.length)return!1;let o=this;for(let[e,r]of i.entries()){let s=r.index;e===i.length-1?await o.setExpand(r.index,!0,n):o.data[r.index].expanded||await o.setExpand(r.index,!0,t),o=o.$refs[`childBranch-${s}`][0]}},async selectNode(e){let t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=this.getNodePath(this.currentData,e);if(!o.length)return!1;let r,s=this;for(let[e,a]of o.entries()){if(!s)break;r=a.index,e===o.length-1?(await s.setSelect(a.index),t=s.$refs.node?.[a.index]):s.data[a.index].expanded||await s.setExpand(a.index,!0,n,i),s=s.$refs[`childBranch-${r}`]?.[0]}return i&&(await Promise.all([]),window.setTimeout(()=>{this.scrollToNode(t)},0)),t},scrollToNode(e){(0,y.scrollTo)(e,{scrollMode:"if-needed",behavior:!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"smooth":"auto"})},setExpandByNodeId(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.currentData.findIndex(t=>t[this.paramsInfo.id]===e);n>-1?this.setExpand(n,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&&!I(this.displayedNodes[e]););this.selectNodeByIndex(e)},selectNextNode(){let e=this.displayedNodes.findIndex(e=>e[this.paramsInfo.id]===this.currentSelectedId);for(;++e<this.displayedNodes.length&&!I(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;let t=this.displayedNodes[e];this.currentSelectedId=t[this.paramsInfo.id],(0,r.Qy)(this,"selected",this.getSelectedNodes());let n=this.getNodeEl(t[this.paramsInfo.id]);this.expandOnSelect&&this.setExpandByNodeId(this.currentSelectedId,!0),this.$refs["scroll-root"]?.ensureVisible(n)},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)}}}),N=["role","tabindex","aria-activedescendant"],_={key:0,class:"top-indicator dragging-indicator"},M=["node-id","onClick","onDblclick"],$=["id","innerHTML"],Z=["id"],A={key:2,class:"suffix-slot"},O={key:3,class:"action-slot"},F={key:1,class:"bottom-indicator dragging-indicator"};var z=(0,B.Z)(V,[["render",function(e,t,n,i,o,r){let s=(0,h.resolveComponent)("v-spin-icon"),a=(0,h.resolveComponent)("v-icon"),l=(0,h.resolveComponent)("v-checkbox"),c=(0,h.resolveComponent)("with-drag-target"),d=(0,h.resolveComponent)("tree-panel",!0),u=(0,h.resolveComponent)("v-slide-up-down-transition"),p=(0,h.resolveComponent)("with-scrollbar"),f=(0,h.resolveDirective)("tooltip"),m=(0,h.resolveDirective)("syno-id");return(0,h.openBlock)(),(0,h.createBlock)(p,{ref:"scroll-root",wrap:e.showScrollbar,class:(0,h.normalizeClass)(e.scrollbarCls)},{default:(0,h.withCtx)(()=>[(0,h.withDirectives)(((0,h.openBlock)(),(0,h.createElementBlock)("ul",{class:(0,h.normalizeClass)(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]=(0,h.withKeys)((0,h.withModifiers)(function(){return e.selectNodeByKeyup&&e.selectNodeByKeyup(...arguments)},["prevent"]),["up"])),t[4]||(t[4]=(0,h.withKeys)((0,h.withModifiers)(function(){return e.selectNodeByKeyup&&e.selectNodeByKeyup(...arguments)},["prevent"]),["down"])),t[5]||(t[5]=(0,h.withKeys)((0,h.withModifiers)(function(){return e.expandNodeByKeyup&&e.expandNodeByKeyup(...arguments)},["prevent"]),["right"])),t[6]||(t[6]=(0,h.withKeys)((0,h.withModifiers)(function(){return e.collapseNodeByKeyup&&e.collapseNodeByKeyup(...arguments)},["prevent"]),["left"])),t[7]||(t[7]=(0,h.withKeys)((0,h.withModifiers)(function(){return e.checkNodeByKeyup&&e.checkNodeByKeyup(...arguments)},["prevent"]),["space"]))]},[((0,h.openBlock)(!0),(0,h.createElementBlock)(h.Fragment,null,(0,h.renderList)(e.currentData,(n,i)=>((0,h.openBlock)(),(0,h.createBlock)((0,h.resolveDynamicComponent)(e.getListItemTag()),{id:n[e.paramsInfo.id],key:e.getItemKey(n),"syno-id":e.getSynoId(n),class:(0,h.normalizeClass)(e.getNodeCls(n)),role:"treeitem","node-id":n[e.paramsInfo.id],"aria-expanded":n.expanded?"true":"false",item:n,index:i},{default:(0,h.withCtx)(()=>[e.hasIndicator(n,"top")?((0,h.openBlock)(),(0,h.createElementBlock)("div",_)):(0,h.createCommentVNode)("",!0),(0,h.createVNode)(c,{ref_for:!0,ref:"dragTargets",wrap:!!e.draggable,"drag-props":e.getDragProps(n),"get-drag-zone":e.isRoot?e.getInnerDragZone:e.getDragZone,"dragging-id":e.draggingId,payload:{componentName:e.$options.name},"auto-scroll-element":""},{default:(0,h.withCtx)(()=>[(0,h.createElementVNode)("div",{ref_for:!0,ref:"node",class:(0,h.normalizeClass)(e.selectHandleCls(n)),"node-id":n[e.paramsInfo.id],onClick:(0,h.withModifiers)(t=>e.setSelect(i),["prevent"]),onDblclick:(0,h.withModifiers)(t=>e.toggleExpand(i),["prevent"])},[(0,h.renderSlot)(e.$slots,`tree-node-${n.slot}`,{item:n},()=>[(0,h.createElementVNode)("span",{class:(0,h.normalizeClass)(e.indentClass),style:(0,h.normalizeStyle)(e.indentStyle)},null,6),n._loading?((0,h.openBlock)(),(0,h.createBlock)(s,{key:0,class:(0,h.normalizeClass)(`${e.prefixCls}-spin-icon`)},null,8,["class"])):e.hasArrowIcon(n)?((0,h.openBlock)(),(0,h.createBlock)(a,{key:1,"syno-id":e.getSynoId(n,"arrow"),name:n.expanded?"tree-panel-arrow-down":"tree-panel-arrow-right",class:(0,h.normalizeClass)(["tree-panel-arrow v-tree-panel-arrow",e.getArrowIconCls(n)]),"svg-icon-set":"set01",onClick:(0,h.withModifiers)(t=>e.toggleExpand(i),["prevent","stop"]),onDblclick:t[0]||(t[0]=(0,h.withModifiers)(()=>{},["prevent","stop"]))},null,8,["syno-id","name","class","onClick"])):(0,h.createCommentVNode)("",!0),e.checkbox?((0,h.openBlock)(),(0,h.createBlock)(l,{key:2,id:n.id,"syno-id":e.getSynoId(n,"checkbox"),value:n.checked,"model-value":n.checked,indeterminate:n._indeterminate,disabled:n.disabled,onInput:t=>e.checkByClick(n,t),"onUpdate:modelValue":t=>e.checkByClick(n,t),onClick:t[1]||(t[1]=(0,h.withModifiers)(()=>{},["stop"])),onDblclick:t[2]||(t[2]=(0,h.withModifiers)(()=>{},["stop"]))},null,8,["id","syno-id","value","model-value","indeterminate","disabled","onInput","onUpdate:modelValue"])):(0,h.createCommentVNode)("",!0),e.hasIcon(n)?((0,h.openBlock)(),(0,h.createBlock)(a,(0,h.mergeProps)({key:3,ref_for:!0,ref:`${e.getItemKey(n)}-icon`},e.iconProps(n),{class:"v-tree-panel-icon"}),null,16)):(0,h.createCommentVNode)("",!0),(0,h.createElementVNode)("span",{class:(0,h.normalizeClass)(e.prefixCls+"-node-content-wrapper")},[e.useHtml(n)?(0,h.withDirectives)(((0,h.openBlock)(),(0,h.createElementBlock)("span",{key:0,id:`${n.id}-text`,ref_for:!0,ref:`${e.getItemKey(n)}-text`,class:(0,h.normalizeClass)(e.prefixCls+"-title"),innerHTML:n[e.paramsInfo.title]},null,10,$)),[[f,e.getTip(n)]]):(0,h.withDirectives)(((0,h.openBlock)(),(0,h.createElementBlock)("span",{key:1,id:`${n.id}-text`,ref_for:!0,ref:`${e.getItemKey(n)}-text`,class:(0,h.normalizeClass)(e.prefixCls+"-title")},[(0,h.createTextVNode)((0,h.toDisplayString)(n[e.paramsInfo.title]),1)],10,Z)),[[f,e.getTip(n)]]),n.suffixSlot?((0,h.openBlock)(),(0,h.createElementBlock)("span",A,[(0,h.renderSlot)(e.$slots,`tree-node-${n.suffixSlot}`,{item:n})])):(0,h.createCommentVNode)("",!0),n.actionSlot?((0,h.openBlock)(),(0,h.createElementBlock)("span",O,[(0,h.renderSlot)(e.$slots,`tree-node-${n.actionSlot}`,{item:n})])):(0,h.createCommentVNode)("",!0)],2)])],42,M)]),_:2},1032,["wrap","drag-props","get-drag-zone","dragging-id","payload"]),e.hasIndicator(n,"bottom")?((0,h.openBlock)(),(0,h.createElementBlock)("div",F)):(0,h.createCommentVNode)("",!0),(0,h.createVNode)(p,{ref_for:!0,ref:`scroll-${e.getItemKey(n)}`,wrap:!0===n.showScrollbar},{default:(0,h.withCtx)(()=>[(0,h.createVNode)(u,{ref_for:!0,ref:`slideUpDown-${i}`,"syno-id":`${e.getSynoId(n,"slide-up-down")}`},{default:(0,h.withCtx)(()=>[n.isLeaf?(0,h.createCommentVNode)("",!0):(0,h.withDirectives)(((0,h.openBlock)(),(0,h.createBlock)(d,{key:0,ref_for:!0,ref:`childBranch-${i}`,"syno-id":`${e.synoId}-${n[e.paramsInfo.id]}-subtree`,"get-drag-zone":e.isRoot?e.getInnerDragZone:e.getDragZone,draggable:e.draggable,"prefix-cls":e.prefixCls,data:n[e.paramsInfo.children]||[],parent:n,level:`${e.level}-${i}`,"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},(0,h.createSlots)({_:2},[(0,h.renderList)(e.getSlots(),(t,n)=>({name:n,fn:(0,h.withCtx)(t=>[(0,h.renderSlot)(e.$slots,n,(0,h.mergeProps)({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"])),[[h.vShow,n.expanded]])]),_:2},1032,["syno-id"])]),_:2},1032,["wrap"]),(0,h.renderSlot)(e.$slots,"extranode",{data:n})]),_:2},1032,["id","syno-id","class","node-id","aria-expanded","item","index"]))),128))],42,N)),[[m]])]),_:3},8,["wrap","class"])}]])},56923:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"A",props:{}}),s={class:"v-a"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("a",s,[(0,i.renderSlot)(e.$slots,"default")])}]])},96284:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"Blockquote",props:{}}),s={class:"v-blockquote"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("blockquote",s,[(0,i.renderSlot)(e.$slots,"default")])}]])},96623:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"Code",props:{}}),s={class:"v-code"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s,[(0,i.renderSlot)(e.$slots,"default")])}]])},11325:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"Divider"}),s={class:"v-divider"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("div",s)}]])},16891:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(80036),o=n(56923),r=n(25217),s=(0,n(11747).Z)((0,r.defineComponent)({name:"Header",components:{vA:o.Z},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(0,i.slugify)(this.text)},headerCls(){return[`level-${this.level}`]},innerHref(){return this.href?this.href:(this.baseUrl??"")+"#"+this.slugifyText}},mounted(){}}),[["render",function(e,t,n,i,o,s){let a=(0,r.resolveComponent)("v-a");return(0,r.openBlock)(),(0,r.createBlock)((0,r.resolveDynamicComponent)(`h${e.level}`),{id:e.slugifyText,class:(0,r.normalizeClass)(["v-header",e.headerCls])},{default:(0,r.withCtx)(()=>[e.text||e.href?((0,r.openBlock)(),(0,r.createBlock)(a,{key:0,class:"anchor",href:e.innerHref},{default:(0,r.withCtx)(()=>[(0,r.createTextVNode)(" # ")]),_:1},8,["href"])):(0,r.createCommentVNode)("",!0),(0,r.renderSlot)(e.$slots,"default",{},()=>[(0,r.createTextVNode)((0,r.toDisplayString)(e.text),1)])]),_:3},8,["id","class"])}]])},26444:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"Hr",props:{}}),s={class:"v-hr"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("hr",s)}]])},57561:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"Li"}),s={class:"v-li"},a=(0,i.createElementVNode)("i",{class:"bullet-dot"},null,-1);var l=(0,o.Z)(r,[["render",function(e,t,n,o,r,l){return(0,i.openBlock)(),(0,i.createElementBlock)("li",s,[a,(0,i.renderSlot)(e.$slots,"default")])}]])},82651:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(25217),o=(0,n(11747).Z)((0,i.defineComponent)({name:"List",props:{},computed:{cls:()=>"v-list"}}),[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("ul",{class:(0,i.normalizeClass)(e.cls)},[(0,i.renderSlot)(e.$slots,"default")],2)}]])},56330:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({name:"P",props:{}}),s={class:"v-p"};var a=(0,o.Z)(r,[["render",function(e,t,n,o,r,a){return(0,i.openBlock)(),(0,i.createElementBlock)("p",s,[(0,i.renderSlot)(e.$slots,"default")])}]])},89278:function(e,t,n){"use strict";n.d(t,{P:function(){return m}});var i=n(16891),o=n(26444),r=n(56330),s=n(56923),a=n(96284),l=n(77509),c=n(96623),d=n(57561),u=n(82651),h=n(92039),p=n(11325),f=n(33754);let m=(0,n(53300).e)({components:[i.Z,o.Z,r.Z,s.Z,a.Z,l.Z,c.Z,u.Z,d.Z,h.Z,p.Z,f.Z]})},92039:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(30782),o=n(25217),r=n(11747);let s=(0,o.defineComponent)({name:"Table",components:{vScrollbar:i.Z},props:{}}),a={class:"v-typo-table"};var l=(0,r.Z)(s,[["render",function(e,t,n,i,r,s){let l=(0,o.resolveComponent)("v-scrollbar");return(0,o.openBlock)(),(0,o.createBlock)(l,null,{default:(0,o.withCtx)(()=>[(0,o.createElementVNode)("table",a,[(0,o.renderSlot)(e.$slots,"default")])]),_:3})}]])},77509:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(25217),o=(0,n(11747).Z)((0,i.defineComponent)({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,n,o,r,s){return(0,i.openBlock)(),(0,i.createBlock)((0,i.resolveDynamicComponent)(e.tag),{class:(0,i.normalizeClass)(e.cls)},{default:(0,i.withCtx)(()=>[(0,i.renderSlot)(e.$slots,"default")]),_:3},8,["class"])}]])},33754:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(25217),o=n(11747);let r=(0,i.defineComponent)({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"}}}),s={class:"tip-title"},a={class:"tip-content"};var l=(0,o.Z)(r,[["render",function(e,t,n,o,r,l){return(0,i.openBlock)(),(0,i.createElementBlock)("div",{class:(0,i.normalizeClass)(["v-typo-tip",e.type])},[(0,i.createElementVNode)("p",s,(0,i.toDisplayString)(e.title),1),(0,i.createElementVNode)("p",a,[(0,i.renderSlot)(e.$slots,"default")])],2)}]])},41655:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var i=n(88400);let o=(0,n(53300).e)({components:[i.Z]})},88400:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(88358),o=n(69092),r=n(30782),s=n(99465),a=n(39192),l=n(80036),c=n(63917),d=n(25217),u=n(11747);let h=(0,d.defineComponent)({name:"VirtualScrollbar",extends:r.Z,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(()=>{(0,s.m)(this.$el,this.onVisibleChanged),(0,a.k)(this.$refs.view,this.onScrollViewportChanged)})},[i.mT.beforeUnmount](){(0,s.j)(this.$el,this.onVisibleChanged),(0,a.S)(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}),(0,o.Qy)(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 n=0,i=0,o=0;return n=Math.max(Math.min(~~(e/+this.itemSize),this.total),0),i=Math.max(Math.min(~~(t/+this.itemSize),this.total),0),o=this.total*+this.itemSize,{start:n=(0,l.clampValue)(n-this.bufferItemsNum,0,this.total-1),end:i=(0,l.clampValue)(i+this.bufferItemsNum,0,this.total-1),total:o}},getVisibleItems(e,t){return this.bufferStart=e,this.bufferEnd=t,this.findAnchor(this.bufferStart,this.bufferEnd)},isScrollSticky(e,t,n){let i=(this.visibleStart+this.updateBufferItemsNum)*+this.itemSize,o=(this.visibleEnd-this.updateBufferItemsNum)*+this.itemSize;return e>this.$_scrollTop&&n>=o||e<this.$_scrollTop&&t<=i},handleVirtualScroll(){let{checkScrollSticky:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.$refs.view.scrollTop,{bufferStart:n,bufferEnd:i}=this.getBuffer(t);if(!e||this.isScrollSticky(t,n,i)){let{start:e,end:t,total:o}=this.getVisibleItems(n,i);this.renderVisibleItems(e,t,o)}this.$_scrollTop=t},updateVisible(){this.handleVirtualScroll({checkScrollSticky:!1})},renderVisibleItems(e,t,n){this.visibleStart=e,this.visibleEnd=t,this.virtualTotalSize=n},handleScroll(e){"scroll"===e.type&&this.handleVirtualScroll(),r.Z.methods.handleScroll.apply(this,arguments)},scrollToIndex(e){let t=this.itemSize*e;this.$refs.view.scrollTop=t,this.handleVirtualScroll()},ensureVisible(e){(0,c.scrollTo)(e,{scrollMode:"if-needed",behavior:arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"smooth":"auto"})}}}),p={ref:"inner",class:"v-scrollbar-inner"};var f=(0,u.Z)(h,[["render",function(e,t,n,i,o,r){return(0,d.openBlock)(),(0,d.createElementBlock)("div",{ref:"scrollbar",class:(0,d.normalizeClass)(e.wrapperCls)},[((0,d.openBlock)(),(0,d.createBlock)((0,d.resolveDynamicComponent)(e.viewTag),{ref:"view",class:(0,d.normalizeClass)(["v-scrollbar-view",e.viewClass]),style:(0,d.normalizeStyle)(e.viewStyle),onScrollPassive:e.handleScroll},{default:(0,d.withCtx)(()=>[(0,d.createElementVNode)("div",p,[(0,d.createElementVNode)("div",{class:"v-scrollbar-virtual-wrapper",style:(0,d.normalizeStyle)(e.offsetStyle)},[(0,d.renderSlot)(e.$slots,"default",{start:e.visibleStart,end:e.visibleEnd})],4),(0,d.createElementVNode)("div",{style:(0,d.normalizeStyle)(e.ghostStyle)},null,4)],512)]),_:3},40,["class","style","onScrollPassive"])),e.yRailExists?((0,d.openBlock)(),(0,d.createElementBlock)("div",{key:0,ref:"y-rail",class:"y-rail rail",style:(0,d.normalizeStyle)(e.yRailStyle),onTouchstart:t[2]||(t[2]=t=>e.onRailPointerDown(t,"y")),onMousedown:t[3]||(t[3]=t=>e.onRailPointerDown(t,"y"))},[(0,d.createElementVNode)("div",{ref:"y-bar",class:"y-bar bar",style:(0,d.normalizeStyle)(e.yBarStyle),onTouchstart:t[0]||(t[0]=(0,d.withModifiers)(t=>e.onBarPointerDown(t,"y"),["stop"])),onMousedown:t[1]||(t[1]=(0,d.withModifiers)(t=>e.onBarPointerDown(t,"y"),["stop"]))},null,36)],36)):(0,d.createCommentVNode)("",!0),e.xRailExists?((0,d.openBlock)(),(0,d.createElementBlock)("div",{key:1,ref:"x-rail",class:"x-rail rail",style:(0,d.normalizeStyle)(e.xRailStyle),onTouchstart:t[6]||(t[6]=t=>e.onRailPointerDown(t,"x")),onMousedown:t[7]||(t[7]=t=>e.onRailPointerDown(t,"x"))},[(0,d.createElementVNode)("div",{ref:"x-bar",class:"x-bar bar",style:(0,d.normalizeStyle)(e.xBarStyle),onTouchstart:t[4]||(t[4]=(0,d.withModifiers)(t=>e.onBarPointerDown(t,"x"),["stop"])),onMousedown:t[5]||(t[5]=(0,d.withModifiers)(t=>e.onBarPointerDown(t,"x"),["stop"]))},null,36)],36)):(0,d.createCommentVNode)("",!0)],2)}]])},68255:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var i=n(25944);let o=(0,n(53300).e)({components:[i.Z]})},25944:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var i=n(88358),o=n(89986),r=n(83871),s=n(30272),a=n(74547),l=n(80036),c=n(29151),d=n(69092),u=n(25217),h=n(58954),p=(0,u.defineComponent)({name:"Whitetip",components:{vPortal:o.Z,vIcon:r.Z},directives:{tooltip:a.Z},mixins:[(0,s.f)("form-item")],props:{disabled:{type:Boolean,default:!1},content:{type:(0,h.C)([String,Boolean]),default:""},delay:{type:Number,default:300},tooltipOptions:{type:(0,h.C)(Object),default:()=>({})},forceSimple:{type:Boolean,default:!1},portalName:{type:String,default:()=>"whitetip-"+String(Math.round(1e7*Math.random()))},size:{type:(0,h.C)(String),default:void 0,validator:e=>["normal","small",void 0].includes(e)},type:{type:(0,h.C)(String),default:"normal"},transitionTime:{type:(0,h.C)(Array),default:()=>[500,100]},triggerAction:{type:(0,h.C)(String),default:"adaptive",validator:e=>["hover","click","adaptive"].includes(e)},hasPadding:{type:Boolean,default:!0},hasMargin:{type:Boolean,default:void 0},mobileBreakpoint:{type:(0,h.C)([String,Boolean]),default:void 0},tipContainer:{type:(0,h.C)(Function),default:l.noop}},data:()=>({isFieldDisabled:void 0}),computed:{srOnlyStyle:()=>({position:"absolute",left:"-10000px",top:"auto",width:"1px",height:"1px",overflow:"hidden"}),innerHasMargin(){return(0,l.isDefined)(this.hasMargin)?this.hasMargin:!this?.["form-item"]?.instance?.inFlexForm},iconCls(){return{"has-margin":this.innerHasMargin,[this.type]:!0}},isMobile(){return this.$breakpointManager?(0,l.isDefined)(this.mobileBreakpoint)?(0,l.isString)(this.mobileBreakpoint)?this.$breakpointManager.lessAndEqThan(this.mobileBreakpoint):this.mobileBreakpoint:this.$breakpointManager.mobile:((0,c.D8)("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(0,l.isDefined)(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()},[i.mT.beforeUnmount](){this._unregister()},methods:{useSlot(){return!1===this.content},getExtraElements(){return this.$refs.tooltip?._tooltip},hideTooltip(){this.$refs.tooltip?._svc_tooltip_e_hide_cb?.()},onActivate(){(0,d.Qy)(this,"activate")},onDeactivate(){(0,d.Qy)(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(){let e;return this["form-item"]?(this["form-item"].register(this,t=>{e=t.$watch("isFieldDisabled",e=>this.isFieldDisabled=e,{immediate:!0})}),()=>{e(),this["form-item"].unregister(this)}):l.noop}}}),f=n(11747);let m=["aria-label","aria-describedby"],g=["id"];var y=(0,f.Z)(p,[["render",function(e,t,n,i,o,r){let s=(0,u.resolveComponent)("v-icon"),a=(0,u.resolveComponent)("v-portal"),l=(0,u.resolveDirective)("tooltip");return(0,u.withDirectives)(((0,u.openBlock)(),(0,u.createElementBlock)("div",{ref:"tooltip",class:(0,u.normalizeClass)(e.whiteTipCls),tabindex:"0","aria-label":e.useSlot()||"string"!=typeof e.content?void 0:e.content,"aria-describedby":e.useSlot()?`sr-${e.portalName}`:void 0},[(0,u.renderSlot)(e.$slots,"custom",{disabled:e.currentDisabled},()=>[(0,u.createVNode)(s,{class:(0,u.normalizeClass)(["v-whitetip-icon",e.iconCls]),sprite:""},null,8,["class"])]),e.useSlot()?((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:0,id:`sr-${e.portalName}`,style:(0,u.normalizeStyle)(e.srOnlyStyle)},[(0,u.renderSlot)(e.$slots,"default")],12,g)):(0,u.createCommentVNode)("",!0),(0,u.createVNode)(a,{name:e.portalName,to:e.portalName},{default:(0,u.withCtx)(()=>[(0,u.renderSlot)(e.$slots,"default")]),_:3},8,["name","to"])],10,m)),[[l,e.tipOpts()]])}]])},59922:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var i=n(25303),o=n(41253),r=n(39546),s=n(84593),a=n(37153),l=n(21812),c=n(80036),d=n(41431),u=n(55082),h=n(96725),p=n(66649),f=n(88552),m=n(88698),g=n(83871),y=n(25944),v=n(61036),b=n(81460),w=n(25217),C=n(11747);(0,a.z)("about-beta-label-blue",l.m9),(0,a.z)("about-tick-blue",l.BJ);let S={FETCHING:Symbol("fetching"),UPDATE_AVAILABLE:Symbol("update_available"),FAILED:Symbol("failed"),UP_TO_DATE:Symbol("up_to_date"),UNKNOWN:Symbol("unknown")},k=(0,w.defineComponent)({name:"AboutWindowV2",components:{vSpinIcon:r.Z,vConfigProvider:h.Z,vIcon:g.Z,vResizable:p.Z,vDraggable:f.Z,vWindowHeader:m.Z,vTrapFocus:v.Z,vSpin:o.Z,vLayout:b.Z,vWhitetip:y.Z},extends:i.Z,mixins:[s.Z,a.Z],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:c.noop},releaseNotesUrl:{type:String,default:""}},data:()=>({fetchStatus:S.FETCHING,iconConfig:{all:{value:{type:"svg"}}}}),computed:{isFetchFailed(){return this.fetchStatus===S.FAILED},isFetching(){return this.fetchStatus===S.FETCHING},isUpToDate(){return this.fetchStatus===S.UP_TO_DATE},isUpdateAvailable(){return this.fetchStatus===S.UPDATE_AVAILABLE},versionStatusText(){return this.fetchStatus===S.FETCHING?`${this._i18n("about","check_for_update")}`:this.fetchStatus==S.UPDATE_AVAILABLE?this._i18n("about","update_available"):this.fetchStatus==S.FAILED?"":this.fetchStatus==S.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(){let{newVersion:e,betaVersion:t}=await this.fetchVersion?.()??{},n=null;(n=e&&t?(0,u.zY)(">",e,t)?e:t:e??t)?(0,u.zY)(">",n,this.version)?this.fetchStatus=S.UPDATE_AVAILABLE:(0,u.zY)("<=",n,this.version)?this.fetchStatus=S.UP_TO_DATE:this.fetchStatus=S.UNKNOWN:this.fetchStatus=S.FAILED},hasVersionInfo:()=>d.Z?._S?.("is_admin"),maskOwner(){this.isComponentType||this.manager&&this.maskContainer&&this.doMaskContainer(this.aboutMaskContainer)}}}),x=["aria-label"],B={class:"v-about-window-v2-body-wrapper"},T={class:"page-wrapper"},E={class:"icon-wrapper"},I={class:"content-wrapper"},D={class:"title-wrapper"},V={class:"title"},N={key:0,class:"subscript"},_={class:"badge-wrapper"},M={key:0,class:"sub-title"},$={key:1,class:"version-wrapper"},Z={key:0,class:"version-status"},A={class:"version-num"},O=["href"],F={class:"tagline-wrapper"},z=(0,w.createElementVNode)("div",{class:"divider"},null,-1),L={class:"footer-wrapper"},P={class:"footer-content"},R={class:"content-row"},H=["href"],j=(0,w.createElementVNode)("i",{class:"ellipsis"},null,-1),W=["href"],G={class:"content-row copyright"},Q={class:"focus-last-alert",tabindex:"0",role:"alert"};var U=(0,C.Z)(k,[["render",function(e,t,n,i,o,r){let s=(0,w.resolveComponent)("v-window-header"),a=(0,w.resolveComponent)("v-icon"),l=(0,w.resolveComponent)("v-whitetip"),c=(0,w.resolveComponent)("v-spin-icon"),d=(0,w.resolveComponent)("v-trap-focus"),u=(0,w.resolveComponent)("v-resizable"),h=(0,w.resolveComponent)("v-draggable"),p=(0,w.resolveComponent)("v-spin"),f=(0,w.resolveComponent)("v-layout"),m=(0,w.resolveComponent)("v-config-provider"),g=(0,w.resolveDirective)("syno-id");return(0,w.openBlock)(),(0,w.createBlock)(m,{icon:e.iconConfig},{default:(0,w.withCtx)(()=>[(0,w.withDirectives)(((0,w.openBlock)(),(0,w.createBlock)(f,{ref:"_window",class:(0,w.normalizeClass)(e.aboutWindowCls),style:(0,w.normalizeStyle)(e.windowStyle),type:`window.${e.layoutType}`,order:e.layoutOrder,onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:(0,w.withKeys)(e.onEsc,["native","esc"])},{default:(0,w.withCtx)(()=>[e.showHeader?((0,w.openBlock)(),(0,w.createBlock)(s,(0,w.mergeProps)({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"])):(0,w.createCommentVNode)("",!0),(0,w.createVNode)(d,{ref:"trapFocus",class:(0,w.normalizeClass)(e.extendedBodyCls)},{"alert-last":(0,w.withCtx)(()=>[(0,w.createElementVNode)("div",Q,(0,w.toDisplayString)(e._i18n("desktop","window_last_hint")),1)]),default:(0,w.withCtx)(()=>[(0,w.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"dialog","aria-label":e.currentTitle},null,8,x),(0,w.createElementVNode)("div",B,[(0,w.createElementVNode)("div",T,[(0,w.createElementVNode)("div",E,[(0,w.createVNode)(a,{name:"app-icon",size:[72,72],style:(0,w.normalizeStyle)(e.iconStyle),type:"bkg-img","disable-config-override":{type:!0}},null,8,["style"])]),(0,w.createElementVNode)("div",I,[(0,w.createElementVNode)("div",D,[(0,w.createElementVNode)("div",V,[(0,w.createTextVNode)((0,w.toDisplayString)(e.title)+" ",1),e.subscript?((0,w.openBlock)(),(0,w.createElementBlock)("span",N,(0,w.toDisplayString)(e.subscript),1)):(0,w.createCommentVNode)("",!0)]),(0,w.createElementVNode)("div",_,[(0,w.renderSlot)(e.$slots,"badge",{},()=>[e.beta?((0,w.openBlock)(),(0,w.createBlock)(a,{key:0,name:"about-beta-label-blue"})):(0,w.createCommentVNode)("",!0)])])]),e.subTitle?((0,w.openBlock)(),(0,w.createElementBlock)("div",M,(0,w.toDisplayString)(e.subTitle),1)):(0,w.createCommentVNode)("",!0),e.hasVersionInfo()?((0,w.openBlock)(),(0,w.createElementBlock)("div",$,[e.isFetchFailed?(0,w.createCommentVNode)("",!0):((0,w.openBlock)(),(0,w.createElementBlock)("div",Z,[(0,w.createElementVNode)("span",null,(0,w.toDisplayString)(e.versionStatusText),1),e.isUpdateAvailable?((0,w.openBlock)(),(0,w.createBlock)(l,{key:0,content:e._i18n("about","update_package_tip"),"tooltip-options":{isHtml:!0},size:"small"},null,8,["content"])):e.isUpToDate?((0,w.openBlock)(),(0,w.createBlock)(a,{key:1,name:"about-tick-blue"})):e.isFetching?((0,w.openBlock)(),(0,w.createBlock)(c,{key:2,class:"about-window-v2-spin-icon"})):(0,w.createCommentVNode)("",!0)])),(0,w.createElementVNode)("div",A,[(0,w.createTextVNode)((0,w.toDisplayString)(e._i18n("update","version"))+": "+(0,w.toDisplayString)(e.version)+" (",1),(0,w.createElementVNode)("a",{class:"release-notes link",href:e.releaseNotesUrl,target:"_blank"},(0,w.toDisplayString)(e._i18n("update","update_dsm_release_note")),9,O),(0,w.createTextVNode)(") ")])])):(0,w.createCommentVNode)("",!0),(0,w.createElementVNode)("div",F,(0,w.toDisplayString)(e.tagline),1)])]),z,(0,w.createElementVNode)("div",L,[(0,w.createElementVNode)("div",P,[(0,w.createElementVNode)("div",R,[(0,w.createElementVNode)("a",{class:"link terms",href:e.tosUrl,target:"_blank"},(0,w.toDisplayString)(e._i18n("common","terms_of_service")),9,H),j,(0,w.createElementVNode)("a",{class:"link privacy",href:e.privacyUrl,target:"_blank"},(0,w.toDisplayString)(e._i18n("common","privacy_statements")),9,W)]),(0,w.createElementVNode)("div",G,(0,w.toDisplayString)(e._i18n("copyright","copyright").replace("{0}",e.copyrightYear)),1)])])])]),_:3},8,["class"]),e.resizable?((0,w.openBlock)(),(0,w.createBlock)(u,{key:1,"window-property":e.windowProperty,onResizeEnd:e.onResizeEnd},null,8,["window-property","onResizeEnd"])):(0,w.createCommentVNode)("",!0),e.innerDraggable&&!e.isComponentType?((0,w.openBlock)(),(0,w.createBlock)(h,{key:2,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):(0,w.createCommentVNode)("",!0),e.isMasking?((0,w.openBlock)(),(0,w.createElementBlock)("div",{key:3,class:(0,w.normalizeClass)(e.maskCls),onMousedown:t[0]||(t[0]=(0,w.withModifiers)(function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)},["stop"]))},[(0,w.createVNode)(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)):(0,w.createCommentVNode)("",!0)]),_:3},8,["class","style","type","order","onKeydown"])),[[w.vShow,e.showWindow],[g]])]),_:3},8,["icon"])}]])},43146:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n(25303),o=n(84593),r=n(25217),s=n(11747);let a=(0,r.defineComponent)({name:"AboutWindow",components:{vModalWindow:i.Z},mixins:[o.Z],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(){let 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]:""}}}),l={class:"content-top"},c={class:"content-row name"},d={key:0,class:"label"},u={key:1,class:"beta-tag"},h={key:0,class:"content-row desc"},p=(0,r.createElementVNode)("div",{class:"divider"},null,-1),f={class:"content-bottom"},m={class:"content-row links"},g=["href"],y=["href"],v={class:"content-row copyright"};var b=(0,s.Z)(a,[["render",function(e,t,n,i,o,s){let a=(0,r.resolveComponent)("v-modal-window");return(0,r.openBlock)(),(0,r.createBlock)(a,{"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:(0,r.normalizeClass)(e.windowCls),style:(0,r.normalizeStyle)(e.windowStyle)},{"fullsize-window-mask":(0,r.withCtx)(()=>[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(`${e.clsPrefix}-mask`)},null,2)]),default:(0,r.withCtx)(()=>[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(`${e.clsPrefix}-body-wrapper`)},[(0,r.createElementVNode)("div",l,[(0,r.createElementVNode)("div",{class:"content-row icon",style:(0,r.normalizeStyle)({backgroundImage:`url(${e.icon})`})},null,4),(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(e.nameAndDescCls)},[(0,r.createElementVNode)("div",c,[(0,r.createTextVNode)((0,r.toDisplayString)(e.title)+" ",1),""!==e.label?((0,r.openBlock)(),(0,r.createElementBlock)("div",d,(0,r.toDisplayString)(e.label),1)):(0,r.createCommentVNode)("",!0),e.isBeta?((0,r.openBlock)(),(0,r.createElementBlock)("div",u)):(0,r.createCommentVNode)("",!0)]),e.desc?((0,r.openBlock)(),(0,r.createElementBlock)("div",h,(0,r.toDisplayString)(e.desc),1)):(0,r.createCommentVNode)("",!0)],2)]),p,(0,r.createElementVNode)("div",f,[(0,r.createElementVNode)("div",m,[(0,r.createElementVNode)("a",{href:e.tosUrl,target:"_blank",class:"terms"},(0,r.toDisplayString)(e._i18n("common","terms_of_service")),9,g),(0,r.createElementVNode)("a",{href:e.privacyUrl,target:"_blank",class:"privacy"},(0,r.toDisplayString)(e._i18n("common","privacy_statements")),9,y)]),(0,r.createElementVNode)("div",v,(0,r.toDisplayString)(e._i18n("copyright","copyright").replace("{0}",e.copyrightYear)),1)])],2)]),_:1},8,["syno-id","header-cls","body-cls","dark-theme","class","style"])}]])},88552:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(88358),o=n(69092),r=n(63917),s=n(30272),a=n(25217),l=(0,n(11747).Z)((0,a.defineComponent)({name:"Draggable",mixins:[(0,s.f)("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(){let 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((0,o.Qy)(this,"dragging",e),await (0,a.nextTick)(),e){let e=this.window.instance.$el.parentNode||document.body;if(!e)return;let t=this.headerEl.cloneNode(!0);this.$refs.ghost.appendChild(t),e.appendChild(this.$refs.ghost)}}},async mounted(){await (0,a.nextTick)(),this.window.instance.$refs.header?.$el&&(this.headerEl=this.window.instance.$refs.header?.$el,this.disposedFn=(0,r.on)(this.headerEl,"mousedown",e=>this.mouseDown(e)))},[i.mT.beforeUnmount](){this.disposedFn?.()},methods:{mouseMove(e){let{pageX:t,pageY:n,clientX:i,clientY:o}=e;if((0,r.isOutofWindow)([i,o])||Math.max(Math.abs(t-this.startX),Math.abs(n-this.startY))<5/window.devicePixelRatio)return;this.isDragging||(this.isDragging=!0),this.diffX=t-this.startX,this.diffY=n-this.startY;let s=this.startTop+this.diffY,a=this.startLeft+this.diffX;s<=this.constrainRect.top&&(this.diffY=this.constrainRect.top-this.startTop,s=this.constrainRect.top),(0,r.css)(this.$refs.ghost,"top",`${s}px`),(0,r.css)(this.$refs.ghost,"left",`${a}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){let t;this.isFit||(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,(0,r.once)(document.documentElement,"mouseup",()=>{this.mouseUp(),t?.()}),t=(0,r.on)(document.documentElement,"mousemove",e=>this.mouseMove(e)))}}}),[["render",function(e,t,n,i,o,r){return e.isDragging?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,ref:"ghost",class:(0,a.normalizeClass)(e.ghostCls),style:(0,a.normalizeStyle)(e.ghostStyle)},null,6)):(0,a.createCommentVNode)("",!0)}]])},10548:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}}),n(50401),n(91234);var i=n(25303),o=n(61036),r=n(42488),s=n(27873),a=n(61644),l=n(86419),c=n(69398),d=n(61803),u=n(80036),h=n(84593),p=n(78671),f=n(8378),m=n(29151),g=n(60674),y=n(62088),v=n(55082),b=n(88552),w=n(25217),C=n(11747);let S=[0,16];function k(e,t,n){if(!(0,u.isFunction)(e))return void SYNO.Debug.error("Callback should be callable");let i=e.apply(n,[]);i&&i.then&&(0,u.isFunction)(i.then)||(i=Promise.resolve()),i.then((function(e){(0,u.isFunction)(t)&&t.apply(n,[])}).bind(n)).catch((function(e){}).bind(n))}let x=(0,w.defineComponent)({name:"MessageBoxWindow",components:{vProgressBar:r.Z,vTrapFocus:o.Z,vPanel:s.Z,vButton:a.Z,vInput:l.Z,vForm:c.Z,vFormItem:d.Z,vDraggable:b.Z},extends:i.Z,mixins:[h.Z,(0,y.W)("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:!1,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:u.noop,callbackScope:this,iconCls:void 0,isHtmlContent:!1,innerButtons:(0,p.Z)({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":(0,u.isString)(this.footerDirection)?this.footerDirection:this.$breakpointManager?this.$breakpointManager.getSuitableValue(this.footerDirection):((0,m.D8)("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":f.G6,"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=(0,p.Z)(this.innerButtons,this.buttons)},deep:!0}},methods:{async doBreakpointFit(e){let t=(0,u.isObject)(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]:{},t=this.owner;t&&(t.messageBox=null),this.hideFromOwner()&&(this.owner=null),await i.Z.methods.doClose.apply(this,arguments)},async onLeftCustomButton(){if(this.doLeftCustom){let e=await this.doLeftCustom();if(!1===e)return;if((0,u.isDefined)(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){let e=await this.doCancel();if(!1===e)return;if((0,u.isDefined)(e))return this.resolveFunc(e)}await this.onClose(),this.resolveFunc("cancel")},async onConfirmButton(){if(this.doConfirm){let e=await this.doConfirm();if(!1===e)return;if((0,u.isDefined)(e))return this.resolveFunc(e)}if("password"===this.messageType)return this.onPasswordConfirm();await this.onClose(),this.resolveFunc("confirm")},onArrowKeydown(e){if(!e)return;let t=[this.$refs.leftCustomBtn,this.$refs.cancelBtn,this.$refs.confirmBtn].filter(e=>e).filter(e=>e.$el);if(0===t.length)return;let n="ArrowLeft"===e.key?-1:"ArrowRight"===e.key?1:0,i=t.findIndex(t=>t.$el===e.target);t[Math.min(Math.max(0,i+n),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 (0,v.rl)({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&&(0,m.Rn)("isHtmlContent","useHtml",this),this.useHtml=e.useHtml||e.isHtmlContent,this.innerButtons=(0,p.Z)({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,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n=(0,p.Z)({leftCustom:{text:null},cancel:{text:null},confirm:{type:"footbar",text:this._i18n("common","apply"),suffix:"main"}},this.buttons,n??{}),this.showMessage(Object.assign({title:e,msg:t,type:"normal",buttons:n},i)),this.$nextTick(()=>{this.alignCenterToOwner()}),this.actionDefer()},confirm(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n=(0,p.Z)({leftCustom:{text:null},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{type:"footbar",text:this._i18n("common","apply"),suffix:"main"}},this.buttons,n??{}),this.$nextTick(()=>{this.alignCenterToOwner()}),this.showMessage(Object.assign({title:e,msg:t,type:"normal",buttons:n},i)),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]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n=(0,p.Z)({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,n??{});let o=await this.confirm(e,t||this._i18n("common","confirm_lostchange_without_save"),n,i);return"leftCustom"===o?(await this.onClose(),"dont_save"):"confirm"===o?"save":"cancel"===o?"cancel":o},confirmDelete(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n=(0,p.Z)({leftCustom:{text:null},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{text:this._i18n("common","delete"),suffix:"red",type:"footbar"}},this.buttons,n??{}),this.$nextTick(()=>{this.alignCenterToOwner()}),this.showMessage(Object.assign({title:e,msg:t,type:"normal",buttons:n},i)),this.actionDefer()},progress(e,t,n,i,o){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.updateProgress(e,t,n,i,o,r),this.$nextTick(()=>{this.alignCenterToOwner()}),this.actionDefer()},wait(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n=(0,p.Z)({leftCustom:{text:null},cancel:{text:null},confirm:{text:null}},this.buttons,n??{}),this.showMessage(Object.assign({progress:{title:e,info:t,wait:!0},buttons:n,type:"progress"},i)),this.actionDefer()},updateProgress(e,t,n,i,o){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};i=(t=Math.max(0,t=Math.min(100,t=+t)))?`${t}%`:i,o=(0,p.Z)({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:i,percent:t,info:n},buttons:o,type:"progress"},r))},password(e,t,n){let i=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"),n=(0,p.Z)({leftCustom:{text:null},cancel:{type:"footbar",text:this._i18n("common","cancel")},confirm:{text:this._i18n("common","submit"),suffix:"red",type:"footbar"}},this.buttons,n??{}),this.showMessage(Object.assign({title:e,msg:t,type:"password",buttons:n},i)),this.$nextTick(()=>{this.alignCenterToOwner()}),this.actionDefer()},getToastBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getWindowEl();t=(0,p.Z)({text:e},t),(0,g.e)(this.$.appContext.app,this.$el,t,{constrainMode:!1,absoluteMode:!0,anchorEl:n,containerEl:n,offset:S,align:"t->t"})},async confirmLostChangePromise(e,t,n,i,o){let r,s={};if((0,u.isFunction)(e))r=e;else{if(!(0,u.isObject)(e))return void SYNO.Debug.error("func should be object(for promise) or function(for callback)");s=e}let a=s.save,l=s.dontSave,c=s.cancel,d=s.confirmText;n=n||u.noop,i=i||u.noop,o=o||u.noop;let h=await this.confirm("",d||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"===h&&this.onClose(),(0,u.isFunction)(r)?r.apply(t):((0,u.isFunction)(n)&&n.apply(t,[]),"confirm"===h?k(a,i,t):"cancel"===h?k(c,o,t):"leftCustom"===h&&k(l,i,t))}}}),B=["aria-label"],T={key:0,tabindex:"0",class:"dialog-title"},E=["innerHTML"],I={key:1,tabindex:"0",class:"dialog-content"},D={class:"focus-last-alert",tabindex:"0",role:"alert"};var V=(0,C.Z)(x,[["render",function(e,t,n,i,o,r){let s=(0,w.resolveComponent)("v-progress-bar"),a=(0,w.resolveComponent)("v-input"),l=(0,w.resolveComponent)("v-form-item"),c=(0,w.resolveComponent)("v-form"),d=(0,w.resolveComponent)("v-button"),u=(0,w.resolveComponent)("v-panel"),h=(0,w.resolveComponent)("v-trap-focus"),p=(0,w.resolveComponent)("v-draggable"),f=(0,w.resolveDirective)("syno-id");return(0,w.withDirectives)(((0,w.openBlock)(),(0,w.createElementBlock)("div",{ref:"_window",class:(0,w.normalizeClass)(e.windowCls),style:(0,w.normalizeStyle)(e.windowStyle),onMousedown:t[2]||(t[2]=t=>e.toFront()),onKeydown:[t[3]||(t[3]=(0,w.withKeys)(function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)},["left"])),t[4]||(t[4]=(0,w.withKeys)(function(){return e.onArrowKeydown&&e.onArrowKeydown(...arguments)},["right"])),t[5]||(t[5]=(0,w.withKeys)(function(){return e.onEsc&&e.onEsc(...arguments)},["esc"]))]},[(0,w.createVNode)(h,{ref:"trapFocus","focus-last":"",class:(0,w.normalizeClass)(e.extendedBodyCls)},{"alert-last":(0,w.withCtx)(()=>[(0,w.createElementVNode)("div",D,(0,w.toDisplayString)(e._i18n("desktop","window_last_hint")),1)]),default:(0,w.withCtx)(()=>[(0,w.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"alertdialog","aria-label":e.currentTitle||e.dialogContent},null,8,B),(0,w.createVNode)(u,{class:(0,w.normalizeClass)(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:(0,w.withCtx)(()=>[e.isProgressType?((0,w.openBlock)(),(0,w.createBlock)(s,{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"])):((0,w.openBlock)(),(0,w.createElementBlock)("div",{key:1,class:(0,w.normalizeClass)(e.panelBodyCls)},[e.hasIcon?((0,w.openBlock)(),(0,w.createElementBlock)("div",{key:0,class:(0,w.normalizeClass)(e.dialogIconWrapperCls)},[(0,w.createElementVNode)("div",{class:(0,w.normalizeClass)(e.dialogIconCls)},null,2)],2)):(0,w.createCommentVNode)("",!0),(0,w.renderSlot)(e.$slots,"title",{title:e.dialogTitle,opts:e.opts},()=>[e.dialogTitle?((0,w.openBlock)(),(0,w.createElementBlock)("div",T,[(0,w.renderSlot)(e.$slots,"dialog-title",{},()=>[(0,w.createTextVNode)((0,w.toDisplayString)(e.dialogTitle),1)])])):(0,w.createCommentVNode)("",!0)]),(0,w.renderSlot)(e.$slots,"content",{content:e.dialogContent,opts:e.opts},()=>[e.useHtml?((0,w.openBlock)(),(0,w.createElementBlock)("div",{key:0,tabindex:"0",class:"dialog-content",innerHTML:e.dialogContent},null,8,E)):e.dialogContent?((0,w.openBlock)(),(0,w.createElementBlock)("div",I,[(0,w.renderSlot)(e.$slots,"dialog-content",{},()=>[(0,w.createTextVNode)((0,w.toDisplayString)(e.dialogContent),1)])])):(0,w.createCommentVNode)("",!0),e.isPasswordType?((0,w.openBlock)(),(0,w.createBlock)(c,{key:2,"syno-id":`${e.synoId}-password-form`},{default:(0,w.withCtx)(()=>[(0,w.createVNode)(l,{class:"password-form-item",label:e._i18n("common","password")+e._i18n("common","pure_colon"),"syno-id":`${e.synoId}-password-form-item`},{default:(0,w.withCtx)(()=>[(0,w.createVNode)(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"])):(0,w.createCommentVNode)("",!0)])],2))]),fbar:(0,w.withCtx)(()=>[(0,w.renderSlot)(e.$slots,"footbar",{buttons:e.innerButtons,opts:e.opts},()=>["row"===e.innerFooterDirection&&e.innerButtons.leftCustom.text?((0,w.openBlock)(),(0,w.createElementBlock)("div",{key:0,class:(0,w.normalizeClass)(["default pull-left button-region",e.footerCls])},[(0,w.createVNode)(d,(0,w.mergeProps)({ref:"leftCustomBtn","syno-id":`${e.synoId}-fbar-cancel`},e.innerButtons.leftCustom,{onClick:e.onLeftCustomButton}),{default:(0,w.withCtx)(()=>[(0,w.createTextVNode)((0,w.toDisplayString)(e.innerButtons.leftCustom.text),1)]),_:1},16,["syno-id","onClick"])],2)):(0,w.createCommentVNode)("",!0),(0,w.createElementVNode)("div",{class:(0,w.normalizeClass)(["default pull-right button-region",e.footerCls])},["column-reverse"===e.innerFooterDirection&&e.innerButtons.leftCustom.text?((0,w.openBlock)(),(0,w.createBlock)(d,(0,w.mergeProps)({key:0,ref:"leftCustomBtn","syno-id":`${e.synoId}-fbar-cancel`},e.innerButtons.leftCustom,{onClick:e.onLeftCustomButton}),{default:(0,w.withCtx)(()=>[(0,w.createTextVNode)((0,w.toDisplayString)(e.innerButtons.leftCustom.text),1)]),_:1},16,["syno-id","onClick"])):(0,w.createCommentVNode)("",!0),e.innerButtons.cancel.text?((0,w.openBlock)(),(0,w.createBlock)(d,(0,w.mergeProps)({key:1,ref:"cancelBtn","syno-id":`${e.synoId}-fbar-cancel`},e.innerButtons.cancel,{onClick:e.onCancelButton}),{default:(0,w.withCtx)(()=>[(0,w.createTextVNode)((0,w.toDisplayString)(e.innerButtons.cancel.text),1)]),_:1},16,["syno-id","onClick"])):(0,w.createCommentVNode)("",!0),e.innerButtons.confirm.text?((0,w.openBlock)(),(0,w.createBlock)(d,(0,w.mergeProps)({key:2,ref:"confirmBtn","syno-id":`${e.synoId}-fbar-commit`},e.innerButtons.confirm,{onClick:e.onConfirmButton}),{default:(0,w.withCtx)(()=>[(0,w.createTextVNode)((0,w.toDisplayString)(e.innerButtons.confirm.text),1)]),_:1},16,["syno-id","onClick"])):(0,w.createCommentVNode)("",!0)],2)])]),_:3},8,["class","show-status-bar","loading","loading-type","status-bar-state","error-text","syno-id"])]),_:3},8,["class"]),e.isPasswordType?((0,w.openBlock)(),(0,w.createBlock)(p,{key:0,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):(0,w.createCommentVNode)("",!0)],38)),[[w.vShow,e.showWindow],[f]])}]])},54646:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(88358),o=n(92128),r=n(69092),s=n(30272),a=n(80036),l=n(25217);let c={[o.yz.value()]:{type:String,default:void 0,required:!0},canLeave:{type:Function,default:a.noop},customLeaveLostChangeDialog:{type:Function,default:void 0},confirmSave:{type:Function,default:a.noop},confirmDontSave:{type:Function,default:a.noop},confirmCancel:{type:Function,default:a.noop}};var d=(0,l.defineComponent)({name:"ModalListModule",mixins:[(0,s.f)("modal-window")],props:c,emits:["module-focus","module.changed","activated","deactivated"],data:()=>({innerCls:"modal-list-module",activated:!1,window:void 0,disposedFn:void 0}),mounted(){this.window=this["modal-window"]?.instance,this.window&&(this.disposedFn=(0,r.Zn)(this.window,"selected-module",this.onCurrentModuleChanged),this.onCurrentModuleChanged(this.window.selectedVal,{}))},[i.mT.beforeUnmount](){this.disposedFn?.(),delete this.window},methods:{onCurrentModuleChanged(e,t){let n=(0,o.eQ)(this)===e;this.activated!==n?(this.activated=n,this.activated?((0,r.Qy)(this.window,"module.changed",this),(0,r.Qy)(this,"activated",t)):(0,r.Qy)(this,"deactivated",t)):this.activated&&(0,r.Qy)(this,"module-focus",t)}}}),u=(0,n(11747).Z)(d,[["render",function(e,t,n,i,o,r){return e.activated?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(e.innerCls)},[(0,l.renderSlot)(e.$slots,"default")],2)):(0,l.createCommentVNode)("",!0)}]])},25303:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var i=n(88358),o=n(69092),r=n(43866),s=n(81460),a=n(84849),l=n(80036),c=n(30272),d=n(55082),u=n(82442),h=n(16447),p=n(66649),f=n(88552),m=n(61036),g=n(88698),y=n(41253),v=n(25217),b=n(30319),w=(0,v.defineComponent)({name:b.v3,components:{vLayout:s.Z,vResizable:p.Z,vDraggable:f.Z,vWindowHeader:g.Z,vTrapFocus:m.Z,vSpin:y.Z,withTransition:(0,h.Q)(v.Transition),vModuleList:a.Z},extends:r.Z,mixins:[(0,c.J)("modal-window")],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"},showModules:{type:[Boolean,String],default:"auto"},showHamburgerIcon:{type:[Boolean,String],default:"auto"},module:{type:String,default:void 0}},emits:["selected-module","module.changed"],data:()=>({modal:!0,hidden:!0,ownerMasked:!1,isExtOwner:!1,ownerMinimizable:!1,autoAlignAfterInit:!0,selectedVal:void 0,innerShowModules:!1,currentModule:null}),computed:{extendedBodyCls(){return[this.prefixCls+"-body",this.bodyCls]},modalContentCls(){return["modal-window-content",{"has-modules":this.hasModules}]},canMinimize(){return this.minimizable||this.ownerMinimizable},innerShowHanmburgerIcon(){return!!this.module&&("auto"===this.showHamburgerIcon?this.inFitBreakpoint:this.showHamburgerIcon)},hasModules(){return!!(0,u._Y)(this,"module-options")&&((0,l.isBoolean)(this.showModules)?this.showModules:!this.inFitBreakpoint||this.innerShowModules)}},watch:{module:{async handler(e){await this.$nextTick(),this.selectModule(e)},immediate:!0}},created(){this.selectedVal=this.module,(0,o.Zn)(this,"module.changed",e=>{this.currentModule=e})},[i.mT.beforeUnmount](){this.manager&&this.containerMasked&&this.doUnmaskContainer(),this.unregisterManager?.(),(0,o.M5)(this,"module.changed",()=>{})},methods:{init(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.unregisterManager=this.registerManager(e),this.maskOwner(),this.hidden=!1,this.isComponentType||(0,v.nextTick)(()=>{this.align(n.align??{}),(0,v.nextTick)(()=>this.onWindowResize())}),r.Z.methods.init.apply(this,[e,t])},maskOwner(){this.isComponentType||(this.owner?(this.owner.mask(0,null,null,!0),this.ownerMasked=!0):this.manager&&this.maskContainer&&this.doMaskContainer((0,l.isObject)(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);let n=t.el??e,i=t.anchor??"c->c",o=t.offset??[0,0];this.alignToElement(n,i,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){d.mV()?.Window&&e instanceof(0,d.mV)().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(e){this.hideFromOwner()&&(this.owner=null),await r.Z.methods.doClose.apply(this,[e])},onModuleListValueChanged(e,t){this.selectedVal=e,(0,o.Qy)(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.currentModule.customLeaveLostChangeDialog():this.showConfirmLostChangedDialog())},async onBeforeSelectModule(e,t){return!this.currentModule||!1!==await this.currentModule.canLeave?.()||this.showConfirmLostChangedDialog()},async showConfirmLostChangedDialog(){let e=await this.getMsgBox().confirmLostChange();return"dont_save"===e?!1!==await this.currentModule?.confirmDontSave?.():"save"===e&&!1!==await this.currentModule?.confirmSave?.()},hasOwnerWin(e){let t=this;for(;t;){if(t===e)return!0;t=t.owner}return!1},setZIndex(e){r.Z.methods.setZIndex.apply(this,[e])}}}),C=n(11747);let S=["aria-label"],k={key:0,class:"container"},x={class:"focus-last-alert",tabindex:"0",role:"alert"};var B=(0,C.Z)(w,[["render",function(e,t,n,i,o,r){let s=(0,v.resolveComponent)("v-window-header"),a=(0,v.resolveComponent)("v-module-list"),l=(0,v.resolveComponent)("v-layout"),c=(0,v.resolveComponent)("with-transition"),d=(0,v.resolveComponent)("v-trap-focus"),u=(0,v.resolveComponent)("v-resizable"),h=(0,v.resolveComponent)("v-draggable"),p=(0,v.resolveComponent)("v-spin"),f=(0,v.resolveDirective)("syno-id");return(0,v.withDirectives)(((0,v.openBlock)(),(0,v.createBlock)(l,{ref:"_window",class:(0,v.normalizeClass)(e.windowCls),style:(0,v.normalizeStyle)(e.windowStyle),type:`window.${e.layoutType}`,order:e.layoutOrder,onMousedown:t[2]||(t[2]=t=>e.toFront()),onKeydown:(0,v.withKeys)(e.onEsc,["native","esc"])},{default:(0,v.withCtx)(()=>[(0,v.renderSlot)(e.$slots,"fullsize-window-mask"),e.showHeader?((0,v.openBlock)(),(0,v.createBlock)(s,(0,v.mergeProps)({key:0,ref:"header"},e.headerProps,{"show-hamburger-icon":e.innerShowHanmburgerIcon,"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,onClickHamburgerIcon:e.onClickHamburgerIcon}),null,16,["show-hamburger-icon","class","dark-theme","onClose","onMinimize","onMaximize","onFullscreen","onRestore","onClickHamburgerIcon"])):(0,v.createCommentVNode)("",!0),(0,v.createVNode)(d,{ref:"trapFocus",class:(0,v.normalizeClass)(e.extendedBodyCls)},{"alert-last":(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",x,(0,v.toDisplayString)(e._i18n("desktop","window_last_hint")),1)]),default:(0,v.withCtx)(()=>[(0,v.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"dialog","aria-label":e.currentTitle},null,8,S),(0,v.createElementVNode)("div",{class:(0,v.normalizeClass)(e.modalContentCls)},[(0,v.createVNode)(c,{wrap:e.inFitBreakpoint,name:"slide"},{default:(0,v.withCtx)(()=>[(0,v.withDirectives)((0,v.createVNode)(l,{class:"module-list-layout",type:"module-list.panel"},{default:(0,v.withCtx)(()=>[(0,v.createVNode)(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:(0,v.withCtx)(()=>[(0,v.renderSlot)(e.$slots,"module-options")]),_:3},8,["value","model-value","before-select","aria-label","onInput","onUpdate:modelValue"])]),_:3},512),[[v.vShow,e.hasModules]])]),_:3},8,["wrap"]),(0,v.createVNode)(v.Transition,{name:"fade"},{default:(0,v.withCtx)(()=>[e.hasModules?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:0,class:"module-list-mask",onClick:t[0]||(t[0]=function(){return e.onClickModuleListMask&&e.onClickModuleListMask(...arguments)})})):(0,v.createCommentVNode)("",!0)]),_:1}),((0,v.openBlock)(),(0,v.createElementBlock)("div",k,[(0,v.renderSlot)(e.$slots,"default")]))],2)]),_:3},8,["class"]),e.resizable?((0,v.openBlock)(),(0,v.createBlock)(u,{key:1,"window-property":e.windowProperty,onResizeEnd:e.onResizeEnd},null,8,["window-property","onResizeEnd"])):(0,v.createCommentVNode)("",!0),e.innerDraggable&&!e.isComponentType?((0,v.openBlock)(),(0,v.createBlock)(h,{key:2,"window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):(0,v.createCommentVNode)("",!0),e.isMasking?((0,v.openBlock)(),(0,v.createElementBlock)("div",{key:3,class:(0,v.normalizeClass)(e.maskCls),onMousedown:t[1]||(t[1]=(0,v.withModifiers)(function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)},["stop"]))},[(0,v.createVNode)(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)):(0,v.createCommentVNode)("",!0)]),_:3},8,["class","style","type","order","onKeydown"])),[[v.vShow,e.showWindow],[f]])}]])},78546:function(e,t,n){"use strict";n.d(t,{L5:function(){return g},bZ:function(){return f},xg:function(){return m}});var i=n(10548),o=n(25303),r=n(15476),s=n(43146),a=n(59922),l=n(78456),c=n(88698),d=n(66649),u=n(54646),h=n(88358),p=n(53300);let f=(0,p.e)({components:[i.Z]},e=>{let t=(0,h.a0)(e);t&&(t.$messageWindow=i.Z)}),m=(0,p.e)({components:[s.Z,a.Z]},e=>{let t=(0,h.a0)(e);t&&(t.$aboutWindow=s.Z,t.$aboutWindowV2=a.Z)}),g=(0,p.e)({components:[i.Z,o.Z,r.Z,s.Z,a.Z,c.Z,l.Z,d.Z,u.Z]})},66649:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(89986),o=n(63917),r=n(30272),s=n(69092),a=n(25217);function l(e,t,n,i,o){let r=t-e;return n+r<i?i-n:n+r>o?o-n:r}var c=(0,n(11747).Z)((0,a.defineComponent)({name:"Resizable",components:{vPortal:i.Z},mixins:[(0,r.f)("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:n}=e,i=this.getMountEl().getBoundingClientRect();n<i.top&&(n=i.top),t<i.left&&(t=i.left),"e"===this.horizontal?this.diffX=l(this.startX,t,this.currentWidth,this.minWidth,this.maxWidth):"w"===this.horizontal&&(this.diffX=l(t,this.startX,this.currentWidth,this.minWidth,this.maxWidth),this.left=this.startLeft-this.diffX),"s"===this.vertical?this.diffY=l(this.startY,n,this.currentHeight,this.minHeight,this.maxHeight):"n"===this.vertical&&(this.diffY=l(n,this.startY,this.currentHeight,this.minHeight,this.maxHeight),this.top=this.startTop-this.diffY)},mouseUp(){this.isResizing=!1,(0,s.Qy)(this,"resize-end",{top:this.top,left:this.left,width:this.currentWidth+this.diffX,height:this.currentHeight+this.diffY})},mouseDown(e,t){let n;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,(0,o.once)(document,"mouseup",()=>{this.mouseUp(),n?.()}),n=(0,o.on)(document,"mousemove",e=>this.mouseMove(e))}}}),[["render",function(e,t,n,i,o,r){let s=(0,a.resolveComponent)("v-portal");return e.isFit?(0,a.createCommentVNode)("",!0):((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:0,class:(0,a.normalizeClass)(e.prefixCls)},[e.isResizing?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,"mount-to":e.getMountEl},{default:(0,a.withCtx)(()=>[(0,a.createElementVNode)("div",{ref:"ghost",class:(0,a.normalizeClass)(`${e.prefixCls}-ghost`),style:(0,a.normalizeStyle)(e.ghostStyle)},null,6),(0,a.createElementVNode)("div",{ref:"resizing-mask",class:(0,a.normalizeClass)(`${e.prefixCls}-resizing-mask`),style:(0,a.normalizeStyle)(e.maskStyle)},null,6)]),_:1},8,["mount-to"])):(0,a.createCommentVNode)("",!0),["all","nw"].some(t=>e.resizeHandles.includes(t))?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:1,class:(0,a.normalizeClass)(`handler ${e.prefixCls}-nw`),onMousedown:t[0]||(t[0]=t=>e.mouseDown("nw",t))},null,34)):(0,a.createCommentVNode)("",!0),["all","ne"].some(t=>e.resizeHandles.includes(t))?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:2,class:(0,a.normalizeClass)(`handler ${e.prefixCls}-ne`),onMousedown:t[1]||(t[1]=t=>e.mouseDown("ne",t))},null,34)):(0,a.createCommentVNode)("",!0),["all","sw"].some(t=>e.resizeHandles.includes(t))?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:3,class:(0,a.normalizeClass)(`handler ${e.prefixCls}-sw`),onMousedown:t[2]||(t[2]=t=>e.mouseDown("sw",t))},null,34)):(0,a.createCommentVNode)("",!0),["all","se"].some(t=>e.resizeHandles.includes(t))?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:4,class:(0,a.normalizeClass)(`handler ${e.prefixCls}-se`),onMousedown:t[3]||(t[3]=t=>e.mouseDown("se",t))},null,34)):(0,a.createCommentVNode)("",!0),["all","n"].some(t=>e.resizeHandles.includes(t))?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:5,class:(0,a.normalizeClass)(`handler ${e.prefixCls}-n`),onMousedown:t[4]||(t[4]=t=>e.mouseDown("n",t))},null,34)):(0,a.createCommentVNode)("",!0),["all","s"].some(t=>e.resizeHandles.includes(t))?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:6,class:(0,a.normalizeClass)(`handler ${e.prefixCls}-s`),onMousedown:t[5]||(t[5]=t=>e.mouseDown("s",t))},null,34)):(0,a.createCommentVNode)("",!0),["all","w"].some(t=>e.resizeHandles.includes(t))?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:7,class:(0,a.normalizeClass)(`handler ${e.prefixCls}-w`),onMousedown:t[6]||(t[6]=t=>e.mouseDown("w",t))},null,34)):(0,a.createCommentVNode)("",!0),["all","e"].some(t=>e.resizeHandles.includes(t))?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:8,class:(0,a.normalizeClass)(`handler ${e.prefixCls}-e`),onMousedown:t[7]||(t[7]=t=>e.mouseDown("e",t))},null,34)):(0,a.createCommentVNode)("",!0)],2))}]])},63309:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});let i=Symbol("window_mgr_inject")},11598:function(e,t,n){"use strict";n.d(t,{F:function(){return l},j:function(){return c}});var i=n(60590),o=n(29151),r=n(47696),s=n(26521),a=n(63309);function l(e){return i.s?null:e.$el?.parentNode}function c(e,t){let n,{parentApp:i,containerEl:l,onDestroy:c}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=null,u=null,h=null;if("mount"in e&&"unmount"in e&&(h=d=e),!d){if(!i)return(0,o.N6)("parentApp is required when app is not provided"),{app:d,rootComponent:n,win:u};h=d=(0,r.$)(e,t,i)}let p=document.createDocumentFragment();if(h){let e={window:void 0};(0,s.J)(h,a.k,e),n=d?.mount(p),l?.appendChild(p),u=e.window,u?.setDestroyCallback(e=>{let{payload:t}=e;d?.unmount(),c?.({payload:t})})}return{app:d,rootComponent:n,win:u}}},78456:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(37153),o=n(69092),r=n(83871),s=n(21812),a=n(25217),l=n(11747);(0,i.z)("window-tool-close",s.O_),(0,i.z)("window-tool-maximize",s.Dl),(0,i.z)("window-tool-restore",s.qh),(0,i.z)("window-tool-help",s.Cz),(0,i.z)("window-tool-minimize",s.j2);var c=(0,l.Z)((0,a.defineComponent)({name:"WindowHeaderToolWrapper",components:{vIcon:r.Z},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(){(0,o.Qy)(this,"help")},onClickMinimize(){(0,o.Qy)(this,"minimize")},onClickRestore(){(0,o.Qy)(this,"restore")},onClickMaximize(){(0,o.Qy)(this,"maximize")},onClickClose(){(0,o.Qy)(this,"close")}}}),[["render",function(e,t,n,i,o,r){let s=(0,a.resolveComponent)("v-icon");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:(0,a.normalizeClass)(["window-header-tool-wrapper",e.darkTheme?"dark":"light"])},[e.showHelp?((0,a.openBlock)(),(0,a.createBlock)(s,{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"])):(0,a.createCommentVNode)("",!0),e.showMinimize?((0,a.openBlock)(),(0,a.createBlock)(s,{key:1,class:"tool minimize",name:"window-tool-minimize","svg-icon-set":"set21",onClick:e.onClickMinimize},null,8,["onClick"])):(0,a.createCommentVNode)("",!0),e.showMaximize&&e.maximized?((0,a.openBlock)(),(0,a.createBlock)(s,{key:2,class:"tool restore",name:"window-tool-restore","svg-icon-set":"set21",onClick:e.onClickRestore},null,8,["onClick"])):(0,a.createCommentVNode)("",!0),e.showMaximize&&!e.maximized?((0,a.openBlock)(),(0,a.createBlock)(s,{key:3,class:"tool maximize",name:"window-tool-maximize","svg-icon-set":"set21",onClick:e.onClickMaximize},null,8,["onClick"])):(0,a.createCommentVNode)("",!0),e.showClose?((0,a.openBlock)(),(0,a.createBlock)(s,{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"])):(0,a.createCommentVNode)("",!0)],2)}]])},88698:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(62704),o=n(78456),r=n(69092),s=n(83871),a=n(25217),l=(0,n(11747).Z)((0,a.defineComponent)({name:"WindowHeader",components:{vWindowHeaderToolWrapper:o.Z,vIcon:s.Z},mixins:[i.ZP],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},showHamburgerIcon:{type:Boolean,default:!1},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","click-hamburger-icon"],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?(0,r.Qy)(this,"restore"):(0,r.Qy)(this,"maximize")},onClickHamburgerIcon(){(0,r.Qy)(this,"click-hamburger-icon")},getTitleEl(){return this.$refs.title}}}),[["render",function(e,t,n,i,o,r){let s=(0,a.resolveComponent)("v-icon"),l=(0,a.resolveComponent)("v-window-header-tool-wrapper"),c=(0,a.resolveDirective)("tooltip");return(0,a.openBlock)(),(0,a.createElementBlock)("div",{class:(0,a.normalizeClass)(e.wrapperCls),onDblclick:t[6]||(t[6]=function(){return e.onDblClick&&e.onDblClick(...arguments)})},[e.showHamburgerIcon?((0,a.openBlock)(),(0,a.createBlock)(s,{key:0,name:"app-window-header-hamburger","svg-icon-set":"set13",onClick:e.onClickHamburgerIcon},null,8,["onClick"])):(0,a.createCommentVNode)("",!0),e.showAppIcon?((0,a.openBlock)(),(0,a.createElementBlock)("div",{key:1,class:"app-icon",style:(0,a.normalizeStyle)(e.iconStyle)},null,4)):(0,a.createCommentVNode)("",!0),(0,a.createElementVNode)("div",{class:(0,a.normalizeClass)(e.prefixCls+"-text")},[(0,a.withDirectives)(((0,a.openBlock)(),(0,a.createElementBlock)("div",{ref:"title",class:(0,a.normalizeClass)(e.prefixCls+"-title")},[(0,a.createTextVNode)((0,a.toDisplayString)(e.title),1)],2)),[[c,e.titleTooltip]]),(0,a.renderSlot)(e.$slots,"sub-title")],2),(0,a.createVNode)(l,{"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)}]])},43866:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var i=n(88358),o=n(69092),r=n(61036),s=n(62088),a=n(62704),l=n(84593),c=n(71510),d=n(7558),u=n(30272),h=n(66649),p=n(88552),f=n(88698),m=n(80036),g=n(29151),y=n(63917),v=n(60590),b=n(60674),w=n(41253),C=n(81460),S=n(11598),k=n(8378),x=n(39192),B=n(55082),T=n(30319),E=n(22902),I=n(78671),D=n(48198),V=n(63309),N=n(25217),_=n(58954);let M={OWNER:Symbol("owner"),STATUS:Symbol("status")};function $(e,t){e.removeModalWindow(t),e.unmask(),t.owner=null}let Z="window-inject";var A=(0,N.defineComponent)({name:T.IA,components:{vResizable:h.Z,vDraggable:p.Z,vWindowHeader:f.Z,vTrapFocus:r.Z,vSpin:w.Z,vLayout:C.Z},mixins:[a.ZP,d.Z,l.Z,(0,u.J)("window"),(0,u.J)("adaptive-container-root"),(0,s.W)("window")],inject:{[Z]:{from:V.k,default:m.noop}},props:{id:{type:String,default:()=>`syno-${(0,c.V)()}`},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:m.noop},beforeMinimize:{type:Function,default:m.noop},beforeMaximize:{type:Function,default:m.noop},maximizeHook:{type:Function,default:m.noop},minimizeHook:{type:Function,default:m.noop},restoreHook:{type:Function,default:m.noop},fullscreenHook:{type:Function,default:m.noop},closeHook:{type:Function,default:m.noop},title:{type:String,default:void 0},resizable:{type:Boolean,default:!1},resizeHandles:{type:(0,_.C)(String),default:"all"},draggable:{type:Boolean,default:!0},helpParams:{type:String,default:void 0},alwaysOnTop:{type:(0,_.C)([Boolean,Function]),default:!1},isSkipActive:{type:(0,_.C)([Boolean,Function]),default:!1},customCls:{type:String,default:""},type:{type:(0,_.C)(String),validator:e=>["launch","component"].includes(e),default:"launch"},layoutType:{type:(0,_.C)(String),default:"none"},layoutOrder:{type:Number,default:0},mobileBreakpoint:{type:(0,_.C)([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:v.s?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:m.noop,onMinimized:m.noop,svc:!0}},computed:{isLastMaskByOwner(){return this.lastMaskLayer?.type===M.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":k.G6,"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(){let 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||!!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){let 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()}}},[i.mT.beforeUnmount](){for(let e of this.modalWins)e?.doClose?.();this.modalWins=[],this.messageBox=null,this.unWindowResize?.(),this.unResize?.(),this.unBreakpointWatch?.()},created(){this.modalWins=[],this[Z]&&(this[Z].window=this)},async mounted(){let e=(0,E.Z)(()=>{this.onWindowResize(),this.onSticky(),(0,o.Qy)(this,"window-resize")},0);this.unResize=(0,x.k)(this.getWindowEl(),this.onSticky,this),this.unWindowResize=(0,y.on)(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?((0,g.D8)("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active."),!1):(0,m.isString)(this.mobileBreakpoint)?this.mobileBreakpoint&&this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint):(0,m.isObject)(this.mobileBreakpoint)?this.$breakpointManager?.lessAndEqThan(this.mobileBreakpoint?.[e]??t):this.mobileBreakpoint},init(e,t){this.constrainRect=this.getConstrainRect(),this.initialized=!0,this.appInstance=t},getConstrainRect(){let e=(0,S.F)(this);if(!e)return{top:0,left:0,bottom:0,right:0};let{top:t,left:n,bottom:i,right:o}=e.getBoundingClientRect();return{top:t,left:n,bottom:i,right:o}},async doBreakpointFit(){this.inFitBreakpoint?await this.fitContainerWithTaskbar():this.inCenterBreakpoint&&await this.fitContainer({padding:[this.manager.densePadding??0,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]:{},n=this.getCurrentHeight(),i=this.getFullHeight(e,{withinTaskbar:t});i<this.innerMinHeight&&(i=this.innerMinHeight),this.constrainHeight(i,n)},constrainHeight(e,t){this.hidden||t>e&&(this.autoHeight=!1,this.currentHeight=e)},doConstrain(e){e??=(0,S.F)(this);let t=this.$alignManager.getConstrainToXY(e,this.getWindowEl());(0,m.isArray)(t)&&(t[0]!==this.left||t[1]!==this.top)&&this.setPosition(t[0],t[1]),this.tryConstrainHeight(e,{isFullsize:!0})},getCurrentWidth(){let e=this.getWindowEl();return!0===this.autoWidth?e?.offsetWidth:this.currentWidth},getCurrentHeight(){let e=this.getWindowEl();return!0===this.autoHeight?e?.offsetHeight:this.currentHeight},setForceAlwaysOnTop(e){this.forceAlwaysOnTop=e},isAlwaysOnTop(){return!!this.forceAlwaysOnTop||((0,m.isBoolean)(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:n}=e;this.top=t,this.left=n},onResizeEnd(e){let{top:t,left:n,width:i,height:r}=e;this.currentWidth=i,this.currentHeight=r,this.autoWidth=!1,this.autoHeight=!1,this.top=t,this.left=n,(0,o.Qy)(this,"resize",{top:t,left:n,width:i,height:r}),this.$nextTick(()=>{(0,o.Qy)(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;let e=(0,D.h)(this)?Promise.resolve():new Promise(e=>{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()){for(let e of(this.hidden=!0,this.modalWins))e.onMinimize();(0,o.Qy)(this,"hide"),this.onMinimized?.()}(0,o.Qy)(this,"close",{payload:e}),this._closedResolver?.(e),this.onDestroy?.({payload:e})},async onMinimize(){if(this.isStandalone||!this.canMinimize||!1===await this.beforeMinimize())return!1;for(let e of(this.minimizeHook(),this.hidden=!0,(0,o.Qy)(this,"hide"),this.onMinimized?.(),B.fm()?.SDS?.StatusNotifier&&B.fm()?.SDS.StatusNotifier.fireEvent("windowMinimize",this),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,B.fm()?.SDS?.StatusNotifier&&B.fm()?.SDS.StatusNotifier.fireEvent("windowBeforeMaximize",this),(0,o.Qy)(this,"maximize"),this.$nextTick(()=>{(0,o.Qy)(this,"window-resize")}))))},getFullHeight(e){let{withinTaskbar:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.clientHeight;return!t&&B.fm()?.SDS?.TaskBar?.height?n-B.fm()?.SDS.TaskBar.height():n},fitContainerWithTaskbar(){let e=0;B.fm()?.SDS?.TaskBar&&(e=B.fm()?.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:n="both"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,S.F)(this);this.isFit||this.storeSizeAndPos(),this.isFit=n,(0,m.isArray)(t)&&(this.left=t[0],this.top=t[1]),"both"===n||"width"===n?(this.currentWidth=i.clientWidth-2*e[0],(0,m.isArray)(t)&&(this.currentWidth-=t[0])):this.currentWidth=this.getStoreSizeAndPos().width,"both"===n||"height"===n?(this.currentHeight=i.clientHeight-2*e[1],(0,m.isArray)(t)&&(this.currentHeight-=t[1])):this.currentHeight=this.getStoreSizeAndPos().height,await this.$nextTick(),"center"===t&&this.alignCenterToContainer(),await this.$nextTick()},restoreSizePos(){let e=this.getStoreSizeAndPos();if(this.isFit&&e){let{width:t,height:n,top:i,left:o}=e;this.currentWidth=t,this.currentHeight=n,this.top=i,this.left=o}this.isFit=!1},_onHelp(){if(this.onHelp)return this.onHelp()},onRestore(){this.isStandalone||(this.restoreHook(),this.restoreSizePos(),this.maximized=!1,B.fm()?.SDS?.StatusNotifier&&B.fm()?.SDS.StatusNotifier.fireEvent("windowRestore",this),(0,o.Qy)(this,"restore"),this.$nextTick(()=>{(0,o.Qy)(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){let n=this.maskStack.findIndex(e=>e.type===M.STATUS);-1!==n&&this.maskStack.splice(n,1),this.maskStack.push({opacity:e,text:t,type:M.STATUS})},setStatusBusy(e,t){e=(0,m.isNumber)(e)?e:.4,t=t||this._i18n("common","loading"),this.setStatus(e,t)},clearStatus(){let e=this.maskStack.findIndex(e=>e.type===M.STATUS);-1!==e&&this.maskStack.splice(e,1)},mask(e){this.maskStack.push({opacity:e,text:void 0,type:M.OWNER})},unmask(){let e=this.maskStack.findLastIndex(e=>e.type===M.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]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.lastFocusElement=document.activeElement,(0,B.mV)()&&e instanceof(0,B.mV)().Window)return e.owner=this,{type:"extjs",...this.openExtWindow(e)};let{win:i,app:o,rootComponent:r}=(0,S.j)(e,t,{parentApp:this.$.appContext.app,containerEl:this.getMountEl(),onDestroy:e=>{this.lastFocusElement?.focus?.(),n?.onDestroy?.(e)},...n});return B.fm()?.SDS?.Desktop&&r&&B.fm()?.SDS.Desktop.appendChild(r),this.alwaysOnTop&&i.setForceAlwaysOnTop(!0),i.setOwner(this),i.init(this.manager,this.instance),{window:i,component:r,app:o,type:"vue"}},onExtWindowHide(e){e.hideForMinimize||$(this,e),this.lastFocusElement?.focus?.()},onExtWindowDestroy(e){$(this,e),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]:{},n=arguments.length>2?arguments[2]:void 0;this.lastFocusElement=document.activeElement;let i=this.openWindow(e,t,n);return"vue"===i.type&&this.pushModalWindow(i.window),i},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],t=(0,S.F)(this);this.alignCenterToElement(t,t,e)},alignToElement(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4?arguments[4]:void 0;o??=(0,S.F)(this);let r=this.getWindowEl().getBoundingClientRect();r.width=this.autoWidth?r.width:this.currentWidth,r.height=this.autoHeight?r.height:this.currentHeight;let s=this.$alignManager.getAlignToXYv2(r,e,t,n,!0,!0,o,i);this.left=s.x,this.top=s.y,(0,N.nextTick)(()=>{this.doConstrain(o)})},alignCenterToElement(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0];t??=(0,S.F)(this),this.alignToElement(e,"c->c",n,{},t)},getMsgBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=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},n).window,this.pushModalWindow(this.messageBox)),this.messageBox},showAboutWindow(){let e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(n.className)try{e=B.fm()?.SDS.Config.FnMap[n.className].config}catch{throw Error(`Failed to get jsConfig of ${n.className}`)}else e=this.jsConfig;if(!e)throw Error("Cannot find jsConfig");try{t=B.fm()?.SDS.UIFeatures.IconSizeManager.getIconPath(`${encodeURI(e.jsBaseURL)}/${e.icon||e.icon_32}`,"desktop")}catch{throw Error("Failed to get icon path")}let i=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]:i&&i("builddate")?i("builddate").split("/")[0]:"",desc:n.desc,isBeta:n.isBeta,swapNameAndDesc:n.swapNameAndDesc}).window;this.pushModalWindow(o)},setZIndex(e){let t=this.getWindowEl();t&&(0,y.css)(t,"zIndex",`${e}`),(0,o.Qy)(this,"zindex-changed",e)},getZIndex(){let e=this.getWindowEl();return e?(0,y.css)(e,"zIndex"):0},getToastBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getWindowEl(),o=this.getWindowConfigValue("toastAlignConfig",{});return t=(0,I.Z)({text:e},t),(0,b.e)(this.$.appContext.app,i,t,(0,I.Z)({constrainMode:!1,absoluteMode:!0,anchorEl:i,containerEl:i,offset:T.pQ,align:"t->t"},n,o))},open(){this.show()}}})},15476:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(25303),o=n(41253),r=n(60674),s=n(78671),a=n(30272),l=n(88698),c=n(88552),d=n(61036),u=n(25217),h=n(11747),p=n(30319);let f=(0,u.defineComponent)({name:"WizardWindow",components:{vDraggable:c.Z,vTrapFocus:d.Z,vSpin:o.Z,vWindowHeader:l.Z},extends:i.Z,mixins:[(0,a.J)("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]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getWindowEl(),o=this.getWindowConfigValue("toastAlignConfig",{});return t=(0,s.Z)({text:e},t),(0,r.e)(this.$.appContext.app,i,t,(0,s.Z)({constrainMode:!1,absoluteMode:!0,anchorEl:i,containerEl:i,offset:p.pQ,align:"t->t"},n,o))},tryConstrainHeight(){let{isFullsize:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!0}}}),m=["id"],g=["aria-label","aria-describedby"],y={class:"focus-last-alert",tabindex:"0",role:"alert"};var v=(0,h.Z)(f,[["render",function(e,t,n,i,o,r){let s=(0,u.resolveComponent)("v-window-header"),a=(0,u.resolveComponent)("v-trap-focus"),l=(0,u.resolveComponent)("v-draggable"),c=(0,u.resolveComponent)("v-spin"),d=(0,u.resolveDirective)("syno-id");return(0,u.withDirectives)(((0,u.openBlock)(),(0,u.createElementBlock)("div",{ref:"_window",class:(0,u.normalizeClass)(e.windowCls),style:(0,u.normalizeStyle)(e.windowStyle),onMousedown:t[1]||(t[1]=t=>e.toFront()),onKeydown:t[2]||(t[2]=(0,u.withKeys)(function(){return e.onEsc&&e.onEsc(...arguments)},["esc"]))},[(0,u.createVNode)(s,(0,u.mergeProps)({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":(0,u.withCtx)(()=>[e.inFitBreakpoint?(0,u.createCommentVNode)("",!0):((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:0,id:`${e.id}-subtitle`,class:"sub-wrapper",style:(0,u.normalizeStyle)(e.subTitleStyle)},(0,u.toDisplayString)(e.innerSubTitle),13,m))]),_:1},16,["class","onClose"]),e.inFitBreakpoint?((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:0,class:"headline-transform",style:(0,u.normalizeStyle)(e.subTitleStyle)},[(0,u.createElementVNode)("div",{class:"headline-text",style:(0,u.normalizeStyle)(e.headlineStyle)},(0,u.toDisplayString)(e.innerSubTitle),5)],4)):(0,u.createCommentVNode)("",!0),(0,u.createVNode)(a,{ref:"trapFocus",class:(0,u.normalizeClass)(e.extendedBodyCls)},{"alert-last":(0,u.withCtx)(()=>[(0,u.createElementVNode)("div",y,(0,u.toDisplayString)(e._i18n("desktop","window_last_hint")),1)]),default:(0,u.withCtx)(()=>[(0,u.createElementVNode)("div",{class:"v-trap-focus-indicator",tabindex:"0",role:"dialog","aria-label":e.currentTitle,"aria-describedby":`${e.id}-subtitle`},null,8,g),(0,u.renderSlot)(e.$slots,"default")]),_:3},8,["class"]),e.innerDraggable?((0,u.openBlock)(),(0,u.createBlock)(l,{key:1,"prefix-cls":"v-wizard-window","window-property":e.windowProperty,onDragging:e.setDragging,onDragEnd:e.onDragEnd},null,8,["window-property","onDragging","onDragEnd"])):(0,u.createCommentVNode)("",!0),e.isMasking?((0,u.openBlock)(),(0,u.createElementBlock)("div",{key:2,class:(0,u.normalizeClass)(e.maskCls),onMousedown:t[0]||(t[0]=(0,u.withModifiers)(function(){return e.onMaskMouseDown&&e.onMaskMouseDown(...arguments)},["stop"]))},[(0,u.createVNode)(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)):(0,u.createCommentVNode)("",!0)],38)),[[u.vShow,e.showWindow],[d]])}]])},43216:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var i=n(16447);let o=(0,n(53300).e)({components:[i.Q]})},16447:function(e,t,n){"use strict";n.d(t,{Q:function(){return r}});var i=n(9610),o=n(25217);function r(e){{let t=(t,n)=>{let{attrs:r,slots:s}=n;return t.wrap?(0,o.h)(e,r,s):t.multiple?s.default?.():(0,i.g)(s.default())};return t.componentName="WithWrap",t.props=["wrap","multiple"],t}}},45304:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var i=n(88358),o=n(84593),r=n(61644),s=n(97052),a=n(30272),l=n(25217),c=n(58954);function d(e,t){return"function"==typeof e?e.call(null,t):e}let u="next",h="back",p="leftButton";var f=(0,l.defineComponent)({name:"WizardFooter",components:{vButton:r.Z,vStatusBar:s.Z},mixins:[o.Z,(0,a.f)("wizard")],props:{nextStepDisabled:{type:Boolean,default:!1},previousStepDisabled:{type:Boolean,default:!1},customButtonsGroup:{type:(0,c.C)(Object),default:()=>({})},showStatusBar:{type:Boolean,required:!0},statusBarState:{type:(0,c.C)(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:(0,c.C)(String),default:"footbar"},leftButtonSuffix:{type:(0,c.C)(String),default:"cancel"},leftButtonCls:{type:String,default:""},isMobile:{type:Boolean,default:!1},reachYStart:{type:Boolean,default:!0},reachYEnd:{type:Boolean,default:!0},currentStep:{type:(0,c.C)(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,{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?d(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?d(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?d(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?d(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?d(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?d(this.customButtonsGroup.next.disabled,e):t},startButtonText(){let e=this.currentStep;return this.customButtonsGroup&&this.customButtonsGroup.start&&this.customButtonsGroup.start.text?d(this.customButtonsGroup.start.text,e):this._i18n("common","start")},leftText(){let e=this.currentStep;return this.customButtonsGroup?.leftButton?.text?d(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?d(this.customButtonsGroup.back.text,e):this._i18n("common","back")},backButton(){let e=this.currentStep;return this.customButtonsGroup?.back?.button?d(this.customButtonsGroup.back.button,e):{}},nextButton(){let e=this.currentStep;return this.customButtonsGroup?.next?.button?d(this.customButtonsGroup.next.button,e):{}},leftButton(){let e=this.currentStep;return this.customButtonsGroup?.leftButton?.button?d(this.customButtonsGroup.leftButton.button,e):{}},nextButtonText(){let e=this.currentStep,t=this.nextText;return this.customButtonsGroup&&this.customButtonsGroup.next&&this.customButtonsGroup.next.text?d(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(let 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}},[i.mT.beforeUnmount](){for(let e of this.unwatchers)e?.()},methods:{invokeBehavior(e){switch(e){case h:this.toPre();break;case u:this.toNext();break;case p:this.onLeftButton()}},onClickBackButton(){let e=this.customButtonsGroup?.back?.behavior??h;this.invokeBehavior(e)},onClickNextButton(){let e=this.customButtonsGroup?.next?.behavior??u;this.invokeBehavior(e)},onClickLeftButton(){let e=this.customButtonsGroup?.leftButton?.behavior??p;this.invokeBehavior(e)},toPre(){this.wizard?.instance?.toPreviousStep()},toNext(){!0===this.hasNextStep?this.wizard?.instance?.toNextStep():this.wizard?.instance?.finish()},onLeftButton(){this.wizard?.instance?.onClickLeftButton()}}}),m=n(11747);let g={key:0,class:"left-area button-region"},y={key:1,class:"button-group center button-region"},v={key:2,class:"button-group pull-right button-region"};var b=(0,m.Z)(f,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-button"),a=(0,l.resolveComponent)("v-status-bar"),c=(0,l.resolveDirective)("syno-id");return(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(e.wrapperCls)},[e.showStartButton||e.isMobile?(0,l.createCommentVNode)("",!0):((0,l.openBlock)(),(0,l.createElementBlock)("div",g,[e.showLeftButton?((0,l.openBlock)(),(0,l.createBlock)(s,(0,l.mergeProps)({key:0,"syno-id":`${e.synoId}-left-button`,type:e.leftButtonType,suffix:e.leftButtonSuffix,class:e.extendedLeftButtonCls},e.leftButton,{onClick:e.onClickLeftButton}),{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.leftText),1)]),_:1},16,["syno-id","type","suffix","class","onClick"])):(0,l.createCommentVNode)("",!0),(0,l.createVNode)(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?((0,l.openBlock)(),(0,l.createElementBlock)("div",y,[(0,l.withDirectives)((0,l.createVNode)(s,{"syno-id":`${e.synoId}-start`,type:"footbar",suffix:"main",disabled:e.disableStartButton,onClick:t[0]||(t[0]=t=>e.toNext())},{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.startButtonText),1)]),_:1},8,["syno-id","disabled"]),[[l.vShow,e.showStartButton]])])):((0,l.openBlock)(),(0,l.createElementBlock)("div",v,[e.showLeftButton&&e.isMobile?((0,l.openBlock)(),(0,l.createBlock)(s,(0,l.mergeProps)({key:0,"syno-id":`${e.synoId}-left-button`,type:e.leftButtonType,suffix:e.leftButtonSuffix},e.leftButton,{onClick:e.onClickLeftButton}),{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.leftText),1)]),_:1},16,["syno-id","type","suffix","onClick"])):(0,l.createCommentVNode)("",!0),(0,l.withDirectives)((0,l.createVNode)(s,(0,l.mergeProps)({"syno-id":`${e.synoId}-back`,type:"footbar",suffix:"cancel",disabled:e.disableBackButton},e.backButton,{onClick:e.onClickBackButton}),{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.backButtonText),1)]),_:1},16,["syno-id","disabled","onClick"]),[[l.vShow,e.showBackButton]]),(0,l.withDirectives)((0,l.createVNode)(s,(0,l.mergeProps)({"syno-id":`${e.synoId}-next`,type:"footbar",suffix:"main",disabled:e.disableNextButton},e.nextButton,{onClick:e.onClickNextButton}),{default:(0,l.withCtx)(()=>[(0,l.createTextVNode)((0,l.toDisplayString)(e.nextButtonText),1)]),_:1},16,["syno-id","disabled","onClick"]),[[l.vShow,e.showNextButton]])]))],2)),[[c]])}]])},93722:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var i=n(13016),o=n(82934),r=n(45304);let s=(0,n(53300).e)({components:[o.Z,i.Z,r.Z]})},13016:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(88358),o=n(69092),r=n(80036),s=n(16447),a=n(30272),l=n(25217),c=n(58954),d=(0,l.defineComponent)({name:"WizardStep",components:{withTransition:(0,s.Q)(l.Transition)},mixins:[(0,a.f)("wizard")],props:{type:{type:(0,c.C)(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:(0,c.C)(Function),default:void 0},preEnterPreviousStep:{type:(0,c.C)(Function),default:void 0},postEnterNextStep:{type:(0,c.C)(Function),default:void 0},postEnterPreviousStep:{type:(0,c.C)(Function),default:void 0},finished:{type:(0,c.C)(Function),default:void 0},showFooter:{type:Boolean,default:!0}},emits:["activate","deactivate"],data:()=>({prefixCls:"v-wizard-step",autoPreviousStepKey:null,isActive:!1}),computed:{transitionProps(){return(0,r.isBoolean)(this.showTransition)?{name:"fade"}:this.showTransition},innerPreviousStepKey(){return this.previousStepKey??this.autoPreviousStepKey}},mounted(){this.wizard?.instance?.addStep(this)},[i.mT.beforeUnmount](){this.wizard?.instance?.removeStep(this)},methods:{activate(){this.wizard?.instance?.setCurrentStep(this),this.isActive=!0,(0,o.Qy)(this,"activate",this)},deactivate(){this.isActive&&((0,o.Qy)(this,"deactivate",this),this.isActive=!1)},setAutoPreviousStepKey(e){this.autoPreviousStepKey=e},async nextStep(){let e,t=this.preEnterNextStep;if(t){let n=await t();if(!1===n)return;(0,r.isString)(n)&&(e=n)}(0,l.nextTick)(()=>{this.wizard.instance.onNextStep(e??this.nextStepKey),this.postEnterNextStep?.()})},async previousStep(){let e,t=this.preEnterPreviousStep;if(t){let n=await t();if(!1===n)return;(0,r.isString)(n)&&(e=n)}(0,l.nextTick)(()=>{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}}}),u=(0,n(11747).Z)(d,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("with-transition"),a=(0,l.resolveDirective)("syno-id");return(0,l.openBlock)(),(0,l.createBlock)(s,(0,l.mergeProps)({wrap:!!e.showTransition},e.transitionProps,{onAfterEnter:e.onAfterEnter,onAfterLeave:e.onAfterLeave}),{default:(0,l.withCtx)(()=>[(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("div",{class:(0,l.normalizeClass)(e.prefixCls)},[(0,l.renderSlot)(e.$slots,"default")],2)),[[l.vShow,e.isActive],[a]])]),_:3},16,["wrap","onAfterEnter","onAfterLeave"])}]])},82934:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}}),n(50401),n(91234),n(15773);var i=n(88358),o=n(69092),r=n(48198),s=n(45304),a=n(30782),l=n(84593),c=n(29151),d=n(81460),u=n(8378),h=n(30272),p=n(99465),f=n(62088),m=n(25217),g=n(58954),y=(0,m.defineComponent)({name:"Wizard",components:{wizardFooter:s.Z,vScrollbar:a.Z,vLayout:d.Z},mixins:[l.Z,(0,h.f)("wizard-window"),(0,h.J)("wizard"),(0,f.W)("wizard")],props:{nextStepDisabled:Boolean,previousStepDisabled:Boolean,activeStepKey:{type:String,default:void 0},customButtonsGroup:{type:(0,g.C)(Object),default:()=>null},wizardStyle:{type:Object,default:()=>({})},stepCtStyle:{type:Object,default:()=>({})},showStatusBar:{type:Boolean,default:!1},statusBarState:{type:(0,g.C)(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:(0,g.C)(String),default:"footbar"},leftButtonSuffix:{type:(0,g.C)(String),default:"cancel"},leftButtonCls:{type:String,default:""},layoutOrder:{type:Number,default:0},layoutType:{type:(0,g.C)(String),default:"basic"},mobileBreakpoint:{type:(0,g.C)([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":(0,u.Eh)("<",17),"reach-y-start":this.innerDetectScroll&&this.reachYStart,"reach-y-end":this.innerDetectScroll&&this.reachYEnd}},isMobile(){return!this.$breakpointManager&&this.mobileBreakpoint?((0,c.D8)("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){for(let t of this.steps)t.stepKey===e?t.activate?.():t.deactivate?.();await (0,m.nextTick)(),this.$refs.scrollbar.update(),this.detectReachStartEnd()},activeStepKey(){this.activateStepKey=this.activeStepKey}},async mounted(){this.activateStepKey=this.activeStepKey,await (0,m.nextTick)(),this.detectReachStartEnd(),this.$refs.headline&&(this.headlineIntersectionDisposeFn=(0,p.m)(this.$refs.headline,this.onHeadlineIntersection))},[i.mT.beforeUnmount](){this.headlineIntersectionDisposeFn?.()},methods:{addStep(e){this.steps.push(e)},removeStep(e){this.steps=this.steps.filter(t=>(0,r.s)(t)!==(0,r.s)(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){(0,o.Qy)(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(let e of this.currentStepsUnWatchers)e();this.currentStepsUnWatchers=t.map(t=>e.$watch(t,this.onStepPropChange(t),{immediate:!0}))},handleCurrentStep(e){(0,o.Qy)(this,"current-step",this.currentStep),this["wizard-window"]?.instance?.setCurrentStep?.(e),this.watchStep(this.currentStep,["showFooter","headline"])},handleScrollbar(e){this.detectReachStartEnd();let t=e.target;(0,o.Qy)(this,"step-scroll",t.scrollTop),this.onStepScrolled(t.scrollTop),this["wizard-window"]?.instance?.onStepScrolled?.(t.scrollTop)},onStepScrolled(e){this.headlineOpacity=e?1-Math.min(e,4)/4:1},detectReachStartEnd(){if(this.innerDetectScroll&&this.$refs.scrollbar){let e=this.$refs.scrollbar;this.reachYStart=e?.isReachTop(),this.reachYEnd=e?.isReachBottom(),this["wizard-window"]?.instance?.setReachStartEnd?.(this.reachYStart,this.reachYEnd)}}}}),v=n(11747);let b={key:0,class:"headline-wrap"};var w=(0,v.Z)(y,[["render",function(e,t,n,i,o,r){let s=(0,m.resolveComponent)("v-layout"),a=(0,m.resolveComponent)("v-scrollbar"),l=(0,m.resolveComponent)("wizard-footer"),c=(0,m.resolveDirective)("syno-id");return(0,m.withDirectives)(((0,m.openBlock)(),(0,m.createBlock)(s,{class:(0,m.normalizeClass)(e.wrapperCls),style:(0,m.normalizeStyle)(e.wizardStyle),type:`wizard.${e.layoutType}`},{default:(0,m.withCtx)(()=>[(0,m.createElementVNode)("div",{class:(0,m.normalizeClass)(["step-wrap",e.stepWrapperCls]),style:(0,m.normalizeStyle)(e.stepCtStyle)},[(0,m.createVNode)(a,{ref:"scrollbar",class:"step-scrollbar",onScroll:e.handleScrollbar,onIsActive:e.detectReachStartEnd},{default:(0,m.withCtx)(()=>[!1!==e.headline?((0,m.openBlock)(),(0,m.createElementBlock)("div",b,[(0,m.createElementVNode)("div",{ref:"headline",class:"headline",style:(0,m.normalizeStyle)(e.headlineStyle)},(0,m.toDisplayString)(e.headline),5)])):(0,m.createCommentVNode)("",!0),(0,m.createVNode)(s,{class:"step-container",type:"wizard-step-container"},{default:(0,m.withCtx)(()=>[(0,m.renderSlot)(e.$slots,"default")]),_:3})]),_:3},8,["onScroll","onIsActive"])],6),(0,m.renderSlot)(e.$slots,"footer",{currentStep:e.currentStep,toNextStep:e.toNextStep,toPreviousStep:e.toPreviousStep,finish:e.finish},()=>[(0,m.withDirectives)((0,m.createVNode)(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"]),[[m.vShow,e.showFooter]])])]),_:3},8,["class","style","type"])),[[c]])}]])},96153:function(e,t,n){"use strict";n.d(t,{$C:function(){return r},LF:function(){return i},w4:function(){return o}});let i="notification_inject",o={Tips:"tips",Suggestion:"suggestion",Important:"important"},r={pos:"tr",offset:[-24,24]}},30319:function(e,t,n){"use strict";n.d(t,{IA:function(){return o},jK:function(){return i},pQ:function(){return s},v3:function(){return r}});let i="AppWindow",o="Window",r="ModalWindow",s=[0,16]},44658:function(e,t,n){"use strict";n.d(t,{P:function(){return s}});var i=n(1305),o=n(60590),r=n(88358);let s={[r.D2.mounted](e){(0,i.EB)(e)&&!o.s&&window.setTimeout(()=>{e?.focus()},0)}}},7371:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var i=n(44658);let o=(0,n(53300).e)({},e=>{e.directive("auto-focus",i.P)})},97006:function(e,t,n){"use strict";n.d(t,{ZP:function(){return v},rd:function(){return f}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(80438);var i=n(63917),o=n(80036),r=n(90946),s=n(88358),a=n(10853),l=n(30201);let c="__synoclickoutside__",d="clickoutside",u=new Set,h=0,p=!1;function f(e){for(let t of u)t[c]&&t[c].validateFn(e)}function m(e,t,n){return i=>{var s,u;let h=[];n&&(h=function(e,t){let n=(0,l.s)(t),i=t.arg,r=t.modifiers.children&&n?(0,a.G)(n):[];if(i){let n=(0,o.isFunction)(i)?i(e,t):i;n=(0,o.isArray)(n)?n:[n],r.push(...n)}return r}(n,t),!i.target||e.contains(i.target)||(s=h,u=i.target,s.some(e=>!!e&&("$el"in e?e.$el.contains(u):e.contains(u))))||(0,o.isDefined)(e[c]?.attachTimestamp)&&i.timeStamp<e[c].attachTimestamp||e.dispatchEvent((0,r.L8)(d,{bubbles:!1,cancelable:!1})))}}function g(e,t,n){if(e[c])return;let r=(0,i.on)(e,d,e=>(0,o.isFunction)(t.value)?t.value(e):null);e[c]={id:++h,validateFn:m(e,t,n),disposedFn:r,attachTimestamp:performance.now()},u.add(e)}function y(e){e[c]&&(u.delete(e),e[c].disposedFn?.(),delete e[c])}var v=(0,s.Dj)({[s.D2.mounted](e,t,n){p||((0,i.on)(document.documentElement,["mousedown","touchstart"],e=>{f(e)}),p=!0),!1!==t.value&&g(e,t,n)},[s.D2.updated](e,t,n){!1!==t.value?e[c]?e[c].validateFn=m(e,t,n):g(e,t,n):y(e)},[s.D2.unmounted](e){y(e)}})},26902:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var i=n(97006);let o=(0,n(53300).e)({},e=>{e.directive("clickoutside",i.ZP)})},92239:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(88358),o=n(62704),r={[i.D2.mounted](e,t,n){let i=n.component?.proxy;i&&o.WI.call(i,"FormItem","form.register",i)},[i.D2.unmounted](e,t,n){let i=n.component.proxy;i&&o.WI.call(i,"FormItem","form.unregister",i)}}},55326:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var i=n(92239);let o=(0,n(53300).e)({},e=>{e.directive("form-component",i.Z)})},23638:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(84927),o=n(80036),r=n(88358);let s="__svc_long_press__";var a={[r.D2.mounted](e,t){let n=(0,o.isFunction)(t.value)?t.value:o.noop;e[s]=(0,i.p)(e,n)},[r.D2.unmounted](e){e[s]?.()}}},89180:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var i=n(23638);let o=(0,n(53300).e)({},e=>{e.directive("long-press",i.Z)})},99041:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var i=n(44888);let o=(0,n(53300).e)({},e=>{e.directive("pressing",i.Z)})},44888:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(63917),o=n(80036),r=n(88358),s={[r.D2.mounted](e,t){let n=(0,o.isFunction)(t.value)?t.value:o.noop;(0,i.on)(e,"mousedown",()=>{let e=!1,t=()=>{e=!0,!1===n()&&o()},o=()=>{window.clearInterval(r),e||t()},r=window.setInterval(()=>{t()},150);(0,i.once)(document,"mouseup",o)})}}},62950:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var i=n(88358),o=n(53300),r=n(61875),s=n(19879);let a=(0,o.e)({},function(e){let{active:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,i.a0)(e);n&&(n.$synoIdActive=t),e.directive("syno-id",r.Z),t?e.mixin(s.Z):e.mixin({data:()=>({synoId:""})})})},61875:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(29151),o=n(88358),r=n(30201);function s(e,t,n){let o=(0,r.s)(t)??{};if(!o?.$synoIdActive)return;if(!1===t.value||!1===o.useSynoId)return void e.removeAttribute("syno-id");!function(e,t){if(!e&&(0,i.L1)()){let e="";t.$options.name&&(e+=`${t.$options.name}`),(0,i.D8)(`syno-id required [${e}]`,t)}}(o.synoId,o);let s=t.value||o.synoId;e.setAttribute("syno-id",s)}var a={[o.D2.mounted](e,t,n){s(e,t)},[o.D2.updated](e,t,n){s(e,t)}}},50607:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var i=n(74547);let o=(0,n(53300).e)({},e=>{e.directive("tooltip",i.Z)})},74547:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var i=n(65964),o=n(80036),r=n(97006),s=n(69092),a=n(88358),l=n(25217),c=n(58954);let d={HINT:"hint",INFO:"info",ERROR:"error",CUSTOM:"custom"},u={HOVER:"hover",CLICK:"click",LONG_PRESS:"long-press",FOCUS:"focus",CUSTOM:"custom"},h=[u.CLICK,u.LONG_PRESS,u.FOCUS];var p=(0,l.defineComponent)({directives:{clickoutside:r.ZP},components:{vPortalTarget:i.Z},props:{attachToElement:{type:(0,c.C)([HTMLElement,Boolean]),default:!1},arrow:{type:Boolean,default:!1},extraElement:{type:HTMLElement,default:void 0},tipContainer:{type:(0,c.C)(Function),default:o.noop},portalName:{type:String,default:""},triggerAction:{type:(0,c.C)(String),default:"hover",validator:e=>Object.values(u).includes(e)},interactive:{type:Boolean,default:!1},usePortal:{type:Boolean,default:!1},type:{type:(0,c.C)(String),default:d.HINT,validator:e=>Object.values(d).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:o.noop,onDeactivate:o.noop,transitionTime:[500,100],dismissTime:500,hideWhenClickOutside:void 0,showTimeout:null,hideTimeout:null}),computed:{innerHideWhenClickOutside(){return(0,o.isDefined)(this.hideWhenClickOutside)?this.hideWhenClickOutside:h.includes(this.triggerAction)},innerOffset(){if(this.arrow){let 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()},[a.mT.beforeUnmount](){this.$popupManager?.releaseZIndex()},methods:{onMouseEnter(e){this.interactive&&this.triggerAction===u.HOVER&&(0,s.Qy)(this,"trigger-show",e)},onMouseLeave(e){this.interactive&&this.triggerAction===u.HOVER&&(0,s.Qy)(this,"trigger-hide",e)},onClickoutside(){this.innerHideWhenClickOutside&&(0,s.Qy)(this,"trigger-hide")},shouldShow(e){if(this.overflowOnly){let t=e;if((0,o.isFunction)(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()=>{let n=this.tipContainer?.()??this.$popupManager?.getTipContainerEl()??document.body;this.x=0,this.y=0,this.visible=!1,await this.$nextTick();let i=this.attachToElement?this.attachToElement:{left:e,top:t,width:0,height:0},{x:o,y:r,arrowPlacement:s}=this.$alignManager.getAlignToXYv2(this.$el,i,this.align,{containerEl:n,offset:this.innerOffset});this.arrowPlacement=s??"",this.x=o,this.y=r,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)}}}),f=n(11747);let m=["data-placement"],g={key:2},y=["innerHTML"];var v=(0,f.Z)(p,[["render",function(e,t,n,i,o,r){let s=(0,l.resolveComponent)("v-portal-target"),a=(0,l.resolveDirective)("clickoutside");return e.showTooltip?(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:0,class:(0,l.normalizeClass)(e.tooltipCls),style:(0,l.normalizeStyle)(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?((0,l.openBlock)(),(0,l.createElementBlock)("i",{key:0,class:"tooltip-arrow","data-placement":e.arrowPlacement},null,8,m)):(0,l.createCommentVNode)("",!0),e.usePortal?((0,l.openBlock)(),(0,l.createBlock)(s,{key:1,name:e.portalName,"custom-class":"tip-portal"},null,8,["name"])):e.isHtml?((0,l.openBlock)(),(0,l.createElementBlock)("span",{key:3,innerHTML:e.content},null,8,y)):((0,l.openBlock)(),(0,l.createElementBlock)("span",g,(0,l.toDisplayString)(e.content),1))],38)),[[a,e.onClickoutside,e.extraElement]]):(0,l.createCommentVNode)("",!0)}]]),b=n(63917),w=n(99465),C=n(84927),S=n(90946),k=n(47696);function x(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 B(e,t,n){let i=function(e,t){let n={};(0,o.isString)(e.value)?n.content=e.value:(0,o.isObject)(e.value)?n=e.value:!1===e.value&&(n.disabled=!0),(0,o.isDefined)(n.isHtml)||(n.isHtml=!!(0,o.isDefined)(e.modifiers.html)&&e.modifiers.html);let i=t.ctx.appContext.config.globalProperties.$breakpointManager;return!(0,o.isDefined)(n.triggerAction)&&i?.mobile&&(n.triggerAction="long-press"),n}(t,n);return!0===i.attachToElement&&(i.attachToElement=e),i.extraElement=e,i}function T(e,t){if(!e._tooltip)return!1;if((0,o.isObject)(t))for(let n in t)(0,o.hasOwn)(t,n)&&!(0,o.hasOwn)(e._tooltip.$props,n)&&(e._tooltip[n]=t[n]);return!0}function E(e,t,n){if(e._tooltip)return;let i=e._svc_tooltip_props_data??{};if(i.disabled)return;let{component:o,destroyFn:r}=(0,k.J)(t.ctx.appContext.app,v,i);e._tooltip=o,e._tooltip_destroy_fn=r,(0,s.Zn)(e._tooltip,"trigger-show",e._svc_tooltip_e_show_cb),(0,s.Zn)(e._tooltip,"trigger-hide",e._svc_tooltip_e_hide_cb),T(e,i)}function I(e,t,n,i){if(!0===(t._svc_tooltip_props_data??{}).disabled)return;E(t,i);let{x:o,y:r}=x(e);t._tooltip.shouldShow(t)&&(t._tooltip.isActive=!0,t._tooltip.mountOnContainer(),t._tooltip.show(o,r))}function D(e){let t=e._tooltip;t&&(t.isActive=!1,window.setTimeout(()=>{t&&(t.isActive||V(e))},t.transitionTime[1]))}function V(e){let t=e._tooltip;t&&(t.removeFromContainer(),t.hide(),e._tooltip_destroy_fn?.(),e._tooltip=null)}function N(e,t,n,i){let o=[],r=t=>{I(t,e,0,i)},s=()=>{D(e)},a=t=>{!function(e,t,n,i){if(!0===(t._svc_tooltip_props_data??{}).disabled)return;E(t,i);let{x:o,y:r}=x(e);t._tooltip.shouldShow(t)&&(t._tooltip.isActive?t._tooltip.show(o,r):I(e,t,0,i))}(t,e,0,i)};if(e._svc_tooltip_e_show_cb=r,e._svc_tooltip_e_hide_cb=s,e._svc_tooltip_e_move_cb=a,e._svc_tooltip_e_intersection_cb=t=>{t.target!==e||t.isVisible||D(e)},t.triggerAction&&"hover"!==t.triggerAction){if("click"===t.triggerAction){let t=e=>{r(e)},n=t=>{if((0,S.Wd)(t)){let n=e._tooltip;n?.isActive?s():r(t),t.preventDefault(),t.stopPropagation()}};(0,b.on)(e,"click",t),(0,b.on)(e,"keydown",n),o.push(()=>(0,b.off)(e,"click",t)),o.push(()=>(0,b.off)(e,"keydown",n))}else if("long-press"===t.triggerAction){let t=(0,C.p)(e,r);o.push(t)}else"focus"===t.triggerAction&&o.push((0,b.on)(e,"focus",r))}else(0,b.on)(e,"mouseenter",r),(0,b.on)(e,"mouseleave",s),(0,b.on)(e,"mousemove",a),o.push(()=>(0,b.off)(e,"mouseenter",r)),o.push(()=>(0,b.off)(e,"mouseleave",s)),o.push(()=>(0,b.off)(e,"mousemove",a));o.push((0,w.m)(e,e._svc_tooltip_e_intersection_cb,e)),e._tooltip_disposed_fns=o}function _(e){if(e._tooltip_disposed_fns){for(let t of e._tooltip_disposed_fns)t?.();delete e._tooltip_disposed_fns}V(e)}var M={[a.D2.mounted](e,t,n){let i=B(e,t,n);e._svc_tooltip_props_data=i,N(e,i,0,n)},[a.D2.updated](e,t,n){let i=B(e,t,n),r=e._svc_tooltip_props_data;T(e,i),r&&!(0,o.isEqual)(r.triggerAction,i.triggerAction)&&(_(e),N(e,i,0,n)),e._svc_tooltip_props_data=i,e._tooltip&&!(0,b.isVisible)(e)&&D(e)},[a.D2.unmounted](e){_(e)}}},95859:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(88358),o=n(84593),r=n(80036),s=n(37153),a=n(83871),l=n(61644),c=n(21812),d=n(25217),u=n(11747),h=n(96153);(0,s.z)("notify-tray-icon-tips",c.v_),(0,s.z)("notify-tray-icon-suggestion",c.v6),(0,s.z)("notify-tray-icon-important",c.Ut);let p=(0,d.defineComponent)({name:"Notification",components:{vIcon:a.Z,vButton:l.Z},mixins:[o.Z,s.Z],inject:{[h.LF]:{default:r.noop}},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:r.noop},confirm:{type:Function,default:r.noop},cancelText:{type:String,default:void 0},confirmText:{type:String,default:void 0},beforeClose:{type:Function,default:r.noop},onClose:{type:Function,default:void 0}},data:()=>({isShow:!1,isLeave:!1,visible:"visible",onDestroy:r.noop}),computed:{containerStyle(){return{visibility:this.visible}},panelCls(){return{show:this.isShow,leave:this.isLeave}},iconCls(){return["v-notification-icon",`v-notification-icon-${this.icon}`]}},[i.mT.beforeUnmount](){SYNO.SDS.StatusNotifier.un("taskBarPanelShow",this.close,this)},created(){this[h.LF]&&(this[h.LF].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"}}}),f={class:"v-notification-wrapper"},m={class:"v-notification-body-wrapper"},g=["innerHTML"],y=["innerHTML"],v={key:0,class:"v-notification-footer-wrapper"},b=["syno-id"];var w=(0,u.Z)(p,[["render",function(e,t,n,i,o,r){let s=(0,d.resolveComponent)("v-icon"),a=(0,d.resolveComponent)("v-button");return(0,d.openBlock)(),(0,d.createElementBlock)("div",{class:"v-notification-container",style:(0,d.normalizeStyle)(e.containerStyle)},[(0,d.createElementVNode)("div",{ref:"panel",class:(0,d.normalizeClass)(["v-notification-panel",e.panelCls])},[(0,d.createVNode)(s,{class:"close-btn",name:"window-tool-close","svg-icon-set":"set22",onClick:e.onClickClose},null,8,["onClick"]),(0,d.renderSlot)(e.$slots,"wrapper",{},()=>[(0,d.createElementVNode)("div",f,[(0,d.renderSlot)(e.$slots,"icon",{},()=>[e.icon?((0,d.openBlock)(),(0,d.createBlock)(s,{key:0,class:"v-notification-icon",name:e.getIconType()},null,8,["name"])):(0,d.createCommentVNode)("",!0)]),(0,d.createElementVNode)("div",m,[(0,d.createElementVNode)("div",{class:"v-notification-title",innerHTML:e.title},null,8,g),(0,d.renderSlot)(e.$slots,"body",{},()=>[(0,d.createElementVNode)("div",{class:"v-notification-body",onClick:t[0]||(t[0]=function(){return e.onClickMessage&&e.onClickMessage(...arguments)}),innerHTML:e.body},null,8,y)])])])]),(0,d.renderSlot)(e.$slots,"footer",{},()=>[e.fbar?((0,d.openBlock)(),(0,d.createElementBlock)("div",v,[e.hasCancelBtn?((0,d.openBlock)(),(0,d.createElementBlock)("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)})},(0,d.toDisplayString)(e.cancelText||e._i18n("common","skip")),9,b)):(0,d.createCommentVNode)("",!0),e.hasConfirmBtn?((0,d.openBlock)(),(0,d.createBlock)(a,{key:1,"syno-id":`${e.synoId}-fbar-commit`,type:"footbar",suffix:"main",onClick:e.confirm},{default:(0,d.withCtx)(()=>[(0,d.createTextVNode)((0,d.toDisplayString)(e.confirmText||e._i18n("common","enable")),1)]),_:1},8,["syno-id","onClick"])):(0,d.createCommentVNode)("",!0)])):(0,d.createCommentVNode)("",!0)])],2)],4)}]])},18611:function(e,t,n){"use strict";n.d(t,{G8:function(){return f},KR:function(){return h},KZ:function(){return m},QT:function(){return p},aA:function(){return g},dR:function(){return y}}),n(50401),n(15065);var i=n(88358),o=n(53300),r=n(80036),s=n(60590),a=n(29151),l=n(78671),c=n(24226),d=n(41431);function u(e){return(0,r.isEmptyString)(e)||!(0,r.isDefined)(e)}class h{constructor(){let{active:e=!0,textsFn:t=[],defaultText:i=!0,useGlobalTexts:o=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(let n of(this.active=e,this.locale=null,this.useGlobalTexts=o,this.textsFn=[],t))this.registerTextFn(n);if("undefined"!=typeof SVC_EJECT_I18N&&SVC_EJECT_I18N)i&&(0,a.D8)("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){let e=e=>{switch(e){case"chs":return n.e("139").then(n.bind(n,8952));case"cht":return n.e("239").then(n.bind(n,19365));case"csy":return n.e("682").then(n.bind(n,98085));case"dan":return n.e("788").then(n.bind(n,25337));case"enu":default:return n.e("270").then(n.bind(n,25518));case"fre":return n.e("723").then(n.bind(n,25647));case"ger":return n.e("222").then(n.bind(n,17291));case"hun":return n.e("56").then(n.bind(n,66945));case"ita":return n.e("54").then(n.bind(n,74048));case"jpn":return n.e("440").then(n.bind(n,72230));case"krn":return n.e("694").then(n.bind(n,8996));case"nld":return n.e("298").then(n.bind(n,54356));case"nor":return n.e("375").then(n.bind(n,46574));case"plk":return n.e("744").then(n.bind(n,22271));case"ptb":return n.e("386").then(n.bind(n,22511));case"ptg":return n.e("413").then(n.bind(n,70759));case"rus":return n.e("293").then(n.bind(n,74259));case"spn":return n.e("9").then(n.bind(n,8562));case"sve":return n.e("734").then(n.bind(n,11030));case"tha":return n.e("477").then(n.bind(n,17499));case"trk":return n.e("657").then(n.bind(n,92270))}};this.registerTextFn(async t=>(await e(t)).default)}this.texts=Object.create(null)}async getExtraTexts(e){let t=[];for(let{fn:n,scope:i}of this.textsFn)t.push(n.apply(i,[e]));return(await Promise.all(t)).reduce((e,t)=>(0,l.Z)(e,t),{})}async changeLang(e){(0,a.vD)("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){(0,r.isFunction)(e)&&(e={fn:e,scope:this}),this.textsFn.push(e)}getText(e,t){let n;return this.active?(s.s||!0!==this.useGlobalTexts||(u(n)&&(n=d.Z?._T?.(e,t)),u(n)&&(n=d.Z?._JSLIBSTR?.(e,t))),u(n)&&(n=this.texts?.[e]?.[t]),n??`${e}:${t}`):`${e}:${t}`}}let p=()=>{(0,a.N6)("you are not install i18n yet, please install it first")},f=Symbol("i18n.changeLang"),m=Symbol("i18n.getText"),g=Symbol("i18nManager"),y=(0,o.e)({},function(e){let t=new h(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),n=(0,i.a0)(e),o=t.changeLang.bind(t),r=t.getText.bind(t),s=(0,c.e)(e,o,f),a=(0,c.e)(e,r,m),l=(0,c.e)(e,t,g);p=()=>({changeLang:s(),getText:a(),manager:l()}),n&&(n.$i18nManager=t,n.$changeLang=o,n.$i18n=r)})},20805:function(e,t,n){"use strict";n.d(t,{HC:function(){return x},Md:function(){return y},TB:function(){return B},Ye:function(){return k},Yz:function(){return w},jH:function(){return C},k7:function(){return p},lX:function(){return E},pH:function(){return S},xi:function(){return g},xj:function(){return T}});var i=n(53300),o=n(49552),r=n(63917),s=n(80036),a=n(29151),l=n(60590),c=n(22412),d=n(99349),u=n(86483),h=n(18049);let p=/^([a-z]+)?->([a-z]+)?$/;function f(e){return"hidden"===(0,r.css)(e,"overflow")}function m(e,t){if((0,s.isElement)(e)){let t=e.getBoundingClientRect();return{top:t.top,left:t.left,width:t.width,height:t.height}}return(0,s.isObject)(e)||(0,s.isDOMRect)(e)?{top:e.top,left:e.left,width:e.width,height:e.height}:(0,s.isArray)(e)?{left:t[0],top:t[1],width:0,height:0}:e}function g(e){return"t"===e?"top":"b"===e?"bottom":"l"===e?"left":"r"===e?"right":e}function y(e){let t={...e,right:0,bottom:0};return(0,s.isNumber)(e.left)&&(0,s.isNumber)(e.width)&&(t.right=e.left+e.width),(0,s.isNumber)(e.top)&&(0,s.isNumber)(e.height)&&(t.bottom=e.top+e.height),t}function v(e){return"width"in e&&(0,s.isNumber)(e.width)?e.width:"offsetWidth"in e&&(0,s.isNumber)(e.offsetWidth)?e.offsetWidth:0}function b(e){return"height"in e&&(0,s.isNumber)(e.height)?e.height:"offsetHeight"in e&&(0,s.isNumber)(e.offsetHeight)?e.offsetHeight:0}function w(e,t,n,i){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:["none"],{constrainMinSize:r=0}=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s="end",a="none",l="none",c=n+t>e.size,d=n<e.scrollBeginPoint;if(o.includes("shift"))l="shift",(d||c)&&(a="shift",s=d?"begin":"end");else if(o.includes("constrain-size")){let o=t;l="constrain-size",c&&(o=e.size-n-i,s="end"),d&&(o=t+n-i,s="begin"),o>=r&&(d||c)&&(a="constrain-size")}else o.includes("swap")&&(l="swap",(d||c)&&(a="swap",s=d?"begin":"end"));return{method:a,over:s,pickMethod:l}}function C(e,t,n,i,o,r,s){let a={size:n,pos:i,offset:r,pushOffset:s};return"constrain-size"===t.method?"end"===t.over?a.size=e.size-i-s:"begin"===t.over&&(a.size=n+i-s,a.pos=s):"shift"===t.method?"end"===t.over?a.pos=e.size-Math.ceil(n)-s:"begin"===t.over&&(a.pos=e.scrollBeginPoint+s):"swap"===t.method&&(a.offset=r=-r,"end"===t.over?a.pos=o.begin-n+e.scrollBeginPoint+r-e.beginPoint:"begin"===t.over&&(a.pos=o.end+r-e.beginPoint)),a}function S(e,t,n,i){let o={size:t,pos:n};return n+t>e&&(o.size=e-n-i),n<0&&(o.size=t+n-i,o.pos=0+i),o}function k(e){let t=0,n=0,i=0,o=0;if(e===document.body)t=document.body.clientWidth,n=document.body.clientHeight;else{(0,h.XQ)(e,"static")&&(0,a.D8)("[AlignManager] if container box did not generate containing block due to position is static, it will caused align wrong position");let r=e.getBoundingClientRect();t=r.width,n=r.height,i=r.top,o=r.left}return{containerWidth:t,containerHeight:n,containerTop:i,containerLeft:o}}class x{constructor(){l.s||(this.doc=document.documentElement,this.body=document.body,f(this.doc)||f(this.body)||c.Ys||(0,a.D8)("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 n,i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0,right:0,bottom:0},r=0,s=0;if(!e||!t||(e==this.doc||e===document.body?(n=document.body.clientWidth,i=document.body.clientHeight):(n=e.clientWidth,i=e.clientHeight),!n||!i))return!1;let a=t.scrollLeft,l=t.scrollTop;r+=o.left+a,s+=o.top+l,n-=o.right,i-=o.bottom;let c=r+n,d=s+i,u=t.getBoundingClientRect(),h=t.offsetWidth,p=t.offsetHeight,f=u.x,m=u.y,g=!1;return f<r&&(f=r,g=!0),m+p>d&&(m=d-p,g=!0),f+h>c&&(f=c-h,g=!0),m<s&&(m=s,g=!0),!!g&&[f,m]}getArrowPlacement(e){let t=e.match(p);if(!t)throw Error("anchor should be xx->xx or xx->");let n=g(t[1]?t[1].charAt(1):""),i=g(t[1]?t[1].charAt(0):""),o=g(t[2]?t[2].charAt(1):"");return i!==g(t[2]?t[2].charAt(0):"")?`${i}-${n}`:n!==o?`${n}-${i}`:`${i}-${n}`}getAlignToXYv2(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{offset:[0,0]},o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,d=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},f=[0,0];(0,s.isArray)(i)?(f=[...i],d={pushXOffset:0,pushYOffset:0,constrainWidth:!1,constrainHeight:!1,constrainMinWidth:0,constrainMinHeight:0,...d}):(0,s.isObject)(i)&&(f=[...i.offset??[0,0]],o=!(0,s.isBoolean)(i.constrain)||i.constrain,r=i.absoluteMode??!0,l=i.containerEl??null,((0,s.isObject)(i.constrain)||!0===o)&&(d={pushXOffset:0,pushYOffset:0,constrainWidth:!1,constrainHeight:!1,constrainMinWidth:0,constrainMinHeight:0,...(0,s.isObject)(i.constrain)?i.constrain:{}}));let{pushXOffset:g,pushYOffset:v,constrainWidth:b,constrainHeight:S,constrainMinWidth:x,constrainMinHeight:B}=d;if(l=l??this.body,(0,h.Re)(e)&&(0,h.Re)(t)){let n=(0,u.V)(e);n===l||c.Ys||(0,a.D8)("[AlignManager] if offsetParent of el is not equal to containerEl, it will cause align wrong position.",void 0,"el",e,"offsetParent:",n,"containerEl:",l),!l||l.contains(t)||c.Ys||(0,a.D8)("[AlignManager] targetEl should be in containerEl, or it will cause align wrong position.")}!1===r&&(0,a.D8)("[AlignManager] absoluteMode is false, it weird in some cases, and it will be deprecated in the future");let T=n.match(p);if(!T||0===T.length)throw Error("anchor should be xx->xx or xx->");if(!l)throw Error("containerEl should not be null");let E=this.getAnchorXY(e,T[1],l),I=this.getAnchorXY(t,T[2],l),D=this.getXY(t,l),V=y(m(e,E)),N=y(m(t,I)),{width:_,height:M}=V,$=T[1]?T[1].charAt(1):"",Z=T[1]?T[1].charAt(0):"",A=T[2]?T[2].charAt(1):"",O=T[2]?T[2].charAt(0):"",{containerWidth:F,containerHeight:z,containerTop:L,containerLeft:P}=k(l),R=I[0]-E[0]+f[0]+D[0],H=I[1]-E[1]+f[1]+D[1],j={x:R,y:H};if(o){let e=this.getScroll(l),t,n,i="r"===$&&"l"===A||"l"===$&&"r"===A?["swap"]:["shift"],o="t"===Z&&"b"===O||"b"===Z&&"t"===O?["swap"]:["shift"];b&&i.push("constrain-size"),S&&o.push("constrain-size");let r={size:_,pos:R,offset:f[0],pushOffset:g},a={size:M,pos:H,offset:f[1],pushOffset:v};for(;"none"!==(t=w({scrollBeginPoint:e[0],size:F+e[0]},r.size,r.pos,r.pushOffset,i,{constrainMinSize:x})).method||i.length>0;)i=(0,s.removeItems)(i,t.pickMethod),r=C({scrollBeginPoint:e[0],size:F+e[0],beginPoint:P},t,r.size,r.pos,{begin:N.left,end:N.right},r.offset,r.pushOffset),"swap"===t.method?[$,A]=[A,$]:"constrain-size"===t.method&&(j.constrainWidth=r.size);for(;"none"!==(n=w({scrollBeginPoint:e[1],size:z+e[1]},a.size,a.pos,a.pushOffset,o,{constrainMinSize:B})).method||o.length>0;)o=(0,s.removeItems)(o,n.pickMethod),a=C({scrollBeginPoint:e[1],size:z+e[1],beginPoint:L},n,a.size,a.pos,{begin:N.top,end:N.bottom},a.offset,a.pushOffset),"swap"===n.method?[Z,O]=[O,Z]:"constrain-size"===n.method&&(j.constrainHeight=a.size);j.x=r.pos,j.y=a.pos}return j.anchor=`${Z}${$}->${O}${A}`,j.arrowPlacement=this.getArrowPlacement(j.anchor),j}getAlignToXY(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[0,0],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7?arguments[7]:void 0,{x:l,y:c}=this.getAlignToXYv2(e,t,n,i,o,r,s,a);return[l,c]}getAnchorXY(e,t,n){if(!t){let[t,i]=this.getScroll(n);if((0,s.isArray)(e)&&(0,s.isNumber)(e[0])&&(0,s.isNumber)(e[1]))return[e[0]+t,e[1]+i];if("left"in e&&"top"in e&&(0,s.isNumber)(e.left)&&(0,s.isNumber)(e.top))return[e.left+t,e.top+i]}let i=v(e),o=b(e);return({c:[.5*i,.5*o],t:[.5*i,0],b:[.5*i,o],l:[0,.5*o],r:[i,.5*o],tl:[0,0],bl:[0,o],br:[i,o],tr:[i,0]})[t]}getXY(e,t){let n="getBoundingClientRect"in e?e.getBoundingClientRect():"left"in e&&"top"in e&&(0,s.isNumber)(e.left)&&(0,s.isNumber)(e.top)?{left:e.left,top:e.top,width:v(e),height:b(e)}:{left:0,top:0,width:0,height:0},[i,o]=this.getScroll(t),r=t.getBoundingClientRect(),{left:a=0,top:l=0}=n;return[a+i-r.left,l+o-r.top]}}let B=(0,d.j)("alignManager"),T=()=>{(0,a.N6)("you are not install AlignManagerPlugin yet, please install it first")},E=(0,i.e)({},e=>{T=(0,o.b)(e,"$alignManager",new x,B)})},52464:function(e,t,n){"use strict";n.d(t,{Zl:function(){return g},bY:function(){return f},G6:function(){return m},j$:function(){return u},pj:function(){return p},Yv:function(){return h}});var i=n(53300),o=n(78671),r=n(60590),s=n(80036),a=n(49552),l=n(29151),c=n(99349),d=n(25217);let u={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)"},h={SMALL_FIRST:Symbol("SmallFirst"),LARGE_FIRST:Symbol("LargeFirst")};class p{constructor(e){this._current=(0,d.ref)(""),this._mobile=(0,d.ref)(!1),this.mobileBreakpoint=e.mobileBreakpoint??"xs",this.active=e.active??!0,this.threshold=(0,o.Z)(u,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},r.s||!1===this.mobileBreakpoint||this.registerMql()}registerMql(){let e=[];if(this.threshold)for(let[t,n]of Object.entries(this.threshold))e.push(function(e,t){if(!window||!window.matchMedia)return s.noop;let n=window.matchMedia(e),i=e=>{e.matches?t("match",e):t("unmatch",e)};return n.addEventListener?n.addEventListener("change",i):n.addListener&&n.addListener(i),i(n),()=>{n.removeEventListener?n.removeEventListener("change",i):n.removeListener&&n.removeListener(i)}}(n,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=h.SMALL_FIRST,defaultBreakpointBy:n=h.LARGE_FIRST}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=[...Object.keys(e)].sort((e,n)=>t===h.LARGE_FIRST?this.breakpointPriority[n]-this.breakpointPriority[e]:this.breakpointPriority[e]-this.breakpointPriority[n]),o=-1,r=h.LARGE_FIRST?"xxxs":"xxxl";for(let e of i)n===h.LARGE_FIRST?(-1===o||this.breakpointPriority[e]>o)&&(o=this.breakpointPriority[e],r=e):(-1===o||this.breakpointPriority[e]<o)&&(o=this.breakpointPriority[e],r=e);for(let t of i)if(this.lessAndEqThan(t))return e[t];return e[r]}}let f=(0,c.j)("breakpointManager"),m=()=>{(0,l.N6)("you are not install BreakpointManagerPlugin yet, please install it first")},g=(0,i.e)({},function(e){m=(0,a.b)(e,"$breakpointManager",new p(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),f)})},19213:function(e,t,n){"use strict";n.d(t,{DJ:function(){return c},FH:function(){return h},JP:function(){return d},UR:function(){return u},u:function(){return l}});var i=n(53300),o=n(49552),r=n(29151),s=n(99349),a=n(58954);let l={icon:{type:(0,a.C)(Object),default:()=>({})},hasPopupContainer:{type:(0,a.C)(Object),default:()=>({})},window:{type:(0,a.C)(Object),default:()=>({})},tabs:{type:(0,a.C)(Object),default:()=>({})},dataTable:{type:(0,a.C)(Object),default:()=>({})},alertBar:{type:(0,a.C)(Object),default:()=>({})},popup:{type:(0,a.C)(Object),default:()=>({})},datePickerMenu:{type:(0,a.C)(Object),default:()=>({})},tableHeaderCell:{type:(0,a.C)(Object),default:()=>({})},messageBoxWindow:{type:(0,a.C)(Object),default:()=>({})},panel:{type:(0,a.C)(Object),default:()=>({})},wizard:{type:(0,a.C)(Object),default:()=>({})},button:{type:(0,a.C)(Object),default:()=>({})}};class c{constructor(e){let{props:t}=e;this.setProps(t??{})}setProps(e){this.props=e}}let d=(0,s.j)("configManager"),u=()=>{(0,r.N6)("you are not install ConfigManagerPlugin yet, please install it first")},h=(0,i.e)({},function(e){u=(0,o.b)(e,"$configManager",new c(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),d)})},36184:function(e,t,n){"use strict";n.d(t,{Ae:function(){return m},MW:function(){return g},Nx:function(){return y},SD:function(){return v},_1:function(){return f},sZ:function(){return p}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(91234),n(15773);var i=n(63917),o=n(80036),r=n(71510),s=n(53300),a=n(88358),l=n(90946),c=n(49552),d=n(29151),u=n(99349);function h(e,t,n){e[t]?n[t]=e[t]:n[t]||(n[t]=o.noop)}class p{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.manager=null,this.id=(0,r.V)(),this.el=e,this.payload=n,this.isOver=t.isOver??!1,this.applyOpts(t),this.order=t.order??10,this.ddTargets=new Set,this.draggingId=t.draggingId??(0,r.V)(),t.zoneCls&&this.updateCls(t.zoneCls)}updateCls(e){if(!this.el)return!1;this.restoreClsFn?.(),this.restoreClsFn=(0,i.addClass)(this.el,e)}addTarget(e){this.ddTargets.add(e)}removeTarget(e){this.ddTargets.delete(e)}purge(){for(let 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),h(e,"notifyEnter",this),h(e,"notifyDrop",this),h(e,"notifyOver",this),h(e,"notifyOut",this),h(e,"notifyValidDrop",this),h(e,"notifyInvalidDrop",this)}getEl(){return this.el}_notifyValidDrop(e,t,n){let i=this.notifyValidDrop(e,t,n);!1!==i&&(0,o.isString)(i)&&this.manager?.updateGhostCls(i)}_notifyOver(e,t,n){let i=this.notifyOver(e,t,n);!1!==i&&(0,o.isString)(i)&&this.manager?.updateGhostCls(i)}notifyEnter(e,t,n){}notifyDrop(e,t,n){}notifyOver(e,t,n){}notifyOut(e,t){}notifyValidDrop(e,t,n){}notifyInvalidDrop(e,t,n){}}class f{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=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=n,this.autoScrollElement=!!(0,o.isDefined)(t.autoScrollElement)&&t.autoScrollElement,this.draggingId=t.draggingId??(0,r.V)()}setAutoScrollElement(e){this.autoScrollElement=e}applyOpts(e){h(e,"onDragEnter",this),h(e,"onDragOver",this),h(e,"onDragOut",this),h(e,"onDrag",this),h(e,"onBeforeDrag",this),h(e,"onBeforeDrop",this),h(e,"onBeforeDragOut",this),h(e,"onBeforeDragOver",this),h(e,"onBeforeDragEnter",this),h(e,"onDrop",this),h(e,"onValidDrop",this),h(e,"onInvalidDrop",this),h(e,"startDrag",this),h(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(let e of this._el?._disposePointEventFns??[])e?.();delete this._el._markDraggable,delete this._el._ddTarget}e&&(e._markDraggable=!0,e._ddTarget=this,e._disposePointEventFns=[(0,i.on)(e,"mousedown",e=>this.handleMouseDown(e)),(0,i.on)(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&&(0,l.N5)(e)&&0!==e.button||!0===this.isDragging))return this.manager?.handleMouseDown(e,this)}registerDragZones(e){for(let t of((0,o.isArray)(e)||(e=[e]),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){for(let t of((0,o.isArray)(e)||(e=[e]),e))this.unregisterDragZone(t)}unregisterDragZone(e){let t=this.targetZones.indexOf(e);t>-1&&this.targetZones.splice(t,1),e.removeTarget(this)}getTargetZones(){return this.targetZones}purge(){for(let e of this._el?._disposePointEventFns??[])e?.();for(let 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;let n=this.onDragEnter(e,t,this);!1!==n&&(0,o.isString)(n)&&this.manager?.updateGhostCls(n)}_onDragOut(e,t){if(this.isEnteringZone=!1,delete this.enteredZone,!1===this.onBeforeDragOut(e,t))return!1;let n=this.onDragOut(e,t,this);!1!==n&&(0,o.isString)(n)&&this.manager?.updateGhostCls(n)}_onDragOver(e,t){if(!1===this.onBeforeDragOver(e,t))return!1;let n=this.onDragOver(e,t,this);!1!==n&&(0,o.isString)(n)&&this.manager?.updateGhostCls(n)}_onDrag(e){if(this.autoScrollElement&&!(0,l.z6)(e)){let t=["none","none"],n=[0,0];this._keepScrolling&&(window.clearInterval(this._keepScrolling),this._keepScrolling=null);let i=(e,t)=>{this.autoScrollElement&&("left"===e[0]?this.autoScrollElement.scrollLeft-=.1*t[0]:"right"===e[0]&&(this.autoScrollElement.scrollLeft+=.1*t[0]),"top"===e[1]?this.autoScrollElement.scrollTop-=.1*t[1]:"bottom"===e[1]&&(this.autoScrollElement.scrollTop+=.1*t[1]))},o=this.autoScrollElement.getBoundingClientRect();e.clientX<o.left?(n[0]=Math.abs(e.clientX-o.left),t[0]="left"):e.clientX>o.right&&(n[0]=Math.abs(e.clientX-o.right),t[0]="right"),e.clientY<o.top?(n[1]=Math.abs(e.clientY-o.top),t[1]="top"):e.clientY>o.bottom&&(n[1]=Math.abs(e.clientY-o.bottom),t[1]="bottom"),((e,t)=>{this._keepScrolling=window.setInterval(()=>{i(e,t)},100),i(e,t)})(t,n)}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,n){}onDragOver(e,t,n){}onDragOut(e,t,n){}onDrag(e,t){}startDrag(e,t,n){}onBeforeDrop(e){}onBeforeDragOut(e,t){}onBeforeDragOver(e,t){}onBeforeDragEnter(e,t){}onBeforeDrag(e,t){}onDrop(e,t,n,i){}onValidDrop(e,t,n){}onInvalidDrop(e,t,n){}beforeEndDrag(){}endDrag(e){}on(e,t){return(0,i.on)(this.el,e,t)}off(e,t){return(0,i.off)(this.el,e,t)}}class m{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&&(0,i.css)(this.ghostEl,"display","none"),this._ghostStatusCls=""}unhideGhost(){this.ghostEl&&(0,i.css)(this.ghostEl,"display","block")}setGhostClass(e){this.ghostEl&&(this.ghostEl.className="",e.ghostCls&&(0,i.addClass)(this.ghostEl,e.ghostCls),(0,i.addClass)(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&&((0,o.isNonEmptyString)(this._ghostStatusCls)&&(0,i.removeClass)(this.ghostEl,this._ghostStatusCls),(0,i.addClass)(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;let e=document.body,t=document.createElement("div");return(0,i.css)(t,"position","absolute"),(0,i.css)(t,"cursor","move"),(0,i.css)(t,"zIndex","999999"),(0,i.css)(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=(0,o.removeItems)(this.dragZones,e),e.purge()}getZones(e){if(!e)return this.dragZones;let t=e.getTargetZones(),n=new Set(t);for(let i of this.globalDragZones)n.has(i)||i.draggingId!==e.draggingId||(n.add(i),t.push(i));return t.sort((e,t)=>t.order-e.order)}isOverDragZones(e,t){if(!this.ghostEl)return null;for(let{rect:n,zone:o}of this.getZones(this.currentDragTarget).map(e=>({rect:e.el?.getBoundingClientRect()??new DOMRect,zone:e})).filter(e=>!!e))if(o.isOver&&o.isOver(e,n,this.currentDragTarget)||(0,i.intersectWithPoint)(n,t[0],t[1])&&o.el?.contains(e.target))return o;return null}handleMouseMove(e){let t,n,o,r;if(e.preventDefault(),(0,l.z6)(e)?(t=e.touches[0].pageX,n=e.touches[0].pageY,o=e.touches[0].clientX,r=e.touches[0].clientY):(t=e.pageX,n=e.pageY,o=e.clientX,r=e.clientY),!this.currentDragTarget||Math.max(Math.abs(t-this.startX),Math.abs(n-this.startY))<this.startThreshold)return!0;this.currentDragTarget.isDragging||this.startDrag(t,n),this.ghostEl&&(0,i.alignElWithMouse)(this.ghostEl,t,n,{offsetX:this.currentDragTarget?.alignOffset?.x,offsetY:this.currentDragTarget?.alignOffset?.y}),this.currentDragTarget._onDrag(e);let s=this.isOverDragZones(e,[o,r]);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 n,o;(0,l.z6)(e)?(n=e.touches[0].pageX,o=e.touches[0].pageY):(n=e.pageX,o=e.pageY),this.currentDragTarget&&this.handleMouseUp(e),this.currentDragTarget=t,!1!==this.currentDragTarget.onBeforeDrag(e,this.currentDragTarget)?(this._disposePointEventFns=[(0,i.on)(document.documentElement,"mousemove",e=>this.handleMouseMove(e)),(0,i.on)(document.documentElement,"touchmove",e=>this.handleMouseMove(e),{passive:!1}),(0,i.once)(document.documentElement,"mouseup",e=>this.handleMouseUp(e)),(0,i.once)(document.documentElement,"touchend",e=>this.handleMouseUp(e))],this.startX=n,this.startY=o):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()),(0,i.alignElWithMouse)(this.ghostEl,e,t,{offsetX:this.currentDragTarget?.alignOffset?.x,offsetY:this.currentDragTarget?.alignOffset?.y})))}handleMouseUp(e){if(this.currentDragTarget){for(let t of((0,l.N5)(e)&&this.handleMouseMove(e),this.startX=0,this.startY=0,this.destroyGhost(),this.stopDrag(e),this._disposePointEventFns??[]))t?.();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()}}let g=(0,u.j)("dragDropManager"),y=()=>{(0,d.N6)("you are not install DragDropManagerPlugin yet, please install it first")},v=(0,s.e)({},e=>{y=(0,c.b)(e,"$ddm",new m,g);let t=(0,a.a0)(e);t&&(t.$DragZone=p,t.$DragDropTarget=f)})},51886:function(e,t,n){"use strict";n.d(t,{C5:function(){return m},Km:function(){return f},NL:function(){return u},h2:function(){return h},jv:function(){return g},kH:function(){return d},oF:function(){return c},t5:function(){return p}});var i=n(63917),o=n(53300),r=n(90946),s=n(49552),a=n(29151),l=n(99349);class c{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]:{},n=(0,r.L8)(e,{...this.transformTouchEvent(this.startEvent?.touches?.[0]),...t});this.target?.dispatchEvent(n)}onTouchStart(e){e.target&&(this.target=e.target),this.startEvent=e}onTouchEnd(e){this.endEvent=e}onTouchMove(e){}}class d extends c{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 u extends c{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);let t=e.touches[0],n=Math.abs(t.pageX-(this.startTouch?.pageX??t.pageX)),i=Math.abs(t.pageY-(this.startTouch?.pageY??t.pageY));this.fail||(i>this.distance[0]&&i<this.distance[1]?"n/a"===this.axis&&(this.axis="vertical",this.direction=t.pageY>(this.startTouch?.pageY??t.pageY)?"down":"up"):n>this.distance[0]&&n<this.distance[1]&&"n/a"===this.axis&&(this.axis="horizontal",this.direction=t.pageX>(this.startTouch?.pageX??t.pageX)?"right":"left"),(i>this.distance[1]||n>this.distance[1]||i>this.distance[0]&&"horizontal"===this.axis||n>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 h extends c{constructor(){super(),this.duration=300,this.threshold=50,this.fail=!1}onTouchStart(e){super.onTouchStart(e);let 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);let 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 p{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.on)(document.documentElement,"touchstart",e=>this.onTouchStart(e)),(0,i.on)(document.documentElement,"touchmove",e=>this.onTouchMove(e)),(0,i.on)(document.documentElement,"touchend",e=>this.onTouchEnd(e)),this.gestures=[new d,new h,new u,...e.gestures??[]]}addGesture(e){this.gestures.push(e)}onTouchStart(e){for(let t of this.gestures)t.onTouchStart(e)}onTouchMove(e){for(let t of this.gestures)t.onTouchMove(e)}onTouchEnd(e){for(let t of this.gestures)t.onTouchEnd(e)}}let f=(0,l.j)("gestureManager"),m=()=>{(0,a.N6)("you are not install GestureManagerPlugin yet, please install it first")},g=(0,o.e)({},function(e){m=(0,s.b)(e,"$gestureManager",new p(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),f)})},42346:function(e,t,n){"use strict";n.d(t,{ck:function(){return p},e1:function(){return c},il:function(){return h},tF:function(){return d},wj:function(){return u}});var i=n(53300),o=n(29151),r=n(49552),s=n(99349),a=n(80036),l=n(25217);let c={BKG:"bkg-img",SVG:"svg",FOLLOW_MANAGER:"follow-manager",UNKNOWN:"unknown"};class d{static icons=Object.create(null);static register(e,t){if((0,a.isArray)(e))for(let{name:t,component:n}of e)d.register(t,n);else t&&(this.icons[e]=t)}register(e,t){d.register(e,t)}constructor(){let{iconType:e=c.BKG,icons:t=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.values(c).includes(e)||(0,o.D8)(`iconType ${e} is not valid type, please choose one of ${JSON.stringify(Object.values(c))}`),this.info=(0,l.reactive)({iconType:c.UNKNOWN}),this.registeredIcons=t,this.registered=!1,this.iconType=e}set iconType(e){if(this.info.iconType=e,e===c.SVG&&!this.registered){for(let e of this.registeredIcons)this.register(e.name,e.component);this.registered=!0}}get iconType(){return this.info.iconType}get(e){if(e)return d.icons[e]}get icons(){return d.icons}}let u=(0,s.j)("iconManager"),h=()=>{(0,o.N6)("you are not install IconManagerPlugin yet, please install it first")},p=(0,i.e)({},function(e){h=(0,r.b)(e,"$iconManager",new d(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),u)})},3976:function(e,t,n){"use strict";n.d(t,{D_:function(){return m},EP:function(){return p},HP:function(){return c},R:function(){return f},XU:function(){return u},eS:function(){return d},nY:function(){return h}}),n(35005),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094),n(50401),n(91234),n(15773);var i=n(78671),o=n(88710),r=n(53300),s=n(29151),a=n(49552),l=n(99349);let c={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:{}},d={"panel-body":[],content:[{filter:/^panel.content => panel-body => content/,styles:{"layout-height":"100%","layout-padding":"12px 24px"}}],"toolbar-content":[{filter:/^window\.modal => panel\.content => panel-body => toolbar-content/,styles:{"layout-padding":"12px 24px"}}],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%"}}]},u={"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 h{constructor(e){let{types:t={},graph:n={},keepOriginalGraph:o=!0,debug:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.cached=new Map,this.types=(0,i.Z)(c,t),this.localVue=e,this.debug=r,this.graph=o?(0,i.Z)(u,n):n}isTypeValid(e){return!!(0,o.Z)(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){let t=this.localVue.config.globalProperties.$breakpointManager;t||(0,s.D8)("please import and use BreakpointManagerPlugin when you are in tree-shaking mode or breakpoint will not active.");let n=[],o=[],r=e,a={styles:{},props:{},priority:-1,paths:""},l=Array.from(new Set(e.children.map(e=>e.type))).join(",");for(n.push(`${e.type}[${e.getSiblingIndex()}]:has(${l})`),o.push(`${e.type}[${e.getSiblingIndex()}]:has(${l})`),e=e.parent;e;)n.unshift(e.type),o.push(n.join(" => ")),e=e.parent;let c=o.join(",")+t.current;if(r.targetPaths=o,this.cached.has(c))return this.cached.get(c);let d=[...this.graph.commons||[],...this.graph[r.type]||[]],u=e=>{let n=!0;if(!e)return n;for(let[i,o]of Object.entries(e))n=n&&t?.[i](o);return n};for(let e of o)for(let t of d)t.priority||(t.priority=1),t.filter.test(e)&&t.priority>=a.priority&&u(t.breakpoint)&&(a=(0,i.Z)(a,t));return a.paths=o,this.cached.set(c,a),a}}let p=(0,l.j)("layoutManager"),f=()=>{(0,s.N6)("you are not install LayoutManagerPlugin yet, please install it first")},m=(0,r.e)({},function(e){f=(0,a.b)(e,"$layoutManager",new h(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),p)})},17822:function(e,t,n){"use strict";n.d(t,{AS:function(){return g},ER:function(){return f},Q_:function(){return y},gT:function(){return m}});var i=n(47696),o=n(80036),r=n(52046),s=n(71510),a=n(99349),l=n(29151),c=n(53300),d=n(39192),u=n(49552),h=n(63917),p=n(96153);class f{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,(0,d.k)(this._container,()=>(0,h.raf)(()=>{for(let e of this._instances?.values()??[])e.align()}))}getContainerEl(e){return e instanceof HTMLElement?e:(0,o.isString)(e)&&e?document.querySelector(e)??document.body:document.body}createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.J)(this._app,r.Z,e),n=t.component;return this._container.appendChild(t.anchorEl),n.align(),n}getInstance(e,t){if(this._instances||(this._instances=new Map),this._instances?.has(e))return this._instances.get(e);let n=this.createInstance({alignment:p.$C,...t});return this._instances.set(e,n),n}get instance(){return this.getInstance("default",this._opts)}getGap(e){return"normal"===e?this._gap:this._stackGap}error(e,t){let n="important";return(0,o.isObject)(e)?this.notice({icon:n,...e}):(0,o.isString)(e)?this.notice(n,e,t):()=>{}}suggest(e,t){let n="suggestion";return(0,o.isObject)(e)?this.notice({icon:n,...e}):(0,o.isString)(e)?this.notice(n,e,t):()=>{}}info(e,t){let n="tips";return(0,o.isObject)(e)?this.notice({icon:n,...e}):(0,o.isString)(e)?this.notice(n,e,t):()=>{}}notice(e,t,n){let{instance:i,...r}=(0,o.isObject)(e)?e:{icon:e,title:t,content:n};if(!(i=i??this.instance))throw Error("notify instance not found");let a=r.id??(0,s.V)(),l=()=>{i.remove(a)},c={id:a,onClose:()=>{r.onClose?.(),l()},...r};return i.add(c),l}}let m=(0,a.j)("notifyManager"),g=()=>{(0,l.N6)("you are not install NotifyManagerPlugin yet, please install it first")},y=(0,c.e)({},(e,t)=>{g=(0,u.b)(e,"$notifyManager",new f(e,t),m)})},25237:function(e,t,n){"use strict";n.d(t,{U5:function(){return d},WS:function(){return u},ZJ:function(){return c},qF:function(){return l}});var i=n(53300),o=n(49552),r=n(80036),s=n(29151),a=n(99349);class l{constructor(e){this.baseZIndex=e.baseZIndex||2e4,this.popupContainer=e.popupContainer,this.tipContainer=e.tipContainer,this.zIndex=this.baseZIndex,this.acquireCount=0}getPopupContainer(){return(0,r.isString)(this.popupContainer)?this.popupContainer:this.popupContainer?.()}getTipContainerEl(){let e;return(0,r.isFunction)(this.tipContainer)&&(e=this.tipContainer?.()),(0,r.isString)(this.tipContainer)&&(e=this.tipContainer),(0,r.isString)(e)?document.querySelector(e):e}acquireZIndex(){return this.acquireCount++,++this.zIndex}releaseZIndex(){this.acquireCount--,this.acquireCount<=0&&(this.acquireCount=0,this.zIndex=this.baseZIndex)}}let c=(0,a.j)("popupManager"),d=()=>{(0,s.N6)("you are not install PopupManagerPlugin yet, please install it first")},u=(0,i.e)({},function(e){d=(0,o.b)(e,"$popupManager",new l(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}),c)})},49552:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});var i=n(24226),o=n(88358);function r(e,t,n,r){let s=r??Symbol(t),a=(0,i.e)(e,n,s),l=(0,o.a0)(e);return l&&(l[t]=n),a}},86078:function(e,t,n){"use strict";n.d(t,{Ct:function(){return C},S6:function(){return b},SV:function(){return w},fY:function(){return v}}),n(50401),n(91234),n(56165),n(49549),n(15773),n(15065);var i=n(80036),o=n(88358),r=n(53300),s=n(63917),a=n(29151),l=n(60590),c=n(11598),d=n(30319),u=n(49552),h=n(99349),p=n(78671),f=n(55082),m=n(25217);let g={x:10,y:10},y={x:30,y:30};class v{constructor(e,t,n){this.zseed=9e3,this.maximumZIndex=this.zseed+1e3,this.minimumZIndex=this.zseed-1e3,this.centeredWindowCount=0,this.offsetX=g.x,this.offsetY=g.y,this.windowsMap=Object.create(null),this.windowList=[],this.bindActivateLast=this.activateLast.bind(this),this.minimizedComps=[],this.maskList=[],l.s||(this.app=e,t instanceof HTMLElement?this._containerEl=t:(0,i.isString)(t)&&(this._containerSel=t),this.densePadding=n.densePadding||20,this.front=null,this.sortWindows=this.sortWindows.bind(this),this.centerOffsets=n.centerOffsets||[20,20],this.lastFocusElement=void 0)}get(e){return(0,i.isString)(e)?this.windowsMap?.[e]:e}getOffsetDefault(){return g}getOffsetGap(){return y}_tryAccessByCurrentTime(e){let t;let n=(new Date).getTime();if(!(e=this.get(e?.id)))return!1;for(e.lastClick=n;e;)if(e=this.get(e.id)){if(t=e.component,e.lastAccess=n,(0,i.isFunction)(t?.isModalized)&&!t.isModalized())break;e=t.owner}return!0}bringToFront(e){let t=this.get(e.id);if(!t)throw Error(`window ${e.id} is not registered`);return this._tryAccessByCurrentTime(t),(!this.front||t.id!==this.front.id)&&(this.orderWindows(),!0)}sendToBack(e){let t=this.get(e.id);t&&(t.lastAccess=-(new Date).getTime(),this.orderWindows())}isWindowHidden(e){let t=this.get(e.id),n=t?.component;return n&&(0,i.isVueInstance)(n)?!n.showWindow:!!n?.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&&i.isFunction(e.component.setZIndex)&&e.component.setZIndex((this.zseed??0)+10*t)}),this.maskList?.forEach(e=>{let t=this.windowList?.filter(t=>e.triggeredBy.includes(t.id));if(0===t?.length)return;let n=t?.reduce((e,t)=>Math.min(e,t.component.getZIndex()),this.maximumZIndex)??this.maximumZIndex;s.css(e.el,"z-index",""+(n-1))}),e&&this.activateLast()}activateLast(){let e;if(this.windowList){for(let t=this.windowList.length-1;t>=0;--t)if((e=this.windowList[t]).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)){let t=e.component;if(!(0,i.isVueInstance)(t))for(let e of[...t.modalWin||[],...t.siblingWin||[]])e&&e.hideForMinimize&&(delete e.hideForMinimize,e.show());this._tryAccessByCurrentTime(e),this.orderWindows({autoActivateLast:!1}),t.setActive(!0)}}getLastAccess(e){let t=this.get(e.id);return t?t?.lastAccess??0:0}getGroupWinAccessTime(e){let t=this.get(e?.id);if(!t)return 0;let n=t.component?.modalWin??[];return[t.component,...n].reduce((e,t)=>Math.max(e,this.getLastAccess(t)),0)}sortWindows(e,t){let n=this.get(e.id),i=this.get(t.id);if(!n)return -1;if(!i)return 1;let o=n?.component,r=i?.component,s=o?.getTopWin?o.getTopWin():o,l=r?.getTopWin?r.getTopWin():r,c=o?.isModalized&&o.isModalized()?1:0,d=r?.isModalized&&r.isModalized()?1:0,u=o?.isAlwaysOnTop&&o.isAlwaysOnTop()?1:0,h=r?.isAlwaysOnTop&&r.isAlwaysOnTop()?1:0,p=o?.isAlwaysOnBottom&&o.isAlwaysOnBottom()?1:0,f=r?.isAlwaysOnBottom&&r.isAlwaysOnBottom()?1:0;return this.get(s?.id)?this.get(l?.id)?p!==f?f?1:-1:u!==h?h?-1:1:s!==l?this.getGroupWinAccessTime(s)<this.getGroupWinAccessTime(l)?-1:1:c&&o?.hasOwnerWin(r)?1:d&&r?.hasOwnerWin(o)?-1:o?.sinkable&&o?.hasOwnerWin(r)?n.lastClick<i.lastClick?-1:1:r?.sinkable&&r?.hasOwnerWin(o)?n.lastClick<i.lastClick?1:-1:!n.lastAccess||n.lastAccess<i.lastAccess?-1:1:((0,a.D8)(`win ${i?.id} is a zombie window, parent window ${l.id} has been destroyed`,void 0,i),1):((0,a.D8)(`win ${n?.id} is a zombie window, parent window ${s.id} has been destroyed`,void 0,n),-1)}centerWindow(e){let{withOffset:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.get(e.id);if(!n)return;let o=n.component,r=[0,0];if(t&&(r=this.centerOffsets?.map(e=>e*this.centeredWindowCount)??[0,0]),(0,i.isVueInstance)(o)){let e=this.getContainerEl();o.alignCenterToElement(e,e,r)}else(0,f.mV)()&&o.alignTo((0,f.mV)().get(this.getContainerEl()),"c-c",r);this.centeredWindowCount++}cascadeOverlap(e){let t;t=e.container?e.container.getSize():e.getSize();let n=this.offsetX+e.getWidth(),i=this.offsetY+e.getHeight();n>t.width&&i>t.height?this.offsetX=this.offsetY=10:n>t.width?(10===this.offsetX&&(this.offsetY=10),this.offsetX=10):i>t.height&&(this.offsetX+=y.x,this.offsetY=10),e.setPosition(this.offsetX,this.offsetY),this.offsetX+=y.x,this.offsetY+=y.y}register(e){this.windowsMap[e.id]&&this.unregister(e),f.mV()?.Window&&e instanceof(0,f.mV)().Window&&(e.manager=this);let 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):(0,i.isVueInstance)(e)&&e.setMinimizedCallback?.(()=>this.activateLast()),e.fromRestore||e.isModalized&&e.isModalized()||e.defaultMaximized||this.cascadeOverlap(e),e.autoStart&&e.maximized&&e.appInstance){let{x:t,y:n,pageX:o,pageY:r}=e.appInstance.getRestoreSizePos();(0,i.isDefined)(t)||(0,i.isDefined)(n)||(0,i.isDefined)(o)||(0,i.isDefined)(r)||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:(0,i.isString)(e)&&(this._containerSel=e)}getContainerEl(){return!this._containerEl&&this._containerSel&&(this._containerEl=document.querySelector(this._containerSel)),this._containerEl??document.body}createWindow(){return(0,c.j)(...arguments)}openModalWindow(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.lastFocusElement=document.activeElement;let o=(i&&i.containerEl)??this.getContainerEl(),{onDestroy:r,...s}=i,a=i?.createWindow??this.createWindow;n=n??{},(i?.containerEl||i?.sharedMask)&&(n=(0,p.Z)({maskContainer:{containerEl:i.containerEl,sharedMask:i.sharedMask}},n));let{win:l,app:c,rootComponent:d}=a(e,n,{parentApp:this.app,containerEl:o,onDestroy:e=>{this.lastFocusElement?.focus?.(),r?.(e)},...s}),u=(0,p.Z)({align:{el:this.getContainerEl()}},i);return l.init(this,void 0,u),l.autoAlignAfterInit||(0,m.nextTick)(()=>{if(l.alignCenterToElement){let e=this.getContainerEl();l.alignCenterToElement(e,e)}}),(t=n).top&&(l.top=t.top),t.left&&(l.left=t.left),{window:l,component:d,app:c}}getMsgBox(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.app)return(e=e??o.a0(this.app)?.$messageWindow)||(0,a.D8)("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},n).window;(0,a.D8)("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:n=!1,containerEl:o,maskCls:r=[]}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o=o??this.getContainerEl(),n&&this.maskList.length>0&&(o&&(t=this.getSameContainerMask(o)),(t=t||this.maskList[this.maskList.length-1])&&t.triggeredBy.push(e)),!t){for(let n of(t={id:`${e}-container-mask`,triggeredBy:[e],el:document.createElement("div"),containerEl:o},(0,s.addClass)(t.el,"v-window-container-mask"),r=(0,i.isArray)(r)?r:[r]))(0,s.addClass)(t.el,n);o.appendChild(t.el),this.maskList.push(t)}this.orderWindows()}unmaskContainer(e){let t=this.maskList.findIndex(t=>t.triggeredBy.includes(e));if(t<0)return;let n=this.maskList[t];n.triggeredBy=n.triggeredBy.filter(t=>t!==e),0===n.triggeredBy.length&&(n.containerEl.removeChild(n.el),this.maskList.splice(t,1),this.orderWindows())}getActive(){return this.front&&this.front.component}getBy(e,t){let n=[],i=this.windowList;for(let o=i.length-1;o>=0;--o){let r=i[o].component;!1!==e.call(t||r,r)&&n.push(r)}return n}getActiveAppWindow(){let e=this.getActive();for(;e&&!(f.fm()?.SDS?.AppWindow&&e instanceof(0,f.fm)().SDS.AppWindow||(0,i.isVueInstance)(e)&&(0,i.isExtendVueComponent)(e,d.jK));)e=e.owner;return e}hideAll(){for(let e of this.windowList)e&&!(0,i.isFunction)(e)&&e.component.isVisible()&&e.component.hide()}toggleAllWin(){this.toggleAllWinMinimize()}toggleAllWinMinimize(){let e=[];for(let t of this.windowList){let n=t.component;n.isVisible()&&(!1===n.toggleMinimizable?n.close():e.push(n))}if(e.length){for(let 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(()=>{let e=(new Date).getTime();for(let[t,n]of this.minimizedComps.entries()){let i=this.get(n.id);i&&(i.lastAccess=e+t)}this.orderWindows()})}getMaximizeAppWindowCount(e){return this.windowList.reduce(function(t,n){let o=n.component;return e&&e.id&&n.id&&e.id===n.id?t:((0,i.isVueInstance)(o)||(0,f.fm)()&&o instanceof(0,f.fm)().SDS.AppWindow)&&o.isVisible()&&!0===o.maximized?t+1:t},0)}}let b=(0,h.j)("windowManager"),w=()=>{(0,a.N6)("you are not install WindowManagerPlugin yet, please install it first")},C=(0,r.e)({},function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{desktopEl:document.body};w=(0,u.b)(e,"$windowManager",new v(e,t.desktopEl,t),b)})},62088:function(e,t,n){"use strict";n.d(t,{W:function(){return c}});var i=n(80036),o=n(30272),r=n(5664),s=n(73506),a=n(78671),l=n(25217);function c(e,t){return t=t??(0,r.Z)((0,s.Z)(e)),(0,l.defineComponent)({mixins:[(0,o.f)("config-provider")],props:{[`configConsumer${t}`]:{type:String,default:void 0},[`disable${t}ConfigOverride`]:{type:Object,default:()=>({})}},data:()=>({syntax:t}),computed:{[`componentProviderConfigValue${t}`](){return(0,a.Z)({},this?.["config-provider"]?.instance?.[e]?.all?.value,this?.["config-provider"]?.instance?.[e]?.[this[`innerConfigConsumer${t}`]]?.value)},[`managerProviderConfigValue${t}`](){return(0,a.Z)(this.$configManager?.props?.[e]?.[this[`innerConfigConsumer${t}`]]?.value,this.$configManager?.props?.[e]?.all?.value)},[`config${t}Value`](){return(0,a.Z)(this[`managerProviderConfigValue${t}`],this[`componentProviderConfigValue${t}`])},[`innerConfigConsumer${t}`](){return this[`configConsumer${t}`]}},methods:{[`get${t}ConfigValue`](e,n){return n=n??this[e],this[`disable${t}ConfigOverride`]?.[e]?this[e]:(0,i.isFunction)(this[`config${t}Value`]?.[e])?this[`config${t}Value`]?.[e](this)??n:this[`config${t}Value`]?.[e]??n}}})}},62704:function(e,t,n){"use strict";n.d(t,{WI:function(){return s},ZP:function(){return a}});var i=n(69092),o=n(10853);function r(e,t,n){for(let r of(0,o.G)(this))r.$options.name===e&&(0,i.Qy)(r,...[t].concat(n))}function s(e,t,n,o,r){var s;let a=this.$parent||this.$root,l=e=>!o||e[o.key]===o.value;for(;a&&(s=a,!r||r!==s.$options.name);){if(a.$options.name===e&&l(a))return void(0,i.Qy)(a,...[t].concat(n));a=a.$parent}}var a={methods:{dispatch(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];s.apply(this,t)},broadcast(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];r.apply(this,t)}}}},7558:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}}),n(50401),n(15065);var i=n(88710),o=n(80036),r=n(55082),s=n(25217),a=(0,s.defineComponent)({emits:["show"],data:()=>({active:!1}),async mounted(){this.defaultFocus&&(0,s.nextTick)(()=>{this.focus()})},methods:{isVisible(){return!this.hidden},getTitle(){return this.currentTitle},show(e,t,n){t=t||o.noop,this.hidden=!1,this.toFront({focus:!!this.defaultFocus&&"default"}),(0,s.nextTick)(()=>{t?.apply(n??this)})},focus(){this.$refs.trapFocus&&this.$refs.trapFocus.focus()},toFront(){let{focus:e="default"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},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,...(0,i.Z)(this,"modalWins",[])].reduce((t,n)=>Math.max(t,(e?e(n.id):n._lastAccess)||0),0)},getTopWin(){let e=this;for(;e.owner;)if(e=e.owner,r.mV()?.Window&&e instanceof(0,r.mV)().Window)return e.getTopWin();return e},getMountEl(){let e=this.getTopWin();return r.mV()?.Window&&e instanceof(0,r.mV)().Window?e.el.dom.parentElement:e._isVue&&e.$el.parentElement?e.$el.parentElement:document.querySelector("#sds-desktop")||document.querySelector("body")},setActive(e){let t;this.active=e;let n=this.getTopWin();if(r.mV()?.Window&&(0,r.mV)().Window,t=n.taskButton,this.active){for(let e of(t&&t.setState("active"),this.modalWins))e.hideForMinimize&&(delete e.hideForMinimize,e.show());r.fm()?.SDS?.StatusNotifier&&SYNO.SDS.StatusNotifier.fireEvent("windowActivate",this)}else t&&t.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}}}})},8725:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var i=n(62704),o=n(69092),r=n(88358),s=n(54878),a=n(80036),l=n(90946),c=n(30272),d=n(25217),u=n(58954),h=(0,d.defineComponent)({mixins:[i.ZP,(0,c.f)("data-table"),(0,c.f)("form-controls-group")],props:{subscribeField:{type:String,default:void 0},activeFormItem:{type:Boolean,default:!0},enterKey:{type:(0,u.C)(String),default:s.a.Enter,validator:e=>!e||Object.values(s.a).includes(e)},boundaryComponentName:{type:String,default:"Portal"}},emits:["focus-next-field","focus-prev-field","blur"],data:()=>({validateByField:!1,disabledKey:"disabled"}),mounted(){let e=this["form-controls-group"]?.instance?.deactiveChildrenFormItems?.();if(e){let t=(0,a.isFunction)(e)?e():e;if((0,a.isBoolean)(t)){if(t)return}else if((0,a.isExtendVueComponent)(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)))},[r.mT.beforeUnmount](){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){(0,l.tH)(e)&&(this.enterKey===s.a.Next?(0,o.Qy)(this,"focus-next-field"):this.enterKey===s.a.Previous&&(0,o.Qy)(this,"focus-prev-field"))},validate(){},inDataTableBehavior(){},onBlur(e){(0,o.Qy)(this,"blur",e)}}})},7912:function(e,t,n){"use strict";n.d(t,{ZP:function(){return f}});var i=n(63917),o=n(80036),r=n(29151),s=n(60590),a=n(89986),l=n(30272),c=n(62088),d=n(25217),u=n(58954);function h(e){return(0,o.isFunction)(e)&&(e=e()),(0,o.isString)(e)?document.querySelector(e):e}let p={root:"root",ancestor:"ancestor",manager:"manager",config:"config"};var f=(0,d.defineComponent)({components:{vPortal:a.Z},mixins:[(0,l.f)("adaptive-container-root"),(0,l.f)("adaptive-container"),(0,c.W)("hasPopupContainer","Popup")],props:{popupContainer:{type:(0,u.C)([Function,String,HTMLElement]),default:void 0},useAdaptiveContainer:{type:[Array,Boolean],default:()=>[p.root,p.ancestor,p.manager,p.config]},alignment:{type:(0,u.C)([Object,String]),default:()=>({pos:"tl->bl",offset:[0,1]})}},data:()=>({}),computed:{innerUseAdaptiveContainer(){let e=this.getPopupConfigValue("useAdaptiveContainer");return!1===e?e=[p.root,p.manager,p.config]:!0===e&&(e=[p.root,p.ancestor,p.manager,p.config]),e},innerPopupContainer(){return this.getPopupConfigValue("popupContainer")},innerAlignment(){return this.getPopupConfigValue("alignment")}},mounted(){this.$popupManager||(0,r.D8)("without popup manager, z-index will not be adatpive and will not have global popup container injected")},methods:{getRootContainerEl(){let e=this["adaptive-container-root"]?.instance,t=e?.forceUseAdaptiveContainer?.();return{container:h(e?.getAdaptiveContainer?.()),type:p.root,force:t}},getAncestorContainerEl(){let e=this["adaptive-container"]?.instance,t=e?.forceUseAdaptiveContainer?.();return{container:h(e?.getAdaptiveContainer?.()),type:p.ancestor,force:t}},getManagerContainerEl(){let e=this.$popupManager?.getPopupContainer();return{container:e?h(e):null,type:p.manager,force:!1}},getConfigContainerEl(){return{container:this.innerPopupContainer?h(this.innerPopupContainer):null,type:p.config,force:!1}},getContainerEl(){if(s.s)return null;let e=[this.getConfigContainerEl(),this.getAncestorContainerEl(),this.getRootContainerEl(),this.getManagerContainerEl()],t=null;for(let{container:n,force:i,type:o}of e){if(i)return n??document.body;this.innerUseAdaptiveContainer.includes(o)&&n&&!t&&(t=n)}return t??document.body},outOfContainer(e){let t=this.getContainerEl(),n=e?.getBoundingClientRect(),o=t?.getBoundingClientRect();return!n||!o||!(0,i.isRectInRect)(n,o)},outOfContainerHeight(e){let t=this.getContainerEl(),n=e.getBoundingClientRect(),i=t&&t.getBoundingClientRect();return!!i&&(n.top<i.top||n.bottom>i.bottom)}}})},37153:function(e,t,n){"use strict";n.d(t,{Z:function(){return l},z:function(){return a}});var i=n(42346),o=n(83871),r=n(25217),s=n(58954);function a(e,t){i.tF.register(e,t)}var l=(0,r.defineComponent)({components:{vIcon:o.Z},props:{iconType:{type:(0,s.C)(String),default:i.e1.FOLLOW_MANAGER}},computed:{innerIconType(){return this.iconType===i.e1.FOLLOW_MANAGER?this.$iconManager.iconType:this.iconType},useSvgIcon(){return this.innerIconType===i.e1.SVG},useBkgIcon(){return this.innerIconType===i.e1.BKG}}})},30272:function(e,t,n){"use strict";n.d(t,{J:function(){return r},f:function(){return s}}),n(50401),n(15065);var i=n(80036),o=n(25217);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,o.defineComponent)({provide(){let n=t.reduce((e,t)=>{let n,o;return(0,i.isObject)(t)?(n=t.expose,o=t.internal):(n=t,o=t),e[n]=this[o],e},{});return{[e]:{register:this.register,unregister:this.unregister,instance:this,...n}}},data:()=>({}),methods:{register:i.noop,unregister:i.noop}})}function s(e){return(0,o.defineComponent)({inject:{[e]:{default:i.noop}},data:()=>({})})}},52952:function(e,t,n){"use strict";n.d(t,{Bb:function(){return a},Jn:function(){return l},SG:function(){return r},eu:function(){return c},jg:function(){return s}}),n(5593),n(48626),n(83877),n(26250),n(44163),n(2270),n(71094);var i=n(80036),o=n(90946);let r={toggle:"toggle",select:"select","select-keep":"select-keep",range:"range","range-keep":"range-keep"};function s(e){return e===r.range||e===r["range-keep"]}function a(e){return e===r.select||e===r["select-keep"]}function l(e){let{isCtrlMode:t=(0,o.yl)(e),isShiftMode:n=(0,o.cY)(e)}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n?t?r["range-keep"]:r.range:t?r.toggle:r.select}function c(){let{toggle:e="toggleItem",selectRange:t,isMultipleSelected:n="isMultipleSelected",select:o="selectItem",getItemValue:a="getItemValue",isItemDisabled:c="isItemDisabled",itemsKey:d="selectedItems"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{data:()=>({lastSelectIndex:-1,lastSelectRangeIndex:-1,[d]:new Set,forceSelectedItems:new Set}),methods:{clearSelection(){let{force:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e?(this[d]=new Set,this.forceSelectedItems=new Set):this[d]=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]:{},n=this[a](e);if(t)this.forceSelectedItems.add(n);else if(this[c](e))return!1;return this[d].add(n),!0},removeSelectedItem(e){let{forceSelect:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this[a](e);if(t)this.forceSelectedItems.delete(n);else if(this[c](e))return!1;return this[d].delete(n),!0},isItemSelected(e){let t=this[a](e);return this[d].has(t)},selectItems(e){for(let t of e)this.addSelectedItem(t);this[d]=new Set(this[d])},selectItemsRange(e,t,n){let{keepSelection:o=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};o||this.clearSelection();let r=(0,i.clampValue)(Math.min(e,t),0,n.length-1),s=(0,i.clampValue)(Math.max(e,t),0,n.length-1);return this.selectItems(n.slice(r,s+1)),this.lastSelectRangeIndex=t,!0},onClickItem(i,a,c){let{selectStrategy:d}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},u=arguments.length>4?arguments[4]:void 0,h=this[n]();if(s(d=d??l(i))&&-1!==this.lastSelectIndex&&h){let e=d===r["range-keep"];return this[t](e?this.lastSelectRangeIndex:this.lastSelectIndex,a,{keepSelection:e},u)}if(d===r.toggle&&h)return this[e](c,a,u);{let e=d===r["select-keep"];return this[o](c,a,{keepSelection:e,...u})}},toggleItem(e,t){let{forceSelect:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.isItemSelected(e)?this.removeSelectedItem(e,{forceSelect:n}):(this.addSelectedItem(e,{forceSelect:n}),this.lastSelectIndex=this.lastSelectRangeIndex=t),this[d]=new Set(this[d]),!0},selectItem(e,t){let{forceSelect:n=!1,keepSelection:i=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return!(!n&&this[c](e))&&(i||this.clearSelection(),this.addSelectedItem(e,{forceSelect:n}),this.lastSelectIndex=this.lastSelectRangeIndex=t,!0)}}}}},84593:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=n(80036),o=n(60590),r=(0,n(25217).defineComponent)({beforeCreate(){this.$i18n?this._i18n=this.$i18n:this._i18n=function(e,t){var n;let r="";return o.s||(window&&window._T&&(r=window._T(e,t)),((0,i.isEmptyString)(n=r)||!(0,i.isDefined)(n))&&(r=`${e}:${t}`)),r}}})},19879:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var i={props:{synoId:{type:String,default:""},useSynoId:{type:Boolean,default:!0}}}},23908:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});let i=0;var o={beforeCreate(){this.uuid=i.toString(),i++}}},88358:function(e,t,n){"use strict";n.d(t,{D2:function(){return i},Dj:function(){return o},a0:function(){return s},mT:function(){return r}});let i={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function o(e){return e}let r={beforeUnmount:"beforeUnmount"},s=e=>e.config.globalProperties},48198:function(e,t,n){"use strict";function i(e){return e.$.uid}function o(e){return e.$.isUnmounted}n.d(t,{h:function(){return o},s:function(){return i}})},30201:function(e,t,n){"use strict";function i(e,t){return e?.instance}n.d(t,{s:function(){return i}})},69092:function(e,t,n){"use strict";n.d(t,{Qy:function(){return l},M5:function(){return a},Zn:function(){return s}});var i=n(22412);let o=new WeakMap;function r(e){var t;let n=o.get(e);return n||o.set(e,n={all:t=t||new Map,on:function(e,n){var i=t.get(e);i?i.push(n):t.set(e,[n])},off:function(e,n){var i=t.get(e);i&&(n?i.splice(i.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var i=t.get(e);i&&i.slice().map(function(e){e(n)}),(i=t.get("*"))&&i.slice().map(function(t){t(e,n)})}}),n}i.Ts&&(window.SVC_EVENTS_REGISTRY_MAP=o);let s=(e,t,n)=>(r(e).on(t,e=>{n(...e)}),()=>a(e,t,n)),a=(e,t,n)=>{r(e).off(t,n)},l=function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];r(e).emit(t,i),e.$emit(t,...i)}},32744:function(e,t,n){"use strict";n.d(t,{FJ:function(){return a},Ie:function(){return l},LO:function(){return s},h:function(){return d},j8:function(){return c}});var i=n(5675),o=n(5664),r=n(73506);function s(e,t){return e.attrs[`on${(0,o.Z)((0,r.Z)(t))}`]}function a(e){return e.slots??{}}function l(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["slots"],i=a(e);{let{slots:n,emit:i,...o}=e;t={...o,attrs:e.attrs}}return Object.keys(i).length>0&&n.includes("slots")&&(t.scopedSlots=i),t}function c(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];e.emit(t,...i)}function d(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return(0,i.h)(...n)}},5675:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var i=n(5664),o=n(73506),r=n(25217);function s(e,t,n){{let s=function(e){let{props:t,on:n,nativeOn:r,domProps:s,attrs:a,scopedSlots:l,...c}=e=Object.assign({props:{},on:{},nativeOn:{},domProps:{},attrs:{},scopedSlots:{}},e),d={...c};if(t)for(let[e,n]of Object.entries(t))d[e]=n;if(n)for(let[e,t]of Object.entries(n))d[`on${(0,i.Z)((0,o.Z)(e))}`]=t;if(r)for(let[e,t]of Object.entries(r))d[`on${(0,i.Z)((0,o.Z)(e))}`]=t;if(s)for(let[e,t]of Object.entries(s))d[e]=t;if(a)for(let[e,t]of Object.entries(a))d[e]=t;return delete d.directives,d}(t);if(t.scopedSlots){if(n)throw Error("h function will confuse with children and slots together");n=t.scopedSlots}let a=(0,r.h)(e,s,n);return t.directives&&(a=function(e,t){let n=[];for(let e of t)n.push([(0,r.resolveDirective)(e.name),e.value,e.argument,e.modifiers]);return(0,r.withDirectives)(e,n)}(a,t.directives)),a}}},47696:function(e,t,n){"use strict";n.d(t,{$:function(){return a},J:function(){return s}});var i=n(80036),o=n(63309),r=n(25217);function s(e,t){let n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i.noop,a=document.createDocumentFragment();{let i=(0,r.createVNode)(t,o);i.appContext=e._context,(0,r.render)(i,a),n=i.component?.proxy,s=()=>{(0,r.render)(null,a)}}return{component:n,destroyFn:s,anchorEl:a}}function a(e,t,n){{if(!n)throw Error("parentApp is required");let i=(0,r.createApp)(e,t);i.config.globalProperties=n.config.globalProperties;let{reload:s,...a}=n._context;return delete a.provides[o.k],Object.assign(i._context,a),i}}},92128:function(e,t,n){"use strict";function i(e){return"update:model-value"}function o(e){return"modelValue"}function r(e){return e.modelValue}n.d(t,{GV:function(){return o},eQ:function(){return r},ef:function(){return i},yz:function(){return s}});let s={value:e=>"modelValue"}},28990:function(e,t,n){"use strict";function i(e){return e}n.d(t,{o:function(){return i}})},26521:function(e,t,n){"use strict";n.d(t,{J:function(){return o},f:function(){return r}});var i=n(25217);function o(e,t,n){e.provide(t,n)}function r(e,t){return(0,i.inject)(e)}},49748:function(e,t,n){"use strict";function i(e,t,n){return e[t]=n,n}function o(e,t){delete e[t]}n.d(t,{I:function(){return o},t:function(){return i}})},82442:function(e,t,n){"use strict";function i(e,t){let n=o(e);return!!n?.[t]}function o(e){return e.$slots}function r(e,t){return Object.keys(o(t)??{}).reduce((t,n)=>(n.startsWith(e)&&t.push({name:n.replace(e,""),exposeName:n}),t),[])}n.d(t,{FJ:function(){return o},XR:function(){return r},_Y:function(){return i}}),n(50401),n(15065)},9610:function(e,t,n){"use strict";n.d(t,{g:function(){return o}});var i=n(80036);function o(e){if((0,i.isArray)(e)&&e.length>1)throw Error("expect only one child");return e[0]}},58954:function(e,t,n){"use strict";function i(e){return e}n.d(t,{C:function(){return i}})},1305:function(e,t,n){"use strict";n.d(t,{EB:function(){return c},bg:function(){return function e(t){for(let n=t.childNodes.length-1;n>=0;n--){let i=t.childNodes[n];if(l(i)||e(i))return!0}return!1}},f9:function(){return s},fo:function(){return function e(t){for(let n=0;n<t.childNodes.length;n++){let i=t.childNodes[n];if(l(i)||e(i))return!0}return!1}},lI:function(){return a}}),n(50401),n(91234);var i=n(80036);let o=['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 r(e){return Array.from(e.querySelectorAll(o.join(","))).filter(e=>c(e))}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.activeElement,n=r(e),i=t?n.indexOf(t):-1,o=n[i+1];return o&&l(o)}function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.activeElement,n=r(e),i=t?n.indexOf(t):-1,o=n[i-1];return o&&l(o)}function l(e){return e instanceof HTMLElement&&!!c(e)&&(e&&"focus"in e&&(0,i.isFunction)(e.focus)&&e.focus(),document.activeElement===e)}function c(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}}},29151:function(e,t,n){"use strict";n.d(t,{D8:function(){return l},Kd:function(){return u},L1:function(){return o},N6:function(){return d},Rn:function(){return r},cM:function(){return s},p8:function(){return a},vD:function(){return c}});var i=n(22412);function o(){return/jsDebug=script/.test(window.location.search)||i.Ts}function r(e,t,n){var r;return r=`'${e}' is deprecated, use '${t}' instead.`,void(i.Ys?function(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];console.log(h(e,t),...i)}(`[DEPRECATED] ${r}`,n):o()?d(`[DEPRECATED] ${r}`,n):u(`[DEPRECATED] ${r}`,n))}function s(){console.log(...arguments)}function a(e,t){console.table(e,t)}function l(e,t){if(o()){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];d(`${e}`,t,...i)}}function c(e,t){if(o()){for(var n=arguments.length,i=Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];u(`${e}`,t,...i)}}function d(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];console.error(h(e,t),...i)}function u(e,t){for(var n=arguments.length,i=Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];console.warn(h(e,t),...i)}function h(e,t){return`[SynoVueComponents] ${e}`}},18049:function(e,t,n){"use strict";n.d(t,{Jj:function(){return r},Py:function(){return h},Re:function(){return s},XQ:function(){return d},Ze:function(){return c},gQ:function(){return p},hT:function(){return u}}),n(50401),n(91234);var i=n(80036);function o(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function r(e){return e.ownerDocument.defaultView??window}function s(e){return e instanceof HTMLElement}function a(e){return e instanceof Node}function l(e){return e.parentNode??((a(e)?e.ownerDocument:e.document)??window.document)?.documentElement}function c(e){return["table","td","th"].includes(o(e))}function d(e,t){return getComputedStyle(e).position===t}function u(e){let t=!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none"),n=(0,i.isElement)(e)?getComputedStyle(e):e;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function h(e){return["html","body","#document"].includes(o(e))}function p(e){let t=l(e);for(;s(t)&&!h(t);){if(u(t))return t;t=l(t)}return null}},55082:function(e,t,n){"use strict";n.d(t,{fm:function(){return r},mV:function(){return o},rl:function(){return s},zY:function(){return a}});var i=n(80036);function o(){return window?.Ext}function r(){return window?.SYNO}function s(e){return(r()?.API?.RequestPromise)(e)}function a(e,t,n){let o=t.split(/[-.]/),r=n.split(/[-.]/);for(let t=0,n=Math.max(o.length,r.length);t<n;t++){let n=o[t]??"0",s=r[t]??"0",[a,l]=[(0,i.tryParseInt)(n),(0,i.tryParseInt)(s)];if(a>l)return">"===e||">="===e;if(a<l)return"<"===e||"<="===e}return"="===e||">="===e||"<="===e}},63917:function(e,t,n){"use strict";let i;n.r(t),n.d(t,{getViewportWidth:function(){return G},getAllScrollContainer:function(){return Y},hasClass:function(){return O},htmlDecode:function(){return j},on:function(){return x},once:function(){return B},focusWithoutScroll:function(){return E},raf:function(){return R},htmlEncode:function(){return H},removeClass:function(){return z},addClass:function(){return F},isRectOverLeft:function(){return $},matchSelector:function(){return y},isHidden:function(){return A},intersectWithPoint:function(){return w},isRectOverTop:function(){return _},getScrollContainer:function(){return J},measureText:function(){return K},isElementOutOfBoundary:function(){return D},isOutofWindow:function(){return X},isScroll:function(){return q},domifyId:function(){return U},alignElWithMouse:function(){return k},isRectInRect:function(){return C},intersects:function(){return b},isRectOverBottom:function(){return N},isVisible:function(){return L},off:function(){return T},getFocusElement:function(){return Z},scrollTo:function(){return I},createEvent:function(){return P},isRectOverRight:function(){return M},findParentBySelector:function(){return v},getViewportHeight:function(){return Q},getPageHeight:function(){return V},css:function(){return S},html2Text:function(){return W}});var o,r=n(8378),s=n(80036),a=n(22412);function l(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function c(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function d(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n,i=getComputedStyle(e,null);return c(i.overflowY,t)||c(i.overflowX,t)||!!(n=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1}function u(e,t,n,i,o,r,s,a){return r<e&&s>t||r>e&&s<t?0:r<=e&&a<=n||s>=t&&a>=n?r-e-i:s>t&&a<n||r<e&&a>n?s-t+o:0}var h=function(e,t){var n=window,i=t.scrollMode,o=t.block,r=t.inline,s=t.boundary,a=t.skipOverflowHiddenElements,c="function"==typeof s?s:function(e){return e!==s};if(!l(e))throw TypeError("Invalid target");for(var h,p,f=document.scrollingElement||document.documentElement,m=[],g=e;l(g)&&c(g);){if((g=null==(p=(h=g).parentElement)?h.getRootNode().host||null:p)===f){m.push(g);break}null!=g&&g===document.body&&d(g)&&!d(document.documentElement)||null!=g&&d(g,a)&&m.push(g)}for(var y=n.visualViewport?n.visualViewport.width:innerWidth,v=n.visualViewport?n.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,w=window.scrollY||pageYOffset,C=e.getBoundingClientRect(),S=C.height,k=C.width,x=C.top,B=C.right,T=C.bottom,E=C.left,I="start"===o||"nearest"===o?x:"end"===o?T:x+S/2,D="center"===r?E+k/2:"end"===r?B:E,V=[],N=0;N<m.length;N++){var _=m[N],M=_.getBoundingClientRect(),$=M.height,Z=M.width,A=M.top,O=M.right,F=M.bottom,z=M.left;if("if-needed"===i&&x>=0&&E>=0&&T<=v&&B<=y&&x>=A&&T<=F&&E>=z&&B<=O)break;var L=getComputedStyle(_),P=parseInt(L.borderLeftWidth,10),R=parseInt(L.borderTopWidth,10),H=parseInt(L.borderRightWidth,10),j=parseInt(L.borderBottomWidth,10),W=0,G=0,Q="offsetWidth"in _?_.offsetWidth-_.clientWidth-P-H:0,U="offsetHeight"in _?_.offsetHeight-_.clientHeight-R-j:0,K="offsetWidth"in _?0===_.offsetWidth?0:Z/_.offsetWidth:0,q="offsetHeight"in _?0===_.offsetHeight?0:$/_.offsetHeight:0;if(f===_)W="start"===o?I:"end"===o?I-v:"nearest"===o?u(w,w+v,v,R,j,w+I,w+I+S,S):I-v/2,G="start"===r?D:"center"===r?D-y/2:"end"===r?D-y:u(b,b+y,y,P,H,b+D,b+D+k,k),W=Math.max(0,W+w),G=Math.max(0,G+b);else{W="start"===o?I-A-R:"end"===o?I-F+j+U:"nearest"===o?u(A,F,$,R,j+U,I,I+S,S):I-(A+$/2)+U/2,G="start"===r?D-z-P:"center"===r?D-(z+Z/2)+Q/2:"end"===r?D-O+H+Q:u(z,O,Z,P,H+Q,D,D+k,k);var Y=_.scrollLeft,J=_.scrollTop;I+=J-(W=Math.max(0,Math.min(J+W/q,_.scrollHeight-$/q+U))),D+=Y-(G=Math.max(0,Math.min(Y+G/K,_.scrollWidth-Z/K+Q)))}V.push({el:_,top:W,left:G})}return V};function p(e){return e===Object(e)&&0!==Object.keys(e).length}var f=function(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(p(t)&&"function"==typeof t.behavior)return t.behavior(n?h(e,t):[]);if(n){var i=!1===t?{block:"end",inline:"nearest"}:p(t)?t:{block:"start",inline:"nearest"};return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach(function(e){var i=e.el,o=e.top,r=e.left;i.scroll&&n?i.scroll({top:o,left:r,behavior:t}):(i.scrollTop=o,i.scrollLeft=r)})}(h(e,i),i.behavior)}},m=function(){return o||(o="performance"in window?performance.now.bind(performance):Date.now),o()},g=function(e,t){var n=t||{};return n&&!n.behavior||"smooth"===n.behavior?f(e,{block:n.block,inline:n.inline,scrollMode:n.scrollMode,boundary:n.boundary,behavior:function(e){return Promise.all(e.reduce(function(e,t){var i=t.el,o=t.left,r=t.top,s=i.scrollLeft,a=i.scrollTop;return s===o&&a===r?e:[].concat(e,[new Promise(function(e){var t,l,c,d,u,h;return t=n.duration,l=n.ease,c=function(){return e({el:i,left:[s,o],top:[a,r]})},void 0===t&&(t=600),void 0===l&&(l=function(e){return 1+--e*e*e*e*e}),void(d=i.scrollLeft,u=i.scrollTop,h=function(e,t){i.scrollLeft=Math.ceil(e),i.scrollTop=Math.ceil(t)},function e(t){var n=Math.min((m()-t.startTime)/t.duration,1),i=t.ease(n),o=t.startX+(t.x-t.startX)*i,r=t.startY+(t.y-t.startY)*i;t.method(o,r),o!==t.x||r!==t.y?requestAnimationFrame(function(){return e(t)}):t.cb()}({scrollable:i,method:h,startTime:m(),startX:d,startY:u,x:o,y:r,duration:t,ease:l,cb:c}))})])},[]))}}):Promise.resolve(f(e,t))};function y(e,t){return Element.prototype.matches.call(e,t)}function v(e,t){return e.closest(t)}function b(e,t){let n=e.getBoundingClientRect(),i=t.getBoundingClientRect();return!(n.right<i.left||n.left>i.right||n.bottom<i.top||n.top>i.bottom)}function w(e,t,n){let i=(0,s.isElement)(e)?e.getBoundingClientRect():e;return i.right>=t&&i.left<=t&&i.bottom>=n&&i.top<=n}function C(e,t){return e.right<t.right&&e.left>t.left&&e.top>t.top&&e.bottom<t.bottom}function S(e,t,n){let i=e&&e.style;if(i){if(null==n){let n={};return document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(e,"")),void 0===t?n:n[t]}t&&(t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px"))}}function k(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.offsetX??0,r=i.offsetY??0;S(e,"left",`${t+o}px`),S(e,"top",`${n+r}px`)}function x(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,s.isArray)(t)||(t=[t]);let o=[];for(let r of t)e.addEventListener(r,n,i),o.push(()=>{T(e,r,n,i)});return()=>{for(let e of o)e()}}function B(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};i.once=!0,(0,s.isArray)(t)||(t=[t]);let o=[];for(let r of t)e.addEventListener(r,n,i),o.push(()=>{T(e,r,n,i)});return()=>{for(let e of o)e()}}function T(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e.removeEventListener(t,n,i)}function E(e,t){let n,i;t&&(n=t.scrollTop,i=t.scrollLeft),e?.focus({preventScroll:!0}),t&&t.scrollTo&&"number"==typeof n&&"number"==typeof i&&t.scrollTo(n,i)}function I(e,t){return g(e,{behavior:"auto",inline:"nearest",block:"nearest",...t})}function D(e){let t=e.getBoundingClientRect();return N(t)||_(t)||M(t)||$(t)}function V(){return window.innerHeight||document.documentElement.clientHeight}function N(e){return e.bottom>(window.innerHeight||document.documentElement.clientHeight)}function _(e){return e.top<0}function M(e){return e.right>(window.innerWidth||document.documentElement.clientWidth)}function $(e){return e.left<0}function Z(e){return r.hx?e.relatedTarget:e.relatedTarget??document.activeElement}function A(e){return null===e.offsetParent}function O(e,t){return e.classList.contains?e.classList.contains(t):e.className.indexOf(t)>=0}function F(e,t){if(e.classList.add)for(let n of t.split(" "))e.classList.add(n);else 0>e.className.indexOf(t)&&(e.className+=` ${t}`);return()=>{z(e,t)}}function z(e,t){e.classList.remove?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,""))}function L(e){return!!a.Ys||!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function P(e){let t;return"function"==typeof Event?t=new Event(e):(t=document.createEvent("Event")).initEvent(e,!0,!0),t}function R(e){return window.requestAnimationFrame?window.requestAnimationFrame(e):setTimeout(e,16)}function H(e){return e?String(e).replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\s/g,"&nbsp;"):e}function j(e){return e?String(e).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&amp;/g,"&").replace(/&nbsp;/g," "):e}function W(e){let t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}function G(){return document.body.clientWidth}function Q(){return document.body.clientHeight}function U(e){return e.replace(/[^a-z0-9\-_:.]|^[^a-z]+/gi,"")}function K(e){i=i??document.createElement("canvas");let t=S(e,"font-size"),n=S(e,"font-family"),o=i.getContext("2d");return o&&(o.font=`${t} ${n}`),o?.measureText(e.value)}function q(e){return["scroll","auto","overlay"].includes(S(e,"overflow-y"))}function Y(e){let t=[],n=e;for(;n;)(document.documentElement===n||q(n))&&t.push(n),n=n.parentNode;return t}function J(e){let t=e;for(;t&&!(document.documentElement===t||q(t));)t=t.parentNode;return t}function X(e){return e[0]<0||e[1]<0||e[0]>window.innerWidth||e[1]>window.innerHeight}},54878:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});let i={Enter:"enter",Done:"done",Go:"go",Next:"next",Previous:"previous",Search:"search",Send:"send"}},22412:function(e,t,n){"use strict";n.d(t,{Ts:function(){return i},Ys:function(){return o},tI:function(){return r}});let i=!1,o=!1,r="10.31.1"},71172:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});class i extends Error{constructor(e){super("Async Validation Error"),this.errors=e}}},90946:function(e,t,n){"use strict";n.d(t,{BU:function(){return m},F$:function(){return g},L8:function(){return S},N5:function(){return B},SD:function(){return w},Tx:function(){return f},UI:function(){return l},Wd:function(){return c},Wl:function(){return u},bf:function(){return C},cY:function(){return d},j2:function(){return b},mb:function(){return h},n2:function(){return p},oQ:function(){return y},tH:function(){return v},xp:function(){return x},yl:function(){return a},z6:function(){return k}}),n(50401),n(49549);var i=n(8378),o=n(41431),r=n(80036);let s={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 a(e){return!!e&&(i.V5?e.metaKey:e.ctrlKey)}function l(e,t){return t.includes(e.key)}function c(e){return!!e&&(e.code?"Space"===e.code:e.keyCode===s.space)}function d(e){return!!e&&e.shiftKey}function u(e){return e.key?["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"].includes(e.key):[s.up,s.down,s.left,s.right].includes(e.keyCode)}function h(e){return g(e)}function p(e){return y(e)}function f(e){return e.key?"ArrowUp"===e.key||"Up"===e.key||"up"===e.key:e.keyCode===s.up}function m(e){return e.key?"ArrowDown"===e.key||"Down"===e.key||"down"===e.key:e.keyCode===s.down}function g(e){return e.key?"ArrowLeft"===e.key||"Left"===e.key||"left"===e.key:e.keyCode===s.left}function y(e){return e.key?"ArrowRight"===e.key||"Right"===e.key||"right"===e.key:e.keyCode===s.right}function v(e){return e.key?"Enter"===e.key||"enter"===e.key:e.keyCode===s.enter}function b(e){return e.key?"Escape"===e.key||"Esc"===e.key||"esc"===e.key:e.keyCode===s.esc}function w(e){return e.key?"Backspace"===e.key||"backspace"===e.key:e.keyCode===s.backspace}function C(e){return e.key?"Delete"===e.key||"delete"===e.key:e.keyCode===s.delete}function S(e,t){let n=e.split("."),i=function(e,t,n,i){let o=n.eventInterface,r=n.bubbles,a=n.cancelable;return new("function"==typeof window[o]?window[o]:window.Event)(e,{bubbles:r,cancelable:a,keyCode:s[t],...i})}(n[0],n[1],{eventInterface:"Event",cancelable:!0,bubbles:!0},t),o=Object.getPrototypeOf(i);return Object.keys(t||{}).forEach(function(e){let n=Object.getOwnPropertyDescriptor(o,e);n&&void 0===n.set||(i[e]=t[e])}),i}function k(e){return(0,r.isDefined)(o.Z?.TouchEvent)&&e instanceof TouchEvent}function x(e){return k(e)?[e.targetTouches[0].pageX,e.targetTouches[0].pageY]:[e.pageX,e.pageY]}function B(e){return(0,r.isDefined)(o.Z?.MouseEvent)&&e instanceof MouseEvent}},80036:function(e,t,n){"use strict";function i(e,t){let n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");for(let t=0,i=n.length;t<i;++t){let i=n[t];if(!(i in e))return;e=e[i]}return e}function o(e){let t=window[`page${e?"Y":"X"}Offset`],n="scroll"+(e?"Top":"Left");if("number"!=typeof t){let e=window.document;"number"!=typeof(t=e.documentElement[n])&&(t=e.body[n])}return t}function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,n={top:e.clientTop,left:e.clientLeft};return s(e.getBoundingClientRect(),n,t)}function s(e,t){let n,i,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.body,s=r.getBoundingClientRect();return r===document.body?(n=o(!0),i=o()):(n=r.scrollTop-s.top,i=r.scrollLeft-s.left),{top:e.top+n,left:e.left+i,right:e.right+i,bottom:e.bottom+n}}function a(e,t){return e.hasOwnProperty.call(e,t)}function l(e,t){for(let n=0,i=e.length;n<i;n++)if(e[n]==t)return!0;return!1}function c(e){return"string"==typeof e}function d(e){return"[object Function]"===Object.prototype.toString.call(e)||"[object AsyncFunction]"===Object.prototype.toString.call(e)}function u(e){return!!e&&"[object Object]"===Object.prototype.toString.call(e)}function h(e){return"boolean"==typeof e}function p(e){return"number"==typeof e}function f(e){return!!p(e)||!!c(e)&&parseInt(e,10).toString().padStart(e.length,"0")===e}function m(e){let t=parseInt(e,10);return D(t)?0:t}function g(e){return/[\d.\-+]+\s*([^\d]+)/.test(e)}function y(e){if(!1===u(e))return!1;let t=e.constructor;if("function"!=typeof t)return!1;let n=t.prototype;return!1!==u(n)&&!1!==Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")}function v(e){return e instanceof DOMRect}function b(e){return void 0!==e}function w(e){return c(e)&&0===e.trim().length}function C(e){return c(e)&&e.trim().length>0}function S(e){return e&&1===e.nodeType&&toString.call(e).indexOf("Element")>-1}function k(e){return Array.isArray(e)&&e.length>0}function x(e){return Array.isArray(e)}function B(e){return"$"in e||"_isVue"in e}function T(e,t){for(t&&!c(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)break;e=e.$options.extends}return!1}function E(e){return"object"==typeof e&&null!==e}function I(e){return"[object Date]"===Object.prototype.toString.apply(e)}function D(e){return Number.isNaN(e)}function V(){}function N(e,t,n){return Math.min(Math.max(e,Math.min(t,n)),Math.max(t,n))}function _(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];if(1===n.length&&y(n[0])){let t=n[0];return e.replace(/\${(\w+)}/g,(e,n)=>t[n]??e)}return e.replace(/\{(\d+)\}/g,(e,t)=>n[t])}function M(e,t){let n=e.getBoundingClientRect(),i=t.getBoundingClientRect();return n.top<i.top||n.bottom>i.bottom||n.right>i.right||n.left<i.left}function $(e,t,n){return(e-t)/(n-t)}function Z(e){return d(e)&&"componentName"in e?e.componentName:"name"in e?e.name:e.$options.name}n.r(t),n.d(t,{arrayHas:function(){return l},clampValue:function(){return N},formatString:function(){return _},getComponentName:function(){return Z},getOffset:function(){return r},getOffsetByRect:function(){return s},getPropByString:function(){return i},getScroll:function(){return o},hasOwn:function(){return a},isArray:function(){return x},isBoolean:function(){return h},isDOMRect:function(){return v},isDate:function(){return I},isDefined:function(){return b},isElement:function(){return S},isEmptyString:function(){return w},isEqual:function(){return function e(t,n){if(typeof t!=typeof n)return!1;if(I(t)||I(n))return!(!I(n)||!I(t))&&t.getTime()===n.getTime();if(E(t)&&E(n)){let i=Object.keys(t),o=Object.keys(n);if(i.length!==o.length)return!1;for(let o of i)if(!Object.prototype.hasOwnProperty.call(n,o)||!1===e(t[o],n[o]))return!1;return!0}return t===n}},isExtendVueComponent:function(){return T},isFunction:function(){return d},isNaN:function(){return D},isNonEmptyArray:function(){return k},isNonEmptyString:function(){return C},isNumber:function(){return p},isNumberLike:function(){return f},isNumberUnit:function(){return g},isObject:function(){return u},isObjectLike:function(){return E},isOutOf:function(){return M},isPlainObject:function(){return y},isString:function(){return c},isVueComponent:function(){return function e(t){return y(t)&&(!!t.template||d(t.render)||C(t.el)||S(t.el)||e(t.extends)||!!(t.mixins&&k(t.mixins)&&t.mixins.some(t=>e(t))))}},isVueInstance:function(){return B},noop:function(){return V},normalize:function(){return $},removeItems:function(){return F},sleep:function(){return z},slugify:function(){return O},tryParseInt:function(){return m},voidElement:function(){return A}}),n(50401),n(80438);let A={render:()=>null};function O(e){return e=(e=(e=(e=(e=(e=(e=(e=function(e){if(/^\[[^\]]+\]\(/.test(e)){let 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 F(e,t){let n=e.indexOf(t);return n>=0&&e.splice(n,1),e}function z(e){return new Promise(t=>{setTimeout(t,e)})}},71510:function(e,t,n){"use strict";function i(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}n.d(t,{V:function(){return i}})},86483:function(e,t,n){"use strict";n.d(t,{V:function(){return r}});var i=n(18049);function o(e){return!(0,i.Re)(e)||(0,i.XQ)(e,"fixed")?null:e.offsetParent}function r(e){let t=(0,i.Jj)(e),n=o(e);for(;n&&(0,i.Ze)(n)&&(0,i.XQ)(n,"static");)n=o(n);return n&&(0,i.Py)(n)&&(0,i.XQ)(n,"static")&&!(0,i.hT)(n)?t:n||(0,i.gQ)(e)||t}},41431:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var i=(()=>{if("undefined"!=typeof window)return window})()},24226:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var i=n(26521);function o(e,t,n){return(0,i.J)(e,n,t),()=>(0,i.f)(n)}},99465:function(e,t,n){"use strict";n.d(t,{j:function(){return l},m:function(){return a}}),n(50401),n(91234);var i=n(60590),o=n(80036);let r=!i.s&&window&&"IntersectionObserver"in window,s=function(e){for(let t of e)for(let e of t.target.__syno_intersection_listeners__||[])(0,o.isDefined)(t.isVisible)||(t.isVisible=t.isIntersecting),e.fn.apply(e.scope||e.fn,[t])},a=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=arguments.length>3?arguments[3]:void 0;if(r)return e.__syno_intersection_listeners__||(e.__syno_intersection_listeners__=[],e.__syno_intersection__=new IntersectionObserver(s,i),e.__syno_intersection__.observe(e)),e.__syno_intersection_listeners__.push({fn:t,scope:n}),()=>l(e,t)},l=function(e,t){r&&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__))}},60590:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});let i="undefined"==typeof window},84927:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var i=n(63917);let o=function(e,t,n){let o=n=>{let o=n.timeStamp,r=!0,s=window.setTimeout(()=>{t.apply(window,[n]),r=!1},500);(0,i.on)(e,"touchmove",()=>{r=!1,window.clearTimeout(s)}),(0,i.once)(e,"touchend",e=>{window.clearTimeout(s),e.timeStamp-o>500&&r&&t.apply(window,[n])})};return(0,i.on)(e,"touchstart",o),()=>(0,i.off)(e,"touchstart",o)}},53300:function(e,t,n){"use strict";let i;n.d(t,{e:function(){return i}});var o=n(80036);i=function(){let{components:e=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{install:function n(i){if(!n.installed){if(e=(0,o.isArray)(e)?e:[e]){for(let t of e)if(t){let e=`v${(0,o.getComponentName)(t)}`;i.component(e)||i.component(e,t)}}for(var r=arguments.length,s=Array(r>1?r-1:0),a=1;a<r;a++)s[a-1]=arguments[a];t?.(i,...s)}}}}},39192:function(e,t,n){"use strict";n.d(t,{S:function(){return s},k:function(){return r}}),n(50401),n(91234);var i=n(91033);let o=function(e){for(let t of e)for(let e of t.target.__syno_resize_listeners__||[])e.fn.apply(e.scope||e.fn,[t])},r=function(e,t,n){return e.__syno_resize_listeners__||(e.__syno_resize_listeners__=[],e.__syno_resize__=new i.Z(o),e.__syno_resize__.observe(e)),e.__syno_resize_listeners__.push({fn:t,scope:n}),()=>s(e,t)},s=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))}},99349:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var i=n(22412);function o(e){return i.Ts?Symbol(e):Symbol()}},8378:function(e,t,n){"use strict";n.d(t,{Eh:function(){return f},G6:function(){return d},V5:function(){return p},hx:function(){return h}});var i=n(60590);let o=!i.s&&"navigator"in window?window.navigator.userAgent.toLowerCase():"node",r=function(e){return e.test(o)},s=i.s?null:document;i.s||null===s||"documentMode"in s&&s.documentMode,i.s||null==s||s.compatMode;let a=r(/opera/),l=r(/\bchrome\b/),c=r(/webkit/),d=!l&&r(/safari/);d&&r(/applewebkit\/4/),d&&r(/version\/3/),d&&r(/version\/4/);let u=!a&&r(/msie/);u&&r(/msie 7/),u&&r(/msie 8/),u&&r(/msie 9/);let h=!c&&r(/gecko/);h&&r(/rv:1\.8/),h&&r(/rv:1\.9/),r(/windows|win32/);let p=r(/macintosh|mac os x/);function f(e,t){let n=RegExp("Version/([0-9._]+).*Safari").exec(o);try{if(n)switch(e){case"=":return parseFloat(n[1])===t;case">":return parseFloat(n[1])>t;case">=":return parseFloat(n[1])>=t;case"<":return parseFloat(n[1])<t;case"<=":return parseFloat(n[1])<=t}return!1}catch{return!1}}r(/adobeair/),r(/linux/)},10853:function(e,t,n){"use strict";n.d(t,{$B:function(){return i},G:function(){return o}}),n(25217);let i=!0;function o(e){let t=e.$.subTree,n=[];return t&&(n=(e=>{let t=[e],n=[];for(;t.length>0;){let e=t.shift(),i=e?.component?.proxy;if(i&&n.push(i),Array.isArray(e?.children)&&t.push(...e?.children),e?.component?.subTree){let n=e?.component.subTree;t.push(n)}}return n})(t)),n}},21812:function(e,t,n){"use strict";n.d(t,{v_:function(){return od},Ky:function(){return iG},BJ:function(){return os},TD:function(){return iw},m9:function(){return oa},zw:function(){return iv},k6:function(){return iP},VP:function(){return iX},np:function(){return iR},z:function(){return iy},ph:function(){return iT},Pd:function(){return iN},cG:function(){return iz},DI:function(){return iM},fY:function(){return i3},Bn:function(){return iI},sG:function(){return iq},ED:function(){return iL},tj:function(){return iC},aK:function(){return iY},Zx:function(){return of},sm:function(){return i8},IH:function(){return og},vN:function(){return i6},fr:function(){return oh},qh:function(){return or},rn:function(){return iS},O0:function(){return i4},k_:function(){return iJ},Eq:function(){return i0},nT:function(){return iV},u:function(){return iZ},k7:function(){return iO},lQ:function(){return iQ},aG:function(){return i2},Nd:function(){return om},E5:function(){return i9},v6:function(){return oc},aP:function(){return iF},H3:function(){return iA},Di:function(){return iE},eK:function(){return iK},kI:function(){return iW},LB:function(){return iD},Zt:function(){return oe},O_:function(){return ot},HY:function(){return i7},uT:function(){return ix},xI:function(){return i5},PX:function(){return i$},EN:function(){return ik},jS:function(){return iU},pQ:function(){return i1},xo:function(){return iH},sw:function(){return ou},je:function(){return iB},GX:function(){return ib},W2:function(){return i_},Cz:function(){return oi},Dl:function(){return on},Ut:function(){return ol},j2:function(){return oo},RC:function(){return ij},SI:function(){return op}});var i=n(25217),o=(0,i.defineComponent)({name:"vIconvIconBreadcrumbSlash",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:24}}}),r=(e,t)=>{let n=e.__vccOpts||e;for(let[e,i]of t)n[e]=i;return n};let s=["width","height"],a=[(0,i.createElementVNode)("polygon",{"fill-rule":"evenodd",points:"8.2 18 13 6 11.8 6 7 18"},null,-1)];var l=r(o,[["render",function(e,t,n,o,r,l){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 24",fill:"currentColor",width:e.width,height:e.height},[...a],8,s)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconBreadcrumbSlash.vue"]]),c=(0,i.defineComponent)({name:"vIconvIconButtonArrowDown",props:{width:{type:[Number,String],default:12},height:{type:[Number,String],default:24}}});let d=["width","height"],u=[(0,i.createElementVNode)("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 h=r(c,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 24",fill:"currentColor",width:e.width,height:e.height},[...u],8,d)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconButtonArrowDown.vue"]]),p=(0,i.defineComponent)({name:"vIconvIconEditMenuMore",props:{width:{type:[Number,String],default:12},height:{type:[Number,String],default:24}}});let f=["width","height"],m=[(0,i.createElementVNode)("g",{"fill-rule":"evenodd"},[(0,i.createElementVNode)("circle",{cx:"6",cy:"16",r:"1"}),(0,i.createElementVNode)("circle",{cx:"6",cy:"12",r:"1"}),(0,i.createElementVNode)("circle",{cx:"6",cy:"8",r:"1"})],-1)];var g=r(p,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 24",fill:"currentColor",width:e.width,height:e.height},[...m],8,f)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconEditMenuMore.vue"]]),y=(0,i.defineComponent)({name:"vIconvIconExpandTableChevronDown",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});let v=["width","height"],b=[(0,i.createElementVNode)("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 w=r(y,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...b],8,v)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconExpandTableChevronDown.vue"]]),C=(0,i.defineComponent)({name:"vIconvIconExpandTableChevronUp",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});let S=["width","height"],k=[(0,i.createElementVNode)("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 x=r(C,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...k],8,S)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconExpandTableChevronUp.vue"]]);(0,i.defineComponent)({name:"vIconvIconExpandTableHdd",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:32}}});var B=(0,i.defineComponent)({name:"vIconvIconInputSteppersDown",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:12}}});let T=["width","height"],E=[(0,i.createElementVNode)("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 I=r(B,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 12",fill:"currentColor",width:e.width,height:e.height},[...E],8,T)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconInputSteppersDown.vue"]]),D=(0,i.defineComponent)({name:"vIconvIconInputSteppersUp",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:12}}});let V=["width","height"],N=[(0,i.createElementVNode)("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 _=r(D,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 12",fill:"currentColor",width:e.width,height:e.height},[...N],8,V)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconInputSteppersUp.vue"]]);(0,i.defineComponent)({name:"vIconvIconLabelDropdown",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});var M=(0,i.defineComponent)({name:"vIconvIconLabelRemove",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});let $=["width","height"],Z=[(0,i.createElementVNode)("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 A=r(M,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...Z],8,$)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconLabelRemove.vue"]]),O=(0,i.defineComponent)({name:"vIconvIconSubmenuTriangleRight",props:{width:{type:[Number,String],default:12},height:{type:[Number,String],default:24}}});let F=["width","height"],z=[(0,i.createElementVNode)("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 L=r(O,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 24",fill:"currentColor",width:e.width,height:e.height},[...z],8,F)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconSubmenuTriangleRight.vue"]]);(0,i.defineComponent)({name:"vIconvIconTableDraggableL",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:24}}});var P=(0,i.defineComponent)({name:"vIconvIconTableDraggableS",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:24}}});let R=["width","height"],H=[(0,i.createElementVNode)("g",{"fill-rule":"evenodd"},[(0,i.createElementVNode)("rect",{width:"8",height:"1",y:"15"}),(0,i.createElementVNode)("rect",{width:"8",height:"1",y:"12"}),(0,i.createElementVNode)("rect",{width:"8",height:"1",y:"9"})],-1)];var j=r(P,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 24",fill:"currentColor",width:e.width,height:e.height},[...H],8,R)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableDraggableS.vue"]]),W=(0,i.defineComponent)({name:"vIconvIconTableHeaderMenu",props:{width:{type:[Number,String],default:12},height:{type:[Number,String],default:24}}});let G=["width","height"],Q=[(0,i.createElementVNode)("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 U=r(W,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 24",fill:"currentColor",width:e.width,height:e.height},[...Q],8,G)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableHeaderMenu.vue"]]),K=(0,i.defineComponent)({name:"vIconvIconTableSortDown",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:20}}});let q=["width","height"],Y=[(0,i.createElementVNode)("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 J=r(K,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 20",fill:"currentColor",width:e.width,height:e.height},[...Y],8,q)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableSortDown.vue"]]),X=(0,i.defineComponent)({name:"vIconvIconTableSortUp",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:20}}});let ee=["width","height"],et=[(0,i.createElementVNode)("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 en=r(X,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 20",fill:"currentColor",width:e.width,height:e.height},[...et],8,ee)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTableSortUp.vue"]]),ei=(0,i.defineComponent)({name:"vIconvIconToastClose",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});let eo=["width","height"],er=[(0,i.createElementVNode)("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 es=r(ei,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...er],8,eo)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconToastClose.vue"]]),ea=(0,i.defineComponent)({name:"vIconvIconTreeArrowDown",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});let el=["width","height"],ec=[(0,i.createElementVNode)("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 ed=r(ea,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...ec],8,el)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTreeArrowDown.vue"]]),eu=(0,i.defineComponent)({name:"vIconvIconTreeArrowRight",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});let eh=["width","height"],ep=[(0,i.createElementVNode)("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 ef=r(eu,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",width:e.width,height:e.height},[...ep],8,eh)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTreeArrowRight.vue"]]),em=(0,i.defineComponent)({name:"vIconvIconAdjust",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let eg=["width","height"],ey=[(0,i.createElementVNode)("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 ev=r(em,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...ey],8,eg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAdjust.vue"]]),eb=(0,i.defineComponent)({name:"vIconvIconCalendar",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ew=["width","height"],eC=[(0,i.createElementVNode)("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 eS=r(eb,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eC],8,ew)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCalendar.vue"]]),ek=(0,i.defineComponent)({name:"vIconvIconChevronDown",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ex=["width","height"],eB=[(0,i.createElementVNode)("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 eT=r(ek,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eB],8,ex)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronDown.vue"]]),eE=(0,i.defineComponent)({name:"vIconvIconChevronFirst",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let eI=["width","height"],eD=[(0,i.createElementVNode)("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 eV=r(eE,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eD],8,eI)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronFirst.vue"]]),eN=(0,i.defineComponent)({name:"vIconvIconChevronLast",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let e_=["width","height"],eM=[(0,i.createElementVNode)("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 e$=r(eN,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eM],8,e_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronLast.vue"]]),eZ=(0,i.defineComponent)({name:"vIconvIconChevronLeft",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let eA=["width","height"],eO=[(0,i.createElementVNode)("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 eF=r(eZ,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eO],8,eA)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronLeft.vue"]]),ez=(0,i.defineComponent)({name:"vIconvIconChevronLeftDouble",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let eL=["width","height"],eP=[(0,i.createElementVNode)("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 eR=r(ez,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eP],8,eL)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronLeftDouble.vue"]]),eH=(0,i.defineComponent)({name:"vIconvIconChevronRight",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ej=["width","height"],eW=[(0,i.createElementVNode)("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 eG=r(eH,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eW],8,ej)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronRight.vue"]]),eQ=(0,i.defineComponent)({name:"vIconvIconChevronRightDouble",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let eU=["width","height"],eK=[(0,i.createElementVNode)("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 eq=r(eQ,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eK],8,eU)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronRightDouble.vue"]]),eY=(0,i.defineComponent)({name:"vIconvIconChevronUp",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let eJ=["width","height"],eX=[(0,i.createElementVNode)("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 e0=r(eY,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...eX],8,eJ)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconChevronUp.vue"]]),e1=(0,i.defineComponent)({name:"vIconvIconClear",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let e2=["width","height"],e5=[(0,i.createElementVNode)("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 e3=r(e1,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...e5],8,e2)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconClear.vue"]]),e8=(0,i.defineComponent)({name:"vIconvIconColorReset",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let e7=["width","height"],e6=[(0,i.createElementVNode)("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 e4=r(e8,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...e6],8,e7)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconColorReset.vue"]]),e9=(0,i.defineComponent)({name:"vIconvIconCopy",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let te=["width","height"],tt=[(0,i.createElementVNode)("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 tn=r(e9,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tt],8,te)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCopy.vue"]]),ti=(0,i.defineComponent)({name:"vIconvIconCut",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let to=["width","height"],tr=[(0,i.createElementVNode)("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 ts=r(ti,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tr],8,to)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconCut.vue"]]),ta=(0,i.defineComponent)({name:"vIconvIconDataviewChevronDown",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tl=["width","height"],tc=[(0,i.createElementVNode)("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 td=r(ta,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tc],8,tl)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconDataviewChevronDown.vue"]]),tu=(0,i.defineComponent)({name:"vIconvIconDataviewChevronUp",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let th=["width","height"],tp=[(0,i.createElementVNode)("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 tf=r(tu,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tp],8,th)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconDataviewChevronUp.vue"]]);(0,i.defineComponent)({name:"vIconvIconDelete",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconEdit",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});var tm=(0,i.defineComponent)({name:"vIconvIconEye",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tg=["width","height"],ty=[(0,i.createElementVNode)("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 tv=r(tm,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...ty],8,tg)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconEye.vue"]]),tb=(0,i.defineComponent)({name:"vIconvIconEyeSlash",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tw=["width","height"],tC=[(0,i.createElementVNode)("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 tS=r(tb,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tC],8,tw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconEyeSlash.vue"]]),tk=(0,i.defineComponent)({name:"vIconvIconFilter",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tx=["width","height"],tB=[(0,i.createElementVNode)("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 tT=r(tk,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tB],8,tx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconFilter.vue"]]),tE=(0,i.defineComponent)({name:"vIconvIconFolder",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tI=["width","height"],tD=[(0,i.createElementVNode)("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 tV=r(tE,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tD],8,tI)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconFolder.vue"]]),tN=(0,i.defineComponent)({name:"vIconvIconHamburger",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let t_=["width","height"],tM=[(0,i.createElementVNode)("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 t$=r(tN,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tM],8,t_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconHamburger.vue"]]);(0,i.defineComponent)({name:"vIconvIconHome",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});var tZ=(0,i.defineComponent)({name:"vIconvIconMinus",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tA=["width","height"],tO=[(0,i.createElementVNode)("rect",{width:"12",height:"2",x:"6",y:"11","fill-rule":"evenodd",rx:"1"},null,-1)];var tF=r(tZ,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tO],8,tA)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconMinus.vue"]]),tz=(0,i.defineComponent)({name:"vIconvIconMinusS",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tL=["width","height"],tP=[(0,i.createElementVNode)("rect",{width:"10",height:"2",x:"7",y:"11","fill-rule":"evenodd",rx:"1"},null,-1)];var tR=r(tz,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tP],8,tL)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconMinusS.vue"]]),tH=(0,i.defineComponent)({name:"vIconvIconMore",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tj=["width","height"],tW=[(0,i.createElementVNode)("g",{"fill-rule":"evenodd"},[(0,i.createElementVNode)("circle",{cx:"18",cy:"12",r:"2"}),(0,i.createElementVNode)("circle",{cx:"12",cy:"12",r:"2"}),(0,i.createElementVNode)("circle",{cx:"6",cy:"12",r:"2"})],-1)];var tG=r(tH,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tW],8,tj)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconMore.vue"]]),tQ=(0,i.defineComponent)({name:"vIconvIconPaintBucket",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tU=["width","height"],tK=[(0,i.createElementVNode)("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 tq=r(tQ,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tK],8,tU)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconPaintBucket.vue"]]),tY=(0,i.defineComponent)({name:"vIconvIconPen",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let tJ=["width","height"],tX=[(0,i.createElementVNode)("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 t0=r(tY,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...tX],8,tJ)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconPen.vue"]]),t1=(0,i.defineComponent)({name:"vIconvIconPlus",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let t2=["width","height"],t5=[(0,i.createElementVNode)("g",{"fill-rule":"evenodd"},[(0,i.createElementVNode)("rect",{width:"12",height:"2",x:"6",y:"11",rx:"1"}),(0,i.createElementVNode)("rect",{width:"2",height:"12",x:"11",y:"6",rx:"1"})],-1)];var t3=r(t1,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...t5],8,t2)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconPlus.vue"]]),t8=(0,i.defineComponent)({name:"vIconvIconPlusS",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let t7=["width","height"],t6=[(0,i.createElementVNode)("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 t4=r(t8,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...t6],8,t7)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconPlusS.vue"]]),t9=(0,i.defineComponent)({name:"vIconvIconRefresh",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ne=["width","height"],nt=[(0,i.createElementVNode)("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 nn=r(t9,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...nt],8,ne)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconRefresh.vue"]]),ni=(0,i.defineComponent)({name:"vIconvIconSearch",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let no=["width","height"],nr=[(0,i.createElementVNode)("defs",null,[(0,i.createElementVNode)("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),(0,i.createElementVNode)("use",{"xlink:href":"#4aa5c3c7c17fbf8d8ec4c3cfd8d2bce7__a","fill-rule":"evenodd"},null,-1)];var ns=r(ni,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("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},[...nr],8,no)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconSearch.vue"]]);(0,i.defineComponent)({name:"vIconvIconSettings",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconSort",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});var na=(0,i.defineComponent)({name:"vIconvIconTick",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let nl=["width","height"],nc=[(0,i.createElementVNode)("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 nd=r(na,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...nc],8,nl)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTick.vue"]]),nu=(0,i.defineComponent)({name:"vIconvIconTriangleDown",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let nh=["width","height"],np=[(0,i.createElementVNode)("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 nf=r(nu,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...np],8,nh)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconTriangleDown.vue"]]);(0,i.defineComponent)({name:"vIconvIconViewList",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconViewThumbnail",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconViewTile",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});var nm=(0,i.defineComponent)({name:"vIconvIconWintoolClose",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ng=["width","height"],ny=[(0,i.createElementVNode)("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 nv=r(nm,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...ny],8,ng)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolClose.vue"]]),nb=(0,i.defineComponent)({name:"vIconvIconWintoolFullscreen",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let nw=["width","height"],nC=[(0,i.createElementVNode)("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 nS=r(nb,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...nC],8,nw)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolFullscreen.vue"]]),nk=(0,i.defineComponent)({name:"vIconvIconWintoolHelp",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let nx=["width","height"],nB=[(0,i.createElementVNode)("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 nT=r(nk,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...nB],8,nx)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolHelp.vue"]]),nE=(0,i.defineComponent)({name:"vIconvIconWintoolMinimize",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let nI=["width","height"],nD=[(0,i.createElementVNode)("rect",{width:"12",height:"2",x:"6",y:"11","fill-rule":"evenodd",rx:"1"},null,-1)];var nV=r(nE,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...nD],8,nI)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolMinimize.vue"]]),nN=(0,i.defineComponent)({name:"vIconvIconWintoolUnfullscreen",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let n_=["width","height"],nM=[(0,i.createElementVNode)("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 n$=r(nN,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...nM],8,n_)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconWintoolUnfullscreen.vue"]]),nZ=(0,i.defineComponent)({name:"vIconvIconAboutTickBlue",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});let nA=["width","height"],nO=[(0,i.createElementVNode)("circle",{cx:"10",cy:"10",r:"7",fill:"#057FEB"},null,-1),(0,i.createElementVNode)("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 nF=r(nZ,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...nO],8,nA)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconAboutTickBlue.vue"]]),nz=(0,i.defineComponent)({name:"vIconvIconBetaLabelBlue",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:16}}});let nL=["width","height"],nP=[(0,i.createElementVNode)("rect",{width:"32",height:"16",rx:"3",fill:"#057FEB"},null,-1),(0,i.createElementVNode)("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 nR=r(nz,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{viewBox:"0 0 32 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height},[...nP],8,nL)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconBetaLabelBlue.vue"]]),nH=(0,i.defineComponent)({name:"vIconvIconNotifyTrayIconImportant",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:32}}});let nj=["width","height"],nW=[(0,i.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("circle",{fill:"#F58414",cx:"16",cy:"16",r:"16"}),(0,i.createElementVNode)("rect",{fill:"#FFF",x:"14.25",y:"7",width:"3.5",height:"11.5",rx:"1.75"}),(0,i.createElementVNode)("rect",{fill:"#FFF",x:"14.25",y:"21.25",width:"3.5",height:"3.5",rx:"1.75"})],-1)];var nG=r(nH,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",width:e.width,height:e.height},[...nW],8,nj)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconNotifyTrayIconImportant.vue"]]),nQ=(0,i.defineComponent)({name:"vIconvIconNotifyTrayIconSuggestion",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:32}}});let nU=["width","height"],nK=[(0,i.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("rect",{fill:"#057FEB",width:"32",height:"32",rx:"16"}),(0,i.createElementVNode)("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 nq=r(nQ,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",width:e.width,height:e.height},[...nK],8,nU)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconNotifyTrayIconSuggestion.vue"]]),nY=(0,i.defineComponent)({name:"vIconvIconNotifyTrayIconTips",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:32}}});let nJ=["width","height"],nX=[(0,i.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("circle",{fill:"#FAC000",cx:"16",cy:"16",r:"16"}),(0,i.createElementVNode)("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 n0=r(nY,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 32 32",width:e.width,height:e.height},[...nX],8,nJ)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconNotifyTrayIconTips.vue"]]);(0,i.defineComponent)({name:"vIconvIconEmptyDefault",props:{width:{type:[Number,String],default:120},height:{type:[Number,String],default:120}}}),(0,i.defineComponent)({name:"vIconvIconBreadcrumbSlash",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconBtReturn",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:72}}}),(0,i.defineComponent)({name:"vIconvIconCardIcnAxS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconCardIcnJcbS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconCardIcnMasterS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconCardIcnOthersS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconCardIcnRemittanceS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconCardIcnSepaS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconCardIcnUnionpayS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconCardIcnVisaS",props:{width:{type:[Number,String],default:36},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconLogoStorage",props:{width:{type:[Number,String],default:256},height:{type:[Number,String],default:256}}});var n1=(0,i.defineComponent)({name:"vIconvIconOverview",props:{width:{type:[Number,String],default:22},height:{type:[Number,String],default:22}}});let n2=["width","height"],n5=[(0,i.createElementVNode)("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 n3=r(n1,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"currentColor",width:e.width,height:e.height},[...n5],8,n2)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconOverview.vue"]]);(0,i.defineComponent)({name:"vIconvIconColorPickerTransparentBg",props:{width:{type:[Number,String],default:8},height:{type:[Number,String],default:8}}}),(0,i.defineComponent)({name:"vIconvIconScheduleTableColorClear",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconAdvancedFilter",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:72}}}),(0,i.defineComponent)({name:"vIconvIconAdvancedFilterHover",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconAdvancedFilterNormal",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconAdvancedFilterOn",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconAdvancedSearch",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:72}}}),(0,i.defineComponent)({name:"vIconvIconAdvancedSearchHover",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconAdvancedSearchNormal",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconAdvancedSearchOn",props:{width:{type:[Number,String],default:32},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconCheckbox",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:240}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxCheckedDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxCheckedError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxCheckedHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxCheckedNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxIndeterminateDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxIndeterminateError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxIndeterminateHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxIndeterminateNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxUncheckedDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxUncheckedError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxUncheckedHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconCheckboxUncheckedNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconRadio",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:160}}}),(0,i.defineComponent)({name:"vIconvIconRadioSelectedDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconRadioSelectedError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconRadioSelectedHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconRadioSelectedNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconRadioUnselectedDisable",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconRadioUnselectedError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconRadioUnselectedHover",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconRadioUnselectedNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconFolder",props:{width:{type:[Number,String],default:16},height:{type:[Number,String],default:16}}});var n8=(0,i.defineComponent)({name:"vIconvIconStatusError",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let n7=["width","height"],n6=[(0,i.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("circle",{cx:"12",cy:"12",r:"8",fill:"#E64040"}),(0,i.createElementVNode)("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 n4=r(n8,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...n6],8,n7)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusError.vue"]]),n9=(0,i.defineComponent)({name:"vIconvIconStatusInfo",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ie=["width","height"],it=[(0,i.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("rect",{width:"16",height:"16",x:"4",y:"4",fill:"#057FEB",rx:"8"}),(0,i.createElementVNode)("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 ii=r(n9,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...it],8,ie)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusInfo.vue"]]),io=(0,i.defineComponent)({name:"vIconvIconStatusNormal",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ir=["width","height"],is=[(0,i.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("circle",{cx:"12",cy:"12",r:"8",fill:"#14B41A"}),(0,i.createElementVNode)("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 ia=r(io,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...is],8,ir)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusNormal.vue"]]),il=(0,i.defineComponent)({name:"vIconvIconStatusProcessing",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ic=["width","height"],id=[(0,i.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("circle",{cx:"12",cy:"12",r:"8",fill:"#057FEB"}),(0,i.createElementVNode)("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 iu=r(il,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...id],8,ic)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusProcessing.vue"]]),ih=(0,i.defineComponent)({name:"vIconvIconStatusWarning",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}});let ip=["width","height"],im=[(0,i.createElementVNode)("g",{fill:"none","fill-rule":"evenodd"},[(0,i.createElementVNode)("circle",{cx:"12",cy:"12",r:"8",fill:"#F58414"}),(0,i.createElementVNode)("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 ig=r(ih,[["render",function(e,t,n,o,r,s){return(0,i.openBlock)(),(0,i.createElementBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",width:e.width,height:e.height},[...im],8,ip)}],["__file","/builds/synology/SynoVueComponents/packages/svc-icons/src/vIconStatusWarning.vue"]]);(0,i.defineComponent)({name:"vIconvIconError",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconInfo",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconNormal",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconProcessing",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconWarning",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconWhitetip",props:{width:{type:[Number,String],default:24},height:{type:[Number,String],default:24}}}),(0,i.defineComponent)({name:"vIconvIconWhitetipSmall",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}}),(0,i.defineComponent)({name:"vIconvIconWhitetipSmallWhite",props:{width:{type:[Number,String],default:20},height:{type:[Number,String],default:20}}});let iy="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:l,iv="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:h,ib="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:g,iw="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:w,iC="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:x;"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG;let iS="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:I,ik="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:_;"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG;let ix="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:A,iB="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:L;"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG;let iT="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:j,iE="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:U,iI="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:J,iD="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:en,iV="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:es,iN="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ed,i_="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ef,iM="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ev,i$="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eS,iZ="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eT,iA="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eV,iO="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:e$,iF="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eF,iz="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eR,iL="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eG,iP="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:eq,iR="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:e0,iH="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:e3,ij="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:e4,iW="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tn,iG="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ts,iQ="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:td,iU="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tf;"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG;let iK="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tv,iq="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tS,iY="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tT,iJ="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tV,iX="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:t$;"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG;let i0="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tF,i1="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tR,i2="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tG,i5="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:tq,i3="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:t0,i8="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:t3,i7="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:t4,i6="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nn,i4="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ns;"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG;let i9="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nd,oe="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nf;"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG,"undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG;let ot="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nv,on="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nS,oi="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nT,oo="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nV,or="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:n$,os="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nF,oa="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nR,ol="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nG,oc="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:nq,od="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:n0;"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;let ou="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:n3;"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;let oh="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:n4,op="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ii,of="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ia,om="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:iu,og="undefined"!=typeof SVC_EJECT_SVG&&SVC_EJECT_SVG?{render:()=>null}:ig;"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},87390:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(38487),o=function(e,t){for(var n=e.length;n--;)if((0,i.Z)(e[n][0],t))return n;return -1},r=Array.prototype.splice;function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=function(){this.__data__=[],this.size=0},s.prototype.delete=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)},s.prototype.get=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]},s.prototype.has=function(e){return o(this.__data__,e)>-1},s.prototype.set=function(e,t){var n=this.__data__,i=o(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this};var a=s},2321:function(e,t,n){"use strict";var i=n(16161),o=n(52434),r=(0,i.Z)(o.Z,"Map");t.Z=r},79401:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var i=(0,n(16161).Z)(Object,"create"),o=Object.prototype.hasOwnProperty,r=Object.prototype.hasOwnProperty;function s(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}s.prototype.clear=function(){this.__data__=i?i(null):{},this.size=0},s.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},s.prototype.get=function(e){var t=this.__data__;if(i){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0},s.prototype.has=function(e){var t=this.__data__;return i?void 0!==t[e]:r.call(t,e)},s.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=i&&void 0===t?"__lodash_hash_undefined__":t,this};var a=n(87390),l=n(2321),c=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},d=function(e,t){var n=e.__data__;return c(t)?n["string"==typeof t?"string":"hash"]:n.map};function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}u.prototype.clear=function(){this.size=0,this.__data__={hash:new s,map:new(l.Z||a.Z),string:new s}},u.prototype.delete=function(e){var t=d(this,e).delete(e);return this.size-=t?1:0,t},u.prototype.get=function(e){return d(this,e).get(e)},u.prototype.has=function(e){return d(this,e).has(e)},u.prototype.set=function(e,t){var n=d(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this};var h=u},11395:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(87390),o=n(2321),r=n(79401);function s(e){var t=this.__data__=new i.Z(e);this.size=t.size}s.prototype.clear=function(){this.__data__=new i.Z,this.size=0},s.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},s.prototype.get=function(e){return this.__data__.get(e)},s.prototype.has=function(e){return this.__data__.has(e)},s.prototype.set=function(e,t){var n=this.__data__;if(n instanceof i.Z){var s=n.__data__;if(!o.Z||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new r.Z(s)}return n.set(e,t),this.size=n.size,this};var a=s},12895:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=function(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i},o=n(45988),r=n(31739),s=n(25162),a=n(92383),l=n(48366),c=Object.prototype.hasOwnProperty,d=function(e,t){var n=(0,r.Z)(e),d=!n&&(0,o.Z)(e),u=!n&&!d&&(0,s.Z)(e),h=!n&&!d&&!u&&(0,l.Z)(e),p=n||d||u||h,f=p?i(e.length,String):[],m=f.length;for(var g in e)(t||c.call(e,g))&&!(p&&("length"==g||u&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,a.Z)(g,m)))&&f.push(g);return f}},96248:function(e,t){"use strict";t.Z=function(e,t){for(var n=-1,i=null==e?0:e.length,o=Array(i);++n<i;)o[n]=t(e[n],n,e);return o}},293:function(e,t){"use strict";t.Z=function(e,t){for(var n=-1,i=t.length,o=e.length;++n<i;)e[o+n]=t[n];return e}},89774:function(e,t,n){"use strict";var i=n(49790),o=n(38487),r=Object.prototype.hasOwnProperty;t.Z=function(e,t,n){var s=e[t];r.call(e,t)&&(0,o.Z)(s,n)&&(void 0!==n||t in e)||(0,i.Z)(e,t,n)}},49790:function(e,t,n){"use strict";var i=n(33722);t.Z=function(e,t,n){"__proto__"==t&&i.Z?(0,i.Z)(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5842:function(e,t,n){"use strict";n.d(t,{Z:function(){return em}});var i=n(11395),o=function(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e},r=n(89774),s=n(29919),a=n(12895),l=n(84342),c=(0,n(14965).Z)(Object.keys,Object),d=Object.prototype.hasOwnProperty,u=function(e){if(!(0,l.Z)(e))return c(e);var t=[];for(var n in Object(e))d.call(e,n)&&"constructor"!=n&&t.push(n);return t},h=n(71581),p=function(e){return(0,h.Z)(e)?(0,a.Z)(e):u(e)},f=n(40038),m=n(49307),g=n(76177),y=n(48503),v=n(6630),b=n(78467),w=function(e){return(0,b.Z)(e,p,y.Z)},C=n(78982),S=n(16161),k=n(52434),x=(0,S.Z)(k.Z,"DataView"),B=n(2321),T=(0,S.Z)(k.Z,"Promise"),E=(0,S.Z)(k.Z,"Set"),I=(0,S.Z)(k.Z,"WeakMap"),D=n(65182),V=n(71842),N="[object Map]",_="[object Promise]",M="[object Set]",$="[object WeakMap]",Z="[object DataView]",A=(0,V.Z)(x),O=(0,V.Z)(B.Z),F=(0,V.Z)(T),z=(0,V.Z)(E),L=(0,V.Z)(I),P=D.Z;(x&&P(new x(new ArrayBuffer(1)))!=Z||B.Z&&P(new B.Z)!=N||T&&P(T.resolve())!=_||E&&P(new E)!=M||I&&P(new I)!=$)&&(P=function(e){var t=(0,D.Z)(e),n="[object Object]"==t?e.constructor:void 0,i=n?(0,V.Z)(n):"";if(i)switch(i){case A:return Z;case O:return N;case F:return _;case z:return M;case L:return $}return t});var R=P,H=Object.prototype.hasOwnProperty,j=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&H.call(e,"index")&&(n.index=e.index,n.input=e.input),n},W=n(567),G=function(e,t){var n=t?(0,W.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)},Q=/\w*$/,U=function(e){var t=new e.constructor(e.source,Q.exec(e));return t.lastIndex=e.lastIndex,t},K=n(3958),q=K.Z?K.Z.prototype:void 0,Y=q?q.valueOf:void 0,J=n(32025),X=function(e,t,n){var i=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,W.Z)(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return G(e,n);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(0,J.Z)(e,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return U(e);case"[object Symbol]":return Y?Object(Y.call(e)):{}}},ee=n(12031),et=n(31739),en=n(25162),ei=n(75887),eo=n(44026),er=n(74413),es=er.Z&&er.Z.isMap,ea=es?(0,eo.Z)(es):function(e){return(0,ei.Z)(e)&&"[object Map]"==R(e)},el=n(58641),ec=er.Z&&er.Z.isSet,ed=ec?(0,eo.Z)(ec):function(e){return(0,ei.Z)(e)&&"[object Set]"==R(e)},eu="[object Arguments]",eh="[object Function]",ep="[object Object]",ef={};ef[eu]=ef["[object Array]"]=ef["[object ArrayBuffer]"]=ef["[object DataView]"]=ef["[object Boolean]"]=ef["[object Date]"]=ef["[object Float32Array]"]=ef["[object Float64Array]"]=ef["[object Int8Array]"]=ef["[object Int16Array]"]=ef["[object Int32Array]"]=ef["[object Map]"]=ef["[object Number]"]=ef[ep]=ef["[object RegExp]"]=ef["[object Set]"]=ef["[object String]"]=ef["[object Symbol]"]=ef["[object Uint8Array]"]=ef["[object Uint8ClampedArray]"]=ef["[object Uint16Array]"]=ef["[object Uint32Array]"]=!0,ef["[object Error]"]=ef[eh]=ef["[object WeakMap]"]=!1;var em=function e(t,n,a,l,c,d){var u,h=1&n,b=2&n,S=4&n;if(a&&(u=c?a(t,l,c,d):a(t)),void 0!==u)return u;if(!(0,el.Z)(t))return t;var k=(0,et.Z)(t);if(k){if(u=j(t),!h)return(0,g.Z)(t,u)}else{var x,B,T,E,I=R(t),D=I==eh||"[object GeneratorFunction]"==I;if((0,en.Z)(t))return(0,m.Z)(t,h);if(I==ep||I==eu||D&&!c){if(u=b||D?{}:(0,ee.Z)(t),!h)return b?(B=(x=u)&&(0,s.Z)(t,(0,f.Z)(t),x),(0,s.Z)(t,(0,v.Z)(t),B)):(E=(T=u)&&(0,s.Z)(t,p(t),T),(0,s.Z)(t,(0,y.Z)(t),E))}else{if(!ef[I])return c?t:{};u=X(t,I,h)}}d||(d=new i.Z);var V=d.get(t);if(V)return V;d.set(t,u),ed(t)?t.forEach(function(i){u.add(e(i,n,a,i,t,d))}):ea(t)&&t.forEach(function(i,o){u.set(o,e(i,n,a,o,t,d))});var N=S?b?C.Z:w:b?f.Z:p,_=k?void 0:N(t);return o(_||t,function(i,o){_&&(i=t[o=i]),(0,r.Z)(u,o,e(i,n,a,o,t,d))}),u}},73722:function(e,t,n){"use strict";var i=n(17731),o=n(37706);t.Z=function(e,t){t=(0,i.Z)(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[(0,o.Z)(t[n++])];return n&&n==r?e:void 0}},78467:function(e,t,n){"use strict";var i=n(293),o=n(31739);t.Z=function(e,t,n){var r=t(e);return(0,o.Z)(e)?r:(0,i.Z)(r,n(e))}},29794:function(e,t){"use strict";t.Z=function(e,t,n){var i=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(o);++i<o;)r[i]=e[i+t];return r}},44026:function(e,t){"use strict";t.Z=function(e){return function(t){return e(t)}}},17731:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var i,o,r=n(31739),s=n(2147),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,c=function(e,t){if((0,r.Z)(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||(0,s.Z)(e))||l.test(e)||!a.test(e)||null!=t&&e in Object(t)},d=n(79401);function u(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var i=arguments,o=t?t.apply(this,i):i[0],r=n.cache;if(r.has(o))return r.get(o);var s=e.apply(this,i);return n.cache=r.set(o,s)||r,s};return n.cache=new(u.Cache||d.Z),n}u.Cache=d.Z;var h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,f=(o=(i=u(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(h,function(e,n,i,o){t.push(i?o.replace(p,"$1"):n||e)}),t},function(e){return 500===o.size&&o.clear(),e})).cache,i),m=n(22501),g=function(e,t){return(0,r.Z)(e)?e:c(e,t)?[e]:f((0,m.Z)(e))}},567:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(52434).Z.Uint8Array,o=function(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}},49307:function(e,t,n){"use strict";var i=n(52434),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===o?i.Z.Buffer:void 0,a=s?s.allocUnsafe:void 0;t.Z=function(e,t){if(t)return e.slice();var n=e.length,i=a?a(n):new e.constructor(n);return e.copy(i),i}},32025:function(e,t,n){"use strict";var i=n(567);t.Z=function(e,t){var n=t?(0,i.Z)(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},76177:function(e,t){"use strict";t.Z=function(e,t){var n=-1,i=e.length;for(t||(t=Array(i));++n<i;)t[n]=e[n];return t}},29919:function(e,t,n){"use strict";var i=n(89774),o=n(49790);t.Z=function(e,t,n,r){var s=!n;n||(n={});for(var a=-1,l=t.length;++a<l;){var c=t[a],d=r?r(n[c],e[c],c,n,e):void 0;void 0===d&&(d=e[c]),s?(0,o.Z)(n,c,d):(0,i.Z)(n,c,d)}return n}},33722:function(e,t,n){"use strict";var i=n(16161),o=function(){try{var e=(0,i.Z)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.Z=o},78982:function(e,t,n){"use strict";var i=n(78467),o=n(6630),r=n(40038);t.Z=function(e){return(0,i.Z)(e,r.Z,o.Z)}},16161:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i,o=n(18782),r=n(52434).Z["__core-js_shared__"],s=(i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",a=n(58641),l=n(71842),c=/^\[object .+?Constructor\]$/,d=Object.prototype,u=Function.prototype.toString,h=d.hasOwnProperty,p=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),f=function(e,t){var n,i=null==e?void 0:e[t];return(n=i,(0,a.Z)(n)&&(!s||!(s in n))&&((0,o.Z)(n)?p:c).test((0,l.Z)(n)))?i:void 0}},48503:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=function(e,t){for(var n=-1,i=null==e?0:e.length,o=0,r=[];++n<i;){var s=e[n];t(s,n,e)&&(r[o++]=s)}return r},o=n(27e3),r=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:i(s(e=Object(e)),function(t){return r.call(e,t)})}:o.Z},6630:function(e,t,n){"use strict";var i=n(293),o=n(53754),r=n(48503),s=n(27e3),a=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,i.Z)(t,(0,r.Z)(e)),e=(0,o.Z)(e);return t}:s.Z;t.Z=a},12031:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var i=n(58641),o=Object.create,r=function(){function e(){}return function(t){if(!(0,i.Z)(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),s=n(53754),a=n(84342),l=function(e){return"function"!=typeof e.constructor||(0,a.Z)(e)?{}:r((0,s.Z)(e))}},92383:function(e,t){"use strict";var n=/^(?:0|[1-9]\d*)$/;t.Z=function(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<t}},84342:function(e,t){"use strict";var n=Object.prototype;t.Z=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},74413:function(e,t,n){"use strict";var i=n(13926),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===o&&i.Z.process,a=function(){try{var e=r&&r.require&&r.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}();t.Z=a},89647:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var i=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},o=Math.max,r=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var r=arguments,s=-1,a=o(r.length-t,0),l=Array(a);++s<a;)l[s]=r[t+s];s=-1;for(var c=Array(t+1);++s<t;)c[s]=r[s];return c[t]=n(l),i(e,this,c)}}},83123:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i,o,r=n(33722),s=n(94675),a=r.Z?function(e,t){return(0,r.Z)(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:s.Z,l=Date.now,c=(i=0,o=0,function(){var e=l(),t=16-(e-o);if(o=e,t>0){if(++i>=800)return arguments[0]}else i=0;return a.apply(void 0,arguments)})},37706:function(e,t,n){"use strict";var i=n(2147),o=1/0;t.Z=function(e){if("string"==typeof e||(0,i.Z)(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},71842:function(e,t){"use strict";var n=Function.prototype.toString;t.Z=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},73506:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var i,o,r=n(22501),s=n(5664),a=function(e,t,n,i){var o=-1,r=null==e?0:e.length;for(i&&r&&(n=e[++o]);++o<r;)n=t(n,e[o],o,e);return n},l=(i={À:"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"},function(e){return null==i?void 0:i[e]}),c=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,d=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g"),u=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,h=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,p="\ud800-\udfff",f="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",g="A-Z\\xc0-\\xd6\\xd8-\\xde",y="\\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",v="['’]",b="["+y+"]",w="["+m+"]",C="[^"+p+y+"\\d+"+f+m+g+"]",S="(?:\ud83c[\udde6-\uddff]){2}",k="[\ud800-\udbff][\udc00-\udfff]",x="["+g+"]",B="(?:"+w+"|"+C+")",T="(?:"+x+"|"+C+")",E="(?:"+v+"(?:d|ll|m|re|s|t|ve))?",I="(?:"+v+"(?:D|LL|M|RE|S|T|VE))?",D="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",V="[\\ufe0e\\ufe0f]?",N="(?:\\u200d(?:"+["[^"+p+"]",S,k].join("|")+")"+V+D+")*",_="(?:"+["["+f+"]",S,k].join("|")+")"+(V+D+N),M=RegExp([x+"?"+w+"+"+E+"(?="+[b,x,"$"].join("|")+")",T+"+"+I+"(?="+[b,x+B,"$"].join("|")+")",x+"?"+B+"+"+E,x+"+"+I,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",_].join("|"),"g"),$=function(e,t,n){if(e=(0,r.Z)(e),void 0===(t=n?void 0:t)){var i;return(i=e,h.test(i))?e.match(M)||[]:e.match(u)||[]}return e.match(t)||[]},Z=RegExp("['’]","g"),A=(o=function(e,t,n){var i;return t=t.toLowerCase(),e+(n?(i=t,(0,s.Z)((0,r.Z)(i).toLowerCase())):t)},function(e){var t;return a($((t=e,(t=(0,r.Z)(t))&&t.replace(c,l).replace(d,"")).replace(Z,"")),o,"")})},23382:function(e,t,n){"use strict";var i=n(5842);t.Z=function(e){return(0,i.Z)(e,5)}},38487:function(e,t){"use strict";t.Z=function(e,t){return e===t||e!=e&&t!=t}},88710:function(e,t,n){"use strict";var i=n(73722);t.Z=function(e,t,n){var o=null==e?void 0:(0,i.Z)(e,t);return void 0===o?n:o}},94675:function(e,t){"use strict";t.Z=function(e){return e}},45988:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(65182),o=n(75887),r=function(e){return(0,o.Z)(e)&&"[object Arguments]"==(0,i.Z)(e)},s=Object.prototype,a=s.hasOwnProperty,l=s.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return(0,o.Z)(e)&&a.call(e,"callee")&&!l.call(e,"callee")}},31739:function(e,t){"use strict";var n=Array.isArray;t.Z=n},71581:function(e,t,n){"use strict";var i=n(18782),o=n(49666);t.Z=function(e){return null!=e&&(0,o.Z)(e.length)&&!(0,i.Z)(e)}},25162:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var i=n(52434),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof module&&module&&!module.nodeType&&module,s=r&&r.exports===o?i.Z.Buffer:void 0,a=(s?s.isBuffer:void 0)||function(){return!1}},18782:function(e,t,n){"use strict";var i=n(65182),o=n(58641);t.Z=function(e){if(!(0,o.Z)(e))return!1;var t=(0,i.Z)(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},49666:function(e,t){"use strict";t.Z=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},48366:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(65182),o=n(49666),r=n(75887),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;var a=n(44026),l=n(74413),c=l.Z&&l.Z.isTypedArray,d=c?(0,a.Z)(c):function(e){return(0,r.Z)(e)&&(0,o.Z)(e.length)&&!!s[(0,i.Z)(e)]}},40038:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var i=n(12895),o=n(58641),r=n(84342),s=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},a=Object.prototype.hasOwnProperty,l=function(e){if(!(0,o.Z)(e))return s(e);var t=(0,r.Z)(e),n=[];for(var i in e)"constructor"==i&&(t||!a.call(e,i))||n.push(i);return n},c=n(71581),d=function(e){return(0,c.Z)(e)?(0,i.Z)(e,!0):l(e)}},78671:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var i,o,r=n(11395),s=n(49790),a=n(38487),l=function(e,t,n){(void 0===n||(0,a.Z)(e[t],n))&&(void 0!==n||t in e)||(0,s.Z)(e,t,n)},c=function(e,t,n){for(var i=-1,o=Object(e),r=n(e),s=r.length;s--;){var a=r[++i];if(!1===t(o[a],a,o))break}return e},d=n(49307),u=n(32025),h=n(76177),p=n(12031),f=n(45988),m=n(31739),g=n(71581),y=n(75887),v=n(25162),b=n(18782),w=n(58641),C=n(66433),S=n(48366),k=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]},x=n(29919),B=n(40038),T=function(e,t,n,i,o,r,s){var a=k(e,n),c=k(t,n),T=s.get(c);if(T){l(e,n,T);return}var E=r?r(a,c,n+"",e,t,s):void 0,I=void 0===E;if(I){var D=(0,m.Z)(c),V=!D&&(0,v.Z)(c),N=!D&&!V&&(0,S.Z)(c);(E=c,D||V||N)?(0,m.Z)(a)?E=a:(0,y.Z)(a)&&(0,g.Z)(a)?E=(0,h.Z)(a):V?(I=!1,E=(0,d.Z)(c,!0)):N?(I=!1,E=(0,u.Z)(c,!0)):E=[]:(0,C.Z)(c)||(0,f.Z)(c)?(E=a,(0,f.Z)(a))?E=(0,x.Z)(a,(0,B.Z)(a)):(!(0,w.Z)(a)||(0,b.Z)(a))&&(E=(0,p.Z)(c)):I=!1}I&&(s.set(c,E),o(E,c,i,r,s),s.delete(c)),l(e,n,E)},E=function e(t,n,i,o,s){t!==n&&c(n,function(a,c){if(s||(s=new r.Z),(0,w.Z)(a))T(t,n,c,i,e,o,s);else{var d=o?o(k(t,c),a,c+"",t,n,s):void 0;void 0===d&&(d=a),l(t,c,d)}},B.Z)},I=n(94675),D=n(89647),V=n(83123),N=n(92383),_=function(e,t,n){if(!(0,w.Z)(n))return!1;var i=typeof t;return("number"==i?!!((0,g.Z)(n)&&(0,N.Z)(t,n.length)):"string"==i&&t in n)&&(0,a.Z)(n[t],e)},M=(i=function(e,t,n){E(e,t,n)},o=function(e,t){var n=-1,o=t.length,r=o>1?t[o-1]:void 0,s=o>2?t[2]:void 0;for(r=i.length>3&&"function"==typeof r?(o--,r):void 0,s&&_(t[0],t[1],s)&&(r=o<3?void 0:r,o=1),e=Object(e);++n<o;){var a=t[n];a&&i(e,a,n,r)}return e},(0,V.Z)((0,D.Z)(o,void 0,I.Z),o+""))},62968:function(e,t,n){"use strict";n.d(t,{Z:function(){return B}});var i,o=n(96248),r=n(5842),s=n(17731),a=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0},l=n(73722),c=n(29794),d=n(37706),u=function(e,t){var n,i;return t=(0,s.Z)(t,e),n=e,null==(e=(i=t).length<2?n:(0,l.Z)(n,(0,c.Z)(i,0,-1)))||delete e[d.Z(a(t))]},h=n(29919),p=n(66433),f=function(e){return(0,p.Z)(e)?void 0:e},m=n(293),g=n(3958),y=n(45988),v=n(31739),b=g.Z?g.Z.isConcatSpreadable:void 0,w=function(e){return(0,v.Z)(e)||(0,y.Z)(e)||!!(b&&e&&e[b])},C=function e(t,n,i,o,r){var s=-1,a=t.length;for(i||(i=w),r||(r=[]);++s<a;){var l=t[s];n>0&&i(l)?n>1?e(l,n-1,i,o,r):(0,m.Z)(r,l):o||(r[r.length]=l)}return r},S=n(89647),k=n(83123),x=n(78982),B=(i=function(e,t){var n={};if(null==e)return n;var i=!1;t=(0,o.Z)(t,function(t){return t=(0,s.Z)(t,e),i||(i=t.length>1),t}),(0,h.Z)(e,(0,x.Z)(e),n),i&&(n=(0,r.Z)(n,7,f));for(var a=t.length;a--;)u(n,t[a]);return n},(0,k.Z)((0,S.Z)(i,void 0,function(e){return(null==e?0:e.length)?C(e,1):[]}),i+""))},27e3:function(e,t){"use strict";t.Z=function(){return[]}},22501:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var i=n(3958),o=n(96248),r=n(31739),s=n(2147),a=1/0,l=i.Z?i.Z.prototype:void 0,c=l?l.toString:void 0,d=function e(t){if("string"==typeof t)return t;if((0,r.Z)(t))return(0,o.Z)(t,e)+"";if((0,s.Z)(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-a?"-0":n},u=function(e){return null==e?"":d(e)}},5664:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var i=n(29794),o=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:(0,i.Z)(e,t,n)},r=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),s=function(e){return r.test(e)},a="\ud800-\udfff",l="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",c="\ud83c[\udffb-\udfff]",d="[^"+a+"]",u="(?:\ud83c[\udde6-\uddff]){2}",h="[\ud800-\udbff][\udc00-\udfff]",p="(?:"+l+"|"+c+")?",f="[\\ufe0e\\ufe0f]?",m="(?:\\u200d(?:"+[d,u,h].join("|")+")"+f+p+")*",g=RegExp(c+"(?="+c+")|(?:"+[d+l+"?",l,u,h,"["+a+"]"].join("|")+")"+(f+p+m),"g"),y=n(22501),v=function(e){var t,n=s(e=(0,y.Z)(e))?s(t=e)?t.match(g)||[]:t.split(""):void 0,i=n?n[0]:e.charAt(0),r=n?o(n,1).join(""):e.slice(1);return i.toUpperCase()+r}}}]);