PageSourceSearch

https://www.scanaenergyregulated.com/_next/static/chunks/0v2-t6p~.ugnp.js

js scanaenergyregulated.com collected 2026-10-05 20:39:10 UTC 52,142 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,117785,e=>{"use strict";var t=e.i(271645);e.s(["EVENTS",0,{PERSONALIZED_WIDGETS_LOADED:"widgetPersnalizationLoaded"},"useSfEvents",0,function(e,r=!0){let[a,i]=(0,t.useState)(null),n=(0,t.useCallback)(t=>{let r=new CustomEvent(e,{detail:t});document.dispatchEvent(r)},[e]);return(0,t.useEffect)(()=>{if(r){let t=e=>{i(e.detail)};return document.addEventListener(e,t),()=>{document.removeEventListener(e,t)}}},[r,e]),[a,n]}])},935059,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(117785);e.s(["RenderLazyForSSR",0,function(e){let[i]=(0,a.useSfEvents)(a.EVENTS.PERSONALIZED_WIDGETS_LOADED,!0),[n,o]=(0,r.useState)(null);return(0,r.useEffect)(()=>{if(i&&i[e.id]&&i[e.id].ssr){let t=document.createElement("div");t.innerHTML=i[e.id].data;let r=[];t.childNodes.forEach(e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.tagName.toLowerCase(),a=function(e){let t={};for(let r of e){let e=r.name,a=r.value;switch(e){case"class":e="className";break;case"novalidate":e="noValidate";break;case"for":e="htmlFor";break;case"style":a=function(e){let t={};return e&&e.split(";").forEach(e=>{let[r,a]=e.split(":").map(e=>e.trim());r&&a&&(r.startsWith("--")?t[r]=a:t[r.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())]=a)}),t}(r.value)}t[e]=a}return t}(e.attributes);r.push({tag:t,innterHtml:e.innerHTML,attributes:a})}}),o(r)}},[i]),i&&i[e.id]&&i[e.id].ssr&&n?.length&&(0,t.jsx)(t.Fragment,{children:n.map((t,a)=>r.default.createElement(t.tag,{dangerouslySetInnerHTML:{__html:t.innterHtml},key:`lazy-${e.id}-${a}`,...t.attributes}))})}])},68093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.contentPropertyDefaultValue=r.formatValue=r.getBasicType=void 0,r.getBasicType=function(e){if("string"===e||"number"===e||"boolean"===e)return"boolean"===e&&(e="bool"),e},r.formatValue=function(e,t=!1){return"boolean"==typeof e?e?"True":"False":t||"number"!=typeof e?"object"==typeof e&&null!==e?JSON.stringify(e):e:e.toString()},r.contentPropertyDefaultValue=function(e){return e?.includes(",")?{ItemIdsOrdered:null,Content:[]}:{ItemIdsOrdered:null,Content:[{Type:e,Variations:null}]}}},57770,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.keys=void 0,r.keys={metadata:"model-metadata",categoryName:"CategoryName",sectionName:"SectionName",position:"Position",properties:"Properties",typeChildProperties:"TypeChildProperties",maxLength:"MaxLength",title:"Title",description:"Description",defaultValue:"DefaultValue",type:"Type",dataModel:"DataModel",content:"Content",conditionalVisibility:"ConditionalVisibility",colorPaletteColors:"ColorPaletteColors",choices:"Choices",choice:"Choice",cssClasses:"CssFieldMappings",lengthDependsOn:"LengthDependsOn",emptyValues:"EmptyValues",name:"Name",caption:"Caption",placeholder:"Placeholder",validations:"Validations",tableView:"TableView",mediaItem:"MediaItem",dateSettings:"DateSettings",displaySettings:"DisplaySettings",dialog:"Dialog",group:"Group",contentContainer:"ContentContainer",fieldMappings:"FieldMappings",suffix:"Suffix",dynamicLinksContainer:"DynamicLinksContainer",copy:"Copy",mirror:"Mirror",isNullable:"IsNullable",sectionsOrder:"__SectionsOrder",capitalizeModelProperties:"__capitalizeProperties",subType:"__subType",modelType:"__type",browsable:"__browsable",dateTimeMode:"DateTimeMode",rangeLimitation:"RangeLimitation"}},625696,(e,t,r)=>{"use strict";var a,i,n,o,l;Object.defineProperty(r,"__esModule",{value:!0}),r.BasicValueTypes=r.ComplexType=r.KnownFieldTypes=void 0,(o=a||(r.KnownFieldTypes=a={})).Html="html",o.TextArea="textArea",o.RadioChoice="radioChoices",o.Choices="choices",o.ChipChoice="chipchoice",o.CheckBox="choiceYesNo",o.ChoiceList="choiceList",o.MultipleChoiceChip="multipleChoiceChip",o.ChoiceMultiple="choiceMultiple",o.Color="color",o.Password="password",o.Range="range",o.RangeLimitation="rangeLimitation",o.Attributes="attributes",o.FileTypes="fileTypes",o.PencilButton="pencilButton",o.Complex="complex",o.LinkInsert="linkInsert",o.LinkSelector="linkSelector",o.DateTime="datetime",o.DropdownWithText="dropdownWithText",(l=i||(r.ComplexType=i={})).Complex="complex",l.Enumerable="enumerable",l.Dictionary="dictionary",(n||(r.BasicValueTypes=n={})).StringArray="System.String[]"},562555,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),r.EntityMetadataGenerator=void 0;let a=e.r(68093),i=e.r(57770),n=e.r(625696);class o{static extractMetadata(e){if(null==e)return;let t=this.mergePrototypes(e);if(!t)throw Error(`The provided entity class does not have registered ${i.keys.metadata}`);return this.buildMetadata(t)}static extractDefaultValues(e){let t=[];if(!(t=Array.isArray(e.PropertyMetadataFlat)?e.PropertyMetadataFlat:this.extractPropertiesMetadataFromHierarchy(e)))throw Error(`Missing PropertyMetadata or PropertyMetadataFlat metadata for type ${e.Name}`);let r=Object.fromEntries(t.map(e=>[e.Name,e.DefaultValue]));return t.forEach(e=>{let t=this.extractPropertyDefaultValue(e);null!=t&&(r[e.Name]=t)}),r}static parseValues(e,t){let r=[];if(!(r=Array.isArray(t.PropertyMetadataFlat)?t.PropertyMetadataFlat:this.extractPropertiesMetadataFromHierarchy(t)))throw Error(`Missing PropertyMetadata or PropertyMetadataFlat metadata for type ${t.Name}`);return this.deserializeProperties(e,r)}static extractPropertyDefaultValue(e){if(void 0!==e.DefaultValue){if("bool"===e.Type||"boolean"===e.Type||e.Type===n.KnownFieldTypes.CheckBox)return this.parseBooleanValue(e.DefaultValue);else if("date-time"===e.Type||"datetime"===e.Type){if(!isNaN(Date.parse(e.DefaultValue)))return new Date(e.DefaultValue)}else if(e.Type===n.ComplexType.Complex||e.Type===n.ComplexType.Enumerable||e.Type===n.ComplexType.Dictionary||e.Type===n.KnownFieldTypes.PencilButton){let t;try{t=JSON.parse(e.DefaultValue)}catch{}return null==t&&(e.Type===n.ComplexType.Complex||e.Type===n.KnownFieldTypes.PencilButton)&&(t=this.getDefaultValuesForComplexType(e)),t}else if(e.Type===n.KnownFieldTypes.ChoiceList||e.Type===n.KnownFieldTypes.ChoiceMultiple||e.Type===n.KnownFieldTypes.Choices||e.Type===n.KnownFieldTypes.ChipChoice||e.Type===n.KnownFieldTypes.RadioChoice||e.Type===n.KnownFieldTypes.MultipleChoiceChip||"multipleChoices"===e.Type)if(this.isMultipleChoice(e))return this.parseMultipleChoicesValue(e.DefaultValue);else return this.parseChoiceBooleanValue(e.DefaultValue);else if(e.DefaultValue===n.BasicValueTypes.StringArray)return[];else if("number"===e.Type){if(null!=e.DefaultValue)if(null!=e.Properties.Validations_DecimalPlaces)return parseFloat(e.DefaultValue);else return parseInt(e.DefaultValue,10);return e.DefaultValue}else if("string"==typeof e.DefaultValue){let t=e.DefaultValue;try{t=JSON.parse(e.DefaultValue)}catch{}return t}else if(e.TypeChildProperties?.length)return this.getDefaultValuesForComplexType(e)}if("content"===e.Type&&null==e.DefaultValue)return(0,a.contentPropertyDefaultValue)(e.Properties.Meta_Content_Type)}static parsePropertyValue(e,t){let r=t[i.keys.type],a=e;switch(r){case"number":null!=a&&(a=null!=t.Properties.Validations_DecimalPlaces?parseFloat(a):parseInt(a,10));break;case"bool":case"boolean":case n.KnownFieldTypes.CheckBox:a=this.parseBooleanValue(a);break;case"date-time":case"datetime":isNaN(Date.parse(a))||(a=new Date(a));break;case n.ComplexType.Complex:case n.ComplexType.Dictionary:case n.ComplexType.Enumerable:case n.KnownFieldTypes.PencilButton:"string"==typeof a&&(a=JSON.parse(a)),t.TypeChildProperties?.length>0&&(a=this.deserializeProperties(a,t.TypeChildProperties));break;case n.KnownFieldTypes.ChoiceList:case n.KnownFieldTypes.ChoiceMultiple:case n.KnownFieldTypes.Choices:case n.KnownFieldTypes.ChipChoice:case n.KnownFieldTypes.RadioChoice:case n.KnownFieldTypes.MultipleChoiceChip:case"multipleChoices":a=this.isMultipleChoice(t)?this.parseMultipleChoicesValue(a):this.parseChoiceBooleanValue(a);break;case"content":{let e=a;"string"==typeof a&&(e=JSON.parse(a));let r=t.Properties.Meta_Content_Type;if(e?.Content?.length&&!e.Content[0].Type&&(e.Content[0].Type=r),e?.ManualSelectionItems?.length&&t.Properties.Meta_Content_ManualSelection)try{let r=JSON.parse(t.Properties.Meta_Content_ManualSelection),a=r?.FieldsMetadata;if(a?.PropertyMetadataFlat){let t=a.PropertyMetadataFlat;e.ManualSelectionItems.map(e=>{let r={};for(let a in e.Item)Object.prototype.hasOwnProperty.call(e.Item,a)&&t.find(e=>e.Name===a)&&(r[a]=e.Item[a]&&"string"!=typeof e.Item[a]?JSON.stringify(e.Item[a]):e.Item[a]);e.Item=o.deserializeProperties(r,t)})}}catch{}a=e}break;default:if("string"==typeof a)try{a=JSON.parse(a)}catch{}}return a}static getDefaultValuesForComplexType(e){if(!e.TypeChildProperties.length)return null;let t={},r=!1;
1return(e.TypeChildProperties.forEach(e=>{let a=this.extractPropertyDefaultValue(e);void 0!==a&&(t[e.Name]=a,r=!0)}),r)?t:e.DefaultValue||null}static deserializeProperties(e,t){let r=Array.isArray(e)?e:[e];return r.forEach(e=>{for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let a=e[r],i=t.find(e=>e.Name===r);i&&(a=this.parsePropertyValue(a,i),e[r]=a)}}),Array.isArray(e)?r:r[0]}static buildMetadata(e){let t={Name:e[i.keys.name],Caption:e[i.keys.caption],PropertyMetadata:[],PropertyMetadataFlat:[]},r=e[i.keys.sectionsOrder];r&&(r=JSON.parse(JSON.stringify(r)));let a=Object.keys(e).filter(e=>e!==i.keys.name&&e!==i.keys.caption&&e!==i.keys.sectionsOrder),n=[];a.forEach(t=>{let r=e[t];if("object"==typeof r){let e=this.compileProperty(r,!0);e&&n.push(e)}});let o=this.generateCategory("Basic"),l=this.generateCategory("Advanced"),s=this.generateCategory("QuickEdit"),c={},u=[];return n.forEach(e=>{let t=e[i.keys.sectionName],r=e[i.keys.categoryName]||"Basic";this.createSectionIfNotExists(r,t,u,c),"QuickEdit"===r&&this.createSectionIfNotExists("Basic",t,u,c)}),r&&(u=u.sort((e,t)=>r.indexOf(e.Name)-r.indexOf(t.Name))),u.forEach(e=>{"Advanced"===e.CategoryName?"AdvancedMain"===e.Name?l.Sections.splice(0,0,e):l.Sections.push(e):"QuickEdit"===e.CategoryName?"Main"===e.Name?s.Sections.splice(0,0,e):s.Sections.push(e):"Main"===e.Name?o.Sections.splice(0,0,e):o.Sections.push(e)}),n.forEach(e=>{let t,r=e[i.keys.categoryName]||"Basic",a=e[i.keys.sectionName];"Advanced"===r?t=l:"QuickEdit"===r?(t=s,this.addPropertyToSection(o,a,e)):t=o,this.addPropertyToSection(t,a,e)}),this.pushIfHasSections(o,t.PropertyMetadata),this.pushIfHasSections(l,t.PropertyMetadata),this.pushIfHasSections(s,t.PropertyMetadata),t.PropertyMetadataFlat=JSON.parse(JSON.stringify(n)),t}static createSectionIfNotExists(e,t,r,a){let i=a[e];if(i||(a[e]=i=[]),!i.includes(t)){i.push(t);let a=this.generateSection(t,e);r.push(a)}}static addPropertyToSection(e,t,r){let a=e.Sections.find(e=>e.Name===t||"Main"===t&&"Advanced"===e.CategoryName&&"AdvancedMain"===e.Name);if(!a)throw Error(`Section ${t} was not found on ${e.Name}`);a.Properties.push(r)}static pushIfHasSections(e,t){e.Sections.length>0&&(e.Sections=e.Sections.map(e=>(e.Properties=e.Properties.sort((e,t)=>e.Position-t.Position),e.Properties.forEach(e=>{e.TypeChildProperties.length>0&&(e.TypeChildProperties=this.sortPropertiesByPosition(e.TypeChildProperties))}),e)),t.push(e))}static compileProperty(e,t=!1,r=!1){let o={[i.keys.categoryName]:null,[i.keys.defaultValue]:null,[i.keys.name]:void 0,[i.keys.position]:0,[i.keys.sectionName]:null,[i.keys.title]:void 0,[i.keys.type]:void 0,[i.keys.typeChildProperties]:[],[i.keys.properties]:{}};this.modifyPropertyMeta(e);let l=Object.keys(e);if(l.includes(i.keys.browsable))return null;if(l.forEach(t=>{let r=e[t];if(null!=r&&"object"==typeof r&&t!==i.keys.dataModel)o[i.keys.properties]=Object.assign(o[i.keys.properties],this.compileSpecialProperties(t,r));else if(null!=r&&"object"==typeof r&&t===i.keys.dataModel){let e=r?.value||r;o[i.keys.typeChildProperties]=o.TypeChildProperties.concat(this.unpackDataModel(e));let t=o[i.keys.type];null==t?o[i.keys.type]=e[i.keys.modelType]||n.ComplexType.Complex:"not-supported"===t?o[i.keys.type]=null:void 0!==e[i.keys.modelType]&&"string"===t&&(o[i.keys.type]=e[i.keys.modelType])}else{if(t===i.keys.defaultValue){let t=e[i.keys.type];if(void 0===t){let e=(0,a.getBasicType)(typeof r);e&&(o[i.keys.type]||=e)}else if("not-supported"===t)o[i.keys.type]=null;else if(t===n.KnownFieldTypes.DateTime){if(isNaN(new Date(e[i.keys.defaultValue]).valueOf())){e[i.keys.defaultValue]=null;return}}else if(t===n.KnownFieldTypes.Choices&&null!=r){let a=e[i.keys.choices];if(a){let o=[];try{o=JSON.parse(a?.Choices)}catch(e){}if(t===n.KnownFieldTypes.Choices&&o.length&&!o.find(e=>e.Value===r)){e[i.keys.defaultValue]=null;return}}}}o[t]=(0,a.formatValue)(r)}}),r){let e=o[i.keys.name]===o[i.keys.title];o[i.keys.name]=this.capitalize(o[i.keys.name]),e&&(o[i.keys.title]=this.capitalize(o[i.keys.title]))}return t&&this.assignIfEmpty(o,i.keys.sectionName,"Advanced"===o[i.keys.categoryName]?"AdvancedMain":"Main"),void 0===o[i.keys.type]&&(o[i.keys.type]="string"),o}static sortPropertiesByPosition(e){return e.sort((e,t)=>
1null==e.Position&&null==e.Position?0:0===e.Position&&t.Position>0?1:e.Position>0&&0===t.Position?-1:e.Position-t.Position)}static unpackDataModel(e){let t=[],r=!0===e[i.keys.capitalizeModelProperties];return Object.keys(e).forEach(a=>{let n=e[a];if(a.startsWith("__"))return;let o=this.compileProperty(n,!1,r);if(o){let e={[i.keys.categoryName]:null,[i.keys.defaultValue]:null,[i.keys.name]:null,[i.keys.position]:0,[i.keys.sectionName]:null,[i.keys.title]:null,[i.keys.typeChildProperties]:[],[i.keys.properties]:{}};e=Object.assign(e,o),t.push(e)}}),t}static assignIfEmpty(e,t,r){e[t]=e[t]||r}static modifyPropertyMeta(e){let t=e[i.keys.choices],r=e[i.keys.type];t&&((null==r||"string"===r)&&r!==n.KnownFieldTypes.ChipChoice&&r!==n.KnownFieldTypes.RadioChoice&&(e[i.keys.type]=n.KnownFieldTypes.Choices),t?.AllowMultiple&&(e[i.keys.type]="multipleChoices")),r===n.ComplexType.Dictionary?e[i.keys.lengthDependsOn]||(e[i.keys.type]="not-supported",e[i.keys.defaultValue]=null):r!==n.ComplexType.Enumerable||e[i.keys.dataModel]||("string"!==e[i.keys.subType]&&e[i.keys.subType]!==n.KnownFieldTypes.LinkSelector?e[i.keys.type]=null:e[i.keys.subType]===n.KnownFieldTypes.LinkSelector&&(e[i.keys.type]=n.KnownFieldTypes.LinkSelector,e[i.keys.dataModel]={value:{Length:{[i.keys.type]:"number",[i.keys.name]:"Length",[i.keys.defaultValue]:0}}})),void 0===e[i.keys.title]&&(e[i.keys.title]=e[i.keys.name])}static compileSpecialProperties(e,t){let r={};return Object.keys(t).forEach(n=>{r[this.skipMetaKeyword.includes(e)?`${e}_${n}`:e===i.keys.choices&&"Choices"===n||"_"===n||e===i.keys.isNullable?`Meta_${e}`:(e===i.keys.fieldMappings||e===i.keys.cssClasses)&&"ViewMetaData"===n||"ColorPaletteColors"===n?`Meta_${n}`:`Meta_${e}_${n}`]=(0,a.formatValue)(t[n])}),r}static generateCategory(e){return{Name:e,Sections:[]}}static generateSection(e,t){return{Name:e,Title:(null==t||"Basic"===t)&&"Main"===e||"Advanced"===t&&"AdvancedMain"===e||"QuickEdit"===t&&"Main"===e?null:e,Properties:[],CategoryName:t||"Basic"}}static capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}static parseBooleanValue(e){return"True"===e||"true"===e||!0===e}static parseChoiceBooleanValue(e){return"True"===e||"true"===e||!0===e||"False"!==e&&"false"!==e&&!1!==e&&e}static parseMultipleChoicesValue(e){if("string"==typeof e)try{e=JSON.parse(e)}catch{}return"string"==typeof e?e=e.split(",").map(e=>e.trim()):"object"!=typeof e||Array.isArray(e)||(e=[e]),Array.isArray(e)&&(e=e.map(e=>this.parseChoiceBooleanValue(e))),e}static isMultipleChoice(e){return"True"===e.Properties.Meta_Choices_AllowMultiple||"true"===e.Properties.Meta_Choices_AllowMultiple||!0===e.Properties.Meta_Choices_AllowMultiple}static extractPropertiesMetadataFromHierarchy(e){let t=[];return null==e.PropertyMetadata?null:(e.PropertyMetadata.forEach(e=>{e.Sections.forEach(e=>{t.push(...e.Properties)})}),t)}static skipMetaKeyword=[i.keys.validations];static mergePrototypes(e){let t=[],r=e.prototype;for(;r?.constructor?.name?.length;){let e=Object.getOwnPropertyDescriptors(r)[i.keys.metadata],a=e?.value;a&&t.push(a),r=Object.getPrototypeOf(r)}t.reverse();let a={};return t.forEach(e=>{Object.keys(e).forEach(t=>{let r=e[t];if("object"!=typeof r||Array.isArray(r))a[t]=r;else{a[t]||(a[t]={});let e=!1;a[t]&&a[t][i.keys.title]&&r[i.keys.name]===r[i.keys.title]&&(e=!0);let n=Object.keys(r),o=Object.keys(a[t]).find(e=>this.isChoiceKey(e));n.forEach(n=>{e&&n===i.keys.title||(o&&this.isChoiceKey(n)&&delete a[t][o],a[t][n]=r[n])})}})}),a}static isChoiceKey(e){return e===i.keys.choice||e===i.keys.choices}}r.EntityMetadataGenerator=o},495010,(e,t,r)=>{"use strict";var a,i;Object.defineProperty(r,"__esModule",{value:!0}),r.WidgetMetadata=r.PropertyMergeStrategy=void 0;let n=e.r(57770);(i=a||(r.PropertyMergeStrategy=a={})).Skip="skip",i.Override="override",i.Merge="merge",r.WidgetMetadata=class{static registerPrototype(e){this.register(e.prototype)}
1static registerProperty(e,t,r){e[n.keys.metadata][t]=r}static registerPrototypeProperty(e,t,r){this.registerProperty(e.prototype,t,r)}static registerPropertyMetadata(e,t,r,i,o=a.Override){this.register(e),this.registerPropertyObject(e,t);let l=e[n.keys.metadata][t][r];(void 0===l||o===a.Override)&&(e[n.keys.metadata][t][r]=i),o===a.Merge&&(e[n.keys.metadata][t][r]=Object.assign({},l,i))}static registerPrototypePropertyMetadata(e,t,r,i,n=a.Override){this.registerPropertyMetadata(e.prototype,t,r,i,n)}static register(e){Object.hasOwn(e,n.keys.metadata)||Object.defineProperty(e,n.keys.metadata,{enumerable:!0,writable:!0,value:{}})}static registerPropertyObject(e,t){e[n.keys.metadata][t]||(e[n.keys.metadata][t]={[n.keys.name]:t})}}},423403,(e,t,r)=>{"use strict";var a=e.e&&e.e.__createBinding||(Object.create?function(e,t,r,a){void 0===a&&(a=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,i)}:function(e,t,r,a){void 0===a&&(a=r),e[a]=t[r]}),i=e.e&&e.e.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||a(t,e,r)};Object.defineProperty(r,"__esModule",{value:!0}),i(e.r(562555),r),i(e.r(495010),r)},12592,e=>{"use strict";e.s(["Tracer",0,class{static startTrace(e,t){return t(void 0)}static startSpan(e,t=!1,r){return{span:void 0,ctx:void 0}}static traceWidget(e,t=!1){return this.startSpan(e.model.Name,t,e.traceContext)}static endSpan(e){return null}static withContext(e,t){return e()}static logEvent(e,t,r){}}])},872036,(e,t,r)=>{"use strict";var a;function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=Array(t);r<t;r++)a[r]=e[r];return a}let n=Object.entries,o=Object.setPrototypeOf,l=Object.isFrozen,s=Object.getPrototypeOf,c=Object.getOwnPropertyDescriptor,u=Object.freeze,p=Object.seal,d=Object.create,f="u">typeof Reflect&&Reflect,m=f.apply,y=f.construct;u||(u=function(e){return e}),p||(p=function(e){return e}),m||(m=function(e,t){for(var r=arguments.length,a=Array(r>2?r-2:0),i=2;i<r;i++)a[i-2]=arguments[i];return e.apply(t,a)}),y||(y=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];return new e(...r)});let h=L(Array.prototype.forEach),g=L(Array.prototype.lastIndexOf),T=L(Array.prototype.pop),b=L(Array.prototype.push),C=L(Array.prototype.splice),E=Array.isArray,S=L(String.prototype.toLowerCase),A=L(String.prototype.toString),k=L(String.prototype.match),_=L(String.prototype.replace),N=L(String.prototype.indexOf),O=L(String.prototype.trim),w=L(Number.prototype.toString),P=L(Boolean.prototype.toString),v="u"<typeof BigInt?null:L(BigInt.prototype.toString),M="u"<typeof Symbol?null:L(Symbol.prototype.toString),D=L(Object.prototype.hasOwnProperty),x=L(Object.prototype.toString),I=L(RegExp.prototype.test),R=(a=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return y(a,t)});function L(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,a=Array(r>1?r-1:0),i=1;i<r;i++)a[i-1]=arguments[i];return m(e,t,a)}}function F(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;if(o&&o(e,null),!E(t))return e;let a=t.length;for(;a--;){let i=t[a];if("string"==typeof i){let e=r(i);e!==i&&(l(t)||(t[a]=e),i=e)}e[i]=!0}return e}function V(e){let t=d(null);for(let a of n(e)){var r=function(e){if(Array.isArray(e))return e}(a)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,a,i,n,o=[],l=!0,s=!1;try{i=(t=t.call(e)).next,!1;for(;!(l=(r=i.call(t)).done)&&(o.push(r.value),2!==o.length);l=!0);}catch(e){s=!0,a=e}finally{try{if(!l&&null!=t.return&&(n=t.return(),Object(n)!==n))return}finally{if(s)throw a}}return o}}(a)||function(e){if(e){if("string"==typeof e)return i(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,2):void 0}}
1(a)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();let n=r[0],o=r[1];D(e,n)&&(E(o)?t[n]=function(e){for(let t=0;t<e.length;t++)D(e,t)||(e[t]=null);return e}(o):o&&"object"==typeof o&&o.constructor===Object?t[n]=V(o):t[n]=o)}return t}function j(e,t){for(;null!==e;){let r=c(e,t);if(r){if(r.get)return L(r.get);if("function"==typeof r.value)return L(r.value)}e=s(e)}return function(){return null}}let z=u(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),U=u(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=u(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),H=u(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=u(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),K=u(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),G=u(["#text"]),$=u(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Y=u(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),q=u(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
1subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),J=u(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),X=p(/{{[\w\W]*|^[\w\W]*}}/g),Q=p(/<%[\w\W]*|^[\w\W]*%>/g),Z=p(/\${[\w\W]*/g),ee=p(/^data-[\-\w.\u00B7-\uFFFF]+$/),et=p(/^aria-[\-\w]+$/),er=p(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ea=p(/^(?:\w+script|data):/i),ei=p(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),en=p(/^html$/i),eo=p(/^[a-z][.\w]*(-[.\w]+)+$/i),el=p(/<[/\w!]/g),es=p(/<[/\w]/g),ec=p(/<\/no(script|embed|frames)/i),eu=p(/\/>/i),ep=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,a="data-tt-policy-suffix";t&&t.hasAttribute(a)&&(r=t.getAttribute(a));let i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},ed=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ef=function(e,t,r,a){return D(e,t)&&E(e[t])?F(a.base?V(a.base):{},e[t],a.transform):r};t.exports=function e(){let t,r,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"<typeof window?null:window,i=t=>e(t);if(i.version="3.4.11",i.removed=[],!a||!a.document||9!==a.document.nodeType||!a.Element)return i.isSupported=!1,i;let o=a.document,l=o,s=l.currentScript;a.DocumentFragment;let c=a.HTMLTemplateElement,f=a.Node,m=a.Element,y=a.NodeFilter;void 0===a.NamedNodeMap&&(a.NamedNodeMap||a.MozNamedAttrMap),a.HTMLFormElement;let L=a.DOMParser,em=a.trustedTypes,ey=m.prototype,eh=j(ey,"cloneNode"),eg=j(ey,"remove"),eT=j(ey,"nextSibling"),eb=j(ey,"childNodes"),eC=j(ey,"parentNode"),eE=j(ey,"shadowRoot"),eS=j(ey,"attributes"),eA=f&&f.prototype?j(f.prototype,"nodeType"):null,ek=f&&f.prototype?j(f.prototype,"nodeName"):null;if("function"==typeof c){let e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let e_="",eN=!1,eO=0,ew=function(){if(eO>0)throw R('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},eP=function(e){ew(),eO++;try{return t.createHTML(e)}finally{eO--}},ev=function(e){ew(),eO++;try{return t.createScriptURL(e)}finally{eO--}}
1,eM=o,eD=eM.implementation,ex=eM.createNodeIterator,eI=eM.createDocumentFragment,eR=eM.getElementsByTagName,eL=l.importNode,eF=ed();i.isSupported="function"==typeof n&&"function"==typeof eC&&eD&&void 0!==eD.createHTMLDocument;let eV=er,ej=null,ez=F({},[...z,...U,...B,...W,...G]),eU=null,eB=F({},[...$,...Y,...q,...J]),eH=Object.seal(d(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eW=null,eK=null,eG=Object.seal(d(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),e$=!0,eY=!0,eq=!1,eJ=!0,eX=!1,eQ=!0,eZ=!1,e0=!1,e1=null,e2=null,e7=!1,e5=!1,e6=!1,e3=!1,e4=!0,e9=!1,e8="user-content-",te=!0,tt=!1,tr={},ta=null,ti=F({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),tn=null,to=F({},["audio","video","img","source","image","track"]),tl=null,ts=F({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tc="http://www.w3.org/1998/Math/MathML",tu="http://www.w3.org/2000/svg",tp="http://www.w3.org/1999/xhtml",td=tp,tf=!1,tm=null,ty=F({},[tc,tu,tp],A),th=u(["mi","mo","mn","ms","mtext"]),tg=F({},th),tT=u(["annotation-xml"]),tb=F({},tT),tC=F({},["title","style","font","a","script"]),tE=null,tS=["application/xhtml+xml","text/html"],tA=null,tk=null,t_=o.createElement("form"),tN=function(e){return e instanceof RegExp||e instanceof Function},tO=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(tk&&tk===e)return;e&&"object"==typeof e||(e={}),e=V(e),tA="application/xhtml+xml"===(tE=-1===tS.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?A:S,ej=ef(e,"ALLOWED_TAGS",ez,{transform:tA}),eU=ef(e,"ALLOWED_ATTR",eB,{transform:tA}),tm=ef(e,"ALLOWED_NAMESPACES",ty,{transform:A}),tl=ef(e,"ADD_URI_SAFE_ATTR",ts,{transform:tA,base:ts}),tn=ef(e,"ADD_DATA_URI_TAGS",to,{transform:tA,base:to}),ta=ef(e,"FORBID_CONTENTS",ti,{transform:tA}),eW=ef(e,"FORBID_TAGS",V({}),{transform:tA}),eK=ef(e,"FORBID_ATTR",V({}),{transform:tA}),tr=!!D(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?V(e.USE_PROFILES):e.USE_PROFILES),e$=!1!==e.ALLOW_ARIA_ATTR,eY=!1!==e.ALLOW_DATA_ATTR,eq=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eJ=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eX=e.SAFE_FOR_TEMPLATES||!1,eQ=!1!==e.SAFE_FOR_XML,eZ=e.WHOLE_DOCUMENT||!1,e5=e.RETURN_DOM||!1,e6=e.RETURN_DOM_FRAGMENT||!1,e3=e.RETURN_TRUSTED_TYPE||!1,e7=e.FORCE_BODY||!1,e4=!1!==e.SANITIZE_DOM,e9=e.SANITIZE_NAMED_PROPS||!1,te=!1!==e.KEEP_CONTENT,tt=e.IN_PLACE||!1,eV=!function(e){try{return I(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?er:e.ALLOWED_URI_REGEXP,td="string"==typeof e.NAMESPACE?e.NAMESPACE:tp,tg=D(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?V(e.MATHML_TEXT_INTEGRATION_POINTS):F({},th),tb=D(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?V(e.HTML_INTEGRATION_POINTS):F({},tT);let a=D(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?V(e.CUSTOM_ELEMENT_HANDLING):d(null);if(eH=d(null),D(a,"tagNameCheck")&&tN(a.tagNameCheck)&&(eH.tagNameCheck=a.tagNameCheck),D(a,"attributeNameCheck")&&tN(a.attributeNameCheck)&&(eH.attributeNameCheck=a.attributeNameCheck),D(a,"allowCustomizedBuiltInElements")&&"boolean"==typeof a.allowCustomizedBuiltInElements&&(eH.allowCustomizedBuiltInElements=a.allowCustomizedBuiltInElements),p(eH),eX&&(eY=!1),e6&&(e5=!0),tr&&(ej=F({},G),eU=d(null),!0===tr.html&&(F(ej,z),F(eU,$)),!0===tr.svg&&(F(ej,U),F(eU,Y),F(eU,J)),!0===tr.svgFilters&&(F(ej,B),F(eU,Y),F(eU,J)),!0===tr.mathMl&&(F(ej,W),F(eU,q),F(eU,J))),eG.tagCheck=null,eG.attributeCheck=null,D(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?eG.tagCheck=e.ADD_TAGS:E(e.ADD_TAGS)&&(ej===ez&&(ej=V(ej)),F(ej,e.ADD_TAGS,tA))),D(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?eG.attributeCheck=e.ADD_ATTR:E(e.ADD_ATTR)&&(eU===eB&&(eU=V(eU)),F(eU,e.ADD_ATTR,tA))),D(e,"ADD_URI_SAFE_ATTR")&&E(e.ADD_URI_SAFE_ATTR)&&F(tl,e.ADD_URI_SAFE_ATTR,tA),D(e,"FORBID_CONTENTS")&&E(e.FORBID_CONTENTS)&&(ta===ti&&(ta=V(ta)),F(ta,e.FORBID_CONTENTS,tA)),D(e,"ADD_FORBID_CONTENTS")&&E(e.ADD_FORBID_CONTENTS)&&(ta===ti&&(ta=V(ta)),F(ta,e.ADD_FORBID_CONTENTS,tA)),te&&(ej["#text"]=!0),eZ&&F(ej,["html","head","body"]),ej.table&&(F(ej,["tbody"]),delete eW.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw R('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw R('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let r=t;t=e.TRUSTED_TYPES_POLICY;try{e_=eP("")}catch(e){throw t=r,e}}else null===e.TRUSTED_TYPES_POLICY?(t=void 0,e_=""):(void 0===t&&(eN||(r=ep(em,s),eN=!0),t=r),t&&"string"==typeof e_&&(e_=eP("")));u&&u(e),tk=e},tw=F({},[...U,...B,...H]),tP=F({},[...W,...K]),tv=function(e){var t,r,a;let i=eC(e);i&&i.tagName||(i={namespaceURI:td,tagName:"template"});let n=S(e.tagName),o=S(i.tagName);return!!tm[e.namespaceURI]&&(e.namespaceURI===tu?(t=i).namespaceURI===tp?"svg"===n:t.namespaceURI===tc?"svg"===n&&("annotation-xml"===o||tg[o]):!!tw[n]:e.namespaceURI===tc?(r=i).namespaceURI===tp?"math"===n:r.namespaceURI===tu?"math"===n&&tb[o]:!!tP[n]:e.namespaceURI===tp?((a=i).namespaceURI!==tu||!!tb[o])&&(a.namespaceURI!==tc||!!tg[o])&&!tP[n]&&(tC[n]||!tw[n]):"application/xhtml+xml"===tE&&!!tm[e.namespaceURI])},tM=function(e){b(i.removed,{element:e});try{eC(e).removeChild(e)}catch(t){if(eg(e),!eC(e))throw R("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},tD=function(e){let t=eb(e);if(t){let e=[];h(t,t=>{b(e,t)}),h(e,e=>{try{eg(e)}catch(e){}})}let r=eS(e);if(r)for(let t=r.length-1;t>=0;--t){let a=r[t],i=a&&a.name;if("string"==typeof i)try{e.removeAttribute(i)}catch(e){}}},tx=function(e,t){try{b(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(e5||e6)try{tM(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tI=function(e){let t=eS(e);if(t)for(let r=t.length-1;r>=0;--r){let a=t[r],i=a&&a.name;if("string"==typeof i&&!eU[tA(i)])try{e.removeAttribute(i)}catch(e){}}},tR=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(eA?eA(e):e.nodeType)===1&&tI(e);let r=eb(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}},tL=function(e){let r=null,a=null;if(e7)e="<remove></remove>"+e;else{let t=k(e,/^[\r\n\t ]+/);a=t&&t[0]}"application/xhtml+xml"===tE&&td===tp&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let i=t?eP(e):e;if(td===tp)try{r=new L().parseFromString(i,tE)}catch(e){}if(!r||!r.documentElement){r=eD.createDocument(td,"template",null);try{r.documentElement.innerHTML=tf?e_:i}catch(e){}}let n=r.body||r.documentElement;return(e&&a&&n.insertBefore(o.createTextNode(a),n.childNodes[0]||null),td===tp)?eR.call(r,eZ?"html":"body")[0]:eZ?r.documentElement:n},tF=function(e){return ex.call(e.ownerDocument||e,e,y.SHOW_ELEMENT|y.SHOW_COMMENT|y.SHOW_TEXT|y.SHOW_PROCESSING_INSTRUCTION|y.SHOW_CDATA_SECTION,null)},tV=function(e){return e=_(e,X," "),e=_(e,Q," "),e=_(e,Z," ")},tj=function(e){var t;e.normalize();let r=ex.call(e.ownerDocument||e,e,y.SHOW_TEXT|y.SHOW_COMMENT|y.SHOW_CDATA_SECTION|y.SHOW_PROCESSING_INSTRUCTION,null),a=r.nextNode();for(;a;)a.data=tV(a.data),a=r.nextNode();let i=null==(t=e.querySelectorAll)?void 0:t.call(e,"template");i&&h(i,e=>{tU(e.content)&&tj(e.content)})},tz=function(e){let t=ek?ek(e):null;return"string"==typeof t&&"form"===tA(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==eS(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==eA(e)||e.childNodes!==eb(e))},tU=function(e){if(!eA||"object"!=typeof e||null===e)return!1;try{return 11===eA(e)}catch(e){return!1}},tB=function(e){if(!eA||"object"!=typeof e||null===e)return!1;try{return"number"==typeof eA(e)}catch(e){return!1}};function tH(e,t,r){0!==e.length&&h(e,e=>{e.call(i,t,r,tk)})}let tW=function(e,t){if(!eW[t]&&tY(t)&&(eH.tagNameCheck instanceof RegExp&&I(eH.tagNameCheck,t)||eH.tagNameCheck instanceof Function&&eH.tagNameCheck(t)))return!1;if(te&&!ta[t]){let t=eC(e),r=eb(e);if(r&&t){let a=r.length;for(let i=a-1;i>=0;--i){let a=tt?r[i]:eh(r[i],!0);t.insertBefore(a,eT(e))}}}return tM(e),!0},tK=function(e){if(tH(eF.beforeSanitizeElements,e,null),tz(e))return tM(e),!0;let t=tA(ek?ek(e):e.nodeName);if(tH(eF.uponSanitizeElement,e,{tagName:t,allowedTags:ej}),eQ&&e.hasChildNodes()&&!tB(e.firstElementChild)&&I(el,e.textContent)&&I(el,e.innerHTML)||eQ&&e.namespaceURI===tp&&"style"===t&&tB(e.firstElementChild)||7===e.nodeType||eQ&&8===e.n
1odeType&&I(es,e.data)||0)return tM(e),!0;if(eW[t]||!(eG.tagCheck instanceof Function&&eG.tagCheck(t))&&!ej[t])return tW(e,t);if((eA?eA(e):e.nodeType)===1&&!tv(e)||("noscript"===t||"noembed"===t||"noframes"===t)&&I(ec,e.innerHTML))return tM(e),!0;if(eX&&3===e.nodeType){let t=tV(e.textContent);e.textContent!==t&&(b(i.removed,{element:e.cloneNode()}),e.textContent=t)}return tH(eF.afterSanitizeElements,e,null),!1},tG=function(e,t,r){if(eK[t]||e4&&("id"===t||"name"===t)&&(r in o||r in t_))return!1;let a=eU[t]||eG.attributeCheck instanceof Function&&eG.attributeCheck(t,e);if(eY&&I(ee,t));else if(e$&&I(et,t));else if(a){if(tl[t]);else if(I(eV,_(r,ei,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===N(r,"data:")&&tn[e]);else if(eq&&!I(ea,_(r,ei,"")));else if(r)return!1}else if(!(tY(e)&&(eH.tagNameCheck instanceof RegExp&&I(eH.tagNameCheck,e)||eH.tagNameCheck instanceof Function&&eH.tagNameCheck(e))&&(eH.attributeNameCheck instanceof RegExp&&I(eH.attributeNameCheck,t)||eH.attributeNameCheck instanceof Function&&eH.attributeNameCheck(t,e))||"is"===t&&eH.allowCustomizedBuiltInElements&&(eH.tagNameCheck instanceof RegExp&&I(eH.tagNameCheck,r)||eH.tagNameCheck instanceof Function&&eH.tagNameCheck(r))))return!1;return!0},t$=F({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),tY=function(e){return!t$[S(e)]&&I(eo,e)},tq=function(e,r,a,i){if(t&&"object"==typeof em&&"function"==typeof em.getAttributeType&&!a)switch(em.getAttributeType(e,r)){case"TrustedHTML":return eP(i);case"TrustedScriptURL":return ev(i)}return i},tJ=function(e,t,r,a){try{r?e.setAttributeNS(r,t,a):e.setAttribute(t,a),tz(e)?tM(e):T(i.removed)}catch(r){tx(t,e)}},tX=function(e){tH(eF.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||tz(e))return;let r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:eU,forceKeepAttr:void 0},a=t.length,i=tA(e.nodeName);for(;a--;){let n=t[a],o=n.name,l=n.namespaceURI,s=n.value,c=tA(o),u="value"===o?s:O(s);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,tH(eF.uponSanitizeAttribute,e,r),u=r.attrValue,e9&&("id"===c||"name"===c)&&0!==N(u,e8)&&(tx(o,e),u=e8+u),eQ&&I(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)||"attributename"===c&&k(u,"href")){tx(o,e);continue}if(!r.forceKeepAttr){if(!r.keepAttr||!eJ&&I(eu,u)||(eX&&(u=tV(u)),!tG(i,c,u))){tx(o,e);continue}(u=tq(i,c,l,u))!==s&&tJ(e,o,l,u)}}tH(eF.afterSanitizeAttributes,e,null)},tQ=function(e){let t=null,r=tF(e);for(tH(eF.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)if(tH(eF.uponSanitizeShadowNode,t,null),tK(t),tX(t),tU(t.content)&&tQ(t.content),(eA?eA(t):t.nodeType)===1){let e=eE(t);tU(e)&&(tZ(e),tQ(e))}tH(eF.afterSanitizeShadowDOM,e,null)},tZ=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){tQ(e.shadow);continue}let r=e.node,a=(eA?eA(r):r.nodeType)===1,i=eb(r);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(a){let e=ek?ek(r):null;if("string"==typeof e&&"template"===tA(e)){let e=r.content;tU(e)&&t.push({node:e,shadow:null})}}if(a){let e=eE(r);tU(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return i.sanitize=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null,n=null,o=null,s=null;if((tf=!e)&&(e="<!-->"),"string"!=typeof e&&!tB(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return w(e);case"boolean":return P(e);case"bigint":return v?v(e):"0";case"symbol":return M?M(e):"Symbol()";case"undefined":default:return x(e);case"function":case"object":{if(null===e)return x(e);let t=j(e,"toString");if("function"==typeof t){let r=t(e);return"string"==typeof r?r:x(r)}return x(e)}}}(e)))throw R("dirty is not a string, aborting");if(!i.isSupported)return e;e0?(ej=e1,eU=e2):tO(r),(eF.uponSanitizeElement.length>0||eF.uponSanitizeAttribute.length>0)&&(ej=V(ej)),eF.uponSanitizeAttribute.length>0&&(eU=V(eU)),i.removed=[];let c=tt&&"string"!=typeof e&&tB(e);if(c){let t=ek?ek(e):e.nodeName;if("string"==typeof t){let e=tA(t);if(!ej[e]||eW[e])throw R("root node is forbidden and cannot be sanitized in-place")}if(tz(e))throw R("root node is clobbered and cannot be sanitized in-place");try{tZ(e)}catch(t){throw tD(e),t}}else if(tB(e))1===(n=(a=tL("<!---->")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===n.nodeName||"HTML"===n.nodeName?a=n:a.appendChild(n),tZ(n);else{if(!e5&&!eX&&!eZ&&-1===e.indexOf("<"))return t&&e3?eP(e):e;if(!(a=tL(e)))return e5?null:e3?e_:""}a&&e7&&tM(a.firstChild);let u=tF(c?e:a);try{for(;o=u.nextNode();
1)tK(o),tX(o),tU(o.content)&&tQ(o.content)}catch(t){throw c&&tD(e),t}if(c)return h(i.removed,e=>{e.element&&tR(e.element)}),eX&&tj(e),e;if(e5){if(eX&&tj(a),e6)for(s=eI.call(a.ownerDocument);a.firstChild;)s.appendChild(a.firstChild);else s=a;return(eU.shadowroot||eU.shadowrootmode)&&(s=eL.call(l,s,!0)),s}let p=eZ?a.outerHTML:a.innerHTML;return eZ&&ej["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&I(en,a.ownerDocument.doctype.name)&&(p="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+p),eX&&(p=tV(p)),t&&e3?eP(p):p},i.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tO(e),e0=!0,e1=ej,e2=eU},i.clearConfig=function(){tk=null,e0=!1,e1=null,e2=null,t=r,e_=""},i.isValidAttribute=function(e,t,r){return tk||tO({}),tG(tA(e),tA(t),r)},i.addHook=function(e,t){"function"!=typeof t||D(eF,e)&&b(eF[e],t)},i.removeHook=function(e,t){if(D(eF,e)){if(void 0!==t){let r=g(eF[e],t);return -1===r?void 0:C(eF[e],r,1)[0]}return T(eF[e])}},i.removeHooks=function(e){D(eF,e)&&(eF[e]=[])},i.removeAllHooks=function(){eF=ed()},i}()},197301,(e,t,r)=>{t.exports=window.DOMPurify||(window.DOMPurify=e.r(872036).default||e.r(872036))},510154,e=>{"use strict";var t=e.i(197301);class r{static instance;defaultConfig={ADD_TAGS:["iframe","sf-input"],ADD_ATTR:["allow","allowfullscreen","frameborder","scrolling","sfref","contenteditable","target"],ALLOW_ARIA_ATTR:!0,ALLOW_DATA_ATTR:!0,ALLOW_SELF_CLOSE_IN_ATTR:!0};static getInstance(){return r.instance||(r.instance=new r,t.default.addHook("afterSanitizeAttributes",e=>{"iframe"!==e.nodeName.toLowerCase()||e.hasAttribute("sandbox")||e.setAttribute("sandbox","allow-scripts allow-same-origin allow-presentation allow-popups allow-popups-to-escape-sandbox")})),r.instance}sanitizeHtml(e,r=null){let a=null!=r?this.parseConfig(r):{},i=Object.assign({},this.defaultConfig,a);return t.default.sanitize(e||"",i)}configure(e){this.defaultConfig=this.parseConfig(e)}parseConfig(e){return Object.fromEntries(Object.entries({ADD_ATTR:e.additionalAtributes,ADD_DATA_URI_TAGS:e.additionalDataUriTags,ADD_TAGS:e.additionalTags,ADD_URI_SAFE_ATTR:e.additionalUriSafeAttributes,ALLOW_ARIA_ATTR:e.allowAriaAttributes,ALLOW_DATA_ATTR:e.allowDataAttributes,ALLOW_UNKNOWN_PROTOCOLS:e.allowUnknownProtocols,ALLOW_SELF_CLOSE_IN_ATTR:e.allowSelfcloseInAttributes,ALLOWED_ATTR:e.allowedAttributes,ALLOWED_TAGS:e.allowedTags,ALLOWED_NAMESPACES:e.allowedNamespaces,ALLOWED_URI_REGEXP:e.allowedUriRegex,FORBID_ATTR:e.forbiddenAttributes,FORBID_CONTENTS:e.forbiddenContents,FORBID_TAGS:e.forbiddenTags}).filter(([e,t])=>null!=t))}}e.s(["SanitizerService",0,r])},867385,e=>{"use strict";var t=e.i(510154);e.s(["generateAnchorAttrsFromLink",0,(e,t="")=>{if(!e)return null;let r=e.href||"";if(0>r.indexOf("?")&&e.queryParams){let t=e.queryParams.split("&").map(e=>e.split("=").map(e=>e?encodeURIComponent(e):e)).map(e=>e.join("=")).join("&");r+=`?${t}`}0>r.indexOf("#")&&e.anchor&&(r+=`#${e.anchor}`);let a={};return a.href=r,e.target&&(a.target=e.target),e.tooltip&&(a.title=e.tooltip),e.classList?.length&&(t=`${t} ${e.classList.join(" ")}`),t.trim()&&(a.className=t),e.attributes&&(a={...a,...e.attributes}),a},"getCustomAttributes",0,(e,t)=>{if(!e||!e[t])return{};let r={};return e[t].forEach(e=>{r[e.Key]=e.Value}),r},"htmlAttributes",0,function(e,r){if(!e.requestContext.isEdit)return{};let a=e.model,i=e.metadata,n=i?.editorMetadata,o={"data-sfname":a.Name,"data-sftitle":t.SanitizerService.getInstance().sanitizeHtml(a.Caption||n?.Title||a.Name),"data-sfid":a.Id,"data-sfisorphaned":a.Orphaned?"true":"false","data-sficonname":n?.IconName,"data-sficonurl":n?.IconUrl};return o["data-sfisemptyvisualhidden"]=!1,o["data-sfisempty"]=!1,o.draggable=!0,n&&(n.EmptyIcon&&(o["data-sfemptyicon"]=n.EmptyIcon),n.EmptyIconAction&&(o["data-sfemptyiconaction"]=n.EmptyIconAction),n.EmptyIconText&&(o["data-sfemptyicontext"]=n.EmptyIconText),n.HideEmptyVisual&&(o["data-sfisemptyvisualhidden"]=n.HideEmptyVisual),n.HasQuickEditOperation&&(o["data-sfhasquickeditoperation"]=!0),n.IsEmptyEntity&&(o["data-sfisemptyentity"]=!0),o["data-sfiscontentwidget"]="Layout & Presets"!==n.Category&&"Layout"!==n.Category),r&&(o["data-sferror"]=r),o},"setHideEmptyVisual",0,function(e,t){e["data-sfisemptyvisualhidden"]=t},"setWarning",0,function(e,t){e["data-sfwarning"]=t}])},851370,206771,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(867385);function i(e){let r=(0,a.htmlAttributes)(e.context,e.error);return(0,t.jsx)("div",{...r})}e.s(["WidgetExecutionError",0,i],206771);
1class n extends r.default.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}render(){if(this.state.error){if(this.props.context.requestContext.isEdit){let e={context:this.props.context,error:this.state.error.message};return r.default.createElement(i,e)}if((this.state.error?.digest??this.state.error?.message)?.startsWith("NEXT_HTTP_ERROR_FALLBACK"))throw this.state.error;return(0,t.jsx)(t.Fragment,{})}return this.props.children}}e.s(["ErrorBoundaryCustom",0,function({children:e,context:r}){return(0,t.jsx)(n,{context:r,children:e})}],851370)},424964,685727,94174,600030,e=>{"use strict";e.s(["RenderWidgetService",()=>y],424964);var t=e.i(271645);function r(e){return JSON.parse(JSON.stringify(e))}function a(e){return{...e,...{layout:{Culture:e.layout.Culture,SiteId:e.layout.SiteId,Id:e.layout.Id,MetaInfo:e.layout.MetaInfo,UrlParameters:e.layout.UrlParameters,Fields:e.layout.Fields,Site:e.layout.Site}}}}function i(e){return r({model:e.model,requestContext:a(e.requestContext),metadata:e.metadata,traceContext:null})}e.s(["getMinimumRequestContext",0,a,"getMinimumWidgetContext",0,i],685727);var n=e.i(843476);e.s(["RenderLazyForCSR",()=>l],94174);var o=e.i(117785);function l(e){let[t]=(0,o.useSfEvents)(o.EVENTS.PERSONALIZED_WIDGETS_LOADED,!0);return t&&t[e.id]&&!t[e.id].ssr&&y.createComponent(t[e.id].data,e.requestContext)}var s=e.i(935059);async function c(e){let t=e.model.Name,r=y.widgetRegistry.widgets[t];return r&&!r.ssr?(0,n.jsx)(l,{id:e.model.Id,requestContext:e.requestContext}):(0,n.jsx)(s.RenderLazyForSSR,{id:e.model.Id,requestContext:e.requestContext})}var u=e.i(423403);function p(e,t){return t?r({designerMetadata:e?.designerMetadata,defaultValues:e?.defaultValues,editorMetadata:e?.editorMetadata,ssr:e?.ssr}):{ssr:e?.ssr}}e.s(["getMinimumMetadata",0,p],600030);var d=e.i(12592),f=e.i(851370),m=e.i(206771);class y{static widgetRegistry;static createComponent(e,n,o){d.Tracer.logEvent(`render widget start: ${e.Caption||e.Name}`);let l=y.widgetRegistry.widgets[e.Name],s={metadata:p(l,n.isEdit),model:r(e),requestContext:a(r(n)),traceContext:l?.ssr?o:null};try{if(!l)throw Error(`No widget named "${e.Name}" found in the registry`);s.model.Properties=y.parseProperties(s.model.Properties,l);let r=l.componentType;!n.isEdit&&e.Lazy&&(r=c);let a=t.default.createElement(r,{key:e.Id,...s}),o=n.isEdit||n.isPreview?i(s):{model:{Id:e.Id,Name:e.Name},requestContext:{isEdit:!1},metadata:s.metadata,traceContext:null};return t.default.createElement(f.ErrorBoundaryCustom,{key:"err"+e.Id,children:a,context:o})}catch(e){if(n.isEdit){let r={context:s,error:e.message};return t.default.createElement(m.WidgetExecutionError,r)}return null}}static parseProperties(e,t){return Object.assign({},t.defaultValues||{},t?.designerMetadata?u.EntityMetadataGenerator.parseValues(e,t.designerMetadata):{})}}},679530,e=>{"use strict";var t=e.i(424964);e.s(["RenderViewClient",0,function(e){if(!e.viewName)return null;let r=(t.RenderWidgetService.widgetRegistry.widgets[e.widgetKey]?.views||{})[e.viewName];return("object"==typeof r?r.ViewFunction:r)(e.viewProps)}])}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.