@uxland/primary-shell 4.1.0-rc.3 → 4.1.0
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/dist/index.js +46 -31
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +10 -8
- package/dist/index.umd.cjs.map +1 -1
- package/dist/primary/shell/src/internal-plugins/activity-history/activity-history-item/list/UI/main-view/activity-history-main.d.ts +1 -0
- package/package.json +14 -11
- package/src/UI/shared-components/primaria-text-editor/styles.css +1 -1
- package/src/handle-views.ts +57 -25
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/main-view/activity-history-main.ts +5 -0
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/main-view/template.ts +7 -5
package/dist/index.umd.cjs
CHANGED
|
@@ -5630,7 +5630,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
5630
5630
|
</div>
|
|
5631
5631
|
`};var __defProp$f=Object.defineProperty,__getOwnPropDesc$f=Object.getOwnPropertyDescriptor,__decorateClass$f=(te,W,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$f(W,X):W,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(W,X,ne):de(ne))||ne);return re&&ne&&__defProp$f(W,X,ne),ne};let PrimariaNavTreeMenu=class extends h$i{constructor(te){super(),this.showActionMenu=!1,this.handleItemClick=()=>{this.showActionMenu=!0,this.requestUpdate()},this.handleCloseMenu=()=>{this.showActionMenu=!1},this.config=te,this.primariaNavItemConfig={icon:te.icon,label:te.label,showArrow:!0,callbackFn:this.handleItemClick}}render(){return ke$1`${template$a(this)}`}};PrimariaNavTreeMenu.styles=i$w`
|
|
5632
5632
|
${r$L(styles$9)}
|
|
5633
|
-
`,__decorateClass$f([n$z({type:Object})],PrimariaNavTreeMenu.prototype,"config",2),__decorateClass$f([r$I()],PrimariaNavTreeMenu.prototype,"primariaNavItemConfig",2),__decorateClass$f([r$I()],PrimariaNavTreeMenu.prototype,"showActionMenu",2),PrimariaNavTreeMenu=__decorateClass$f([t$k("primaria-nav-tree-menu")],PrimariaNavTreeMenu);const registerUpperNavMenuViews=()=>{shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:pocTestEventsId,factory:()=>{const te=new exports.PrimariaNavItem({icon:"bolt",label:"Prova Events ECAP",callbackFn:()=>{shellApi.regionManager.activateMainView(pocTestEventsId)}});return Promise.resolve(te)},options:{sortHint:"000100"}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"communication",factory:()=>{const te=new PrimariaNavTreeMenu({icon:"add_box",label:"Comunicació",actionMenuItems:[{icon:"open_in_new",label:"SMS",callbackFn:()=>{}},{icon:"open_in_new",label:"Econsulta",callbackFn:()=>{}},{icon:"open_in_new",label:"Mail",callbackFn:()=>{}},{icon:"open_in_new",label:"Veu IP",callbackFn:()=>{}},{icon:"open_in_new",label:"Videoconsulta",callbackFn:()=>{}}]});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"visits",factory:()=>{const te=new exports.PrimariaNavItem({icon:"add_box",label:"Visites",callbackFn:()=>{}});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"it",factory:()=>{const te=new exports.PrimariaNavItem({icon:"add_box",label:"IT",callbackFn:async()=>{
|
|
5633
|
+
`,__decorateClass$f([n$z({type:Object})],PrimariaNavTreeMenu.prototype,"config",2),__decorateClass$f([r$I()],PrimariaNavTreeMenu.prototype,"primariaNavItemConfig",2),__decorateClass$f([r$I()],PrimariaNavTreeMenu.prototype,"showActionMenu",2),PrimariaNavTreeMenu=__decorateClass$f([t$k("primaria-nav-tree-menu")],PrimariaNavTreeMenu);const getPatientCip=async()=>await shellApi.broker.send("get_patient_cip"),publishEcapNoCloseWithCip=async te=>{const W=await getPatientCip();shellApi.ecapEventManager.publish(te,"NO_TANCAR",{CIP:W})},registerUpperNavMenuViews=()=>{shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:pocTestEventsId,factory:()=>{const te=new exports.PrimariaNavItem({icon:"bolt",label:"Prova Events ECAP",callbackFn:()=>{shellApi.regionManager.activateMainView(pocTestEventsId)}});return Promise.resolve(te)},options:{sortHint:"000100"}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"communication",factory:()=>{const te=new PrimariaNavTreeMenu({icon:"add_box",label:"Comunicació",actionMenuItems:[{icon:"open_in_new",label:"SMS",callbackFn:async()=>{const W=await getPatientCip();shellApi.ecapEventManager.publish("MISSATGES_DEV","NO_TANCAR",{CIP:W||"",TipusMissatge:"SMS"})}},{icon:"open_in_new",label:"Econsulta",callbackFn:()=>{}},{icon:"open_in_new",label:"Mail",callbackFn:()=>{}},{icon:"open_in_new",label:"Veu IP",callbackFn:async()=>{publishEcapNoCloseWithCip("VOIP")}},{icon:"open_in_new",label:"Videoconsulta",callbackFn:()=>{}}]});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"visits",factory:()=>{const te=new exports.PrimariaNavItem({icon:"add_box",label:"Visites",callbackFn:async()=>{publishEcapNoCloseWithCip("CONSULTA_VISITES")}});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"it",factory:()=>{const te=new exports.PrimariaNavItem({icon:"add_box",label:"IT",callbackFn:async()=>{publishEcapNoCloseWithCip("REV_IT")}});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"unique-petition",factory:()=>{const te=new PrimariaNavTreeMenu({icon:"add_box",label:"Petitori únic",actionMenuItems:[{icon:"open_in_new",label:"Analítiques",callbackFn:async()=>{publishEcapNoCloseWithCip("LABORATORI")}},{icon:"open_in_new",label:"OC",callbackFn:async()=>{await getPatientCip(),publishEcapNoCloseWithCip("RESULT_OC")}},{icon:"open_in_new",label:"OC Exprés",callbackFn:async()=>{await getPatientCip(),publishEcapNoCloseWithCip("OC_EXPRES")}},{icon:"open_in_new",label:"Sol·licitud de trasllat",callbackFn:async()=>{await getPatientCip(),publishEcapNoCloseWithCip("TRANSPORT")}}]});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"results-reports",factory:()=>{const te=new PrimariaNavTreeMenu({icon:"add_box",label:"Resultats i informes",actionMenuItems:[{icon:"open_in_new",label:"Resultats i informes ECAP",callbackFn:()=>{}},{icon:"open_in_new",label:"Documents usuari",callbackFn:async()=>{await getPatientCip(),setTimeout(()=>{publishEcapNoCloseWithCip("CRIDA_DOCS_USU")},0)}}]});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"processes",factory:()=>{const te=new PrimariaNavTreeMenu({icon:"add_box",label:"Processos",actionMenuItems:[{icon:"open_in_new",label:"ARES",callbackFn:async()=>{await getPatientCip(),publishEcapNoCloseWithCip("PROCES_ATENCIO")}},{icon:"open_in_new",label:"Nen sa",callbackFn:async()=>{await getPatientCip(),publishEcapNoCloseWithCip("NEN_SA")}},{icon:"open_in_new",label:"Procés Obstètric",callbackFn:()=>{}},{icon:"open_in_new",label:"Odontologia",callbackFn:async()=>{await getPatientCip(),publishEcapNoCloseWithCip("ODONTOLOGO")}},{icon:"open_in_new",label:"Situació d'especial cura",callbackFn:async()=>{await getPatientCip(),publishEcapNoCloseWithCip("SIT_ESPEC_CURA_DEV")}}]});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"variable activities",factory:()=>{const te=new exports.PrimariaNavItem({icon:"add_box",label:"Activitats variables",callbackFn:async()=>{await getPatientCip(),publishEcapNoCloseWithCip("SIA_DEV")}});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:clinicalMonitoringId,factory:()=>{const te=new exports.PrimariaNavItem({icon:"add_box",label:"Seguiment clínic",callbackFn:()=>{shellApi.regionManager.activateMainView(clinicalMonitoringId),shellApi.broker.publish(shellEvents.openClinicalMonitoringRequested)}});return Promise.resolve(te)}}),shellApi.regionManager.registerView(shellRegions.navigationMenu,{id:"landing",factory:()=>{const te=new exports.PrimariaNavItem({icon:"add_box",label:"Pàgina inici",callbackFn:()=>{}});return Promise.resolve(te)}})},registerLowerNavMenuViews=()=>{shellApi.regionManager.registerView(shellRegions.navigationLowerLeftMenu,{id:"configuration-center",factory:()=>{const te=new exports.PrimariaNavItem({icon:"add_box",label:"Centre de configuració",callbackFn:()=>{}});return Promise.resolve(te)}})},registerMainViews=()=>{shellApi.regionManager.registerMainView({id:clinicalMonitoringId,factory:()=>{const te=new ClinicalMonitoring;return Promise.resolve(te)},options:{isDefault:!0}}),shellApi.regionManager.registerMainView({id:pocTestEventsId,factory:()=>{const te=new PocEventsEcap;return Promise.resolve(te)}})},registerInternalViews=()=>{registerMainViews(),registerUpperNavMenuViews(),registerLowerNavMenuViews()},activateDefaultView=()=>{shellApi.regionManager.activateMainView(clinicalMonitoringId)};var __defProp$e=Object.defineProperty,__getOwnPropDesc$e=Object.getOwnPropertyDescriptor,__decorateClass$e=(te,W,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$e(W,X):W,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(W,X,ne):de(ne))||ne);return re&&ne&&__defProp$e(W,X,ne),ne};let PrimariaShell=class extends PrimariaRegionHost(h$i){constructor(){super(...arguments),this.sidebarExpanded=!1,this.viewSelected=shellViews.shell,this.subscriptions=[]}render(){return ke$1`${template$d(this)}`}connectedCallback(){super.connectedCallback(),this._subscribeEvents()}disconnectedCallback(){super.disconnectedCallback(),this._unsubscribeEvents()}firstUpdated(){super.firstUpdated(),setTimeout(()=>{activateDefaultView()},300)}_toggleSidebar(){this.sidebarExpanded=!this.sidebarExpanded}_subscribeEvents(){const te=shellApi.broker.subscribe(shellEvents.appCrashed,W=>{this.viewSelected=shellViews.error,this.error=W});this.subscriptions.push(te)}_unsubscribeEvents(){this.subscriptions.forEach(te=>te.dispose())}};PrimariaShell.styles=i$w`
|
|
5634
5634
|
${r$L(styles$c)}
|
|
5635
5635
|
`,__decorateClass$e([s$y({targetId:"menu-region-container",name:shellRegions.navigationMenu})],PrimariaShell.prototype,"navigationMenuRegion",2),__decorateClass$e([s$y({targetId:"main-region-container",name:shellRegions.main})],PrimariaShell.prototype,"mainRegion",2),__decorateClass$e([s$y({targetId:"quick-actions-region-container",name:shellRegions.quickActions})],PrimariaShell.prototype,"quickActionsRegion",2),__decorateClass$e([s$y({targetId:"floating-region-container",name:shellRegions.floating})],PrimariaShell.prototype,"floatingRegion",2),__decorateClass$e([s$y({targetId:"navigation-menu-lower-region-container",name:shellRegions.navigationLowerLeftMenu})],PrimariaShell.prototype,"navLowerLeftMenu",2),__decorateClass$e([r$I()],PrimariaShell.prototype,"sidebarExpanded",2),__decorateClass$e([r$I()],PrimariaShell.prototype,"viewSelected",2),__decorateClass$e([r$I()],PrimariaShell.prototype,"error",2),PrimariaShell=__decorateClass$e([t$k("primaria-shell")],PrimariaShell);var NAMED_TAG="named",NAME_TAG="name",UNMANAGED_TAG="unmanaged",OPTIONAL_TAG="optional",INJECT_TAG="inject",MULTI_INJECT_TAG="multi_inject",TAGGED="inversify:tagged",TAGGED_PROP="inversify:tagged_props",PARAM_TYPES="inversify:paramtypes",DESIGN_PARAM_TYPES="design:paramtypes",POST_CONSTRUCT="post_construct",PRE_DESTROY="pre_destroy";function getNonCustomTagKeys(){return[INJECT_TAG,MULTI_INJECT_TAG,NAME_TAG,UNMANAGED_TAG,NAMED_TAG,OPTIONAL_TAG]}var NON_CUSTOM_TAG_KEYS=getNonCustomTagKeys(),BindingScopeEnum={Request:"Request",Singleton:"Singleton",Transient:"Transient"},BindingTypeEnum={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"},TargetTypeEnum={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"},idCounter=0;function id(){return idCounter++}var Binding=function(){function te(W,X){this.id=id(),this.activated=!1,this.serviceIdentifier=W,this.scope=X,this.type=BindingTypeEnum.Invalid,this.constraint=function(re){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.onDeactivation=null,this.dynamicValue=null}return te.prototype.clone=function(){var W=new te(this.serviceIdentifier,this.scope);return W.activated=W.scope===BindingScopeEnum.Singleton?this.activated:!1,W.implementationType=this.implementationType,W.dynamicValue=this.dynamicValue,W.scope=this.scope,W.type=this.type,W.factory=this.factory,W.provider=this.provider,W.constraint=this.constraint,W.onActivation=this.onActivation,W.onDeactivation=this.onDeactivation,W.cache=this.cache,W},te}(),DUPLICATED_INJECTABLE_DECORATOR="Cannot apply @injectable decorator multiple times.",DUPLICATED_METADATA="Metadata key was used more than once in a parameter:",NULL_ARGUMENT="NULL argument",KEY_NOT_FOUND="Key Not Found",AMBIGUOUS_MATCH="Ambiguous match found for serviceIdentifier:",CANNOT_UNBIND="Could not unbind serviceIdentifier:",NOT_REGISTERED="No matching bindings found for serviceIdentifier:",MISSING_INJECTABLE_ANNOTATION="Missing required @injectable annotation in:",MISSING_INJECT_ANNOTATION="Missing required @inject or @multiInject annotation in:",UNDEFINED_INJECT_ANNOTATION=function(te){return"@inject called with undefined this could mean that the class "+te+" has a circular dependency problem. You can use a LazyServiceIdentifier to overcome this limitation."},CIRCULAR_DEPENDENCY="Circular dependency found:",INVALID_BINDING_TYPE="Invalid binding type:",NO_MORE_SNAPSHOTS_AVAILABLE="No snapshot available to restore.",INVALID_MIDDLEWARE_RETURN="Invalid return type in middleware. Middleware must return!",INVALID_FUNCTION_BINDING="Value provided to function binding must be a function!",LAZY_IN_SYNC=function(te){return"You are attempting to construct '"+te+`' in a synchronous way
|
|
5636
5636
|
but it has asynchronous dependencies.`},INVALID_TO_SELF_VALUE="The toSelf function can only be applied when a constructor is used as service identifier",INVALID_DECORATOR_OPERATION="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.",ARGUMENTS_LENGTH_MISMATCH=function(){for(var te=[],W=0;W<arguments.length;W++)te[W]=arguments[W];return"The number of constructor arguments in the derived class "+(te[0]+" must be >= than the number of constructor arguments of its base class.")},CONTAINER_OPTIONS_MUST_BE_AN_OBJECT="Invalid Container constructor argument. Container options must be an object.",CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE='Invalid Container option. Default scope must be a string ("singleton" or "transient").',CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE="Invalid Container option. Auto bind injectable must be a boolean",CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK="Invalid Container option. Skip base check must be a boolean",ASYNC_UNBIND_REQUIRED="Attempting to unbind dependency with asynchronous destruction (@preDestroy or onDeactivation)",POST_CONSTRUCT_ERROR=function(te,W){return"@postConstruct error in class "+te+": "+W},PRE_DESTROY_ERROR=function(te,W){return"@preDestroy error in class "+te+": "+W},ON_DEACTIVATION_ERROR=function(te,W){return"onDeactivation() error in class "+te+": "+W},CIRCULAR_DEPENDENCY_IN_FACTORY=function(te,W){return"It looks like there is a circular dependency in one of the '"+te+"' bindings. Please investigate bindings with "+("service identifier '"+W+"'.")},STACK_OVERFLOW="Maximum call stack size exceeded",MetadataReader=function(){function te(){}return te.prototype.getConstructorMetadata=function(W){var X=Reflect.getMetadata(PARAM_TYPES,W),re=Reflect.getMetadata(TAGGED,W);return{compilerGeneratedMetadata:X,userGeneratedMetadata:re||{}}},te.prototype.getPropertiesMetadata=function(W){var X=Reflect.getMetadata(TAGGED_PROP,W)||[];return X},te}(),BindingCount={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1};function isStackOverflowExeption(te){return te instanceof RangeError||te.message===STACK_OVERFLOW}var tryAndThrowErrorIfStackOverflow=function(te,W){try{return te()}catch(X){throw isStackOverflowExeption(X)&&(X=W()),X}};function getServiceIdentifierAsString(te){if(typeof te=="function"){var W=te;return W.name}else{if(typeof te=="symbol")return te.toString();var W=te;return W}}function listRegisteredBindingsForServiceIdentifier(te,W,X){var re="",ne=X(te,W);return ne.length!==0&&(re=`
|
|
@@ -5775,7 +5775,7 @@ Registered bindings:`,ne.forEach(function(oe){var de="Object";oe.implementationT
|
|
|
5775
5775
|
<div>|</div>
|
|
5776
5776
|
<dss-icon-button size="md" variant="primary" icon="more_vert" label=${translate("actions.menuButton")}></dss-icon-button>
|
|
5777
5777
|
<dss-action-menu position="bottom-start">
|
|
5778
|
-
<dss-action-menu-item lefticon="view_timeline" label=${translate("actions.cronogram")}></dss-action-menu-item>
|
|
5778
|
+
<dss-action-menu-item lefticon="view_timeline" label=${translate("actions.cronogram")} @click=${te._raiseEcapCronogramEvent}></dss-action-menu-item>
|
|
5779
5779
|
<dss-action-menu-item lefticon="file_download" label=${translate("actions.exportPdf")} @click=${()=>te.api.broker.send(new ExportPdf)}></dss-action-menu-item>
|
|
5780
5780
|
<dss-action-menu-item label=${translate("actions.noteLegend")}></dss-action-menu-item>
|
|
5781
5781
|
</dss-action-menu>
|
|
@@ -5801,16 +5801,18 @@ Registered bindings:`,ne.forEach(function(oe){var de="Object";oe.implementationT
|
|
|
5801
5801
|
</dss-datepicker>
|
|
5802
5802
|
</div>
|
|
5803
5803
|
<div class="header__maximized__right">
|
|
5804
|
-
<
|
|
5805
|
-
|
|
5804
|
+
<div>
|
|
5805
|
+
<dss-button variant="subtle" size="md" label="${translate("actions.moreOptions")}" icon="more_horiz" iconposition="left"></dss-button>
|
|
5806
|
+
<dss-action-menu position="bottom-start">
|
|
5806
5807
|
<dss-action-menu-item @click=${()=>te.api.broker.send(new ExportPdf)} lefticon="file_download" label=${translate("actions.exportPdf")}></dss-action-menu-item>
|
|
5807
|
-
|
|
5808
|
+
</dss-action-menu>
|
|
5809
|
+
</div>
|
|
5808
5810
|
<dss-button label="${translate("actions.entryLegend")}" size="md" variant="secondary" icon="info"></dss-button>
|
|
5809
|
-
<dss-button label="${translate("actions.cronogram")}" size="md" variant="primary" icon="view_timeline"></dss-button>
|
|
5811
|
+
<dss-button label="${translate("actions.cronogram")}" size="md" variant="primary" icon="view_timeline" @click=${te._raiseEcapCronogramEvent}></dss-button>
|
|
5810
5812
|
</div>
|
|
5811
5813
|
</div>
|
|
5812
5814
|
</div>
|
|
5813
|
-
`;var __defProp$4=Object.defineProperty,__getOwnPropDesc$4=Object.getOwnPropertyDescriptor,__decorateClass$4=(te,W,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$4(W,X):W,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(W,X,ne):de(ne))||ne);return re&&ne&&__defProp$4(W,X,ne),ne};let ActivityHistoryMain=class extends PrimariaRegionHost(h$i){constructor(){super(...arguments),this.subscriptions=[],this.maximized=!1,this.searchQuery=""}render(){return ke$1`${template$3(this)}`}connectedCallback(){super.connectedCallback(),this._subscribeEvents()}disconnectedCallback(){super.disconnectedCallback(),this._unsubscribeEvents()}_maximize(){this.maximized=!0}_minimize(){this.maximized=!1}_subscribeEvents(){const te=this.api.broker.subscribe(shellEvents.openClinicalMonitoringRequested,()=>{this.maximized=!1});this.subscriptions.push(te)}_unsubscribeEvents(){this.subscriptions.forEach(te=>te.dispose())}_handleSelectDate(te){const W=parse(te,"dd/MM/yyyy",new Date);this.scrollToClosestDate(W)}_handleSearchChange(te){typeof te.detail=="string"&&(this.searchQuery=te.detail,this.api.broker.send(new SearchActivityHistoryItems(this.searchQuery)))}scrollToClosestDate(te){const W=te.getTime();this.shadowRoot.querySelector("activity-history-timeline")._scrollIntoDate(W)}};ActivityHistoryMain.styles=i$w`
|
|
5815
|
+
`;var __defProp$4=Object.defineProperty,__getOwnPropDesc$4=Object.getOwnPropertyDescriptor,__decorateClass$4=(te,W,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$4(W,X):W,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(W,X,ne):de(ne))||ne);return re&&ne&&__defProp$4(W,X,ne),ne};let ActivityHistoryMain=class extends PrimariaRegionHost(h$i){constructor(){super(...arguments),this.subscriptions=[],this.maximized=!1,this.searchQuery=""}render(){return ke$1`${template$3(this)}`}connectedCallback(){super.connectedCallback(),this._subscribeEvents()}disconnectedCallback(){super.disconnectedCallback(),this._unsubscribeEvents()}_maximize(){this.maximized=!0}_minimize(){this.maximized=!1}_subscribeEvents(){const te=this.api.broker.subscribe(shellEvents.openClinicalMonitoringRequested,()=>{this.maximized=!1});this.subscriptions.push(te)}_unsubscribeEvents(){this.subscriptions.forEach(te=>te.dispose())}_handleSelectDate(te){const W=parse(te,"dd/MM/yyyy",new Date);this.scrollToClosestDate(W)}_handleSearchChange(te){typeof te.detail=="string"&&(this.searchQuery=te.detail,this.api.broker.send(new SearchActivityHistoryItems(this.searchQuery)))}async _raiseEcapCronogramEvent(){const te=await this.api.broker.send("get_patient_cip");this.api.ecapEventManager.publish("CRONOGRAMA","NO_TANCAR",{CIP:te})}scrollToClosestDate(te){const W=te.getTime();this.shadowRoot.querySelector("activity-history-timeline")._scrollIntoDate(W)}};ActivityHistoryMain.styles=i$w`
|
|
5814
5816
|
${r$L(styles$2)}
|
|
5815
5817
|
`,__decorateClass$4([n$z({type:Boolean})],ActivityHistoryMain.prototype,"maximized",2),__decorateClass$4([lazyInject(TYPES.primaryApi)],ActivityHistoryMain.prototype,"api",2),__decorateClass$4([connectedProperty(activityHistoryCollectionsSelector)],ActivityHistoryMain.prototype,"historyItems",2),__decorateClass$4([n$z()],ActivityHistoryMain.prototype,"searchQuery",2),ActivityHistoryMain=__decorateClass$4([t$k("activity-history-main")],ActivityHistoryMain);const bootstrapFeatures=te=>{bootstrapActivityHistoryItem(te)},teardownFeatures=()=>{teardownActivityHistoryItem()},initialize=async te=>(registerViews(te),await initializeLocalization(te),bindDeps(te),bootstrapFeatures(te),Promise.resolve()),dispose=()=>(teardownFeatures(),Promise.resolve()),registerViews=te=>{te.regionManager.registerView(clinicalMonitoringRegions.content,{id:te.pluginInfo.pluginId,factory:()=>Promise.resolve(new ActivityHistoryMain)})},internalPlugins=[{pluginId:"activity-history",importer:()=>Promise.resolve({initialize,dispose})}],bootstrapPlugins=async te=>{const W=internalPlugins.concat(te||[]);return await d$l(W,primariaApiFactory)},disposePlugins=async te=>Promise.all(te.map(W=>W.dispose(shellApi)));var __defProp$3=Object.defineProperty,__getOwnPropDesc$3=Object.getOwnPropertyDescriptor,__decorateClass$3=(te,W,X,re)=>{for(var ne=re>1?void 0:re?__getOwnPropDesc$3(W,X):W,oe=te.length-1,de;oe>=0;oe--)(de=te[oe])&&(ne=(re?de(W,X,ne):de(ne))||ne);return re&&ne&&__defProp$3(W,X,ne),ne};const isSelected=(te,W,X)=>te[W]===X||Array.from(te.attributes).some(re=>re.name===W&&re.value===X);exports.PrimariaContentSwitcher=class extends h$i{constructor(){super(...arguments),this.animation="fade"}render(){return ke$1` <slot></slot> `}updated(W){this.select()}get items(){return this.children}selectIndex(){return this.selected||this.selected===0?this.attrForSelected?Array.from(this.items).findIndex(W=>isSelected(W,this.attrForSelected,this.selected)):Number.parseInt(this.selected):-1}select(){var W;if(this.items.length){const X=this.selectIndex();if(X!==-1){const re=Array.from(this.items);re.forEach(ne=>ne.classList.remove("selected")),(W=re[X])==null||W.classList.add("selected")}}}doAnimation(W){switch(this.animation){case"fade":return W==null?void 0:W.classList.add("fade-in");case"slideDown":return W==null?void 0:W.classList.add("slide-down");case"slideLeft":return W==null?void 0:W.classList.add("slide-left");case"slideRight":return W==null?void 0:W.classList.add("slide-right");case"disabled":return;default:return W==null?void 0:W.classList.add("fade-in")}}},exports.PrimariaContentSwitcher.styles=i$w`
|
|
5816
5818
|
:host {
|
|
@@ -5860,7 +5862,7 @@ Registered bindings:`,ne.forEach(function(oe){var de="Object";oe.implementationT
|
|
|
5860
5862
|
`),bt}function Vt(mt,bt){if(Ve(mt)&&mt.nextElementSibling!=null&&!Xe(bt,`
|
|
5861
5863
|
|
|
5862
5864
|
`)){var kt=mt.offsetHeight+parseFloat(tt(mt).marginTop)+parseFloat(tt(mt).marginBottom);mt.nextElementSibling.offsetTop>mt.offsetTop+kt*1.5&&bt.insert(`
|
|
5863
|
-
`)}return bt}function cr(mt,bt){var kt={},Ct=mt.style||{};return Ct.fontStyle&&tt(mt).fontStyle==="italic"&&(kt.italic=!0),Ct.fontWeight&&(tt(mt).fontWeight.startsWith("bold")||parseInt(tt(mt).fontWeight)>=700)&&(kt.bold=!0),Object.keys(kt).length>0&&(bt=Ye(bt,kt)),parseFloat(Ct.textIndent||0)>0&&(bt=new fe.default().insert(" ").concat(bt)),bt}function ir(mt,bt){var kt=mt.data;if(mt.parentNode.tagName==="O:P")return bt.insert(kt.trim());if(kt.trim().length===0&&mt.parentNode.classList.contains("ql-clipboard"))return bt;if(!tt(mt.parentNode).whiteSpace.startsWith("pre")){var Ct=function(Ft,Nt){return Nt=Nt.replace(/[^\u00a0]/g,""),Nt.length<1&&Ft?" ":Nt};kt=kt.replace(/\r\n/g," ").replace(/\n/g," "),kt=kt.replace(/\s\s+/g,Ct.bind(Ct,!0)),(mt.previousSibling==null&&Ve(mt.parentNode)||mt.previousSibling!=null&&Ve(mt.previousSibling))&&(kt=kt.replace(/^\s+/,Ct.bind(Ct,!1))),(mt.nextSibling==null&&Ve(mt.parentNode)||mt.nextSibling!=null&&Ve(mt.nextSibling))&&(kt=kt.replace(/\s+$/,Ct.bind(Ct,!1)))}return bt.insert(kt)}re.default=Ue,re.matchAttributor=ot,re.matchBlot=_t,re.matchNewline=Ht,re.matchSpacing=Vt,re.matchText=ir},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function ve(be,_e){for(var we=0;we<_e.length;we++){var Se=_e[we];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(be,Se.key,Se)}}return function(be,_e,we){return _e&&ve(be.prototype,_e),we&&ve(be,we),be}}(),de=function ve(be,_e,we){be===null&&(be=Function.prototype);var Se=Object.getOwnPropertyDescriptor(be,_e);if(Se===void 0){var Ce=Object.getPrototypeOf(be);return Ce===null?void 0:ve(Ce,_e,we)}else{if("value"in Se)return Se.value;var ye=Se.get;return ye===void 0?void 0:ye.call(we)}},ce=ne(6),pe=he(ce);function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function ue(ve,be){if(!(ve instanceof be))throw new TypeError("Cannot call a class as a function")}function fe(ve,be){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:ve}function ge(ve,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);ve.prototype=Object.create(be&&be.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,be):ve.__proto__=be)}var me=function(ve){ge(be,ve);function be(){return ue(this,be),fe(this,(be.__proto__||Object.getPrototypeOf(be)).apply(this,arguments))}return oe(be,[{key:"optimize",value:function(we){de(be.prototype.__proto__||Object.getPrototypeOf(be.prototype),"optimize",this).call(this,we),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return de(be.__proto__||Object.getPrototypeOf(be),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),be}(pe.default);me.blotName="bold",me.tagName=["STRONG","B"],re.default=me},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.addControls=re.default=void 0;var oe=function(){function Le(Me,He){var We=[],Ke=!0,Ze=!1,vt=void 0;try{for(var Je=Me[Symbol.iterator](),Ge;!(Ke=(Ge=Je.next()).done)&&(We.push(Ge.value),!(He&&We.length===He));Ke=!0);}catch(Ne){Ze=!0,vt=Ne}finally{try{!Ke&&Je.return&&Je.return()}finally{if(Ze)throw vt}}return We}return function(Me,He){if(Array.isArray(Me))return Me;if(Symbol.iterator in Object(Me))return Le(Me,He);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),de=function(){function Le(Me,He){for(var We=0;We<He.length;We++){var Ke=He[We];Ke.enumerable=Ke.enumerable||!1,Ke.configurable=!0,"value"in Ke&&(Ke.writable=!0),Object.defineProperty(Me,Ke.key,Ke)}}return function(Me,He,We){return He&&Le(Me.prototype,He),We&&Le(Me,We),Me}}(),ce=ne(2),pe=we(ce),he=ne(0),ue=we(he),fe=ne(5),ge=we(fe),me=ne(10),ve=we(me),be=ne(9),_e=we(be);function we(Le){return Le&&Le.__esModule?Le:{default:Le}}function Se(Le,Me,He){return Me in Le?Object.defineProperty(Le,Me,{value:He,enumerable:!0,configurable:!0,writable:!0}):Le[Me]=He,Le}function Ce(Le,Me){if(!(Le instanceof Me))throw new TypeError("Cannot call a class as a function")}function ye(Le,Me){if(!Le)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Me&&(typeof Me=="object"||typeof Me=="function")?Me:Le}function Ae(Le,Me){if(typeof Me!="function"&&Me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Me);Le.prototype=Object.create(Me&&Me.prototype,{constructor:{value:Le,enumerable:!1,writable:!0,configurable:!0}}),Me&&(Object.setPrototypeOf?Object.setPrototypeOf(Le,Me):Le.__proto__=Me)}var Ie="getRootNode"in document,Pe=(0,ve.default)("quill:toolbar"),ze=function(Le){Ae(Me,Le);function Me(He,We){Ce(this,Me);var Ke=ye(this,(Me.__proto__||Object.getPrototypeOf(Me)).call(this,He,We));if(Array.isArray(Ke.options.container)){var Ze=document.createElement("div");De(Ze,Ke.options.container),He.container.parentNode.insertBefore(Ze,He.container),Ke.container=Ze}else if(typeof Ke.options.container=="string"){var vt=Ie?He.container.getRootNode():document;Ke.container=vt.querySelector(Ke.options.container)}else Ke.container=Ke.options.container;if(!(Ke.container instanceof HTMLElement)){var Je;return Je=Pe.error("Container required for toolbar",Ke.options),ye(Ke,Je)}return Ke.container.classList.add("ql-toolbar"),Ke.controls=[],Ke.handlers={},Object.keys(Ke.options.handlers).forEach(function(Ge){Ke.addHandler(Ge,Ke.options.handlers[Ge])}),[].forEach.call(Ke.container.querySelectorAll("button, select"),function(Ge){Ke.attach(Ge)}),Ke.quill.on(ge.default.events.EDITOR_CHANGE,function(Ge,Ne){Ge===ge.default.events.SELECTION_CHANGE&&Ke.update(Ne)}),Ke.quill.on(ge.default.events.SCROLL_OPTIMIZE,function(){var Ge=Ke.quill.selection.getRange(),Ne=oe(Ge,1),Ue=Ne[0];Ke.update(Ue)}),Ke}return de(Me,[{key:"addHandler",value:function(We,Ke){this.handlers[We]=Ke}},{key:"attach",value:function(We){var Ke=this,Ze=[].find.call(We.classList,function(Je){return Je.indexOf("ql-")===0});if(Ze){if(Ze=Ze.slice(3),We.tagName==="BUTTON"&&We.setAttribute("type","button"),this.handlers[Ze]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[Ze]==null){Pe.warn("ignoring attaching to disabled format",Ze,We);return}if(ue.default.query(Ze)==null){Pe.warn("ignoring attaching to nonexistent format",Ze,We);return}}var vt=We.tagName==="SELECT"?"change":"click";We.addEventListener(vt,function(Je){var Ge=void 0;if(We.tagName==="SELECT"){if(We.selectedIndex<0)return;var Ne=We.options[We.selectedIndex];Ne.hasAttribute("selected")?Ge=!1:Ge=Ne.value||!1}else We.classList.contains("ql-active")?Ge=!1:Ge=We.value||!We.hasAttribute("value"),Je.preventDefault();Ke.quill.focus();var Ue=Ke.quill.selection.getRange(),Ye=oe(Ue,1),tt=Ye[0];if(Ke.handlers[Ze]!=null)Ke.handlers[Ze].call(Ke,Ge);else if(ue.default.query(Ze).prototype instanceof ue.default.Embed){if(Ge=prompt("Enter "+Ze),!Ge)return;Ke.quill.updateContents(new pe.default().retain(tt.index).delete(tt.length).insert(Se({},Ze,Ge)),ge.default.sources.USER)}else Ke.quill.format(Ze,Ge,ge.default.sources.USER);Ke.update(tt)}),this.controls.push([Ze,We])}}},{key:"update",value:function(We){var Ke=We==null?{}:this.quill.getFormat(We);this.controls.forEach(function(Ze){var vt=oe(Ze,2),Je=vt[0],Ge=vt[1];if(Ge.tagName==="SELECT"){var Ne=void 0;if(We==null)Ne=null;else if(Ke[Je]==null)Ne=Ge.querySelector("option[selected]");else if(!Array.isArray(Ke[Je])){var Ue=Ke[Je];typeof Ue=="string"&&(Ue=Ue.replace(/\"/g,'\\"')),Ne=Ge.querySelector('option[value="'+Ue+'"]')}Ne==null?(Ge.value="",Ge.selectedIndex=-1):Ne.selected=!0}else if(We==null)Ge.classList.remove("ql-active");else if(Ge.hasAttribute("value")){var Ye=Ke[Je]===Ge.getAttribute("value")||Ke[Je]!=null&&Ke[Je].toString()===Ge.getAttribute("value")||Ke[Je]==null&&!Ge.getAttribute("value");Ge.classList.toggle("ql-active",Ye)}else Ge.classList.toggle("ql-active",Ke[Je]!=null)})}}]),Me}(_e.default);ze.DEFAULTS={};function Be(Le,Me,He){var We=document.createElement("button");We.setAttribute("type","button"),We.classList.add("ql-"+Me),He!=null&&(We.value=He),Le.appendChild(We)}function De(Le,Me){Array.isArray(Me[0])||(Me=[Me]),Me.forEach(function(He){var We=document.createElement("span");We.classList.add("ql-formats"),He.forEach(function(Ke){if(typeof Ke=="string")Be(We,Ke);else{var Ze=Object.keys(Ke)[0],vt=Ke[Ze];Array.isArray(vt)?Oe(We,Ze,vt):Be(We,Ze,vt)}}),Le.appendChild(We)})}function Oe(Le,Me,He){var We=document.createElement("select");We.classList.add("ql-"+Me),He.forEach(function(Ke){var Ze=document.createElement("option");Ke!==!1?Ze.setAttribute("value",Ke):Ze.setAttribute("selected","selected"),We.appendChild(Ze)}),Le.appendChild(We)}ze.DEFAULTS={container:null,handlers:{clean:function(){var Me=this,He=this.quill.getSelection();if(He!=null)if(He.length==0){var We=this.quill.getFormat();Object.keys(We).forEach(function(Ke){ue.default.query(Ke,ue.default.Scope.INLINE)!=null&&Me.quill.format(Ke,!1)})}else this.quill.removeFormat(He,ge.default.sources.USER)},direction:function(Me){var He=this.quill.getFormat().align;Me==="rtl"&&He==null?this.quill.format("align","right",ge.default.sources.USER):!Me&&He==="right"&&this.quill.format("align",!1,ge.default.sources.USER),this.quill.format("direction",Me,ge.default.sources.USER)},indent:function(Me){var He=this.quill.getSelection(),We=this.quill.getFormat(He),Ke=parseInt(We.indent||0);if(Me==="+1"||Me==="-1"){var Ze=Me==="+1"?1:-1;We.direction==="rtl"&&(Ze*=-1),this.quill.format("indent",Ke+Ze,ge.default.sources.USER)}},link:function(Me){Me===!0&&(Me=prompt("Enter link URL:")),this.quill.format("link",Me,ge.default.sources.USER)},list:function(Me){var He=this.quill.getSelection(),We=this.quill.getFormat(He);Me==="check"?We.list==="checked"||We.list==="unchecked"?this.quill.format("list",!1,ge.default.sources.USER):this.quill.format("list","unchecked",ge.default.sources.USER):this.quill.format("list",Me,ge.default.sources.USER)}}},re.default=ze,re.addControls=De},function(X,re){X.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(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function ve(be,_e){for(var we=0;we<_e.length;we++){var Se=_e[we];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(be,Se.key,Se)}}return function(be,_e,we){return _e&&ve(be.prototype,_e),we&&ve(be,we),be}}(),de=function ve(be,_e,we){be===null&&(be=Function.prototype);var Se=Object.getOwnPropertyDescriptor(be,_e);if(Se===void 0){var Ce=Object.getPrototypeOf(be);return Ce===null?void 0:ve(Ce,_e,we)}else{if("value"in Se)return Se.value;var ye=Se.get;return ye===void 0?void 0:ye.call(we)}},ce=ne(28),pe=he(ce);function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function ue(ve,be){if(!(ve instanceof be))throw new TypeError("Cannot call a class as a function")}function fe(ve,be){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:ve}function ge(ve,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);ve.prototype=Object.create(be&&be.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,be):ve.__proto__=be)}var me=function(ve){ge(be,ve);function be(_e,we){ue(this,be);var Se=fe(this,(be.__proto__||Object.getPrototypeOf(be)).call(this,_e));return Se.label.innerHTML=we,Se.container.classList.add("ql-color-picker"),[].slice.call(Se.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(Ce){Ce.classList.add("ql-primary")}),Se}return oe(be,[{key:"buildItem",value:function(we){var Se=de(be.prototype.__proto__||Object.getPrototypeOf(be.prototype),"buildItem",this).call(this,we);return Se.style.backgroundColor=we.getAttribute("value")||"",Se}},{key:"selectItem",value:function(we,Se){de(be.prototype.__proto__||Object.getPrototypeOf(be.prototype),"selectItem",this).call(this,we,Se);var Ce=this.label.querySelector(".ql-color-label"),ye=we&&we.getAttribute("data-value")||"";Ce&&(Ce.tagName==="line"?Ce.style.stroke=ye:Ce.style.fill=ye)}}]),be}(pe.default);re.default=me},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function ve(be,_e){for(var we=0;we<_e.length;we++){var Se=_e[we];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(be,Se.key,Se)}}return function(be,_e,we){return _e&&ve(be.prototype,_e),we&&ve(be,we),be}}(),de=function ve(be,_e,we){be===null&&(be=Function.prototype);var Se=Object.getOwnPropertyDescriptor(be,_e);if(Se===void 0){var Ce=Object.getPrototypeOf(be);return Ce===null?void 0:ve(Ce,_e,we)}else{if("value"in Se)return Se.value;var ye=Se.get;return ye===void 0?void 0:ye.call(we)}},ce=ne(28),pe=he(ce);function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function ue(ve,be){if(!(ve instanceof be))throw new TypeError("Cannot call a class as a function")}function fe(ve,be){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:ve}function ge(ve,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);ve.prototype=Object.create(be&&be.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,be):ve.__proto__=be)}var me=function(ve){ge(be,ve);function be(_e,we){ue(this,be);var Se=fe(this,(be.__proto__||Object.getPrototypeOf(be)).call(this,_e));return Se.container.classList.add("ql-icon-picker"),[].forEach.call(Se.container.querySelectorAll(".ql-picker-item"),function(Ce){Ce.innerHTML=we[Ce.getAttribute("data-value")||""]}),Se.defaultItem=Se.container.querySelector(".ql-selected"),Se.selectItem(Se.defaultItem),Se}return oe(be,[{key:"selectItem",value:function(we,Se){de(be.prototype.__proto__||Object.getPrototypeOf(be.prototype),"selectItem",this).call(this,we,Se),we=we||this.defaultItem,this.label.innerHTML=we.innerHTML}}]),be}(pe.default);re.default=me},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function pe(he,ue){for(var fe=0;fe<ue.length;fe++){var ge=ue[fe];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(he,ge.key,ge)}}return function(he,ue,fe){return ue&&pe(he.prototype,ue),fe&&pe(he,fe),he}}();function de(pe,he){if(!(pe instanceof he))throw new TypeError("Cannot call a class as a function")}var ce=function(){function pe(he,ue){var fe=this;de(this,pe),this.quill=he,this.boundsContainer=ue||document.body,this.root=he.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){fe.root.style.marginTop=-1*fe.quill.root.scrollTop+"px"}),this.hide()}return oe(pe,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(ue){var fe=ue.left+ue.width/2-this.root.offsetWidth/2,ge=ue.bottom+this.quill.root.scrollTop;this.root.style.left=fe+"px",this.root.style.top=ge+"px",this.root.classList.remove("ql-flip");var me=this.boundsContainer.getBoundingClientRect(),ve=this.root.getBoundingClientRect(),be=0;if(ve.right>me.right&&(be=me.right-ve.right,this.root.style.left=fe+be+"px"),ve.left<me.left&&(be=me.left-ve.left,this.root.style.left=fe+be+"px"),ve.bottom>me.bottom){var _e=ve.bottom-ve.top,we=ue.bottom-ue.top+_e;this.root.style.top=ge-we+"px",this.root.classList.add("ql-flip")}return be}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),pe}();re.default=ce},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function De(Oe,Le){var Me=[],He=!0,We=!1,Ke=void 0;try{for(var Ze=Oe[Symbol.iterator](),vt;!(He=(vt=Ze.next()).done)&&(Me.push(vt.value),!(Le&&Me.length===Le));He=!0);}catch(Je){We=!0,Ke=Je}finally{try{!He&&Ze.return&&Ze.return()}finally{if(We)throw Ke}}return Me}return function(Oe,Le){if(Array.isArray(Oe))return Oe;if(Symbol.iterator in Object(Oe))return De(Oe,Le);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),de=function De(Oe,Le,Me){Oe===null&&(Oe=Function.prototype);var He=Object.getOwnPropertyDescriptor(Oe,Le);if(He===void 0){var We=Object.getPrototypeOf(Oe);return We===null?void 0:De(We,Le,Me)}else{if("value"in He)return He.value;var Ke=He.get;return Ke===void 0?void 0:Ke.call(Me)}},ce=function(){function De(Oe,Le){for(var Me=0;Me<Le.length;Me++){var He=Le[Me];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(Oe,He.key,He)}}return function(Oe,Le,Me){return Le&&De(Oe.prototype,Le),Me&&De(Oe,Me),Oe}}(),pe=ne(3),he=Ce(pe),ue=ne(8),fe=Ce(ue),ge=ne(44),me=Ce(ge),ve=ne(27),be=Ce(ve),_e=ne(15),we=ne(42),Se=Ce(we);function Ce(De){return De&&De.__esModule?De:{default:De}}function ye(De,Oe){if(!(De instanceof Oe))throw new TypeError("Cannot call a class as a function")}function Ae(De,Oe){if(!De)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe&&(typeof Oe=="object"||typeof Oe=="function")?Oe:De}function Ie(De,Oe){if(typeof Oe!="function"&&Oe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Oe);De.prototype=Object.create(Oe&&Oe.prototype,{constructor:{value:De,enumerable:!1,writable:!0,configurable:!0}}),Oe&&(Object.setPrototypeOf?Object.setPrototypeOf(De,Oe):De.__proto__=Oe)}var Pe=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],ze=function(De){Ie(Oe,De);function Oe(Le,Me){ye(this,Oe),Me.modules.toolbar!=null&&Me.modules.toolbar.container==null&&(Me.modules.toolbar.container=Pe);var He=Ae(this,(Oe.__proto__||Object.getPrototypeOf(Oe)).call(this,Le,Me));return He.quill.container.classList.add("ql-snow"),He}return ce(Oe,[{key:"extendToolbar",value:function(Me){Me.container.classList.add("ql-snow"),this.buildButtons([].slice.call(Me.container.querySelectorAll("button")),Se.default),this.buildPickers([].slice.call(Me.container.querySelectorAll("select")),Se.default),this.tooltip=new Be(this.quill,this.options.bounds),Me.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(He,We){Me.handlers.link.call(Me,!We.format.link)})}}]),Oe}(me.default);ze.DEFAULTS=(0,he.default)(!0,{},me.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(Oe){if(Oe){var Le=this.quill.getSelection();if(Le==null||Le.length==0)return;var Me=this.quill.getText(Le);/^\S+@\S+\.\S+$/.test(Me)&&Me.indexOf("mailto:")!==0&&(Me="mailto:"+Me);var He=this.quill.theme.tooltip;He.edit("link",Me)}else this.quill.format("link",!1)}}}}});var Be=function(De){Ie(Oe,De);function Oe(Le,Me){ye(this,Oe);var He=Ae(this,(Oe.__proto__||Object.getPrototypeOf(Oe)).call(this,Le,Me));return He.preview=He.root.querySelector("a.ql-preview"),He}return ce(Oe,[{key:"listen",value:function(){var Me=this;de(Oe.prototype.__proto__||Object.getPrototypeOf(Oe.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(He){Me.root.classList.contains("ql-editing")?Me.save():Me.edit("link",Me.preview.textContent),He.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(He){if(Me.linkRange!=null){var We=Me.linkRange;Me.restoreFocus(),Me.quill.formatText(We,"link",!1,fe.default.sources.USER),delete Me.linkRange}He.preventDefault(),Me.hide()}),this.quill.on(fe.default.events.SELECTION_CHANGE,function(He,We,Ke){if(He!=null){if(He.length===0&&Ke===fe.default.sources.USER){var Ze=Me.quill.scroll.descendant(be.default,He.index),vt=oe(Ze,2),Je=vt[0],Ge=vt[1];if(Je!=null){Me.linkRange=new _e.Range(He.index-Ge,Je.length());var Ne=be.default.formats(Je.domNode);Me.preview.textContent=Ne,Me.preview.setAttribute("href",Ne),Me.show(),Me.position(Me.quill.getBounds(Me.linkRange));return}}else delete Me.linkRange;Me.hide()}})}},{key:"show",value:function(){de(Oe.prototype.__proto__||Object.getPrototypeOf(Oe.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),Oe}(ge.BaseTooltip);Be.TEMPLATE=['<a class="ql-preview" 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(""),re.default=ze},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(29),de=wt(oe),ce=ne(37),pe=ne(39),he=ne(65),ue=ne(66),fe=wt(ue),ge=ne(67),me=wt(ge),ve=ne(68),be=wt(ve),_e=ne(38),we=ne(26),Se=ne(40),Ce=ne(41),ye=ne(57),Ae=wt(ye),Ie=ne(69),Pe=wt(Ie),ze=ne(27),Be=wt(ze),De=ne(70),Oe=wt(De),Le=ne(71),Me=wt(Le),He=ne(72),We=wt(He),Ke=ne(73),Ze=wt(Ke),vt=ne(74),Je=wt(vt),Ge=ne(13),Ne=wt(Ge),Ue=ne(75),Ye=wt(Ue),tt=ne(76),Xe=wt(tt),Ve=ne(58),Qe=wt(Ve),nt=ne(42),ot=wt(nt),_t=ne(28),At=wt(_t),Lt=ne(60),It=wt(Lt),Ht=ne(61),Vt=wt(Ht),cr=ne(62),ir=wt(cr),mt=ne(109),bt=wt(mt),kt=ne(63),Ct=wt(kt);function wt(Ft){return Ft&&Ft.__esModule?Ft:{default:Ft}}de.default.register({"attributors/attribute/direction":pe.DirectionAttribute,"attributors/class/align":ce.AlignClass,"attributors/class/background":_e.BackgroundClass,"attributors/class/color":we.ColorClass,"attributors/class/direction":pe.DirectionClass,"attributors/class/font":Se.FontClass,"attributors/class/size":Ce.SizeClass,"attributors/style/align":ce.AlignStyle,"attributors/style/background":_e.BackgroundStyle,"attributors/style/color":we.ColorStyle,"attributors/style/direction":pe.DirectionStyle,"attributors/style/font":Se.FontStyle,"attributors/style/size":Ce.SizeStyle},!0),de.default.register({"formats/align":ce.AlignClass,"formats/direction":pe.DirectionClass,"formats/indent":he.IndentClass,"formats/background":_e.BackgroundStyle,"formats/color":we.ColorStyle,"formats/font":Se.FontClass,"formats/size":Ce.SizeClass,"formats/blockquote":fe.default,"formats/code-block":Ne.default,"formats/header":me.default,"formats/list":be.default,"formats/bold":Ae.default,"formats/code":Ge.Code,"formats/italic":Pe.default,"formats/link":Be.default,"formats/script":Oe.default,"formats/strike":Me.default,"formats/underline":We.default,"formats/image":Ze.default,"formats/video":Je.default,"formats/list/item":ve.ListItem,"modules/formula":Ye.default,"modules/syntax":Xe.default,"modules/toolbar":Qe.default,"themes/bubble":bt.default,"themes/snow":Ct.default,"ui/icons":ot.default,"ui/picker":At.default,"ui/icon-picker":Vt.default,"ui/color-picker":It.default,"ui/tooltip":ir.default},!0),re.default=de.default},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.IndentClass=void 0;var oe=function(){function be(_e,we){for(var Se=0;Se<we.length;Se++){var Ce=we[Se];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(_e,Ce.key,Ce)}}return function(_e,we,Se){return we&&be(_e.prototype,we),Se&&be(_e,Se),_e}}(),de=function be(_e,we,Se){_e===null&&(_e=Function.prototype);var Ce=Object.getOwnPropertyDescriptor(_e,we);if(Ce===void 0){var ye=Object.getPrototypeOf(_e);return ye===null?void 0:be(ye,we,Se)}else{if("value"in Ce)return Ce.value;var Ae=Ce.get;return Ae===void 0?void 0:Ae.call(Se)}},ce=ne(0),pe=he(ce);function he(be){return be&&be.__esModule?be:{default:be}}function ue(be,_e){if(!(be instanceof _e))throw new TypeError("Cannot call a class as a function")}function fe(be,_e){if(!be)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _e&&(typeof _e=="object"||typeof _e=="function")?_e:be}function ge(be,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _e);be.prototype=Object.create(_e&&_e.prototype,{constructor:{value:be,enumerable:!1,writable:!0,configurable:!0}}),_e&&(Object.setPrototypeOf?Object.setPrototypeOf(be,_e):be.__proto__=_e)}var me=function(be){ge(_e,be);function _e(){return ue(this,_e),fe(this,(_e.__proto__||Object.getPrototypeOf(_e)).apply(this,arguments))}return oe(_e,[{key:"add",value:function(Se,Ce){if(Ce==="+1"||Ce==="-1"){var ye=this.value(Se)||0;Ce=Ce==="+1"?ye+1:ye-1}return Ce===0?(this.remove(Se),!0):de(_e.prototype.__proto__||Object.getPrototypeOf(_e.prototype),"add",this).call(this,Se,Ce)}},{key:"canAdd",value:function(Se,Ce){return de(_e.prototype.__proto__||Object.getPrototypeOf(_e.prototype),"canAdd",this).call(this,Se,Ce)||de(_e.prototype.__proto__||Object.getPrototypeOf(_e.prototype),"canAdd",this).call(this,Se,parseInt(Ce))}},{key:"value",value:function(Se){return parseInt(de(_e.prototype.__proto__||Object.getPrototypeOf(_e.prototype),"value",this).call(this,Se))||void 0}}]),_e}(pe.default.Attributor.Class),ve=new me("indent","ql-indent",{scope:pe.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});re.IndentClass=ve},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(4),de=ce(oe);function ce(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,me){if(!(ge instanceof me))throw new TypeError("Cannot call a class as a function")}function he(ge,me){if(!ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:ge}function ue(ge,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);ge.prototype=Object.create(me&&me.prototype,{constructor:{value:ge,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(ge,me):ge.__proto__=me)}var fe=function(ge){ue(me,ge);function me(){return pe(this,me),he(this,(me.__proto__||Object.getPrototypeOf(me)).apply(this,arguments))}return me}(de.default);fe.blotName="blockquote",fe.tagName="blockquote",re.default=fe},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function me(ve,be){for(var _e=0;_e<be.length;_e++){var we=be[_e];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(ve,we.key,we)}}return function(ve,be,_e){return be&&me(ve.prototype,be),_e&&me(ve,_e),ve}}(),de=ne(4),ce=pe(de);function pe(me){return me&&me.__esModule?me:{default:me}}function he(me,ve){if(!(me instanceof ve))throw new TypeError("Cannot call a class as a function")}function ue(me,ve){if(!me)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve&&(typeof ve=="object"||typeof ve=="function")?ve:me}function fe(me,ve){if(typeof ve!="function"&&ve!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ve);me.prototype=Object.create(ve&&ve.prototype,{constructor:{value:me,enumerable:!1,writable:!0,configurable:!0}}),ve&&(Object.setPrototypeOf?Object.setPrototypeOf(me,ve):me.__proto__=ve)}var ge=function(me){fe(ve,me);function ve(){return he(this,ve),ue(this,(ve.__proto__||Object.getPrototypeOf(ve)).apply(this,arguments))}return oe(ve,null,[{key:"formats",value:function(_e){return this.tagName.indexOf(_e.tagName)+1}}]),ve}(ce.default);ge.blotName="header",ge.tagName=["H1","H2","H3","H4","H5","H6"],re.default=ge},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.default=re.ListItem=void 0;var oe=function(){function ye(Ae,Ie){for(var Pe=0;Pe<Ie.length;Pe++){var ze=Ie[Pe];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(Ae,ze.key,ze)}}return function(Ae,Ie,Pe){return Ie&&ye(Ae.prototype,Ie),Pe&&ye(Ae,Pe),Ae}}(),de=function ye(Ae,Ie,Pe){Ae===null&&(Ae=Function.prototype);var ze=Object.getOwnPropertyDescriptor(Ae,Ie);if(ze===void 0){var Be=Object.getPrototypeOf(Ae);return Be===null?void 0:ye(Be,Ie,Pe)}else{if("value"in ze)return ze.value;var De=ze.get;return De===void 0?void 0:De.call(Pe)}},ce=ne(0),pe=me(ce),he=ne(4),ue=me(he),fe=ne(25),ge=me(fe);function me(ye){return ye&&ye.__esModule?ye:{default:ye}}function ve(ye,Ae,Ie){return Ae in ye?Object.defineProperty(ye,Ae,{value:Ie,enumerable:!0,configurable:!0,writable:!0}):ye[Ae]=Ie,ye}function be(ye,Ae){if(!(ye instanceof Ae))throw new TypeError("Cannot call a class as a function")}function _e(ye,Ae){if(!ye)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ae&&(typeof Ae=="object"||typeof Ae=="function")?Ae:ye}function we(ye,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ae);ye.prototype=Object.create(Ae&&Ae.prototype,{constructor:{value:ye,enumerable:!1,writable:!0,configurable:!0}}),Ae&&(Object.setPrototypeOf?Object.setPrototypeOf(ye,Ae):ye.__proto__=Ae)}var Se=function(ye){we(Ae,ye);function Ae(){return be(this,Ae),_e(this,(Ae.__proto__||Object.getPrototypeOf(Ae)).apply(this,arguments))}return oe(Ae,[{key:"format",value:function(Pe,ze){Pe===Ce.blotName&&!ze?this.replaceWith(pe.default.create(this.statics.scope)):de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"format",this).call(this,Pe,ze)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(Pe,ze){return this.parent.isolate(this.offset(this.parent),this.length()),Pe===this.parent.statics.blotName?(this.parent.replaceWith(Pe,ze),this):(this.parent.unwrap(),de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"replaceWith",this).call(this,Pe,ze))}}],[{key:"formats",value:function(Pe){return Pe.tagName===this.tagName?void 0:de(Ae.__proto__||Object.getPrototypeOf(Ae),"formats",this).call(this,Pe)}}]),Ae}(ue.default);Se.blotName="list-item",Se.tagName="LI";var Ce=function(ye){we(Ae,ye),oe(Ae,null,[{key:"create",value:function(Pe){var ze=Pe==="ordered"?"OL":"UL",Be=de(Ae.__proto__||Object.getPrototypeOf(Ae),"create",this).call(this,ze);return(Pe==="checked"||Pe==="unchecked")&&Be.setAttribute("data-checked",Pe==="checked"),Be}},{key:"formats",value:function(Pe){if(Pe.tagName==="OL")return"ordered";if(Pe.tagName==="UL")return Pe.hasAttribute("data-checked")?Pe.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function Ae(Ie){be(this,Ae);var Pe=_e(this,(Ae.__proto__||Object.getPrototypeOf(Ae)).call(this,Ie)),ze=function(De){if(De.target.parentNode===Ie){var Oe=Pe.statics.formats(Ie),Le=pe.default.find(De.target);Oe==="checked"?Le.format("list","unchecked"):Oe==="unchecked"&&Le.format("list","checked")}};return Ie.addEventListener("touchstart",ze),Ie.addEventListener("mousedown",ze),Pe}return oe(Ae,[{key:"format",value:function(Pe,ze){this.children.length>0&&this.children.tail.format(Pe,ze)}},{key:"formats",value:function(){return ve({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(Pe,ze){if(Pe instanceof Se)de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"insertBefore",this).call(this,Pe,ze);else{var Be=ze==null?this.length():ze.offset(this),De=this.split(Be);De.parent.insertBefore(Pe,De)}}},{key:"optimize",value:function(Pe){de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"optimize",this).call(this,Pe);var ze=this.next;ze!=null&&ze.prev===this&&ze.statics.blotName===this.statics.blotName&&ze.domNode.tagName===this.domNode.tagName&&ze.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(ze.moveChildren(this),ze.remove())}},{key:"replace",value:function(Pe){if(Pe.statics.blotName!==this.statics.blotName){var ze=pe.default.create(this.statics.defaultChild);Pe.moveChildren(ze),this.appendChild(ze)}de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"replace",this).call(this,Pe)}}]),Ae}(ge.default);Ce.blotName="list",Ce.scope=pe.default.Scope.BLOCK_BLOT,Ce.tagName=["OL","UL"],Ce.defaultChild="list-item",Ce.allowedChildren=[Se],re.ListItem=Se,re.default=Ce},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(57),de=ce(oe);function ce(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,me){if(!(ge instanceof me))throw new TypeError("Cannot call a class as a function")}function he(ge,me){if(!ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:ge}function ue(ge,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);ge.prototype=Object.create(me&&me.prototype,{constructor:{value:ge,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(ge,me):ge.__proto__=me)}var fe=function(ge){ue(me,ge);function me(){return pe(this,me),he(this,(me.__proto__||Object.getPrototypeOf(me)).apply(this,arguments))}return me}(de.default);fe.blotName="italic",fe.tagName=["EM","I"],re.default=fe},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function ve(be,_e){for(var we=0;we<_e.length;we++){var Se=_e[we];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(be,Se.key,Se)}}return function(be,_e,we){return _e&&ve(be.prototype,_e),we&&ve(be,we),be}}(),de=function ve(be,_e,we){be===null&&(be=Function.prototype);var Se=Object.getOwnPropertyDescriptor(be,_e);if(Se===void 0){var Ce=Object.getPrototypeOf(be);return Ce===null?void 0:ve(Ce,_e,we)}else{if("value"in Se)return Se.value;var ye=Se.get;return ye===void 0?void 0:ye.call(we)}},ce=ne(6),pe=he(ce);function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function ue(ve,be){if(!(ve instanceof be))throw new TypeError("Cannot call a class as a function")}function fe(ve,be){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:ve}function ge(ve,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);ve.prototype=Object.create(be&&be.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,be):ve.__proto__=be)}var me=function(ve){ge(be,ve);function be(){return ue(this,be),fe(this,(be.__proto__||Object.getPrototypeOf(be)).apply(this,arguments))}return oe(be,null,[{key:"create",value:function(we){return we==="super"?document.createElement("sup"):we==="sub"?document.createElement("sub"):de(be.__proto__||Object.getPrototypeOf(be),"create",this).call(this,we)}},{key:"formats",value:function(we){if(we.tagName==="SUB")return"sub";if(we.tagName==="SUP")return"super"}}]),be}(pe.default);me.blotName="script",me.tagName=["SUB","SUP"],re.default=me},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(6),de=ce(oe);function ce(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,me){if(!(ge instanceof me))throw new TypeError("Cannot call a class as a function")}function he(ge,me){if(!ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:ge}function ue(ge,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);ge.prototype=Object.create(me&&me.prototype,{constructor:{value:ge,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(ge,me):ge.__proto__=me)}var fe=function(ge){ue(me,ge);function me(){return pe(this,me),he(this,(me.__proto__||Object.getPrototypeOf(me)).apply(this,arguments))}return me}(de.default);fe.blotName="strike",fe.tagName="S",re.default=fe},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(6),de=ce(oe);function ce(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,me){if(!(ge instanceof me))throw new TypeError("Cannot call a class as a function")}function he(ge,me){if(!ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:ge}function ue(ge,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);ge.prototype=Object.create(me&&me.prototype,{constructor:{value:ge,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(ge,me):ge.__proto__=me)}var fe=function(ge){ue(me,ge);function me(){return pe(this,me),he(this,(me.__proto__||Object.getPrototypeOf(me)).apply(this,arguments))}return me}(de.default);fe.blotName="underline",fe.tagName="U",re.default=fe},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function _e(we,Se){for(var Ce=0;Ce<Se.length;Ce++){var ye=Se[Ce];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(we,ye.key,ye)}}return function(we,Se,Ce){return Se&&_e(we.prototype,Se),Ce&&_e(we,Ce),we}}(),de=function _e(we,Se,Ce){we===null&&(we=Function.prototype);var ye=Object.getOwnPropertyDescriptor(we,Se);if(ye===void 0){var Ae=Object.getPrototypeOf(we);return Ae===null?void 0:_e(Ae,Se,Ce)}else{if("value"in ye)return ye.value;var Ie=ye.get;return Ie===void 0?void 0:Ie.call(Ce)}},ce=ne(0),pe=ue(ce),he=ne(27);function ue(_e){return _e&&_e.__esModule?_e:{default:_e}}function fe(_e,we){if(!(_e instanceof we))throw new TypeError("Cannot call a class as a function")}function ge(_e,we){if(!_e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:_e}function me(_e,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);_e.prototype=Object.create(we&&we.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(_e,we):_e.__proto__=we)}var ve=["alt","height","width"],be=function(_e){me(we,_e);function we(){return fe(this,we),ge(this,(we.__proto__||Object.getPrototypeOf(we)).apply(this,arguments))}return oe(we,[{key:"format",value:function(Ce,ye){ve.indexOf(Ce)>-1?ye?this.domNode.setAttribute(Ce,ye):this.domNode.removeAttribute(Ce):de(we.prototype.__proto__||Object.getPrototypeOf(we.prototype),"format",this).call(this,Ce,ye)}}],[{key:"create",value:function(Ce){var ye=de(we.__proto__||Object.getPrototypeOf(we),"create",this).call(this,Ce);return typeof Ce=="string"&&ye.setAttribute("src",this.sanitize(Ce)),ye}},{key:"formats",value:function(Ce){return ve.reduce(function(ye,Ae){return Ce.hasAttribute(Ae)&&(ye[Ae]=Ce.getAttribute(Ae)),ye},{})}},{key:"match",value:function(Ce){return/\.(jpe?g|gif|png)$/.test(Ce)||/^data:image\/.+;base64/.test(Ce)}},{key:"sanitize",value:function(Ce){return(0,he.sanitize)(Ce,["http","https","data"])?Ce:"//:0"}},{key:"value",value:function(Ce){return Ce.getAttribute("src")}}]),we}(pe.default.Embed);be.blotName="image",be.tagName="IMG",re.default=be},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function _e(we,Se){for(var Ce=0;Ce<Se.length;Ce++){var ye=Se[Ce];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(we,ye.key,ye)}}return function(we,Se,Ce){return Se&&_e(we.prototype,Se),Ce&&_e(we,Ce),we}}(),de=function _e(we,Se,Ce){we===null&&(we=Function.prototype);var ye=Object.getOwnPropertyDescriptor(we,Se);if(ye===void 0){var Ae=Object.getPrototypeOf(we);return Ae===null?void 0:_e(Ae,Se,Ce)}else{if("value"in ye)return ye.value;var Ie=ye.get;return Ie===void 0?void 0:Ie.call(Ce)}},ce=ne(4),pe=ne(27),he=ue(pe);function ue(_e){return _e&&_e.__esModule?_e:{default:_e}}function fe(_e,we){if(!(_e instanceof we))throw new TypeError("Cannot call a class as a function")}function ge(_e,we){if(!_e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:_e}function me(_e,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);_e.prototype=Object.create(we&&we.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(_e,we):_e.__proto__=we)}var ve=["height","width"],be=function(_e){me(we,_e);function we(){return fe(this,we),ge(this,(we.__proto__||Object.getPrototypeOf(we)).apply(this,arguments))}return oe(we,[{key:"format",value:function(Ce,ye){ve.indexOf(Ce)>-1?ye?this.domNode.setAttribute(Ce,ye):this.domNode.removeAttribute(Ce):de(we.prototype.__proto__||Object.getPrototypeOf(we.prototype),"format",this).call(this,Ce,ye)}}],[{key:"create",value:function(Ce){var ye=de(we.__proto__||Object.getPrototypeOf(we),"create",this).call(this,Ce);return ye.setAttribute("frameborder","0"),ye.setAttribute("allowfullscreen",!0),ye.setAttribute("src",this.sanitize(Ce)),ye}},{key:"formats",value:function(Ce){return ve.reduce(function(ye,Ae){return Ce.hasAttribute(Ae)&&(ye[Ae]=Ce.getAttribute(Ae)),ye},{})}},{key:"sanitize",value:function(Ce){return he.default.sanitize(Ce)}},{key:"value",value:function(Ce){return Ce.getAttribute("src")}}]),we}(ce.BlockEmbed);be.blotName="video",be.className="ql-video",be.tagName="IFRAME",re.default=be},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.default=re.FormulaBlot=void 0;var oe=function(){function Ce(ye,Ae){for(var Ie=0;Ie<Ae.length;Ie++){var Pe=Ae[Ie];Pe.enumerable=Pe.enumerable||!1,Pe.configurable=!0,"value"in Pe&&(Pe.writable=!0),Object.defineProperty(ye,Pe.key,Pe)}}return function(ye,Ae,Ie){return Ae&&Ce(ye.prototype,Ae),Ie&&Ce(ye,Ie),ye}}(),de=function Ce(ye,Ae,Ie){ye===null&&(ye=Function.prototype);var Pe=Object.getOwnPropertyDescriptor(ye,Ae);if(Pe===void 0){var ze=Object.getPrototypeOf(ye);return ze===null?void 0:Ce(ze,Ae,Ie)}else{if("value"in Pe)return Pe.value;var Be=Pe.get;return Be===void 0?void 0:Be.call(Ie)}},ce=ne(36),pe=me(ce),he=ne(5),ue=me(he),fe=ne(9),ge=me(fe);function me(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}function ve(Ce,ye){if(!(Ce instanceof ye))throw new TypeError("Cannot call a class as a function")}function be(Ce,ye){if(!Ce)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye&&(typeof ye=="object"||typeof ye=="function")?ye:Ce}function _e(Ce,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ye);Ce.prototype=Object.create(ye&&ye.prototype,{constructor:{value:Ce,enumerable:!1,writable:!0,configurable:!0}}),ye&&(Object.setPrototypeOf?Object.setPrototypeOf(Ce,ye):Ce.__proto__=ye)}var we=function(Ce){_e(ye,Ce);function ye(){return ve(this,ye),be(this,(ye.__proto__||Object.getPrototypeOf(ye)).apply(this,arguments))}return oe(ye,null,[{key:"create",value:function(Ie){var Pe=de(ye.__proto__||Object.getPrototypeOf(ye),"create",this).call(this,Ie);return typeof Ie=="string"&&(window.katex.render(Ie,Pe,{throwOnError:!1,errorColor:"#f00"}),Pe.setAttribute("data-value",Ie)),Pe}},{key:"value",value:function(Ie){return Ie.getAttribute("data-value")}}]),ye}(pe.default);we.blotName="formula",we.className="ql-formula",we.tagName="SPAN";var Se=function(Ce){_e(ye,Ce),oe(ye,null,[{key:"register",value:function(){ue.default.register(we,!0)}}]);function ye(){ve(this,ye);var Ae=be(this,(ye.__proto__||Object.getPrototypeOf(ye)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return Ae}return ye}(ge.default);re.FormulaBlot=we,re.default=Se},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.default=re.CodeToken=re.CodeBlock=void 0;var oe=function(){function Ie(Pe,ze){for(var Be=0;Be<ze.length;Be++){var De=ze[Be];De.enumerable=De.enumerable||!1,De.configurable=!0,"value"in De&&(De.writable=!0),Object.defineProperty(Pe,De.key,De)}}return function(Pe,ze,Be){return ze&&Ie(Pe.prototype,ze),Be&&Ie(Pe,Be),Pe}}(),de=function Ie(Pe,ze,Be){Pe===null&&(Pe=Function.prototype);var De=Object.getOwnPropertyDescriptor(Pe,ze);if(De===void 0){var Oe=Object.getPrototypeOf(Pe);return Oe===null?void 0:Ie(Oe,ze,Be)}else{if("value"in De)return De.value;var Le=De.get;return Le===void 0?void 0:Le.call(Be)}},ce=ne(0),pe=be(ce),he=ne(5),ue=be(he),fe=ne(9),ge=be(fe),me=ne(13),ve=be(me);function be(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}function _e(Ie,Pe){if(!(Ie instanceof Pe))throw new TypeError("Cannot call a class as a function")}function we(Ie,Pe){if(!Ie)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Pe&&(typeof Pe=="object"||typeof Pe=="function")?Pe:Ie}function Se(Ie,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Pe);Ie.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:Ie,enumerable:!1,writable:!0,configurable:!0}}),Pe&&(Object.setPrototypeOf?Object.setPrototypeOf(Ie,Pe):Ie.__proto__=Pe)}var Ce=function(Ie){Se(Pe,Ie);function Pe(){return _e(this,Pe),we(this,(Pe.__proto__||Object.getPrototypeOf(Pe)).apply(this,arguments))}return oe(Pe,[{key:"replaceWith",value:function(Be){this.domNode.textContent=this.domNode.textContent,this.attach(),de(Pe.prototype.__proto__||Object.getPrototypeOf(Pe.prototype),"replaceWith",this).call(this,Be)}},{key:"highlight",value:function(Be){var De=this.domNode.textContent;this.cachedText!==De&&((De.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=Be(De),this.domNode.normalize(),this.attach()),this.cachedText=De)}}]),Pe}(ve.default);Ce.className="ql-syntax";var ye=new pe.default.Attributor.Class("token","hljs",{scope:pe.default.Scope.INLINE}),Ae=function(Ie){Se(Pe,Ie),oe(Pe,null,[{key:"register",value:function(){ue.default.register(ye,!0),ue.default.register(Ce,!0)}}]);function Pe(ze,Be){_e(this,Pe);var De=we(this,(Pe.__proto__||Object.getPrototypeOf(Pe)).call(this,ze,Be));if(typeof De.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var Oe=null;return De.quill.on(ue.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(Oe),Oe=setTimeout(function(){De.highlight(),Oe=null},De.options.interval)}),De.highlight(),De}return oe(Pe,[{key:"highlight",value:function(){var Be=this;if(!this.quill.selection.composing){this.quill.update(ue.default.sources.USER);var De=this.quill.getSelection();this.quill.scroll.descendants(Ce).forEach(function(Oe){Oe.highlight(Be.options.highlight)}),this.quill.update(ue.default.sources.SILENT),De!=null&&this.quill.setSelection(De,ue.default.sources.SILENT)}}}]),Pe}(ge.default);Ae.DEFAULTS={highlight:function(){return window.hljs==null?null:function(Ie){var Pe=window.hljs.highlightAuto(Ie);return Pe.value}}(),interval:1e3},re.CodeBlock=Ce,re.CodeToken=ye,re.default=Ae},function(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.default=re.BubbleTooltip=void 0;var oe=function Pe(ze,Be,De){ze===null&&(ze=Function.prototype);var Oe=Object.getOwnPropertyDescriptor(ze,Be);if(Oe===void 0){var Le=Object.getPrototypeOf(ze);return Le===null?void 0:Pe(Le,Be,De)}else{if("value"in Oe)return Oe.value;var Me=Oe.get;return Me===void 0?void 0:Me.call(De)}},de=function(){function Pe(ze,Be){for(var De=0;De<Be.length;De++){var Oe=Be[De];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(ze,Oe.key,Oe)}}return function(ze,Be,De){return Be&&Pe(ze.prototype,Be),De&&Pe(ze,De),ze}}(),ce=ne(3),pe=_e(ce),he=ne(8),ue=_e(he),fe=ne(44),ge=_e(fe),me=ne(15),ve=ne(42),be=_e(ve);function _e(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}function we(Pe,ze){if(!(Pe instanceof ze))throw new TypeError("Cannot call a class as a function")}function Se(Pe,ze){if(!Pe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ze&&(typeof ze=="object"||typeof ze=="function")?ze:Pe}function Ce(Pe,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ze);Pe.prototype=Object.create(ze&&ze.prototype,{constructor:{value:Pe,enumerable:!1,writable:!0,configurable:!0}}),ze&&(Object.setPrototypeOf?Object.setPrototypeOf(Pe,ze):Pe.__proto__=ze)}var ye=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],Ae=function(Pe){Ce(ze,Pe);function ze(Be,De){we(this,ze),De.modules.toolbar!=null&&De.modules.toolbar.container==null&&(De.modules.toolbar.container=ye);var Oe=Se(this,(ze.__proto__||Object.getPrototypeOf(ze)).call(this,Be,De));return Oe.quill.container.classList.add("ql-bubble"),Oe}return de(ze,[{key:"extendToolbar",value:function(De){this.tooltip=new Ie(this.quill,this.options.bounds),this.tooltip.root.appendChild(De.container),this.buildButtons([].slice.call(De.container.querySelectorAll("button")),be.default),this.buildPickers([].slice.call(De.container.querySelectorAll("select")),be.default)}}]),ze}(ge.default);Ae.DEFAULTS=(0,pe.default)(!0,{},ge.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(ze){ze?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var Ie=function(Pe){Ce(ze,Pe);function ze(Be,De){we(this,ze);var Oe=Se(this,(ze.__proto__||Object.getPrototypeOf(ze)).call(this,Be,De));return Oe.quill.on(ue.default.events.EDITOR_CHANGE,function(Le,Me,He,We){if(Le===ue.default.events.SELECTION_CHANGE)if(Me!=null&&Me.length>0&&We===ue.default.sources.USER){Oe.show(),Oe.root.style.left="0px",Oe.root.style.width="",Oe.root.style.width=Oe.root.offsetWidth+"px";var Ke=Oe.quill.getLines(Me.index,Me.length);if(Ke.length===1)Oe.position(Oe.quill.getBounds(Me));else{var Ze=Ke[Ke.length-1],vt=Oe.quill.getIndex(Ze),Je=Math.min(Ze.length()-1,Me.index+Me.length-vt),Ge=Oe.quill.getBounds(new me.Range(vt,Je));Oe.position(Ge)}}else document.activeElement!==Oe.textbox&&Oe.quill.hasFocus()&&Oe.hide()}),Oe}return de(ze,[{key:"listen",value:function(){var De=this;oe(ze.prototype.__proto__||Object.getPrototypeOf(ze.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){De.root.classList.remove("ql-editing")}),this.quill.on(ue.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!De.root.classList.contains("ql-hidden")){var Oe=De.quill.getSelection();Oe!=null&&De.position(De.quill.getBounds(Oe))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(De){var Oe=oe(ze.prototype.__proto__||Object.getPrototypeOf(ze.prototype),"position",this).call(this,De),Le=this.root.querySelector(".ql-tooltip-arrow");if(Le.style.marginLeft="",Oe===0)return Oe;Le.style.marginLeft=-1*Oe-Le.offsetWidth/2+"px"}}]),ze}(fe.BaseTooltip);Ie.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(""),re.BubbleTooltip=Ie,re.default=Ae},function(X,re,ne){X.exports=ne(64)}]).default})})(quill);var quillExports=quill.exports;const Quill=getDefaultExportFromCjs(quillExports),styles$1=':host{height:100%}.container{width:100%;height:100%;display:flex;flex-direction:column;flex:1}.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative;color:#000;overflow-y:auto}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word;font-size:1rem}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li{list-style-type:none}.ql-editor ul>li{list-style-type:disc}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1;counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-2{counter-increment:list-2;counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-3{counter-increment:list-3;counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-4{counter-increment:list-4;counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-5{counter-increment:list-5;counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-6{counter-increment:list-6;counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-7{counter-increment:list-7;counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-8{counter-increment:list-8;counter-reset:list-9}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px);background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none;line-height:26px}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Petita"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Gran"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Enorme"}button.ql-indent{display:none!important}.ql-undo{font-size:14pt;font-weight:900;display:flex!important;align-items:center}.ql-undo:after{content:"↺";transform:rotate(-135deg)}.ql-redo{font-size:14pt;font-weight:900;display:flex!important;align-items:center}.ql-redo:after{content:"↻";transform:rotate(135deg)}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}',template$2=te=>ke$1`
|
|
5865
|
+
`)}return bt}function cr(mt,bt){var kt={},Ct=mt.style||{};return Ct.fontStyle&&tt(mt).fontStyle==="italic"&&(kt.italic=!0),Ct.fontWeight&&(tt(mt).fontWeight.startsWith("bold")||parseInt(tt(mt).fontWeight)>=700)&&(kt.bold=!0),Object.keys(kt).length>0&&(bt=Ye(bt,kt)),parseFloat(Ct.textIndent||0)>0&&(bt=new fe.default().insert(" ").concat(bt)),bt}function ir(mt,bt){var kt=mt.data;if(mt.parentNode.tagName==="O:P")return bt.insert(kt.trim());if(kt.trim().length===0&&mt.parentNode.classList.contains("ql-clipboard"))return bt;if(!tt(mt.parentNode).whiteSpace.startsWith("pre")){var Ct=function(Ft,Nt){return Nt=Nt.replace(/[^\u00a0]/g,""),Nt.length<1&&Ft?" ":Nt};kt=kt.replace(/\r\n/g," ").replace(/\n/g," "),kt=kt.replace(/\s\s+/g,Ct.bind(Ct,!0)),(mt.previousSibling==null&&Ve(mt.parentNode)||mt.previousSibling!=null&&Ve(mt.previousSibling))&&(kt=kt.replace(/^\s+/,Ct.bind(Ct,!1))),(mt.nextSibling==null&&Ve(mt.parentNode)||mt.nextSibling!=null&&Ve(mt.nextSibling))&&(kt=kt.replace(/\s+$/,Ct.bind(Ct,!1)))}return bt.insert(kt)}re.default=Ue,re.matchAttributor=ot,re.matchBlot=_t,re.matchNewline=Ht,re.matchSpacing=Vt,re.matchText=ir},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function ve(be,_e){for(var we=0;we<_e.length;we++){var Se=_e[we];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(be,Se.key,Se)}}return function(be,_e,we){return _e&&ve(be.prototype,_e),we&&ve(be,we),be}}(),de=function ve(be,_e,we){be===null&&(be=Function.prototype);var Se=Object.getOwnPropertyDescriptor(be,_e);if(Se===void 0){var Ce=Object.getPrototypeOf(be);return Ce===null?void 0:ve(Ce,_e,we)}else{if("value"in Se)return Se.value;var ye=Se.get;return ye===void 0?void 0:ye.call(we)}},ce=ne(6),pe=he(ce);function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function ue(ve,be){if(!(ve instanceof be))throw new TypeError("Cannot call a class as a function")}function fe(ve,be){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:ve}function ge(ve,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);ve.prototype=Object.create(be&&be.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,be):ve.__proto__=be)}var me=function(ve){ge(be,ve);function be(){return ue(this,be),fe(this,(be.__proto__||Object.getPrototypeOf(be)).apply(this,arguments))}return oe(be,[{key:"optimize",value:function(we){de(be.prototype.__proto__||Object.getPrototypeOf(be.prototype),"optimize",this).call(this,we),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return de(be.__proto__||Object.getPrototypeOf(be),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),be}(pe.default);me.blotName="bold",me.tagName=["STRONG","B"],re.default=me},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.addControls=re.default=void 0;var oe=function(){function Le(Me,He){var We=[],Ke=!0,Ze=!1,vt=void 0;try{for(var Je=Me[Symbol.iterator](),Ge;!(Ke=(Ge=Je.next()).done)&&(We.push(Ge.value),!(He&&We.length===He));Ke=!0);}catch(Ne){Ze=!0,vt=Ne}finally{try{!Ke&&Je.return&&Je.return()}finally{if(Ze)throw vt}}return We}return function(Me,He){if(Array.isArray(Me))return Me;if(Symbol.iterator in Object(Me))return Le(Me,He);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),de=function(){function Le(Me,He){for(var We=0;We<He.length;We++){var Ke=He[We];Ke.enumerable=Ke.enumerable||!1,Ke.configurable=!0,"value"in Ke&&(Ke.writable=!0),Object.defineProperty(Me,Ke.key,Ke)}}return function(Me,He,We){return He&&Le(Me.prototype,He),We&&Le(Me,We),Me}}(),ce=ne(2),pe=we(ce),he=ne(0),ue=we(he),fe=ne(5),ge=we(fe),me=ne(10),ve=we(me),be=ne(9),_e=we(be);function we(Le){return Le&&Le.__esModule?Le:{default:Le}}function Se(Le,Me,He){return Me in Le?Object.defineProperty(Le,Me,{value:He,enumerable:!0,configurable:!0,writable:!0}):Le[Me]=He,Le}function Ce(Le,Me){if(!(Le instanceof Me))throw new TypeError("Cannot call a class as a function")}function ye(Le,Me){if(!Le)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Me&&(typeof Me=="object"||typeof Me=="function")?Me:Le}function Ae(Le,Me){if(typeof Me!="function"&&Me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Me);Le.prototype=Object.create(Me&&Me.prototype,{constructor:{value:Le,enumerable:!1,writable:!0,configurable:!0}}),Me&&(Object.setPrototypeOf?Object.setPrototypeOf(Le,Me):Le.__proto__=Me)}var Ie="getRootNode"in document,Pe=(0,ve.default)("quill:toolbar"),ze=function(Le){Ae(Me,Le);function Me(He,We){Ce(this,Me);var Ke=ye(this,(Me.__proto__||Object.getPrototypeOf(Me)).call(this,He,We));if(Array.isArray(Ke.options.container)){var Ze=document.createElement("div");De(Ze,Ke.options.container),He.container.parentNode.insertBefore(Ze,He.container),Ke.container=Ze}else if(typeof Ke.options.container=="string"){var vt=Ie?He.container.getRootNode():document;Ke.container=vt.querySelector(Ke.options.container)}else Ke.container=Ke.options.container;if(!(Ke.container instanceof HTMLElement)){var Je;return Je=Pe.error("Container required for toolbar",Ke.options),ye(Ke,Je)}return Ke.container.classList.add("ql-toolbar"),Ke.controls=[],Ke.handlers={},Object.keys(Ke.options.handlers).forEach(function(Ge){Ke.addHandler(Ge,Ke.options.handlers[Ge])}),[].forEach.call(Ke.container.querySelectorAll("button, select"),function(Ge){Ke.attach(Ge)}),Ke.quill.on(ge.default.events.EDITOR_CHANGE,function(Ge,Ne){Ge===ge.default.events.SELECTION_CHANGE&&Ke.update(Ne)}),Ke.quill.on(ge.default.events.SCROLL_OPTIMIZE,function(){var Ge=Ke.quill.selection.getRange(),Ne=oe(Ge,1),Ue=Ne[0];Ke.update(Ue)}),Ke}return de(Me,[{key:"addHandler",value:function(We,Ke){this.handlers[We]=Ke}},{key:"attach",value:function(We){var Ke=this,Ze=[].find.call(We.classList,function(Je){return Je.indexOf("ql-")===0});if(Ze){if(Ze=Ze.slice(3),We.tagName==="BUTTON"&&We.setAttribute("type","button"),this.handlers[Ze]==null){if(this.quill.scroll.whitelist!=null&&this.quill.scroll.whitelist[Ze]==null){Pe.warn("ignoring attaching to disabled format",Ze,We);return}if(ue.default.query(Ze)==null){Pe.warn("ignoring attaching to nonexistent format",Ze,We);return}}var vt=We.tagName==="SELECT"?"change":"click";We.addEventListener(vt,function(Je){var Ge=void 0;if(We.tagName==="SELECT"){if(We.selectedIndex<0)return;var Ne=We.options[We.selectedIndex];Ne.hasAttribute("selected")?Ge=!1:Ge=Ne.value||!1}else We.classList.contains("ql-active")?Ge=!1:Ge=We.value||!We.hasAttribute("value"),Je.preventDefault();Ke.quill.focus();var Ue=Ke.quill.selection.getRange(),Ye=oe(Ue,1),tt=Ye[0];if(Ke.handlers[Ze]!=null)Ke.handlers[Ze].call(Ke,Ge);else if(ue.default.query(Ze).prototype instanceof ue.default.Embed){if(Ge=prompt("Enter "+Ze),!Ge)return;Ke.quill.updateContents(new pe.default().retain(tt.index).delete(tt.length).insert(Se({},Ze,Ge)),ge.default.sources.USER)}else Ke.quill.format(Ze,Ge,ge.default.sources.USER);Ke.update(tt)}),this.controls.push([Ze,We])}}},{key:"update",value:function(We){var Ke=We==null?{}:this.quill.getFormat(We);this.controls.forEach(function(Ze){var vt=oe(Ze,2),Je=vt[0],Ge=vt[1];if(Ge.tagName==="SELECT"){var Ne=void 0;if(We==null)Ne=null;else if(Ke[Je]==null)Ne=Ge.querySelector("option[selected]");else if(!Array.isArray(Ke[Je])){var Ue=Ke[Je];typeof Ue=="string"&&(Ue=Ue.replace(/\"/g,'\\"')),Ne=Ge.querySelector('option[value="'+Ue+'"]')}Ne==null?(Ge.value="",Ge.selectedIndex=-1):Ne.selected=!0}else if(We==null)Ge.classList.remove("ql-active");else if(Ge.hasAttribute("value")){var Ye=Ke[Je]===Ge.getAttribute("value")||Ke[Je]!=null&&Ke[Je].toString()===Ge.getAttribute("value")||Ke[Je]==null&&!Ge.getAttribute("value");Ge.classList.toggle("ql-active",Ye)}else Ge.classList.toggle("ql-active",Ke[Je]!=null)})}}]),Me}(_e.default);ze.DEFAULTS={};function Be(Le,Me,He){var We=document.createElement("button");We.setAttribute("type","button"),We.classList.add("ql-"+Me),He!=null&&(We.value=He),Le.appendChild(We)}function De(Le,Me){Array.isArray(Me[0])||(Me=[Me]),Me.forEach(function(He){var We=document.createElement("span");We.classList.add("ql-formats"),He.forEach(function(Ke){if(typeof Ke=="string")Be(We,Ke);else{var Ze=Object.keys(Ke)[0],vt=Ke[Ze];Array.isArray(vt)?Oe(We,Ze,vt):Be(We,Ze,vt)}}),Le.appendChild(We)})}function Oe(Le,Me,He){var We=document.createElement("select");We.classList.add("ql-"+Me),He.forEach(function(Ke){var Ze=document.createElement("option");Ke!==!1?Ze.setAttribute("value",Ke):Ze.setAttribute("selected","selected"),We.appendChild(Ze)}),Le.appendChild(We)}ze.DEFAULTS={container:null,handlers:{clean:function(){var Me=this,He=this.quill.getSelection();if(He!=null)if(He.length==0){var We=this.quill.getFormat();Object.keys(We).forEach(function(Ke){ue.default.query(Ke,ue.default.Scope.INLINE)!=null&&Me.quill.format(Ke,!1)})}else this.quill.removeFormat(He,ge.default.sources.USER)},direction:function(Me){var He=this.quill.getFormat().align;Me==="rtl"&&He==null?this.quill.format("align","right",ge.default.sources.USER):!Me&&He==="right"&&this.quill.format("align",!1,ge.default.sources.USER),this.quill.format("direction",Me,ge.default.sources.USER)},indent:function(Me){var He=this.quill.getSelection(),We=this.quill.getFormat(He),Ke=parseInt(We.indent||0);if(Me==="+1"||Me==="-1"){var Ze=Me==="+1"?1:-1;We.direction==="rtl"&&(Ze*=-1),this.quill.format("indent",Ke+Ze,ge.default.sources.USER)}},link:function(Me){Me===!0&&(Me=prompt("Enter link URL:")),this.quill.format("link",Me,ge.default.sources.USER)},list:function(Me){var He=this.quill.getSelection(),We=this.quill.getFormat(He);Me==="check"?We.list==="checked"||We.list==="unchecked"?this.quill.format("list",!1,ge.default.sources.USER):this.quill.format("list","unchecked",ge.default.sources.USER):this.quill.format("list",Me,ge.default.sources.USER)}}},re.default=ze,re.addControls=De},function(X,re){X.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(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function ve(be,_e){for(var we=0;we<_e.length;we++){var Se=_e[we];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(be,Se.key,Se)}}return function(be,_e,we){return _e&&ve(be.prototype,_e),we&&ve(be,we),be}}(),de=function ve(be,_e,we){be===null&&(be=Function.prototype);var Se=Object.getOwnPropertyDescriptor(be,_e);if(Se===void 0){var Ce=Object.getPrototypeOf(be);return Ce===null?void 0:ve(Ce,_e,we)}else{if("value"in Se)return Se.value;var ye=Se.get;return ye===void 0?void 0:ye.call(we)}},ce=ne(28),pe=he(ce);function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function ue(ve,be){if(!(ve instanceof be))throw new TypeError("Cannot call a class as a function")}function fe(ve,be){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:ve}function ge(ve,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);ve.prototype=Object.create(be&&be.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,be):ve.__proto__=be)}var me=function(ve){ge(be,ve);function be(_e,we){ue(this,be);var Se=fe(this,(be.__proto__||Object.getPrototypeOf(be)).call(this,_e));return Se.label.innerHTML=we,Se.container.classList.add("ql-color-picker"),[].slice.call(Se.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(Ce){Ce.classList.add("ql-primary")}),Se}return oe(be,[{key:"buildItem",value:function(we){var Se=de(be.prototype.__proto__||Object.getPrototypeOf(be.prototype),"buildItem",this).call(this,we);return Se.style.backgroundColor=we.getAttribute("value")||"",Se}},{key:"selectItem",value:function(we,Se){de(be.prototype.__proto__||Object.getPrototypeOf(be.prototype),"selectItem",this).call(this,we,Se);var Ce=this.label.querySelector(".ql-color-label"),ye=we&&we.getAttribute("data-value")||"";Ce&&(Ce.tagName==="line"?Ce.style.stroke=ye:Ce.style.fill=ye)}}]),be}(pe.default);re.default=me},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function ve(be,_e){for(var we=0;we<_e.length;we++){var Se=_e[we];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(be,Se.key,Se)}}return function(be,_e,we){return _e&&ve(be.prototype,_e),we&&ve(be,we),be}}(),de=function ve(be,_e,we){be===null&&(be=Function.prototype);var Se=Object.getOwnPropertyDescriptor(be,_e);if(Se===void 0){var Ce=Object.getPrototypeOf(be);return Ce===null?void 0:ve(Ce,_e,we)}else{if("value"in Se)return Se.value;var ye=Se.get;return ye===void 0?void 0:ye.call(we)}},ce=ne(28),pe=he(ce);function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function ue(ve,be){if(!(ve instanceof be))throw new TypeError("Cannot call a class as a function")}function fe(ve,be){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:ve}function ge(ve,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);ve.prototype=Object.create(be&&be.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,be):ve.__proto__=be)}var me=function(ve){ge(be,ve);function be(_e,we){ue(this,be);var Se=fe(this,(be.__proto__||Object.getPrototypeOf(be)).call(this,_e));return Se.container.classList.add("ql-icon-picker"),[].forEach.call(Se.container.querySelectorAll(".ql-picker-item"),function(Ce){Ce.innerHTML=we[Ce.getAttribute("data-value")||""]}),Se.defaultItem=Se.container.querySelector(".ql-selected"),Se.selectItem(Se.defaultItem),Se}return oe(be,[{key:"selectItem",value:function(we,Se){de(be.prototype.__proto__||Object.getPrototypeOf(be.prototype),"selectItem",this).call(this,we,Se),we=we||this.defaultItem,this.label.innerHTML=we.innerHTML}}]),be}(pe.default);re.default=me},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function pe(he,ue){for(var fe=0;fe<ue.length;fe++){var ge=ue[fe];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(he,ge.key,ge)}}return function(he,ue,fe){return ue&&pe(he.prototype,ue),fe&&pe(he,fe),he}}();function de(pe,he){if(!(pe instanceof he))throw new TypeError("Cannot call a class as a function")}var ce=function(){function pe(he,ue){var fe=this;de(this,pe),this.quill=he,this.boundsContainer=ue||document.body,this.root=he.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){fe.root.style.marginTop=-1*fe.quill.root.scrollTop+"px"}),this.hide()}return oe(pe,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(ue){var fe=ue.left+ue.width/2-this.root.offsetWidth/2,ge=ue.bottom+this.quill.root.scrollTop;this.root.style.left=fe+"px",this.root.style.top=ge+"px",this.root.classList.remove("ql-flip");var me=this.boundsContainer.getBoundingClientRect(),ve=this.root.getBoundingClientRect(),be=0;if(ve.right>me.right&&(be=me.right-ve.right,this.root.style.left=fe+be+"px"),ve.left<me.left&&(be=me.left-ve.left,this.root.style.left=fe+be+"px"),ve.bottom>me.bottom){var _e=ve.bottom-ve.top,we=ue.bottom-ue.top+_e;this.root.style.top=ge-we+"px",this.root.classList.add("ql-flip")}return be}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),pe}();re.default=ce},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function De(Oe,Le){var Me=[],He=!0,We=!1,Ke=void 0;try{for(var Ze=Oe[Symbol.iterator](),vt;!(He=(vt=Ze.next()).done)&&(Me.push(vt.value),!(Le&&Me.length===Le));He=!0);}catch(Je){We=!0,Ke=Je}finally{try{!He&&Ze.return&&Ze.return()}finally{if(We)throw Ke}}return Me}return function(Oe,Le){if(Array.isArray(Oe))return Oe;if(Symbol.iterator in Object(Oe))return De(Oe,Le);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),de=function De(Oe,Le,Me){Oe===null&&(Oe=Function.prototype);var He=Object.getOwnPropertyDescriptor(Oe,Le);if(He===void 0){var We=Object.getPrototypeOf(Oe);return We===null?void 0:De(We,Le,Me)}else{if("value"in He)return He.value;var Ke=He.get;return Ke===void 0?void 0:Ke.call(Me)}},ce=function(){function De(Oe,Le){for(var Me=0;Me<Le.length;Me++){var He=Le[Me];He.enumerable=He.enumerable||!1,He.configurable=!0,"value"in He&&(He.writable=!0),Object.defineProperty(Oe,He.key,He)}}return function(Oe,Le,Me){return Le&&De(Oe.prototype,Le),Me&&De(Oe,Me),Oe}}(),pe=ne(3),he=Ce(pe),ue=ne(8),fe=Ce(ue),ge=ne(44),me=Ce(ge),ve=ne(27),be=Ce(ve),_e=ne(15),we=ne(42),Se=Ce(we);function Ce(De){return De&&De.__esModule?De:{default:De}}function ye(De,Oe){if(!(De instanceof Oe))throw new TypeError("Cannot call a class as a function")}function Ae(De,Oe){if(!De)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Oe&&(typeof Oe=="object"||typeof Oe=="function")?Oe:De}function Ie(De,Oe){if(typeof Oe!="function"&&Oe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Oe);De.prototype=Object.create(Oe&&Oe.prototype,{constructor:{value:De,enumerable:!1,writable:!0,configurable:!0}}),Oe&&(Object.setPrototypeOf?Object.setPrototypeOf(De,Oe):De.__proto__=Oe)}var Pe=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],ze=function(De){Ie(Oe,De);function Oe(Le,Me){ye(this,Oe),Me.modules.toolbar!=null&&Me.modules.toolbar.container==null&&(Me.modules.toolbar.container=Pe);var He=Ae(this,(Oe.__proto__||Object.getPrototypeOf(Oe)).call(this,Le,Me));return He.quill.container.classList.add("ql-snow"),He}return ce(Oe,[{key:"extendToolbar",value:function(Me){Me.container.classList.add("ql-snow"),this.buildButtons([].slice.call(Me.container.querySelectorAll("button")),Se.default),this.buildPickers([].slice.call(Me.container.querySelectorAll("select")),Se.default),this.tooltip=new Be(this.quill,this.options.bounds),Me.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(He,We){Me.handlers.link.call(Me,!We.format.link)})}}]),Oe}(me.default);ze.DEFAULTS=(0,he.default)(!0,{},me.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(Oe){if(Oe){var Le=this.quill.getSelection();if(Le==null||Le.length==0)return;var Me=this.quill.getText(Le);/^\S+@\S+\.\S+$/.test(Me)&&Me.indexOf("mailto:")!==0&&(Me="mailto:"+Me);var He=this.quill.theme.tooltip;He.edit("link",Me)}else this.quill.format("link",!1)}}}}});var Be=function(De){Ie(Oe,De);function Oe(Le,Me){ye(this,Oe);var He=Ae(this,(Oe.__proto__||Object.getPrototypeOf(Oe)).call(this,Le,Me));return He.preview=He.root.querySelector("a.ql-preview"),He}return ce(Oe,[{key:"listen",value:function(){var Me=this;de(Oe.prototype.__proto__||Object.getPrototypeOf(Oe.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(He){Me.root.classList.contains("ql-editing")?Me.save():Me.edit("link",Me.preview.textContent),He.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(He){if(Me.linkRange!=null){var We=Me.linkRange;Me.restoreFocus(),Me.quill.formatText(We,"link",!1,fe.default.sources.USER),delete Me.linkRange}He.preventDefault(),Me.hide()}),this.quill.on(fe.default.events.SELECTION_CHANGE,function(He,We,Ke){if(He!=null){if(He.length===0&&Ke===fe.default.sources.USER){var Ze=Me.quill.scroll.descendant(be.default,He.index),vt=oe(Ze,2),Je=vt[0],Ge=vt[1];if(Je!=null){Me.linkRange=new _e.Range(He.index-Ge,Je.length());var Ne=be.default.formats(Je.domNode);Me.preview.textContent=Ne,Me.preview.setAttribute("href",Ne),Me.show(),Me.position(Me.quill.getBounds(Me.linkRange));return}}else delete Me.linkRange;Me.hide()}})}},{key:"show",value:function(){de(Oe.prototype.__proto__||Object.getPrototypeOf(Oe.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),Oe}(ge.BaseTooltip);Be.TEMPLATE=['<a class="ql-preview" 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(""),re.default=ze},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(29),de=wt(oe),ce=ne(37),pe=ne(39),he=ne(65),ue=ne(66),fe=wt(ue),ge=ne(67),me=wt(ge),ve=ne(68),be=wt(ve),_e=ne(38),we=ne(26),Se=ne(40),Ce=ne(41),ye=ne(57),Ae=wt(ye),Ie=ne(69),Pe=wt(Ie),ze=ne(27),Be=wt(ze),De=ne(70),Oe=wt(De),Le=ne(71),Me=wt(Le),He=ne(72),We=wt(He),Ke=ne(73),Ze=wt(Ke),vt=ne(74),Je=wt(vt),Ge=ne(13),Ne=wt(Ge),Ue=ne(75),Ye=wt(Ue),tt=ne(76),Xe=wt(tt),Ve=ne(58),Qe=wt(Ve),nt=ne(42),ot=wt(nt),_t=ne(28),At=wt(_t),Lt=ne(60),It=wt(Lt),Ht=ne(61),Vt=wt(Ht),cr=ne(62),ir=wt(cr),mt=ne(109),bt=wt(mt),kt=ne(63),Ct=wt(kt);function wt(Ft){return Ft&&Ft.__esModule?Ft:{default:Ft}}de.default.register({"attributors/attribute/direction":pe.DirectionAttribute,"attributors/class/align":ce.AlignClass,"attributors/class/background":_e.BackgroundClass,"attributors/class/color":we.ColorClass,"attributors/class/direction":pe.DirectionClass,"attributors/class/font":Se.FontClass,"attributors/class/size":Ce.SizeClass,"attributors/style/align":ce.AlignStyle,"attributors/style/background":_e.BackgroundStyle,"attributors/style/color":we.ColorStyle,"attributors/style/direction":pe.DirectionStyle,"attributors/style/font":Se.FontStyle,"attributors/style/size":Ce.SizeStyle},!0),de.default.register({"formats/align":ce.AlignClass,"formats/direction":pe.DirectionClass,"formats/indent":he.IndentClass,"formats/background":_e.BackgroundStyle,"formats/color":we.ColorStyle,"formats/font":Se.FontClass,"formats/size":Ce.SizeClass,"formats/blockquote":fe.default,"formats/code-block":Ne.default,"formats/header":me.default,"formats/list":be.default,"formats/bold":Ae.default,"formats/code":Ge.Code,"formats/italic":Pe.default,"formats/link":Be.default,"formats/script":Oe.default,"formats/strike":Me.default,"formats/underline":We.default,"formats/image":Ze.default,"formats/video":Je.default,"formats/list/item":ve.ListItem,"modules/formula":Ye.default,"modules/syntax":Xe.default,"modules/toolbar":Qe.default,"themes/bubble":bt.default,"themes/snow":Ct.default,"ui/icons":ot.default,"ui/picker":At.default,"ui/icon-picker":Vt.default,"ui/color-picker":It.default,"ui/tooltip":ir.default},!0),re.default=de.default},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.IndentClass=void 0;var oe=function(){function be(_e,we){for(var Se=0;Se<we.length;Se++){var Ce=we[Se];Ce.enumerable=Ce.enumerable||!1,Ce.configurable=!0,"value"in Ce&&(Ce.writable=!0),Object.defineProperty(_e,Ce.key,Ce)}}return function(_e,we,Se){return we&&be(_e.prototype,we),Se&&be(_e,Se),_e}}(),de=function be(_e,we,Se){_e===null&&(_e=Function.prototype);var Ce=Object.getOwnPropertyDescriptor(_e,we);if(Ce===void 0){var ye=Object.getPrototypeOf(_e);return ye===null?void 0:be(ye,we,Se)}else{if("value"in Ce)return Ce.value;var Ae=Ce.get;return Ae===void 0?void 0:Ae.call(Se)}},ce=ne(0),pe=he(ce);function he(be){return be&&be.__esModule?be:{default:be}}function ue(be,_e){if(!(be instanceof _e))throw new TypeError("Cannot call a class as a function")}function fe(be,_e){if(!be)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return _e&&(typeof _e=="object"||typeof _e=="function")?_e:be}function ge(be,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof _e);be.prototype=Object.create(_e&&_e.prototype,{constructor:{value:be,enumerable:!1,writable:!0,configurable:!0}}),_e&&(Object.setPrototypeOf?Object.setPrototypeOf(be,_e):be.__proto__=_e)}var me=function(be){ge(_e,be);function _e(){return ue(this,_e),fe(this,(_e.__proto__||Object.getPrototypeOf(_e)).apply(this,arguments))}return oe(_e,[{key:"add",value:function(Se,Ce){if(Ce==="+1"||Ce==="-1"){var ye=this.value(Se)||0;Ce=Ce==="+1"?ye+1:ye-1}return Ce===0?(this.remove(Se),!0):de(_e.prototype.__proto__||Object.getPrototypeOf(_e.prototype),"add",this).call(this,Se,Ce)}},{key:"canAdd",value:function(Se,Ce){return de(_e.prototype.__proto__||Object.getPrototypeOf(_e.prototype),"canAdd",this).call(this,Se,Ce)||de(_e.prototype.__proto__||Object.getPrototypeOf(_e.prototype),"canAdd",this).call(this,Se,parseInt(Ce))}},{key:"value",value:function(Se){return parseInt(de(_e.prototype.__proto__||Object.getPrototypeOf(_e.prototype),"value",this).call(this,Se))||void 0}}]),_e}(pe.default.Attributor.Class),ve=new me("indent","ql-indent",{scope:pe.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});re.IndentClass=ve},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(4),de=ce(oe);function ce(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,me){if(!(ge instanceof me))throw new TypeError("Cannot call a class as a function")}function he(ge,me){if(!ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:ge}function ue(ge,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);ge.prototype=Object.create(me&&me.prototype,{constructor:{value:ge,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(ge,me):ge.__proto__=me)}var fe=function(ge){ue(me,ge);function me(){return pe(this,me),he(this,(me.__proto__||Object.getPrototypeOf(me)).apply(this,arguments))}return me}(de.default);fe.blotName="blockquote",fe.tagName="blockquote",re.default=fe},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function me(ve,be){for(var _e=0;_e<be.length;_e++){var we=be[_e];we.enumerable=we.enumerable||!1,we.configurable=!0,"value"in we&&(we.writable=!0),Object.defineProperty(ve,we.key,we)}}return function(ve,be,_e){return be&&me(ve.prototype,be),_e&&me(ve,_e),ve}}(),de=ne(4),ce=pe(de);function pe(me){return me&&me.__esModule?me:{default:me}}function he(me,ve){if(!(me instanceof ve))throw new TypeError("Cannot call a class as a function")}function ue(me,ve){if(!me)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ve&&(typeof ve=="object"||typeof ve=="function")?ve:me}function fe(me,ve){if(typeof ve!="function"&&ve!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ve);me.prototype=Object.create(ve&&ve.prototype,{constructor:{value:me,enumerable:!1,writable:!0,configurable:!0}}),ve&&(Object.setPrototypeOf?Object.setPrototypeOf(me,ve):me.__proto__=ve)}var ge=function(me){fe(ve,me);function ve(){return he(this,ve),ue(this,(ve.__proto__||Object.getPrototypeOf(ve)).apply(this,arguments))}return oe(ve,null,[{key:"formats",value:function(_e){return this.tagName.indexOf(_e.tagName)+1}}]),ve}(ce.default);ge.blotName="header",ge.tagName=["H1","H2","H3","H4","H5","H6"],re.default=ge},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.default=re.ListItem=void 0;var oe=function(){function ye(Ae,Ie){for(var Pe=0;Pe<Ie.length;Pe++){var ze=Ie[Pe];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(Ae,ze.key,ze)}}return function(Ae,Ie,Pe){return Ie&&ye(Ae.prototype,Ie),Pe&&ye(Ae,Pe),Ae}}(),de=function ye(Ae,Ie,Pe){Ae===null&&(Ae=Function.prototype);var ze=Object.getOwnPropertyDescriptor(Ae,Ie);if(ze===void 0){var Be=Object.getPrototypeOf(Ae);return Be===null?void 0:ye(Be,Ie,Pe)}else{if("value"in ze)return ze.value;var De=ze.get;return De===void 0?void 0:De.call(Pe)}},ce=ne(0),pe=me(ce),he=ne(4),ue=me(he),fe=ne(25),ge=me(fe);function me(ye){return ye&&ye.__esModule?ye:{default:ye}}function ve(ye,Ae,Ie){return Ae in ye?Object.defineProperty(ye,Ae,{value:Ie,enumerable:!0,configurable:!0,writable:!0}):ye[Ae]=Ie,ye}function be(ye,Ae){if(!(ye instanceof Ae))throw new TypeError("Cannot call a class as a function")}function _e(ye,Ae){if(!ye)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ae&&(typeof Ae=="object"||typeof Ae=="function")?Ae:ye}function we(ye,Ae){if(typeof Ae!="function"&&Ae!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Ae);ye.prototype=Object.create(Ae&&Ae.prototype,{constructor:{value:ye,enumerable:!1,writable:!0,configurable:!0}}),Ae&&(Object.setPrototypeOf?Object.setPrototypeOf(ye,Ae):ye.__proto__=Ae)}var Se=function(ye){we(Ae,ye);function Ae(){return be(this,Ae),_e(this,(Ae.__proto__||Object.getPrototypeOf(Ae)).apply(this,arguments))}return oe(Ae,[{key:"format",value:function(Pe,ze){Pe===Ce.blotName&&!ze?this.replaceWith(pe.default.create(this.statics.scope)):de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"format",this).call(this,Pe,ze)}},{key:"remove",value:function(){this.prev==null&&this.next==null?this.parent.remove():de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(Pe,ze){return this.parent.isolate(this.offset(this.parent),this.length()),Pe===this.parent.statics.blotName?(this.parent.replaceWith(Pe,ze),this):(this.parent.unwrap(),de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"replaceWith",this).call(this,Pe,ze))}}],[{key:"formats",value:function(Pe){return Pe.tagName===this.tagName?void 0:de(Ae.__proto__||Object.getPrototypeOf(Ae),"formats",this).call(this,Pe)}}]),Ae}(ue.default);Se.blotName="list-item",Se.tagName="LI";var Ce=function(ye){we(Ae,ye),oe(Ae,null,[{key:"create",value:function(Pe){var ze=Pe==="ordered"?"OL":"UL",Be=de(Ae.__proto__||Object.getPrototypeOf(Ae),"create",this).call(this,ze);return(Pe==="checked"||Pe==="unchecked")&&Be.setAttribute("data-checked",Pe==="checked"),Be}},{key:"formats",value:function(Pe){if(Pe.tagName==="OL")return"ordered";if(Pe.tagName==="UL")return Pe.hasAttribute("data-checked")?Pe.getAttribute("data-checked")==="true"?"checked":"unchecked":"bullet"}}]);function Ae(Ie){be(this,Ae);var Pe=_e(this,(Ae.__proto__||Object.getPrototypeOf(Ae)).call(this,Ie)),ze=function(De){if(De.target.parentNode===Ie){var Oe=Pe.statics.formats(Ie),Le=pe.default.find(De.target);Oe==="checked"?Le.format("list","unchecked"):Oe==="unchecked"&&Le.format("list","checked")}};return Ie.addEventListener("touchstart",ze),Ie.addEventListener("mousedown",ze),Pe}return oe(Ae,[{key:"format",value:function(Pe,ze){this.children.length>0&&this.children.tail.format(Pe,ze)}},{key:"formats",value:function(){return ve({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(Pe,ze){if(Pe instanceof Se)de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"insertBefore",this).call(this,Pe,ze);else{var Be=ze==null?this.length():ze.offset(this),De=this.split(Be);De.parent.insertBefore(Pe,De)}}},{key:"optimize",value:function(Pe){de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"optimize",this).call(this,Pe);var ze=this.next;ze!=null&&ze.prev===this&&ze.statics.blotName===this.statics.blotName&&ze.domNode.tagName===this.domNode.tagName&&ze.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(ze.moveChildren(this),ze.remove())}},{key:"replace",value:function(Pe){if(Pe.statics.blotName!==this.statics.blotName){var ze=pe.default.create(this.statics.defaultChild);Pe.moveChildren(ze),this.appendChild(ze)}de(Ae.prototype.__proto__||Object.getPrototypeOf(Ae.prototype),"replace",this).call(this,Pe)}}]),Ae}(ge.default);Ce.blotName="list",Ce.scope=pe.default.Scope.BLOCK_BLOT,Ce.tagName=["OL","UL"],Ce.defaultChild="list-item",Ce.allowedChildren=[Se],re.ListItem=Se,re.default=Ce},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(57),de=ce(oe);function ce(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,me){if(!(ge instanceof me))throw new TypeError("Cannot call a class as a function")}function he(ge,me){if(!ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:ge}function ue(ge,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);ge.prototype=Object.create(me&&me.prototype,{constructor:{value:ge,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(ge,me):ge.__proto__=me)}var fe=function(ge){ue(me,ge);function me(){return pe(this,me),he(this,(me.__proto__||Object.getPrototypeOf(me)).apply(this,arguments))}return me}(de.default);fe.blotName="italic",fe.tagName=["EM","I"],re.default=fe},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function ve(be,_e){for(var we=0;we<_e.length;we++){var Se=_e[we];Se.enumerable=Se.enumerable||!1,Se.configurable=!0,"value"in Se&&(Se.writable=!0),Object.defineProperty(be,Se.key,Se)}}return function(be,_e,we){return _e&&ve(be.prototype,_e),we&&ve(be,we),be}}(),de=function ve(be,_e,we){be===null&&(be=Function.prototype);var Se=Object.getOwnPropertyDescriptor(be,_e);if(Se===void 0){var Ce=Object.getPrototypeOf(be);return Ce===null?void 0:ve(Ce,_e,we)}else{if("value"in Se)return Se.value;var ye=Se.get;return ye===void 0?void 0:ye.call(we)}},ce=ne(6),pe=he(ce);function he(ve){return ve&&ve.__esModule?ve:{default:ve}}function ue(ve,be){if(!(ve instanceof be))throw new TypeError("Cannot call a class as a function")}function fe(ve,be){if(!ve)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return be&&(typeof be=="object"||typeof be=="function")?be:ve}function ge(ve,be){if(typeof be!="function"&&be!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof be);ve.prototype=Object.create(be&&be.prototype,{constructor:{value:ve,enumerable:!1,writable:!0,configurable:!0}}),be&&(Object.setPrototypeOf?Object.setPrototypeOf(ve,be):ve.__proto__=be)}var me=function(ve){ge(be,ve);function be(){return ue(this,be),fe(this,(be.__proto__||Object.getPrototypeOf(be)).apply(this,arguments))}return oe(be,null,[{key:"create",value:function(we){return we==="super"?document.createElement("sup"):we==="sub"?document.createElement("sub"):de(be.__proto__||Object.getPrototypeOf(be),"create",this).call(this,we)}},{key:"formats",value:function(we){if(we.tagName==="SUB")return"sub";if(we.tagName==="SUP")return"super"}}]),be}(pe.default);me.blotName="script",me.tagName=["SUB","SUP"],re.default=me},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(6),de=ce(oe);function ce(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,me){if(!(ge instanceof me))throw new TypeError("Cannot call a class as a function")}function he(ge,me){if(!ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:ge}function ue(ge,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);ge.prototype=Object.create(me&&me.prototype,{constructor:{value:ge,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(ge,me):ge.__proto__=me)}var fe=function(ge){ue(me,ge);function me(){return pe(this,me),he(this,(me.__proto__||Object.getPrototypeOf(me)).apply(this,arguments))}return me}(de.default);fe.blotName="strike",fe.tagName="S",re.default=fe},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=ne(6),de=ce(oe);function ce(ge){return ge&&ge.__esModule?ge:{default:ge}}function pe(ge,me){if(!(ge instanceof me))throw new TypeError("Cannot call a class as a function")}function he(ge,me){if(!ge)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return me&&(typeof me=="object"||typeof me=="function")?me:ge}function ue(ge,me){if(typeof me!="function"&&me!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof me);ge.prototype=Object.create(me&&me.prototype,{constructor:{value:ge,enumerable:!1,writable:!0,configurable:!0}}),me&&(Object.setPrototypeOf?Object.setPrototypeOf(ge,me):ge.__proto__=me)}var fe=function(ge){ue(me,ge);function me(){return pe(this,me),he(this,(me.__proto__||Object.getPrototypeOf(me)).apply(this,arguments))}return me}(de.default);fe.blotName="underline",fe.tagName="U",re.default=fe},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function _e(we,Se){for(var Ce=0;Ce<Se.length;Ce++){var ye=Se[Ce];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(we,ye.key,ye)}}return function(we,Se,Ce){return Se&&_e(we.prototype,Se),Ce&&_e(we,Ce),we}}(),de=function _e(we,Se,Ce){we===null&&(we=Function.prototype);var ye=Object.getOwnPropertyDescriptor(we,Se);if(ye===void 0){var Ae=Object.getPrototypeOf(we);return Ae===null?void 0:_e(Ae,Se,Ce)}else{if("value"in ye)return ye.value;var Ie=ye.get;return Ie===void 0?void 0:Ie.call(Ce)}},ce=ne(0),pe=ue(ce),he=ne(27);function ue(_e){return _e&&_e.__esModule?_e:{default:_e}}function fe(_e,we){if(!(_e instanceof we))throw new TypeError("Cannot call a class as a function")}function ge(_e,we){if(!_e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:_e}function me(_e,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);_e.prototype=Object.create(we&&we.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(_e,we):_e.__proto__=we)}var ve=["alt","height","width"],be=function(_e){me(we,_e);function we(){return fe(this,we),ge(this,(we.__proto__||Object.getPrototypeOf(we)).apply(this,arguments))}return oe(we,[{key:"format",value:function(Ce,ye){ve.indexOf(Ce)>-1?ye?this.domNode.setAttribute(Ce,ye):this.domNode.removeAttribute(Ce):de(we.prototype.__proto__||Object.getPrototypeOf(we.prototype),"format",this).call(this,Ce,ye)}}],[{key:"create",value:function(Ce){var ye=de(we.__proto__||Object.getPrototypeOf(we),"create",this).call(this,Ce);return typeof Ce=="string"&&ye.setAttribute("src",this.sanitize(Ce)),ye}},{key:"formats",value:function(Ce){return ve.reduce(function(ye,Ae){return Ce.hasAttribute(Ae)&&(ye[Ae]=Ce.getAttribute(Ae)),ye},{})}},{key:"match",value:function(Ce){return/\.(jpe?g|gif|png)$/.test(Ce)||/^data:image\/.+;base64/.test(Ce)}},{key:"sanitize",value:function(Ce){return(0,he.sanitize)(Ce,["http","https","data"])?Ce:"//:0"}},{key:"value",value:function(Ce){return Ce.getAttribute("src")}}]),we}(pe.default.Embed);be.blotName="image",be.tagName="IMG",re.default=be},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0});var oe=function(){function _e(we,Se){for(var Ce=0;Ce<Se.length;Ce++){var ye=Se[Ce];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(we,ye.key,ye)}}return function(we,Se,Ce){return Se&&_e(we.prototype,Se),Ce&&_e(we,Ce),we}}(),de=function _e(we,Se,Ce){we===null&&(we=Function.prototype);var ye=Object.getOwnPropertyDescriptor(we,Se);if(ye===void 0){var Ae=Object.getPrototypeOf(we);return Ae===null?void 0:_e(Ae,Se,Ce)}else{if("value"in ye)return ye.value;var Ie=ye.get;return Ie===void 0?void 0:Ie.call(Ce)}},ce=ne(4),pe=ne(27),he=ue(pe);function ue(_e){return _e&&_e.__esModule?_e:{default:_e}}function fe(_e,we){if(!(_e instanceof we))throw new TypeError("Cannot call a class as a function")}function ge(_e,we){if(!_e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return we&&(typeof we=="object"||typeof we=="function")?we:_e}function me(_e,we){if(typeof we!="function"&&we!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof we);_e.prototype=Object.create(we&&we.prototype,{constructor:{value:_e,enumerable:!1,writable:!0,configurable:!0}}),we&&(Object.setPrototypeOf?Object.setPrototypeOf(_e,we):_e.__proto__=we)}var ve=["height","width"],be=function(_e){me(we,_e);function we(){return fe(this,we),ge(this,(we.__proto__||Object.getPrototypeOf(we)).apply(this,arguments))}return oe(we,[{key:"format",value:function(Ce,ye){ve.indexOf(Ce)>-1?ye?this.domNode.setAttribute(Ce,ye):this.domNode.removeAttribute(Ce):de(we.prototype.__proto__||Object.getPrototypeOf(we.prototype),"format",this).call(this,Ce,ye)}}],[{key:"create",value:function(Ce){var ye=de(we.__proto__||Object.getPrototypeOf(we),"create",this).call(this,Ce);return ye.setAttribute("frameborder","0"),ye.setAttribute("allowfullscreen",!0),ye.setAttribute("src",this.sanitize(Ce)),ye}},{key:"formats",value:function(Ce){return ve.reduce(function(ye,Ae){return Ce.hasAttribute(Ae)&&(ye[Ae]=Ce.getAttribute(Ae)),ye},{})}},{key:"sanitize",value:function(Ce){return he.default.sanitize(Ce)}},{key:"value",value:function(Ce){return Ce.getAttribute("src")}}]),we}(ce.BlockEmbed);be.blotName="video",be.className="ql-video",be.tagName="IFRAME",re.default=be},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.default=re.FormulaBlot=void 0;var oe=function(){function Ce(ye,Ae){for(var Ie=0;Ie<Ae.length;Ie++){var Pe=Ae[Ie];Pe.enumerable=Pe.enumerable||!1,Pe.configurable=!0,"value"in Pe&&(Pe.writable=!0),Object.defineProperty(ye,Pe.key,Pe)}}return function(ye,Ae,Ie){return Ae&&Ce(ye.prototype,Ae),Ie&&Ce(ye,Ie),ye}}(),de=function Ce(ye,Ae,Ie){ye===null&&(ye=Function.prototype);var Pe=Object.getOwnPropertyDescriptor(ye,Ae);if(Pe===void 0){var ze=Object.getPrototypeOf(ye);return ze===null?void 0:Ce(ze,Ae,Ie)}else{if("value"in Pe)return Pe.value;var Be=Pe.get;return Be===void 0?void 0:Be.call(Ie)}},ce=ne(36),pe=me(ce),he=ne(5),ue=me(he),fe=ne(9),ge=me(fe);function me(Ce){return Ce&&Ce.__esModule?Ce:{default:Ce}}function ve(Ce,ye){if(!(Ce instanceof ye))throw new TypeError("Cannot call a class as a function")}function be(Ce,ye){if(!Ce)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ye&&(typeof ye=="object"||typeof ye=="function")?ye:Ce}function _e(Ce,ye){if(typeof ye!="function"&&ye!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ye);Ce.prototype=Object.create(ye&&ye.prototype,{constructor:{value:Ce,enumerable:!1,writable:!0,configurable:!0}}),ye&&(Object.setPrototypeOf?Object.setPrototypeOf(Ce,ye):Ce.__proto__=ye)}var we=function(Ce){_e(ye,Ce);function ye(){return ve(this,ye),be(this,(ye.__proto__||Object.getPrototypeOf(ye)).apply(this,arguments))}return oe(ye,null,[{key:"create",value:function(Ie){var Pe=de(ye.__proto__||Object.getPrototypeOf(ye),"create",this).call(this,Ie);return typeof Ie=="string"&&(window.katex.render(Ie,Pe,{throwOnError:!1,errorColor:"#f00"}),Pe.setAttribute("data-value",Ie)),Pe}},{key:"value",value:function(Ie){return Ie.getAttribute("data-value")}}]),ye}(pe.default);we.blotName="formula",we.className="ql-formula",we.tagName="SPAN";var Se=function(Ce){_e(ye,Ce),oe(ye,null,[{key:"register",value:function(){ue.default.register(we,!0)}}]);function ye(){ve(this,ye);var Ae=be(this,(ye.__proto__||Object.getPrototypeOf(ye)).call(this));if(window.katex==null)throw new Error("Formula module requires KaTeX.");return Ae}return ye}(ge.default);re.FormulaBlot=we,re.default=Se},function(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.default=re.CodeToken=re.CodeBlock=void 0;var oe=function(){function Ie(Pe,ze){for(var Be=0;Be<ze.length;Be++){var De=ze[Be];De.enumerable=De.enumerable||!1,De.configurable=!0,"value"in De&&(De.writable=!0),Object.defineProperty(Pe,De.key,De)}}return function(Pe,ze,Be){return ze&&Ie(Pe.prototype,ze),Be&&Ie(Pe,Be),Pe}}(),de=function Ie(Pe,ze,Be){Pe===null&&(Pe=Function.prototype);var De=Object.getOwnPropertyDescriptor(Pe,ze);if(De===void 0){var Oe=Object.getPrototypeOf(Pe);return Oe===null?void 0:Ie(Oe,ze,Be)}else{if("value"in De)return De.value;var Le=De.get;return Le===void 0?void 0:Le.call(Be)}},ce=ne(0),pe=be(ce),he=ne(5),ue=be(he),fe=ne(9),ge=be(fe),me=ne(13),ve=be(me);function be(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}function _e(Ie,Pe){if(!(Ie instanceof Pe))throw new TypeError("Cannot call a class as a function")}function we(Ie,Pe){if(!Ie)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Pe&&(typeof Pe=="object"||typeof Pe=="function")?Pe:Ie}function Se(Ie,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Pe);Ie.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:Ie,enumerable:!1,writable:!0,configurable:!0}}),Pe&&(Object.setPrototypeOf?Object.setPrototypeOf(Ie,Pe):Ie.__proto__=Pe)}var Ce=function(Ie){Se(Pe,Ie);function Pe(){return _e(this,Pe),we(this,(Pe.__proto__||Object.getPrototypeOf(Pe)).apply(this,arguments))}return oe(Pe,[{key:"replaceWith",value:function(Be){this.domNode.textContent=this.domNode.textContent,this.attach(),de(Pe.prototype.__proto__||Object.getPrototypeOf(Pe.prototype),"replaceWith",this).call(this,Be)}},{key:"highlight",value:function(Be){var De=this.domNode.textContent;this.cachedText!==De&&((De.trim().length>0||this.cachedText==null)&&(this.domNode.innerHTML=Be(De),this.domNode.normalize(),this.attach()),this.cachedText=De)}}]),Pe}(ve.default);Ce.className="ql-syntax";var ye=new pe.default.Attributor.Class("token","hljs",{scope:pe.default.Scope.INLINE}),Ae=function(Ie){Se(Pe,Ie),oe(Pe,null,[{key:"register",value:function(){ue.default.register(ye,!0),ue.default.register(Ce,!0)}}]);function Pe(ze,Be){_e(this,Pe);var De=we(this,(Pe.__proto__||Object.getPrototypeOf(Pe)).call(this,ze,Be));if(typeof De.options.highlight!="function")throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var Oe=null;return De.quill.on(ue.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(Oe),Oe=setTimeout(function(){De.highlight(),Oe=null},De.options.interval)}),De.highlight(),De}return oe(Pe,[{key:"highlight",value:function(){var Be=this;if(!this.quill.selection.composing){this.quill.update(ue.default.sources.USER);var De=this.quill.getSelection();this.quill.scroll.descendants(Ce).forEach(function(Oe){Oe.highlight(Be.options.highlight)}),this.quill.update(ue.default.sources.SILENT),De!=null&&this.quill.setSelection(De,ue.default.sources.SILENT)}}}]),Pe}(ge.default);Ae.DEFAULTS={highlight:function(){return window.hljs==null?null:function(Ie){var Pe=window.hljs.highlightAuto(Ie);return Pe.value}}(),interval:1e3},re.CodeBlock=Ce,re.CodeToken=ye,re.default=Ae},function(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re){X.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(X,re,ne){Object.defineProperty(re,"__esModule",{value:!0}),re.default=re.BubbleTooltip=void 0;var oe=function Pe(ze,Be,De){ze===null&&(ze=Function.prototype);var Oe=Object.getOwnPropertyDescriptor(ze,Be);if(Oe===void 0){var Le=Object.getPrototypeOf(ze);return Le===null?void 0:Pe(Le,Be,De)}else{if("value"in Oe)return Oe.value;var Me=Oe.get;return Me===void 0?void 0:Me.call(De)}},de=function(){function Pe(ze,Be){for(var De=0;De<Be.length;De++){var Oe=Be[De];Oe.enumerable=Oe.enumerable||!1,Oe.configurable=!0,"value"in Oe&&(Oe.writable=!0),Object.defineProperty(ze,Oe.key,Oe)}}return function(ze,Be,De){return Be&&Pe(ze.prototype,Be),De&&Pe(ze,De),ze}}(),ce=ne(3),pe=_e(ce),he=ne(8),ue=_e(he),fe=ne(44),ge=_e(fe),me=ne(15),ve=ne(42),be=_e(ve);function _e(Pe){return Pe&&Pe.__esModule?Pe:{default:Pe}}function we(Pe,ze){if(!(Pe instanceof ze))throw new TypeError("Cannot call a class as a function")}function Se(Pe,ze){if(!Pe)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ze&&(typeof ze=="object"||typeof ze=="function")?ze:Pe}function Ce(Pe,ze){if(typeof ze!="function"&&ze!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof ze);Pe.prototype=Object.create(ze&&ze.prototype,{constructor:{value:Pe,enumerable:!1,writable:!0,configurable:!0}}),ze&&(Object.setPrototypeOf?Object.setPrototypeOf(Pe,ze):Pe.__proto__=ze)}var ye=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],Ae=function(Pe){Ce(ze,Pe);function ze(Be,De){we(this,ze),De.modules.toolbar!=null&&De.modules.toolbar.container==null&&(De.modules.toolbar.container=ye);var Oe=Se(this,(ze.__proto__||Object.getPrototypeOf(ze)).call(this,Be,De));return Oe.quill.container.classList.add("ql-bubble"),Oe}return de(ze,[{key:"extendToolbar",value:function(De){this.tooltip=new Ie(this.quill,this.options.bounds),this.tooltip.root.appendChild(De.container),this.buildButtons([].slice.call(De.container.querySelectorAll("button")),be.default),this.buildPickers([].slice.call(De.container.querySelectorAll("select")),be.default)}}]),ze}(ge.default);Ae.DEFAULTS=(0,pe.default)(!0,{},ge.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(ze){ze?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var Ie=function(Pe){Ce(ze,Pe);function ze(Be,De){we(this,ze);var Oe=Se(this,(ze.__proto__||Object.getPrototypeOf(ze)).call(this,Be,De));return Oe.quill.on(ue.default.events.EDITOR_CHANGE,function(Le,Me,He,We){if(Le===ue.default.events.SELECTION_CHANGE)if(Me!=null&&Me.length>0&&We===ue.default.sources.USER){Oe.show(),Oe.root.style.left="0px",Oe.root.style.width="",Oe.root.style.width=Oe.root.offsetWidth+"px";var Ke=Oe.quill.getLines(Me.index,Me.length);if(Ke.length===1)Oe.position(Oe.quill.getBounds(Me));else{var Ze=Ke[Ke.length-1],vt=Oe.quill.getIndex(Ze),Je=Math.min(Ze.length()-1,Me.index+Me.length-vt),Ge=Oe.quill.getBounds(new me.Range(vt,Je));Oe.position(Ge)}}else document.activeElement!==Oe.textbox&&Oe.quill.hasFocus()&&Oe.hide()}),Oe}return de(ze,[{key:"listen",value:function(){var De=this;oe(ze.prototype.__proto__||Object.getPrototypeOf(ze.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){De.root.classList.remove("ql-editing")}),this.quill.on(ue.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!De.root.classList.contains("ql-hidden")){var Oe=De.quill.getSelection();Oe!=null&&De.position(De.quill.getBounds(Oe))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(De){var Oe=oe(ze.prototype.__proto__||Object.getPrototypeOf(ze.prototype),"position",this).call(this,De),Le=this.root.querySelector(".ql-tooltip-arrow");if(Le.style.marginLeft="",Oe===0)return Oe;Le.style.marginLeft=-1*Oe-Le.offsetWidth/2+"px"}}]),ze}(fe.BaseTooltip);Ie.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(""),re.BubbleTooltip=Ie,re.default=Ae},function(X,re,ne){X.exports=ne(64)}]).default})})(quill);var quillExports=quill.exports;const Quill=getDefaultExportFromCjs(quillExports),styles$1=':host{height:100%}.container{width:100%;height:100%;display:flex;flex-direction:column;flex:1}.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative;color:#000;overflow-y:auto}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word;font-size:1rem}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li{list-style-type:none}.ql-editor ul>li{list-style-type:disc}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1;counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-2{counter-increment:list-2;counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-3{counter-increment:list-3;counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-4{counter-increment:list-4;counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-5{counter-increment:list-5;counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-6{counter-increment:list-6;counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-7{counter-increment:list-7;counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-8{counter-increment:list-8;counter-reset:list-9}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px);background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none;line-height:26px}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Petita"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Gran"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Enorme"}button.ql-indent{display:none!important}.ql-undo{font-size:14pt;font-weight:900;display:flex!important;align-items:center}.ql-undo:after{content:"↺";transform:rotate(-135deg)}.ql-redo{font-size:14pt;font-weight:900;display:flex!important;align-items:center}.ql-redo:after{content:"↻";transform:rotate(135deg)}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border-bottom:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}',template$2=te=>ke$1`
|
|
5864
5866
|
<div class="container">
|
|
5865
5867
|
<div id="rte">
|
|
5866
5868
|
</div>
|