bi-element-ui 1.4.3 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bi-element-ui.common.js +54 -49
- package/lib/bi-element-ui.css +1 -1
- package/lib/bi-element-ui.umd.js +54 -49
- package/lib/bi-element-ui.umd.min.js +9 -9
- package/package.json +1 -1
- package/src/views/Layout.vue +1 -1
@@ -71,7 +71,7 @@ function t(e,t,n,r){var i={s:["थोडया सॅकंडांनी","थ
|
|
71
71
|
//! moment.js locale configuration
|
72
72
|
var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},4740:function(e,t,n){"use strict";var r=n("5595");e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},"488a":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},"48cd":function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
73
73
|
//! moment.js locale configuration
|
74
|
-
var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t}))},"495e":function(e,t,n){"use strict";n("dade")},4973:function(e,t,n){"use strict";n("7a32")},"4a17":function(e,t,n){var r=n("f152"),i=n("024e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"4cfd":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"4d33":function(e,t,n){"use strict";n("70a9")},"4eb3":function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
74
|
+
var t=e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}});return t}))},"495e":function(e,t,n){"use strict";n("dade")},4973:function(e,t,n){"use strict";n("7a32")},"4a17":function(e,t,n){var r=n("f152"),i=n("024e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},"4a19":function(e,t,n){},"4cfd":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"4d33":function(e,t,n){"use strict";n("70a9")},"4eb3":function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
75
75
|
//! moment.js locale configuration
|
76
76
|
var t=e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"4f9d":function(e,t,n){"use strict";var r,i=n("5f8c");
|
77
77
|
/**
|
@@ -158,7 +158,7 @@ var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n=
|
|
158
158
|
//! moment.js locale configuration
|
159
159
|
function t(e,t,n){var r={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"},i=" ";return(e%100>=20||e>=100&&e%100===0)&&(i=" de "),e+i+r[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n}))},5951:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
160
160
|
//! moment.js locale configuration
|
161
|
-
var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r}))},"59c8":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var i=!1,o=function(){i||(i=!0,t&&t.apply(null,arguments))};r?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},"5aa4":function(e,t,n){},"5ba5":function(e,t,n){var r=n("4cfd"),i=n("071d");e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),l=r(n),u=a.length;return l<0||l>=u?e?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):o:e?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}}},"5bc9":function(e,t,n){"use strict";t.__esModule=!0;var r=n("8bbf"),i=s(r),o=n("054e");function s(e){return e&&e.__esModule?e:{default:e}}var a=[],l="@@clickoutsideContext",u=void 0,c=0;function d(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[l].methodName&&n.context[e[l].methodName]?n.context[e[l].methodName]():e[l].bindingFn&&e[l].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return u=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){a.forEach((function(t){return t[l].documentHandler(e,u)}))})),t.default={bind:function(e,t,n){a.push(e);var r=c++;e[l]={id:r,documentHandler:d(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[l].documentHandler=d(e,t,n),e[l].methodName=t.expression,e[l].bindingFn=t.value},unbind:function(e){for(var t=a.length,n=0;n<t;n++)if(a[n][l].id===e[l].id){a.splice(n,1);break}delete e[l]}}},"5d15":function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
161
|
+
var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),r=e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return r}))},"59c8":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var i=!1,o=function(){i||(i=!0,t&&t.apply(null,arguments))};r?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},"5aa4":function(e,t,n){},"5ba5":function(e,t,n){var r=n("4cfd"),i=n("071d");e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),l=r(n),u=a.length;return l<0||l>=u?e?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):o:e?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}}},"5bc9":function(e,t,n){"use strict";t.__esModule=!0;var r=n("8bbf"),i=s(r),o=n("054e");function s(e){return e&&e.__esModule?e:{default:e}}var a=[],l="@@clickoutsideContext",u=void 0,c=0;function d(e,t,n){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&r.target&&i.target)||e.contains(r.target)||e.contains(i.target)||e===r.target||n.context.popperElm&&(n.context.popperElm.contains(r.target)||n.context.popperElm.contains(i.target))||(t.expression&&e[l].methodName&&n.context[e[l].methodName]?n.context[e[l].methodName]():e[l].bindingFn&&e[l].bindingFn())}}!i.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return u=e})),!i.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){a.forEach((function(t){return t[l].documentHandler(e,u)}))})),t.default={bind:function(e,t,n){a.push(e);var r=c++;e[l]={id:r,documentHandler:d(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[l].documentHandler=d(e,t,n),e[l].methodName=t.expression,e[l].bindingFn=t.value},unbind:function(e){for(var t=a.length,n=0;n<t;n++)if(a[n][l].id===e[l].id){a.splice(n,1);break}delete e[l]}}},"5ccc":function(e,t,n){"use strict";n("d073")},"5d15":function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
162
162
|
//! moment.js locale configuration
|
163
163
|
var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,i=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],o=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return o}))},"5d93":function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
164
164
|
//! moment.js locale configuration
|
@@ -217,7 +217,7 @@ function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iter
|
|
217
217
|
*/
|
218
218
|
(function(t,n){e.exports=n()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),i=n(18),o=n(19),s=n(45),a=n(46),l=n(47),u=n(48),c=n(49),d=n(12),h=n(32),f=n(33),p=n(31),m=n(1),y={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:r.default,Format:i.default,Leaf:o.default,Embed:u.default,Scroll:s.default,Block:l.default,Inline:a.default,Text:c.default,Attributor:{Attribute:d.default,Class:h.default,Style:f.default,Store:p.default}};t.default=y},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,n=e.call(this,t)||this,n.message=t,n.name=n.constructor.name,n}return r(t,e),t}(Error);t.ParchmentError=i;var o,s={},a={},l={},u={};function c(e,t){var n=h(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e["nodeType"]===Node.TEXT_NODE?e:r.create(t);return new r(o,t)}function d(e,n){return void 0===n&&(n=!1),null==e?null:null!=e[t.DATA_KEY]?e[t.DATA_KEY].blot:n?d(e.parentNode,n):null}function h(e,t){var n;if(void 0===t&&(t=o.ANY),"string"===typeof e)n=u[e]||s[e];else if(e instanceof Text||e["nodeType"]===Node.TEXT_NODE)n=u["text"];else if("number"===typeof e)e&o.LEVEL&o.BLOCK?n=u["block"]:e&o.LEVEL&o.INLINE&&(n=u["inline"]);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var i in r)if(n=a[r[i]],n)break;n=n||l[e.tagName]}return null==n?null:t&o.LEVEL&n.scope&&t&o.TYPE&n.scope?n:null}function f(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(e.length>1)return e.map((function(e){return f(e)}));var n=e[0];if("string"!==typeof n.blotName&&"string"!==typeof n.attrName)throw new i("Invalid definition");if("abstract"===n.blotName)throw new i("Cannot register abstract class");if(u[n.blotName||n.attrName]=n,"string"===typeof n.keyName)s[n.keyName]=n;else if(null!=n.className&&(a[n.className]=n),null!=n.tagName){Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(e){return e.toUpperCase()})):n.tagName=n.tagName.toUpperCase();var r=Array.isArray(n.tagName)?n.tagName:[n.tagName];r.forEach((function(e){null!=l[e]&&null!=n.className||(l[e]=n)}))}return n}t.DATA_KEY="__blot",function(e){e[e["TYPE"]=3]="TYPE",e[e["LEVEL"]=12]="LEVEL",e[e["ATTRIBUTE"]=13]="ATTRIBUTE",e[e["BLOT"]=14]="BLOT",e[e["INLINE"]=7]="INLINE",e[e["BLOCK"]=11]="BLOCK",e[e["BLOCK_BLOT"]=10]="BLOCK_BLOT",e[e["INLINE_BLOT"]=6]="INLINE_BLOT",e[e["BLOCK_ATTRIBUTE"]=9]="BLOCK_ATTRIBUTE",e[e["INLINE_ATTRIBUTE"]=5]="INLINE_ATTRIBUTE",e[e["ANY"]=15]="ANY"}(o=t.Scope||(t.Scope={})),t.create=c,t.find=d,t.query=h,t.register=f},function(e,t,n){var r=n(51),i=n(11),o=n(3),s=n(20),a=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype["delete"]=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=o(!0,{},e),"object"===typeof n){if("number"===typeof e["delete"]&&"number"===typeof n["delete"])return this.ops[t-1]={delete:n["delete"]+e["delete"]},this;if("number"===typeof n["delete"]&&null!=e.insert&&(t-=1,n=this.ops[t-1],"object"!==typeof n))return this.ops.unshift(e),this;if(i(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){var i=e(r)?t:n;i.push(r)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+s.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+s.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!==typeof t&&(t=1/0);var n=[],r=s.iterator(this.ops),i=0;while(i<t&&r.hasNext()){var o;i<e?o=r.next(e-i):(o=r.next(t-i),n.push(o)),i+=s.length(o)}return new l(n)},l.prototype.compose=function(e){var t=s.iterator(this.ops),n=s.iterator(e.ops),r=[],o=n.peek();if(null!=o&&"number"===typeof o.retain&&null==o.attributes){var a=o.retain;while("insert"===t.peekType()&&t.peekLength()<=a)a-=t.peekLength(),r.push(t.next());o.retain-a>0&&n.next(o.retain-a)}var u=new l(r);while(t.hasNext()||n.hasNext())if("insert"===n.peekType())u.push(n.next());else if("delete"===t.peekType())u.push(t.next());else{var c=Math.min(t.peekLength(),n.peekLength()),d=t.next(c),h=n.next(c);if("number"===typeof h.retain){var f={};"number"===typeof d.retain?f.retain=c:f.insert=d.insert;var p=s.attributes.compose(d.attributes,h.attributes,"number"===typeof d.retain);if(p&&(f.attributes=p),u.push(f),!n.hasNext()&&i(u.ops[u.ops.length-1],f)){var m=new l(t.rest());return u.concat(m).chop()}}else"number"===typeof h["delete"]&&"number"===typeof d.retain&&u.push(h)}return u.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:a;var r=t===e?"on":"with";throw new Error("diff() called "+r+" non-document")})).join("")})),o=new l,u=r(n[0],n[1],t),c=s.iterator(this.ops),d=s.iterator(e.ops);return u.forEach((function(e){var t=e[1].length;while(t>0){var n=0;switch(e[0]){case r.INSERT:n=Math.min(d.peekLength(),t),o.push(d.next(n));break;case r.DELETE:n=Math.min(t,c.peekLength()),c.next(n),o["delete"](n);break;case r.EQUAL:n=Math.min(c.peekLength(),d.peekLength(),t);var a=c.next(n),l=d.next(n);i(a.insert,l.insert)?o.retain(n,s.attributes.diff(a.attributes,l.attributes)):o.push(l)["delete"](n);break}t-=n}})),o.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";var n=s.iterator(this.ops),r=new l,i=0;while(n.hasNext()){if("insert"!==n.peekType())return;var o=n.peek(),a=s.length(o)-n.peekLength(),u="string"===typeof o.insert?o.insert.indexOf(t,a)-a:-1;if(u<0)r.push(n.next());else if(u>0)r.push(n.next(u));else{if(!1===e(r,n.next(1).attributes||{},i))return;i+=1,r=new l}}r.length()>0&&e(r,{},i)},l.prototype.transform=function(e,t){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);var n=s.iterator(this.ops),r=s.iterator(e.ops),i=new l;while(n.hasNext()||r.hasNext())if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())i.push(r.next());else{var o=Math.min(n.peekLength(),r.peekLength()),a=n.next(o),u=r.next(o);if(a["delete"])continue;u["delete"]?i.push(u):i.retain(o,s.attributes.transform(a.attributes,u.attributes,t))}else i.retain(s.length(n.next()));return i.chop()},l.prototype.transformPosition=function(e,t){t=!!t;var n=s.iterator(this.ops),r=0;while(n.hasNext()&&r<=e){var i=n.peekLength(),o=n.peekType();n.next(),"delete"!==o?("insert"===o&&(r<e||!t)&&(e+=i),r+=i):e-=Math.min(i,e-r)}return e},e.exports=l},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},a=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,i=n.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(t in e);return"undefined"===typeof t||n.call(e,t)},l=function(e,t){i&&"__proto__"===t.name?i(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var t,n,r,i,o,c,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"===typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});h<f;++h)if(t=arguments[h],null!=t)for(n in t)r=u(d,n),i=u(t,n),d!==i&&(p&&i&&(a(i)||(o=s(i)))?(o?(o=!1,c=r&&s(r)?r:[]):c=r&&a(r)?r:{},l(d,{name:n,newValue:e(p,c,i)})):"undefined"!==typeof i&&l(d,{name:n,newValue:i}));return d}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(3),s=g(o),a=n(2),l=g(a),u=n(0),c=g(u),d=n(16),h=g(d),f=n(6),p=g(f),m=n(7),y=g(m);function g(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function _(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var w=1,x=function(e){function t(){return b(this,t),v(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return _(t,e),r(t,[{key:"attach",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new c.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new l.default).insert(this.value(),(0,s.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=c.default.query(e,c.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,r){this.format(n,r)}},{key:"insertAt",value:function(e,n,r){if("string"===typeof n&&n.endsWith("\n")){var o=c.default.create(k.blotName);this.parent.insertBefore(o,0===e?this:this.next),o.insertAt(0,n.slice(0,-1))}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r)}}]),t}(c.default.Embed);x.scope=c.default.Scope.BLOCK_BLOT;var k=function(e){function t(e){b(this,t);var n=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return _(t,e),r(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(c.default.Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),S(t))}),new l.default).insert("\n",S(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,r,o){n<=0||(c.default.query(r,c.default.Scope.BLOCK)?e+n===this.length()&&this.format(r,o):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),r,o),this.cache={})}},{key:"insertAt",value:function(e,n,r){if(null!=r)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);if(0!==n.length){var o=n.split("\n"),s=o.shift();s.length>0&&(e<this.length()-1||null==this.children.tail?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),s):this.children.tail.insertAt(this.children.tail.length(),s),this.cache={});var a=this;o.reduce((function(e,t){return a=a.split(e,!0),a.insertAt(0,t),t.length}),e+s.length)}}},{key:"insertBefore",value:function(e,n){var r=this.children.head;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),r instanceof h.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+w),this.cache.length}},{key:"moveChildren",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-w)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var o=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},o}}]),t}(c.default.Block);function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"===typeof e.formats&&(t=(0,s.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:S(e.parent,t))}k.blotName="block",k.tagName="P",k.defaultChild="break",k.allowedChildren=[p.default,c.default.Embed,y.default],t.bubbleFormats=S,t.BlockEmbed=x,t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var r="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},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n(50);var s=n(2),a=S(s),l=n(14),u=S(l),c=n(8),d=S(c),h=n(9),f=S(h),p=n(0),m=S(p),y=n(15),g=S(y),b=n(3),v=S(b),_=n(10),w=S(_),x=n(34),k=S(x);function S(e){return e&&e.__esModule?e:{default:e}}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var T=(0,w.default)("quill"),C=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(j(this,e),this.options=O(t,r),this.container=this.options.container,null==this.container)return T.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var i=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new d.default,this.scroll=m.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new u.default(this.scroll),this.selection=new g.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(d.default.events.EDITOR_CHANGE,(function(e){e===d.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(d.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,i=r&&0===r.length?r.index:void 0;D.call(n,(function(){return n.editor.update(null,t,i)}),e)}));var o=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+i+"<p><br></p></div>");this.setContents(o),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return o(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),w.default.level(e)}},{key:"find",value:function(e){return e.__quill||m.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&T.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var i=e.attrName||e.blotName;"string"===typeof i?this.register("formats/"+i,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||T.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?m.default.register(t):e.startsWith("modules")&&"function"===typeof t.register&&t.register()}}]),o(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;e=document.createElement("div"),e.classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,o=L(e,t,n),s=i(o,4);return e=s[0],t=s[1],n=s[3],D.call(this,(function(){return r.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d.default.sources.API;return D.call(this,(function(){var r=n.getSelection(!0),i=new a.default;if(null==r)return i;if(m.default.query(e,m.default.Scope.BLOCK))i=n.editor.formatLine(r.index,r.length,M({},e,t));else{if(0===r.length)return n.selection.format(e,t),i;i=n.editor.formatText(r.index,r.length,M({},e,t))}return n.setSelection(r,d.default.sources.SILENT),i}),r)}},{key:"formatLine",value:function(e,t,n,r,o){var s=this,a=void 0,l=L(e,t,n,r,o),u=i(l,4);return e=u[0],t=u[1],a=u[2],o=u[3],D.call(this,(function(){return s.editor.formatLine(e,t,a)}),o,e,0)}},{key:"formatText",value:function(e,t,n,r,o){var s=this,a=void 0,l=L(e,t,n,r,o),u=i(l,4);return e=u[0],t=u[1],a=u[2],o=u[3],D.call(this,(function(){return s.editor.formatText(e,t,a)}),o,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=L(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=L(e,t),r=i(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return D.call(this,(function(){return i.editor.insertEmbed(t,n,r)}),o,t)}},{key:"insertText",value:function(e,t,n,r,o){var s=this,a=void 0,l=L(e,0,n,r,o),u=i(l,4);return e=u[0],a=u[2],o=u[3],D.call(this,(function(){return s.editor.insertText(e,t,a)}),o,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,o=L(e,t,n),s=i(o,4);return e=s[0],t=s[1],n=s[3],D.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API;return D.call(this,(function(){e=new a.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),i=t.editor.applyDelta(e),o=i.ops[i.ops.length-1];null!=o&&"string"===typeof o.insert&&"\n"===o.insert[o.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),i.delete(1));var s=r.compose(i);return s}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var o=L(t,n,r),s=i(o,4);t=s[0],n=s[1],r=s[3],this.selection.setRange(new y.Range(t,n),r),r!==d.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API,n=(new a.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.default.sources.API;return D.call(this,(function(){return e=new a.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function O(e,t){if(t=(0,v.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t),t.theme&&t.theme!==C.DEFAULTS.theme){if(t.theme=C.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=k.default;var n=(0,v.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)),i=r.reduce((function(e,t){var n=C.import("modules/"+t);return null==n?T.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,v.default)(!0,{},C.DEFAULTS,{modules:i},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function D(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===d.default.sources.USER)return new a.default;var i=null==n?null:this.getSelection(),o=this.editor.delta,s=e();if(null!=i&&(!0===n&&(n=i.index),null==r?i=E(i,s,t):0!==r&&(i=E(i,n,r,t)),this.setSelection(i,d.default.sources.SILENT)),s.length()>0){var l,u,c=[d.default.events.TEXT_CHANGE,s,o,t];if((l=this.emitter).emit.apply(l,[d.default.events.EDITOR_CHANGE].concat(c)),t!==d.default.sources.SILENT)(u=this.emitter).emit.apply(u,c)}return s}function L(e,t,n,i,o){var s={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(o=i,i=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(o=i,i=n,n=t,t=0),"object"===("undefined"===typeof n?"undefined":r(n))?(s=n,o=i):"string"===typeof n&&(null!=i?s[n]=i:o=n),o=o||d.default.sources.API,[e,t,s,o]}function E(e,t,n,r){if(null==e)return null;var o=void 0,s=void 0;if(t instanceof a.default){var l=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==d.default.sources.USER)})),u=i(l,2);o=u[0],s=u[1]}else{var c=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&r===d.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),h=i(c,2);o=h[0],s=h[1]}return new y.Range(o,s-o)}C.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},C.events=d.default.events,C.sources=d.default.sources,C.version="1.3.7",C.imports={delta:a.default,parchment:m.default,"core/module":f.default,"core/theme":k.default},t.expandConfig=O,t.overload=L,t.default=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(7),s=u(o),a=n(0),l=u(a);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=function(e){function t(){return c(this,t),d(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),r(t,[{key:"formatAt",value:function(e,n,r,o){if(t.compare(this.statics.blotName,r)<0&&l.default.query(r,l.default.Scope.BLOT)){var s=this.isolate(e,n);o&&s.wrap(r,o)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,o)}},{key:"optimize",value:function(e){if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),i=t.order.indexOf(n);return r>=0||i>=0?r-i:e===n?0:e<n?-1:1}}]),t}(l.default.Inline);f.allowedChildren=[f,l.default.Embed,s.default],f.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return s(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default.Text);t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(54),s=u(o),a=n(10),l=u(a);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f=(0,l.default)("quill:events"),p=["selectionchange","mousedown","mouseup","click"];p.forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var m=function(e){function t(){c(this,t);var e=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.listeners={},e.on("error",f.error),e}return h(t,e),r(t,[{key:"emit",value:function(){f.log.apply(f,arguments),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(this.listeners[e.type]||[]).forEach((function(t){var r=t.node,i=t.handler;(e.target===r||r.contains(e.target))&&i.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(s.default);m.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},m.sources={API:"api",SILENT:"silent",USER:"user"},t.default=m},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};i.DEFAULTS={},t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],i="warn";function o(e){if(r.indexOf(e)<=r.indexOf(i)){for(var t,n=arguments.length,o=Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];(t=console)[e].apply(t,o)}}function s(e){return r.reduce((function(t,n){return t[n]=o.bind(console,n,e),t}),{})}o.level=s.level=function(e){i=e},t.default=s},function(e,t,n){var r=Array.prototype.slice,i=n(52),o=n(53),s=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:u(e,t,n))};function a(e){return null===e||void 0===e}function l(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&("function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0]))}function u(e,t,n){var u,c;if(a(e)||a(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e))return!!o(t)&&(e=r.call(e),t=r.call(t),s(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(u=0;u<e.length;u++)if(e[u]!==t[u])return!1;return!0}try{var d=i(e),h=i(t)}catch(f){return!1}if(d.length!=h.length)return!1;for(d.sort(),h.sort(),u=d.length-1;u>=0;u--)if(d[u]!=h[u])return!1;for(u=d.length-1;u>=0;u--)if(c=d[u],!s(e[c],t[c],n))return!1;return typeof e===typeof t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var i=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|i:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){var n=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE));return null!=n&&(null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},s=n(2),a=y(s),l=n(0),u=y(l),c=n(4),d=y(c),h=n(6),f=y(h),p=n(7),m=y(p);function y(e){return e&&e.__esModule?e:{default:e}}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _=function(e){function t(){return g(this,t),b(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return v(t,e),t}(f.default);_.blotName="code",_.tagName="CODE";var w=function(e){function t(){return g(this,t),b(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return v(t,e),i(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce((function(t,n){return t.insert(n).insert("\n",e.formats())}),new a.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var i=this.descendant(m.default,this.length()-1),s=r(i,1),a=s[0];null!=a&&a.deleteAt(a.length()-1,1),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,r,i){if(0!==n&&null!=u.default.query(r,u.default.Scope.BLOCK)&&(r!==this.statics.blotName||i!==this.statics.formats(this.domNode))){var o=this.newlineIndex(e);if(!(o<0||o>=e+n)){var s=this.newlineIndex(e,!0)+1,a=o-s+1,l=this.isolate(s,a),c=l.next;l.format(r,i),c instanceof t&&c.formatAt(0,e-s+n-a,r,i)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var i=this.descendant(m.default,e),o=r(i,2),s=o[0],a=o[1];s.insertAt(a,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(u.default.create("text","\n")),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=u.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof u.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(d.default);w.blotName="code-block",w.tagName="PRE",w.TAB=" ",t.Code=_,t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(2),a=j(s),l=n(20),u=j(l),c=n(0),d=j(c),h=n(13),f=j(h),p=n(24),m=j(p),y=n(4),g=j(y),b=n(16),v=j(b),_=n(21),w=j(_),x=n(11),k=j(x),S=n(3),M=j(S);function j(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var O=/^[ -~]*$/,D=function(){function e(t){C(this,e),this.scroll=t,this.delta=this.getDelta()}return o(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var o=this.scroll.length();return this.scroll.batchStart(),e=E(e),e.reduce((function(e,s){var a=s.retain||s.delete||s.insert.length||1,l=s.attributes||{};if(null!=s.insert){if("string"===typeof s.insert){var c=s.insert;c.endsWith("\n")&&n&&(n=!1,c=c.slice(0,-1)),e>=o&&!c.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,c);var h=t.scroll.line(e),f=i(h,2),p=f[0],m=f[1],b=(0,M.default)({},(0,y.bubbleFormats)(p));if(p instanceof g.default){var v=p.descendant(d.default.Leaf,m),_=i(v,1),w=_[0];b=(0,M.default)(b,(0,y.bubbleFormats)(w))}l=u.default.attributes.diff(b,l)||{}}else if("object"===r(s.insert)){var x=Object.keys(s.insert)[0];if(null==x)return e;t.scroll.insertAt(e,x,s.insert[x])}o+=a}return Object.keys(l).forEach((function(n){t.scroll.formatAt(e,a,n,l[n])})),e+a}),0),e.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new a.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(i){if(null==n.scroll.whitelist||n.scroll.whitelist[i]){var o=n.scroll.lines(e,Math.max(t,1)),s=t;o.forEach((function(t){var o=t.length();if(t instanceof f.default){var a=e-t.offset(n.scroll),l=t.newlineIndex(a+s)-a+1;t.formatAt(a,l,i,r[i])}else t.format(i,r[i]);s-=o}))}})),this.scroll.optimize(),this.update((new a.default).retain(e).retain(t,(0,w.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t,i,r[i])})),this.update((new a.default).retain(e).retain(t,(0,w.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new a.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=i(e,1),o=t[0];o instanceof g.default?n.push(o):o instanceof d.default.Leaf&&r.push(o)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(d.default.Leaf,e,t));var o=[n,r].map((function(e){if(0===e.length)return{};var t=(0,y.bubbleFormats)(e.shift());while(Object.keys(t).length>0){var n=e.shift();if(null==n)return t;t=L((0,y.bubbleFormats)(n),t)}return t}));return M.default.apply(M.default,o)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new a.default).retain(e).insert(T({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach((function(i){n.scroll.formatAt(e,t.length,i,r[i])})),this.update((new a.default).retain(e).insert(t,(0,w.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===g.default.blotName&&(!(e.children.length>1)&&e.children.head instanceof v.default)}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),o=i(r,2),s=o[0],l=o[1],u=0,c=new a.default;null!=s&&(u=s instanceof f.default?s.newlineIndex(l)-l+1:s.length()-l,c=s.delta().slice(l,l+u-1).insert("\n"));var d=this.getContents(e,t+u),h=d.diff((new a.default).insert(n).concat(c)),p=(new a.default).retain(e).concat(h);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(O)&&d.default.find(t[0].target)){var i=d.default.find(t[0].target),o=(0,y.bubbleFormats)(i),s=i.offset(this.scroll),l=t[0].oldValue.replace(m.default.CONTENTS,""),u=(new a.default).insert(l),c=(new a.default).insert(i.value()),h=(new a.default).retain(s).concat(u.diff(c,n));e=h.reduce((function(e,t){return t.insert?e.insert(t.insert,o):e.push(t)}),new a.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,k.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function L(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}function E(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,w.default)(t.attributes);return delete n["image"],e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||(t=(0,w.default)(t),t.attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"===typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new a.default)}t.default=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(0),s=m(o),a=n(21),l=m(a),u=n(11),c=m(u),d=n(8),h=m(d),f=n(10),p=m(f);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var b=(0,p.default)("quill:selection"),v=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;g(this,e),this.index=t,this.length=n},_=function(){function e(t,n){var r=this;g(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=s.default.create("cursor",this),this.lastRange=this.savedRange=new v(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,h.default.sources.USER),1)})),this.emitter.on(h.default.events.EDITOR_CHANGE,(function(e,t){e===h.default.events.TEXT_CHANGE&&t.length()>0&&r.update(h.default.sources.SILENT)})),this.emitter.on(h.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(h.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(h.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,i=n.startNode,o=n.startOffset,s=n.endNode,a=n.endOffset;r.setNativeRange(i,o,s,a)}})),this.update(h.default.sources.SILENT)}return i(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(h.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!s.default.query(e,s.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=s.default.find(n.start.node,!1);if(null==r)return;if(r instanceof s.default.Leaf){var i=r.split(n.start.offset);r.parent.insertBefore(this.cursor,i)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var i=void 0,o=this.scroll.leaf(e),s=r(o,2),a=s[0],l=s[1];if(null==a)return null;var u=a.position(l,!0),c=r(u,2);i=c[0],l=c[1];var d=document.createRange();if(t>0){d.setStart(i,l);var h=this.scroll.leaf(e+t),f=r(h,2);if(a=f[0],l=f[1],null==a)return null;var p=a.position(l,!0),m=r(p,2);return i=m[0],l=m[1],d.setEnd(i,l),d.getBoundingClientRect()}var y="left",g=void 0;return i instanceof Text?(l<i.data.length?(d.setStart(i,l),d.setEnd(i,l+1)):(d.setStart(i,l-1),d.setEnd(i,l),y="right"),g=d.getBoundingClientRect()):(g=a.domNode.getBoundingClientRect(),l>0&&(y="right")),{bottom:g.top+g.height,height:g.height,left:g[y],right:g[y],top:g.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return b.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();if(null==e)return[null,null];var t=this.normalizedToRange(e);return[t,e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var i=n.map((function(e){var n=r(e,2),i=n[0],o=n[1],a=s.default.find(i,!0),l=a.offset(t.scroll);return 0===o?l:a instanceof s.default.Container?l+a.length():l+a.index(i,o)})),o=Math.min(Math.max.apply(Math,y(i)),this.scroll.length()-1),a=Math.min.apply(Math,[o].concat(y(i)));return new v(a,o-a)}},{key:"normalizeNative",value:function(e){if(!w(this.root,e.startContainer)||!e.collapsed&&!w(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){var t=e.node,n=e.offset;while(!(t instanceof Text)&&t.childNodes.length>0)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;t=t.lastChild,n=t instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],i=[],o=this.scroll.length();return n.forEach((function(e,n){e=Math.min(o-1,e);var s=void 0,a=t.scroll.leaf(e),l=r(a,2),u=l[0],c=l[1],d=u.position(c,0!==n),h=r(d,2);s=h[0],c=h[1],i.push(s,c)})),i.length<2&&(i=i.concat(i)),i}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var i=this.scroll.length()-1,o=this.scroll.line(Math.min(t.index,i)),s=r(o,1),a=s[0],l=a;if(t.length>0){var u=this.scroll.line(Math.min(t.index+t.length,i)),c=r(u,1);l=c[0]}if(null!=a&&null!=l){var d=e.getBoundingClientRect();n.top<d.top?e.scrollTop-=d.top-n.top:n.bottom>d.bottom&&(e.scrollTop+=n.bottom-d.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(b.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var o=document.getSelection();if(null!=o)if(null!=e){this.hasFocus()||this.root.focus();var s=(this.getNativeRange()||{}).native;if(null==s||i||e!==s.startContainer||t!==s.startOffset||n!==s.endContainer||r!==s.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var a=document.createRange();a.setStart(e,t),a.setEnd(n,r),o.removeAllRanges(),o.addRange(a)}}else o.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h.default.sources.API;if("string"===typeof t&&(n=t,t=!1),b.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,y(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h.default.sources.USER,t=this.lastRange,n=this.getRange(),i=r(n,2),o=i[0],s=i[1];if(this.lastRange=o,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,c.default)(t,this.lastRange)){var a;!this.composing&&null!=s&&s.native.collapsed&&s.start.node!==this.cursor.textNode&&this.cursor.restore();var u,d=[h.default.events.SELECTION_CHANGE,(0,l.default)(this.lastRange),(0,l.default)(t),e];if((a=this.emitter).emit.apply(a,[h.default.events.EDITOR_CHANGE].concat(d)),e!==h.default.sources.SILENT)(u=this.emitter).emit.apply(u,d)}}}]),e}();function w(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=v,t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(0),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(s.default.Embed);d.blotName="break",d.tagName="BR",t.default=d},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),o=n(30),s=n(1),a=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return r(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.build=function(){var e=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=l(t);e.insertBefore(n,e.children.head||void 0)}catch(r){if(r instanceof s.ParchmentError)return;throw r}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var r=this.children.find(n),i=r[0],o=r[1];return null==e.blotName&&e(i)||null!=e.blotName&&i instanceof e?[i,o]:i instanceof t?i.descendant(e,o):[null,-1]},t.prototype.descendants=function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var i=[],o=r;return this.children.forEachAt(n,r,(function(n,r,s){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&i.push(n),n instanceof t&&(i=i.concat(n.descendants(e,r,o))),o-=s})),i},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,r){this.children.forEachAt(e,t,(function(e,t,i){e.formatAt(t,i,n,r)}))},t.prototype.insertAt=function(e,t,n){var r=this.children.find(e),i=r[0],o=r[1];if(i)i.insertAt(o,t,n);else{var a=null==n?s.create("text",t):s.create(t,n);this.appendChild(a)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new s.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var r=this.children.find(e,n),i=r[0],o=r[1],s=[[this,e]];return i instanceof t?s.concat(i.path(o,n)):(null!=i&&s.push([i,o]),s)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,r,i){e=e.split(r,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,r=[],i=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(r.push.apply(r,e.addedNodes),i.push.apply(i,e.removedNodes))})),i.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=s.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),r.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=s.find(e.nextSibling));var r=l(e);r.next==t&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,t||void 0))}))},t}(o.default);function l(e){var t=s.find(e);if(null==t)try{t=s.create(e)}catch(n){t=s.create(s.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),o=n(31),s=n(17),a=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new o.default(n.domNode),n}return r(t,e),t.formats=function(e){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=a.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var r=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(r),r},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===r.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,r){var i=e.prototype.wrap.call(this,n,r);return i instanceof t&&i.statics.scope===this.statics.scope&&this.attributes.move(i),i},t}(s.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(30),o=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return e={},e[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){var r=n(11),i=n(3),o={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var r=i(!0,{},t);for(var o in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[o]&&void 0===t[o]&&(r[o]=e[o]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,i){return r(e[i],t[i])||(n[i]=void 0===t[i]?null:t[i]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new s(e)},length:function(e){return"number"===typeof e["delete"]?e["delete"]:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function s(e){this.ops=e,this.index=0,this.offset=0}s.prototype.hasNext=function(){return this.peekLength()<1/0},s.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=o.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t["delete"])return{delete:e};var i={};return t.attributes&&(i.attributes=t.attributes),"number"===typeof t.retain?i.retain=e:"string"===typeof t.insert?i.insert=t.insert.substr(n,e):i.insert=t.insert,i}return{retain:1/0}},s.prototype.peek=function(){return this.ops[this.index]},s.prototype.peekLength=function(){return this.ops[this.index]?o.length(this.ops[this.index])-this.offset:1/0},s.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index]["delete"]?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},s.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=o},function(e,n){var r=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var n,r,i;try{n=Map}catch(d){n=function(){}}try{r=Set}catch(d){r=function(){}}try{i=Promise}catch(d){i=function(){}}function o(s,a,l,u,d){"object"===typeof a&&(l=a.depth,u=a.prototype,d=a.includeNonEnumerable,a=a.circular);var h=[],f=[],p="undefined"!=typeof t;function m(s,l){if(null===s)return null;if(0===l)return s;var y,g;if("object"!=typeof s)return s;if(e(s,n))y=new n;else if(e(s,r))y=new r;else if(e(s,i))y=new i((function(e,t){s.then((function(t){e(m(t,l-1))}),(function(e){t(m(e,l-1))}))}));else if(o.__isArray(s))y=[];else if(o.__isRegExp(s))y=new RegExp(s.source,c(s)),s.lastIndex&&(y.lastIndex=s.lastIndex);else if(o.__isDate(s))y=new Date(s.getTime());else{if(p&&t.isBuffer(s))return y=t.allocUnsafe?t.allocUnsafe(s.length):new t(s.length),s.copy(y),y;e(s,Error)?y=Object.create(s):"undefined"==typeof u?(g=Object.getPrototypeOf(s),y=Object.create(g)):(y=Object.create(u),g=u)}if(a){var b=h.indexOf(s);if(-1!=b)return f[b];h.push(s),f.push(y)}for(var v in e(s,n)&&s.forEach((function(e,t){var n=m(t,l-1),r=m(e,l-1);y.set(n,r)})),e(s,r)&&s.forEach((function(e){var t=m(e,l-1);y.add(t)})),s){var _;g&&(_=Object.getOwnPropertyDescriptor(g,v)),_&&null==_.set||(y[v]=m(s[v],l-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(s);for(v=0;v<w.length;v++){var x=w[v],k=Object.getOwnPropertyDescriptor(s,x);(!k||k.enumerable||d)&&(y[x]=m(s[x],l-1),k.enumerable||Object.defineProperty(y,x,{enumerable:!1}))}}if(d){var S=Object.getOwnPropertyNames(s);for(v=0;v<S.length;v++){var M=S[v];k=Object.getOwnPropertyDescriptor(s,M);k&&k.enumerable||(y[M]=m(s[M],l-1),Object.defineProperty(y,M,{enumerable:!1}))}}return y}return"undefined"==typeof a&&(a=!0),"undefined"==typeof l&&(l=1/0),m(s,l)}function s(e){return Object.prototype.toString.call(e)}function a(e){return"object"===typeof e&&"[object Date]"===s(e)}function l(e){return"object"===typeof e&&"[object Array]"===s(e)}function u(e){return"object"===typeof e&&"[object RegExp]"===s(e)}function c(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=s,o.__isDate=a,o.__isArray=l,o.__isRegExp=u,o.__getRegExpFlags=c,o}();"object"===typeof e&&e.exports&&(e.exports=r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},s=n(0),a=b(s),l=n(8),u=b(l),c=n(4),d=b(c),h=n(16),f=b(h),p=n(13),m=b(p),y=n(25),g=b(y);function b(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function w(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function x(e){return e instanceof d.default||e instanceof c.BlockEmbed}var k=function(e){function t(e,n){v(this,t);var r=_(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),r.domNode.addEventListener("DOMNodeInserted",(function(){})),r.optimize(),r.enable(),r}return w(t,e),i(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var i=this.line(e),s=r(i,2),a=s[0],l=s[1],u=this.line(e+n),d=r(u,1),h=d[0];if(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=h&&a!==h&&l>0){if(a instanceof c.BlockEmbed||h instanceof c.BlockEmbed)return void this.optimize();if(a instanceof m.default){var p=a.newlineIndex(a.length(),!0);if(p>-1&&(a=a.split(p+1),a===h))return void this.optimize()}else if(h instanceof m.default){var y=h.newlineIndex(0);y>-1&&h.split(y+1)}var g=h.children.head instanceof f.default?null:h.children.head;a.moveChildren(h,g),a.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,i){(null==this.whitelist||this.whitelist[r])&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==a.default.query(n,a.default.Scope.BLOCK)){var i=a.default.create(this.statics.defaultChild);this.appendChild(i),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),i.insertAt(0,n,r)}else{var s=a.default.create(n,r);this.appendChild(s)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===a.default.Scope.INLINE_BLOT){var r=a.default.create(this.statics.defaultChild);r.appendChild(e),e=r}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(x,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var i=[],o=r;return t.children.forEachAt(n,r,(function(t,n,r){x(t)?i.push(t):t instanceof a.default.Container&&(i=i.concat(e(t,n,o))),o-=r})),i};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(u.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=u.default.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(u.default.events.SCROLL_BEFORE_UPDATE,n,e),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(u.default.events.SCROLL_UPDATE,n,e)}}}]),t}(a.default.Scroll);k.blotName="scroll",k.className="ql-editor",k.tagName="DIV",k.defaultChild="block",k.allowedChildren=[d.default,c.BlockEmbed,g.default],t.default=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var r="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},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(21),a=S(s),l=n(11),u=S(l),c=n(3),d=S(c),h=n(2),f=S(h),p=n(20),m=S(p),y=n(0),g=S(y),b=n(5),v=S(b),_=n(10),w=S(_),x=n(9),k=S(x);function S(e){return e&&e.__esModule?e:{default:e}}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function C(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var O=(0,w.default)("quill:keyboard"),D=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",L=function(e){function t(e,n){j(this,t);var r=T(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.bindings={},Object.keys(r.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist["list"])&&r.options.bindings[t]&&r.addBinding(r.options.bindings[t])})),r.addBinding({key:t.keys.ENTER,shiftKey:null},Y),r.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},A),r.addBinding({key:t.keys.DELETE},{collapsed:!0},P)):(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},A),r.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},P)),r.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},N),r.addBinding({key:t.keys.DELETE},{collapsed:!1},N),r.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},A),r.listen(),r}return C(t,e),o(t,null,[{key:"match",value:function(e,t){return t=F(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),o(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=F(e);if(null==r||null==r.key)return O.warn("Attempted to add invalid keyboard binding",r);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n}),r=(0,d.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,s=(e.bindings[o]||[]).filter((function(e){return t.match(n,e)}));if(0!==s.length){var a=e.quill.getSelection();if(null!=a&&e.quill.hasFocus()){var l=e.quill.getLine(a.index),c=i(l,2),d=c[0],h=c[1],f=e.quill.getLeaf(a.index),p=i(f,2),m=p[0],y=p[1],b=0===a.length?[m,y]:e.quill.getLeaf(a.index+a.length),v=i(b,2),_=v[0],w=v[1],x=m instanceof g.default.Text?m.value().slice(0,y):"",k=_ instanceof g.default.Text?_.value().slice(w):"",S={collapsed:0===a.length,empty:0===a.length&&d.length()<=1,format:e.quill.getFormat(a),offset:h,prefix:x,suffix:k},M=s.some((function(t){if(null!=t.collapsed&&t.collapsed!==S.collapsed)return!1;if(null!=t.empty&&t.empty!==S.empty)return!1;if(null!=t.offset&&t.offset!==S.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==S.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=S.format[e]:!1===t.format[e]?null==S.format[e]:(0,u.default)(t.format[e],S.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(S.prefix))&&(!(null!=t.suffix&&!t.suffix.test(S.suffix))&&!0!==t.handler.call(e,a,S))}));M&&n.preventDefault()}}}}))}}]),t}(k.default);function E(e,t){var n,r=e===L.keys.LEFT?"prefix":"suffix";return n={key:e,shiftKey:t,altKey:null},M(n,r,/^$/),M(n,"handler",(function(n){var r=n.index;e===L.keys.RIGHT&&(r+=n.length+1);var o=this.quill.getLeaf(r),s=i(o,1),a=s[0];return!(a instanceof g.default.Embed)||(e===L.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,v.default.sources.USER):this.quill.setSelection(n.index-1,v.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,v.default.sources.USER):this.quill.setSelection(n.index+n.length+1,v.default.sources.USER),!1)})),n}function A(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=i(n,1),o=r[0],s={};if(0===t.offset){var a=this.quill.getLine(e.index-1),l=i(a,1),u=l[0];if(null!=u&&u.length()>1){var c=o.formats(),d=this.quill.getFormat(e.index-1,1);s=m.default.attributes.diff(c,d)||{}}}var h=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-h,h,v.default.sources.USER),Object.keys(s).length>0&&this.quill.formatLine(e.index-h,h,s,v.default.sources.USER),this.quill.focus()}}function P(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},o=0,s=this.quill.getLine(e.index),a=i(s,1),l=a[0];if(t.offset>=l.length()-1){var u=this.quill.getLine(e.index+1),c=i(u,1),d=c[0];if(d){var h=l.formats(),f=this.quill.getFormat(e.index,1);r=m.default.attributes.diff(h,f)||{},o=d.length()}}this.quill.deleteText(e.index,n,v.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+o-1,n,r,v.default.sources.USER)}}function N(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),i=t[t.length-1].formats();n=m.default.attributes.diff(i,r)||{}}this.quill.deleteText(e,v.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,v.default.sources.USER),this.quill.setSelection(e.index,v.default.sources.SILENT),this.quill.focus()}function Y(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return g.default.query(n,g.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,v.default.sources.USER),this.quill.setSelection(e.index+1,v.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],v.default.sources.USER))}))}function I(e){return{key:L.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=g.default.query("code-block"),r=t.index,o=t.length,s=this.quill.scroll.descendant(n,r),a=i(s,2),l=a[0],u=a[1];if(null!=l){var c=this.quill.getIndex(l),d=l.newlineIndex(u,!0)+1,h=l.newlineIndex(c+u+o),f=l.domNode.textContent.slice(d,h).split("\n");u=0,f.forEach((function(t,i){e?(l.insertAt(d+u,n.TAB),u+=n.TAB.length,0===i?r+=n.TAB.length:o+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(d+u,n.TAB.length),u-=n.TAB.length,0===i?r-=n.TAB.length:o-=n.TAB.length),u+=t.length+1})),this.quill.update(v.default.sources.USER),this.quill.setSelection(r,o,v.default.sources.SILENT)}}}}function R(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],v.default.sources.USER)}}}function F(e){if("string"===typeof e||"number"===typeof e)return F({key:e});if("object"===("undefined"===typeof e?"undefined":r(e))&&(e=(0,a.default)(e,!1)),"string"===typeof e.key)if(null!=L.keys[e.key.toUpperCase()])e.key=L.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[D]=e.shortKey,delete e.shortKey),e}L.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},L.DEFAULTS={bindings:{bold:R("bold"),italic:R("italic"),underline:R("underline"),indent:{key:L.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",v.default.sources.USER)}},outdent:{key:L.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",v.default.sources.USER)}},"outdent backspace":{key:L.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",v.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,v.default.sources.USER)}},"indent code-block":I(!0),"outdent code-block":I(!1),"remove tab":{key:L.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,v.default.sources.USER)}},tab:{key:L.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new f.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,v.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,v.default.sources.SILENT)}},"list empty enter":{key:L.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,v.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,v.default.sources.USER)}},"checklist enter":{key:L.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],s=(0,d.default)({},r.formats(),{list:"checked"}),a=(new f.default).retain(e.index).insert("\n",s).retain(r.length()-o-1).retain(1,{list:"unchecked"});this.quill.updateContents(a,v.default.sources.USER),this.quill.setSelection(e.index+1,v.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:L.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=i(n,2),o=r[0],s=r[1],a=(new f.default).retain(e.index).insert("\n",t.format).retain(o.length()-s-1).retain(1,{header:null});this.quill.updateContents(a,v.default.sources.USER),this.quill.setSelection(e.index+1,v.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),o=i(r,2),s=o[0],a=o[1];if(a>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",v.default.sources.USER),this.quill.history.cutoff();var u=(new f.default).retain(e.index-a).delete(n+1).retain(s.length()-2-a).retain(1,{list:l});this.quill.updateContents(u,v.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,v.default.sources.SILENT)}},"code exit":{key:L.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=i(t,2),r=n[0],o=n[1],s=(new f.default).retain(e.index+r.length()-o-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(s,v.default.sources.USER)}},"embed left":E(L.keys.LEFT,!1),"embed left shift":E(L.keys.LEFT,!0),"embed right":E(L.keys.RIGHT,!1),"embed right shift":E(L.keys.RIGHT,!0)}},t.default=L,t.SHORTKEY=D},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(0),a=c(s),l=n(7),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e,n){d(this,t);var r=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.selection=n,r.textNode=document.createTextNode(t.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return f(t,e),o(t,null,[{key:"value",value:function(){}}]),o(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);var r=this,o=0;while(null!=r&&r.statics.scope!==a.default.Scope.BLOCK_BLOT)o+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=t.CONTENTS.length,r.optimize(),r.formatAt(o,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),i=void 0,o=void 0,s=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var l=[e,n.start.offset,n.end.offset];i=l[0],o=l[1],s=l[2]}while(null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var c=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof u.default?(i=this.next.domNode,this.next.insertAt(0,c),this.textNode.data=t.CONTENTS):(this.textNode.data=c,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=o){var d=[o,s].map((function(e){return Math.max(0,Math.min(i.data.length,e-1))})),h=r(d,2);return o=h[0],s=h[1],{startNode:i,startOffset:o,endNode:i,endOffset:s}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var r=this.restore();r&&(t.range=r)}}},{key:"value",value:function(){return""}}]),t}(a.default.Embed);p.blotName="cursor",p.className="ql-cursor",p.tagName="span",p.CONTENTS="\ufeff",t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=a(r),o=n(4),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),t}(i.default.Container);d.allowedChildren=[s.default,o.BlockEmbed,d],t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(0),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join("")):n}}]),t}(s.default.Attributor.Style),h=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),f=new d("color","color",{scope:s.default.Scope.INLINE});t.ColorAttributor=d,t.ColorClass=h,t.ColorStyle=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(6),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return h(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(s.default);function h(e,t){var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(r)>-1}d.blotName="link",d.tagName="A",d.SANITIZED_URL="about:blank",d.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=d,t.sanitize=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(23),s=u(o),a=n(107),l=u(a);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var d=0;function h(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var f=function(){function e(t){var n=this;c(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case s.default.keys.ENTER:n.togglePicker();break;case s.default.keys.ESCAPE:n.escape(),e.preventDefault();break;default:}})),this.select.addEventListener("change",this.update.bind(this))}return i(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),h(this.label,"aria-expanded"),h(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case s.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case s.default.keys.ESCAPE:t.escape(),e.preventDefault();break;default:}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=l.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+d,d+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var r=e.buildItem(n);t.appendChild(r),!0===n.selected&&e.selectItem(r)})),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach((function(t){e.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout((function(){return e.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var i=document.createEvent("Event");i.initEvent("change",!0,!0),this.select.dispatchEvent(i)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=O(r),o=n(5),s=O(o),a=n(4),l=O(a),u=n(16),c=O(u),d=n(25),h=O(d),f=n(24),p=O(f),m=n(35),y=O(m),g=n(6),b=O(g),v=n(22),_=O(v),w=n(7),x=O(w),k=n(55),S=O(k),M=n(42),j=O(M),T=n(23),C=O(T);function O(e){return e&&e.__esModule?e:{default:e}}s.default.register({"blots/block":l.default,"blots/block/embed":a.BlockEmbed,"blots/break":c.default,"blots/container":h.default,"blots/cursor":p.default,"blots/embed":y.default,"blots/inline":b.default,"blots/scroll":_.default,"blots/text":x.default,"modules/clipboard":S.default,"modules/history":j.default,"modules/keyboard":C.default}),i.default.register(l.default,c.default,p.default,b.default,_.default,x.default),t.default=s.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),i=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){var n=this.isolate(e,t);n.remove()},e.prototype.formatAt=function(e,t,n,i){var o=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&i)o.wrap(n,i);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var s=r.create(this.statics.scope);o.wrap(s),s.format(n,i)}},e.prototype.insertAt=function(e,t,n){var i=null==n?r.create("text",t):r.create(t,n),o=this.split(e);this.parent.insertBefore(i,o)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),i=n(32),o=n(33),s=n(1),a=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=i.default.keys(this.domNode),a=o.default.keys(this.domNode);t.concat(n).concat(a).forEach((function(t){var n=s.query(t,s.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e,t){var n=e.getAttribute("class")||"";return n.split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){var t=o(e,this.keyName);t.forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=o(e,this.keyName)[0]||"",n=t.slice(this.keyName.length+1);return this.canAdd(e,n)?n:""},t}(i.default);t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(12);function o(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}var s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){var t=e.split(":");return t[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[o(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[o(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""},t}(i.default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t,n){i(this,e),this.quill=t,this.options=n,this.modules={}}return r(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach((function(t){null==e.modules[t]&&e.addModule(t)}))}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();o.DEFAULTS={modules:{}},o.themes={default:o},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(0),s=u(o),a=n(7),l=u(a);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var f="\ufeff",p=function(e){function t(e){c(this,t);var n=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(f),n.rightGuard=document.createTextNode(f),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return h(t,e),r(t,[{key:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,r=e.data.split(f).join("");if(e===this.leftGuard)if(this.prev instanceof l.default){var i=this.prev.length();this.prev.insertAt(i,r),t={startNode:this.prev.domNode,startOffset:i+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(s.default.create(n),this),t={startNode:n,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof l.default?(this.next.insertAt(0,r),t={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(s.default.create(n),this.next),t={startNode:n,startOffset:r.length}));return e.data=f,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var r=n.restore(e.target);r&&(t.range=r)}}))}}]),t}(s.default.Embed);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var r=n(0),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},a=new i.default.Attributor.Attribute("align","align",s),l=new i.default.Attributor.Class("align","ql-align",s),u=new i.default.Attributor.Style("align","text-align",s);t.AlignAttribute=a,t.AlignClass=l,t.AlignStyle=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var r=n(0),i=s(r),o=n(26);function s(e){return e&&e.__esModule?e:{default:e}}var a=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),l=new o.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=a,t.BackgroundStyle=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var r=n(0),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},a=new i.default.Attributor.Attribute("direction","dir",s),l=new i.default.Attributor.Class("direction","ql-direction",s),u=new i.default.Attributor.Style("direction","direction",s);t.DirectionAttribute=a,t.DirectionClass=l,t.DirectionStyle=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(0),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},h=new s.default.Attributor.Class("font","ql-font",d),f=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(s.default.Attributor.Style),p=new f("font","font-family",d);t.FontStyle=p,t.FontClass=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var r=n(0),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),a=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=s,t.SizeStyle=a},function(e,t,n){"use strict";e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),o=c(i),s=n(5),a=c(s),l=n(9),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e,n){d(this,t);var r=h(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(a.default.events.EDITOR_CHANGE,(function(e,t,n,i){e!==a.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&i!==a.default.sources.USER?r.transform(t):r.record(t,n))})),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return f(t,e),r(t,[{key:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],a.default.sources.USER),this.ignoreChange=!1;var r=y(n[e]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var i=this.stack.undo.pop();n=n.compose(i.undo),e=i.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(u.default);function m(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"===typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}function y(e){var t=e.reduce((function(e,t){return e+=t.delete||0,e}),0),n=e.length()-t;return m(e)&&(n-=1),n}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=p,t.getLastChangeIndex=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(3),s=k(o),a=n(2),l=k(a),u=n(8),c=k(u),d=n(23),h=k(d),f=n(34),p=k(f),m=n(59),y=k(m),g=n(60),b=k(g),v=n(28),_=k(v),w=n(61),x=k(w);function k(e){return e&&e.__esModule?e:{default:e}}function S(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function j(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var T=[!1,"center","right","justify"],C=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],O=[!1,"serif","monospace"],D=["1","2","3",!1],L=["small",!1,"large","huge"],E=function(e){function t(e,n){S(this,t);var r=M(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n)),i=function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach((function(e){e.container.contains(n.target)||e.close()}))};return e.emitter.listenDOM("click",document.body,i),r}return j(t,e),r(t,[{key:"addModule",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){var n=e.getAttribute("class")||"";n.split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n]["rtl"];else if("string"===typeof t[n])e.innerHTML=t[n];else{var r=e.value||"";null!=r&&t[n][r]&&(e.innerHTML=t[n][r])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&N(e,T),new b.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&N(e,C,"background"===n?"#ffffff":"#000000"),new y.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?N(e,O):e.classList.contains("ql-header")?N(e,D):e.classList.contains("ql-size")&&N(e,L)),new _.default(e)}));var r=function(){n.pickers.forEach((function(e){e.update()}))};this.quill.on(c.default.events.EDITOR_CHANGE,r)}}]),t}(p.default);E.DEFAULTS=(0,s.default)(!0,{},p.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&(t=document.createElement("input"),t.setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",(function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var r=e.quill.getSelection(!0);e.quill.updateContents((new l.default).retain(r.index).delete(r.length).insert({image:n.target.result}),c.default.sources.USER),e.quill.setSelection(r.index+1,c.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}})),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var A=function(e){function t(e,n){S(this,t);var r=M(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return j(t,e),r(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){h.default.match(t,"enter")?(e.save(),t.preventDefault()):h.default.match(t,"escape")&&(e.cancel(),t.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,c.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,c.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=P(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),e,c.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",c.default.sources.USER),this.quill.setSelection(r+2,c.default.sources.USER)}break;default:}this.textbox.value="",this.hide()}}]),t}(x.default);function P(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}function N(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=A,t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){var t,n=this.iterator();while(t=n())if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){var t=0,n=this.head;while(null!=n){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);var n,r=this.iterator();while(n=r()){var i=n.length();if(e<i||t&&e===i&&(null==n.next||0!==n.next.length()))return[n,e];e-=i}return[null,0]},e.prototype.forEach=function(e){var t,n=this.iterator();while(t=n())e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0)){var r,i=this.find(e),o=i[0],s=i[1],a=e-s,l=this.iterator(o);while((r=l())&&a<e+t){var u=r.length();e>a?n(r,e-a,Math.min(t,a+u-e)):n(r,0,Math.min(u,e+t-a)),a+=u}}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){var n,r=this.iterator();while(n=r())t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),o=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},a=100,l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,s),n.attach(),n}return r(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,i){this.update(),e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);var s=[].slice.call(this.observer.takeRecords());while(s.length>0)t.push(s.pop());for(var l=function(e,t){void 0===t&&(t=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[o.DATA_KEY].mutations&&(e.domNode[o.DATA_KEY].mutations=[]),t&&l(e.parent))},u=function(e){null!=e.domNode[o.DATA_KEY]&&null!=e.domNode[o.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(u),e.optimize(n))},c=t,d=0;c.length>0;d+=1){if(d>=a)throw new Error("[Parchment] Maximum optimize iterations reached");c.forEach((function(e){var t=o.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(l(o.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=o.find(e,!1);l(t,!1),t instanceof i.default&&t.children.forEach((function(e){l(e,!1)}))}))):"attributes"===e.type&&l(t.prev)),l(t))})),this.children.forEach(u),c=[].slice.call(this.observer.takeRecords()),s=c.slice();while(s.length>0)t.push(s.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),t=t||this.observer.takeRecords(),t.map((function(e){var t=o.find(e.target,!0);return null==t?null:null==t.domNode[o.DATA_KEY].mutations?(t.domNode[o.DATA_KEY].mutations=[e],t):(t.domNode[o.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[o.DATA_KEY]&&e.update(e.domNode[o.DATA_KEY].mutations||[],n)})),null!=this.domNode[o.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[o.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1);function s(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,i){if(null!=this.formats()[r]||o.query(r,o.Scope.ATTRIBUTE)){var s=this.isolate(t,n);s.format(r,i)}else e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var i=this.next;i instanceof t&&i.prev===this&&s(r,i.formats())&&(i.moveChildren(this),i.remove())},t.blotName="inline",t.scope=o.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=a},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),o=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){var r=o.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=o.query(n,o.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,i){null!=o.query(r,o.Scope.BLOCK)?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=o.query(n,o.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var i=this.split(t),s=o.create(n,r);i.parent.insertBefore(s,i)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=o.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=s},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,i){0===t&&n===this.length()?this.format(r,i):e.prototype.formatAt.call(this,t,n,r,i)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(i.default);t.default=o},function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),o=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return r(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t["normalize"]&&(t=t["normalize"]()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=o.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=o.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var i=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)===!t?t:i.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!==typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,i=arguments[1],o=0;o<r;o++)if(t=n[o],e.call(i,t,o,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1,r=1,i=0;function o(e,t,n){if(e==t)return e?[[i,e]]:[];(n<0||e.length<n)&&(n=null);var r=u(e,t),o=e.substring(0,r);e=e.substring(r),t=t.substring(r),r=c(e,t);var a=e.substring(e.length-r);e=e.substring(0,e.length-r),t=t.substring(0,t.length-r);var l=s(e,t);return o&&l.unshift([i,o]),a&&l.push([i,a]),h(l),null!=n&&(l=m(l,n)),l=y(l),l}function s(e,t){var s;if(!e)return[[r,t]];if(!t)return[[n,e]];var l=e.length>t.length?e:t,u=e.length>t.length?t:e,c=l.indexOf(u);if(-1!=c)return s=[[r,l.substring(0,c)],[i,u],[r,l.substring(c+u.length)]],e.length>t.length&&(s[0][0]=s[2][0]=n),s;if(1==u.length)return[[n,e],[r,t]];var h=d(e,t);if(h){var f=h[0],p=h[1],m=h[2],y=h[3],g=h[4],b=o(f,m),v=o(p,y);return b.concat([[i,g]],v)}return a(e,t)}function a(e,t){for(var i=e.length,o=t.length,s=Math.ceil((i+o)/2),a=s,u=2*s,c=new Array(u),d=new Array(u),h=0;h<u;h++)c[h]=-1,d[h]=-1;c[a+1]=0,d[a+1]=0;for(var f=i-o,p=f%2!=0,m=0,y=0,g=0,b=0,v=0;v<s;v++){for(var _=-v+m;_<=v-y;_+=2){var w=a+_;T=_==-v||_!=v&&c[w-1]<c[w+1]?c[w+1]:c[w-1]+1;var x=T-_;while(T<i&&x<o&&e.charAt(T)==t.charAt(x))T++,x++;if(c[w]=T,T>i)y+=2;else if(x>o)m+=2;else if(p){var k=a+f-_;if(k>=0&&k<u&&-1!=d[k]){var S=i-d[k];if(T>=S)return l(e,t,T,x)}}}for(var M=-v+g;M<=v-b;M+=2){k=a+M;S=M==-v||M!=v&&d[k-1]<d[k+1]?d[k+1]:d[k-1]+1;var j=S-M;while(S<i&&j<o&&e.charAt(i-S-1)==t.charAt(o-j-1))S++,j++;if(d[k]=S,S>i)b+=2;else if(j>o)g+=2;else if(!p){w=a+f-M;if(w>=0&&w<u&&-1!=c[w]){var T=c[w];x=a+T-w;if(S=i-S,T>=S)return l(e,t,T,x)}}}}return[[n,e],[r,t]]}function l(e,t,n,r){var i=e.substring(0,n),s=t.substring(0,r),a=e.substring(n),l=t.substring(r),u=o(i,s),c=o(a,l);return u.concat(c)}function u(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(n<i)e.substring(o,i)==t.substring(o,i)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i}function c(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;var n=0,r=Math.min(e.length,t.length),i=r,o=0;while(n<i)e.substring(e.length-i,e.length-o)==t.substring(t.length-i,t.length-o)?(n=i,o=n):r=i,i=Math.floor((r-n)/2+n);return i}function d(e,t){var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;function i(e,t,n){var r,i,o,s,a=e.substring(n,n+Math.floor(e.length/4)),l=-1,d="";while(-1!=(l=t.indexOf(a,l+1))){var h=u(e.substring(n),t.substring(l)),f=c(e.substring(0,n),t.substring(0,l));d.length<f+h&&(d=t.substring(l-f,l)+t.substring(l,l+h),r=e.substring(0,n-f),i=e.substring(n+h),o=t.substring(0,l-f),s=t.substring(l+h))}return 2*d.length>=e.length?[r,i,o,s,d]:null}var o,s,a,l,d,h=i(n,r,Math.ceil(n.length/4)),f=i(n,r,Math.ceil(n.length/2));if(!h&&!f)return null;o=f?h&&h[4].length>f[4].length?h:f:h,e.length>t.length?(s=o[0],a=o[1],l=o[2],d=o[3]):(l=o[0],d=o[1],s=o[2],a=o[3]);var p=o[4];return[s,a,l,d,p]}function h(e){e.push([i,""]);var t,o=0,s=0,a=0,l="",d="";while(o<e.length)switch(e[o][0]){case r:a++,d+=e[o][1],o++;break;case n:s++,l+=e[o][1],o++;break;case i:s+a>1?(0!==s&&0!==a&&(t=u(d,l),0!==t&&(o-s-a>0&&e[o-s-a-1][0]==i?e[o-s-a-1][1]+=d.substring(0,t):(e.splice(0,0,[i,d.substring(0,t)]),o++),d=d.substring(t),l=l.substring(t)),t=c(d,l),0!==t&&(e[o][1]=d.substring(d.length-t)+e[o][1],d=d.substring(0,d.length-t),l=l.substring(0,l.length-t))),0===s?e.splice(o-a,s+a,[r,d]):0===a?e.splice(o-s,s+a,[n,l]):e.splice(o-s-a,s+a,[n,l],[r,d]),o=o-s-a+(s?1:0)+(a?1:0)+1):0!==o&&e[o-1][0]==i?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,a=0,s=0,l="",d="";break}""===e[e.length-1][1]&&e.pop();var f=!1;o=1;while(o<e.length-1)e[o-1][0]==i&&e[o+1][0]==i&&(e[o][1].substring(e[o][1].length-e[o-1][1].length)==e[o-1][1]?(e[o][1]=e[o-1][1]+e[o][1].substring(0,e[o][1].length-e[o-1][1].length),e[o+1][1]=e[o-1][1]+e[o+1][1],e.splice(o-1,1),f=!0):e[o][1].substring(0,e[o+1][1].length)==e[o+1][1]&&(e[o-1][1]+=e[o+1][1],e[o][1]=e[o][1].substring(e[o+1][1].length)+e[o+1][1],e.splice(o+1,1),f=!0)),o++;f&&h(e)}var f=o;function p(e,t){if(0===t)return[i,e];for(var r=0,o=0;o<e.length;o++){var s=e[o];if(s[0]===n||s[0]===i){var a=r+s[1].length;if(t===a)return[o+1,e];if(t<a){e=e.slice();var l=t-r,u=[s[0],s[1].slice(0,l)],c=[s[0],s[1].slice(l)];return e.splice(o,1,u,c),[o+1,e]}r=a}}throw new Error("cursor_pos is out of bounds!")}function m(e,t){var n=p(e,t),r=n[1],o=n[0],s=r[o],a=r[o+1];if(null==s)return e;if(s[0]!==i)return e;if(null!=a&&s[1]+a[1]===a[1]+s[1])return r.splice(o,2,a,s),g(r,o,2);if(null!=a&&0===a[1].indexOf(s[1])){r.splice(o,2,[a[0],s[1]],[0,s[1]]);var l=a[1].slice(s[1].length);return l.length>0&&r.splice(o+2,0,[a[0],l]),g(r,o,3)}return e}function y(e){for(var t=!1,o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},s=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},a=2;a<e.length;a+=1)e[a-2][0]===i&&s(e[a-2][1])&&e[a-1][0]===n&&o(e[a-1][1])&&e[a][0]===r&&o(e[a][1])&&(t=!0,e[a-1][1]=e[a-2][1].slice(-1)+e[a-1][1],e[a][1]=e[a-2][1].slice(-1)+e[a][1],e[a-2][1]=e[a-2][1].slice(0,-1));if(!t)return e;var l=[];for(a=0;a<e.length;a+=1)e[a][1].length>0&&l.push(e[a]);return l}function g(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1<e.length){var i=e[r],o=e[r+1];i[0]===o[1]&&e.splice(r,2,[i[0],i[1]+o[1]])}return e}f.INSERT=r,f.DELETE=n,f.EQUAL=i,e.exports=f},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"===typeof Object.keys?Object.keys:n,t.shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function i(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}t=e.exports=n?r:i,t.supported=r,t.unsupported=i},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function i(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function s(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,t,i=[];if(0===this._eventsCount)return i;for(t in e=this._events)n.call(e,t)&&i.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e,t){var n=r?r+e:e,i=this._events[n];if(t)return!!i;if(!i)return[];if(i.fn)return[i.fn];for(var o=0,s=i.length,a=new Array(s);o<s;o++)a[o]=i[o].fn;return a},s.prototype.emit=function(e,t,n,i,o,s){var a=r?r+e:e;if(!this._events[a])return!1;var l,u,c=this._events[a],d=arguments.length;if(c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),d){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,i),!0;case 5:return c.fn.call(c.context,t,n,i,o),!0;case 6:return c.fn.call(c.context,t,n,i,o,s),!0}for(u=1,l=new Array(d-1);u<d;u++)l[u-1]=arguments[u];c.fn.apply(c.context,l)}else{var h,f=c.length;for(u=0;u<f;u++)switch(c[u].once&&this.removeListener(e,c[u].fn,void 0,!0),d){case 1:c[u].fn.call(c[u].context);break;case 2:c[u].fn.call(c[u].context,t);break;case 3:c[u].fn.call(c[u].context,t,n);break;case 4:c[u].fn.call(c[u].context,t,n,i);break;default:if(!l)for(h=1,l=new Array(d-1);h<d;h++)l[h-1]=arguments[h];c[u].fn.apply(c[u].context,l)}}return!0},s.prototype.on=function(e,t,n){var i=new o(t,n||this),s=r?r+e:e;return this._events[s]?this._events[s].fn?this._events[s]=[this._events[s],i]:this._events[s].push(i):(this._events[s]=i,this._eventsCount++),this},s.prototype.once=function(e,t,n){var i=new o(t,n||this,!0),s=r?r+e:e;return this._events[s]?this._events[s].fn?this._events[s]=[this._events[s],i]:this._events[s].push(i):(this._events[s]=i,this._eventsCount++),this},s.prototype.removeListener=function(e,t,n,o){var s=r?r+e:e;if(!this._events[s])return this;if(!t)return 0===--this._eventsCount?this._events=new i:delete this._events[s],this;var a=this._events[s];if(a.fn)a.fn!==t||o&&!a.once||n&&a.context!==n||(0===--this._eventsCount?this._events=new i:delete this._events[s]);else{for(var l=0,u=[],c=a.length;l<c;l++)(a[l].fn!==t||o&&!a[l].once||n&&a[l].context!==n)&&u.push(a[l]);u.length?this._events[s]=1===u.length?u[0]:u:0===--this._eventsCount?this._events=new i:delete this._events[s]}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&(0===--this._eventsCount?this._events=new i:delete this._events[t])):(this._events=new i,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prototype.setMaxListeners=function(){return this},s.prefixed=r,s.EventEmitter=s,"undefined"!==typeof e&&(e.exports=s)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var r="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},i=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(3),a=j(s),l=n(2),u=j(l),c=n(0),d=j(c),h=n(5),f=j(h),p=n(10),m=j(p),y=n(9),g=j(y),b=n(36),v=n(37),_=n(13),w=j(_),x=n(26),k=n(38),S=n(39),M=n(40);function j(e){return e&&e.__esModule?e:{default:e}}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function O(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function D(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var L=(0,m.default)("quill:clipboard"),E="__ql-matcher",A=[[Node.TEXT_NODE,J],[Node.TEXT_NODE,G],["br",V],[Node.ELEMENT_NODE,G],[Node.ELEMENT_NODE,z],[Node.ELEMENT_NODE,K],[Node.ELEMENT_NODE,q],[Node.ELEMENT_NODE,X],["li",U],["b",H.bind(H,"bold")],["i",H.bind(H,"italic")],["style",W]],P=[b.AlignAttribute,k.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),N=[b.AlignStyle,v.BackgroundStyle,x.ColorStyle,k.DirectionStyle,S.FontStyle,M.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),Y=function(e){function t(e,n){C(this,t);var r=O(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],A.concat(r.options.matchers).forEach((function(e){var t=i(e,2),o=t[0],s=t[1];(n.matchVisual||s!==K)&&r.addMatcher(o,s)})),r}return D(t,e),o(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"===typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[w.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new u.default).insert(n,T({},w.default.blotName,t[w.default.blotName]))}var r=this.prepareMatching(),o=i(r,2),s=o[0],a=o[1],l=B(this.container,s,a);return F(l,"\n")&&null==l.ops[l.ops.length-1].attributes&&(l=l.compose((new u.default).retain(l.length()-1).delete(1))),L.log("convert",this.container.innerHTML,l),this.container.innerHTML="",l}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,f.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new u.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),f.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new u.default).retain(n.index),i=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(f.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,f.default.sources.USER),t.quill.setSelection(r.length()-n.length,f.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=i,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var o=i(r,2),s=o[0],a=o[1];switch(s){case Node.TEXT_NODE:n.push(a);break;case Node.ELEMENT_NODE:t.push(a);break;default:[].forEach.call(e.container.querySelectorAll(s),(function(e){e[E]=e[E]||[],e[E].push(a)}));break}})),[t,n]}}]),t}(g.default);function I(e,t,n){return"object"===("undefined"===typeof t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return I(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,a.default)({},T({},t,n),r.attributes))}),new u.default)}function R(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function F(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length<t.length;--r){var i=e.ops[r];if("string"!==typeof i.insert)break;n=i.insert+n}return n.slice(-1*t.length)===t}function $(e){if(0===e.childNodes.length)return!1;var t=R(e);return["block","list-item"].indexOf(t.display)>-1}function B(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new u.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,i){var o=B(i,t,n);return i.nodeType===e.ELEMENT_NODE&&(o=t.reduce((function(e,t){return t(i,e)}),o),o=(i[E]||[]).reduce((function(e,t){return t(i,e)}),o)),r.concat(o)}),new u.default):new u.default}function H(e,t,n){return I(n,e,!0)}function q(e,t){var n=d.default.Attributor.Attribute.keys(e),r=d.default.Attributor.Class.keys(e),i=d.default.Attributor.Style.keys(e),o={};return n.concat(r).concat(i).forEach((function(t){var n=d.default.query(t,d.default.Scope.ATTRIBUTE);null!=n&&(o[n.attrName]=n.value(e),o[n.attrName])||(n=P[t],null==n||n.attrName!==t&&n.keyName!==t||(o[n.attrName]=n.value(e)||void 0),n=N[t],null==n||n.attrName!==t&&n.keyName!==t||(n=N[t],o[n.attrName]=n.value(e)||void 0))})),Object.keys(o).length>0&&(t=I(t,o)),t}function z(e,t){var n=d.default.query(e);if(null==n)return t;if(n.prototype instanceof d.default.Embed){var r={},i=n.value(e);null!=i&&(r[n.blotName]=i,t=(new u.default).insert(r,n.formats(e)))}else"function"===typeof n.formats&&(t=I(t,n.blotName,n.formats(e)));return t}function V(e,t){return F(t,"\n")||t.insert("\n"),t}function W(){return new u.default}function U(e,t){var n=d.default.query(e);if(null==n||"list-item"!==n.blotName||!F(t,"\n"))return t;var r=-1,i=e.parentNode;while(!i.classList.contains("ql-clipboard"))"list"===(d.default.query(i)||{}).blotName&&(r+=1),i=i.parentNode;return r<=0?t:t.compose((new u.default).retain(t.length()-1).retain(1,{indent:r}))}function G(e,t){return F(t,"\n")||($(e)||t.length()>0&&e.nextSibling&&$(e.nextSibling))&&t.insert("\n"),t}function K(e,t){if($(e)&&null!=e.nextElementSibling&&!F(t,"\n\n")){var n=e.offsetHeight+parseFloat(R(e).marginTop)+parseFloat(R(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function X(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===R(e).fontStyle&&(n.italic=!0),r.fontWeight&&(R(e).fontWeight.startsWith("bold")||parseInt(R(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=I(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new u.default).insert("\t").concat(t)),t}function J(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!R(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return t=t.replace(/[^\u00a0]/g,""),t.length<1&&e?" ":t};n=n.replace(/\r\n/g," ").replace(/\n/g," "),n=n.replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&$(e.parentNode)||null!=e.previousSibling&&$(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&$(e.parentNode)||null!=e.nextSibling&&$(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}Y.DEFAULTS={matchers:[],matchVisual:!0},t.default=Y,t.matchAttributor=q,t.matchBlot=z,t.matchNewline=G,t.matchSpacing=K,t.matchText=J},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(6),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(s.default);d.blotName="bold",d.tagName=["STRONG","B"],t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(2),s=m(o),a=n(0),l=m(a),u=n(5),c=m(u),d=n(10),h=m(d),f=n(9),p=m(f);function m(e){return e&&e.__esModule?e:{default:e}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function v(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var _=(0,h.default)("quill:toolbar"),w=function(e){function t(e,n){g(this,t);var i,o=b(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(o.options.container)){var s=document.createElement("div");k(s,o.options.container),e.container.parentNode.insertBefore(s,e.container),o.container=s}else"string"===typeof o.options.container?o.container=document.querySelector(o.options.container):o.container=o.options.container;return o.container instanceof HTMLElement?(o.container.classList.add("ql-toolbar"),o.controls=[],o.handlers={},Object.keys(o.options.handlers).forEach((function(e){o.addHandler(e,o.options.handlers[e])})),[].forEach.call(o.container.querySelectorAll("button, select"),(function(e){o.attach(e)})),o.quill.on(c.default.events.EDITOR_CHANGE,(function(e,t){e===c.default.events.SELECTION_CHANGE&&o.update(t)})),o.quill.on(c.default.events.SCROLL_OPTIMIZE,(function(){var e=o.quill.selection.getRange(),t=r(e,1),n=t[0];o.update(n)})),o):(i=_.error("Container required for toolbar",o.options),b(o,i))}return v(t,e),i(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void _.warn("ignoring attaching to disabled format",n,e);if(null==l.default.query(n))return void _.warn("ignoring attaching to nonexistent format",n,e)}var i="SELECT"===e.tagName?"change":"click";e.addEventListener(i,(function(i){var o=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var a=e.options[e.selectedIndex];o=!a.hasAttribute("selected")&&(a.value||!1)}else o=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),i.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),d=r(u,1),h=d[0];if(null!=t.handlers[n])t.handlers[n].call(t,o);else if(l.default.query(n).prototype instanceof l.default.Embed){if(o=prompt("Enter "+n),!o)return;t.quill.updateContents((new s.default).retain(h.index).delete(h.length).insert(y({},n,o)),c.default.sources.USER)}else t.quill.format(n,o,c.default.sources.USER);t.update(h)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var i=r(n,2),o=i[0],s=i[1];if("SELECT"===s.tagName){var a=void 0;if(null==e)a=null;else if(null==t[o])a=s.querySelector("option[selected]");else if(!Array.isArray(t[o])){var l=t[o];"string"===typeof l&&(l=l.replace(/\"/g,'\\"')),a=s.querySelector('option[value="'+l+'"]')}null==a?(s.value="",s.selectedIndex=-1):a.selected=!0}else if(null==e)s.classList.remove("ql-active");else if(s.hasAttribute("value")){var u=t[o]===s.getAttribute("value")||null!=t[o]&&t[o].toString()===s.getAttribute("value")||null==t[o]&&!s.getAttribute("value");s.classList.toggle("ql-active",u)}else s.classList.toggle("ql-active",null!=t[o])}))}}]),t}(p.default);function x(e,t,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+t),null!=n&&(r.value=n),e.appendChild(r)}function k(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"===typeof e)x(n,e);else{var t=Object.keys(e)[0],r=e[t];Array.isArray(r)?S(n,t,r):x(n,t,r)}})),e.appendChild(n)}))}function S(e,t,n){var r=document.createElement("select");r.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),r.appendChild(t)})),e.appendChild(r)}w.DEFAULTS={},w.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=l.default.query(t,l.default.Scope.INLINE)&&e.quill.format(t,!1)}))}else this.quill.removeFormat(t,c.default.sources.USER)},direction:function(e){var t=this.quill.getFormat()["align"];"rtl"===e&&null==t?this.quill.format("align","right",c.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,c.default.sources.USER),this.quill.format("direction",e,c.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),r=parseInt(n.indent||0);if("+1"===e||"-1"===e){var i="+1"===e?1:-1;"rtl"===n.direction&&(i*=-1),this.quill.format("indent",r+i,c.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,c.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n["list"]||"unchecked"===n["list"]?this.quill.format("list",!1,c.default.sources.USER):this.quill.format("list","unchecked",c.default.sources.USER):this.quill.format("list",e,c.default.sources.USER)}}},t.default=w,t.addControls=k},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(28),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(e,n){l(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),r}return c(t,e),r(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var r=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),t}(s.default);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(28),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(e,n){l(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}return c(t,e),r(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(s.default);t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t,n){var r=this;i(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"})),this.hide()}return r(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),i=this.root.getBoundingClientRect(),o=0;if(i.right>r.right&&(o=r.right-i.right,this.root.style.left=t+o+"px"),i.left<r.left&&(o=r.left-i.left,this.root.style.left=t+o+"px"),i.bottom>r.bottom){var s=i.bottom-i.top,a=e.bottom-e.top+s;this.root.style.top=n-a+"px",this.root.classList.add("ql-flip")}return o}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(3),a=g(s),l=n(8),u=g(l),c=n(43),d=g(c),h=n(27),f=g(h),p=n(15),m=n(41),y=g(m);function g(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function _(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var w=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],x=function(e){function t(e,n){b(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=w);var r=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-snow"),r}return _(t,e),o(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),y.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),y.default),this.tooltip=new k(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers["link"].call(e,!n.format.link)}))}}]),t}(d.default);x.DEFAULTS=(0,a.default)(!0,{},d.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n);var r=this.quill.theme.tooltip;r.edit("link",n)}else this.quill.format("link",!1)}}}}});var k=function(e){function t(e,n){b(this,t);var r=v(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return _(t,e),o(t,[{key:"listen",value:function(){var e=this;i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,u.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(u.default.events.SELECTION_CHANGE,(function(t,n,i){if(null!=t){if(0===t.length&&i===u.default.sources.USER){var o=e.quill.scroll.descendant(f.default,t.index),s=r(o,2),a=s[0],l=s[1];if(null!=a){e.linkRange=new p.Range(t.index-l,a.length());var c=f.default.formats(a.domNode);return e.preview.textContent=c,e.preview.setAttribute("href",c),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(c.BaseTooltip);k.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=x},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),i=ne(r),o=n(36),s=n(38),a=n(64),l=n(65),u=ne(l),c=n(66),d=ne(c),h=n(67),f=ne(h),p=n(37),m=n(26),y=n(39),g=n(40),b=n(56),v=ne(b),_=n(68),w=ne(_),x=n(27),k=ne(x),S=n(69),M=ne(S),j=n(70),T=ne(j),C=n(71),O=ne(C),D=n(72),L=ne(D),E=n(73),A=ne(E),P=n(13),N=ne(P),Y=n(74),I=ne(Y),R=n(75),F=ne(R),$=n(57),B=ne($),H=n(41),q=ne(H),z=n(28),V=ne(z),W=n(59),U=ne(W),G=n(60),K=ne(G),X=n(61),J=ne(X),Z=n(108),Q=ne(Z),ee=n(62),te=ne(ee);function ne(e){return e&&e.__esModule?e:{default:e}}i.default.register({"attributors/attribute/direction":s.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":p.BackgroundClass,"attributors/class/color":m.ColorClass,"attributors/class/direction":s.DirectionClass,"attributors/class/font":y.FontClass,"attributors/class/size":g.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":p.BackgroundStyle,"attributors/style/color":m.ColorStyle,"attributors/style/direction":s.DirectionStyle,"attributors/style/font":y.FontStyle,"attributors/style/size":g.SizeStyle},!0),i.default.register({"formats/align":o.AlignClass,"formats/direction":s.DirectionClass,"formats/indent":a.IndentClass,"formats/background":p.BackgroundStyle,"formats/color":m.ColorStyle,"formats/font":y.FontClass,"formats/size":g.SizeClass,"formats/blockquote":u.default,"formats/code-block":N.default,"formats/header":d.default,"formats/list":f.default,"formats/bold":v.default,"formats/code":P.Code,"formats/italic":w.default,"formats/link":k.default,"formats/script":M.default,"formats/strike":T.default,"formats/underline":O.default,"formats/image":L.default,"formats/video":A.default,"formats/list/item":h.ListItem,"modules/formula":I.default,"modules/syntax":F.default,"modules/toolbar":B.default,"themes/bubble":Q.default,"themes/snow":te.default,"ui/icons":q.default,"ui/picker":V.default,"ui/icon-picker":K.default,"ui/color-picker":U.default,"ui/tooltip":J.default},!0),t.default=i.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(0),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var r=this.value(e)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(s.default.Attributor.Class),h=new d("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return s(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);u.blotName="blockquote",u.tagName="blockquote",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),o=s(i);function s(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function u(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var c=function(e){function t(){return a(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return u(t,e),r(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(o.default);c.blotName="header",c.tagName=["H1","H2","H3","H4","H5","H6"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(0),s=d(o),a=n(4),l=d(a),u=n(25),c=d(u);function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=function(e){function t(){return f(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return m(t,e),r(t,[{key:"format",value:function(e,n){e!==g.blotName||n?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(s.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:i(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(l.default);y.blotName="list-item",y.tagName="LI";var g=function(e){function t(e){f(this,t);var n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=function(t){if(t.target.parentNode===e){var r=n.statics.formats(e),i=s.default.find(t.target);"checked"===r?i.format("list","unchecked"):"unchecked"===r&&i.format("list","checked")}};return e.addEventListener("touchstart",r),e.addEventListener("mousedown",r),n}return m(t,e),r(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",r=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||r.setAttribute("data-checked","checked"===e),r}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return h({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof y)i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),o=this.split(r);o.parent.insertBefore(e,o)}}},{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=s.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(c.default);g.blotName="list",g.scope=s.default.Scope.BLOCK_BLOT,g.tagName=["OL","UL"],g.defaultChild="list-item",g.allowedChildren=[y],t.ListItem=y,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(56),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return s(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);u.blotName="italic",u.tagName=["EM","I"],t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(6),s=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function c(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var d=function(e){function t(){return l(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),r(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(s.default);d.blotName="script",d.tagName=["SUB","SUP"],t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return s(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);u.blotName="strike",u.tagName="S",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function l(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=function(e){function t(){return s(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),t}(i.default);u.blotName="underline",u.tagName="U",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(0),s=l(o),a=n(27);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=["alt","height","width"],f=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,[{key:"format",value:function(e,n){h.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return h.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,a.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(s.default.Embed);f.blotName="image",f.tagName="IMG",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(4),s=n(27),a=l(s);function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h=["height","width"],f=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,[{key:"format",value:function(e,n){h.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return h.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return a.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(o.BlockEmbed);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(35),s=d(o),a=n(5),l=d(a),u=n(9),c=d(u);function d(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function p(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var m=function(e){function t(){return h(this,t),f(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return p(t,e),r(t,null,[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(s.default);m.blotName="formula",m.className="ql-formula",m.tagName="SPAN";var y=function(e){function t(){h(this,t);var e=f(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return p(t,e),r(t,null,[{key:"register",value:function(){l.default.register(m,!0)}}]),t}(c.default);t.FormulaBlot=m,t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},o=n(0),s=f(o),a=n(5),l=f(a),u=n(9),c=f(u),d=n(13),h=f(d);function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function y(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=function(e){function t(){return p(this,t),m(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return y(t,e),r(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(h.default);g.className="ql-syntax";var b=new s.default.Attributor.Class("token","hljs",{scope:s.default.Scope.INLINE}),v=function(e){function t(e,n){p(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var i=null;return r.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(i),i=setTimeout((function(){r.highlight(),i=null}),r.options.interval)})),r.highlight(),r}return y(t,e),r(t,null,[{key:"register",value:function(){l.default.register(b,!0),l.default.register(g,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(l.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(g).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(l.default.sources.SILENT),null!=t&&this.quill.setSelection(t,l.default.sources.SILENT)}}}]),t}(c.default);v.DEFAULTS={highlight:function(){return null==window.hljs?null:function(e){var t=window.hljs.highlightAuto(e);return t.value}}(),interval:1e3},t.CodeBlock=g,t.CodeToken=b,t.default=v},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,n);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,n,r)}if("value"in i)return i.value;var s=i.get;return void 0!==s?s.call(r):void 0},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(3),s=p(o),a=n(8),l=p(a),u=n(43),c=p(u),d=n(15),h=n(41),f=p(h);function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var b=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],v=function(e){function t(e,n){m(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=b);var r=y(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-bubble"),r}return g(t,e),i(t,[{key:"extendToolbar",value:function(e){this.tooltip=new _(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),f.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),f.default)}}]),t}(c.default);v.DEFAULTS=(0,s.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var _=function(e){function t(e,n){m(this,t);var r=y(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.on(l.default.events.EDITOR_CHANGE,(function(e,t,n,i){if(e===l.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&i===l.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var o=r.quill.getLines(t.index,t.length);if(1===o.length)r.position(r.quill.getBounds(t));else{var s=o[o.length-1],a=r.quill.getIndex(s),u=Math.min(s.length()-1,t.index+t.length-a),c=r.quill.getBounds(new d.Range(a,u));r.position(c)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return g(t,e),i(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(l.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),i=this.root.querySelector(".ql-tooltip-arrow");if(i.style.marginLeft="",0===n)return n;i.style.marginLeft=-1*n-i.offsetWidth/2+"px"}}]),t}(u.BaseTooltip);_.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=_,t.default=v},function(e,t,n){e.exports=n(63)}])["default"]}))}).call(this,n("257d").Buffer)},8030:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
219
219
|
//! moment.js locale configuration
|
220
|
-
var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},
|
220
|
+
var t=e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:0,doy:6}});return t}))},8321:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
221
221
|
//! moment.js locale configuration
|
222
222
|
var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},n={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function r(e,t,n,r){var i="";if(t)switch(n){case"s":i="काही सेकंद";break;case"ss":i="%d सेकंद";break;case"m":i="एक मिनिट";break;case"mm":i="%d मिनिटे";break;case"h":i="एक तास";break;case"hh":i="%d तास";break;case"d":i="एक दिवस";break;case"dd":i="%d दिवस";break;case"M":i="एक महिना";break;case"MM":i="%d महिने";break;case"y":i="एक वर्ष";break;case"yy":i="%d वर्षे";break}else switch(n){case"s":i="काही सेकंदां";break;case"ss":i="%d सेकंदां";break;case"m":i="एका मिनिटा";break;case"mm":i="%d मिनिटां";break;case"h":i="एका तासा";break;case"hh":i="%d तासां";break;case"d":i="एका दिवसा";break;case"dd":i="%d दिवसां";break;case"M":i="एका महिन्या";break;case"MM":i="%d महिन्यां";break;case"y":i="एका वर्षा";break;case"yy":i="%d वर्षां";break}return i.replace(/%d/i,e)}var i=e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}});return i}))},8506:function(e,t,n){"use strict";var r=n("5632"),i=n("b3e1"),o=n("5e03"),s=n("26a4"),a=n("2f8a"),l=n("43c5"),u=Object.assign;e.exports=!u||n("38d7")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r}))?function(e,t){var n=a(e),u=arguments.length,c=1,d=o.f,h=s.f;while(u>c){var f,p=l(arguments[c++]),m=d?i(p).concat(d(p)):i(p),y=m.length,g=0;while(y>g)f=m[g++],r&&!h.call(p,f)||(n[f]=p[f])}return n}:u},"85ab":function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
223
223
|
//! moment.js locale configuration
|
@@ -259,7 +259,7 @@ function t(e,t,n,r){var i={s:["mõne sekundi","mõni sekund","paar sekundit"],ss
|
|
259
259
|
//! moment.js locale configuration
|
260
260
|
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:n?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:n?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"};return"m"===r?n?"хвилина":"хвилину":"h"===r?n?"година":"годину":e+" "+t(i[r],+e)}function r(e,t){var n,r={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?r["nominative"].slice(1,7).concat(r["nominative"].slice(0,1)):e?(n=/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative",r[n][e.day()]):r["nominative"]}function i(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}var o=e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:r,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:i("[Сьогодні "),nextDay:i("[Завтра "),lastDay:i("[Вчора "),nextWeek:i("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[Минулої] dddd [").call(this);case 1:case 2:case 4:return i("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:n,m:n,mm:n,h:"годину",hh:n,d:"день",dd:n,M:"місяць",MM:n,y:"рік",yy:n},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}});return o}))},a730:function(e,t,n){"use strict";var r=n("5595"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},a88e:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
261
261
|
//! moment.js locale configuration
|
262
|
-
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i=e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,n){return e<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},a99f:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},aa55:function(e,t,n){var r=n("2073"),i=n("a99f"),o="__core-js_shared__",s=i[o]||(i[o]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("b369")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},aaa0:function(e,t,n){"use strict";n("56d3")},
|
262
|
+
var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},n={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},r=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"],i=e.defineLocale("ku",{months:r,monthsShort:r,weekdays:"یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه".split("_"),weekdaysShort:"یهكشهم_دووشهم_سێشهم_چوارشهم_پێنجشهم_ههینی_شهممه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره|بهیانی/,isPM:function(e){return/ئێواره/.test(e)},meridiem:function(e,t,n){return e<12?"بهیانی":"ئێواره"},calendar:{sameDay:"[ئهمرۆ كاتژمێر] LT",nextDay:"[بهیانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له %s",past:"%s",s:"چهند چركهیهك",ss:"چركه %d",m:"یهك خولهك",mm:"%d خولهك",h:"یهك كاتژمێر",hh:"%d كاتژمێر",d:"یهك ڕۆژ",dd:"%d ڕۆژ",M:"یهك مانگ",MM:"%d مانگ",y:"یهك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return n[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}});return i}))},a99f:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},aa55:function(e,t,n){var r=n("2073"),i=n("a99f"),o="__core-js_shared__",s=i[o]||(i[o]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("b369")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},aaa0:function(e,t,n){"use strict";n("56d3")},ac06:function(e,t,n){},ac87:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
263
263
|
//! moment.js locale configuration
|
264
264
|
var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,r=e>=100?100:null;return e+(t[e]||t[n]||t[r])},week:{dow:1,doy:7}});return n}))},acf0:function(e,t,n){"use strict";t.__esModule=!0,t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var r="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};t.noop=u,t.hasOwn=c,t.toObject=h,t.getPropByPath=f,t.rafThrottle=b,t.objToArray=v,t.isArrayAContainedInB=_,t.isArrayAContainedIn2DArrayB=w,t.isInArray=x;var i=n("8bbf"),o=a(i),s=n("168a");function a(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function h(e){for(var t={},n=0;n<e.length;n++)e[n]&&d(t,e[n]);return t}t.getValueByPath=function(e,t){t=t||"";for(var n=t.split("."),r=e,i=null,o=0,s=n.length;o<s;o++){var a=n[o];if(!r)break;if(o===s-1){i=r[a];break}r=r[a]}return i};function f(e,t,n){var r=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var i=t.split("."),o=0,s=i.length;o<s-1;++o){if(!r&&!n)break;var a=i[o];if(!(a in r)){if(n)throw new Error("please transfer a valid prop path to form item!");break}r=r[a]}return{o:r,k:i[o],v:r?r[i[o]]:null}}t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var n=0;n!==e.length;++n)if(e[n]!==t[n])return!1;return!0},t.escapeRegexpString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var p=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},m=(t.arrayFind=function(e,t){var n=p(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":r(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var r=e[t];t&&r&&n.forEach((function(n){e[n+t]=r}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,s.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,s.isObject)(e),r=(0,s.isObject)(t);return n&&r?JSON.stringify(e)===JSON.stringify(t):!n&&!r&&String(e)===String(t)}),y=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!m(e[n],t[n]))return!1;return!0},g=(t.isEqual=function(e,t){return Array.isArray(e)&&Array.isArray(t)?y(e,t):m(e,t)},t.isEmpty=function(e){if(null==e)return!0;if("boolean"===typeof e)return!1;if("number"===typeof e)return!e;if(e instanceof Error)return""===e.message;switch(Object.prototype.toString.call(e)){case"[object String]":case"[object Array]":return!e.length;case"[object File]":case"[object Map]":case"[object Set]":return!e.size;case"[object Object]":return!Object.keys(e).length}return!1});function b(e){var t=!1;return function(){for(var n=this,r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];t||(t=!0,window.requestAnimationFrame((function(r){e.apply(n,i),t=!1})))}}function v(e){return Array.isArray(e)?e:g(e)?[]:[e]}function _(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=0;n<e.length;n++)if(!t.includes(e[n]))return!1;return!0}function w(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=new Set(t.flat()),r=0;r<e.length;r++)if(!n.has(e[r]))return!1;return!0}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.includes(e)}},acf7:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
265
265
|
//! moment.js locale configuration
|
@@ -308,7 +308,7 @@ var t=e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మ
|
|
308
308
|
//! moment.js locale configuration
|
309
309
|
function t(e,t){var n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]}function n(e,n,r){var i={ss:n?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:n?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"};return"m"===r?n?"минута":"минуту":e+" "+t(i[r],+e)}var r=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i],i=e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:r,longMonthsParse:r,shortMonthsParse:r,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:n,m:n,mm:n,h:"час",hh:n,d:"день",dd:n,w:"неделя",ww:n,M:"месяц",MM:n,y:"год",yy:n},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,n){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}});return i}))},bbe9:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
310
310
|
//! moment.js locale configuration
|
311
|
-
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},bdc4:function(e,t,n){"use strict";var r=n("5595");e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),r.forEach(o,(function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])})),r.forEach(s,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}));var a=i.concat(o).concat(s),l=Object.keys(t).filter((function(e){return-1===a.indexOf(e)}));return r.forEach(l,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])})),n}},c08e:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
311
|
+
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},bd13:function(e,t,n){"use strict";n("4a19")},bdc4:function(e,t,n){"use strict";var r=n("5595");e.exports=function(e,t){t=t||{};var n={},i=["url","method","params","data"],o=["headers","auth","proxy"],s=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(i,(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),r.forEach(o,(function(i){r.isObject(t[i])?n[i]=r.deepMerge(e[i],t[i]):"undefined"!==typeof t[i]?n[i]=t[i]:r.isObject(e[i])?n[i]=r.deepMerge(e[i]):"undefined"!==typeof e[i]&&(n[i]=e[i])})),r.forEach(s,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}));var a=i.concat(o).concat(s),l=Object.keys(t).filter((function(e){return-1===a.indexOf(e)}));return r.forEach(l,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])})),n}},c08e:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
312
312
|
//! moment.js locale configuration
|
313
313
|
var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"},n=e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"öö":"ÖÖ":n?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var r=e%10,i=e%100-r,o=e>=100?100:null;return e+(t[r]||t[i]||t[o])}},week:{dow:1,doy:7}});return n}))},c0ad:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
314
314
|
//! moment.js locale configuration
|
@@ -330,7 +330,7 @@ var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-
|
|
330
330
|
//! moment.js locale configuration
|
331
331
|
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],i=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,o=e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return o}))},ce55:function(e,t,n){var r={"./af":"7709","./af.js":"7709","./ar":"e2bc","./ar-dz":"12dc","./ar-dz.js":"12dc","./ar-kw":"26fb","./ar-kw.js":"26fb","./ar-ly":"7864","./ar-ly.js":"7864","./ar-ma":"172a","./ar-ma.js":"172a","./ar-sa":"592a","./ar-sa.js":"592a","./ar-tn":"d4a6","./ar-tn.js":"d4a6","./ar.js":"e2bc","./az":"cc48","./az.js":"cc48","./be":"aff0","./be.js":"aff0","./bg":"b95c","./bg.js":"b95c","./bm":"036d","./bm.js":"036d","./bn":"b682","./bn-bd":"18c0","./bn-bd.js":"18c0","./bn.js":"b682","./bo":"871a","./bo.js":"871a","./br":"6390","./br.js":"6390","./bs":"aec3","./bs.js":"aec3","./ca":"1c56","./ca.js":"1c56","./cs":"76fc","./cs.js":"76fc","./cv":"41bf","./cv.js":"41bf","./cy":"8c0c","./cy.js":"8c0c","./da":"978e","./da.js":"978e","./de":"0c45","./de-at":"03bc","./de-at.js":"03bc","./de-ch":"b55a","./de-ch.js":"b55a","./de.js":"0c45","./dv":"4409","./dv.js":"4409","./el":"651c","./el.js":"651c","./en-au":"8714","./en-au.js":"8714","./en-ca":"afd6","./en-ca.js":"afd6","./en-gb":"8d46","./en-gb.js":"8d46","./en-ie":"b191","./en-ie.js":"b191","./en-il":"d4b4","./en-il.js":"d4b4","./en-in":"8030","./en-in.js":"8030","./en-nz":"8e11","./en-nz.js":"8e11","./en-sg":"1c51","./en-sg.js":"1c51","./eo":"48cd","./eo.js":"48cd","./es":"e62b","./es-do":"8c83","./es-do.js":"8c83","./es-mx":"6c01","./es-mx.js":"6c01","./es-us":"6e5e","./es-us.js":"6e5e","./es.js":"e62b","./et":"99f6","./et.js":"99f6","./eu":"f6d5","./eu.js":"f6d5","./fa":"1c6e","./fa.js":"1c6e","./fi":"20f6","./fi.js":"20f6","./fil":"e913","./fil.js":"e913","./fo":"af02","./fo.js":"af02","./fr":"5d15","./fr-ca":"511a","./fr-ca.js":"511a","./fr-ch":"1d64","./fr-ch.js":"1d64","./fr.js":"5d15","./fy":"5951","./fy.js":"5951","./ga":"94ff","./ga.js":"94ff","./gd":"ccb3","./gd.js":"ccb3","./gl":"4eb3","./gl.js":"4eb3","./gom-deva":"4662","./gom-deva.js":"4662","./gom-latn":"dc0e","./gom-latn.js":"dc0e","./gu":"eb22","./gu.js":"eb22","./he":"f453","./he.js":"f453","./hi":"cb1b","./hi.js":"cb1b","./hr":"3b25","./hr.js":"3b25","./hu":"6014","./hu.js":"6014","./hy-am":"14a7","./hy-am.js":"14a7","./id":"94d8","./id.js":"94d8","./is":"e00e","./is.js":"e00e","./it":"466f","./it-ch":"b6a6","./it-ch.js":"b6a6","./it.js":"466f","./ja":"d846","./ja.js":"d846","./jv":"4341","./jv.js":"4341","./ka":"9844","./ka.js":"9844","./kk":"ac87","./kk.js":"ac87","./km":"b1f5","./km.js":"b1f5","./kn":"e073","./kn.js":"e073","./ko":"3d1d","./ko.js":"3d1d","./ku":"a88e","./ku.js":"a88e","./ky":"3b7a","./ky.js":"3b7a","./lb":"576c","./lb.js":"576c","./lo":"8d96","./lo.js":"8d96","./lt":"ad71","./lt.js":"ad71","./lv":"c12a","./lv.js":"c12a","./me":"c0ad","./me.js":"c0ad","./mi":"3d58","./mi.js":"3d58","./mk":"192b","./mk.js":"192b","./ml":"71fb","./ml.js":"71fb","./mn":"fd7c","./mn.js":"fd7c","./mr":"8321","./mr.js":"8321","./ms":"3993","./ms-my":"70cb","./ms-my.js":"70cb","./ms.js":"3993","./mt":"0cdf","./mt.js":"0cdf","./my":"c1d8","./my.js":"c1d8","./nb":"c1a6","./nb.js":"c1a6","./ne":"9883","./ne.js":"9883","./nl":"ce50","./nl-be":"bbe9","./nl-be.js":"bbe9","./nl.js":"ce50","./nn":"ea41","./nn.js":"ea41","./oc-lnc":"ebd1","./oc-lnc.js":"ebd1","./pa-in":"f4e1","./pa-in.js":"f4e1","./pl":"d7be","./pl.js":"d7be","./pt":"29d9","./pt-br":"d016","./pt-br.js":"d016","./pt.js":"29d9","./ro":"5945","./ro.js":"5945","./ru":"bb76","./ru.js":"bb76","./sd":"b454","./sd.js":"b454","./se":"85ab","./se.js":"85ab","./si":"54a3","./si.js":"54a3","./sk":"e1a8","./sk.js":"e1a8","./sl":"d3b5","./sl.js":"d3b5","./sq":"acf7","./sq.js":"acf7","./sr":"d519","./sr-cyrl":"667a","./sr-cyrl.js":"667a","./sr.js":"d519","./ss":"0188","./ss.js":"0188","./sv":"b463","./sv.js":"b463","./sw":"421a","./sw.js":"421a","./ta":"e68a","./ta.js":"e68a","./te":"bb0e","./te.js":"bb0e","./tet":"92a5","./tet.js":"92a5","./tg":"ade5","./tg.js":"ade5","./th":"c88a","./th.js":"c88a","./tk":"f06a","./tk.js":"f06a","./tl-ph":"2a09","./tl-ph.js":"2a09","./tlh":"431f","./tlh.js":"431f","./tr":"c08e","./tr.js":"c08e","./tzl":"d5bb","./tzl.js":"d5bb","./tzm":"732c","./tzm-latn":"5d93","./tzm-latn.js":"5d93","./tzm.js":"732c","./ug-cn":"6964","./ug-cn.js":"6964","./uk":"a478","./uk.js":"a478","./ur":"aef9","./ur.js":"aef9","./uz":"7845","./uz-latn":"04c5","./uz-latn.js":"04c5","./uz.js":"7845","./vi":"f51e","./vi.js":"f51e","./x-pseudo":"88f9","./x-pseudo.js":"88f9","./yo":"3379","./yo.js":"3379","./zh-cn":"b914","./zh-cn.js":"b914","./zh-hk":"792b","./zh-hk.js":"792b","./zh-mo":"87c2","./zh-mo.js":"87c2","./zh-tw":"96d7","./zh-tw.js":"96d7"};function i(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id="ce55"},ce7d:function(e,t,n){(function(t,r){e.exports=r(n("7d78"))})("undefined"!==typeof self&&self,(function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"01f9":function(e,t,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),l=n("41a0"),u=n("7f20"),c=n("38fd"),d=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",y=function(){return this};e.exports=function(e,t,n,g,b,v,_){l(n,t,g);var w,x,k,S=function(e){if(!h&&e in C)return C[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},M=t+" Iterator",j=b==m,T=!1,C=e.prototype,O=C[d]||C[f]||b&&C[b],D=O||S(b),L=b?j?S("entries"):D:void 0,E="Array"==t&&C.entries||O;if(E&&(k=c(E.call(new e)),k!==Object.prototype&&k.next&&(u(k,M,!0),r||"function"==typeof k[d]||s(k,d,y))),j&&O&&O.name!==m&&(T=!0,D=function(){return O.call(this)}),r&&!_||!h&&!T&&C[d]||s(C,d,D),a[t]=D,a[M]=y,b)if(w={values:j?D:S(m),keys:v?D:S(p),entries:L},_)for(x in w)x in C||o(C,x,w[x]);else i(i.P+i.F*(h||T),t,w);return w}},"02f4":function(e,t,n){var r=n("4588"),i=n("be13");e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),l=r(n),u=a.length;return l<0||l>=u?e?"":void 0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===u||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):o:e?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var r=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"0bfb":function(e,t,n){"use strict";var r=n("cb7c");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var r=n("ce10"),i=n("e11e");e.exports=Object.keys||function(e){return r(e,i)}},1495:function(e,t,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){i(e);var n,s=o(t),a=s.length,l=0;while(a>l)r.f(e,n=s[l++],t[n]);return e}},"214f":function(e,t,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),l=n("520a"),u=a("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=a(e),f=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),p=f?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!t})):void 0;if(!f||!p||"replace"===e&&!c||"split"===e&&!d){var m=/./[h],y=n(s,h,""[e],(function(e,t,n,r,i){return t.exec===l?f&&!i?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),g=y[0],b=y[1];r(String.prototype,e,g),i(RegExp.prototype,h,2==t?function(e,t){return b.call(e,this,t)}:function(e){return b.call(e,this)})}}},"230e":function(e,t,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},"23c6":function(e,t,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=s(t=Object(e),i))?n:o?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},2621:function(e,t){t.f=Object.getOwnPropertySymbols},"2aba":function(e,t,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),l="toString",u=(""+a).split(l);n("8378").inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,a){var l="function"==typeof n;l&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(l&&(o(n,s)||i(n,s,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:a?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(e,t,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},l="prototype",u=function(){var e,t=n("230e")("iframe"),r=o.length,i="<",s=">";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+s+"document.F=Object"+i+"/script"+s),e.close(),u=e.F;while(r--)delete u[l][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(a[l]=r(e),n=new a,a[l]=null,n[s]=e):n=u(),void 0===t?n:i(n,t)}},"2b4c":function(e,t,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=e.exports=function(e){return r[e]||(r[e]=s&&o[e]||(s?o:i)("Symbol."+e))};a.store=r},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"2fdb":function(e,t,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(e){return!!~i(this,e,o).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,t,n){var r=n("86cc"),i=n("4630");e.exports=n("9e1e")?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},"38fd":function(e,t,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"41a0":function(e,t,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(s,{next:i(1,n)}),o(e,t+" Iterator")}},"456d":function(e,t,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(e){return i(r(e))}}))},4588:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"4bf8":function(e,t,n){var r=n("be13");e.exports=function(e){return Object(r(e))}},5147:function(e,t,n){var r=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(i){}}return!0}},"520a":function(e,t,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,a="lastIndex",l=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e[a]||0!==t[a]}(),u=void 0!==/()??/.exec("")[1],c=l||u;c&&(s=function(e){var t,n,s,c,d=this;return u&&(n=new RegExp("^"+d.source+"$(?!\\s)",r.call(d))),l&&(t=d[a]),s=i.call(d,e),l&&s&&(d[a]=d.global?s.index+s[0].length:t),u&&s&&s.length>1&&o.call(s[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(s[c]=void 0)})),s}),e.exports=s},"52a7":function(e,t){t.f={}.propertyIsEnumerable},5537:function(e,t,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,t,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),l="prototype",u=function(e,t,n){var c,d,h,f,p=e&u.F,m=e&u.G,y=e&u.S,g=e&u.P,b=e&u.B,v=m?r:y?r[t]||(r[t]={}):(r[t]||{})[l],_=m?i:i[t]||(i[t]={}),w=_[l]||(_[l]={});for(c in m&&(n=t),n)d=!p&&v&&void 0!==v[c],h=(d?v:n)[c],f=b&&d?a(h,r):g&&"function"==typeof h?a(Function.call,h):h,v&&s(v,c,h,e&u.U),_[c]!=h&&o(_,c,f),g&&w[c]!=h&&(w[c]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},"5eda":function(e,t,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},"5f1b":function(e,t,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},"613b":function(e,t,n){var r=n("5537")("keys"),i=n("ca5a");e.exports=function(e){return r[e]||(r[e]=i(e))}},"626a":function(e,t,n){var r=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},6762:function(e,t,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},6821:function(e,t,n){var r=n("626a"),i=n("be13");e.exports=function(e){return r(i(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(e,t,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),s=n("4bf8"),a=n("626a"),l=Object.assign;e.exports=!l||n("79e5")((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){var n=s(e),l=arguments.length,u=1,c=i.f,d=o.f;while(l>u){var h,f=a(arguments[u++]),p=c?r(f).concat(c(f)):r(f),m=p.length,y=0;while(m>y)d.call(f,h=p[y++])&&(n[h]=f[h])}return n}:l},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(e,t,n){var r=n("4588"),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7f20":function(e,t,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},8378:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"84f2":function(e,t){e.exports={}},"86cc":function(e,t,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return s(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"9b43":function(e,t,n){var r=n("d8e8");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),e.exports=function(e){i[r][e]=!0}},"9def":function(e,t,n){var r=n("4588"),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a352:function(t,n){t.exports=e},a481:function(e,t,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),l=n("5f1b"),u=Math.max,c=Math.min,d=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,p=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,(function(e,t,n,m){return[function(r,i){var o=e(this),s=void 0==r?void 0:r[t];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=m(n,e,this,t);if(i.done)return i.value;var d=r(e),h=String(this),f="function"===typeof t;f||(t=String(t));var g=d.global;if(g){var b=d.unicode;d.lastIndex=0}var v=[];while(1){var _=l(d,h);if(null===_)break;if(v.push(_),!g)break;var w=String(_[0]);""===w&&(d.lastIndex=a(h,o(d.lastIndex),b))}for(var x="",k=0,S=0;S<v.length;S++){_=v[S];for(var M=String(_[0]),j=u(c(s(_.index),h.length),0),T=[],C=1;C<_.length;C++)T.push(p(_[C]));var O=_.groups;if(f){var D=[M].concat(T,j,h);void 0!==O&&D.push(O);var L=String(t.apply(void 0,D))}else L=y(M,h,j,T,O,t);j>=k&&(x+=h.slice(k,j)+L,k=j+M.length)}return x+h.slice(k)}];function y(e,t,r,o,s,a){var l=r+e.length,u=o.length,c=f;return void 0!==s&&(s=i(s),c=h),n.call(a,c,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":a=s[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>u){var h=d(c/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}a=o[c-1]}return void 0===a?"":a}))}}))},aae3:function(e,t,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},ac6a:function(e,t,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),l=n("84f2"),u=n("2b4c"),c=u("iterator"),d=u("toStringTag"),h=l.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(f),m=0;m<p.length;m++){var y,g=p[m],b=f[g],v=s[g],_=v&&v.prototype;if(_&&(_[c]||a(_,c,h),_[d]||a(_,d,g),l[g]=h,b))for(y in r)_[y]||o(_,y,r[y],!0)}},b0c5:function(e,t,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,t,n){var r=n("6821"),i=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,s){var a,l=r(t),u=i(l.length),c=o(s,u);if(e&&n!=n){while(u>c)if(a=l[c++],a!=a)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},c649:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return l}));n("a481");function r(){return"undefined"!==typeof window?window.console:e.console}var i=r();function o(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var s=/-(\w)/g,a=o((function(e){return e.replace(s,(function(e,t){return t?t.toUpperCase():""}))}));function l(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function u(e,t,n){var r=0===n?e.children[0]:e.children[n-1].nextSibling;e.insertBefore(t,r)}}).call(this,n("c8ba"))},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},ca5a:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},cadf:function(e,t,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),s=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=s(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,t,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");e.exports=function(e,t){var n,a=i(e),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(t.length>l)r(a,n=t[l++])&&(~o(u,n)||u.push(n));return u}},d2c8:function(e,t,n){var r=n("aae3"),i=n("be13");e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,t,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),s="startsWith",a=""[s];r(r.P+r.F*n("5147")(s),"String",{startsWith:function(e){var t=o(this,e,s),n=i(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(r){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},f751:function(e,t,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var r=n("7726").document;e.exports=r&&r.documentElement},fb15:function(e,t,n){"use strict";var r;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));n("f751"),n("f559"),n("ac6a"),n("cadf"),n("456d");function i(e){if(Array.isArray(e))return e}function o(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done);r=!0)if(n.push(s.value),t&&n.length===t)break}catch(l){i=!0,o=l}finally{try{r||null==a["return"]||a["return"]()}finally{if(i)throw o}}return n}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.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)?s(e,t):void 0}}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function u(e,t){return i(e)||o(e,t)||a(e,t)||l()}n("6762"),n("2fdb");function c(e){if(Array.isArray(e))return s(e)}function d(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function h(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e){return c(e)||d(e)||a(e)||h()}var p=n("a352"),m=n.n(p),y=n("c649");function g(e,t,n){return void 0===n||(e=e||{},e[t]=n),e}function b(e,t){return e.map((function(e){return e.elm})).indexOf(t)}function v(e,t,n,r){if(!e)return[];var i=e.map((function(e){return e.elm})),o=t.length-r,s=f(t).map((function(e,t){return t>=o?i.length:i.indexOf(e)}));return n?s.filter((function(e){return-1!==e})):s}function _(e,t){var n=this;this.$nextTick((function(){return n.$emit(e.toLowerCase(),t)}))}function w(e){var t=this;return function(n){null!==t.realList&&t["onDrag"+e](n),_.call(t,e,n)}}function x(e){return["transition-group","TransitionGroup"].includes(e)}function k(e){if(!e||1!==e.length)return!1;var t=u(e,1),n=t[0].componentOptions;return!!n&&x(n.tag)}function S(e,t,n){return e[n]||(t[n]?t[n]():void 0)}function M(e,t,n){var r=0,i=0,o=S(t,n,"header");o&&(r=o.length,e=e?[].concat(f(o),f(e)):f(o));var s=S(t,n,"footer");return s&&(i=s.length,e=e?[].concat(f(e),f(s)):f(s)),{children:e,headerOffset:r,footerOffset:i}}function j(e,t){var n=null,r=function(e,t){n=g(n,e,t)},i=Object.keys(e).filter((function(e){return"id"===e||e.startsWith("data-")})).reduce((function(t,n){return t[n]=e[n],t}),{});if(r("attrs",i),!t)return n;var o=t.on,s=t.props,a=t.attrs;return r("on",o),r("props",s),Object.assign(n.attrs,a),n}var T=["Start","Add","Remove","Update","End"],C=["Choose","Unchoose","Sort","Filter","Clone"],O=["Move"].concat(T,C).map((function(e){return"on"+e})),D=null,L={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(e){return e}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},E={name:"draggable",inheritAttrs:!1,props:L,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(e){var t=this.$slots.default;this.transitionMode=k(t);var n=M(t,this.$slots,this.$scopedSlots),r=n.children,i=n.headerOffset,o=n.footerOffset;this.headerOffset=i,this.footerOffset=o;var s=j(this.$attrs,this.componentData);return e(this.getTag(),s,r)},created:function(){null!==this.list&&null!==this.value&&y["b"].error("Value and list props are mutually exclusive! Please set one or another."),"div"!==this.element&&y["b"].warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),void 0!==this.options&&y["b"].warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var e=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var t={};T.forEach((function(n){t["on"+n]=w.call(e,n)})),C.forEach((function(n){t["on"+n]=_.bind(e,n)}));var n=Object.keys(this.$attrs).reduce((function(t,n){return t[Object(y["a"])(n)]=e.$attrs[n],t}),{}),r=Object.assign({},this.options,n,t,{onMove:function(t,n){return e.onDragMove(t,n)}});!("draggable"in r)&&(r.draggable=">*"),this._sortable=new m.a(this.rootContainer,r),this.computeIndexes()},beforeDestroy:function(){void 0!==this._sortable&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(e){this.updateOptions(e)},deep:!0},$attrs:{handler:function(e){this.updateOptions(e)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var e=this._vnode.fnOptions;return e&&e.functional},getTag:function(){return this.tag||this.element},updateOptions:function(e){for(var t in e){var n=Object(y["a"])(t);-1===O.indexOf(n)&&this._sortable.option(n,e[t])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var e=this.$slots.default;return this.transitionMode?e[0].child.$slots.default:e},computeIndexes:function(){var e=this;this.$nextTick((function(){e.visibleIndexes=v(e.getChildrenNodes(),e.rootContainer.children,e.transitionMode,e.footerOffset)}))},getUnderlyingVm:function(e){var t=b(this.getChildrenNodes()||[],e);if(-1===t)return null;var n=this.realList[t];return{index:t,element:n}},getUnderlyingPotencialDraggableComponent:function(e){var t=e.__vue__;return t&&t.$options&&x(t.$options._componentTag)?t.$parent:!("realList"in t)&&1===t.$children.length&&"realList"in t.$children[0]?t.$children[0]:t},emitChanges:function(e){var t=this;this.$nextTick((function(){t.$emit("change",e)}))},alterList:function(e){if(this.list)e(this.list);else{var t=f(this.value);e(t),this.$emit("input",t)}},spliceList:function(){var e=arguments,t=function(t){return t.splice.apply(t,f(e))};this.alterList(t)},updatePosition:function(e,t){var n=function(n){return n.splice(t,0,n.splice(e,1)[0])};this.alterList(n)},getRelatedContextFromMoveEvent:function(e){var t=e.to,n=e.related,r=this.getUnderlyingPotencialDraggableComponent(t);if(!r)return{component:r};var i=r.realList,o={list:i,component:r};if(t!==n&&i&&r.getUnderlyingVm){var s=r.getUnderlyingVm(n);if(s)return Object.assign(s,o)}return o},getVmIndex:function(e){var t=this.visibleIndexes,n=t.length;return e>n-1?n:t[e]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(e){if(this.noTransitionOnDrag&&this.transitionMode){var t=this.getChildrenNodes();t[e].data=null;var n=this.getComponent();n.children=[],n.kept=void 0}},onDragStart:function(e){this.context=this.getUnderlyingVm(e.item),e.item._underlying_vm_=this.clone(this.context.element),D=e.item},onDragAdd:function(e){var t=e.item._underlying_vm_;if(void 0!==t){Object(y["d"])(e.item);var n=this.getVmIndex(e.newIndex);this.spliceList(n,0,t),this.computeIndexes();var r={element:t,newIndex:n};this.emitChanges({added:r})}},onDragRemove:function(e){if(Object(y["c"])(this.rootContainer,e.item,e.oldIndex),"clone"!==e.pullMode){var t=this.context.index;this.spliceList(t,1);var n={element:this.context.element,oldIndex:t};this.resetTransitionData(t),this.emitChanges({removed:n})}else Object(y["d"])(e.clone)},onDragUpdate:function(e){Object(y["d"])(e.item),Object(y["c"])(e.from,e.item,e.oldIndex);var t=this.context.index,n=this.getVmIndex(e.newIndex);this.updatePosition(t,n);var r={element:this.context.element,oldIndex:t,newIndex:n};this.emitChanges({moved:r})},updateProperty:function(e,t){e.hasOwnProperty(t)&&(e[t]+=this.headerOffset)},computeFutureIndex:function(e,t){if(!e.element)return 0;var n=f(t.to.children).filter((function(e){return"none"!==e.style["display"]})),r=n.indexOf(t.related),i=e.component.getVmIndex(r),o=-1!==n.indexOf(D);return o||!t.willInsertAfter?i:i+1},onDragMove:function(e,t){var n=this.move;if(!n||!this.realList)return!0;var r=this.getRelatedContextFromMoveEvent(e),i=this.context,o=this.computeFutureIndex(r,e);Object.assign(i,{futureIndex:o});var s=Object.assign({},e,{relatedContext:r,draggedContext:i});return n(s,t)},onDragEnd:function(){this.computeIndexes(),D=null}}};"undefined"!==typeof window&&"Vue"in window&&window.Vue.component("draggable",E);var A=E;t["default"]=A}})["default"]}))},ce92:function(e,t,n){"use strict";n("967e")},d016:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
332
332
|
//! moment.js locale configuration
|
333
|
-
var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t}))},d0fc:function(e,t,n){"use strict";var r=n("0081");e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},d13d:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=86)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},10:function(e,t){e.exports=n("2448")},2:function(e,t){e.exports=n("054e")},22:function(e,t){e.exports=n("488a")},30:function(e,t,n){"use strict";var r=n(2);t["a"]={bind:function(e,t,n){var i=null,o=void 0,s=function(){return n.context[t.expression].apply()},a=function(){Date.now()-o<100&&s(),clearInterval(i),i=null};Object(r["on"])(e,"mousedown",(function(e){0===e.button&&(o=Date.now(),Object(r["once"])(document,"mouseup",a),clearInterval(i),i=setInterval(s,100))}))}}},86:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.decrease(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.increase(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"up":"add")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.increase(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.decrease(t))}]}})],1)},i=[];r._withStripped=!0;var o=n(10),s=n.n(o),a=n(22),l=n.n(a),u=n(30),c={name:"ElInputNumber",mixins:[l()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:u["a"]},components:{ElInput:s.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),r=Math.pow(10,n);t=Math.round(t/this.step)*r*this.step/r}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,r=this.precision,i=n(t);return void 0!==r?(i>r&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),r):Math.max(n(e),i)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),r=0;return-1!==n&&(r=t.length-n-1),r},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},d=c,h=n(0),f=Object(h["a"])(d,r,i,!1,null,null,null),p=f.exports;p.install=function(e){e.component(p.name,p)};t["default"]=p}})},d307:function(e,t,n){n("fd27");for(var r=n("a99f"),i=n("0a2b"),o=n("f6fa"),s=n("757f")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var u=a[l],c=r[u],d=c&&c.prototype;d&&!d[s]&&i(d,s,u),o[u]=o.Array}},d3b5:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
333
|
+
var t=e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"});return t}))},d073:function(e,t,n){},d0fc:function(e,t,n){"use strict";var r=n("0081");e.exports=function(e,t,n){var i=n.config.validateStatus;!i||i(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},d13d:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=86)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},10:function(e,t){e.exports=n("2448")},2:function(e,t){e.exports=n("054e")},22:function(e,t){e.exports=n("488a")},30:function(e,t,n){"use strict";var r=n(2);t["a"]={bind:function(e,t,n){var i=null,o=void 0,s=function(){return n.context[t.expression].apply()},a=function(){Date.now()-o<100&&s(),clearInterval(i),i=null};Object(r["on"])(e,"mousedown",(function(e){0===e.button&&(o=Date.now(),Object(r["once"])(document,"mouseup",a),clearInterval(i),i=setInterval(s,100))}))}}},86:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.decrease(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"down":"minus")})]):e._e(),e.controls?n("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.increase(t)}}},[n("i",{class:"el-icon-"+(e.controlsAtRight?"up":"add")})]):e._e(),n("el-input",{ref:"input",attrs:{value:e.displayValue,placeholder:e.placeholder,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,input:e.handleInput,change:e.handleInputChange},nativeOn:{keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.increase(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.decrease(t))}]}})],1)},i=[];r._withStripped=!0;var o=n(10),s=n.n(o),a=n(22),l=n.n(a),u=n(30),c={name:"ElInputNumber",mixins:[l()("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:u["a"]},components:{ElInput:s.a},props:{step:{type:Number,default:1},stepStrictly:{type:Boolean,default:!1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String,placeholder:String,precision:{type:Number,validator:function(e){return e>=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),r=Math.pow(10,n);t=Math.round(t/this.step)*r*this.step/r}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,r=this.precision,i=n(t);return void 0!==r?(i>r&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),r):Math.max(n(e),i)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),r=0;return-1!==n&&(r=t.length-n-1),r},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},d=c,h=n(0),f=Object(h["a"])(d,r,i,!1,null,null,null),p=f.exports;p.install=function(e){e.component(p.name,p)};t["default"]=p}})},d307:function(e,t,n){n("fd27");for(var r=n("a99f"),i=n("0a2b"),o=n("f6fa"),s=n("757f")("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<a.length;l++){var u=a[l],c=r[u],d=c&&c.prototype;d&&!d[s]&&i(d,s,u),o[u]=o.Array}},d3b5:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
334
334
|
//! moment.js locale configuration
|
335
335
|
function t(e,t,n,r){var i=e+" ";switch(n){case"s":return t||r?"nekaj sekund":"nekaj sekundami";case"ss":return i+=1===e?t?"sekundo":"sekundi":2===e?t||r?"sekundi":"sekundah":e<5?t||r?"sekunde":"sekundah":"sekund",i;case"m":return t?"ena minuta":"eno minuto";case"mm":return i+=1===e?t?"minuta":"minuto":2===e?t||r?"minuti":"minutama":e<5?t||r?"minute":"minutami":t||r?"minut":"minutami",i;case"h":return t?"ena ura":"eno uro";case"hh":return i+=1===e?t?"ura":"uro":2===e?t||r?"uri":"urama":e<5?t||r?"ure":"urami":t||r?"ur":"urami",i;case"d":return t||r?"en dan":"enim dnem";case"dd":return i+=1===e?t||r?"dan":"dnem":2===e?t||r?"dni":"dnevoma":t||r?"dni":"dnevi",i;case"M":return t||r?"en mesec":"enim mesecem";case"MM":return i+=1===e?t||r?"mesec":"mesecem":2===e?t||r?"meseca":"mesecema":e<5?t||r?"mesece":"meseci":t||r?"mesecev":"meseci",i;case"y":return t||r?"eno leto":"enim letom";case"yy":return i+=1===e?t||r?"leto":"letom":2===e?t||r?"leti":"letoma":e<5?t||r?"leta":"leti":t||r?"let":"leti",i}}var n=e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return n}))},d4a6:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
336
336
|
//! moment.js locale configuration
|
@@ -346,7 +346,7 @@ var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_pa
|
|
346
346
|
//! moment.js locale configuration
|
347
347
|
var t=e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,n){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}});return t}))},d8fc:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},d907:function(e,t,n){"use strict";n("451f")},da80:function(e,t,n){"use strict";var r=n("5595"),i=n("7a30"),o=n("ff17"),s=n("dd96");function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){a(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]}));var t=e.adapter||s.adapter;return t(e).then((function(t){return a(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(a(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},dade:function(e,t,n){},daf8:function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"暂无数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},empty:{description:"暂无数据"}}}},dc0e:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
348
348
|
//! moment.js locale configuration
|
349
|
-
function t(e,t,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?i[n][0]:i[n][1]}var n=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n}))},dd5d:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("25aa");var o,s,a=n("e50b"),l=n.n(a),u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-table",class:{"bi-table__loading":e.loading}},[t("div",{staticClass:"bi-table-wrapper"},[t("el-table",e._g(e._b({directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"},{name:"sticky-header",rawName:"v-sticky-header",value:{offsetTop:e.stickyTop},expression:"{offsetTop:stickyTop}"},{name:"sticky-footer",rawName:"v-sticky-footer",value:{offsetBottom:e.stickyBottom},expression:"{offsetBottom:stickyBottom}"}],ref:"elTable",attrs:{data:e.data,"max-height":e.maxHeight},on:{"header-dblclick":e.handleHeaderClick}},"el-table",e.$attrs,!1),e.$listeners),[e._l(e.tbColumns,(function(n){return[n.slotScope&&n.slotScopeHeader?t("el-table-column",e._g(e._b({key:"a"+n.prop+n.label,scopedSlots:e._u([{key:"default",fn:function(t){return[e._t(n.prop,null,null,t)]}}],null,!0)},"el-table-column",n,!1),e.$listeners),[t("template",{slot:"header"},[e._t(n.prop+"_header"),t("BiTableHeaderPopper",{attrs:{prop:n.prop}})],2)],2):n.slotScope&&!n.slotScopeHeader?t("el-table-column",e._g(e._b({key:"b"+n.prop+n.label,scopedSlots:e._u([{key:"header",fn:function(r){return[n.headerRender?t("BiRender",{attrs:{scope:r,render:n.headerRender}}):t("span",[e._v(e._s(n.label))]),t("BiTableHeaderPopper",{attrs:{prop:n.prop}})]}},{key:"default",fn:function(t){return[e._t(n.prop,null,null,t)]}}],null,!0)},"el-table-column",n,!1),e.$listeners)):!n.slotScope&&n.slotScopeHeader&&n.render?t("el-table-column",e._g(e._b({key:"c"+n.prop+n.label,scopedSlots:e._u([{key:"default",fn:function(r){return[n.render?t("BiRender",{attrs:{scope:r,render:n.render}}):e._e()]}}],null,!0)},"el-table-column",n,!1),e.$listeners),[t("template",{slot:"header"},[e._t(n.prop+"_header"),t("BiTableHeaderPopper",{attrs:{prop:n.prop}})],2)],2):n.children?t("bi-column-group",e._b({key:"g"+n.prop+n.label+"1",attrs:{column:n}},"bi-column-group",e.$attrs,!1)):t("bi-column",e._b({key:"d"+n.prop+n.label+"1",attrs:{column:n}},"bi-column",e.$attrs,!1))]}))],2)],1),e.pagination?[e.data.length>0?t("pagination",e._g(e._b({attrs:{disabled:e.loading}},"pagination",e.$attrs,!1),e.$listeners)):e._e()]:e._e(),t("BiTableHeaderEdit",{ref:"BiTableHeaderEdit"})],2)},c=[],d=function(){var e=this,t=e._self._c;return t("el-table-column",e._g(e._b({scopedSlots:e._u([{key:"header",fn:function(n){return[e.column.headerRender?t("bi-render",{attrs:{scope:n,render:e.column.headerRender,type:"header"}}):t("span",[e._v(e._s(n.column.label)+" ")]),t("BiTableHeaderPopper",{attrs:{prop:e.column.prop}})]}},{key:"default",fn:function(n){return[e.column.component?t(e.column.component,e._g(e._b({tag:"component"},"component",e.getCptBind(n,e.column),!1),e.column.listeners)):e.column.children?e._l(e.column.children,(function(n){return t("bi-column",e._g({key:n.prop,attrs:{column:n}},e.$listeners))})):t("bi-render",{attrs:{scope:n,render:e.column.render}})]}}])},"el-table-column",e.column,!1),e.$listeners))},h=[],f={name:"BiRender",functional:!0,props:{scope:{type:Object,default:()=>({})},render:{type:Function,default:()=>()=>{}},type:{type:String,default:""}},render:(e,t)=>t.props.render?t.props.render(e,t.props.scope):""},p=f;function m(e,t,n,r,i,o,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}var y=m(p,o,s,!1,null,null,null),g=y.exports,b={selection:{renderHeader:function(e,{store:t}){return e("el-checkbox",{attrs:{disabled:t.states.data&&0===t.states.data.length,indeterminate:t.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},nativeOn:{click:this.toggleAllSelection}})},renderCell:function(e,{row:t,column:n,store:r,$index:i}){return e("el-checkbox",{nativeOn:{click:e=>e.stopPropagation()},attrs:{value:r.isSelected(t),disabled:!!n.selectable&&!n.selectable.call(null,t,i)},on:{input:()=>{r.commit("rowSelectedChanged",t)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(e,{column:t}){return t.label||"#"},renderCell:function(e,{$index:t,column:n}){let r=t+1;const i=n.index;return"number"===typeof i?r=t+i:"function"===typeof i&&(r=i(t)),e("div",[r])},sortable:!1},expand:{renderHeader:function(e,{column:t}){return t.label||""},renderCell:function(e,{row:t,store:n}){const r=["el-table__expand-icon"];n.states.expandRows.indexOf(t)>-1&&r.push("el-table__expand-icon--expanded");const i=function(e){e.stopPropagation(),n.toggleRowExpansion(t)};return e("div",{class:r,on:{click:i}},[e("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}},v=function(){var e=this,t=e._self._c;return t("span",{staticClass:"bi-tableheader"},[e.popperData.content||e.popperData.imgs?t("el-popover",{attrs:{placement:"top-start","min-width":"260","popper-class":"bi-tableheader-popper",trigger:"hover"}},[t("div",{staticClass:"tableheader-popper-box"},[t("div",{staticClass:"tableheader-popper-content-box"},[t("div",{staticClass:"tableheader-popper-content",domProps:{innerHTML:e._s(e.popperData.content||"")}}),e.fisrtImg?t("div",{staticClass:"tableheader-popper-img-box"},[t("div",{staticClass:"tableheader-popper-img"},[t("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:e.fisrtImg,"preview-src-list":e.popperData.imgs,alt:"点击查看大图",title:"点击查看大图"}}),t("span",[e._v("(1/"+e._s(e.imgsLenght)+")")])],1)]):e._e()]),e.popperData.update_time?t("div",{staticClass:"tableheader-popper-time"},[e._v(" 更新日期: "+e._s(e.popperData.update_time)+" ")]):e._e()]),t("i",{staticClass:"tableheader-popver-reference el-icon-question-fill",staticStyle:{color:"rgb(134, 144, 156)"},attrs:{slot:"reference"},slot:"reference"})]):e._e()],1)},_=[],w=(n("8bbf"),{nama:"BiTableHeaderPopper",props:{prop:{type:String,default:""}},inject:["biTable"],data(){return{popoperTagNode:null}},computed:{popperData(){const e=this.biTable.headerPopper.findPopperData(this.prop)||{};return e},fisrtImg(){return this.popperData.imgs&&this.popperData.imgs.length?this.popperData.imgs[0]:""},imgsLenght(){return this.popperData.imgs&&this.popperData.imgs.length?this.popperData.imgs.length:0}},methods:{getTagForPopoper(e){const t=["ElTooltip"];e.forEach(e=>{t.every(t=>e.tag&&e.tag.includes(t))&&(this.popoperTagNode=e),e.children&&this.getTagForPopoper(e.children)})},getTextForSlot(e){let t="";const n=e=>{e.children?e.children.forEach(e=>{e.text&&(t+=e.text),"br"===e.tag&&(t+="</br>"),e.children&&e.children.forEach(e=>{n(e)})}):("br"===e.tag&&(t+="</br>"),e.text&&(t+=e.text))};return n(e),t}}}),x=w,k=m(x,v,_,!1,null,null,null),S=k.exports;S.install=function(e){e.component(S.name,S)};var M=S,j={name:"BiColumn",components:{BiRender:g,BiTableHeaderPopper:M},props:{column:{type:Object,default:()=>{}}},watch:{column:{handler:"renderColumn",immediate:!0}},mounted(){},methods:{renderColumn(){this.$createElement;const{column:e}=this;return e.type&&(e.renderHeader=b[e.type].renderHeader,e.render=e.render||b[e.type].renderCell),e.formatter&&(e.render=(e,t)=>e("span",[t.column.formatter(t.row,t.column,t.row[t.column.property],t.$index)])),e.render||(e.render=(e,t)=>e("span",[t.row[t.column.property]])),e},getColBind(e){const t=Object.assign({},this.$attrs,e);return delete t.component,delete t.listeners,delete t.propsHandler,t},getCptBind({row:e,column:t},n){const r={row:e,col:n,column:t},i=n.propsHandler;return i&&i(r)||r}}},T=j,C=m(T,d,h,!1,null,null,null),O=C.exports,D=function(){var e=this,t=e._self._c;return t("el-table-column",e._b({},"el-table-column",e.column,!1),[e._l(e.column.children,(function(n){return[n.children?[t("BiColumnGroup",e._b({key:"g"+e.column.prop+e.column.label+n.prop+n.label+"1",attrs:{column:n}},"BiColumnGroup",e.$attrs,!1))]:t("bi-column",e._g({key:"c"+e.column.prop+e.column.label+n.prop+n.label+"1",attrs:{column:n}},e.$listeners))]}))],2)},L=[],E={name:"BiColumnGroup",components:{BiColumn:O},props:{column:{type:Object,default:()=>{}}},watch:{column:{handler:"renderColumn",immediate:!0}},mounted(){},methods:{renderColumn(){this.$createElement;const{column:e}=this;return e.type&&(e.renderHeader=b[e.type].renderHeader,e.render=e.render||b[e.type].renderCell),e.formatter&&(e.render=(e,t)=>e("span",[t.column.formatter(t.row,t.column,t.row[t.column.property],t.$index)])),e.render||(e.render=(e,t)=>e("span",[t.row[t.column.property]])),e.children,e},getColBind(e){const t=Object.assign({},this.$attrs,e);return delete t.component,delete t.listeners,delete t.propsHandler,t},getCptBind({row:e,column:t},n){const r={row:e,col:n,column:t},i=n.propsHandler;return i&&i(r)||r}}},A=E,P=m(A,D,L,!1,null,null,null),N=P.exports,Y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[t("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},I=[];Math.easeInOutQuad=function(e,t,n,r){return e/=r/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var R=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function F(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function $(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function B(e,t,n){const r=$(),i=e-r,o=20;let s=0;t="undefined"===typeof t?500:t;var a=function(){s+=o;var e=Math.easeInOutQuad(s,r,i,t);F(e),s<t?R(a):n&&"function"===typeof n&&n()};a()}var H={name:"BiPagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default(){return[10,20,30,50]}},layout:{type:String,default:"total, prev, pager, next"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get(){return this.page},set(e){this.$emit("update:page",e)}},pageSize:{get(){return this.limit},set(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&B(0,800)},handleCurrentChange(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&B(0,800)}}},q=H,z=m(q,Y,I,!1,null,null,null),V=z.exports;function W(e="authorization"){return l.a.get(e)}function U(e="$BiSystem"){return l.a.get(e)}function G(e="$BiEnv"){return l.a.get(e)}function K(e){for(var t=e||32,n="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",r=n.length,i="",o=0;o<t;o++)i+=n.charAt(Math.floor(Math.random()*r));var s=(new Date).getTime();return i+s}const X={stage:{noticeCenterWebsocket:{baseUrl:"wss://message.wanqudianchi.com/"},noticeCenter:{baseUrl:"https://message.wanqudianchi.com/"},downloadCenter:{baseUrl:"https://export.zwwlkj03.top"},zhangquan:{baseUrl:"https://zq.zwwlkj03.top/api/"}},prod:{noticeCenterWebsocket:{baseUrl:"wss://message.zwnet.cn/"},noticeCenter:{baseUrl:"https://message.zwnet.cn/"},downloadCenter:{baseUrl:"https://export.wozhangwan.com"},zhangquan:{baseUrl:"https://zq.wozhangwan.com/api/"}},dev:{noticeCenterWebsocket:{baseUrl:"wss://message.wanqudianchi.com/"},noticeCenter:{baseUrl:"/message-dev"},downloadCenter:{baseUrl:"/export-dev"},zhangquan:{baseUrl:"https://zq.zwwlkj03.top/api"}},release:{noticeCenterWebsocket:{baseUrl:"wss://message.wanqudianchi.com/"},noticeCenter:{baseUrl:"https://message.wanqudianchi.com/"},downloadCenter:{baseUrl:"https://export.zwwlkj03.top"},zhangquan:{baseUrl:"https://zq.zwwlkj03.top/api/"}}};X["staging"]=X["stage"],X["production"]=X["prod"],X["development"]=X["dev"];const J=(e="production")=>X[e]||X["production"];var Z=n("e2d4"),Q=n.n(Z),ee=n("61ed");const te=Q.a.create({baseURL:"",timeout:1e5});te.interceptors.request.use(e=>e,e=>(console.log(e),Promise.reject(e))),te.interceptors.response.use(e=>{const t=e.data;return 1!==t.status_code?(Object(ee["Message"])({message:t.msg||"Error",type:"error",duration:5e3}),t):t},e=>(console.log("err"+e),Object(ee["Message"])({message:e.msg,type:"error",duration:5e3}),Promise.reject(e)));var ne=te;class re{constructor(e){this.editEnabled=!1,this.popperData=[],this.module=e||"",this.authorization=W(),this.system=U(),this.$BiEnv=G(),this.baseUrl=J(this.$BiEnv||"").zhangquan.baseUrl,this.module&&this.getPopperList()}findPopperData(e){return this.module?this.popperData.find(t=>t.prop===e):{}}async getPopperList(){const e=await ne({url:this.baseUrl+"/common/table_head/list",method:"post",headers:{Authorization:this.authorization,System:this.system},data:{module:this.module}});1===e.status_code&&(this.editEnabled=e.data.super,this.popperData=e.data.data)}async savePopperData(e){return new Promise((t,n)=>{if(!this.editEnabled)return void t();const r={module:this.module,prop:e.prop,label:"",content:e.content,imgs:e.imgs||[]};e.id&&(r.id=e.id),ne({url:this.baseUrl+"/common/table_head/save",method:"post",headers:{Authorization:this.authorization,System:this.system},data:r}).then(e=>{1===e.status_code&&(t(),this.getPopperList())})})}async delPopperItem(e){return ne({url:this.baseUrl+"/common/table_head/del",method:"post",headers:{Authorization:this.authorization,System:this.system},data:{id:e}})}}var ie=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tableheader-popper-editdialog"},[t("el-dialog",{attrs:{visible:e.dialogVisible,title:"修改字段说明",width:"408px","custom-class":"tableheader-popper-editdialog","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t},closed:e.handleClosed}},[t("div",{staticClass:"tableheader-popper-editbox"},[t("el-form",{attrs:{model:e.popperData,"label-width":"80px"}},[t("el-form-item",{attrs:{label:"说明"}},[t("quill-editor",{ref:"myQuillEditor",attrs:{options:e.editorOption},on:{ready:function(t){return e.onEditorReady(t)},change:function(t){return e.onEditorChange(t)}},model:{value:e.popperData.content,callback:function(t){e.$set(e.popperData,"content",t)},expression:"popperData.content"}})],1),t("el-form-item",{attrs:{label:"截图"}},[t("el-upload",{ref:"Upload",attrs:{"list-type":"picture-card","http-request":e.httpRequest,action:"#","file-list":e.fileList,"on-success":e.success,"before-remove":e.beforeRemove,"before-upload":e.beforeUpload}},[t("i",{staticClass:"el-icon-add"})])],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e.popperData.id?t("el-button",{attrs:{type:"text"},on:{click:e.delePopper}},[e._v("清除提示")]):e._e(),t("div",{staticClass:"action-buttons"},[t("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary",disabled:e.uploadLoading,loading:e.saveLoading},on:{click:e.handleSave}},[e._v("确 定")])],1)],1)])],1)},oe=[],se=(n("3cbe"),n("7cc5"),n("536a"),n("0183"),n("511b")),ae=n("508e"),le=n.n(ae),ue=n("bb03"),ce=n.n(ue);function de(e,t,n){const r=W(),i=U(),o=G(),s=J(o||"").zhangquan.baseUrl,a={dir:"",region:"oss-cn-hangzhou",file:null,date:ce()().format("YYYYMMDD"),str:"",ext:null,secure:!0,pact:"https://"},l=Object.assign({},a,t);return l.file=e,l.ext=e.name.slice(e.name.lastIndexOf(".")+1),new Promise((function(e,t){ne({url:s+"/common/oss/stsToken",method:"post",headers:{Authorization:r,System:i}}).then(a=>{const{accessKeyId:u,accessKeySecret:c,securityToken:d,bucket:h,endpoint:f}=a.data,p=new le.a({region:l.region,accessKeyId:u,accessKeySecret:c,stsToken:d,bucket:h,secure:!0,endpoint:f,cname:!0,refreshSTSTokenInterval:3e5,refreshSTSToken:async()=>{const e=await ne({url:s+"/common/oss/stsToken",method:"post",headers:{Authorization:r,System:i}});return{accessKeyId:e.data.accessKeyId,accessKeySecret:e.data.accessKeySecret,stsToken:e.data.securityToken}}}),m=K(16)+"."+l.ext,y={progress:(e,t,r)=>{n&&n(e,t,r)},parallel:4};p.multipartUpload("/table_head"+("production"===o?"/production":"/staging")+l.dir+m,l.file,y).then(n=>{200===n.res.status?e({status_code:1,msg:"上传成功",data:f+n.name,config:l}):t({status_code:-1,msg:"上传失败,请稍后再试",data:n,config:l})}).catch(e=>{t({status_code:-1,msg:"上传失败",data:e,config:l})})})}))}var he={name:"BiTableHeaderPopperEdit",components:{quillEditor:se["quillEditor"]},data(){return{dialogVisible:!1,saveLoading:!1,uploadLoading:!1,popperData:{label:"",prop:"",content:"",imgs:[]},fileList:[],lastFileData:{},lastFile:{uid:"",url:""},editorOption:{placeholder:"在这里输入....",modules:{toolbar:[["bold","italic","underline","link",{align:[]},{color:[]},"clean"]],clipboard:{matchers:[[Node.ELEMENT_NODE,this.desMatcher]]}}}}},inject:["biTable"],computed:{editor(){return this.$refs.myQuillEditor.quill}},methods:{show(e){const t=this.biTable.headerPopper.findPopperData(e)||{label:"",prop:e,content:"",imgs:[]};this.$set(this,"popperData",Object.assign({},t)),this.dialogVisible=!0,this.$nextTick(()=>{this.fileList=t.imgs.map(e=>({name:e,url:e}))})},onEditorReady(e){},onEditorChange({quill:e,html:t,text:n}){this.popperData.content=t},desMatcher(e,t){const n=[];return t.ops.forEach(e=>{if(e.insert&&"string"===typeof e.insert){const t={insert:e.insert};e.attributes&&(t.attributes=e.attributes),n.push(t)}else e.insert.image&&console.log("图片不可粘贴,请使用图片上传按钮哦!")}),t.ops=n,t},handleSave(){this.saveLoading=!0,this.popperData.imgs=this.fileList.map(e=>e.url),this.biTable.headerPopper.savePopperData(this.popperData).then(()=>{this.saveLoading=!1,this.dialogVisible=!1})},async httpRequest(e){const t={dir:"/"};try{const n=e=>{this.uploadLoading=!0,100*e===100&&(this.uploadLoading=!1,Object(ee["Message"])({message:"上传成功",type:"success"}))};Object(ee["Message"])({message:"上传中",type:"info"});const r=await de(e.file,t,n);1===r.status_code&&(this.lastFile.url=r.data)}catch(n){}},beforeUpload(e){return this.$set(this,"lastFileData",e),this.lastFile.uid="",this.lastFile.url="",e&&e.uid&&(this.lastFileData.percentage=0,this.lastFileData.status="uploading",this.lastFile.uid=e.uid),!0},beforeRemove(e,t){return this.fileList=t.filter(t=>t.uid!==e.uid),!0},success(e,t,n){const r=n.find(e=>e.uid===this.lastFile.uid);r&&(r.url=this.lastFile.url),this.fileList=n},handleClosed(){this.fileList=[],this.saveLoading=!1},delePopper(){this.biTable.headerPopper.delPopperItem(this.popperData.id).then(e=>{1===e.status_code&&Object(ee["Message"])({message:"清除成功",type:"success"}),this.biTable.headerPopper.getPopperList(),this.dialogVisible=!1,this.uploadLoading=!1})}}},fe=he,pe=m(fe,ie,oe,!1,null,null,null),me=pe.exports,ye={name:"BiTable",components:{Pagination:V,BiRender:g,BiColumn:O,BiColumnGroup:N,BiTableHeaderEdit:me,BiTableHeaderPopper:M},props:{data:{type:Array,default:()=>[]},column:{type:Array,default:()=>[]},columnsProps:{type:Object,default:()=>({})},loading:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},fixed:{type:String,default:""},fixedOffset:{type:[String,Number],default:""},stickyTop:{type:[Number,String],default:50},stickyBottom:{type:Number,default:0},headerPopperType:{type:String,default:""}},provide(){return{biTable:this}},data(){return{maxHeight:null,headerStatus:!1,footerStatus:!1,headerPopper:new re(this.headerPopperType)}},computed:{tbColumns(){const{column:e,columnsProps:t}=this;return e.map(e=>{const n=this.formatColumn(e),r=Object.assign({},t,n);return r})},fixedHeader(){return this.fixed}},methods:{resetHeaderFooter(){"sticky"===this.fixedHeader?(this.handleStickyHeader(),Object.prototype.hasOwnProperty.call(this.$attrs,"show-summary")&&this.handleStickyFooter()):"fullscreen"===this.fixedHeader&&this.handleFixedHeader()},handleStickyHeader(){const e=Number(this.fixedOffset),t=this.$el.getBoundingClientRect().top;let n=0;this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",n=t<e&&t>=0?e-t-1:t<0?Math.abs(t)+e-1:0,n?(this.headerStatus||(this.headerStatus=!0,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="absolute",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.zIndex="2"),this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform=`translate(0px, ${n}px)`,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",this.$el.querySelector(".el-table__fixed")&&(this.$el.querySelector(".el-table__fixed").style.zIndex="3"),this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.transform=`translate(0px, ${n}px)`,this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right")&&(this.$el.querySelector(".el-table__fixed-right").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.transform=`translate(0px, ${n}px)`,this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.zIndex="4")):(this.headerStatus=!1,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.zIndex="5",this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.zIndex="5",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0")},handleStickyFooter(){const e=document.documentElement.clientHeight,t=this.$el.querySelector(".bi-table-wrapper").clientHeight,n=this.$el.getBoundingClientRect().top,r=e-n-t;Math.abs(n)+e<t||r<0?(this.footerStatus||(this.footerStatus=!0,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="absolute",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="2"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform=`translate(0px, ${r}px)`,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.querySelector(".el-table__fixed")&&(this.$el.querySelector(".el-table__fixed").style.zIndex="3"),this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform=`translate(0px, ${r}px)`,this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right")&&(this.$el.querySelector(".el-table__fixed-right").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform=`translate(0px, ${r}px)`,this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4")):(this.footerStatus=!1,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0")},resetStickyFooter(){this.footerStatus=!1,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0"},handleFixedHeader(){const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-Number(this.fixedOffset)-(this.pagination?72:0);Math.abs(t-this.maxHeight)>3&&(this.maxHeight=t),e<=Number(this.fixedOffset)+20&&e>=0?this.$el.querySelector(".bi-table-wrapper>.el-table>.el-table__body-wrapper").style.overflowY="auto":this.$el.querySelector(".bi-table-wrapper>.el-table>.el-table__body-wrapper").style.overflowY="hidden"},getElementTop(e){if(!e)return 0;let t=e.offsetTop,n=e.offsetParent;while(null!==n)t+=n.offsetTop,n=n.offsetParent;return t},formatColumn(e){const t=Object.assign({},e);return"function"===typeof t.width&&(t.width=t.width()),"function"===typeof t.minWidth&&(t.minWidth=t.minWidth()),t.renderHeader&&(t.headerRender=t.renderHeader,delete t.renderHeader),t.children&&(t.children=t.children.map(e=>this.formatColumn(e))),t},handleHeaderClick(e,t){t.preventDefault(),this.$refs.BiTableHeaderEdit&&this.$refs.BiTableHeaderEdit&&this.headerPopper&&this.headerPopper.editEnabled&&e.property&&this.$refs.BiTableHeaderEdit.show(e.property)}}},ge=ye,be=(n("4d33"),m(ge,u,c,!1,null,null,null)),ve=be.exports;ve.install=function(e){e.component(ve.name,ve)};var _e=ve,we=function(){var e=this,t=e._self._c;return t("el-button",{attrs:{type:e.type},on:{click:function(t){e.visible=!0}}},[t("template",{slot:"default"},[t("div",{staticClass:"custom-column-button"},[t("i",{staticClass:"el-icon-column"}),t("span",[e._v("自定义列")])])]),t("el-dialog",{attrs:{"custom-class":"bi-column-dialog",title:"自定义列",visible:e.visible,width:e.dialogWidth,top:"0vh","append-to-body":""},on:{"update:visible":function(t){e.visible=t},open:e.handleOpen,close:e.close}},[t("div",{staticClass:"dialog-body",staticStyle:{"min-height":"160px"}},[t("div",{staticClass:"bi-column-container"},[t("div",{staticClass:"checkbox-container"},[t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("div",{staticClass:"box-card-header"},[t("span",[e._v("可操作性的列")]),t("span",{staticStyle:{display:"inline-block"}},[t("el-checkbox",{attrs:{label:"全选"},on:{change:e.checkAll},model:{value:e.checkAllData,callback:function(t){e.checkAllData=t},expression:"checkAllData"}},[e._v(" 全选 ")])],1)])]),e._l(e.colList,(function(n,r){return t("div",{key:r,staticClass:"checkbox-group"},[t("p",{directives:[{name:"show",rawName:"v-show",value:e.colList.length>1,expression:"colList.length>1"}],staticClass:"checkbox-title"},[t("el-checkbox",{on:{change:t=>e.handleCheckGroupAllChange(t,n)},model:{value:n.status,callback:function(t){e.$set(n,"status",t)},expression:"item.status"}},[e._v(e._s(n.content))])],1),t("p",[t("el-checkbox-group",{attrs:{"true-label":1,"false-label":0},on:{change:function(t){return e.handleCheckGroupAll(n)}},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(n.children,(function(n,r){return t("el-checkbox",{key:r,staticStyle:{width:"120px",margin:"0 15px 15px 0"},attrs:{label:n.name}},[e._v(" "+e._s(n.content)+" ")])})),1)],1)])}))],2)],1),t("div",{staticClass:"column-container"},[t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"column-title",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("已选"+e._s(e.columnLength)+"列")]),t("el-button",{attrs:{type:"text"},on:{click:e.clearAll}},[e._v("清空全部")])],1),t("transition-group",{attrs:{type:"transition",name:e.drag?null:"flip-list"}},[t("div",{key:"left"},[t("p",{staticClass:"column-group-title"},[e._v("左侧固定列")]),t("div",{staticClass:"column-configurable"},[t("draggable",e._b({attrs:{group:"column"},on:{start:function(t){e.drag=!0},end:function(t){e.drag=!1}},model:{value:e.leftColumnList,callback:function(t){e.leftColumnList=t},expression:"leftColumnList"}},"draggable",e.dragOptions,!1),e._l(e.leftColumnList,(function(n){return t("div",{key:n.prop,staticClass:"selected-column-item"},[t("i",{staticClass:"el-icon-drags"}),t("div",{staticClass:"column-name"},[e._v(e._s(n.content||n.label))]),t("i",{staticClass:"el-icon-close column-close",on:{click:function(t){return e.closeColumn(n.prop)}}})])})),0)],1)]),t("div",{key:"center"},[t("p",{staticClass:"column-group-title"},[e._v("中间不固定列")]),t("div",{staticClass:"column-configurable"},[t("draggable",e._b({attrs:{group:"column"},on:{start:function(t){e.drag=!0},end:function(t){e.drag=!1}},model:{value:e.columnList,callback:function(t){e.columnList=t},expression:"columnList"}},"draggable",e.dragOptions,!1),e._l(e.columnList,(function(n){return t("div",{key:n.prop,staticClass:"selected-column-item"},[t("i",{staticClass:"el-icon-drags"}),t("div",{staticClass:"column-name"},[e._v(e._s(n.content||n.label))]),t("i",{staticClass:"el-icon-close column-close",on:{click:function(t){return e.closeColumn(n.prop)}}})])})),0)],1)]),t("div",{key:"right"},[t("p",{staticClass:"column-group-title"},[e._v("右侧固定列")]),t("div",{staticClass:"column-configurable"},[t("draggable",e._b({attrs:{group:"column"},on:{start:function(t){e.drag=!0},end:function(t){e.drag=!1}},model:{value:e.rightColumnList,callback:function(t){e.rightColumnList=t},expression:"rightColumnList"}},"draggable",e.dragOptions,!1),e._l(e.rightColumnList,(function(n){return t("div",{key:n.prop,staticClass:"selected-column-item"},[t("i",{staticClass:"el-icon-drags"}),t("div",{staticClass:"column-name"},[e._v(e._s(n.content||n.label))]),t("i",{staticClass:"el-icon-close column-close",on:{click:function(t){return e.closeColumn(n.prop)}}})])})),0)],1)])])],1)],1)])]),t("span",{staticClass:"dialog-footer",staticStyle:{display:"flex","justify-content":"space-between",padding:"4px"},attrs:{slot:"footer"},slot:"footer"},[t("span",{staticStyle:{display:"inline-block","line-height":"32px"}}),t("div",[t("el-button",{on:{click:e.close}},[e._v("取消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v("确定")])],1)])])],2)},xe=[],ke=n("ce7d"),Se=n.n(ke),Me={name:"BiCustomColumn",components:{draggable:Se.a},props:{columnName:{type:String,require:!0,default:""},dialogWidth:{type:String,default:"770px"},viewModel:{type:String,default:""},type:{type:String,default:""},listType:{type:String,require:!0,default:""},checkData:{type:Array,require:!0,default:()=>[]},tableColumn:{type:Array,default:()=>[]},defaultList:{type:Array,default:()=>[]},defaultColumn:{type:Object,default:()=>({left:[],center:[],right:[]})}},data(){return{tableColumnList:this.tableColumn,visible:!1,colList:[],checkList:[],checkAllData:!1,drag:!1,draggableList:[],leftColumnList:[],columnList:[],rightColumnList:[]}},computed:{columnLength(){return this.leftColumnList.length+this.columnList.length+this.rightColumnList.length},dragOptions(){return{animation:200,group:"description",disabled:!1,ghostClass:"ghost",class:"list-group"}}},watch:{colList:{handler(e){let t=!0;e.forEach(e=>{e.status=Boolean(e.status),e.status?this.checkAllData=e.status:t=!1,this.checkAllData=t})},deep:!0}},mounted(){this.viewModel||(this.getList(),this.defaultColumnInit(),this.returnColumn())},beforeDestroy(){this.visible=!1},methods:{defaultColumnInit(){const e=this.getLocalStorage(),{left:t,center:n,right:r}=e||this.defaultColumn;t.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.leftColumnList.push(t)}),n.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.columnList.push(t)}),r.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.rightColumnList.push(t)}),this.saveLocalStorage()},async getList(e){this.colList=this.defaultList,this.defaultCheck()},checkAll(e){this.colList.forEach(t=>{this.handleCheckGroupAllChange(e,t),t.status=e}),e||(this.checkList=[])},defaultCheck(){this.$nextTick(()=>{this.colList.forEach(e=>{this.handleCheckGroupAll(e)})})},deleteArrayItemForIndex(e,t){if(-1!==t)return e.splice(t,1)},handleCheckGroupAllChange(e,t){e?t.children.map(e=>{-1===this.checkList.indexOf(e.name)&&(this.checkList.push(e.name),this.insertColumn(e.name))}):t.children.map(e=>{this.deleteArrayItemForIndex(this.checkList,this.checkList.indexOf(e.name)),this.removeColumn(e.name)})},handleCheckGroupAll(e){let t=1;e.children.map(e=>{-1===this.checkList.indexOf(e.name)?(this.removeColumn(e.name),t=0):this.insertColumn(e.name)}),e.status=t},async setTheadList(){const e=JSON.parse(JSON.stringify(this.colList));var t=[];e.forEach(e=>{e.status=e.status?1:0,t.push(...e.children)})},clearAll(){this.checkList=[],this.checkAll(!1)},closeColumn(e){this.deleteArrayItemForIndex(this.checkList,this.checkList.indexOf(e)),this.removeColumn(e),this.defaultCheck()},insertColumn(e){const t=this.tableColumnList.find(t=>t.prop===e);this.leftColumnList.find(t=>t.prop===e)||this.rightColumnList.find(t=>t.prop===e)||this.columnList.find(t=>t.prop===e)||this.columnList.push(t)},removeColumn(e){if(this.leftColumnList.length&&this.leftColumnList.find(t=>t.prop===e)){const t=this.leftColumnList.findIndex(t=>t.prop===e);t>-1&&this.leftColumnList.splice(t,1)}if(this.columnList.length&&this.columnList.find(t=>t.prop===e)){const t=this.columnList.findIndex(t=>t.prop===e);t>-1&&this.columnList.splice(t,1)}if(this.rightColumnList.length&&this.rightColumnList.find(t=>t.prop===e)){const t=this.rightColumnList.findIndex(t=>t.prop===e);t>-1&&this.rightColumnList.splice(t,1)}},returnColumn(e="",t="",n=""){const r=e||this.leftColumnList,i=t||this.columnList,o=n||this.rightColumnList;r.map(e=>{e.fixed=!0}),i.map(e=>{e.fixed=!1}),o.map(e=>{e.fixed="right"}),this.$emit("handleTableColumn",[...r,...i,...o])},ok(){this.returnColumn(),this.saveLocalStorage(),this.visible=!1},saveLocalStorage(){const e={left:[],center:[],right:[]};this.leftColumnList.map(({prop:t})=>{t&&e.left.push(t)}),this.columnList.map(({prop:t})=>{t&&e.center.push(t)}),this.rightColumnList.map(({prop:t})=>{t&&e.right.push(t)}),localStorage.setItem(this.columnName,JSON.stringify(e))},getLocalStorage(){const e=localStorage.getItem(this.columnName);return e?JSON.parse(e):void 0},handleOpen(){if(!this.viewModel){this.checkList=[],this.rightColumnList=[],this.leftColumnList=[],this.columnList=[];const e=this.getLocalStorage();e&&this.defaultColumnInit()}},close(){this.viewModel||(this.checkList=[],this.rightColumnList=[],this.leftColumnList=[],this.columnList=[]),this.visible=!1,this.$emit("closeDialog",{visible:!1})},defaultMounted(){this.getList(),this.defaultColumnInit(),this.returnColumn()},setColumnList({left:e=[],center:t=[],right:n=[]}){this.getList();const r=[],i=[],o=[],s=[];e.map(e=>{r.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&i.push(t)}),t.map(e=>{r.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&o.push(t)}),n.map(e=>{r.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&s.push(t)}),this.$set(this,"checkList",r),this.$set(this,"leftColumnList",i),this.$set(this,"columnList",o),this.$set(this,"rightColumnList",s),this.defaultCheck(),this.returnColumn(i,o,s)},getColumnList(){const e={left:[],center:[],right:[]};return e.left=this.leftColumnList.map(e=>e.prop),e.center=this.columnList.map(e=>e.prop),e.right=this.rightColumnList.map(e=>e.prop),e}}},je=Me,Te=(n("1784"),n("ce92"),m(je,we,xe,!1,null,"476d6426",null)),Ce=Te.exports;Ce.install=function(e){e.component(Ce.name,Ce)};var Oe=Ce,De=function(){var e=this,t=e._self._c;return t("el-date-picker",e._g(e._b({attrs:{"picker-options":e.componentPickerOptions,format:e.format,"value-format":e.valueFormat},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}},"el-date-picker",e.$attrs,!1),e.$listeners))},Le=[];const Ee=(e=8)=>({daterange:{shortcuts:[{text:"今天",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD"),r=ce()().utcOffset(e).format("YYYY-MM-DD");t.$emit("pick",[r,n])}},{text:"昨天",onClick(t){const n=ce()().utcOffset(e).subtract(1,"days").format("YYYY-MM-DD"),r=ce()().utcOffset(e).subtract(1,"days").format("YYYY-MM-DD");t.$emit("pick",[r,n])}},{text:"近一周",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD"),r=ce()().utcOffset(e).subtract(7,"days").format("YYYY-MM-DD");t.$emit("pick",[r,n])}},{text:"近一月",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD"),r=ce()().utcOffset(e).subtract(30,"days").format("YYYY-MM-DD");t.$emit("pick",[r,n])}},{text:"上个月",onClick(e){const t=e.maxDate||ce()(),n=ce()(t).subtract(1,"month").startOf("month").format("YYYY-MM-DD"),r=ce()(t).subtract(1,"month").endOf("month").format("YYYY-MM-DD");e.$emit("pick",[n,r])}},{text:"本月",onClick(t){const n=ce()().utcOffset(e).startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"下个月",onClick(e){const t=e.maxDate||ce()(),n=ce()(t).add(1,"month").startOf("month").format("YYYY-MM-DD"),r=ce()(t).add(1,"month").endOf("month").format("YYYY-MM-DD");e.$emit("pick",[n,r])}}]},monthrange:{shortcuts:[{text:"本月",onClick(t){const n=ce()().utcOffset(e).startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"最近三个月",onClick(t){const n=ce()().utcOffset(e).subtract(2,"month").startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"最近六个月",onClick(t){const n=ce()().utcOffset(e).subtract(5,"month").startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"最近一年",onClick(t){const n=ce()().utcOffset(e).subtract(11,"month").startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"今年",onClick(t){const n=ce()().utcOffset(e).startOf("year").startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}}]},datetimerange:{shortcuts:[{text:"今天",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"昨天",onClick(t){const n=ce()().utcOffset(e).subtract(1,"days").format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).subtract(1,"days").format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"近一周",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).subtract(7,"days").format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"近一月",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).subtract(30,"days").format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"上个月",onClick(e){const t=e.maxDate||ce()(),n=ce()(t).subtract(1,"month").startOf("month").format("YYYY-MM-DD 00:00:00"),r=ce()(t).subtract(1,"month").endOf("month").format("YYYY-MM-DD 23:59:59");e.$emit("pick",[n,r])}},{text:"本月",onClick(t){const n=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).startOf("month").format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"下个月",onClick(t){const n=t.maxDate||ce()(),r=ce()(n).utcOffset(e).add(1,"month").startOf("month").format("YYYY-MM-DD 00:00:00"),i=ce()(n).utcOffset(e).add(1,"month").endOf("month").format("YYYY-MM-DD 23:59:59");t.$emit("pick",[r,i])}}]}});var Ae={name:"BiDatePicker",props:{pickerOption:{type:Object,default:()=>({})},format:{type:String,default:"yyyy-MM-dd"},valueFormat:{type:String,default:"yyyy-MM-dd"},utc:{type:Number,default:8},value:{type:[String,Array],default:""}},computed:{date:{get(){return this.value},set(e){this.$emit("input",e),this.$emit("change",e)}},componentPickerOptions(){const e=this.$attrs.type,t=Ee(this.utc),n=Object.assign({},t[e]);return"daterange"===e||"monthrange"===e||"datetimerange"===e?Object.assign(n,this.pickerOption):this.pickerOption}}},Pe=Ae,Ne=(n("86c3"),m(Pe,De,Le,!1,null,null,null)),Ye=Ne.exports;Ye.install=function(e){e.component(Ye.name,Ye)};var Ie=Ye,Re=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-download-center"},[t("el-badge",{staticClass:"download-center-badge",attrs:{slot:"reference","is-dot":e.badgeDot},slot:"reference"},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"导出中心",placement:"bottom"}},[t("el-button",{staticClass:"download-center-button",attrs:{type:"text"},on:{click:function(t){e.drawerVisible=!0}}},[e.loading?t("img",{attrs:{src:e.downloadingImg,alt:"任务导出中心",title:"任务导出中心"}}):t("img",{attrs:{src:e.downloadImg,alt:"任务导出中心",title:"任务导出中心"}})])],1)],1),t("el-drawer",{style:{"--headHegiht":e.headerHeight},attrs:{"custom-class":"bi-download-center-drawer",title:"下载导出",visible:e.drawerVisible,direction:"rtl",size:"1000px","destroy-on-close":"","append-to-body":""},on:{"update:visible":function(t){e.drawerVisible=t},open:e.handleDrawerOpen,close:e.handleDrawerClose}},[t("template",{slot:"title"},[t("el-tabs",{model:{value:e.tabsName,callback:function(t){e.tabsName=t},expression:"tabsName"}},[t("el-tab-pane",{attrs:{name:"DownloadCenter",label:"导出中心"}}),e.taskCenter?t("el-tab-pane",{attrs:{name:"TaskCenter",label:"任务中心"}}):e._e()],1)],1),t("Box",{directives:[{name:"show",rawName:"v-show",value:"DownloadCenter"===e.tabsName,expression:"tabsName==='DownloadCenter'"}],attrs:{"header-height":e.headerHeight,"handle-table-list":e.getExportList,token:e.token},on:{setRead:e.handleSetRead}}),"TaskCenter"===e.tabsName?t("TaskCenterBox",{attrs:{token:e.token,"user-id":e.userId}}):e._e()],2)],1)},Fe=[];const $e=Q.a.create({baseURL:"",timeout:1e5});$e.interceptors.request.use(e=>e,e=>(console.log(e),Promise.reject(e))),$e.interceptors.response.use(e=>{const t=e.data;return 200!==t.code?(Object(ee["Message"])({message:t.msg||"Error",type:"error",duration:5e3}),t):t},e=>(console.log("err"+e),Object(ee["Message"])({message:e.msg,type:"error",duration:5e3}),Promise.reject(e)));var Be=$e,He=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"download-center"},[t("div",{staticClass:"content-box"},[t("el-form",{attrs:{model:e.form,inline:""}},[t("el-form-item",{attrs:{label:"任务ID"}},[t("el-input",{attrs:{size:"small",clearable:""},model:{value:e.form.task_code,callback:function(t){e.$set(e.form,"task_code",t)},expression:"form.task_code"}})],1),t("el-form-item",{attrs:{label:"任务时间"}},[t("BiDatePicker",{attrs:{size:"small",type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.time,callback:function(t){e.$set(e.form,"time",t)},expression:"form.time"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary",size:"small",loading:e.tableLoading},on:{click:function(t){return e.handleCurrentChange(1)}}},[e._v("查询")]),t("el-button",{attrs:{size:"small"},on:{click:e.reset}},[e._v("重置")])],1)],1),t("BiTable",{attrs:{loading:e.tableLoading,data:e.tableData,size:"medium",column:e.tableColums,fixed:"sticky","max-height":"200px","sticky-top":0,pagination:"",layout:"total, prev, pager, next","auto-scroll":!1,total:e.page_info.total,page:e.page_info.page,limit:e.page_info.page_size},on:{"update:page":function(t){return e.$set(e.page_info,"page",t)},"update:limit":function(t){return e.$set(e.page_info,"page_size",t)},pagination:e.handlePageChange}})],1)]),t("el-dialog",{attrs:{title:"导出条件详情",visible:e.dialog.visible,"append-to-body":"",width:"50%"},on:{"update:visible":function(t){return e.$set(e.dialog,"visible",t)}}},[t("el-scrollbar",{staticStyle:{height:"60vh"}},[t("div",{staticClass:"container"},[t("div",{staticStyle:{"padding-right":"17px"},domProps:{innerHTML:e._s(e.dialog.content)}})])])],1)],1)},qe=[],ze={name:"BiDownloadCenter",props:{handleTableList:{type:Function,default:()=>new Promise(e=>{e()})},handleStatusList:{type:Function,default:()=>new Promise(e=>{e()})},handleTypeList:{type:Function,default:()=>new Promise(e=>{e()})}},data(){this.$createElement;return{tableLoading:!1,tableData:[],tableColums:[{prop:"task_code",label:"任务ID",width:190},{prop:"status_text",label:"任务状态",minWidth:115,render:(e,{row:t})=>21===t.status?e("div",{style:{display:"flex",alignItems:"center"}},[e("div",{style:{width:"6px",height:"6px",borderRadius:"6px",display:"inline-block",background:"#0FC6C2",marginRight:"5px"}}),e("span",[t.status_text])]):0===t.status?e("div",{style:{display:"flex",alignItems:"center"}},[e("div",{style:{width:"6px",height:"6px",borderRadius:"6px",display:"inline-block",background:"#C9CDD4",marginRight:"5px"}}),e("span",["未开始"])]):11===t.status?e("div",{style:{display:"flex",alignItems:"center"}},[e("div",{style:{width:"6px",height:"6px",borderRadius:"6px",display:"inline-block",background:"#00B42A",marginRight:"5px"}}),e("span",["执行中"])]):31===t.status?e("el-tooltip",{class:"item",attrs:{effect:"dark",placement:"right"}},[e("div",{slot:"content"},[t.message]),e("div",{style:{display:"flex",alignItems:"center"}},[e("div",{style:{width:"6px",height:"6px",borderRadius:"6px",display:"inline-block",background:"#F53F3F",marginRight:"5px"}}),e("span",["导出失败"])])]):void 0},{prop:"task_name",label:"任务类型",minWidth:185},{prop:"query_string",label:"导出条件",minWidth:342,render:(e,{row:t})=>t.query_translation?e("div",{class:"tooltip-html-box",domProps:{innerHTML:t.query_translation},on:{click:()=>this.lookMore(t.query_translation)},style:"WebkitBoxOrient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"}):e("span",{class:"query-translation"},["————"])},{prop:"create_time",label:"创建时间",minWidth:182},{prop:"complete_time",label:"完成时间",minWidth:182},{label:"操作",width:70,fixed:"right",render:(e,{row:t})=>21===t.status?e("a",{class:"link el-button el-button--text",attrs:{href:t.path,target:"_blank"},style:{textDecoration:"none"}},["下载"]):e("span")}],optionsList:{type:[],status:[]},form:{task_code:"",task_name:null,status:null,time:null},options:{taskTypes:[],taskStatus:[]},page_info:{page:1,page_size:20,total:0},dialog:{visible:!1,content:""}}},computed:{searchParams(){const{task_name:e,task_code:t,status:n,time:r}=Object.assign({},this.form),{page:i,page_size:o}=Object.assign({},this.page_info),[s,a]=r||[];return{page:i,page_size:o,task_name:e,task_code:t,status:n,start_time:s,end_time:a}}},mounted(){this.getOptions(),this.handleCurrentChange(1)},methods:{handlePageChange({page:e}){this.handleCurrentChange(e)},handleCurrentChange(e){this.form.page=e,this.getList()},getOptions(){},reset(){this.form={task_code:"",task_name:null,status:null,time:null}},async getList(e){this.tableLoading=!0;const t=await this.handleTableList(this.searchParams);this.tableLoading=!1,200===t.code&&(this.tableData=t.data.data,this.page_info=t.data.page_info)},search(){const e=this.formatData();this.getList(e)},lookMore(e){this.dialog.content="",this.dialog.visible=!0,this.dialog.content=e}}},Ve=ze,We=(n("e03b"),m(Ve,He,qe,!1,null,"ae408520",null)),Ue=We.exports,Ge=function(){var e=this,t=e._self._c;return t("div",{staticClass:"task-center"},[t("div",{staticClass:"content-body",staticStyle:{"margin-top":"0"}},[t("div",{staticClass:"content-box"},[t("div",{staticClass:"action-row"},[t("div",{staticClass:"action-left-row",staticStyle:{display:"flex","align-items":"center"}},[t("div",[t("el-input",{staticStyle:{width:"320px"},attrs:{placeholder:"请输入任务ID",clearable:""},model:{value:e.formData.task_no,callback:function(t){e.$set(e.formData,"task_no",t)},expression:"formData.task_no"}},[t("el-button",{staticStyle:{width:"76px"},attrs:{slot:"append",icon:"el-icon-search",loading:e.loading},on:{click:e.search},slot:"append"})],1)],1)])])]),t("div",{staticClass:"content-box"},[t("div",{staticClass:"table-table"},[t("BiTable",{ref:"biTable",attrs:{loading:e.loading,data:e.tableData,size:"medium",column:e.tableColumns,fixed:"sticky","max-height":"200px","sticky-top":0,background:!1,pagination:"",layout:"total, sizes,prev, pager, next, jumper","auto-scroll":!1,border:"","cell-style":e.tableCell,"header-cell-style":e.tableRowClassName,total:e.page_info.total,page:e.page_info.num,limit:e.page_info.size},on:{"update:page":function(t){return e.$set(e.page_info,"num",t)},"update:limit":function(t){return e.$set(e.page_info,"size",t)},pagination:e.handleCurrentChange},scopedSlots:e._u([{key:"task_status",fn:function({row:n}){return["3"===String(n.task_status)?t("el-tooltip",{attrs:{effect:"dark",content:n.remark,placement:"top"}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"6px",height:"6px","border-radius":"6px",display:"inline-block",background:"#0FC6C2","margin-right":"5px"}}),t("span",[e._v(" "+e._s(e.taskStatusText(n.task_status))+" ")])])]):"4"===String(n.task_status)?t("div",[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"6px",height:"6px","border-radius":"6px",display:"inline-block",background:"#F53F3F","margin-right":"5px"}}),t("span",[e._v(" "+e._s(e.taskStatusText(n.task_status))+" ")])])]):"2"===String(n.task_status)?t("div",[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"6px",height:"6px","border-radius":"6px",display:"inline-block",background:"#00B42A","margin-right":"5px"}}),t("span",[e._v(" "+e._s(e.taskStatusText(n.task_status))+" ")])])]):t("div",[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"6px",height:"6px","border-radius":"6px",display:"inline-block",background:"#FF7D00","margin-right":"5px"}}),t("span",[e._v(" "+e._s(e.taskStatusText(n.task_status))+" ")])])])]}},{key:"query_translation",fn:function({row:n}){return[t("div",{staticClass:"query_translation",staticStyle:{width:"100%","-webkit-box-orient":"vertical",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap",cursor:"pointer"},on:{click:function(t){return e.clickShowInfo(n.conditions)}}},e._l(n.conditions,(function(n){return t("p",{key:n.field,staticStyle:{margin:"0"}},[t("span",[e._v(e._s(n.field))]),t("span",[e._v(":")]),t("span",[e._v(e._s(n.value))])])})),0)]}},{key:"finish_time",fn:function({row:n}){return[t("div",[e._v(e._s(n.finish_time?n.finish_time:"-"))])]}}])})],1)])]),t("el-dialog",{attrs:{title:"任务条件详情",visible:e.showInfo.visible,"append-to-body":"",width:"700px"},on:{"update:visible":function(t){return e.$set(e.showInfo,"visible",t)}}},[t("div",{staticClass:"task-detail",staticStyle:{"max-height":"600px",overflow:"auto"}},e._l(e.showInfo.info,(function(n){return t("p",{key:n.field},[t("span",[e._v(e._s(n.field))]),t("span",[e._v(":")]),t("span",[e._v(e._s(n.value))])])})),0)])],1)},Ke=[];const Xe=Q.a.create({baseURL:"",timeout:1e5});Xe.interceptors.request.use(e=>e,e=>(console.log(e),Promise.reject(e))),Xe.interceptors.response.use(e=>{const t=e.data;return"0"!==t.code?(Object(ee["Message"])({message:t.msg||"Error",type:"error",duration:5e3}),t):t},e=>(console.log("err"+e),Object(ee["Message"])({message:e.msg,type:"error",duration:5e3}),Promise.reject(e)));var Je=Xe;const Ze=e=>Je({url:e+"/taskMessage/option",method:"get"}),Qe=(e,t)=>Je({url:e+"/taskMessage/taskMessages",method:"post",data:t});var et={name:"TaskCenterShow",props:{title:{type:String,default:"组别"},token:{type:String,default:""},userId:{type:String,default:""},data:{type:Object,default:()=>{}}},data(){this.$createElement;return{system:this.$BI.system,loading:!1,tableData:[],formData:{task_no:""},page_info:{num:1,size:20,total:0},tableColumns:[{label:"任务ID",prop:"id",width:132},{label:"任务页面",prop:"page_name",width:92},{label:"任务状态",prop:"task_status",width:92,slotScope:!0},{label:"任务类型",prop:"type_text",width:92,render:(e,{row:t})=>e("span",[this.taskTypeText(t.task_type)])},{label:"任务条件",prop:"query_translation",minWidth:200,slotScope:!0},{label:"创建时间",prop:"create_time",width:115},{label:"完成时间",prop:"finish_time",width:115,slotScope:!0}],tableRowClassName:{},tableCell:{},taskType:[],taskStatus:[],showInfo:{visible:!1,info:""},baseUrl:""}},computed:{params(){const{task_no:e,num:t,size:n}=Object.assign({},this.formData,this.page_info),r={system:this.system,user_id:this.userId,task_id:e,page_info:{num:t,size:n}};return r}},mounted(){this.baseUrl=J(this.$BI.env||"").noticeCenter.baseUrl,this.handlerOpen()},methods:{handlerOpen(){this.getOption(),this.search()},async getOption(){const e=await Ze(this.baseUrl);"0"===e.code&&(this.taskStatus=e.task_status,this.taskType=e.task_types)},taskStatusText(e){const t=this.taskStatus.find(t=>String(t.value)===String(e));return t?t.name:"-"},taskTypeText(e){const t=this.taskType.find(t=>String(t.value)===String(e));return t?t.name:"-"},handlerClose(){},search(){this.page_info.num=1,this.getList()},handleCurrentChange(){this.getList()},async getList(e=this.params){this.loading=!0;const t=await Qe(this.baseUrl,e);this.loading=!1,"0"===t.code?(this.tableData=t.task_messages,this.page_info=t.page_info):this.$message.error(t.msg)},clickShowInfo(e){this.showInfo.info=e,this.showInfo.visible=!0}}},tt=et,nt=(n("aaa0"),m(tt,Ge,Ke,!1,null,null,null)),rt=nt.exports,it={name:"BiDownloadCenter",components:{Box:Ue,TaskCenterBox:rt},props:{headerHeight:{type:String,default:"50"},loading:{type:Boolean,default:!1},userId:{type:String,default:""},token:{type:String,default:""},system:{type:String,default:""},taskCenter:{type:Boolean,default:!1},downloadCenter:{type:Boolean,default:!0}},data(){return{downloadImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/DownloadCenter/download.svg",downloadingImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/DownloadCenter/downloadingnew.gif",drawerVisible:!1,badgeDot:!1,baseUrl:"",tabsName:""}},mounted(){this.baseUrl=J(this.$BI.env||"").downloadCenter.baseUrl},methods:{getExportList(e){return Be({url:this.baseUrl+"/task/index",method:"post",headers:{token:this.token},data:Object.assign({origin_system:this.system},e)})},async handleSetRead(e){},handleDrawerClose(){},handleDrawerOpen(){this.badgeDot=!1,this.$nextTick(()=>{"TaskCenter"!==this.tabsName&&(this.downloadCenter?this.tabsName="DownloadCenter":this.tabsName="TaskCenter")})}}},ot=it,st=(n("21ab"),n("379f"),m(ot,Re,Fe,!1,null,"dda21a56",null)),at=st.exports;at.install=function(e){e.component(at.name,at)};var lt,ut,ct=at,dt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-morebutton"},[t("el-dropdown",e._b({attrs:{trigger:"click",size:"medium"}},"el-dropdown",e.$attrs,!1),[t("span",{staticClass:"el-button el-button--text el-button--medium",on:{click:function(e){e.stopPropagation()}}},[e._t("default",(function(){return[e._v(" "+e._s(e.buttonText)),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]}))],2),t("el-dropdown-menu",{staticClass:"bi-morebutton-popper",attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.button,(function(n,r){return[n.render?[t("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:n.permission,expression:"item.permission"}],key:r,staticStyle:{padding:"0"},attrs:{disabled:n.disabled}},[t("Item",{attrs:{scope:e.row,render:n.render}})],1)]:[n.show&&n.show(e.row)||!n.show?t("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:n.permission,expression:"item.permission"}],key:r,attrs:{disabled:n.disabled},nativeOn:{click:function(t){return(()=>{n.handler&&n.handler({row:e.row,button:n})}).apply(null,arguments)}}},[e._v(" "+e._s(n.name)+" ")]):e._e()]]}))],2)],1)],1)},ht=[],ft={name:"BiRender",functional:!0,props:{scope:{type:Object,default:()=>({})},render:{type:Function,default:()=>()=>{}}},render:(e,t)=>t.props.render?t.props.render(e,t.props.scope):""},pt=ft,mt=m(pt,lt,ut,!1,null,null,null),yt=mt.exports,gt={name:"BiMoreButton",components:{Item:yt},props:{button:{type:Array,default:()=>[]},buttonText:{type:String,default:"更多操作"},row:{type:Object,default:()=>({})}},mounted(){this.$nextTick(()=>{0===this.$el.querySelectorAll(".el-dropdown-menu li").length&&(this.$el.style.display="none")})},methods:{handleOK(){}}},bt=gt,vt=(n("d907"),m(bt,dt,ht,!1,null,null,null)),_t=vt.exports;_t.install=function(e){e.component(_t.name,_t)};var wt=_t,xt=function(){var e=this,t=e._self._c;return t("span",[e._t("tip-label",(function(){return[t("span",[e._v(e._s(e.label))])]})),t("el-tooltip",e._b({staticClass:"tooltip-icon",attrs:{effect:e.effect,placement:e.placement}},"el-tooltip",e.$attrs,!1),[t("template",{slot:"content"},[e._t("tip-content",(function(){return[t("div",{domProps:{innerHTML:e._s(e.content)}})]}))],2),e._t("tip-icon",(function(){return[t("span",{staticStyle:{"margin-left":"5px"}},[t("i",{class:e.icon})])]}))],2)],2)},kt=[],St={name:"BiTooltipIcon",props:{label:{type:String,default:"头部标题"},icon:{type:String,default:"el-icon-warning-outline"},content:{type:String,default:"提示内容"},placement:{type:String,default:"bottom"},effect:{type:String,default:"dark"}},data(){return{}}},Mt=St,jt=m(Mt,xt,kt,!1,null,null,null),Tt=jt.exports;Tt.install=function(e){e.component(Tt.name,Tt)};var Ct=Tt,Ot=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-notice"},[t("el-popover",{attrs:{placement:"top-end",trigger:"hover","popper-class":"notice-popper","popper-options":{padding:"0px"}},on:{show:e.handleShow,hide:e.handleHide}},[t("div",{staticClass:"bi-notice-box"},[t("el-card",{staticClass:"box-card",attrs:{shadow:"never","body-style":e.bodyStyle}},[t("div",{staticClass:"notice-header",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("系统通知")]),t("el-button",{attrs:{type:"text",disabled:0===e.badgeNum},on:{click:e.noticeAllRead}},[e._v(e._s(0===e.badgeNum?"全部已读":"全部标为已读"))])],1),t("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.load,expression:"load"}],staticClass:"notice-list",staticStyle:{overflow:"auto"},attrs:{"infinite-scroll-immediate":!1,"infinite-scroll-disabled":e.noticeListDisabled,"infinite-scroll-delay":300}},[e._l(e.noticeList,(function(n){return t("li",{key:n.id,staticClass:"notice-item",class:{unread:!n.is_read},on:{click:function(t){return e.detail(n)}}},[t("div",{staticClass:"header"},[t("p",{staticClass:"title"},[e._v(e._s(n.title))]),t("p",{staticClass:"time"},[e._v(e._s(n.send_time))])]),t("div",{staticClass:"content"},[e._v(e._s(n.describe))])])})),e.noticeListLoading?t("p",{staticStyle:{"font-size":"14px",color:"#5e6d82","text-align":"center"}},[e._v("加载中...")]):e._e(),e.noMore?t("p",{staticStyle:{"font-size":"14px",color:"#5e6d82","text-align":"center"}},[e._v("没有更多了")]):e._e()],2)])],1),t("el-badge",{staticClass:"notice-badge",attrs:{slot:"reference",value:e.badgeNum,hidden:0===e.badgeNum},slot:"reference"},[t("el-button",{staticClass:"notice-button",attrs:{type:"text"}},[t("i",{staticClass:"el-icon-warn1"})])],1)],1),t("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,width:"680px",top:"3vh","before-close":e.handleClose,"append-to-body":"","show-close":!1,"custom-class":"notice-open-dialog"},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"notice-open-container"},[t("div",{staticClass:"notice-bg"},[t("img",{attrs:{src:e.dialogImg}})]),t("div",{staticClass:"notice-open-box"},[t("p",{staticClass:"notice-open-tile"},[e._v(e._s(e.openNotice.title))]),t("div",{staticClass:"notice-open-box-scrollbar"},[t("div",{staticClass:"notice-open-content",domProps:{innerHTML:e._s(e.openNotice.content)}})]),t("div",{staticClass:"notice-open-button"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("知道了")])],1)])])]),t("el-drawer",{style:{"--headHegiht":e.headerHeight},attrs:{"custom-class":"bi-notice-drawer",title:"消息详情",visible:e.detailVisible,direction:"rtl",size:"538px","destroy-on-close":"","append-to-body":"",modal:!0},on:{"update:visible":function(t){e.detailVisible=t},open:e.handleDetailOpen,close:e.handleDetailClose}},[t("el-scrollbar",[t("div",{staticClass:"notice-detail-box"},[t("div",{staticClass:"notice-detail"},[t("div",{staticClass:"detail-header"},[t("p",{staticClass:"detail-title"},[e._v(e._s(e.detailData.title))]),t("p",{staticClass:"detail-time"},[e._v(e._s(e.detailData.send_time))])]),t("div",{staticClass:"detail-content",domProps:{innerHTML:e._s(e.detailData.content)}})])])])],1)],1)},Dt=[];function Lt(e,t){const n="HH:mm:ss MM/D/YYYY",r=ce()(e,n),i=ce()(t,n);return ce()(i).diff(ce()(r),"seconds")}var Et={name:"BiNoticeCenter",props:{headerHeight:{type:String,default:"58"},system:{type:String,default:""},token:{type:String,default:""}},data(){return{dialogImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/NoticeCenter/notice.png",openNotice:{id:"",title:"",content:""},page:1,last_id:"",last_send_time:"",dialogVisible:!1,noticeTimer:null,badgeNum:0,is_open_page:1,bodyStyle:{padding:"0"},detailVisible:!1,noticeListDisabled:!1,noticeListLoading:!1,noMore:!1,detailData:{},noticeList:[],baseUrl:""}},mounted(){this.baseUrl=J(this.$BI.env||"").noticeCenter.baseUrl,this.noticeList=[],this.last_id="",this.last_send_time=""},methods:{handleClose(){},async handleShow(){this.noticeList=[],this.last_id="",this.last_send_time="",this.getNoticeList()},handleHide(){this.page=1,this.noticeListDisabled=!1},setUnreadNum(e){this.badgeNum=e},popupNotice(e){this.openNotice.title=e.title,this.openNotice.id=e.id,this.openNotice.content=e.content,this.dialogVisible=!0,this.noticePoped(this.openNotice.id)},async noticePoped(e){await Je({url:this.baseUrl+"/message/setPopup",method:"post",data:{token:this.token,system:this.system,msg_id:e}})},detail(e){this.$set(this,"detailData",e),e.is_read=1,this.detailVisible=!0,this.handleNoticeRead(e.id)},async getNoticeList(){this.noticeListLoading=!0;const e=await Je({url:this.baseUrl+"/message/getSystemMessage",method:"post",data:{token:this.token,system:this.system,last_id:this.last_id,last_send_time:this.last_send_time}});if("0"===e.code){if(e.data.length){const t=[...this.noticeList,...e.data],n=new Map;for(const e of t)n.set(e.id,e);const r=[...n.values()];r.sort((e,t)=>Lt(e,t)),this.noticeList=r,this.noMore=!1,this.noticeListDisabled=!1}else this.noMore=!0,this.noticeListDisabled=!0;this.noticeList.length&&this.noticeList[this.noticeList.length-1]&&(this.last_id=this.noticeList[this.noticeList.length-1].id,this.last_send_time=this.noticeList[this.noticeList.length-1].send_time)}this.noticeListLoading=!1},async handleNoticeRead(e){const t=await Je({url:this.baseUrl+"/message/read",method:"post",data:{system:this.system,token:this.token,msg_id:e}});"0"===t.code&&this.setUnreadNum(t.data.unread_num)},load(){this.getNoticeList()},async noticeAllRead(){await Je({url:this.baseUrl+"/message/is_read_all",method:"post",data:{token:this.token,system:this.system,type:"system"}}),this.badgeNum=0,this.noticeList.map(e=>{e.is_read=!0})},handleDetailOpen(){},handleDetailClose(){}}},At=Et,Pt=(n("f1f1"),n("fb30"),m(At,Ot,Dt,!1,null,"87602bdc",null)),Nt=Pt.exports;Nt.install=function(e){e.component(Nt.name,Nt)};var Yt=Nt,It=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-system-link"},[t("el-popover",{attrs:{placement:"top",trigger:"hover","popper-class":"system-link-popper","popper-options":{padding:"0px"}}},[t("div",{staticClass:"system-list"},e._l(e.systemList,(function(n){return t("div",{key:n.id,staticClass:"system-item",on:{click:function(t){return e.goSystem(n)}}},[t("div",{staticClass:"system-logo"},[t("img",{attrs:{src:n.logo_path}})]),t("p",{staticClass:"system-name"},[e._v(e._s(n.short_name))]),t("p",{staticClass:"go-system"},[e._v("前往平台")])])})),0),t("div",{attrs:{slot:"reference",type:"text"},slot:"reference"},[t("el-button",{staticClass:"system-link-button",attrs:{type:"text"}},[t("i",{staticClass:"el-icon-more1"})])],1)])],1)},Rt=[],Ft={name:"BiSystemLink",props:{token:{type:String,default:""}},data(){return{systemList:[],baseUrl:""}},mounted(){this.baseUrl=J(this.$BI.env||"").zhangquan.baseUrl,this.getSystemList()},methods:{async getSystemList(){const e=await ne({url:this.baseUrl+"/index/system",method:"post",headers:{Authorization:this.token,AuthKey:"authtpe84dzfl3iq62"}});1===e.status_code&&(this.systemList=e.data)},goSystem({link:e}){const t=document.createElement("a");t.target="_blank",t.href=e+"?authorization="+this.token,t.click()}}},$t=Ft,Bt=(n("e4c2"),n("cc16"),m($t,It,Rt,!1,null,"738ffcd4",null)),Ht=Bt.exports;Ht.install=function(e){e.component(Ht.name,Ht)};var qt=Ht,zt=function(){var e=this,t=e._self._c;return t("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[t("div",{staticClass:"avatar-wrapper"},[t("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80"}}),t("i",{staticClass:"el-icon-right"})]),t("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[t("a",{attrs:{href:"http://zq.wozhangwan.com/DemandFeedback.html",target:"_blank"}},[t("el-dropdown-item",[t("span",{staticStyle:{display:"block"}},[e._v("需求反馈")])])],1),t("el-dropdown-item",{nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[t("span",{staticStyle:{display:"block"}},[e._v("返回认证中心")])])],1)],1)},Vt=[],Wt={name:"BiAvatar",props:{avatar:{type:String,default:""}},methods:{logout(){this.$emit("logout")}}},Ut=Wt,Gt=(n("e2f0"),m(Ut,zt,Vt,!1,null,"5426f9f2",null)),Kt=Gt.exports;Kt.install=function(e){e.component(Kt.name,Kt)};var Xt=Kt,Jt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"content-outer bi-log-table"},[t("BiSearchBlock",{directives:[{name:"show",rawName:"v-show",value:!e.drawerModel,expression:"!drawerModel"}]},[t("BiForm",[t("BiFormItem",[t("template",{slot:"label"},[e._v("模块")]),t("template",{slot:"content"},[t("el-select",{attrs:{size:"small",clearable:"",multiple:"",placeholder:"请输入",filterable:"","reserve-keyword":"","collapse-tags":""},model:{value:e.formData.model,callback:function(t){e.$set(e.formData,"model",t)},expression:"formData.model"}},e._l(e.optionsList.model,(function(e,n){return t("el-option",{key:n,attrs:{label:e.label,value:e.id}})})),1)],1)],2),t("BiFormItem",[t("template",{slot:"label"},[e._v("操作")]),t("template",{slot:"content"},[t("el-select",{attrs:{size:"small",clearable:"",multiple:"",placeholder:"请输入",filterable:"","reserve-keyword":"","collapse-tags":""},model:{value:e.formData.operate_name,callback:function(t){e.$set(e.formData,"operate_name",t)},expression:"formData.operate_name"}},e._l(e.optionsList.operate_name,(function(e,n){return t("el-option",{key:n,attrs:{label:e.label,value:e.id}})})),1)],1)],2),t("BiFormItem",[t("template",{slot:"label"},[e._v("操作人")]),t("template",{slot:"content"},[t("el-input",{attrs:{size:"small",clearable:"",placeholder:"请输入内容"},model:{value:e.formData.operator,callback:function(t){e.$set(e.formData,"operator",t)},expression:"formData.operator"}})],1)],2),t("BiFormItem",[t("template",{slot:"select"},[t("el-select",{attrs:{clearable:!1,placeholder:"请选择"},model:{value:e.formData.object_type,callback:function(t){e.$set(e.formData,"object_type",t)},expression:"formData.object_type"}},[t("el-option",{attrs:{label:"对象ID",value:"id"}}),t("el-option",{attrs:{label:"对象名称",value:"name"}})],1)],1),t("template",{slot:"content"},[t("el-input",{attrs:{size:"small",clearable:"",placeholder:"请输入内容"},model:{value:e.formData.id,callback:function(t){e.$set(e.formData,"id",t)},expression:"formData.id"}})],1)],2),t("BiFormItem",[t("template",{slot:"label"},[e._v("操作日期")]),t("template",{slot:"content"},[t("DatePicker",{attrs:{size:"small",type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["00:00:00","23:59:59"],clearable:!1,"popper-class":"bi-log-operate_time-popper"},on:{change:e.handleOperateTimeChange},model:{value:e.formData.operate_time,callback:function(t){e.$set(e.formData,"operate_time",t)},expression:"formData.operate_time"}})],1)],2),t("BiFormItem",[t("template",{slot:"button"},[t("el-button",{attrs:{type:"primary",size:"small",loading:e.tableLoading,disabled:e.tableLoading},on:{click:e.clickSearch}},[e._v("查询")]),t("el-button",{attrs:{size:"small"},on:{click:e.reset}},[e._v("重置")])],1)],2)],1)],1),t("BiBlock",{staticClass:"content-table"},[t("Table",{staticClass:"log-table",attrs:{loading:e.tableLoading,data:e.tableData,size:"medium","header-cell-style":e.tableRowClassName,column:e.tableColums,fixed:"sticky","max-height":"200px","sticky-top":e.BiLogDialog?0:50,pagination:!0,layout:"prev,pager,next","auto-scroll":!1,total:e.total,limit:e.formData.limit,page:e.formData.page},on:{"update:page":function(t){return e.$set(e.formData,"page",t)},pagination:e.pageSearch}}),e._e()],1)],1)},Zt=[],Qt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"log-detail"},[t("div",{staticClass:"log-box-new"},[e.data.operates?t("div",{staticClass:"log-box-ul"},e._l(e.data.operates,(function(n,r){return t("div",{key:r,staticClass:"log-box-li"},[t("span",{staticClass:"operates-name"},[e._v(e._s(n.name)+":")]),"rich_text"===n.type?t("div",{staticClass:"operates-info"},[t("el-button",{staticClass:"new",attrs:{type:"text",size:"medium"},on:{click:function(t){return e.handleRichTextLog(n)}}},[e._v("点击查看")])],1):t("div",{staticClass:"operates-info"},[t("span",{staticClass:"old"},[e._v(e._s(n.old))]),t("img",{directives:[{name:"show",rawName:"v-show",value:n.old,expression:"item.old"}],attrs:{src:e.arrowImg}}),t("span",{staticClass:"new"},[e._v(e._s(n.new))])])])})),0):t("div",[e._v(" "+e._s(e.data.content)+" ")])])])},en=[],tn={props:{data:{type:Object,default:()=>({})}},data(){return{arrowImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/Log/detail-arrow.png",dialogVisible:!1,dialogData:{}}},methods:{handleClose(){},handleRichTextLog(e){this.$root.$emit("biLogRichTextEvent",e)}}},nn=tn,rn=(n("54c4"),m(nn,Qt,en,!1,null,"12be8c32",null)),on=rn.exports,sn={name:"BiLog",components:{DatePicker:Ie,Table:_e,LogDetail:on},props:{logId:{type:String,default:""},logModel:{type:String,default:""}},inject:{BiLogDialog:{from:"BiLogDialog",default:null}},data(){this.$createElement;return{formData:{id:"",model:"",operate_name:"",operate_time:[],object_type:"name",operator:"",page:1,limit:50},pageCount:2,optionsList:{model:[],operate_name:[]},tableLoading:!1,selectLoading:!1,tableData:[],tableColums:[],drawerTableColums:[{prop:"operator",label:"操作人",width:180,render:(e,{row:t})=>e("div",[e("p",{class:"operator"},[t.operator]),e("p",{class:"operate-time"},[t.operateTime])])},{prop:"operateName",label:"操作",width:80},{prop:"operateName",label:"详情",render:(e,{row:t})=>3===t.showLength?e("div",[e(on,{attrs:{data:this.fomartOperates(t)}}),e("div",{class:"log-more"},[e("el-button",{attrs:{type:"text"},on:{click:()=>{this.showMore(t)}}},["更多",e("i",{class:"el-icon-caret-bottom el-icon--right"})])])]):e(on,{attrs:{data:t}})}],defaultTableColums:[{prop:"operator",label:"操作人",width:180,render:(e,{row:t})=>e("div",[e("p",{class:"operator"},[t.operator]),e("p",{class:"operate-time"},[t.operateTime])])},{prop:"operateName",label:"操作",width:80},{prop:"model_name",label:"模块",width:100},{prop:"objectName",label:"对象",width:85,render:(e,{row:t})=>e("div",[e("p",{class:"object-name"},[t.objectName]),e("p",{class:"object-id"},["id: ",t.objectId])])},{prop:"operateName",label:"详情",minWidth:280,render:(e,{row:t})=>3===t.showLength?e("div",[e(on,{attrs:{data:this.fomartOperates(t)}}),e("div",{class:"log-more"},[e("el-button",{attrs:{type:"text"},on:{click:()=>{this.showMore(t)}}},["更多",e("i",{class:"el-icon-caret-bottom el-icon--right"})])])]):e(on,{attrs:{data:t}})}],tableRowClassName:{}}},computed:{params(){const{id:e,model:t,operate_name:n,operate_time:r,object_type:i,operator:o,page:s,limit:a}=Object.assign({},this.formData),[l="",u=""]=r||[];return{id:e,model:t.toString(),operate_name:n.toString(),operate_time_start:l,operate_time_end:u,object_type:i,operator:o,page:s,limit:a}},drawerModel(){return this.logId&&this.logModel},total(){return this.pageCount*this.formData.limit}},mounted(){this.formData.operate_time=[ce()().subtract(24,"hour").format("yyyy-MM-DD HH:mm:ss"),ce()().format("yyyy-MM-DD HH:mm:ss")],this.drawerModel?(this.formData.id=this.logId,this.formData.model=[this.logModel],this.formData.object_type="id",this.formData.operate_time=[],this.tableColums=this.drawerTableColums):(this.tableColums=this.defaultTableColums,this.initOptions(),this.clickSearch())},methods:{handlerOpen(){this.drawerModel&&(this.formData.id=this.logId,this.formData.model=[this.logModel],this.formData.object_type="id",this.formData.operate_time=[],this.tableColums=this.drawerTableColums),this.clickSearch()},initOptions(){this.$BiRequest({url:"/systemlog/options",method:"post"}).then(e=>{1===e.status_code&&(this.optionsList.model=e.data.model,this.optionsList.operate_name=e.data.operate_name)})},singleLogSearch(){},clickSearch(){this.formData.page=1,this.pageCount=1,this.dataSearch()},pageSearch({page:e}){this.dataSearch()},dataSearch(){this.tableLoading=!0,this.$BiRequest({url:"/systemlog/list",method:"post",data:this.params}).then(e=>{1===e.status_code&&(this.params.page>1?e.data.data.length&&(this.tableData=e.data.data):this.tableData=e.data.data,this.params.page>=this.pageCount&&(e.data.data.length<this.formData.limit?this.pageCount=this.params.page:this.pageCount=this.params.page+1),this.tableData.map(e=>{this.$set(e,"showLength",e.operates&&e.operates.length>3?3:0)})),this.tableLoading=!1})},reset(){this.$set(this,"formData",{id:"",model:"",operate_name:"",operate_time:[ce()().subtract(24,"hour").format("yyyy-MM-DD HH:mm:ss"),ce()().format("yyyy-MM-DD HH:mm:ss")],object_type:"name",operator:"",page:1,limit:50})},getsearchAdvertiser(){},handleOperateTimeChange(e){null===e&&(this.formData.operate_time=[ce()().subtract(-24,"hour").format("yyyy-MM-DD HH:mm:ss"),ce()().format("yyyy-MM-DD HH:mm:ss")])},fomartOperates(e){try{const t=JSON.parse(JSON.stringify(e)),{showLength:n}=t;return 3===n?(t.operates=t.operates.slice(0,3),t):e}catch(t){return e}},showMore(e){e.showLength=0}}},an=sn,ln=(n("e06b"),n("f699"),m(an,Jt,Zt,!1,null,"e6e4a964",null)),un=ln.exports;un.install=function(e){e.component(un.name,un)};var cn=un,dn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-log-dialog"},[t("el-drawer",{attrs:{"custom-class":"bi-log-drawer",title:"日志",visible:e.drawer,direction:"rtl",size:"900px","destroy-on-close":"","append-to-body":""},on:{"update:visible":function(t){e.drawer=t},opened:e.handlerOpen}},[t("Log",{ref:"biLog",staticClass:"bi-log-drawer-log",attrs:{"log-id":e.logId,"log-model":e.logModel}})],1),t("el-dialog",{attrs:{"custom-class":"bi-log-rich-text-dialog",title:"详情",visible:e.dialog,width:"1354px","append-to-body":"",top:"80px"},on:{"update:visible":function(t){e.dialog=t}}},[t("el-scrollbar",[t("div",{staticClass:"bi-log-rich-text-box"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogData.old,expression:"dialogData.old"}],staticClass:"bi-log-rich-text-item old"},[t("div",{domProps:{innerHTML:e._s(e.dialogData.old)}})]),t("div",{staticClass:"bi-log-rich-text-item new"},[t("div",{domProps:{innerHTML:e._s(e.dialogData.new)}})])])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogData.old,expression:"dialogData.old"}],staticClass:"arrow"},[t("img",{attrs:{src:e.arrowImg}})])],1)],1)},hn=[],fn={name:"BiLogDialog",components:{Log:cn},props:{avatar:{type:String,default:""}},provide(){return{BiLogDialog:this}},data(){return{drawer:!1,logId:"",logModel:"",dialog:!1,arrowImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/Log/arrow.png",dialogData:{new:"",old:""}}},mounted(){this.$root.$on("biLogEvent",e=>{this.logId=e.id||"",this.logModel=e.model||"",this.drawer=!0}),this.$root.$on("biLogRichTextEvent",e=>{this.dialogData.new=e.new||"",this.dialogData.old=e.old||"",this.dialog=!0})},methods:{handlerOpen(){this.$refs.biLog&&this.$refs.biLog.handlerOpen&&this.$refs.biLog.handlerOpen()}}},pn=fn,mn=(n("0f51"),m(pn,dn,hn,!1,null,null,null)),yn=mn.exports;yn.install=function(e){e.component(yn.name,yn)};var gn=yn,bn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-log-button"},["button"===e.type?t("el-button",{attrs:{type:"text"},on:{click:e.handleLog}},[e._v("日志")]):e._e(),"text"===e.type?t("span",{attrs:{type:"text"},on:{click:e.handleLog}},[e._v("日志")]):e._e()],1)},vn=[],_n={name:"BiLogButton",props:{type:{type:String,default:"text"},logId:{type:String,default:""},logModel:{type:String,default:""}},methods:{handleLog(){this.$root.$emit("biLogEvent",{id:this.logId,model:this.logModel})}}},wn=_n,xn=(n("2a87"),m(wn,bn,vn,!1,null,"693ac7ba",null)),kn=xn.exports;kn.install=function(e){e.component(kn.name,kn)};var Sn=kn,Mn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi_home_data"},[t("el-scrollbar",[t("div",{staticClass:"content"},[t("div",{staticClass:"swiper"},[t("el-carousel",{staticClass:"swiper_data",attrs:{height:"19.5vw",autoplay:!0}},e._l(e.swiperData,(function(n,r){return t("el-carousel-item",{key:r},[t("div",{staticClass:"swiper_content",style:"background: url("+n.image_path+") no-repeat;background-size: 100% 100%;",on:{click:function(t){return e.swiperClick(n)}}})])})),1)],1),t("div",{staticClass:"data"},[t("div",{staticClass:"data_search"},[t("el-input",{staticStyle:{width:"14vw"},attrs:{placeholder:"输入标题/关键字",clearable:"",size:"small"},model:{value:e.searchData.combination,callback:function(t){e.$set(e.searchData,"combination",t)},expression:"searchData.combination"}},[t("el-button",{staticStyle:{width:"3vw",height:"32px"},attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.clickSearch},slot:"append"})],1),t("div",e._l(e.options.buttonList,(function(n,r){return t("el-button",{key:r,staticStyle:{width:"84px",height:"32px"},attrs:{size:"small"},on:{click:function(t){return e.buttonClick(n.value)}}},[e._v(e._s(n.label))])})),1)],1),t("div",{staticClass:"data_content_warp"},[t("div",{staticClass:"data_content"},e._l(e.messageData,(function(n,r){return t("div",{key:r,staticClass:"message_item",on:{click:function(t){return e.getDataDetail(n)}}},[t("div",{staticClass:"item_title"},[t("img",{attrs:{src:e.returnCategoryImg(n.category_id),alt:""}}),t("p",[e._v(e._s(e.returnCategory(n.category_id)))])]),t("div",{staticClass:"item_content"},[t("img",{attrs:{src:n.cover_image,alt:""}}),t("div",{staticClass:"content_content"},[t("div",{staticClass:"content_title"},[e._v(e._s(n.title))]),t("div",{staticClass:"content_desc"},[e._v(e._s(n.short_desc))]),t("div",{staticClass:"content_time"},[e._v(e._s(n.create_time))])])]),n.is_read?e._e():t("img",{staticClass:"is_read",attrs:{src:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/new.png",alt:""}})])})),0),t("div",{staticClass:"left_page",on:{click:function(t){return e.pageClick("left")}}},[t("img",{style:e.canLeftClick?"opacity:1":"opacity:0.5",attrs:{src:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/left_page.png",alt:""}})]),t("div",{staticClass:"right_page",on:{click:function(t){return e.pageClick("right")}}},[t("img",{style:e.canRightClick?"opacity:1":"opacity:0.5",attrs:{src:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/right_page.png",alt:""}})])])]),t("el-drawer",{attrs:{title:"消息详情",visible:e.dataDetail.isShow,direction:"rtl",size:"560","before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.dataDetail,"isShow",t)}}},[t("el-scrollbar",[t("div",{staticClass:"detail"},[t("div",{staticClass:"detail_title"},[e._v(e._s(e.dataDetail.data.title))]),t("div",{staticClass:"detail_time"},[e._v(e._s(e.dataDetail.data.create_time))]),t("div",{staticClass:"detail_desc"},[e._v(e._s(e.dataDetail.data.short_desc))]),t("div",{staticClass:"detail_content"},[t("div",{staticClass:"content_content",domProps:{innerHTML:e._s(e.dataDetail.data.content)}})])])])],1)],1)])],1)},jn=[],Tn={name:"BiHomeData",props:{userId:{type:String,default:"1919"}},data(){return{uid:"",searchData:{uid:"1919",combination:"",category_id:"",page:1,page_size:4,total:0},url:"https://applause.zwwlkj03.top/api",options:{buttonList:[]},swiperData:[],messageData:[],dataDetail:{isShow:!1,data:{}}}},computed:{canLeftClick(){return!(this.searchData.page<=1)},canRightClick(){const e=Math.ceil(this.searchData.total/this.searchData.page_size);return!(this.searchData.page>=e)}},mounted(){this.url="production"!==this.$BI.env?"https://applause.zwwlkj03.top/api":"https://applause.wozhangwan.com/api",this.uid=this.userId,this.searchData.uid=this.userId,this.init()},methods:{init(){this.Searchcondition(),this.getSwiper(),this.getMessage()},swiperClick(e){"1"===e.type&&window.open(e.jump_url,"_blank"),"2"===e.type&&this.getDetail(this.uid,e.notify_id)},clickSearch(){this.searchData.page=1,this.searchData.category_id="",this.getMessage()},buttonClick(e){this.searchData.page=1,this.searchData.category_id=e,this.getMessage()},pageClick(e){"left"===e&&this.canLeftClick&&(this.searchData.page--,this.getMessage()),"right"===e&&this.canRightClick&&(this.searchData.page++,this.getMessage())},async getMessage(){const e=await Q.a.post(this.url+"/home/notify/list",this.searchData);1===e.data.status_code&&(this.messageData=e.data.data.data,this.searchData.page=e.data.data.page_info.page,this.searchData.total=e.data.data.page_info.total)},async getSwiper(){const e=await Q.a.post(this.url+"/home/carousel/list",{uid:this.uid});1===e.data.status_code&&(this.swiperData=e.data.data.data)},async Searchcondition(){const e=await Q.a.post(this.url+"/home/Searchcondition/index",{uid:this.uid,notify_category:1});1===e.data.status_code&&(this.options.buttonList=e.data.data.notify_category)},returnCategory(e){const t=this.options.buttonList.filter(t=>t.value===e);return t.length?t[0].label:"掌资讯"},returnCategoryImg(e){switch(e){case"1":return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/1.png";case"2":return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/2.png";case"3":return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/3.png";case"4":return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/4.png";default:return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/1.png"}},getDataDetail(e){this.sendRaed(e),this.getDetail(this.uid,e.id)},async sendRaed(e){const t=await Q.a.post(this.url+"/home/notify/read",{uid:this.uid,notify_id:e.id});1===t.data.status_code&&(e.is_read=!0)},async getDetail(e,t){const n=await Q.a.post(this.url+"/home/notify/detail",{uid:e,notify_id:t});1===n.data.status_code&&(this.dataDetail.data=n.data.data.data,this.dataDetail.isShow=!0)},handleClose(){this.dataDetail.isShow=!1}}},Cn=Tn,On=(n("4973"),n("864d"),m(Cn,Mn,jn,!1,null,"0509b7c7",null)),Dn=On.exports;Dn.install=function(e){e.component(Dn.name,Dn)};var Ln=Dn,En=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-navbar-tool"},[e.downloadCenter?t("DownloadCenter",e._b({ref:"DownloadCenter",attrs:{loading:e.downloadStatus,token:e.token,system:e.system}},"DownloadCenter",e.$attrs,!1)):e._e(),e.noticeCenter?t("NoticeCenter",e._b({ref:"NoticeCenter",attrs:{token:e.token,system:e.system}},"NoticeCenter",e.$attrs,!1)):e._e(),t("el-divider",{attrs:{direction:"vertical"}}),t("Avatar",e._g(e._b({},"Avatar",e.$attrs,!1),e.$listeners)),t("el-divider",{attrs:{direction:"vertical"}}),t("SystemLink",e._b({attrs:{token:e.token}},"SystemLink",e.$attrs,!1))],1)},An=[];function Pn(e,t){return ne({url:t+"/data/system/getInfo",method:"post",data:{character:e}})}function Nn(e,t){return ne({headers:{AuthKey:"authtpe84dzfl3iq62",authorization:t},url:e+"/api/icon/list",method:"post"})}function Yn(e){var t=document.createElement("script");t.src=e,document.head.appendChild(t)}function In(e,t){const n=J(t||"").zhangquan.baseUrl;Pn(e,n).then(e=>{1===e.status_code&&e.data.icon_url&&setTimeout(()=>{Yn(e.data.icon_url)})})}function Rn(e,t,n){const r=J(t||"").zhangquan.baseUrl;Nn(r,e).then(e=>{1===e.status_code&&(n(e.data),setTimeout(()=>{Yn(e.data.link)}))})}var Fn={name:"BiNavbarTool",components:{NoticeCenter:Nt,DownloadCenter:at,Avatar:Kt,SystemLink:Ht},props:{token:{type:String,default:""},downloadCenter:{type:Boolean,default:!0},noticeCenter:{type:Boolean,default:!0}},data(){return{system:this.$BI.system,ws:null,heartTimer:null,downloadStatus:!1}},mounted(){this.heartTimer=null,this.WebSocketInit(),this.$AccessReport.setToken(this.token);const{needIcon:e,env:t,iconInit:n}=this.$BI;e&&!n&&Rn(this.token,t,e=>{this.$set(this.$BI,"iconList",e.data),this.$set(this.$BI,"iconInit",!0)})},beforeDestroy(){clearInterval(this.heartTimer),this.ws.close()},methods:{WebSocketInit(){const e=J(this.$BI.env||"").noticeCenterWebsocket.baseUrl,t=e+`/ws/websocket/message?token=${this.token}&system=${this.system}`;this.ws=new WebSocket(t),this.ws.onopen=this.wsOnopen,this.ws.onmessage=this.wsOnmessage,this.ws.onerror=this.wsOnerror,this.ws.onclose=this.wsOnclose},wsOnopen(){console.log("link-start!!!!!"),clearInterval(this.heartTimer),this.heartTimer=null,this.heartTimer=setInterval(()=>{this.ws.send(JSON.stringify({code:1}))},3e4)},wsOnmessage({data:e}){try{const t=JSON.parse(e);if("0"===t.code&&(Object.hasOwnProperty.call(t,"data")&&Object.hasOwnProperty.call(t.data,"unread_num")&&this.$refs.NoticeCenter.setUnreadNum(t.data.unread_num),t.data.remind_msg&&"system"===t.data.remind_msg.type&&1===t.data.remind_msg.is_popup&&this.$refs.NoticeCenter.popupNotice(t.data.remind_msg),t.data.unfinish_num?this.downloadStatus=!0:this.downloadStatus=!1,t.data.remind_msg&&"download"===t.data.remind_msg.type)){const e=this.$createElement;this.$notify({type:1===t.data.remind_msg.is_fail?"warning":"success",title:t.data.remind_msg.content,position:"bottom-right",duration:5e3,message:e("div",null,[t.data.remind_msg.description]),dangerouslyUseHTMLString:!0}),t.data.remind_msg.download_url&&window.open(t.data.remind_msg.download_url)}}catch(t){console.log("wsOnmessage ~ error:",t)}},wsOnerror(e){console.log("wsOnerror:",e)},wsOnclose(e){console.log("wsOnclose: link-closed:",e),clearInterval(this.heartTimer),this.heartTimer=null,setTimeout(()=>{console.log("重新链接ws"),this.WebSocketInit()},1e4)}}},$n=Fn,Bn=(n("1427"),m($n,En,An,!1,null,"0c52ba83",null)),Hn=Bn.exports;Hn.install=function(e){e.component(Hn.name,Hn)};var qn=Hn,zn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block-box search-block-box"},[t("div",{staticClass:"block-content"},[e._t("default")],2),t("div",{staticClass:"block-footer"},[e._t("footer")],2)])},Vn=[],Wn={name:"BiSearchBlock"},Un=Wn,Gn=m(Un,zn,Vn,!1,null,null,null),Kn=Gn.exports;Kn.install=function(e){e.component(Kn.name,Kn)};var Xn=Kn,Jn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block-box"},[e._t("default")],2)},Zn=[],Qn={name:"BiBlock"},er=Qn,tr=m(er,Jn,Zn,!1,null,null,null),nr=tr.exports;nr.install=function(e){e.component(nr.name,nr)};var rr=nr,ir=function(){var e=this,t=e._self._c;return t("div",{staticClass:"search-form"},[e._t("default")],2)},or=[],sr={name:"BiForm"},ar=sr,lr=m(ar,ir,or,!1,null,null,null),ur=lr.exports;ur.install=function(e){e.component(ur.name,ur)};var cr=ur,dr=function(){var e=this,t=e._self._c;return t("div",{staticClass:"search-item"},[e.label?t("div",{staticClass:"item-label"},[e._v(e._s(e.label))]):e.$slots.label?t("div",{staticClass:"item-label"},[e._t("label")],2):e.$slots.select?t("div",{staticClass:"select-label"},[e._t("select")],2):e._e(),e.$slots.select?t("div",{staticClass:"item-content select-content"},[e._t("content")],2):e.$slots.button?t("div",{staticClass:"btn-item-content"},[e._t("button")],2):t("div",{staticClass:"item-content"},[e._t("content")],2)])},hr=[],fr={name:"BiFormItem",props:{label:{type:String,default:""}}},pr=fr,mr=m(pr,dr,hr,!1,null,null,null),yr=mr.exports;yr.install=function(e){e.component(yr.name,yr)};var gr=yr,br=function(){var e=this,t=e._self._c;return t("svg",e._g({staticClass:"bi-media-icon svg-icon",class:{iconInit:e.iconInit}},e.$listeners),[t("use",{attrs:{"xlink:href":e.returnName()}})])},vr=[],_r={name:"BiIcon",props:{iconId:{type:String,default:""},iconType:{type:String,default:"MEDIA"},iconName:{type:String,default:""},svgName:{type:String,default:""}},data(){return{BI:this.$BI}},computed:{iconList(){return this.BI.iconList||{}},iconInit(){return this.BI.iconInit},upperIconType(){return this.iconType.toUpperCase()}},methods:{returnName(){if(!this.iconInit)return"";try{const e=this.iconList[this.upperIconType];if(!e)return"";const t=e[this.iconId];return t&&t.icon?"#"+t.icon:""}catch(e){return console.warn("BiIcon: Failed to get icon - "+e.message),""}}}},wr=_r,xr=(n("495e"),m(wr,br,vr,!1,null,"4a74344e",null)),kr=xr.exports;kr.install=function(e){e.component(kr.name,kr)};var Sr=kr,Mr=n("a12d"),jr=n.n(Mr),Tr=n("6f6b"),Cr=n.n(Tr);const Or=[_e,Oe,Ie,ct,wt,Ct,qt,Yt,Xt,cn,gn,Sn,Ln,qn,Xn,rr,cr,gr,Sr],Dr=function(e,t={}){e.prototype.$BI={env:t.env||"production",system:t.system,request:t.request,needIcon:!1,iconInit:!1,iconList:{}},t&&t.request&&(e.prototype.$BiRequest=t.request),t&&t.needIcon&&(e.prototype.$BI.needIcon=!0),e.prototype.$BiEnv=t.env||"production",e.prototype.$AccessReport=new jr.a({system:t.system,env:t.env||"production"}),window.$BI=e.prototype.$BI,window.$AccessReport=e.prototype.$AccessReport,window.$BiEnv=e.prototype.$BiEnv,window.$BiSystem=e.prototype.$BiSystem,l.a.set("$BiEnv",t.env),l.a.set("$BiSystem",t.system),Dr.installed||(Or.map(t=>e.component(t.name,t)),In(t.system,t.env||"production"),e.use(Cr.a,{StickyHeader:{offsetTop:0,offsetBottom:0},StickyFooter:{offsetBottom:0},StickyScroller:{offsetBottom:0},HeightAdaptive:{offsetBottom:0}}))};"undefined"!==typeof window&&window.Vue&&Dr(window.Vue);var Lr={install:Dr,BiTable:_e,BiCustomColumn:Oe,BiDatePicker:Ie,BiDownloadCenter:ct,BiMoreButton:wt,BiSystemLink:qt,BiNoticeCenter:Yt,BiAvatar:Xt,BiLog:cn,BiLogDialog:gn,BiLogButton:Sn,BiHomeData:Ln,AccessReport:jr.a,BiTableSticky:Cr.a,BiSearchBlock:Xn,BiBlock:rr,BiForm:cr,BiFormItem:gr};t["default"]=Lr},dd96:function(e,t,n){"use strict";(function(t){var r=n("5595"),i=n("4740"),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function a(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("a215")),e}var l={adapter:a(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(o)})),e.exports=l}).call(this,n("0418"))},de88:function(e,t,n){"use strict";t.__esModule=!0,t.default=s;var r=n("8bbf"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!i.default.prototype.$isServer)if(t){var n=[],r=t.offsetParent;while(r&&e!==r&&e.contains(r))n.push(r),r=r.offsetParent;var o=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),s=o+t.offsetHeight,a=e.scrollTop,l=a+e.clientHeight;o<a?e.scrollTop=o:s>l&&(e.scrollTop=s-e.clientHeight)}else e.scrollTop=0}},e00e:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
349
|
+
function t(e,t,n,r){var i={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return r?i[n][0]:i[n][1]}var n=e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}});return n}))},dd5d:function(e,t,n){"use strict";if(n.r(t),"undefined"!==typeof window){var r=window.document.currentScript,i=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(n.p=i[1])}n("25aa");var o,s,a=n("e50b"),l=n.n(a),u=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-table",class:{"bi-table__loading":e.loading}},[t("div",{staticClass:"bi-table-wrapper"},[t("el-table",e._g(e._b({directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"},{name:"sticky-header",rawName:"v-sticky-header",value:{offsetTop:e.stickyTop},expression:"{offsetTop:stickyTop}"},{name:"sticky-footer",rawName:"v-sticky-footer",value:{offsetBottom:e.stickyBottom},expression:"{offsetBottom:stickyBottom}"}],ref:"elTable",attrs:{data:e.data,"max-height":e.maxHeight},on:{"header-dblclick":e.handleHeaderClick}},"el-table",e.$attrs,!1),e.$listeners),[e._l(e.tbColumns,(function(n){return[n.slotScope&&n.slotScopeHeader?t("el-table-column",e._g(e._b({key:"a"+n.prop+n.label,scopedSlots:e._u([{key:"default",fn:function(t){return[e._t(n.prop,null,null,t)]}}],null,!0)},"el-table-column",n,!1),e.$listeners),[t("template",{slot:"header"},[e._t(n.prop+"_header"),t("BiTableHeaderPopper",{attrs:{prop:n.prop}})],2)],2):n.slotScope&&!n.slotScopeHeader?t("el-table-column",e._g(e._b({key:"b"+n.prop+n.label,scopedSlots:e._u([{key:"header",fn:function(r){return[n.headerRender?t("BiRender",{attrs:{scope:r,render:n.headerRender}}):t("span",[e._v(e._s(n.label))]),t("BiTableHeaderPopper",{attrs:{prop:n.prop}})]}},{key:"default",fn:function(t){return[e._t(n.prop,null,null,t)]}}],null,!0)},"el-table-column",n,!1),e.$listeners)):!n.slotScope&&n.slotScopeHeader&&n.render?t("el-table-column",e._g(e._b({key:"c"+n.prop+n.label,scopedSlots:e._u([{key:"default",fn:function(r){return[n.render?t("BiRender",{attrs:{scope:r,render:n.render}}):e._e()]}}],null,!0)},"el-table-column",n,!1),e.$listeners),[t("template",{slot:"header"},[e._t(n.prop+"_header"),t("BiTableHeaderPopper",{attrs:{prop:n.prop}})],2)],2):n.children?t("bi-column-group",e._b({key:"g"+n.prop+n.label+"1",attrs:{column:n}},"bi-column-group",e.$attrs,!1)):t("bi-column",e._b({key:"d"+n.prop+n.label+"1",attrs:{column:n}},"bi-column",e.$attrs,!1))]}))],2)],1),e.pagination?[e.data.length>0?t("pagination",e._g(e._b({attrs:{disabled:e.loading}},"pagination",e.$attrs,!1),e.$listeners)):e._e()]:e._e(),t("BiTableHeaderEdit",{ref:"BiTableHeaderEdit"})],2)},c=[],d=function(){var e=this,t=e._self._c;return t("el-table-column",e._g(e._b({scopedSlots:e._u([{key:"header",fn:function(n){return[e.column.headerRender?t("bi-render",{attrs:{scope:n,render:e.column.headerRender,type:"header"}}):t("span",[e._v(e._s(n.column.label)+" ")]),t("BiTableHeaderPopper",{attrs:{prop:e.column.prop}})]}},{key:"default",fn:function(n){return[e.column.component?t(e.column.component,e._g(e._b({tag:"component"},"component",e.getCptBind(n,e.column),!1),e.column.listeners)):e.column.children?e._l(e.column.children,(function(n){return t("bi-column",e._g({key:n.prop,attrs:{column:n}},e.$listeners))})):t("bi-render",{attrs:{scope:n,render:e.column.render}})]}}])},"el-table-column",e.column,!1),e.$listeners))},h=[],f={name:"BiRender",functional:!0,props:{scope:{type:Object,default:()=>({})},render:{type:Function,default:()=>()=>{}},type:{type:String,default:""}},render:(e,t)=>t.props.render?t.props.render(e,t.props.scope):""},p=f;function m(e,t,n,r,i,o,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}var y=m(p,o,s,!1,null,null,null),g=y.exports,b={selection:{renderHeader:function(e,{store:t}){return e("el-checkbox",{attrs:{disabled:t.states.data&&0===t.states.data.length,indeterminate:t.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},nativeOn:{click:this.toggleAllSelection}})},renderCell:function(e,{row:t,column:n,store:r,$index:i}){return e("el-checkbox",{nativeOn:{click:e=>e.stopPropagation()},attrs:{value:r.isSelected(t),disabled:!!n.selectable&&!n.selectable.call(null,t,i)},on:{input:()=>{r.commit("rowSelectedChanged",t)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(e,{column:t}){return t.label||"#"},renderCell:function(e,{$index:t,column:n}){let r=t+1;const i=n.index;return"number"===typeof i?r=t+i:"function"===typeof i&&(r=i(t)),e("div",[r])},sortable:!1},expand:{renderHeader:function(e,{column:t}){return t.label||""},renderCell:function(e,{row:t,store:n}){const r=["el-table__expand-icon"];n.states.expandRows.indexOf(t)>-1&&r.push("el-table__expand-icon--expanded");const i=function(e){e.stopPropagation(),n.toggleRowExpansion(t)};return e("div",{class:r,on:{click:i}},[e("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}},v=function(){var e=this,t=e._self._c;return t("span",{staticClass:"bi-tableheader"},[e.popperData.content||e.popperData.imgs?t("el-popover",{attrs:{placement:"top-start","min-width":"260","popper-class":"bi-tableheader-popper",trigger:"hover"}},[t("div",{staticClass:"tableheader-popper-box"},[t("div",{staticClass:"tableheader-popper-content-box"},[t("div",{staticClass:"tableheader-popper-content",domProps:{innerHTML:e._s(e.popperData.content||"")}}),e.fisrtImg?t("div",{staticClass:"tableheader-popper-img-box"},[t("div",{staticClass:"tableheader-popper-img"},[t("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{src:e.fisrtImg,"preview-src-list":e.popperData.imgs,alt:"点击查看大图",title:"点击查看大图"}}),t("span",[e._v("(1/"+e._s(e.imgsLenght)+")")])],1)]):e._e()]),e.popperData.update_time?t("div",{staticClass:"tableheader-popper-time"},[e._v(" 更新日期: "+e._s(e.popperData.update_time)+" ")]):e._e()]),t("i",{staticClass:"tableheader-popver-reference el-icon-question-fill",staticStyle:{color:"rgb(134, 144, 156)"},attrs:{slot:"reference"},slot:"reference"})]):e._e()],1)},_=[],w=(n("8bbf"),{nama:"BiTableHeaderPopper",props:{prop:{type:String,default:""}},inject:["biTable"],data(){return{popoperTagNode:null}},computed:{popperData(){const e=this.biTable.headerPopper.findPopperData(this.prop)||{};return e},fisrtImg(){return this.popperData.imgs&&this.popperData.imgs.length?this.popperData.imgs[0]:""},imgsLenght(){return this.popperData.imgs&&this.popperData.imgs.length?this.popperData.imgs.length:0}},methods:{getTagForPopoper(e){const t=["ElTooltip"];e.forEach(e=>{t.every(t=>e.tag&&e.tag.includes(t))&&(this.popoperTagNode=e),e.children&&this.getTagForPopoper(e.children)})},getTextForSlot(e){let t="";const n=e=>{e.children?e.children.forEach(e=>{e.text&&(t+=e.text),"br"===e.tag&&(t+="</br>"),e.children&&e.children.forEach(e=>{n(e)})}):("br"===e.tag&&(t+="</br>"),e.text&&(t+=e.text))};return n(e),t}}}),x=w,k=m(x,v,_,!1,null,null,null),S=k.exports;S.install=function(e){e.component(S.name,S)};var M=S,j={name:"BiColumn",components:{BiRender:g,BiTableHeaderPopper:M},props:{column:{type:Object,default:()=>{}}},watch:{column:{handler:"renderColumn",immediate:!0}},mounted(){},methods:{renderColumn(){this.$createElement;const{column:e}=this;return e.type&&(e.renderHeader=b[e.type].renderHeader,e.render=e.render||b[e.type].renderCell),e.formatter&&(e.render=(e,t)=>e("span",[t.column.formatter(t.row,t.column,t.row[t.column.property],t.$index)])),e.render||(e.render=(e,t)=>e("span",[t.row[t.column.property]])),e},getColBind(e){const t=Object.assign({},this.$attrs,e);return delete t.component,delete t.listeners,delete t.propsHandler,t},getCptBind({row:e,column:t},n){const r={row:e,col:n,column:t},i=n.propsHandler;return i&&i(r)||r}}},T=j,C=m(T,d,h,!1,null,null,null),O=C.exports,D=function(){var e=this,t=e._self._c;return t("el-table-column",e._b({},"el-table-column",e.column,!1),[e._l(e.column.children,(function(n){return[n.children?[t("BiColumnGroup",e._b({key:"g"+e.column.prop+e.column.label+n.prop+n.label+"1",attrs:{column:n}},"BiColumnGroup",e.$attrs,!1))]:t("bi-column",e._g({key:"c"+e.column.prop+e.column.label+n.prop+n.label+"1",attrs:{column:n}},e.$listeners))]}))],2)},L=[],E={name:"BiColumnGroup",components:{BiColumn:O},props:{column:{type:Object,default:()=>{}}},watch:{column:{handler:"renderColumn",immediate:!0}},mounted(){},methods:{renderColumn(){this.$createElement;const{column:e}=this;return e.type&&(e.renderHeader=b[e.type].renderHeader,e.render=e.render||b[e.type].renderCell),e.formatter&&(e.render=(e,t)=>e("span",[t.column.formatter(t.row,t.column,t.row[t.column.property],t.$index)])),e.render||(e.render=(e,t)=>e("span",[t.row[t.column.property]])),e.children,e},getColBind(e){const t=Object.assign({},this.$attrs,e);return delete t.component,delete t.listeners,delete t.propsHandler,t},getCptBind({row:e,column:t},n){const r={row:e,col:n,column:t},i=n.propsHandler;return i&&i(r)||r}}},A=E,P=m(A,D,L,!1,null,null,null),N=P.exports,Y=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pagination-container",class:{hidden:e.hidden}},[t("el-pagination",e._b({attrs:{background:e.background,"current-page":e.currentPage,"page-size":e.pageSize,layout:e.layout,"page-sizes":e.pageSizes,total:e.total},on:{"update:currentPage":function(t){e.currentPage=t},"update:current-page":function(t){e.currentPage=t},"update:pageSize":function(t){e.pageSize=t},"update:page-size":function(t){e.pageSize=t},"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}},"el-pagination",e.$attrs,!1))],1)},I=[];Math.easeInOutQuad=function(e,t,n,r){return e/=r/2,e<1?n/2*e*e+t:(e--,-n/2*(e*(e-2)-1)+t)};var R=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function F(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function $(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function B(e,t,n){const r=$(),i=e-r,o=20;let s=0;t="undefined"===typeof t?500:t;var a=function(){s+=o;var e=Math.easeInOutQuad(s,r,i,t);F(e),s<t?R(a):n&&"function"===typeof n&&n()};a()}var H={name:"BiPagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:20},pageSizes:{type:Array,default(){return[10,20,30,50]}},layout:{type:String,default:"total, prev, pager, next"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},hidden:{type:Boolean,default:!1}},computed:{currentPage:{get(){return this.page},set(e){this.$emit("update:page",e)}},pageSize:{get(){return this.limit},set(e){this.$emit("update:limit",e)}}},methods:{handleSizeChange(e){this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll&&B(0,800)},handleCurrentChange(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll&&B(0,800)}}},q=H,z=m(q,Y,I,!1,null,null,null),V=z.exports;function W(e="authorization"){return l.a.get(e)}function U(e="$BiSystem"){return l.a.get(e)}function G(e="$BiEnv"){return l.a.get(e)}function K(e){for(var t=e||32,n="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",r=n.length,i="",o=0;o<t;o++)i+=n.charAt(Math.floor(Math.random()*r));var s=(new Date).getTime();return i+s}const X={stage:{noticeCenterWebsocket:{baseUrl:"wss://message.wanqudianchi.com/"},noticeCenter:{baseUrl:"https://message.wanqudianchi.com/"},downloadCenter:{baseUrl:"https://export.zwwlkj03.top"},zhangquan:{baseUrl:"https://zq.zwwlkj03.top/api/"}},prod:{noticeCenterWebsocket:{baseUrl:"wss://message.zwnet.cn/"},noticeCenter:{baseUrl:"https://message.zwnet.cn/"},downloadCenter:{baseUrl:"https://export.wozhangwan.com"},zhangquan:{baseUrl:"https://zq.wozhangwan.com/api/"}},dev:{noticeCenterWebsocket:{baseUrl:"wss://message.wanqudianchi.com/"},noticeCenter:{baseUrl:"/message-dev"},downloadCenter:{baseUrl:"/export-dev"},zhangquan:{baseUrl:"https://zq.zwwlkj03.top/api"}},release:{noticeCenterWebsocket:{baseUrl:"wss://message.wanqudianchi.com/"},noticeCenter:{baseUrl:"https://message.wanqudianchi.com/"},downloadCenter:{baseUrl:"https://export.zwwlkj03.top"},zhangquan:{baseUrl:"https://zq.zwwlkj03.top/api/"}}};X["staging"]=X["stage"],X["production"]=X["prod"],X["development"]=X["dev"];const J=(e="production")=>X[e]||X["production"];var Z=n("e2d4"),Q=n.n(Z),ee=n("61ed");const te=Q.a.create({baseURL:"",timeout:1e5});te.interceptors.request.use(e=>e,e=>(console.log(e),Promise.reject(e))),te.interceptors.response.use(e=>{const t=e.data;return 1!==t.status_code?(Object(ee["Message"])({message:t.msg||"Error",type:"error",duration:5e3}),t):t},e=>(console.log("err"+e),Object(ee["Message"])({message:e.msg,type:"error",duration:5e3}),Promise.reject(e)));var ne=te;class re{constructor(e){this.editEnabled=!1,this.popperData=[],this.module=e||"",this.authorization=W(),this.system=U(),this.$BiEnv=G(),this.baseUrl=J(this.$BiEnv||"").zhangquan.baseUrl,this.module&&this.getPopperList()}findPopperData(e){return this.module?this.popperData.find(t=>t.prop===e):{}}async getPopperList(){const e=await ne({url:this.baseUrl+"/common/table_head/list",method:"post",headers:{Authorization:this.authorization,System:this.system},data:{module:this.module}});1===e.status_code&&(this.editEnabled=e.data.super,this.popperData=e.data.data)}async savePopperData(e){return new Promise((t,n)=>{if(!this.editEnabled)return void t();const r={module:this.module,prop:e.prop,label:"",content:e.content,imgs:e.imgs||[]};e.id&&(r.id=e.id),ne({url:this.baseUrl+"/common/table_head/save",method:"post",headers:{Authorization:this.authorization,System:this.system},data:r}).then(e=>{1===e.status_code&&(t(),this.getPopperList())})})}async delPopperItem(e){return ne({url:this.baseUrl+"/common/table_head/del",method:"post",headers:{Authorization:this.authorization,System:this.system},data:{id:e}})}}var ie=function(){var e=this,t=e._self._c;return t("div",{staticClass:"tableheader-popper-editdialog"},[t("el-dialog",{attrs:{visible:e.dialogVisible,title:"修改字段说明",width:"408px","custom-class":"tableheader-popper-editdialog","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t},closed:e.handleClosed}},[t("div",{staticClass:"tableheader-popper-editbox"},[t("el-form",{attrs:{model:e.popperData,"label-width":"80px"}},[t("el-form-item",{attrs:{label:"说明"}},[t("quill-editor",{ref:"myQuillEditor",attrs:{options:e.editorOption},on:{ready:function(t){return e.onEditorReady(t)},change:function(t){return e.onEditorChange(t)}},model:{value:e.popperData.content,callback:function(t){e.$set(e.popperData,"content",t)},expression:"popperData.content"}})],1),t("el-form-item",{attrs:{label:"截图"}},[t("el-upload",{ref:"Upload",attrs:{"list-type":"picture-card","http-request":e.httpRequest,action:"#","file-list":e.fileList,"on-success":e.success,"before-remove":e.beforeRemove,"before-upload":e.beforeUpload}},[t("i",{staticClass:"el-icon-add"})])],1)],1)],1),t("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e.popperData.id?t("el-button",{attrs:{type:"text"},on:{click:e.delePopper}},[e._v("清除提示")]):e._e(),t("div",{staticClass:"action-buttons"},[t("el-button",{on:{click:function(t){e.dialogVisible=!1}}},[e._v("取 消")]),t("el-button",{attrs:{type:"primary",disabled:e.uploadLoading,loading:e.saveLoading},on:{click:e.handleSave}},[e._v("确 定")])],1)],1)])],1)},oe=[],se=(n("3cbe"),n("7cc5"),n("536a"),n("0183"),n("511b")),ae=n("508e"),le=n.n(ae),ue=n("bb03"),ce=n.n(ue);function de(e,t,n){const r=W(),i=U(),o=G(),s=J(o||"").zhangquan.baseUrl,a={dir:"",region:"oss-cn-hangzhou",file:null,date:ce()().format("YYYYMMDD"),str:"",ext:null,secure:!0,pact:"https://"},l=Object.assign({},a,t);return l.file=e,l.ext=e.name.slice(e.name.lastIndexOf(".")+1),new Promise((function(e,t){ne({url:s+"/common/oss/stsToken",method:"post",headers:{Authorization:r,System:i}}).then(a=>{const{accessKeyId:u,accessKeySecret:c,securityToken:d,bucket:h,endpoint:f}=a.data,p=new le.a({region:l.region,accessKeyId:u,accessKeySecret:c,stsToken:d,bucket:h,secure:!0,endpoint:f,cname:!0,refreshSTSTokenInterval:3e5,refreshSTSToken:async()=>{const e=await ne({url:s+"/common/oss/stsToken",method:"post",headers:{Authorization:r,System:i}});return{accessKeyId:e.data.accessKeyId,accessKeySecret:e.data.accessKeySecret,stsToken:e.data.securityToken}}}),m=K(16)+"."+l.ext,y={progress:(e,t,r)=>{n&&n(e,t,r)},parallel:4};p.multipartUpload("/table_head"+("production"===o?"/production":"/staging")+l.dir+m,l.file,y).then(n=>{200===n.res.status?e({status_code:1,msg:"上传成功",data:f+n.name,config:l}):t({status_code:-1,msg:"上传失败,请稍后再试",data:n,config:l})}).catch(e=>{t({status_code:-1,msg:"上传失败",data:e,config:l})})})}))}var he={name:"BiTableHeaderPopperEdit",components:{quillEditor:se["quillEditor"]},data(){return{dialogVisible:!1,saveLoading:!1,uploadLoading:!1,popperData:{label:"",prop:"",content:"",imgs:[]},fileList:[],lastFileData:{},lastFile:{uid:"",url:""},editorOption:{placeholder:"在这里输入....",modules:{toolbar:[["bold","italic","underline","link",{align:[]},{color:[]},"clean"]],clipboard:{matchers:[[Node.ELEMENT_NODE,this.desMatcher]]}}}}},inject:["biTable"],computed:{editor(){return this.$refs.myQuillEditor.quill}},methods:{show(e){const t=this.biTable.headerPopper.findPopperData(e)||{label:"",prop:e,content:"",imgs:[]};this.$set(this,"popperData",Object.assign({},t)),this.dialogVisible=!0,this.$nextTick(()=>{this.fileList=t.imgs.map(e=>({name:e,url:e}))})},onEditorReady(e){},onEditorChange({quill:e,html:t,text:n}){this.popperData.content=t},desMatcher(e,t){const n=[];return t.ops.forEach(e=>{if(e.insert&&"string"===typeof e.insert){const t={insert:e.insert};e.attributes&&(t.attributes=e.attributes),n.push(t)}else e.insert.image&&console.log("图片不可粘贴,请使用图片上传按钮哦!")}),t.ops=n,t},handleSave(){this.saveLoading=!0,this.popperData.imgs=this.fileList.map(e=>e.url),this.biTable.headerPopper.savePopperData(this.popperData).then(()=>{this.saveLoading=!1,this.dialogVisible=!1})},async httpRequest(e){const t={dir:"/"};try{const n=e=>{this.uploadLoading=!0,100*e===100&&(this.uploadLoading=!1,Object(ee["Message"])({message:"上传成功",type:"success"}))};Object(ee["Message"])({message:"上传中",type:"info"});const r=await de(e.file,t,n);1===r.status_code&&(this.lastFile.url=r.data)}catch(n){}},beforeUpload(e){return this.$set(this,"lastFileData",e),this.lastFile.uid="",this.lastFile.url="",e&&e.uid&&(this.lastFileData.percentage=0,this.lastFileData.status="uploading",this.lastFile.uid=e.uid),!0},beforeRemove(e,t){return this.fileList=t.filter(t=>t.uid!==e.uid),!0},success(e,t,n){const r=n.find(e=>e.uid===this.lastFile.uid);r&&(r.url=this.lastFile.url),this.fileList=n},handleClosed(){this.fileList=[],this.saveLoading=!1},delePopper(){this.biTable.headerPopper.delPopperItem(this.popperData.id).then(e=>{1===e.status_code&&Object(ee["Message"])({message:"清除成功",type:"success"}),this.biTable.headerPopper.getPopperList(),this.dialogVisible=!1,this.uploadLoading=!1})}}},fe=he,pe=m(fe,ie,oe,!1,null,null,null),me=pe.exports,ye={name:"BiTable",components:{Pagination:V,BiRender:g,BiColumn:O,BiColumnGroup:N,BiTableHeaderEdit:me,BiTableHeaderPopper:M},props:{data:{type:Array,default:()=>[]},column:{type:Array,default:()=>[]},columnsProps:{type:Object,default:()=>({})},loading:{type:Boolean,default:!1},pagination:{type:Boolean,default:!1},fixed:{type:String,default:""},fixedOffset:{type:[String,Number],default:""},stickyTop:{type:[Number,String],default:50},stickyBottom:{type:Number,default:0},headerPopperType:{type:String,default:""}},provide(){return{biTable:this}},data(){return{maxHeight:null,headerStatus:!1,footerStatus:!1,headerPopper:new re(this.headerPopperType)}},computed:{tbColumns(){const{column:e,columnsProps:t}=this;return e.map(e=>{const n=this.formatColumn(e),r=Object.assign({},t,n);return r})},fixedHeader(){return this.fixed}},methods:{resetHeaderFooter(){"sticky"===this.fixedHeader?(this.handleStickyHeader(),Object.prototype.hasOwnProperty.call(this.$attrs,"show-summary")&&this.handleStickyFooter()):"fullscreen"===this.fixedHeader&&this.handleFixedHeader()},handleStickyHeader(){const e=Number(this.fixedOffset),t=this.$el.getBoundingClientRect().top;let n=0;this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",n=t<e&&t>=0?e-t-1:t<0?Math.abs(t)+e-1:0,n?(this.headerStatus||(this.headerStatus=!0,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="absolute",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.zIndex="2"),this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform=`translate(0px, ${n}px)`,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",this.$el.querySelector(".el-table__fixed")&&(this.$el.querySelector(".el-table__fixed").style.zIndex="3"),this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.transform=`translate(0px, ${n}px)`,this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right")&&(this.$el.querySelector(".el-table__fixed-right").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.transform=`translate(0px, ${n}px)`,this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.zIndex="4")):(this.headerStatus=!1,this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.zIndex="5",this.$el.querySelector(".el-table__fixed .el-table__fixed-header-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.zIndex="5",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-header-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__header-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0")},handleStickyFooter(){const e=document.documentElement.clientHeight,t=this.$el.querySelector(".bi-table-wrapper").clientHeight,n=this.$el.getBoundingClientRect().top,r=e-n-t;Math.abs(n)+e<t||r<0?(this.footerStatus||(this.footerStatus=!0,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="absolute",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="2"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform=`translate(0px, ${r}px)`,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.querySelector(".el-table__fixed")&&(this.$el.querySelector(".el-table__fixed").style.zIndex="3"),this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform=`translate(0px, ${r}px)`,this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right")&&(this.$el.querySelector(".el-table__fixed-right").style.zIndex="4"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform=`translate(0px, ${r}px)`,this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4")):(this.footerStatus=!1,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0")},resetStickyFooter(){this.footerStatus=!1,this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.position="relative",this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.transform="translate(0px, 0px)",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper")&&(this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.zIndex="4",this.$el.querySelector(".el-table__fixed-right .el-table__fixed-footer-wrapper").style.transform="translate(0px, 0px)"),this.$el.getElementsByClassName("el-table__footer-wrapper")[0].style.zIndex="3",this.$el.getElementsByClassName("el-table__body-wrapper")[0].style.paddingTop="0"},handleFixedHeader(){const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-Number(this.fixedOffset)-(this.pagination?72:0);Math.abs(t-this.maxHeight)>3&&(this.maxHeight=t),e<=Number(this.fixedOffset)+20&&e>=0?this.$el.querySelector(".bi-table-wrapper>.el-table>.el-table__body-wrapper").style.overflowY="auto":this.$el.querySelector(".bi-table-wrapper>.el-table>.el-table__body-wrapper").style.overflowY="hidden"},getElementTop(e){if(!e)return 0;let t=e.offsetTop,n=e.offsetParent;while(null!==n)t+=n.offsetTop,n=n.offsetParent;return t},formatColumn(e){const t=Object.assign({},e);return"function"===typeof t.width&&(t.width=t.width()),"function"===typeof t.minWidth&&(t.minWidth=t.minWidth()),t.renderHeader&&(t.headerRender=t.renderHeader,delete t.renderHeader),t.children&&(t.children=t.children.map(e=>this.formatColumn(e))),t},handleHeaderClick(e,t){t.preventDefault(),this.$refs.BiTableHeaderEdit&&this.$refs.BiTableHeaderEdit&&this.headerPopper&&this.headerPopper.editEnabled&&e.property&&this.$refs.BiTableHeaderEdit.show(e.property)}}},ge=ye,be=(n("4d33"),m(ge,u,c,!1,null,null,null)),ve=be.exports;ve.install=function(e){e.component(ve.name,ve)};var _e=ve,we=function(){var e=this,t=e._self._c;return t("el-button",{attrs:{type:e.type},on:{click:function(t){e.visible=!0}}},[t("template",{slot:"default"},[t("div",{staticClass:"custom-column-button"},[t("i",{staticClass:"el-icon-column"}),t("span",[e._v("自定义列")])])]),t("el-dialog",{attrs:{"custom-class":"bi-column-dialog",title:"自定义列",visible:e.visible,width:e.dialogWidth,top:"0vh","append-to-body":""},on:{"update:visible":function(t){e.visible=t},open:e.handleOpen,close:e.close}},[t("div",{staticClass:"dialog-body",staticStyle:{"min-height":"160px"}},[t("div",{staticClass:"bi-column-container"},[t("div",{staticClass:"checkbox-container"},[t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[t("div",{staticClass:"box-card-header"},[t("span",[e._v("可操作性的列")]),t("span",{staticStyle:{display:"inline-block"}},[t("el-checkbox",{attrs:{label:"全选"},on:{change:e.checkAll},model:{value:e.checkAllData,callback:function(t){e.checkAllData=t},expression:"checkAllData"}},[e._v(" 全选 ")])],1)])]),e._l(e.colList,(function(n,r){return t("div",{key:r,staticClass:"checkbox-group"},[t("p",{directives:[{name:"show",rawName:"v-show",value:e.colList.length>1,expression:"colList.length>1"}],staticClass:"checkbox-title"},[t("el-checkbox",{on:{change:t=>e.handleCheckGroupAllChange(t,n)},model:{value:n.status,callback:function(t){e.$set(n,"status",t)},expression:"item.status"}},[e._v(e._s(n.content))])],1),t("p",[t("el-checkbox-group",{attrs:{"true-label":1,"false-label":0},on:{change:function(t){return e.handleCheckGroupAll(n)}},model:{value:e.checkList,callback:function(t){e.checkList=t},expression:"checkList"}},e._l(n.children,(function(n,r){return t("el-checkbox",{key:r,staticStyle:{width:"120px",margin:"0 15px 15px 0"},attrs:{label:n.name}},[e._v(" "+e._s(n.content)+" ")])})),1)],1)])}))],2)],1),t("div",{staticClass:"column-container"},[t("el-card",{staticClass:"box-card",attrs:{shadow:"never"}},[t("div",{staticClass:"column-title",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("已选"+e._s(e.columnLength)+"列")]),t("el-button",{attrs:{type:"text"},on:{click:e.clearAll}},[e._v("清空全部")])],1),t("transition-group",{attrs:{type:"transition",name:e.drag?null:"flip-list"}},[t("div",{key:"left"},[t("p",{staticClass:"column-group-title"},[e._v("左侧固定列")]),t("div",{staticClass:"column-configurable"},[t("draggable",e._b({attrs:{group:"column"},on:{start:function(t){e.drag=!0},end:function(t){e.drag=!1}},model:{value:e.leftColumnList,callback:function(t){e.leftColumnList=t},expression:"leftColumnList"}},"draggable",e.dragOptions,!1),e._l(e.leftColumnList,(function(n){return t("div",{key:n.prop,staticClass:"selected-column-item"},[t("i",{staticClass:"el-icon-drags"}),t("div",{staticClass:"column-name"},[e._v(e._s(n.content||n.label))]),t("i",{staticClass:"el-icon-close column-close",on:{click:function(t){return e.closeColumn(n.prop)}}})])})),0)],1)]),t("div",{key:"center"},[t("p",{staticClass:"column-group-title"},[e._v("中间不固定列")]),t("div",{staticClass:"column-configurable"},[t("draggable",e._b({attrs:{group:"column"},on:{start:function(t){e.drag=!0},end:function(t){e.drag=!1}},model:{value:e.columnList,callback:function(t){e.columnList=t},expression:"columnList"}},"draggable",e.dragOptions,!1),e._l(e.columnList,(function(n){return t("div",{key:n.prop,staticClass:"selected-column-item"},[t("i",{staticClass:"el-icon-drags"}),t("div",{staticClass:"column-name"},[e._v(e._s(n.content||n.label))]),t("i",{staticClass:"el-icon-close column-close",on:{click:function(t){return e.closeColumn(n.prop)}}})])})),0)],1)]),t("div",{key:"right"},[t("p",{staticClass:"column-group-title"},[e._v("右侧固定列")]),t("div",{staticClass:"column-configurable"},[t("draggable",e._b({attrs:{group:"column"},on:{start:function(t){e.drag=!0},end:function(t){e.drag=!1}},model:{value:e.rightColumnList,callback:function(t){e.rightColumnList=t},expression:"rightColumnList"}},"draggable",e.dragOptions,!1),e._l(e.rightColumnList,(function(n){return t("div",{key:n.prop,staticClass:"selected-column-item"},[t("i",{staticClass:"el-icon-drags"}),t("div",{staticClass:"column-name"},[e._v(e._s(n.content||n.label))]),t("i",{staticClass:"el-icon-close column-close",on:{click:function(t){return e.closeColumn(n.prop)}}})])})),0)],1)])])],1)],1)])]),t("span",{staticClass:"dialog-footer",staticStyle:{display:"flex","justify-content":"space-between",padding:"4px"},attrs:{slot:"footer"},slot:"footer"},[t("span",{staticStyle:{display:"inline-block","line-height":"32px"}}),t("div",[t("el-button",{on:{click:e.close}},[e._v("取消")]),t("el-button",{attrs:{type:"primary"},on:{click:e.ok}},[e._v("确定")])],1)])])],2)},xe=[],ke=n("ce7d"),Se=n.n(ke),Me={name:"BiCustomColumn",components:{draggable:Se.a},props:{columnName:{type:String,require:!0,default:""},dialogWidth:{type:String,default:"770px"},viewModel:{type:String,default:""},type:{type:String,default:""},listType:{type:String,require:!0,default:""},checkData:{type:Array,require:!0,default:()=>[]},tableColumn:{type:Array,default:()=>[]},defaultList:{type:Array,default:()=>[]},defaultColumn:{type:Object,default:()=>({left:[],center:[],right:[]})}},data(){return{tableColumnList:this.tableColumn,visible:!1,colList:[],checkList:[],checkAllData:!1,drag:!1,draggableList:[],leftColumnList:[],columnList:[],rightColumnList:[]}},computed:{columnLength(){return this.leftColumnList.length+this.columnList.length+this.rightColumnList.length},dragOptions(){return{animation:200,group:"description",disabled:!1,ghostClass:"ghost",class:"list-group"}}},watch:{colList:{handler(e){let t=!0;e.forEach(e=>{e.status=Boolean(e.status),e.status?this.checkAllData=e.status:t=!1,this.checkAllData=t})},deep:!0}},mounted(){this.viewModel||(this.getList(),this.defaultColumnInit(),this.returnColumn())},beforeDestroy(){this.visible=!1},methods:{defaultColumnInit(){const e=this.getLocalStorage(),{left:t,center:n,right:r}=e||this.defaultColumn;t.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.leftColumnList.push(t)}),n.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.columnList.push(t)}),r.map(e=>{this.checkList.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&this.rightColumnList.push(t)}),this.saveLocalStorage()},async getList(e){this.colList=this.defaultList,this.defaultCheck()},checkAll(e){this.colList.forEach(t=>{this.handleCheckGroupAllChange(e,t),t.status=e}),e||(this.checkList=[])},defaultCheck(){this.$nextTick(()=>{this.colList.forEach(e=>{this.handleCheckGroupAll(e)})})},deleteArrayItemForIndex(e,t){if(-1!==t)return e.splice(t,1)},handleCheckGroupAllChange(e,t){e?t.children.map(e=>{-1===this.checkList.indexOf(e.name)&&(this.checkList.push(e.name),this.insertColumn(e.name))}):t.children.map(e=>{this.deleteArrayItemForIndex(this.checkList,this.checkList.indexOf(e.name)),this.removeColumn(e.name)})},handleCheckGroupAll(e){let t=1;e.children.map(e=>{-1===this.checkList.indexOf(e.name)?(this.removeColumn(e.name),t=0):this.insertColumn(e.name)}),e.status=t},async setTheadList(){const e=JSON.parse(JSON.stringify(this.colList));var t=[];e.forEach(e=>{e.status=e.status?1:0,t.push(...e.children)})},clearAll(){this.checkList=[],this.checkAll(!1)},closeColumn(e){this.deleteArrayItemForIndex(this.checkList,this.checkList.indexOf(e)),this.removeColumn(e),this.defaultCheck()},insertColumn(e){const t=this.tableColumnList.find(t=>t.prop===e);this.leftColumnList.find(t=>t.prop===e)||this.rightColumnList.find(t=>t.prop===e)||this.columnList.find(t=>t.prop===e)||this.columnList.push(t)},removeColumn(e){if(this.leftColumnList.length&&this.leftColumnList.find(t=>t.prop===e)){const t=this.leftColumnList.findIndex(t=>t.prop===e);t>-1&&this.leftColumnList.splice(t,1)}if(this.columnList.length&&this.columnList.find(t=>t.prop===e)){const t=this.columnList.findIndex(t=>t.prop===e);t>-1&&this.columnList.splice(t,1)}if(this.rightColumnList.length&&this.rightColumnList.find(t=>t.prop===e)){const t=this.rightColumnList.findIndex(t=>t.prop===e);t>-1&&this.rightColumnList.splice(t,1)}},returnColumn(e="",t="",n=""){const r=e||this.leftColumnList,i=t||this.columnList,o=n||this.rightColumnList;r.map(e=>{e.fixed=!0}),i.map(e=>{e.fixed=!1}),o.map(e=>{e.fixed="right"}),this.$emit("handleTableColumn",[...r,...i,...o])},ok(){this.returnColumn(),this.saveLocalStorage(),this.visible=!1},saveLocalStorage(){const e={left:[],center:[],right:[]};this.leftColumnList.map(({prop:t})=>{t&&e.left.push(t)}),this.columnList.map(({prop:t})=>{t&&e.center.push(t)}),this.rightColumnList.map(({prop:t})=>{t&&e.right.push(t)}),localStorage.setItem(this.columnName,JSON.stringify(e))},getLocalStorage(){const e=localStorage.getItem(this.columnName);return e?JSON.parse(e):void 0},handleOpen(){if(!this.viewModel){this.checkList=[],this.rightColumnList=[],this.leftColumnList=[],this.columnList=[];const e=this.getLocalStorage();e&&this.defaultColumnInit()}},close(){this.viewModel||(this.checkList=[],this.rightColumnList=[],this.leftColumnList=[],this.columnList=[]),this.visible=!1,this.$emit("closeDialog",{visible:!1})},defaultMounted(){this.getList(),this.defaultColumnInit(),this.returnColumn()},setColumnList({left:e=[],center:t=[],right:n=[]}){this.getList();const r=[],i=[],o=[],s=[];e.map(e=>{r.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&i.push(t)}),t.map(e=>{r.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&o.push(t)}),n.map(e=>{r.push(e);const t=this.tableColumnList.find(t=>t.prop===e);t&&s.push(t)}),this.$set(this,"checkList",r),this.$set(this,"leftColumnList",i),this.$set(this,"columnList",o),this.$set(this,"rightColumnList",s),this.defaultCheck(),this.returnColumn(i,o,s)},getColumnList(){const e={left:[],center:[],right:[]};return e.left=this.leftColumnList.map(e=>e.prop),e.center=this.columnList.map(e=>e.prop),e.right=this.rightColumnList.map(e=>e.prop),e}}},je=Me,Te=(n("1784"),n("ce92"),m(je,we,xe,!1,null,"476d6426",null)),Ce=Te.exports;Ce.install=function(e){e.component(Ce.name,Ce)};var Oe=Ce,De=function(){var e=this,t=e._self._c;return t("el-date-picker",e._g(e._b({attrs:{"picker-options":e.componentPickerOptions,format:e.format,"value-format":e.valueFormat},model:{value:e.date,callback:function(t){e.date=t},expression:"date"}},"el-date-picker",e.$attrs,!1),e.$listeners))},Le=[];const Ee=(e=8)=>({daterange:{shortcuts:[{text:"今天",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD"),r=ce()().utcOffset(e).format("YYYY-MM-DD");t.$emit("pick",[r,n])}},{text:"昨天",onClick(t){const n=ce()().utcOffset(e).subtract(1,"days").format("YYYY-MM-DD"),r=ce()().utcOffset(e).subtract(1,"days").format("YYYY-MM-DD");t.$emit("pick",[r,n])}},{text:"近一周",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD"),r=ce()().utcOffset(e).subtract(7,"days").format("YYYY-MM-DD");t.$emit("pick",[r,n])}},{text:"近一月",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD"),r=ce()().utcOffset(e).subtract(30,"days").format("YYYY-MM-DD");t.$emit("pick",[r,n])}},{text:"上个月",onClick(e){const t=e.maxDate||ce()(),n=ce()(t).subtract(1,"month").startOf("month").format("YYYY-MM-DD"),r=ce()(t).subtract(1,"month").endOf("month").format("YYYY-MM-DD");e.$emit("pick",[n,r])}},{text:"本月",onClick(t){const n=ce()().utcOffset(e).startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"下个月",onClick(e){const t=e.maxDate||ce()(),n=ce()(t).add(1,"month").startOf("month").format("YYYY-MM-DD"),r=ce()(t).add(1,"month").endOf("month").format("YYYY-MM-DD");e.$emit("pick",[n,r])}}]},monthrange:{shortcuts:[{text:"本月",onClick(t){const n=ce()().utcOffset(e).startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"最近三个月",onClick(t){const n=ce()().utcOffset(e).subtract(2,"month").startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"最近六个月",onClick(t){const n=ce()().utcOffset(e).subtract(5,"month").startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"最近一年",onClick(t){const n=ce()().utcOffset(e).subtract(11,"month").startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}},{text:"今年",onClick(t){const n=ce()().utcOffset(e).startOf("year").startOf("month").format("YYYY-MM-DD"),r=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD");t.$emit("pick",[n,r])}}]},datetimerange:{shortcuts:[{text:"今天",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"昨天",onClick(t){const n=ce()().utcOffset(e).subtract(1,"days").format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).subtract(1,"days").format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"近一周",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).subtract(7,"days").format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"近一月",onClick(t){const n=ce()().utcOffset(e).format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).subtract(30,"days").format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"上个月",onClick(e){const t=e.maxDate||ce()(),n=ce()(t).subtract(1,"month").startOf("month").format("YYYY-MM-DD 00:00:00"),r=ce()(t).subtract(1,"month").endOf("month").format("YYYY-MM-DD 23:59:59");e.$emit("pick",[n,r])}},{text:"本月",onClick(t){const n=ce()().utcOffset(e).endOf("month").format("YYYY-MM-DD 23:59:59"),r=ce()().utcOffset(e).startOf("month").format("YYYY-MM-DD 00:00:00");t.$emit("pick",[r,n])}},{text:"下个月",onClick(t){const n=t.maxDate||ce()(),r=ce()(n).utcOffset(e).add(1,"month").startOf("month").format("YYYY-MM-DD 00:00:00"),i=ce()(n).utcOffset(e).add(1,"month").endOf("month").format("YYYY-MM-DD 23:59:59");t.$emit("pick",[r,i])}}]}});var Ae={name:"BiDatePicker",props:{pickerOption:{type:Object,default:()=>({})},format:{type:String,default:"yyyy-MM-dd"},valueFormat:{type:String,default:"yyyy-MM-dd"},utc:{type:Number,default:8},value:{type:[String,Array],default:""}},computed:{date:{get(){return this.value},set(e){this.$emit("input",e),this.$emit("change",e)}},componentPickerOptions(){const e=this.$attrs.type,t=Ee(this.utc),n=Object.assign({},t[e]);return"daterange"===e||"monthrange"===e||"datetimerange"===e?Object.assign(n,this.pickerOption):this.pickerOption}}},Pe=Ae,Ne=(n("86c3"),m(Pe,De,Le,!1,null,null,null)),Ye=Ne.exports;Ye.install=function(e){e.component(Ye.name,Ye)};var Ie=Ye,Re=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-download-center"},[t("el-badge",{staticClass:"download-center-badge",attrs:{slot:"reference","is-dot":e.badgeDot},slot:"reference"},[t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"导出中心",placement:"bottom"}},[t("el-button",{staticClass:"download-center-button",attrs:{type:"text"},on:{click:function(t){e.drawerVisible=!0}}},[e.loading?t("img",{attrs:{src:e.downloadingImg,alt:"任务导出中心",title:"任务导出中心"}}):t("img",{attrs:{src:e.downloadImg,alt:"任务导出中心",title:"任务导出中心"}})])],1)],1),t("el-drawer",{style:{"--headHegiht":e.headerHeight},attrs:{"custom-class":"bi-download-center-drawer",title:"下载导出",visible:e.drawerVisible,direction:"rtl",size:"1000px","destroy-on-close":"","append-to-body":""},on:{"update:visible":function(t){e.drawerVisible=t},open:e.handleDrawerOpen,close:e.handleDrawerClose}},[t("template",{slot:"title"},[t("el-tabs",{model:{value:e.tabsName,callback:function(t){e.tabsName=t},expression:"tabsName"}},[t("el-tab-pane",{attrs:{name:"DownloadCenter",label:"导出中心"}}),e.taskCenter?t("el-tab-pane",{attrs:{name:"TaskCenter",label:"任务中心"}}):e._e()],1)],1),t("Box",{directives:[{name:"show",rawName:"v-show",value:"DownloadCenter"===e.tabsName,expression:"tabsName==='DownloadCenter'"}],attrs:{"header-height":e.headerHeight,"handle-table-list":e.getExportList,token:e.token},on:{setRead:e.handleSetRead}}),"TaskCenter"===e.tabsName?t("TaskCenterBox",{attrs:{token:e.token,"user-id":e.userId}}):e._e()],2)],1)},Fe=[];const $e=Q.a.create({baseURL:"",timeout:1e5});$e.interceptors.request.use(e=>e,e=>(console.log(e),Promise.reject(e))),$e.interceptors.response.use(e=>{const t=e.data;return 200!==t.code?(Object(ee["Message"])({message:t.msg||"Error",type:"error",duration:5e3}),t):t},e=>(console.log("err"+e),Object(ee["Message"])({message:e.msg,type:"error",duration:5e3}),Promise.reject(e)));var Be=$e,He=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"download-center"},[t("div",{staticClass:"content-box"},[t("el-form",{attrs:{model:e.form,inline:""}},[t("el-form-item",{attrs:{label:"任务ID"}},[t("el-input",{attrs:{size:"small",clearable:""},model:{value:e.form.task_code,callback:function(t){e.$set(e.form,"task_code",t)},expression:"form.task_code"}})],1),t("el-form-item",{attrs:{label:"任务时间"}},[t("BiDatePicker",{attrs:{size:"small",type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","default-time":["00:00:00","23:59:59"],"range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.form.time,callback:function(t){e.$set(e.form,"time",t)},expression:"form.time"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary",size:"small",loading:e.tableLoading},on:{click:function(t){return e.handleCurrentChange(1)}}},[e._v("查询")]),t("el-button",{attrs:{size:"small"},on:{click:e.reset}},[e._v("重置")])],1)],1),t("BiTable",{attrs:{loading:e.tableLoading,data:e.tableData,size:"medium",column:e.tableColums,fixed:"sticky","max-height":"200px","sticky-top":0,pagination:"",layout:"total, prev, pager, next","auto-scroll":!1,total:e.page_info.total,page:e.page_info.page,limit:e.page_info.page_size},on:{"update:page":function(t){return e.$set(e.page_info,"page",t)},"update:limit":function(t){return e.$set(e.page_info,"page_size",t)},pagination:e.handlePageChange}})],1)]),t("el-dialog",{attrs:{title:"导出条件详情",visible:e.dialog.visible,"append-to-body":"",width:"50%"},on:{"update:visible":function(t){return e.$set(e.dialog,"visible",t)}}},[t("el-scrollbar",{staticStyle:{height:"60vh"}},[t("div",{staticClass:"container"},[t("div",{staticStyle:{"padding-right":"17px"},domProps:{innerHTML:e._s(e.dialog.content)}})])])],1)],1)},qe=[],ze={name:"BiDownloadCenter",props:{handleTableList:{type:Function,default:()=>new Promise(e=>{e()})},handleStatusList:{type:Function,default:()=>new Promise(e=>{e()})},handleTypeList:{type:Function,default:()=>new Promise(e=>{e()})}},data(){this.$createElement;return{tableLoading:!1,tableData:[],tableColums:[{prop:"task_code",label:"任务ID",width:190},{prop:"status_text",label:"任务状态",minWidth:115,render:(e,{row:t})=>21===t.status?e("div",{style:{display:"flex",alignItems:"center"}},[e("div",{style:{width:"6px",height:"6px",borderRadius:"6px",display:"inline-block",background:"#0FC6C2",marginRight:"5px"}}),e("span",[t.status_text])]):0===t.status?e("div",{style:{display:"flex",alignItems:"center"}},[e("div",{style:{width:"6px",height:"6px",borderRadius:"6px",display:"inline-block",background:"#C9CDD4",marginRight:"5px"}}),e("span",["未开始"])]):11===t.status?e("div",{style:{display:"flex",alignItems:"center"}},[e("div",{style:{width:"6px",height:"6px",borderRadius:"6px",display:"inline-block",background:"#00B42A",marginRight:"5px"}}),e("span",["执行中"])]):31===t.status?e("el-tooltip",{class:"item",attrs:{effect:"dark",placement:"right"}},[e("div",{slot:"content"},[t.message]),e("div",{style:{display:"flex",alignItems:"center"}},[e("div",{style:{width:"6px",height:"6px",borderRadius:"6px",display:"inline-block",background:"#F53F3F",marginRight:"5px"}}),e("span",["导出失败"])])]):void 0},{prop:"task_name",label:"任务类型",minWidth:185},{prop:"query_string",label:"导出条件",minWidth:342,render:(e,{row:t})=>t.query_translation?e("div",{class:"tooltip-html-box",domProps:{innerHTML:t.query_translation},on:{click:()=>this.lookMore(t.query_translation)},style:"WebkitBoxOrient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"}):e("span",{class:"query-translation"},["————"])},{prop:"create_time",label:"创建时间",minWidth:182},{prop:"complete_time",label:"完成时间",minWidth:182},{label:"操作",width:70,fixed:"right",render:(e,{row:t})=>21===t.status?e("a",{class:"link el-button el-button--text",attrs:{href:t.path,target:"_blank"},style:{textDecoration:"none"}},["下载"]):e("span")}],optionsList:{type:[],status:[]},form:{task_code:"",task_name:null,status:null,time:null},options:{taskTypes:[],taskStatus:[]},page_info:{page:1,page_size:20,total:0},dialog:{visible:!1,content:""}}},computed:{searchParams(){const{task_name:e,task_code:t,status:n,time:r}=Object.assign({},this.form),{page:i,page_size:o}=Object.assign({},this.page_info),[s,a]=r||[];return{page:i,page_size:o,task_name:e,task_code:t,status:n,start_time:s,end_time:a}}},mounted(){this.getOptions(),this.handleCurrentChange(1)},methods:{handlePageChange({page:e}){this.handleCurrentChange(e)},handleCurrentChange(e){this.form.page=e,this.getList()},getOptions(){},reset(){this.form={task_code:"",task_name:null,status:null,time:null}},async getList(e){this.tableLoading=!0;const t=await this.handleTableList(this.searchParams);this.tableLoading=!1,200===t.code&&(this.tableData=t.data.data,this.page_info=t.data.page_info)},search(){const e=this.formatData();this.getList(e)},lookMore(e){this.dialog.content="",this.dialog.visible=!0,this.dialog.content=e}}},Ve=ze,We=(n("e03b"),m(Ve,He,qe,!1,null,"ae408520",null)),Ue=We.exports,Ge=function(){var e=this,t=e._self._c;return t("div",{staticClass:"task-center"},[t("div",{staticClass:"content-body",staticStyle:{"margin-top":"0"}},[t("div",{staticClass:"content-box"},[t("div",{staticClass:"action-row"},[t("div",{staticClass:"action-left-row",staticStyle:{display:"flex","align-items":"center"}},[t("div",[t("el-input",{staticStyle:{width:"320px"},attrs:{placeholder:"请输入任务ID",clearable:""},model:{value:e.formData.task_no,callback:function(t){e.$set(e.formData,"task_no",t)},expression:"formData.task_no"}},[t("el-button",{staticStyle:{width:"76px"},attrs:{slot:"append",icon:"el-icon-search",loading:e.loading},on:{click:e.search},slot:"append"})],1)],1)])])]),t("div",{staticClass:"content-box"},[t("div",{staticClass:"table-table"},[t("BiTable",{ref:"biTable",attrs:{loading:e.loading,data:e.tableData,size:"medium",column:e.tableColumns,fixed:"sticky","max-height":"200px","sticky-top":0,background:!1,pagination:"",layout:"total, sizes,prev, pager, next, jumper","auto-scroll":!1,border:"","cell-style":e.tableCell,"header-cell-style":e.tableRowClassName,total:e.page_info.total,page:e.page_info.num,limit:e.page_info.size},on:{"update:page":function(t){return e.$set(e.page_info,"num",t)},"update:limit":function(t){return e.$set(e.page_info,"size",t)},pagination:e.handleCurrentChange},scopedSlots:e._u([{key:"task_status",fn:function({row:n}){return["3"===String(n.task_status)?t("el-tooltip",{attrs:{effect:"dark",content:n.remark,placement:"top"}},[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"6px",height:"6px","border-radius":"6px",display:"inline-block",background:"#0FC6C2","margin-right":"5px"}}),t("span",[e._v(" "+e._s(e.taskStatusText(n.task_status))+" ")])])]):"4"===String(n.task_status)?t("div",[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"6px",height:"6px","border-radius":"6px",display:"inline-block",background:"#F53F3F","margin-right":"5px"}}),t("span",[e._v(" "+e._s(e.taskStatusText(n.task_status))+" ")])])]):"2"===String(n.task_status)?t("div",[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"6px",height:"6px","border-radius":"6px",display:"inline-block",background:"#00B42A","margin-right":"5px"}}),t("span",[e._v(" "+e._s(e.taskStatusText(n.task_status))+" ")])])]):t("div",[t("div",{staticStyle:{display:"flex","align-items":"center"}},[t("div",{staticStyle:{width:"6px",height:"6px","border-radius":"6px",display:"inline-block",background:"#FF7D00","margin-right":"5px"}}),t("span",[e._v(" "+e._s(e.taskStatusText(n.task_status))+" ")])])])]}},{key:"query_translation",fn:function({row:n}){return[t("div",{staticClass:"query_translation",staticStyle:{width:"100%","-webkit-box-orient":"vertical",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap",cursor:"pointer"},on:{click:function(t){return e.clickShowInfo(n.conditions)}}},e._l(n.conditions,(function(n){return t("p",{key:n.field,staticStyle:{margin:"0"}},[t("span",[e._v(e._s(n.field))]),t("span",[e._v(":")]),t("span",[e._v(e._s(n.value))])])})),0)]}},{key:"finish_time",fn:function({row:n}){return[t("div",[e._v(e._s(n.finish_time?n.finish_time:"-"))])]}}])})],1)])]),t("el-dialog",{attrs:{title:"任务条件详情",visible:e.showInfo.visible,"append-to-body":"",width:"700px"},on:{"update:visible":function(t){return e.$set(e.showInfo,"visible",t)}}},[t("div",{staticClass:"task-detail",staticStyle:{"max-height":"600px",overflow:"auto"}},e._l(e.showInfo.info,(function(n){return t("p",{key:n.field},[t("span",[e._v(e._s(n.field))]),t("span",[e._v(":")]),t("span",[e._v(e._s(n.value))])])})),0)])],1)},Ke=[];const Xe=Q.a.create({baseURL:"",timeout:1e5});Xe.interceptors.request.use(e=>e,e=>(console.log(e),Promise.reject(e))),Xe.interceptors.response.use(e=>{const t=e.data;return"0"!==t.code?(Object(ee["Message"])({message:t.msg||"Error",type:"error",duration:5e3}),t):t},e=>(console.log("err"+e),Object(ee["Message"])({message:e.msg,type:"error",duration:5e3}),Promise.reject(e)));var Je=Xe;const Ze=e=>Je({url:e+"/taskMessage/option",method:"get"}),Qe=(e,t)=>Je({url:e+"/taskMessage/taskMessages",method:"post",data:t});var et={name:"TaskCenterShow",props:{title:{type:String,default:"组别"},token:{type:String,default:""},userId:{type:String,default:""},data:{type:Object,default:()=>{}}},data(){this.$createElement;return{system:this.$BI.system,loading:!1,tableData:[],formData:{task_no:""},page_info:{num:1,size:20,total:0},tableColumns:[{label:"任务ID",prop:"id",width:132},{label:"任务页面",prop:"page_name",width:92},{label:"任务状态",prop:"task_status",width:92,slotScope:!0},{label:"任务类型",prop:"type_text",width:92,render:(e,{row:t})=>e("span",[this.taskTypeText(t.task_type)])},{label:"任务条件",prop:"query_translation",minWidth:200,slotScope:!0},{label:"创建时间",prop:"create_time",width:115},{label:"完成时间",prop:"finish_time",width:115,slotScope:!0}],tableRowClassName:{},tableCell:{},taskType:[],taskStatus:[],showInfo:{visible:!1,info:""},baseUrl:""}},computed:{params(){const{task_no:e,num:t,size:n}=Object.assign({},this.formData,this.page_info),r={system:this.system,user_id:this.userId,task_id:e,page_info:{num:t,size:n}};return r}},mounted(){this.baseUrl=J(this.$BI.env||"").noticeCenter.baseUrl,this.handlerOpen()},methods:{handlerOpen(){this.getOption(),this.search()},async getOption(){const e=await Ze(this.baseUrl);"0"===e.code&&(this.taskStatus=e.task_status,this.taskType=e.task_types)},taskStatusText(e){const t=this.taskStatus.find(t=>String(t.value)===String(e));return t?t.name:"-"},taskTypeText(e){const t=this.taskType.find(t=>String(t.value)===String(e));return t?t.name:"-"},handlerClose(){},search(){this.page_info.num=1,this.getList()},handleCurrentChange(){this.getList()},async getList(e=this.params){this.loading=!0;const t=await Qe(this.baseUrl,e);this.loading=!1,"0"===t.code?(this.tableData=t.task_messages,this.page_info=t.page_info):this.$message.error(t.msg)},clickShowInfo(e){this.showInfo.info=e,this.showInfo.visible=!0}}},tt=et,nt=(n("aaa0"),m(tt,Ge,Ke,!1,null,null,null)),rt=nt.exports,it={name:"BiDownloadCenter",components:{Box:Ue,TaskCenterBox:rt},props:{headerHeight:{type:String,default:"50"},loading:{type:Boolean,default:!1},userId:{type:String,default:""},token:{type:String,default:""},system:{type:String,default:""},taskCenter:{type:Boolean,default:!1},downloadCenter:{type:Boolean,default:!0}},data(){return{downloadImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/DownloadCenter/download.svg",downloadingImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/DownloadCenter/downloadingnew.gif",drawerVisible:!1,badgeDot:!1,baseUrl:"",tabsName:""}},mounted(){this.baseUrl=J(this.$BI.env||"").downloadCenter.baseUrl},methods:{getExportList(e){return Be({url:this.baseUrl+"/task/index",method:"post",headers:{token:this.token},data:Object.assign({origin_system:this.system},e)})},async handleSetRead(e){},handleDrawerClose(){},handleDrawerOpen(){this.badgeDot=!1,this.$nextTick(()=>{"TaskCenter"!==this.tabsName&&(this.downloadCenter?this.tabsName="DownloadCenter":this.tabsName="TaskCenter")})}}},ot=it,st=(n("21ab"),n("379f"),m(ot,Re,Fe,!1,null,"dda21a56",null)),at=st.exports;at.install=function(e){e.component(at.name,at)};var lt,ut,ct=at,dt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-morebutton"},[t("el-dropdown",e._b({attrs:{trigger:"click",size:"medium"}},"el-dropdown",e.$attrs,!1),[t("span",{staticClass:"el-button el-button--text el-button--medium",on:{click:function(e){e.stopPropagation()}}},[e._t("default",(function(){return[e._v(" "+e._s(e.buttonText)),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]}))],2),t("el-dropdown-menu",{staticClass:"bi-morebutton-popper",attrs:{slot:"dropdown"},slot:"dropdown"},[e._l(e.button,(function(n,r){return[n.render?[t("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:n.permission,expression:"item.permission"}],key:r,staticStyle:{padding:"0"},attrs:{disabled:n.disabled}},[t("Item",{attrs:{scope:e.row,render:n.render}})],1)]:[n.show&&n.show(e.row)||!n.show?t("el-dropdown-item",{directives:[{name:"permission",rawName:"v-permission",value:n.permission,expression:"item.permission"}],key:r,attrs:{disabled:n.disabled},nativeOn:{click:function(t){return(()=>{n.handler&&n.handler({row:e.row,button:n})}).apply(null,arguments)}}},[e._v(" "+e._s(n.name)+" ")]):e._e()]]}))],2)],1)],1)},ht=[],ft={name:"BiRender",functional:!0,props:{scope:{type:Object,default:()=>({})},render:{type:Function,default:()=>()=>{}}},render:(e,t)=>t.props.render?t.props.render(e,t.props.scope):""},pt=ft,mt=m(pt,lt,ut,!1,null,null,null),yt=mt.exports,gt={name:"BiMoreButton",components:{Item:yt},props:{button:{type:Array,default:()=>[]},buttonText:{type:String,default:"更多操作"},row:{type:Object,default:()=>({})}},mounted(){this.$nextTick(()=>{0===this.$el.querySelectorAll(".el-dropdown-menu li").length&&(this.$el.style.display="none")})},methods:{handleOK(){}}},bt=gt,vt=(n("d907"),m(bt,dt,ht,!1,null,null,null)),_t=vt.exports;_t.install=function(e){e.component(_t.name,_t)};var wt=_t,xt=function(){var e=this,t=e._self._c;return t("span",[e._t("tip-label",(function(){return[t("span",[e._v(e._s(e.label))])]})),t("el-tooltip",e._b({staticClass:"tooltip-icon",attrs:{effect:e.effect,placement:e.placement}},"el-tooltip",e.$attrs,!1),[t("template",{slot:"content"},[e._t("tip-content",(function(){return[t("div",{domProps:{innerHTML:e._s(e.content)}})]}))],2),e._t("tip-icon",(function(){return[t("span",{staticStyle:{"margin-left":"5px"}},[t("i",{class:e.icon})])]}))],2)],2)},kt=[],St={name:"BiTooltipIcon",props:{label:{type:String,default:"头部标题"},icon:{type:String,default:"el-icon-warning-outline"},content:{type:String,default:"提示内容"},placement:{type:String,default:"bottom"},effect:{type:String,default:"dark"}},data(){return{}}},Mt=St,jt=m(Mt,xt,kt,!1,null,null,null),Tt=jt.exports;Tt.install=function(e){e.component(Tt.name,Tt)};var Ct=Tt,Ot=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-notice"},[t("el-popover",{attrs:{placement:"top-end",trigger:"hover","popper-class":"notice-popper","popper-options":{padding:"0px"}},on:{show:e.handleShow,hide:e.handleHide}},[t("div",{staticClass:"bi-notice-box"},[t("el-card",{staticClass:"box-card",attrs:{shadow:"never","body-style":e.bodyStyle}},[t("div",{staticClass:"notice-header",attrs:{slot:"header"},slot:"header"},[t("span",[e._v("系统通知")]),t("el-button",{attrs:{type:"text",disabled:0===e.badgeNum&&!e.currentUnreadNum},on:{click:e.noticeAllRead}},[e._v(e._s(0!==e.badgeNum||e.currentUnreadNum?"全部标为已读":"全部已读"))])],1),t("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.load,expression:"load"}],staticClass:"notice-list",staticStyle:{overflow:"auto"},attrs:{"infinite-scroll-immediate":!1,"infinite-scroll-disabled":e.noticeListDisabled,"infinite-scroll-delay":300}},[e._l(e.noticeList,(function(n){return t("li",{key:n.id,staticClass:"notice-item",class:{unread:!n.is_read},on:{click:function(t){return e.detail(n)}}},[t("div",{staticClass:"header"},[t("p",{staticClass:"title"},[e._v(e._s(n.title))]),t("p",{staticClass:"time"},[e._v(e._s(n.send_time))])]),t("div",{staticClass:"content"},[e._v(e._s(n.describe))])])})),e.noticeListLoading?t("p",{staticStyle:{"font-size":"14px",color:"#5e6d82","text-align":"center"}},[e._v("加载中...")]):e._e(),e.noMore?t("p",{staticStyle:{"font-size":"14px",color:"#5e6d82","text-align":"center"}},[e._v("没有更多了")]):e._e()],2)])],1),t("el-badge",{staticClass:"notice-badge",attrs:{slot:"reference",value:e.badgeNum,hidden:0===e.badgeNum},slot:"reference"},[t("el-button",{staticClass:"notice-button",attrs:{type:"text"}},[t("i",{staticClass:"el-icon-warn1"})])],1)],1),t("el-dialog",{attrs:{title:"提示",visible:e.dialogVisible,width:"680px",top:"3vh","before-close":e.handleClose,"append-to-body":"","show-close":!1,"custom-class":"notice-open-dialog"},on:{"update:visible":function(t){e.dialogVisible=t}}},[t("div",{staticClass:"notice-open-container"},[t("div",{staticClass:"notice-bg"},[t("img",{attrs:{src:e.dialogImg}})]),t("div",{staticClass:"notice-open-box"},[t("p",{staticClass:"notice-open-tile"},[e._v(e._s(e.openNotice.title))]),t("div",{staticClass:"notice-open-box-scrollbar"},[t("div",{staticClass:"notice-open-content",domProps:{innerHTML:e._s(e.openNotice.content)}})]),t("div",{staticClass:"notice-open-button"},[t("el-button",{attrs:{type:"primary"},on:{click:function(t){e.dialogVisible=!1}}},[e._v("知道了")])],1)])])]),t("el-drawer",{style:{"--headHegiht":e.headerHeight},attrs:{"custom-class":"bi-notice-drawer",title:"消息详情",visible:e.detailVisible,direction:"rtl",size:"538px","destroy-on-close":"","append-to-body":"",modal:!0},on:{"update:visible":function(t){e.detailVisible=t},open:e.handleDetailOpen,close:e.handleDetailClose}},[t("el-scrollbar",[t("div",{staticClass:"notice-detail-box"},[t("div",{staticClass:"notice-detail"},[t("div",{staticClass:"detail-header"},[t("p",{staticClass:"detail-title"},[e._v(e._s(e.detailData.title))]),t("p",{staticClass:"detail-time"},[e._v(e._s(e.detailData.send_time))])]),t("div",{staticClass:"detail-content",domProps:{innerHTML:e._s(e.detailData.content)}})])])])],1)],1)},Dt=[];function Lt(e,t){const n="HH:mm:ss MM/D/YYYY",r=ce()(e,n),i=ce()(t,n);return ce()(i).diff(ce()(r),"seconds")}var Et={name:"BiNoticeCenter",props:{headerHeight:{type:String,default:"58"},system:{type:String,default:""},token:{type:String,default:""}},data(){return{dialogImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/NoticeCenter/notice.png",openNotice:{id:"",title:"",content:""},page:1,last_id:"",last_send_time:"",dialogVisible:!1,noticeTimer:null,badgeNum:0,is_open_page:1,bodyStyle:{padding:"0"},detailVisible:!1,noticeListDisabled:!1,noticeListLoading:!1,noMore:!1,detailData:{},noticeList:[],baseUrl:""}},computed:{currentUnreadNum(){return this.noticeList.some(e=>0===e.is_read)}},mounted(){this.baseUrl=J(this.$BI.env||"").noticeCenter.baseUrl,this.noticeList=[],this.last_id="",this.last_send_time=""},methods:{handleClose(){},async handleShow(){this.noticeList=[],this.last_id="",this.last_send_time="",this.getNoticeList()},handleHide(){this.page=1,this.noticeListDisabled=!1},setUnreadNum(e){this.badgeNum=e},popupNotice(e){this.openNotice.title=e.title,this.openNotice.id=e.id,this.openNotice.content=e.content,this.dialogVisible=!0,this.noticePoped(this.openNotice.id)},async noticePoped(e){await Je({url:this.baseUrl+"/message/setPopup",method:"post",data:{token:this.token,system:this.system,msg_id:e}})},detail(e){this.$set(this,"detailData",e),e.is_read=1,this.detailVisible=!0,this.handleNoticeRead(e.id)},async getNoticeList(){this.noticeListLoading=!0;const e=await Je({url:this.baseUrl+"/message/getSystemMessage",method:"post",data:{token:this.token,system:this.system,last_id:this.last_id,last_send_time:this.last_send_time}});if("0"===e.code){if(e.data.length){const t=[...this.noticeList,...e.data],n=new Map;for(const e of t)n.set(e.id,e);const r=[...n.values()];r.sort((e,t)=>Lt(e,t)),this.noticeList=r,this.noMore=!1,this.noticeListDisabled=!1}else this.noMore=!0,this.noticeListDisabled=!0;this.noticeList.length&&this.noticeList[this.noticeList.length-1]&&(this.last_id=this.noticeList[this.noticeList.length-1].id,this.last_send_time=this.noticeList[this.noticeList.length-1].send_time)}this.noticeListLoading=!1},async handleNoticeRead(e){const t=await Je({url:this.baseUrl+"/message/read",method:"post",data:{system:this.system,token:this.token,msg_id:e}});"0"===t.code&&this.setUnreadNum(t.data.unread_num)},load(){this.getNoticeList()},async noticeAllRead(){await Je({url:this.baseUrl+"/message/is_read_all",method:"post",data:{token:this.token,system:this.system,type:"system"}}),this.badgeNum=0,this.noticeList.map(e=>{e.is_read=!0})},handleDetailOpen(){},handleDetailClose(){}}},At=Et,Pt=(n("5ccc"),n("bd13"),m(At,Ot,Dt,!1,null,"bb0e124e",null)),Nt=Pt.exports;Nt.install=function(e){e.component(Nt.name,Nt)};var Yt=Nt,It=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-system-link"},[t("el-popover",{attrs:{placement:"top",trigger:"hover","popper-class":"system-link-popper","popper-options":{padding:"0px"}}},[t("div",{staticClass:"system-list"},e._l(e.systemList,(function(n){return t("div",{key:n.id,staticClass:"system-item",on:{click:function(t){return e.goSystem(n)}}},[t("div",{staticClass:"system-logo"},[t("img",{attrs:{src:n.logo_path}})]),t("p",{staticClass:"system-name"},[e._v(e._s(n.short_name))]),t("p",{staticClass:"go-system"},[e._v("前往平台")])])})),0),t("div",{attrs:{slot:"reference",type:"text"},slot:"reference"},[t("el-button",{staticClass:"system-link-button",attrs:{type:"text"}},[t("i",{staticClass:"el-icon-more1"})])],1)])],1)},Rt=[],Ft={name:"BiSystemLink",props:{token:{type:String,default:""}},data(){return{systemList:[],baseUrl:""}},mounted(){this.baseUrl=J(this.$BI.env||"").zhangquan.baseUrl,this.getSystemList()},methods:{async getSystemList(){const e=await ne({url:this.baseUrl+"/index/system",method:"post",headers:{Authorization:this.token,AuthKey:"authtpe84dzfl3iq62"}});1===e.status_code&&(this.systemList=e.data)},goSystem({link:e}){const t=document.createElement("a");t.target="_blank",t.href=e+"?authorization="+this.token,t.click()}}},$t=Ft,Bt=(n("e4c2"),n("cc16"),m($t,It,Rt,!1,null,"738ffcd4",null)),Ht=Bt.exports;Ht.install=function(e){e.component(Ht.name,Ht)};var qt=Ht,zt=function(){var e=this,t=e._self._c;return t("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[t("div",{staticClass:"avatar-wrapper"},[t("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80"}}),t("i",{staticClass:"el-icon-right"})]),t("el-dropdown-menu",{staticClass:"user-dropdown",attrs:{slot:"dropdown"},slot:"dropdown"},[t("a",{attrs:{href:"http://zq.wozhangwan.com/DemandFeedback.html",target:"_blank"}},[t("el-dropdown-item",[t("span",{staticStyle:{display:"block"}},[e._v("需求反馈")])])],1),t("el-dropdown-item",{nativeOn:{click:function(t){return e.logout.apply(null,arguments)}}},[t("span",{staticStyle:{display:"block"}},[e._v("返回认证中心")])])],1)],1)},Vt=[],Wt={name:"BiAvatar",props:{avatar:{type:String,default:""}},methods:{logout(){this.$emit("logout")}}},Ut=Wt,Gt=(n("e2f0"),m(Ut,zt,Vt,!1,null,"5426f9f2",null)),Kt=Gt.exports;Kt.install=function(e){e.component(Kt.name,Kt)};var Xt=Kt,Jt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"content-outer bi-log-table"},[t("BiSearchBlock",{directives:[{name:"show",rawName:"v-show",value:!e.drawerModel,expression:"!drawerModel"}]},[t("BiForm",[t("BiFormItem",[t("template",{slot:"label"},[e._v("模块")]),t("template",{slot:"content"},[t("el-select",{attrs:{size:"small",clearable:"",multiple:"",placeholder:"请输入",filterable:"","reserve-keyword":"","collapse-tags":""},model:{value:e.formData.model,callback:function(t){e.$set(e.formData,"model",t)},expression:"formData.model"}},e._l(e.optionsList.model,(function(e,n){return t("el-option",{key:n,attrs:{label:e.label,value:e.id}})})),1)],1)],2),t("BiFormItem",[t("template",{slot:"label"},[e._v("操作")]),t("template",{slot:"content"},[t("el-select",{attrs:{size:"small",clearable:"",multiple:"",placeholder:"请输入",filterable:"","reserve-keyword":"","collapse-tags":""},model:{value:e.formData.operate_name,callback:function(t){e.$set(e.formData,"operate_name",t)},expression:"formData.operate_name"}},e._l(e.optionsList.operate_name,(function(e,n){return t("el-option",{key:n,attrs:{label:e.label,value:e.id}})})),1)],1)],2),t("BiFormItem",[t("template",{slot:"label"},[e._v("操作人")]),t("template",{slot:"content"},[t("el-input",{attrs:{size:"small",clearable:"",placeholder:"请输入内容"},model:{value:e.formData.operator,callback:function(t){e.$set(e.formData,"operator",t)},expression:"formData.operator"}})],1)],2),t("BiFormItem",[t("template",{slot:"select"},[t("el-select",{attrs:{clearable:!1,placeholder:"请选择"},model:{value:e.formData.object_type,callback:function(t){e.$set(e.formData,"object_type",t)},expression:"formData.object_type"}},[t("el-option",{attrs:{label:"对象ID",value:"id"}}),t("el-option",{attrs:{label:"对象名称",value:"name"}})],1)],1),t("template",{slot:"content"},[t("el-input",{attrs:{size:"small",clearable:"",placeholder:"请输入内容"},model:{value:e.formData.id,callback:function(t){e.$set(e.formData,"id",t)},expression:"formData.id"}})],1)],2),t("BiFormItem",[t("template",{slot:"label"},[e._v("操作日期")]),t("template",{slot:"content"},[t("DatePicker",{attrs:{size:"small",type:"datetimerange",format:"yyyy-MM-dd HH:mm:ss","value-format":"yyyy-MM-dd HH:mm:ss","range-separator":"~","start-placeholder":"开始日期","end-placeholder":"结束日期","default-time":["00:00:00","23:59:59"],clearable:!1,"popper-class":"bi-log-operate_time-popper"},on:{change:e.handleOperateTimeChange},model:{value:e.formData.operate_time,callback:function(t){e.$set(e.formData,"operate_time",t)},expression:"formData.operate_time"}})],1)],2),t("BiFormItem",[t("template",{slot:"button"},[t("el-button",{attrs:{type:"primary",size:"small",loading:e.tableLoading,disabled:e.tableLoading},on:{click:e.clickSearch}},[e._v("查询")]),t("el-button",{attrs:{size:"small"},on:{click:e.reset}},[e._v("重置")])],1)],2)],1)],1),t("BiBlock",{staticClass:"content-table"},[t("Table",{staticClass:"log-table",attrs:{loading:e.tableLoading,data:e.tableData,size:"medium","header-cell-style":e.tableRowClassName,column:e.tableColums,fixed:"sticky","max-height":"200px","sticky-top":e.BiLogDialog?0:50,pagination:!0,layout:"prev,pager,next","auto-scroll":!1,total:e.total,limit:e.formData.limit,page:e.formData.page},on:{"update:page":function(t){return e.$set(e.formData,"page",t)},pagination:e.pageSearch}}),e._e()],1)],1)},Zt=[],Qt=function(){var e=this,t=e._self._c;return t("div",{staticClass:"log-detail"},[t("div",{staticClass:"log-box-new"},[e.data.operates?t("div",{staticClass:"log-box-ul"},e._l(e.data.operates,(function(n,r){return t("div",{key:r,staticClass:"log-box-li"},[t("span",{staticClass:"operates-name"},[e._v(e._s(n.name)+":")]),"rich_text"===n.type?t("div",{staticClass:"operates-info"},[t("el-button",{staticClass:"new",attrs:{type:"text",size:"medium"},on:{click:function(t){return e.handleRichTextLog(n)}}},[e._v("点击查看")])],1):t("div",{staticClass:"operates-info"},[t("span",{staticClass:"old"},[e._v(e._s(n.old))]),t("img",{directives:[{name:"show",rawName:"v-show",value:n.old,expression:"item.old"}],attrs:{src:e.arrowImg}}),t("span",{staticClass:"new"},[e._v(e._s(n.new))])])])})),0):t("div",[e._v(" "+e._s(e.data.content)+" ")])])])},en=[],tn={props:{data:{type:Object,default:()=>({})}},data(){return{arrowImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/Log/detail-arrow.png",dialogVisible:!1,dialogData:{}}},methods:{handleClose(){},handleRichTextLog(e){this.$root.$emit("biLogRichTextEvent",e)}}},nn=tn,rn=(n("54c4"),m(nn,Qt,en,!1,null,"12be8c32",null)),on=rn.exports,sn={name:"BiLog",components:{DatePicker:Ie,Table:_e,LogDetail:on},props:{logId:{type:String,default:""},logModel:{type:String,default:""}},inject:{BiLogDialog:{from:"BiLogDialog",default:null}},data(){this.$createElement;return{formData:{id:"",model:"",operate_name:"",operate_time:[],object_type:"name",operator:"",page:1,limit:50},pageCount:2,optionsList:{model:[],operate_name:[]},tableLoading:!1,selectLoading:!1,tableData:[],tableColums:[],drawerTableColums:[{prop:"operator",label:"操作人",width:180,render:(e,{row:t})=>e("div",[e("p",{class:"operator"},[t.operator]),e("p",{class:"operate-time"},[t.operateTime])])},{prop:"operateName",label:"操作",width:80},{prop:"operateName",label:"详情",render:(e,{row:t})=>3===t.showLength?e("div",[e(on,{attrs:{data:this.fomartOperates(t)}}),e("div",{class:"log-more"},[e("el-button",{attrs:{type:"text"},on:{click:()=>{this.showMore(t)}}},["更多",e("i",{class:"el-icon-caret-bottom el-icon--right"})])])]):e(on,{attrs:{data:t}})}],defaultTableColums:[{prop:"operator",label:"操作人",width:180,render:(e,{row:t})=>e("div",[e("p",{class:"operator"},[t.operator]),e("p",{class:"operate-time"},[t.operateTime])])},{prop:"operateName",label:"操作",width:80},{prop:"model_name",label:"模块",width:100},{prop:"objectName",label:"对象",width:85,render:(e,{row:t})=>e("div",[e("p",{class:"object-name"},[t.objectName]),e("p",{class:"object-id"},["id: ",t.objectId])])},{prop:"operateName",label:"详情",minWidth:280,render:(e,{row:t})=>3===t.showLength?e("div",[e(on,{attrs:{data:this.fomartOperates(t)}}),e("div",{class:"log-more"},[e("el-button",{attrs:{type:"text"},on:{click:()=>{this.showMore(t)}}},["更多",e("i",{class:"el-icon-caret-bottom el-icon--right"})])])]):e(on,{attrs:{data:t}})}],tableRowClassName:{}}},computed:{params(){const{id:e,model:t,operate_name:n,operate_time:r,object_type:i,operator:o,page:s,limit:a}=Object.assign({},this.formData),[l="",u=""]=r||[];return{id:e,model:t.toString(),operate_name:n.toString(),operate_time_start:l,operate_time_end:u,object_type:i,operator:o,page:s,limit:a}},drawerModel(){return this.logId&&this.logModel},total(){return this.pageCount*this.formData.limit}},mounted(){this.formData.operate_time=[ce()().subtract(24,"hour").format("yyyy-MM-DD HH:mm:ss"),ce()().format("yyyy-MM-DD HH:mm:ss")],this.drawerModel?(this.formData.id=this.logId,this.formData.model=[this.logModel],this.formData.object_type="id",this.formData.operate_time=[],this.tableColums=this.drawerTableColums):(this.tableColums=this.defaultTableColums,this.initOptions(),this.clickSearch())},methods:{handlerOpen(){this.drawerModel&&(this.formData.id=this.logId,this.formData.model=[this.logModel],this.formData.object_type="id",this.formData.operate_time=[],this.tableColums=this.drawerTableColums),this.clickSearch()},initOptions(){this.$BiRequest({url:"/systemlog/options",method:"post"}).then(e=>{1===e.status_code&&(this.optionsList.model=e.data.model,this.optionsList.operate_name=e.data.operate_name)})},singleLogSearch(){},clickSearch(){this.formData.page=1,this.pageCount=1,this.dataSearch()},pageSearch({page:e}){this.dataSearch()},dataSearch(){this.tableLoading=!0,this.$BiRequest({url:"/systemlog/list",method:"post",data:this.params}).then(e=>{1===e.status_code&&(this.params.page>1?e.data.data.length&&(this.tableData=e.data.data):this.tableData=e.data.data,this.params.page>=this.pageCount&&(e.data.data.length<this.formData.limit?this.pageCount=this.params.page:this.pageCount=this.params.page+1),this.tableData.map(e=>{this.$set(e,"showLength",e.operates&&e.operates.length>3?3:0)})),this.tableLoading=!1})},reset(){this.$set(this,"formData",{id:"",model:"",operate_name:"",operate_time:[ce()().subtract(24,"hour").format("yyyy-MM-DD HH:mm:ss"),ce()().format("yyyy-MM-DD HH:mm:ss")],object_type:"name",operator:"",page:1,limit:50})},getsearchAdvertiser(){},handleOperateTimeChange(e){null===e&&(this.formData.operate_time=[ce()().subtract(-24,"hour").format("yyyy-MM-DD HH:mm:ss"),ce()().format("yyyy-MM-DD HH:mm:ss")])},fomartOperates(e){try{const t=JSON.parse(JSON.stringify(e)),{showLength:n}=t;return 3===n?(t.operates=t.operates.slice(0,3),t):e}catch(t){return e}},showMore(e){e.showLength=0}}},an=sn,ln=(n("e06b"),n("f699"),m(an,Jt,Zt,!1,null,"e6e4a964",null)),un=ln.exports;un.install=function(e){e.component(un.name,un)};var cn=un,dn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-log-dialog"},[t("el-drawer",{attrs:{"custom-class":"bi-log-drawer",title:"日志",visible:e.drawer,direction:"rtl",size:"900px","destroy-on-close":"","append-to-body":""},on:{"update:visible":function(t){e.drawer=t},opened:e.handlerOpen}},[t("Log",{ref:"biLog",staticClass:"bi-log-drawer-log",attrs:{"log-id":e.logId,"log-model":e.logModel}})],1),t("el-dialog",{attrs:{"custom-class":"bi-log-rich-text-dialog",title:"详情",visible:e.dialog,width:"1354px","append-to-body":"",top:"80px"},on:{"update:visible":function(t){e.dialog=t}}},[t("el-scrollbar",[t("div",{staticClass:"bi-log-rich-text-box"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogData.old,expression:"dialogData.old"}],staticClass:"bi-log-rich-text-item old"},[t("div",{domProps:{innerHTML:e._s(e.dialogData.old)}})]),t("div",{staticClass:"bi-log-rich-text-item new"},[t("div",{domProps:{innerHTML:e._s(e.dialogData.new)}})])])]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogData.old,expression:"dialogData.old"}],staticClass:"arrow"},[t("img",{attrs:{src:e.arrowImg}})])],1)],1)},hn=[],fn={name:"BiLogDialog",components:{Log:cn},props:{avatar:{type:String,default:""}},provide(){return{BiLogDialog:this}},data(){return{drawer:!1,logId:"",logModel:"",dialog:!1,arrowImg:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/Log/arrow.png",dialogData:{new:"",old:""}}},mounted(){this.$root.$on("biLogEvent",e=>{this.logId=e.id||"",this.logModel=e.model||"",this.drawer=!0}),this.$root.$on("biLogRichTextEvent",e=>{this.dialogData.new=e.new||"",this.dialogData.old=e.old||"",this.dialog=!0})},methods:{handlerOpen(){this.$refs.biLog&&this.$refs.biLog.handlerOpen&&this.$refs.biLog.handlerOpen()}}},pn=fn,mn=(n("0f51"),m(pn,dn,hn,!1,null,null,null)),yn=mn.exports;yn.install=function(e){e.component(yn.name,yn)};var gn=yn,bn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-log-button"},["button"===e.type?t("el-button",{attrs:{type:"text"},on:{click:e.handleLog}},[e._v("日志")]):e._e(),"text"===e.type?t("span",{attrs:{type:"text"},on:{click:e.handleLog}},[e._v("日志")]):e._e()],1)},vn=[],_n={name:"BiLogButton",props:{type:{type:String,default:"text"},logId:{type:String,default:""},logModel:{type:String,default:""}},methods:{handleLog(){this.$root.$emit("biLogEvent",{id:this.logId,model:this.logModel})}}},wn=_n,xn=(n("2a87"),m(wn,bn,vn,!1,null,"693ac7ba",null)),kn=xn.exports;kn.install=function(e){e.component(kn.name,kn)};var Sn=kn,Mn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi_home_data"},[t("el-scrollbar",[t("div",{staticClass:"content"},[t("div",{staticClass:"swiper"},[t("el-carousel",{staticClass:"swiper_data",attrs:{height:"19.5vw",autoplay:!0}},e._l(e.swiperData,(function(n,r){return t("el-carousel-item",{key:r},[t("div",{staticClass:"swiper_content",style:"background: url("+n.image_path+") no-repeat;background-size: 100% 100%;",on:{click:function(t){return e.swiperClick(n)}}})])})),1)],1),t("div",{staticClass:"data"},[t("div",{staticClass:"data_search"},[t("el-input",{staticStyle:{width:"14vw"},attrs:{placeholder:"输入标题/关键字",clearable:"",size:"small"},model:{value:e.searchData.combination,callback:function(t){e.$set(e.searchData,"combination",t)},expression:"searchData.combination"}},[t("el-button",{staticStyle:{width:"3vw",height:"32px"},attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.clickSearch},slot:"append"})],1),t("div",e._l(e.options.buttonList,(function(n,r){return t("el-button",{key:r,staticStyle:{width:"84px",height:"32px"},attrs:{size:"small"},on:{click:function(t){return e.buttonClick(n.value)}}},[e._v(e._s(n.label))])})),1)],1),t("div",{staticClass:"data_content_warp"},[t("div",{staticClass:"data_content"},e._l(e.messageData,(function(n,r){return t("div",{key:r,staticClass:"message_item",on:{click:function(t){return e.getDataDetail(n)}}},[t("div",{staticClass:"item_title"},[t("img",{attrs:{src:e.returnCategoryImg(n.category_id),alt:""}}),t("p",[e._v(e._s(e.returnCategory(n.category_id)))])]),t("div",{staticClass:"item_content"},[t("img",{attrs:{src:n.cover_image,alt:""}}),t("div",{staticClass:"content_content"},[t("div",{staticClass:"content_title"},[e._v(e._s(n.title))]),t("div",{staticClass:"content_desc"},[e._v(e._s(n.short_desc))]),t("div",{staticClass:"content_time"},[e._v(e._s(n.create_time))])])]),n.is_read?e._e():t("img",{staticClass:"is_read",attrs:{src:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/new.png",alt:""}})])})),0),t("div",{staticClass:"left_page",on:{click:function(t){return e.pageClick("left")}}},[t("img",{style:e.canLeftClick?"opacity:1":"opacity:0.5",attrs:{src:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/left_page.png",alt:""}})]),t("div",{staticClass:"right_page",on:{click:function(t){return e.pageClick("right")}}},[t("img",{style:e.canRightClick?"opacity:1":"opacity:0.5",attrs:{src:"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/right_page.png",alt:""}})])])]),t("el-drawer",{attrs:{title:"消息详情",visible:e.dataDetail.isShow,direction:"rtl",size:"560","before-close":e.handleClose},on:{"update:visible":function(t){return e.$set(e.dataDetail,"isShow",t)}}},[t("el-scrollbar",[t("div",{staticClass:"detail"},[t("div",{staticClass:"detail_title"},[e._v(e._s(e.dataDetail.data.title))]),t("div",{staticClass:"detail_time"},[e._v(e._s(e.dataDetail.data.create_time))]),t("div",{staticClass:"detail_desc"},[e._v(e._s(e.dataDetail.data.short_desc))]),t("div",{staticClass:"detail_content"},[t("div",{staticClass:"content_content",domProps:{innerHTML:e._s(e.dataDetail.data.content)}})])])])],1)],1)])],1)},jn=[],Tn={name:"BiHomeData",props:{userId:{type:String,default:"1919"}},data(){return{uid:"",searchData:{uid:"1919",combination:"",category_id:"",page:1,page_size:4,total:0},url:"https://applause.zwwlkj03.top/api",options:{buttonList:[]},swiperData:[],messageData:[],dataDetail:{isShow:!1,data:{}}}},computed:{canLeftClick(){return!(this.searchData.page<=1)},canRightClick(){const e=Math.ceil(this.searchData.total/this.searchData.page_size);return!(this.searchData.page>=e)}},mounted(){this.url="production"!==this.$BI.env?"https://applause.zwwlkj03.top/api":"https://applause.wozhangwan.com/api",this.uid=this.userId,this.searchData.uid=this.userId,this.init()},methods:{init(){this.Searchcondition(),this.getSwiper(),this.getMessage()},swiperClick(e){"1"===e.type&&window.open(e.jump_url,"_blank"),"2"===e.type&&this.getDetail(this.uid,e.notify_id)},clickSearch(){this.searchData.page=1,this.searchData.category_id="",this.getMessage()},buttonClick(e){this.searchData.page=1,this.searchData.category_id=e,this.getMessage()},pageClick(e){"left"===e&&this.canLeftClick&&(this.searchData.page--,this.getMessage()),"right"===e&&this.canRightClick&&(this.searchData.page++,this.getMessage())},async getMessage(){const e=await Q.a.post(this.url+"/home/notify/list",this.searchData);1===e.data.status_code&&(this.messageData=e.data.data.data,this.searchData.page=e.data.data.page_info.page,this.searchData.total=e.data.data.page_info.total)},async getSwiper(){const e=await Q.a.post(this.url+"/home/carousel/list",{uid:this.uid});1===e.data.status_code&&(this.swiperData=e.data.data.data)},async Searchcondition(){const e=await Q.a.post(this.url+"/home/Searchcondition/index",{uid:this.uid,notify_category:1});1===e.data.status_code&&(this.options.buttonList=e.data.data.notify_category)},returnCategory(e){const t=this.options.buttonList.filter(t=>t.value===e);return t.length?t[0].label:"掌资讯"},returnCategoryImg(e){switch(e){case"1":return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/1.png";case"2":return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/2.png";case"3":return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/3.png";case"4":return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/4.png";default:return"https://wanxiaomeng-1255977238.file.myqcloud.com/bi-element-ui/homeData/1.png"}},getDataDetail(e){this.sendRaed(e),this.getDetail(this.uid,e.id)},async sendRaed(e){const t=await Q.a.post(this.url+"/home/notify/read",{uid:this.uid,notify_id:e.id});1===t.data.status_code&&(e.is_read=!0)},async getDetail(e,t){const n=await Q.a.post(this.url+"/home/notify/detail",{uid:e,notify_id:t});1===n.data.status_code&&(this.dataDetail.data=n.data.data.data,this.dataDetail.isShow=!0)},handleClose(){this.dataDetail.isShow=!1}}},Cn=Tn,On=(n("4973"),n("864d"),m(Cn,Mn,jn,!1,null,"0509b7c7",null)),Dn=On.exports;Dn.install=function(e){e.component(Dn.name,Dn)};var Ln=Dn,En=function(){var e=this,t=e._self._c;return t("div",{staticClass:"bi-navbar-tool"},[e.downloadCenter?t("DownloadCenter",e._b({ref:"DownloadCenter",attrs:{loading:e.downloadStatus,token:e.token,system:e.system}},"DownloadCenter",e.$attrs,!1)):e._e(),e.noticeCenter?t("NoticeCenter",e._b({ref:"NoticeCenter",attrs:{token:e.token,system:e.system}},"NoticeCenter",e.$attrs,!1)):e._e(),t("el-divider",{attrs:{direction:"vertical"}}),t("Avatar",e._g(e._b({},"Avatar",e.$attrs,!1),e.$listeners)),t("el-divider",{attrs:{direction:"vertical"}}),t("SystemLink",e._b({attrs:{token:e.token}},"SystemLink",e.$attrs,!1))],1)},An=[];function Pn(e,t){return ne({url:t+"/data/system/getInfo",method:"post",data:{character:e}})}function Nn(e,t){return ne({headers:{AuthKey:"authtpe84dzfl3iq62",authorization:t},url:e+"/api/icon/list",method:"post"})}function Yn(e){var t=document.createElement("script");t.src=e,document.head.appendChild(t)}function In(e,t){const n=J(t||"").zhangquan.baseUrl;Pn(e,n).then(e=>{1===e.status_code&&e.data.icon_url&&setTimeout(()=>{Yn(e.data.icon_url)})})}function Rn(e,t,n){const r=J(t||"").zhangquan.baseUrl;Nn(r,e).then(e=>{1===e.status_code&&(n(e.data),setTimeout(()=>{Yn(e.data.link)}))})}var Fn={name:"BiNavbarTool",components:{NoticeCenter:Nt,DownloadCenter:at,Avatar:Kt,SystemLink:Ht},props:{token:{type:String,default:""},downloadCenter:{type:Boolean,default:!0},noticeCenter:{type:Boolean,default:!0}},data(){return{system:this.$BI.system,ws:null,heartTimer:null,downloadStatus:!1}},mounted(){this.heartTimer=null,this.WebSocketInit(),this.$AccessReport.setToken(this.token);const{needIcon:e,env:t,iconInit:n}=this.$BI;e&&!n&&Rn(this.token,t,e=>{this.$set(this.$BI,"iconList",e.data),this.$set(this.$BI,"iconInit",!0)})},beforeDestroy(){clearInterval(this.heartTimer),this.ws.close()},methods:{WebSocketInit(){const e=J(this.$BI.env||"").noticeCenterWebsocket.baseUrl,t=e+`/ws/websocket/message?token=${this.token}&system=${this.system}`;this.ws=new WebSocket(t),this.ws.onopen=this.wsOnopen,this.ws.onmessage=this.wsOnmessage,this.ws.onerror=this.wsOnerror,this.ws.onclose=this.wsOnclose},wsOnopen(){console.log("link-start!!!!!"),clearInterval(this.heartTimer),this.heartTimer=null,this.heartTimer=setInterval(()=>{this.ws.send(JSON.stringify({code:1}))},3e4)},wsOnmessage({data:e}){try{const t=JSON.parse(e);if("0"===t.code&&(Object.hasOwnProperty.call(t,"data")&&Object.hasOwnProperty.call(t.data,"unread_num")&&this.$refs.NoticeCenter.setUnreadNum(t.data.unread_num),t.data.remind_msg&&"system"===t.data.remind_msg.type&&1===t.data.remind_msg.is_popup&&this.$refs.NoticeCenter.popupNotice(t.data.remind_msg),t.data.unfinish_num?this.downloadStatus=!0:this.downloadStatus=!1,t.data.remind_msg&&"download"===t.data.remind_msg.type)){const e=this.$createElement;this.$notify({type:1===t.data.remind_msg.is_fail?"warning":"success",title:t.data.remind_msg.content,position:"bottom-right",duration:5e3,message:e("div",null,[t.data.remind_msg.description]),dangerouslyUseHTMLString:!0}),t.data.remind_msg.download_url&&window.open(t.data.remind_msg.download_url)}}catch(t){console.log("wsOnmessage ~ error:",t)}},wsOnerror(e){console.log("wsOnerror:",e)},wsOnclose(e){console.log("wsOnclose: link-closed:",e),clearInterval(this.heartTimer),this.heartTimer=null,setTimeout(()=>{console.log("重新链接ws"),this.WebSocketInit()},1e4)}}},$n=Fn,Bn=(n("1427"),m($n,En,An,!1,null,"0c52ba83",null)),Hn=Bn.exports;Hn.install=function(e){e.component(Hn.name,Hn)};var qn=Hn,zn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block-box search-block-box"},[t("div",{staticClass:"block-content"},[e._t("default")],2),t("div",{staticClass:"block-footer"},[e._t("footer")],2)])},Vn=[],Wn={name:"BiSearchBlock"},Un=Wn,Gn=m(Un,zn,Vn,!1,null,null,null),Kn=Gn.exports;Kn.install=function(e){e.component(Kn.name,Kn)};var Xn=Kn,Jn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"block-box"},[e._t("default")],2)},Zn=[],Qn={name:"BiBlock"},er=Qn,tr=m(er,Jn,Zn,!1,null,null,null),nr=tr.exports;nr.install=function(e){e.component(nr.name,nr)};var rr=nr,ir=function(){var e=this,t=e._self._c;return t("div",{staticClass:"search-form"},[e._t("default")],2)},or=[],sr={name:"BiForm"},ar=sr,lr=m(ar,ir,or,!1,null,null,null),ur=lr.exports;ur.install=function(e){e.component(ur.name,ur)};var cr=ur,dr=function(){var e=this,t=e._self._c;return t("div",{staticClass:"search-item"},[e.label?t("div",{staticClass:"item-label"},[e._v(e._s(e.label))]):e.$slots.label?t("div",{staticClass:"item-label"},[e._t("label")],2):e.$slots.select?t("div",{staticClass:"select-label"},[e._t("select")],2):e._e(),e.$slots.select?t("div",{staticClass:"item-content select-content"},[e._t("content")],2):e.$slots.button?t("div",{staticClass:"btn-item-content"},[e._t("button")],2):t("div",{staticClass:"item-content"},[e._t("content")],2)])},hr=[],fr={name:"BiFormItem",props:{label:{type:String,default:""}}},pr=fr,mr=m(pr,dr,hr,!1,null,null,null),yr=mr.exports;yr.install=function(e){e.component(yr.name,yr)};var gr=yr,br=function(){var e=this,t=e._self._c;return t("svg",e._g({staticClass:"bi-media-icon svg-icon",class:{iconInit:e.iconInit}},e.$listeners),[t("use",{attrs:{"xlink:href":e.returnName()}})])},vr=[],_r={name:"BiIcon",props:{iconId:{type:String,default:""},iconType:{type:String,default:"MEDIA"},iconName:{type:String,default:""},svgName:{type:String,default:""}},data(){return{BI:this.$BI}},computed:{iconList(){return this.BI.iconList||{}},iconInit(){return this.BI.iconInit},upperIconType(){return this.iconType.toUpperCase()}},methods:{returnName(){if(!this.iconInit)return"";try{const e=this.iconList[this.upperIconType];if(!e)return"";const t=e[this.iconId];return t&&t.icon?"#"+t.icon:""}catch(e){return console.warn("BiIcon: Failed to get icon - "+e.message),""}}}},wr=_r,xr=(n("495e"),m(wr,br,vr,!1,null,"4a74344e",null)),kr=xr.exports;kr.install=function(e){e.component(kr.name,kr)};var Sr=kr,Mr=n("a12d"),jr=n.n(Mr),Tr=n("6f6b"),Cr=n.n(Tr);const Or=[_e,Oe,Ie,ct,wt,Ct,qt,Yt,Xt,cn,gn,Sn,Ln,qn,Xn,rr,cr,gr,Sr],Dr=function(e,t={}){e.prototype.$BI={env:t.env||"production",system:t.system,request:t.request,needIcon:!1,iconInit:!1,iconList:{}},t&&t.request&&(e.prototype.$BiRequest=t.request),t&&t.needIcon&&(e.prototype.$BI.needIcon=!0),e.prototype.$BiEnv=t.env||"production",e.prototype.$AccessReport=new jr.a({system:t.system,env:t.env||"production"}),window.$BI=e.prototype.$BI,window.$AccessReport=e.prototype.$AccessReport,window.$BiEnv=e.prototype.$BiEnv,window.$BiSystem=e.prototype.$BiSystem,l.a.set("$BiEnv",t.env),l.a.set("$BiSystem",t.system),Dr.installed||(Or.map(t=>e.component(t.name,t)),In(t.system,t.env||"production"),e.use(Cr.a,{StickyHeader:{offsetTop:0,offsetBottom:0},StickyFooter:{offsetBottom:0},StickyScroller:{offsetBottom:0},HeightAdaptive:{offsetBottom:0}}))};"undefined"!==typeof window&&window.Vue&&Dr(window.Vue);var Lr={install:Dr,BiTable:_e,BiCustomColumn:Oe,BiDatePicker:Ie,BiDownloadCenter:ct,BiMoreButton:wt,BiSystemLink:qt,BiNoticeCenter:Yt,BiAvatar:Xt,BiLog:cn,BiLogDialog:gn,BiLogButton:Sn,BiHomeData:Ln,AccessReport:jr.a,BiTableSticky:Cr.a,BiSearchBlock:Xn,BiBlock:rr,BiForm:cr,BiFormItem:gr};t["default"]=Lr},dd96:function(e,t,n){"use strict";(function(t){var r=n("5595"),i=n("4740"),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function a(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("a215")),e}var l={adapter:a(),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){l.headers[e]=r.merge(o)})),e.exports=l}).call(this,n("0418"))},de88:function(e,t,n){"use strict";t.__esModule=!0,t.default=s;var r=n("8bbf"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!i.default.prototype.$isServer)if(t){var n=[],r=t.offsetParent;while(r&&e!==r&&e.contains(r))n.push(r),r=r.offsetParent;var o=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),s=o+t.offsetHeight,a=e.scrollTop,l=a+e.clientHeight;o<a?e.scrollTop=o:s>l&&(e.scrollTop=s-e.clientHeight)}else e.scrollTop=0}},e00e:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
350
350
|
//! moment.js locale configuration
|
351
351
|
function t(e){return e%100===11||e%10!==1}function n(e,n,r,i){var o=e+" ";switch(r){case"s":return n||i?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?o+(n||i?"sekúndur":"sekúndum"):o+"sekúnda";case"m":return n?"mínúta":"mínútu";case"mm":return t(e)?o+(n||i?"mínútur":"mínútum"):n?o+"mínúta":o+"mínútu";case"hh":return t(e)?o+(n||i?"klukkustundir":"klukkustundum"):o+"klukkustund";case"d":return n?"dagur":i?"dag":"degi";case"dd":return t(e)?n?o+"dagar":o+(i?"daga":"dögum"):n?o+"dagur":o+(i?"dag":"degi");case"M":return n?"mánuður":i?"mánuð":"mánuði";case"MM":return t(e)?n?o+"mánuðir":o+(i?"mánuði":"mánuðum"):n?o+"mánuður":o+(i?"mánuð":"mánuði");case"y":return n||i?"ár":"ári";case"yy":return t(e)?o+(n||i?"ár":"árum"):o+(n||i?"ár":"ári")}}var r=e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return r}))},e03b:function(e,t,n){"use strict";n("c5ee")},e06b:function(e,t,n){"use strict";n("eb7b")},e073:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
352
352
|
//! moment.js locale configuration
|
@@ -368,7 +368,7 @@ var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0
|
|
368
368
|
//! moment.js locale configuration
|
369
369
|
var t=e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},eca6:function(e,t,n){"use strict";t.__esModule=!0;var r=r||{};r.Utils=r.Utils||{},r.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var n=e.childNodes[t];if(r.Utils.attemptFocus(n)||r.Utils.focusFirstDescendant(n))return!0}return!1},r.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var n=e.childNodes[t];if(r.Utils.attemptFocus(n)||r.Utils.focusLastDescendant(n))return!0}return!1},r.Utils.attemptFocus=function(e){if(!r.Utils.isFocusable(e))return!1;r.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return r.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},r.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},r.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var r=document.createEvent(n),i=arguments.length,o=Array(i>2?i-2:0),s=2;s<i;s++)o[s-2]=arguments[s];return r.initEvent.apply(r,[t].concat(o)),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent("on"+t,r),e},r.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40,esc:27},t.default=r.Utils},ee21:function(e,t){e.exports=function(){}},eee3:function(e,t){e.exports=function(e,t,n,r){var i,o=0;function s(){var s=this,a=Number(new Date)-o,l=arguments;function u(){o=Number(new Date),n.apply(s,l)}function c(){i=void 0}r&&!i&&u(),i&&clearTimeout(i),void 0===r&&a>e?u():!0!==t&&(i=setTimeout(r?c:u,void 0===r?e-a:e))}return"boolean"!==typeof t&&(r=n,n=t,t=void 0),s}},f06a:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
370
370
|
//! moment.js locale configuration
|
371
|
-
var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},n=e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,i=e%100-r,o=e>=100?100:null;return e+(t[r]||t[i]||t[o])}},week:{dow:1,doy:7}});return n}))},f0be:function(e,t,n){"use strict";var r=n("b369"),i=n("149a"),o=n("5219"),s=n("0a2b"),a=n("f6fa"),l=n("23dc"),u=n("7dcb"),c=n("a339"),d=n("757f")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",y=function(){return this};e.exports=function(e,t,n,g,b,v,_){l(n,t,g);var w,x,k,S=function(e){if(!h&&e in C)return C[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},M=t+" Iterator",j=b==m,T=!1,C=e.prototype,O=C[d]||C[f]||b&&C[b],D=O||S(b),L=b?j?S("entries"):D:void 0,E="Array"==t&&C.entries||O;if(E&&(k=c(E.call(new e)),k!==Object.prototype&&k.next&&(u(k,M,!0),r||"function"==typeof k[d]||s(k,d,y))),j&&O&&O.name!==m&&(T=!0,D=function(){return O.call(this)}),r&&!_||!h&&!T&&C[d]||s(C,d,D),a[t]=D,a[M]=y,b)if(w={values:j?D:S(m),keys:v?D:S(p),entries:L},_)for(x in w)x in C||o(C,x,w[x]);else i(i.P+i.F*(h||T),t,w);return w}},f144:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},f152:function(e,t,n){var r=n("6a04"),i=n("7094"),o=n("5db3")(!1),s=n("64b3")("IE_PROTO");e.exports=function(e,t){var n,a=i(e),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(t.length>l)r(a,n=t[l++])&&(~o(u,n)||u.push(n));return u}},
|
371
|
+
var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"},n=e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var r=e%10,i=e%100-r,o=e>=100?100:null;return e+(t[r]||t[i]||t[o])}},week:{dow:1,doy:7}});return n}))},f0be:function(e,t,n){"use strict";var r=n("b369"),i=n("149a"),o=n("5219"),s=n("0a2b"),a=n("f6fa"),l=n("23dc"),u=n("7dcb"),c=n("a339"),d=n("757f")("iterator"),h=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",m="values",y=function(){return this};e.exports=function(e,t,n,g,b,v,_){l(n,t,g);var w,x,k,S=function(e){if(!h&&e in C)return C[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},M=t+" Iterator",j=b==m,T=!1,C=e.prototype,O=C[d]||C[f]||b&&C[b],D=O||S(b),L=b?j?S("entries"):D:void 0,E="Array"==t&&C.entries||O;if(E&&(k=c(E.call(new e)),k!==Object.prototype&&k.next&&(u(k,M,!0),r||"function"==typeof k[d]||s(k,d,y))),j&&O&&O.name!==m&&(T=!0,D=function(){return O.call(this)}),r&&!_||!h&&!T&&C[d]||s(C,d,D),a[t]=D,a[M]=y,b)if(w={values:j?D:S(m),keys:v?D:S(p),entries:L},_)for(x in w)x in C||o(C,x,w[x]);else i(i.P+i.F*(h||T),t,w);return w}},f144:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},f152:function(e,t,n){var r=n("6a04"),i=n("7094"),o=n("5db3")(!1),s=n("64b3")("IE_PROTO");e.exports=function(e,t){var n,a=i(e),l=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(t.length>l)r(a,n=t[l++])&&(~o(u,n)||u.push(n));return u}},f249:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},f453:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
372
372
|
//! moment.js locale configuration
|
373
373
|
var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t}))},f4e1:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
374
374
|
//! moment.js locale configuration
|
@@ -376,7 +376,7 @@ var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0
|
|
376
376
|
//! moment.js locale configuration
|
377
377
|
var t=e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}});return t}))},f699:function(e,t,n){"use strict";n("1cda")},f6d5:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
378
378
|
//! moment.js locale configuration
|
379
|
-
var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t}))},f6fa:function(e,t){e.exports={}},f849:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=92)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=n("62e9")},92:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},i=[];r._withStripped=!0;var o=n(4),s=n.n(o),a={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[s.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},l=a,u=n(0),c=Object(u["a"])(l,r,i,!1,null,null,null),d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},f9a2:function(e,t,n){},fb17:function(e,t,n){},
|
379
|
+
var t=e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}});return t}))},f6fa:function(e,t){e.exports={}},f849:function(e,t,n){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=92)}({0:function(e,t,n){"use strict";function r(e,t,n,r,i,o,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},4:function(e,t){e.exports=n("62e9")},92:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},i=[];r._withStripped=!0;var o=n(4),s=n.n(o),a={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[s.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},l=a,u=n(0),c=Object(u["a"])(l,r,i,!1,null,null,null),d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},f9a2:function(e,t,n){},fb17:function(e,t,n){},fb68:function(e,t,n){},fb8a:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(){if(i.default.prototype.$isServer)return 0;if(void 0!==s)return s;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),s=t-r,s};var r=n("8bbf"),i=o(r);function o(e){return e&&e.__esModule?e:{default:e}}var s=void 0},fc83:function(e,t){
|
380
380
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
381
381
|
t.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,l=(1<<a)-1,u=l>>1,c=-7,d=n?i-1:0,h=n?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=a;c>0;o=256*o+e[t+d],d+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=r;c>0;s=256*s+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,r),o-=u}return(f?-1:1)*s*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var s,a,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),t+=s+d>=1?h/l:h*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[n+f]=255&a,f+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;e[n+f]=255&s,f+=p,s/=256,u-=8);e[n+f-p]|=128*m}},fd27:function(e,t,n){"use strict";var r=n("ee21"),i=n("0c59"),o=n("f6fa"),s=n("7094");e.exports=n("f0be")(Array,"Array",(function(e,t){this._t=s(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},fd7c:function(e,t,n){(function(e,t){t(n("bb03"))})(0,(function(e){"use strict";
|
382
382
|
//! moment.js locale configuration
|