@thanhpv102/easy-email-core 4.19.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/lib/blocks/advanced/blocks/index.d.ts +16 -0
- package/lib/blocks/advanced/generateAdvancedBlock.d.ts +60 -0
- package/lib/blocks/advanced/generateAdvancedContentBlock.d.ts +6 -0
- package/lib/blocks/advanced/generateAdvancedLayoutBlock.d.ts +7 -0
- package/lib/blocks/advanced/generateAdvancedTableBlock.d.ts +21 -0
- package/lib/blocks/advanced/index.d.ts +22 -0
- package/lib/blocks/index.d.ts +2 -0
- package/lib/blocks/standard/Accordion/index.d.ts +17 -0
- package/lib/blocks/standard/AccordionElement/index.d.ts +16 -0
- package/lib/blocks/standard/AccordionText/index.d.ts +12 -0
- package/lib/blocks/standard/AccordionTitle/index.d.ts +9 -0
- package/lib/blocks/standard/Button/index.d.ts +30 -0
- package/lib/blocks/standard/Carousel/index.d.ts +26 -0
- package/lib/blocks/standard/Column/index.d.ts +13 -0
- package/lib/blocks/standard/Divider/index.d.ts +11 -0
- package/lib/blocks/standard/Group/index.d.ts +8 -0
- package/lib/blocks/standard/Hero/index.d.ts +15 -0
- package/lib/blocks/standard/Image/index.d.ts +18 -0
- package/lib/blocks/standard/Navbar/index.d.ts +27 -0
- package/lib/blocks/standard/Page/index.d.ts +29 -0
- package/lib/blocks/standard/Raw/index.d.ts +5 -0
- package/lib/blocks/standard/Section/index.d.ts +19 -0
- package/lib/blocks/standard/Social/index.d.ts +47 -0
- package/lib/blocks/standard/Spacer/index.d.ts +7 -0
- package/lib/blocks/standard/Table/index.d.ts +5 -0
- package/lib/blocks/standard/Template/index.d.ts +5 -0
- package/lib/blocks/standard/Text/index.d.ts +20 -0
- package/lib/blocks/standard/Wrapper/index.d.ts +12 -0
- package/lib/blocks/standard/index.d.ts +45 -0
- package/lib/components/Accordion.d.ts +8 -0
- package/lib/components/AccordionElement.d.ts +8 -0
- package/lib/components/AccordionText.d.ts +8 -0
- package/lib/components/AccordionTitle.d.ts +8 -0
- package/lib/components/BasicBlock.d.ts +7 -0
- package/lib/components/BlockRenderer.d.ts +5 -0
- package/lib/components/Button.d.ts +8 -0
- package/lib/components/Carousel.d.ts +8 -0
- package/lib/components/Column.d.ts +8 -0
- package/lib/components/Divider.d.ts +8 -0
- package/lib/components/Group.d.ts +8 -0
- package/lib/components/Hero.d.ts +8 -0
- package/lib/components/Image.d.ts +8 -0
- package/lib/components/MjmlBlock.d.ts +10 -0
- package/lib/components/Navbar.d.ts +8 -0
- package/lib/components/Page.d.ts +8 -0
- package/lib/components/Raw.d.ts +8 -0
- package/lib/components/Section.d.ts +8 -0
- package/lib/components/Social.d.ts +8 -0
- package/lib/components/Spacer.d.ts +8 -0
- package/lib/components/Table.d.ts +8 -0
- package/lib/components/Template.d.ts +8 -0
- package/lib/components/Text.d.ts +8 -0
- package/lib/components/Wrapper.d.ts +8 -0
- package/lib/components/index.d.ts +23 -0
- package/lib/constants.d.ts +43 -0
- package/lib/index.cjs.js +113 -0
- package/lib/index.cjs.js.map +1 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.es.js +3685 -0
- package/lib/index.es.js.map +1 -0
- package/lib/typings/index.d.ts +41 -0
- package/lib/utils/BlockManager.d.ts +16 -0
- package/lib/utils/I18nManager.d.ts +7 -0
- package/lib/utils/ImageManager.d.ts +13 -0
- package/lib/utils/JsonToMjml.d.ts +12 -0
- package/lib/utils/TemplateEngineManager.d.ts +18 -0
- package/lib/utils/ancestorOf.d.ts +1 -0
- package/lib/utils/block.d.ts +34 -0
- package/lib/utils/classnames.d.ts +1 -0
- package/lib/utils/createBlock.d.ts +2 -0
- package/lib/utils/createBlockDataByType.d.ts +2 -0
- package/lib/utils/createCustomBlock.d.ts +2 -0
- package/lib/utils/generaMjmlMetaData.d.ts +2 -0
- package/lib/utils/getAdapterAttributesString.d.ts +2 -0
- package/lib/utils/getImg.d.ts +15 -0
- package/lib/utils/getPlaceholder.d.ts +2 -0
- package/lib/utils/getPreviewClassName.d.ts +1 -0
- package/lib/utils/index.d.ts +16 -0
- package/lib/utils/isAdvancedBlock.d.ts +1 -0
- package/lib/utils/isProductionMode.d.ts +24 -0
- package/lib/utils/isValidBlockData.d.ts +2 -0
- package/lib/utils/mergeBlock.d.ts +2 -0
- package/lib/utils/parseReactBlockToBlockData.d.ts +2 -0
- package/package.json +85 -0
- package/readme.md +426 -0
package/lib/index.cjs.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"use strict";var su=Object.defineProperty,nu=Object.defineProperties;var ou=Object.getOwnPropertyDescriptors;var pt=Object.getOwnPropertySymbols;var lu=Object.prototype.hasOwnProperty,cu=Object.prototype.propertyIsEnumerable;var Se=(e,u,i)=>u in e?su(e,u,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[u]=i,V=(e,u)=>{for(var i in u||(u={}))lu.call(u,i)&&Se(e,i,u[i]);if(pt)for(var i of pt(u))cu.call(u,i)&&Se(e,i,u[i]);return e},z=(e,u)=>nu(e,ou(u));var Z=(e,u,i)=>Se(e,typeof u!="symbol"?u+"":u,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),B=require("lodash"),jt=require("react-dom/server"),_u=require("uuid");var p=(e=>(e.PAGE="page",e.SECTION="section",e.COLUMN="column",e.GROUP="group",e.TEXT="text",e.IMAGE="image",e.DIVIDER="divider",e.SPACER="spacer",e.BUTTON="button",e.WRAPPER="wrapper",e.RAW="raw",e.ACCORDION="accordion",e.ACCORDION_ELEMENT="accordion-element",e.ACCORDION_TITLE="accordion-title",e.ACCORDION_TEXT="accordion-text",e.HERO="hero",e.CAROUSEL="carousel",e.NAVBAR="navbar",e.SOCIAL="social",e.TABLE="table",e.TEMPLATE="template",e))(p||{}),k=(e=>(e.TEXT="advanced_text",e.IMAGE="advanced_image",e.DIVIDER="advanced_divider",e.SPACER="advanced_spacer",e.BUTTON="advanced_button",e.NAVBAR="advanced_navbar",e.SOCIAL="advanced_social",e.ACCORDION="advanced_accordion",e.CAROUSEL="advanced_carousel",e.TABLE="advanced_table",e.WRAPPER="advanced_wrapper",e.SECTION="advanced_section",e.COLUMN="advanced_column",e.GROUP="advanced_group",e.HERO="advanced_hero",e))(k||{});const pu="easy-email-merge-tag-container",Vt="email-block";function Mt(e){return e}class ce{static add(u){Object.keys(u).forEach(i=>{this.map[i]&&(this.overrideMap[i]=!0),this.map[i]=u[i]})}static get(u){return this.map[u]}static getOverrideMap(){return this.overrideMap}}Z(ce,"map",{}),Z(ce,"overrideMap",{});const hu={IMAGE_01:"https://easy-email-m-ryan.vercel.app/images/ffddc3db-3aae-4d73-ac9c-e1263641f7b4-03c89c34-49a4-4d45-b289-4d2261158cbe.png",IMAGE_02:"https://easy-email-m-ryan.vercel.app/images/acbae5eb-efa4-4eb6-866c-f421e740b713-ad3c92b1-9cdb-4a7b-aad3-75ad809db8a3.png",IMAGE_03:"https://easy-email-m-ryan.vercel.app/images/98520d6c-5cef-449e-bcbf-6316ccec2088-e8780361-0deb-4896-895e-e690c886cdf0.png",IMAGE_04:"https://easy-email-m-ryan.vercel.app/images/b064f705-34ba-4400-975e-9dd0cec21c30-cc9aa158-56bd-4bf1-b532-72390d25c864.png",IMAGE_59:"https://easy-email-m-ryan.vercel.app/images/8e0e07e2-3f84-4426-84c1-2add355c558b-image.png",IMAGE_09:"https://easy-email-m-ryan.vercel.app/images/be34fb18-32ad-441c-84d8-3c0e9ba9f742-ad2ea5ff-5d0b-446b-bd7d-8e2ab5afdd16.png",IMAGE_10:"https://easy-email-m-ryan.vercel.app/images/6a1e6292-469e-452a-bbae-44e4b5ff7463-05e543b6-c951-44ce-ae27-ca1282c77f52.png",IMAGE_15:"https://easy-email-m-ryan.vercel.app/images/f69f48af-5b15-40aa-91c4-81d601d1357b-083dc99d-02a6-40d9-ae28-0662bd078b5d.png",IMAGE_16:"https://easy-email-m-ryan.vercel.app/images/9cce6b16-5a98-4ddb-b1a1-6cec2cf56891-c3acb856-8ab8-4cfb-93f9-2a0747678b8b.png",IMAGE_17:"https://easy-email-m-ryan.vercel.app/images/d9795c1d-fa32-4adb-ab25-30b7cfe87936-df21314f-6f05-4550-80b3-9ab1107e8fbe.png",IMAGE_31:"https://easy-email-m-ryan.vercel.app/images/dd1584fb-cb60-42c9-80c7-5545e16130ca-226ba72b-ce9e-4948-ad0d-347381fb96c5.png"};ce.add(hu);function X(e){return ce.get(e)}function fu(e){const{data:{type:u},mode:i}=e;if(i==="production")return null;let t=null;return u===p.PAGE?t="Drop a Wrapper block here":u===p.WRAPPER||u===k.WRAPPER?t="Drop a Section block here":u===p.SECTION||u===p.GROUP||u===k.SECTION||u===k.GROUP?t="Drop a Column block here":(u===p.COLUMN||u===k.COLUMN)&&(t="Drop a content block here"),t?`
|
|
2
|
+
<mj-text color="#666">
|
|
3
|
+
<div style="text-align: center">
|
|
4
|
+
<div>
|
|
5
|
+
<svg width="300" fill="currentColor" style="max-width: 100%;" viewBox="-20 -5 80 60">
|
|
6
|
+
<g>
|
|
7
|
+
<path d="M23.713 23.475h5.907c.21 0 .38.17.38.38v.073c0 .21-.17.38-.38.38h-5.907a.38.38 0 0 1-.38-.38v-.073c0-.21.17-.38.38-.38zm.037-2.917h9.167a.417.417 0 0 1 0 .834H23.75a.417.417 0 0 1 0-.834zm0-2.5h9.167a.417.417 0 0 1 0 .834H23.75a.417.417 0 0 1 0-.834zm-.037-3.333h5.907c.21 0 .38.17.38.38v.073c0 .21-.17.38-.38.38h-5.907a.38.38 0 0 1-.38-.38v-.073c0-.21.17-.38.38-.38zm.037-2.917h9.167a.417.417 0 0 1 0 .834H23.75a.417.417 0 0 1 0-.834zm0-2.916h9.167a.417.417 0 0 1 0 .833H23.75a.417.417 0 0 1 0-.833zm-3.592 8.75a.675.675 0 0 1 .675.691v6.142c0 .374-.3.679-.675.683h-6.15a.683.683 0 0 1-.675-.683v-6.142a.675.675 0 0 1 .675-.691h6.15zM20 24.308v-5.833h-5.833v5.833H20zm.158-15.833a.675.675 0 0 1 .675.692v6.141c0 .374-.3.68-.675.684h-6.15a.683.683 0 0 1-.675-.684V9.167a.675.675 0 0 1 .675-.692h6.15zM20 15.142V9.308h-5.833v5.834H20zM37.167 0A2.809 2.809 0 0 1 40 2.833V30.5a2.809 2.809 0 0 1-2.833 2.833h-3.834v3H32.5v-3h-23A2.808 2.808 0 0 1 6.667 30.5v-23H3.583v-.833h3.084V2.833A2.808 2.808 0 0 1 9.5 0h27.667zm2 30.5V2.833a2.025 2.025 0 0 0-2-2H9.5a2.025 2.025 0 0 0-2 2V30.5a2.025 2.025 0 0 0 2 2h27.667a2.025 2.025 0 0 0 2-2zM0 27.75h.833V31H0v-3.25zm0-13h.833V18H0v-3.25zm0 22.833V34.25h.833v3.25L0 37.583zM0 21.25h.833v3.25H0v-3.25zM2.583 40l.084-.833h3.166V40h-3.25zm27.917-.833c.376.006.748-.08 1.083-.25l.417.666a2.875 2.875 0 0 1-1.5.417h-1.833v-.833H30.5zm-8.333 0h3.25V40h-3.25v-.833zm-6.584 0h3.25V40h-3.25v-.833zm-6.5 0h3.25V40h-3.25v-.833zM0 9.5c.01-.5.154-.99.417-1.417l.666.417c-.17.305-.256.65-.25 1v2H0v-2z"></path>
|
|
8
|
+
</g>
|
|
9
|
+
<text x="-16" y="50" font-size="5px">${t}</text>
|
|
10
|
+
</svg>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</mj-text>
|
|
14
|
+
`:null}var ht=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ne={exports:{}},ne={},De={exports:{}},Le={},Pe={},ft;function et(){if(ft)return Pe;ft=1;function e(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var t=new e(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t},e.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]},e.prototype.has_match=function(t){for(var a=this.__items.length-1;a>=0;a--)if(this.__items[a].match(t))return!0;return!1},e.prototype.set_indent=function(t,a){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=a||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(t){this.__items.push(t);var a=t.lastIndexOf(`
|
|
15
|
+
`);a!==-1?this.__character_count=t.length-a:this.__character_count+=t.length},e.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function u(t,a){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),a=a||"",t.indent_level>0&&(a=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=a,this.__base_string_length=a.length}u.prototype.get_indent_size=function(t,a){var n=this.__base_string_length;return a=a||0,t<0&&(n=0),n+=t*this.__indent_size,n+=a,n},u.prototype.get_indent_string=function(t,a){var n=this.__base_string;return a=a||0,t<0&&(t=0,n=""),a+=t*this.__indent_size,this.__ensure_cache(a),n+=this.__cache[a],n},u.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()},u.prototype.__add_column=function(){var t=this.__cache.length,a=0,n="";this.__indent_size&&t>=this.__indent_size&&(a=Math.floor(t/this.__indent_size),t-=a*this.__indent_size,n=new Array(a+1).join(this.__indent_string)),t&&(n+=new Array(t+1).join(" ")),this.__cache.push(n)};function i(t,a){this.__indent_cache=new u(t,a),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return i.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},i.prototype.get_line_number=function(){return this.__lines.length},i.prototype.get_indent_string=function(t,a){return this.__indent_cache.get_indent_string(t,a)},i.prototype.get_indent_size=function(t,a){return this.__indent_cache.get_indent_size(t,a)},i.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},i.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},i.prototype.get_code=function(t){this.trim(!0);var a=this.current_line.pop();a&&(a[a.length-1]===`
|
|
16
|
+
`&&(a=a.replace(/\n+$/g,"")),this.current_line.push(a)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join(`
|
|
17
|
+
`);return t!==`
|
|
18
|
+
`&&(n=n.replace(/[\n]/g,t)),n},i.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},i.prototype.set_indent=function(t,a){return t=t||0,a=a||0,this.next_line.set_indent(t,a),this.__lines.length>1?(this.current_line.set_indent(t,a),!0):(this.current_line.set_indent(),!1)},i.prototype.add_raw_token=function(t){for(var a=0;a<t.newlines;a++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},i.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},i.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},i.prototype.remove_indent=function(t){for(var a=this.__lines.length;t<a;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()},i.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},i.prototype.just_added_newline=function(){return this.current_line.is_empty()},i.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},i.prototype.ensure_empty_line_above=function(t,a){for(var n=this.__lines.length-2;n>=0;){var c=this.__lines[n];if(c.is_empty())break;if(c.item(0).indexOf(t)!==0&&c.item(-1)!==a){this.__lines.splice(n+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}n--}},Pe.Output=i,Pe}var Ie={},dt;function Gt(){if(dt)return Ie;dt=1;function e(u,i,t,a){this.type=u,this.text=i,this.comments_before=null,this.newlines=t||0,this.whitespace_before=a||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}return Ie.Token=e,Ie}var Ue={},gt;function zt(){return gt||(gt=1,(function(e){var u="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",i="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",t="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",a="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",n="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",c="(?:"+n+"|["+u+t+"])",o="(?:"+n+"|["+i+t+a+"])*";e.identifier=new RegExp(c+o,"g"),e.identifierStart=new RegExp(c),e.identifierMatch=new RegExp("(?:"+n+"|["+i+t+a+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
|
|
19
|
+
|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")})(Ue)),Ue}var je={},oe={},mt;function tt(){if(mt)return oe;mt=1;function e(t,a){this.raw_options=u(t,a),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(t,a){var n=this.raw_options[t],c=a||[];return typeof n=="object"?n!==null&&typeof n.concat=="function"&&(c=n.concat()):typeof n=="string"&&(c=n.split(/[^a-zA-Z0-9_\/\-]+/)),c},e.prototype._get_boolean=function(t,a){var n=this.raw_options[t],c=n===void 0?!!a:!!n;return c},e.prototype._get_characters=function(t,a){var n=this.raw_options[t],c=a||"";return typeof n=="string"&&(c=n.replace(/\\r/,"\r").replace(/\\n/,`
|
|
20
|
+
`).replace(/\\t/," ")),c},e.prototype._get_number=function(t,a){var n=this.raw_options[t];a=parseInt(a,10),isNaN(a)&&(a=0);var c=parseInt(n,10);return isNaN(c)&&(c=a),c},e.prototype._get_selection=function(t,a,n){var c=this._get_selection_list(t,a,n);if(c.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
21
|
+
`+a+`
|
|
22
|
+
You passed in: '`+this.raw_options[t]+"'");return c[0]},e.prototype._get_selection_list=function(t,a,n){if(!a||a.length===0)throw new Error("Selection list cannot be empty.");if(n=n||[a[0]],!this._is_valid_selection(n,a))throw new Error("Invalid Default Value!");var c=this._get_array(t,n);if(!this._is_valid_selection(c,a))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
23
|
+
`+a+`
|
|
24
|
+
You passed in: '`+this.raw_options[t]+"'");return c},e.prototype._is_valid_selection=function(t,a){return t.length&&a.length&&!t.some(function(n){return a.indexOf(n)===-1})};function u(t,a){var n={};t=i(t);var c;for(c in t)c!==a&&(n[c]=t[c]);if(a&&t[a])for(c in t[a])n[c]=t[a][c];return n}function i(t){var a={},n;for(n in t){var c=n.replace(/-/g,"_");a[c]=t[n]}return a}return oe.Options=e,oe.normalizeOpts=i,oe.mergeOpts=u,oe}var bt;function $t(){if(bt)return je;bt=1;var e=tt().Options,u=["before-newline","after-newline","preserve-newline"];function i(t){e.call(this,t,"js");var a=this.raw_options.brace_style||null;a==="expand-strict"?this.raw_options.brace_style="expand":a==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var c=0;c<n.length;c++)n[c]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=n[c];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",u),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return i.prototype=new e,je.Options=i,je}var ue={},Ve={},Dt;function ut(){if(Dt)return Ve;Dt=1;var e=RegExp.prototype.hasOwnProperty("sticky");function u(i){this.__input=i||"",this.__input_length=this.__input.length,this.__position=0}return u.prototype.restart=function(){this.__position=0},u.prototype.back=function(){this.__position>0&&(this.__position-=1)},u.prototype.hasNext=function(){return this.__position<this.__input_length},u.prototype.next=function(){var i=null;return this.hasNext()&&(i=this.__input.charAt(this.__position),this.__position+=1),i},u.prototype.peek=function(i){var t=null;return i=i||0,i+=this.__position,i>=0&&i<this.__input_length&&(t=this.__input.charAt(i)),t},u.prototype.__match=function(i,t){i.lastIndex=t;var a=i.exec(this.__input);return a&&!(e&&i.sticky)&&a.index!==t&&(a=null),a},u.prototype.test=function(i,t){return t=t||0,t+=this.__position,t>=0&&t<this.__input_length?!!this.__match(i,t):!1},u.prototype.testChar=function(i,t){var a=this.peek(t);return i.lastIndex=0,a!==null&&i.test(a)},u.prototype.match=function(i){var t=this.__match(i,this.__position);return t?this.__position+=t[0].length:t=null,t},u.prototype.read=function(i,t,a){var n="",c;return i&&(c=this.match(i),c&&(n+=c[0])),t&&(c||!i)&&(n+=this.readUntil(t,a)),n},u.prototype.readUntil=function(i,t){var a="",n=this.__position;i.lastIndex=this.__position;var c=i.exec(this.__input);return c?(n=c.index,t&&(n+=c[0].length)):n=this.__input_length,a=this.__input.substring(this.__position,n),this.__position=n,a},u.prototype.readUntilAfter=function(i){return this.readUntil(i,!0)},u.prototype.get_regexp=function(i,t){var a=null,n="g";return t&&e&&(n="y"),typeof i=="string"&&i!==""?a=new RegExp(i,n):i&&(a=new RegExp(i.source,n)),a},u.prototype.get_literal_regexp=function(i){return RegExp(i.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},u.prototype.peekUntilAfter=function(i){var t=this.__position,a=this.readUntilAfter(i);return this.__position=t,a},u.prototype.lookBack=function(i){var t=this.__position-1;return t>=i.length&&this.__input.substring(t-i.length,t).toLowerCase()===i},Ve.InputScanner=u,Ve}var Ae={},Me={},At;function du(){if(At)return Me;At=1;function e(u){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=u}return e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var u=null;return this.hasNext()&&(u=this.__tokens[this.__position],this.__position+=1),u},e.prototype.peek=function(u){var i=null;return u=u||0,u+=this.__position,u>=0&&u<this.__tokens_length&&(i=this.__tokens[u]),i},e.prototype.add=function(u){this.__parent_token&&(u.parent=this.__parent_token),this.__tokens.push(u),this.__tokens_length+=1},Me.TokenStream=e,Me}var Ge={},ze={},vt;function Oe(){if(vt)return ze;vt=1;function e(u,i){this._input=u,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,i&&(this._starting_pattern=this._input.get_regexp(i._starting_pattern,!0),this._match_pattern=this._input.get_regexp(i._match_pattern,!0),this._until_pattern=this._input.get_regexp(i._until_pattern),this._until_after=i._until_after)}return e.prototype.read=function(){var u=this._input.read(this._starting_pattern);return(!this._starting_pattern||u)&&(u+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),u},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(u){var i=this._create();return i._until_after=!0,i._until_pattern=this._input.get_regexp(u),i._update(),i},e.prototype.until=function(u){var i=this._create();return i._until_after=!1,i._until_pattern=this._input.get_regexp(u),i._update(),i},e.prototype.starting_with=function(u){var i=this._create();return i._starting_pattern=this._input.get_regexp(u,!0),i._update(),i},e.prototype.matching=function(u){var i=this._create();return i._match_pattern=this._input.get_regexp(u,!0),i._update(),i},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},ze.Pattern=e,ze}var Et;function gu(){if(Et)return Ge;Et=1;var e=Oe().Pattern;function u(i,t){e.call(this,i,t),t?this._line_regexp=this._input.get_regexp(t._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return u.prototype=new e,u.prototype.__set_whitespace_patterns=function(i,t){i+="\\t ",t+="\\n\\r",this._match_pattern=this._input.get_regexp("["+i+t+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+t+"]")},u.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var i=this._input.read(this._match_pattern);if(i===" ")this.whitespace_before_token=" ";else if(i){var t=this.__split(this._newline_regexp,i);this.newline_count=t.length-1,this.whitespace_before_token=t[this.newline_count]}return i},u.prototype.matching=function(i,t){var a=this._create();return a.__set_whitespace_patterns(i,t),a._update(),a},u.prototype._create=function(){return new u(this._input,this)},u.prototype.__split=function(i,t){i.lastIndex=0;for(var a=0,n=[],c=i.exec(t);c;)n.push(t.substring(a,c.index)),a=c.index+c[0].length,c=i.exec(t);return a<t.length?n.push(t.substring(a,t.length)):n.push(""),n},Ge.WhitespacePattern=u,Ge}var yt;function Ce(){if(yt)return Ae;yt=1;var e=ut().InputScanner,u=Gt().Token,i=du().TokenStream,t=gu().WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},n=function(c,o){this._input=new e(c),this._options=o||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new t(this._input)};return n.prototype.tokenize=function(){this._input.restart(),this.__tokens=new i,this._reset();for(var c,o=new u(a.START,""),l=null,D=[],d=new i;o.type!==a.EOF;){for(c=this._get_next_token(o,l);this._is_comment(c);)d.add(c),c=this._get_next_token(o,l);d.isEmpty()||(c.comments_before=d,d=new i),c.parent=l,this._is_opening(c)?(D.push(l),l=c):l&&this._is_closing(c,l)&&(c.opened=l,l.closed=c,l=D.pop(),c.parent=l),c.previous=o,o.next=c,this.__tokens.add(c),o=c}return this.__tokens},n.prototype._is_first_token=function(){return this.__tokens.isEmpty()},n.prototype._reset=function(){},n.prototype._get_next_token=function(c,o){this._readWhitespace();var l=this._input.read(/.+/g);return l?this._create_token(a.RAW,l):this._create_token(a.EOF,"")},n.prototype._is_comment=function(c){return!1},n.prototype._is_opening=function(c){return!1},n.prototype._is_closing=function(c,o){return!1},n.prototype._create_token=function(c,o){var l=new u(c,o,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return l},n.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Ae.Tokenizer=n,Ae.TOKEN=a,Ae}var $e={},xt;function rt(){if(xt)return $e;xt=1;function e(u,i){u=typeof u=="string"?u:u.source,i=typeof i=="string"?i:i.source,this.__directives_block_pattern=new RegExp(u+/ beautify( \w+[:]\w+)+ /.source+i,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(u+/\sbeautify\signore:end\s/.source+i,"g")}return e.prototype.get_directives=function(u){if(!u.match(this.__directives_block_pattern))return null;var i={};this.__directive_pattern.lastIndex=0;for(var t=this.__directive_pattern.exec(u);t;)i[t[1]]=t[2],t=this.__directive_pattern.exec(u);return i},e.prototype.readIgnored=function(u){return u.readUntilAfter(this.__directives_end_ignore_pattern)},$e.Directives=e,$e}var He={},Ct;function Ht(){if(Ct)return He;Ct=1;var e=Oe().Pattern,u={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function i(t,a){e.call(this,t,a),this.__template_pattern=null,this._disabled=Object.assign({},u),this._excluded=Object.assign({},u),a&&(this.__template_pattern=this._input.get_regexp(a.__template_pattern),this._excluded=Object.assign(this._excluded,a._excluded),this._disabled=Object.assign(this._disabled,a._disabled));var n=new e(t);this.__patterns={handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:n.starting_with(/{{{/).until_after(/}}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),php:n.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:n.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:n.starting_with(/{%/).until_after(/%}/),django_value:n.starting_with(/{{/).until_after(/}}/),django_comment:n.starting_with(/{#/).until_after(/#}/),smarty:n.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:n.starting_with(/{\*/).until_after(/\*}/),smarty_literal:n.starting_with(/{literal}/).until_after(/{\/literal}/)}}return i.prototype=new e,i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){this.__set_templated_pattern()},i.prototype.disable=function(t){var a=this._create();return a._disabled[t]=!0,a._update(),a},i.prototype.read_options=function(t){var a=this._create();for(var n in u)a._disabled[n]=t.templating.indexOf(n)===-1;return a._update(),a},i.prototype.exclude=function(t){var a=this._create();return a._excluded[t]=!0,a._update(),a},i.prototype.read=function(){var t="";this._match_pattern?t=this._input.read(this._starting_pattern):t=this._input.read(this._starting_pattern,this.__template_pattern);for(var a=this._read_template();a;)this._match_pattern?a+=this._input.read(this._match_pattern):a+=this._input.readUntil(this.__template_pattern),t+=a,a=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t},i.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")},i.prototype._read_template=function(){var t="",a=this._input.peek();if(a==="<"){var n=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&n==="?"&&(t=t||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&n==="%"&&(t=t||this.__patterns.erb.read())}else a==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(t=t||this.__patterns.smarty_comment.read(),t=t||this.__patterns.smarty_literal.read(),t=t||this.__patterns.smarty.read()));return t},He.TemplatablePattern=i,He}var wt;function ve(){if(wt)return ue;wt=1;var e=ut().InputScanner,u=Ce().Tokenizer,i=Ce().TOKEN,t=rt().Directives,a=zt(),n=Oe().Pattern,c=Ht().TemplatablePattern;function o(m,v){return v.indexOf(m)!==-1}var l={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:i.START,RAW:i.RAW,EOF:i.EOF},D=new t(/\/\*/,/\*\//),d=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,g=/[0-9]/,E=/[^\d\.]/,q=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),S=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";S=S.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),S="\\?\\.(?!\\d) "+S,S=S.replace(/ /g,"|");var P=new RegExp(S),_="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),s=_.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),h=new RegExp("^(?:"+s.join("|")+")$"),F,x=function(m,v){u.call(this,m,v),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var f=new n(this._input),C=new c(this._input).read_options(this._options);this.__patterns={template:C,identifier:C.starting_with(a.identifier).matching(a.identifierMatch),number:f.matching(d),punct:f.matching(P),comment:f.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:f.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:f.matching(/<!--/),html_comment_end:f.matching(/-->/),include:f.starting_with(/#include/).until_after(a.lineBreak),shebang:f.starting_with(/#!/).until_after(a.lineBreak),xml:f.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:C.until(/['\\\n\r\u2028\u2029]/),double_quote:C.until(/["\\\n\r\u2028\u2029]/),template_text:C.until(/[`\\$]/),template_expression:C.until(/[`}\\]/)}};x.prototype=new u,x.prototype._is_comment=function(m){return m.type===l.COMMENT||m.type===l.BLOCK_COMMENT||m.type===l.UNKNOWN},x.prototype._is_opening=function(m){return m.type===l.START_BLOCK||m.type===l.START_EXPR},x.prototype._is_closing=function(m,v){return(m.type===l.END_BLOCK||m.type===l.END_EXPR)&&v&&(m.text==="]"&&v.text==="["||m.text===")"&&v.text==="("||m.text==="}"&&v.text==="{")},x.prototype._reset=function(){F=!1},x.prototype._get_next_token=function(m,v){var f=null;this._readWhitespace();var C=this._input.peek();return C===null?this._create_token(l.EOF,""):(f=f||this._read_non_javascript(C),f=f||this._read_string(C),f=f||this._read_pair(C,this._input.peek(1)),f=f||this._read_word(m),f=f||this._read_singles(C),f=f||this._read_comment(C),f=f||this._read_regexp(C,m),f=f||this._read_xml(C,m),f=f||this._read_punctuation(),f=f||this._create_token(l.UNKNOWN,this._input.next()),f)},x.prototype._read_word=function(m){var v;if(v=this.__patterns.identifier.read(),v!=="")return v=v.replace(a.allLineBreaks,`
|
|
25
|
+
`),!(m.type===l.DOT||m.type===l.RESERVED&&(m.text==="set"||m.text==="get"))&&h.test(v)?(v==="in"||v==="of")&&(m.type===l.WORD||m.type===l.STRING)?this._create_token(l.OPERATOR,v):this._create_token(l.RESERVED,v):this._create_token(l.WORD,v);if(v=this.__patterns.number.read(),v!=="")return this._create_token(l.WORD,v)},x.prototype._read_singles=function(m){var v=null;return m==="("||m==="["?v=this._create_token(l.START_EXPR,m):m===")"||m==="]"?v=this._create_token(l.END_EXPR,m):m==="{"?v=this._create_token(l.START_BLOCK,m):m==="}"?v=this._create_token(l.END_BLOCK,m):m===";"?v=this._create_token(l.SEMICOLON,m):m==="."&&E.test(this._input.peek(1))?v=this._create_token(l.DOT,m):m===","&&(v=this._create_token(l.COMMA,m)),v&&this._input.next(),v},x.prototype._read_pair=function(m,v){var f=null;return m==="#"&&v==="{"&&(f=this._create_token(l.START_BLOCK,m+v)),f&&(this._input.next(),this._input.next()),f},x.prototype._read_punctuation=function(){var m=this.__patterns.punct.read();if(m!=="")return m==="="?this._create_token(l.EQUALS,m):m==="?."?this._create_token(l.DOT,m):this._create_token(l.OPERATOR,m)},x.prototype._read_non_javascript=function(m){var v="";if(m==="#"){if(this._is_first_token()&&(v=this.__patterns.shebang.read(),v))return this._create_token(l.UNKNOWN,v.trim()+`
|
|
26
|
+
`);if(v=this.__patterns.include.read(),v)return this._create_token(l.UNKNOWN,v.trim()+`
|
|
27
|
+
`);m=this._input.next();var f="#";if(this._input.hasNext()&&this._input.testChar(g)){do m=this._input.next(),f+=m;while(this._input.hasNext()&&m!=="#"&&m!=="=");return m==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(f+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(f+="{}",this._input.next(),this._input.next())),this._create_token(l.WORD,f)}this._input.back()}else if(m==="<"&&this._is_first_token()){if(v=this.__patterns.html_comment_start.read(),v){for(;this._input.hasNext()&&!this._input.testChar(a.newline);)v+=this._input.next();return F=!0,this._create_token(l.COMMENT,v)}}else if(F&&m==="-"&&(v=this.__patterns.html_comment_end.read(),v))return F=!1,this._create_token(l.COMMENT,v);return null},x.prototype._read_comment=function(m){var v=null;if(m==="/"){var f="";if(this._input.peek(1)==="*"){f=this.__patterns.block_comment.read();var C=D.get_directives(f);C&&C.ignore==="start"&&(f+=D.readIgnored(this._input)),f=f.replace(a.allLineBreaks,`
|
|
28
|
+
`),v=this._create_token(l.BLOCK_COMMENT,f),v.directives=C}else this._input.peek(1)==="/"&&(f=this.__patterns.comment.read(),v=this._create_token(l.COMMENT,f))}return v},x.prototype._read_string=function(m){if(m==="`"||m==="'"||m==='"'){var v=this._input.next();return this.has_char_escapes=!1,m==="`"?v+=this._read_string_recursive("`",!0,"${"):v+=this._read_string_recursive(m),this.has_char_escapes&&this._options.unescape_strings&&(v=O(v)),this._input.peek()===m&&(v+=this._input.next()),v=v.replace(a.allLineBreaks,`
|
|
29
|
+
`),this._create_token(l.STRING,v)}return null},x.prototype._allow_regexp_or_xml=function(m){return m.type===l.RESERVED&&o(m.text,["return","case","throw","else","do","typeof","yield"])||m.type===l.END_EXPR&&m.text===")"&&m.opened.previous.type===l.RESERVED&&o(m.opened.previous.text,["if","while","for"])||o(m.type,[l.COMMENT,l.START_EXPR,l.START_BLOCK,l.START,l.END_BLOCK,l.OPERATOR,l.EQUALS,l.EOF,l.SEMICOLON,l.COMMA])},x.prototype._read_regexp=function(m,v){if(m==="/"&&this._allow_regexp_or_xml(v)){for(var f=this._input.next(),C=!1,r=!1;this._input.hasNext()&&(C||r||this._input.peek()!==m)&&!this._input.testChar(a.newline);)f+=this._input.peek(),C?C=!1:(C=this._input.peek()==="\\",this._input.peek()==="["?r=!0:this._input.peek()==="]"&&(r=!1)),this._input.next();return this._input.peek()===m&&(f+=this._input.next(),f+=this._input.read(a.identifier)),this._create_token(l.STRING,f)}return null},x.prototype._read_xml=function(m,v){if(this._options.e4x&&m==="<"&&this._allow_regexp_or_xml(v)){var f="",C=this.__patterns.xml.read_match();if(C){for(var r=C[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),b=r.indexOf("{")===0,A=0;C;){var w=!!C[1],R=C[2],L=!!C[C.length-1]||R.slice(0,8)==="![CDATA[";if(!L&&(R===r||b&&R.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(w?--A:++A),f+=C[0],A<=0)break;C=this.__patterns.xml.read_match()}return C||(f+=this._input.match(/[\s\S]*/g)[0]),f=f.replace(a.allLineBreaks,`
|
|
30
|
+
`),this._create_token(l.STRING,f)}}return null};function O(m){for(var v="",f=0,C=new e(m),r=null;C.hasNext();)if(r=C.match(/([\s]|[^\\]|\\\\)+/g),r&&(v+=r[0]),C.peek()==="\\"){if(C.next(),C.peek()==="x")r=C.match(/x([0-9A-Fa-f]{2})/g);else if(C.peek()==="u")r=C.match(/u([0-9A-Fa-f]{4})/g),r||(r=C.match(/u\{([0-9A-Fa-f]+)\}/g));else{v+="\\",C.hasNext()&&(v+=C.next());continue}if(!r||(f=parseInt(r[1],16),f>126&&f<=255&&r[0].indexOf("x")===0))return m;f>=0&&f<32||f>1114111?v+="\\"+r[0]:f===34||f===39||f===92?v+="\\"+String.fromCharCode(f):v+=String.fromCharCode(f)}return v}return x.prototype._read_string_recursive=function(m,v,f){var C,r;m==="'"?r=this.__patterns.single_quote:m==='"'?r=this.__patterns.double_quote:m==="`"?r=this.__patterns.template_text:m==="}"&&(r=this.__patterns.template_expression);for(var b=r.read(),A="";this._input.hasNext();){if(A=this._input.next(),A===m||!v&&a.newline.test(A)){this._input.back();break}else A==="\\"&&this._input.hasNext()?(C=this._input.peek(),C==="x"||C==="u"?this.has_char_escapes=!0:C==="\r"&&this._input.peek(1)===`
|
|
31
|
+
`&&this._input.next(),A+=this._input.next()):f&&(f==="${"&&A==="$"&&this._input.peek()==="{"&&(A+=this._input.next()),f===A&&(m==="`"?A+=this._read_string_recursive("}",v,"`"):A+=this._read_string_recursive("`",v,"${"),this._input.hasNext()&&(A+=this._input.next())));A+=r.read(),b+=A}return b},ue.Tokenizer=x,ue.TOKEN=l,ue.positionable_operators=q.slice(),ue.line_starters=_.slice(),ue}var Bt;function mu(){if(Bt)return Le;Bt=1;var e=et().Output,u=Gt().Token,i=zt(),t=$t().Options,a=ve().Tokenizer,n=ve().line_starters,c=ve().positionable_operators,o=ve().TOKEN;function l(r,b){return b.indexOf(r)!==-1}function D(r){return r.replace(/^\s+/g,"")}function d(r){for(var b={},A=0;A<r.length;A++)b[r[A].replace(/-/g,"_")]=r[A];return b}function g(r,b){return r&&r.type===o.RESERVED&&r.text===b}function E(r,b){return r&&r.type===o.RESERVED&&l(r.text,b)}var q=["case","return","do","if","throw","else","await","break","continue","async"],S=["before-newline","after-newline","preserve-newline"],P=d(S),_=[P.before_newline,P.preserve_newline],s={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function h(r,b){b.multiline_frame||b.mode===s.ForInitializer||b.mode===s.Conditional||r.remove_indent(b.start_line_index)}function F(r){r=r.replace(i.allLineBreaks,`
|
|
32
|
+
`);for(var b=[],A=r.indexOf(`
|
|
33
|
+
`);A!==-1;)b.push(r.substring(0,A)),r=r.substring(A+1),A=r.indexOf(`
|
|
34
|
+
`);return r.length&&b.push(r),b}function x(r){return r===s.ArrayLiteral}function O(r){return l(r,[s.Expression,s.ForInitializer,s.Conditional])}function m(r,b){for(var A=0;A<r.length;A++){var w=r[A].trim();if(w.charAt(0)!==b)return!1}return!0}function v(r,b){for(var A=0,w=r.length,R;A<w;A++)if(R=r[A],R&&R.indexOf(b)!==0)return!1;return!0}function f(r,b){b=b||{},this._source_text=r||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new t(b)}f.prototype.create_flags=function(r,b){var A=0;r&&(A=r.indentation_level,!this._output.just_added_newline()&&r.line_indent_level>A&&(A=r.line_indent_level));var w={mode:b,parent:r,last_token:r?r.last_token:new u(o.START_BLOCK,""),last_word:r?r.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:A,alignment:0,line_indent_level:r?r.line_indent_level:A,start_line_index:this._output.get_line_number(),ternary_depth:0};return w},f.prototype._reset=function(r){var b=r.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,b),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(s.BlockStatement);var A=new a(r,this._options);return this._tokens=A.tokenize(),r},f.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var r,b=this._reset(this._source_text),A=this._options.eol;this._options.eol==="auto"&&(A=`
|
|
35
|
+
`,b&&i.lineBreak.test(b||"")&&(A=b.match(i.lineBreak)[0]));for(var w=this._tokens.next();w;)this.handle_token(w),this._last_last_text=this._flags.last_token.text,this._flags.last_token=w,w=this._tokens.next();return r=this._output.get_code(A),r},f.prototype.handle_token=function(r,b){r.type===o.START_EXPR?this.handle_start_expr(r):r.type===o.END_EXPR?this.handle_end_expr(r):r.type===o.START_BLOCK?this.handle_start_block(r):r.type===o.END_BLOCK?this.handle_end_block(r):r.type===o.WORD?this.handle_word(r):r.type===o.RESERVED?this.handle_word(r):r.type===o.SEMICOLON?this.handle_semicolon(r):r.type===o.STRING?this.handle_string(r):r.type===o.EQUALS?this.handle_equals(r):r.type===o.OPERATOR?this.handle_operator(r):r.type===o.COMMA?this.handle_comma(r):r.type===o.BLOCK_COMMENT?this.handle_block_comment(r,b):r.type===o.COMMENT?this.handle_comment(r,b):r.type===o.DOT?this.handle_dot(r):r.type===o.EOF?this.handle_eof(r):r.type===o.UNKNOWN?this.handle_unknown(r,b):this.handle_unknown(r,b)},f.prototype.handle_whitespace_and_comments=function(r,b){var A=r.newlines,w=this._options.keep_array_indentation&&x(this._flags.mode);if(r.comments_before)for(var R=r.comments_before.next();R;)this.handle_whitespace_and_comments(R,b),this.handle_token(R,b),R=r.comments_before.next();if(w)for(var L=0;L<A;L+=1)this.print_newline(L>0,b);else if(this._options.max_preserve_newlines&&A>this._options.max_preserve_newlines&&(A=this._options.max_preserve_newlines),this._options.preserve_newlines&&A>1){this.print_newline(!1,b);for(var j=1;j<A;j+=1)this.print_newline(!0,b)}};var C=["async","break","continue","return","throw","yield"];return f.prototype.allow_wrap_or_preserved_newline=function(r,b){if(b=b===void 0?!1:b,!this._output.just_added_newline()){var A=this._options.preserve_newlines&&r.newlines||b,w=l(this._flags.last_token.text,c)||l(r.text,c);if(w){var R=l(this._flags.last_token.text,c)&&l(this._options.operator_position,_)||l(r.text,c);A=A&&R}if(A)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(E(this._flags.last_token,C))return;this._output.set_wrap_point()}}},f.prototype.print_newline=function(r,b){if(!b&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==o.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var A=this._tokens.peek();this._flags.mode===s.Statement&&!(this._flags.if_block&&g(A,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(r)&&(this._flags.multiline_frame=!0)},f.prototype.print_token_line_indentation=function(r){this._output.just_added_newline()&&(this._options.keep_array_indentation&&r.newlines&&(r.text==="["||x(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(r.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},f.prototype.print_token=function(r){if(this._output.raw){this._output.add_raw_token(r);return}if(this._options.comma_first&&r.previous&&r.previous.type===o.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var b=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(b),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(r),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(r),this._output.non_breaking_space=!0,this._output.add_token(r.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},f.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},f.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},f.prototype.set_mode=function(r){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,r),this._flags=this.create_flags(this._previous_flags,r),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},f.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===s.Statement&&h(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},f.prototype.start_of_object_property=function(){return this._flags.parent.mode===s.ObjectLiteral&&this._flags.mode===s.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||E(this._flags.last_token,["get","set"]))},f.prototype.start_of_statement=function(r){var b=!1;return b=b||E(this._flags.last_token,["var","let","const"])&&r.type===o.WORD,b=b||g(this._flags.last_token,"do"),b=b||!(this._flags.parent.mode===s.ObjectLiteral&&this._flags.mode===s.Statement)&&E(this._flags.last_token,C)&&!r.newlines,b=b||g(this._flags.last_token,"else")&&!(g(r,"if")&&!r.comments_before),b=b||this._flags.last_token.type===o.END_EXPR&&(this._previous_flags.mode===s.ForInitializer||this._previous_flags.mode===s.Conditional),b=b||this._flags.last_token.type===o.WORD&&this._flags.mode===s.BlockStatement&&!this._flags.in_case&&!(r.text==="--"||r.text==="++")&&this._last_last_text!=="function"&&r.type!==o.WORD&&r.type!==o.RESERVED,b=b||this._flags.mode===s.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||E(this._flags.last_token,["get","set"])),b?(this.set_mode(s.Statement),this.indent(),this.handle_whitespace_and_comments(r,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r,E(r,["do","for","if","while"])),!0):!1},f.prototype.handle_start_expr=function(r){this.start_of_statement(r)||this.handle_whitespace_and_comments(r);var b=s.Expression;if(r.text==="["){if(this._flags.last_token.type===o.WORD||this._flags.last_token.text===")"){E(this._flags.last_token,n)&&(this._output.space_before_token=!0),this.print_token(r),this.set_mode(b),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}b=s.ArrayLiteral,x(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),l(this._flags.last_token.type,[o.START_EXPR,o.END_EXPR,o.WORD,o.OPERATOR,o.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===o.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,b=s.ForInitializer):l(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,b=s.Conditional):l(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&r.whitespace_before===""?this._output.space_before_token=!1:(l(this._flags.last_token.text,n)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r);else if(this._flags.last_token.type===o.WORD){this._output.space_before_token=!1;var A=this._tokens.peek(-3);if(this._options.space_after_named_function&&A){var w=this._tokens.peek(-4);E(A,["async","function"])||A.text==="*"&&E(w,["async","function"])?this._output.space_before_token=!0:this._flags.mode===s.ObjectLiteral?(A.text==="{"||A.text===","||A.text==="*"&&(w.text==="{"||w.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(r);(this._flags.last_token.type===o.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===s.ObjectLiteral&&l(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===o.START_BLOCK?this.print_newline():(this._flags.last_token.type===o.END_EXPR||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===o.COMMA)&&this.allow_wrap_or_preserved_newline(r,r.newlines),this.print_token(r),this.set_mode(b),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},f.prototype.handle_end_expr=function(r){for(;this._flags.mode===s.Statement;)this.restore_mode();this.handle_whitespace_and_comments(r),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(r,r.text==="]"&&x(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===o.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(r),this.restore_mode(),h(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===s.Conditional&&(this._previous_flags.mode=s.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},f.prototype.handle_start_block=function(r){this.handle_whitespace_and_comments(r);var b=this._tokens.peek(),A=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===o.END_EXPR?(this.set_mode(s.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(s.BlockStatement):A&&(l(A.text,[":",","])&&l(b.type,[o.STRING,o.WORD,o.RESERVED])||l(b.text,["get","set","..."])&&l(A.type,[o.WORD,o.RESERVED]))?l(this._last_last_text,["class","interface"])&&!l(A.text,[":",","])?this.set_mode(s.BlockStatement):this.set_mode(s.ObjectLiteral):this._flags.last_token.type===o.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(s.BlockStatement):l(this._flags.last_token.type,[o.EQUALS,o.START_EXPR,o.COMMA,o.OPERATOR])||E(this._flags.last_token,["return","throw","import","default"])?this.set_mode(s.ObjectLiteral):this.set_mode(s.BlockStatement),this._flags.last_token&&E(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var w=!b.comments_before&&b.text==="}",R=w&&this._flags.last_word==="function"&&this._flags.last_token.type===o.END_EXPR;if(this._options.brace_preserve_inline){var L=0,j=null;this._flags.inline_frame=!0;do if(L+=1,j=this._tokens.peek(L-1),j.newlines){this._flags.inline_frame=!1;break}while(j.type!==o.EOF&&!(j.type===o.END_BLOCK&&j.opened===r))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&r.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==o.OPERATOR&&(R||this._flags.last_token.type===o.EQUALS||E(this._flags.last_token,q)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(x(this._previous_flags.mode)&&(this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.COMMA)&&((this._flags.last_token.type===o.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(r),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==o.OPERATOR&&this._flags.last_token.type!==o.START_EXPR&&(l(this._flags.last_token.type,[o.START_BLOCK,o.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(r),this.indent(),!w&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},f.prototype.handle_end_block=function(r){for(this.handle_whitespace_and_comments(r);this._flags.mode===s.Statement;)this.restore_mode();var b=this._flags.last_token.type===o.START_BLOCK;this._flags.inline_frame&&!b?this._output.space_before_token=!0:this._options.brace_style==="expand"?b||this.print_newline():b||(x(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(r)},f.prototype.handle_word=function(r){if(r.type===o.RESERVED){if(l(r.text,["set","get"])&&this._flags.mode!==s.ObjectLiteral)r.type=o.WORD;else if(r.text==="import"&&l(this._tokens.peek().text,["(","."]))r.type=o.WORD;else if(l(r.text,["as","from"])&&!this._flags.import_block)r.type=o.WORD;else if(this._flags.mode===s.ObjectLiteral){var b=this._tokens.peek();b.text===":"&&(r.type=o.WORD)}}if(this.start_of_statement(r)?E(this._flags.last_token,["var","let","const"])&&r.type===o.WORD&&(this._flags.declaration_statement=!0):r.newlines&&!O(this._flags.mode)&&(this._flags.last_token.type!==o.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==o.EQUALS&&(this._options.preserve_newlines||!E(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(r),this.print_newline()):this.handle_whitespace_and_comments(r),this._flags.do_block&&!this._flags.do_while)if(g(r,"while")){this._output.space_before_token=!0,this.print_token(r),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&g(r,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===s.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&E(r,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(r),this._flags.in_case=!0;return}if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR)&&!this.start_of_object_property()&&!(l(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===s.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(r),g(r,"function")){(l(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(l(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===o.OPERATOR))&&!this._output.just_added_blankline()&&!r.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD?E(this._flags.last_token,["get","set","new","export"])||E(this._flags.last_token,C)?this._output.space_before_token=!0:g(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===o.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(O(this._flags.mode)||x(this._flags.mode))||this.print_newline(),this.print_token(r),this._flags.last_word=r.text;return}var A="NONE";if(this._flags.last_token.type===o.END_BLOCK?this._previous_flags.inline_frame?A="SPACE":E(r,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&r.newlines?A="NEWLINE":(A="SPACE",this._output.space_before_token=!0):A="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&this._flags.mode===s.BlockStatement?A="NEWLINE":this._flags.last_token.type===o.SEMICOLON&&O(this._flags.mode)?A="SPACE":this._flags.last_token.type===o.STRING?A="NEWLINE":this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.last_token.text==="*"&&(l(this._last_last_text,["function","yield"])||this._flags.mode===s.ObjectLiteral&&l(this._last_last_text,["{",","]))?A="SPACE":this._flags.last_token.type===o.START_BLOCK?this._flags.inline_frame?A="SPACE":A="NEWLINE":this._flags.last_token.type===o.END_EXPR&&(this._output.space_before_token=!0,A="NEWLINE"),E(r,n)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?A="SPACE":A="NEWLINE"),E(r,["else","catch","finally"]))if((!(this._flags.last_token.type===o.END_BLOCK&&this._previous_flags.mode===s.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&r.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var w=this._output.current_line;w.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else A==="NEWLINE"?E(this._flags.last_token,q)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&E(r,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==o.END_EXPR?(this._flags.last_token.type!==o.START_EXPR||!E(r,["var","let","const"]))&&this._flags.last_token.text!==":"&&(g(r,"if")&&g(r.previous,"else")?this._output.space_before_token=!0:this.print_newline()):E(r,n)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&x(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():A==="SPACE"&&(this._output.space_before_token=!0);r.previous&&(r.previous.type===o.WORD||r.previous.type===o.RESERVED)&&(this._output.space_before_token=!0),this.print_token(r),this._flags.last_word=r.text,r.type===o.RESERVED&&(r.text==="do"?this._flags.do_block=!0:r.text==="if"?this._flags.if_block=!0:r.text==="import"?this._flags.import_block=!0:this._flags.import_block&&g(r,"from")&&(this._flags.import_block=!1))},f.prototype.handle_semicolon=function(r){this.start_of_statement(r)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(r);for(var b=this._tokens.peek();this._flags.mode===s.Statement&&!(this._flags.if_block&&g(b,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(r)},f.prototype.handle_string=function(r){r.text.startsWith("`")&&r.newlines===0&&r.whitespace_before===""&&(r.previous.text===")"||this._flags.last_token.type===o.WORD)||(this.start_of_statement(r)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(r),this._flags.last_token.type===o.RESERVED||this._flags.last_token.type===o.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR||this._flags.last_token.type===o.EQUALS||this._flags.last_token.type===o.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r):r.text.startsWith("`")&&this._flags.last_token.type===o.END_EXPR&&(r.previous.text==="]"||r.previous.text===")")&&r.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(r)},f.prototype.handle_equals=function(r){this.start_of_statement(r)||this.handle_whitespace_and_comments(r),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(r),this._output.space_before_token=!0},f.prototype.handle_comma=function(r){this.handle_whitespace_and_comments(r,!0),this.print_token(r),this._output.space_before_token=!0,this._flags.declaration_statement?(O(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(r)):this._flags.mode===s.ObjectLiteral||this._flags.mode===s.Statement&&this._flags.parent.mode===s.ObjectLiteral?(this._flags.mode===s.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(r)},f.prototype.handle_operator=function(r){var b=r.text==="*"&&(E(this._flags.last_token,["function","yield"])||l(this._flags.last_token.type,[o.START_BLOCK,o.COMMA,o.END_BLOCK,o.SEMICOLON])),A=l(r.text,["-","+"])&&(l(this._flags.last_token.type,[o.START_BLOCK,o.START_EXPR,o.EQUALS,o.OPERATOR])||l(this._flags.last_token.text,n)||this._flags.last_token.text===",");if(!this.start_of_statement(r)){var w=!b;this.handle_whitespace_and_comments(r,w)}if(r.text==="*"&&this._flags.last_token.type===o.DOT){this.print_token(r);return}if(r.text==="::"){this.print_token(r);return}if(l(r.text,["-","+"])&&this.start_of_object_property()){this.print_token(r);return}if(this._flags.last_token.type===o.OPERATOR&&l(this._options.operator_position,_)&&this.allow_wrap_or_preserved_newline(r),r.text===":"&&this._flags.in_case){this.print_token(r),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==o.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var R=!0,L=!0,j=!1;if(r.text===":"?this._flags.ternary_depth===0?R=!1:(this._flags.ternary_depth-=1,j=!0):r.text==="?"&&(this._flags.ternary_depth+=1),!A&&!b&&this._options.preserve_newlines&&l(r.text,c)){var H=r.text===":",Q=H&&j,T=H&&!j;switch(this._options.operator_position){case P.before_newline:this._output.space_before_token=!T,this.print_token(r),(!H||Q)&&this.allow_wrap_or_preserved_newline(r),this._output.space_before_token=!0;return;case P.after_newline:this._output.space_before_token=!0,!H||Q?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(r):this._output.space_before_token=!1,this.print_token(r),this._output.space_before_token=!0;return;case P.preserve_newline:T||this.allow_wrap_or_preserved_newline(r),R=!(this._output.just_added_newline()||T),this._output.space_before_token=R,this.print_token(r),this._output.space_before_token=!0;return}}if(b){this.allow_wrap_or_preserved_newline(r),R=!1;var N=this._tokens.peek();L=N&&l(N.type,[o.WORD,o.RESERVED])}else if(r.text==="...")this.allow_wrap_or_preserved_newline(r),R=this._flags.last_token.type===o.START_BLOCK,L=!1;else if(l(r.text,["--","++","!","~"])||A){if((this._flags.last_token.type===o.COMMA||this._flags.last_token.type===o.START_EXPR)&&this.allow_wrap_or_preserved_newline(r),R=!1,L=!1,r.newlines&&(r.text==="--"||r.text==="++"||r.text==="~")){var U=E(this._flags.last_token,q)&&r.newlines;U&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(U,!0)}this._flags.last_token.text===";"&&O(this._flags.mode)&&(R=!0),this._flags.last_token.type===o.RESERVED?R=!0:this._flags.last_token.type===o.END_EXPR?R=!(this._flags.last_token.text==="]"&&(r.text==="--"||r.text==="++")):this._flags.last_token.type===o.OPERATOR&&(R=l(r.text,["--","-","++","+"])&&l(this._flags.last_token.text,["--","-","++","+"]),l(r.text,["+","-"])&&l(this._flags.last_token.text,["--","++"])&&(L=!0)),(this._flags.mode===s.BlockStatement&&!this._flags.inline_frame||this._flags.mode===s.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||R,this.print_token(r),this._output.space_before_token=L},f.prototype.handle_block_comment=function(r,b){if(this._output.raw){this._output.add_raw_token(r),r.directives&&r.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(r.directives){this.print_newline(!1,b),this.print_token(r),r.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!i.newline.test(r.text)&&!r.newlines){this._output.space_before_token=!0,this.print_token(r),this._output.space_before_token=!0;return}else this.print_block_commment(r,b)},f.prototype.print_block_commment=function(r,b){var A=F(r.text),w,R=!1,L=!1,j=r.whitespace_before,H=j.length;if(this.print_newline(!1,b),this.print_token_line_indentation(r),this._output.add_token(A[0]),this.print_newline(!1,b),A.length>1){for(A=A.slice(1),R=m(A,"*"),L=v(A,j),R&&(this._flags.alignment=1),w=0;w<A.length;w++)R?(this.print_token_line_indentation(r),this._output.add_token(D(A[w]))):L&&A[w]?(this.print_token_line_indentation(r),this._output.add_token(A[w].substring(H))):(this._output.current_line.set_indent(-1),this._output.add_token(A[w])),this.print_newline(!1,b);this._flags.alignment=0}},f.prototype.handle_comment=function(r,b){r.newlines?this.print_newline(!1,b):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(r),this.print_newline(!1,b)},f.prototype.handle_dot=function(r){this.start_of_statement(r)||this.handle_whitespace_and_comments(r,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),E(this._flags.last_token,q)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(r,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(r)},f.prototype.handle_unknown=function(r,b){this.print_token(r),r.text[r.text.length-1]===`
|
|
36
|
+
`&&this.print_newline(!1,b)},f.prototype.handle_eof=function(r){for(;this._flags.mode===s.Statement;)this.restore_mode();this.handle_whitespace_and_comments(r)},Le.Beautifier=f,Le}var Tt;function bu(){if(Tt)return De.exports;Tt=1;var e=mu().Beautifier,u=$t().Options;function i(t,a){var n=new e(t,a);return n.beautify()}return De.exports=i,De.exports.defaultOptions=function(){return new u},De.exports}var Ee={exports:{}},We={},Ke={},Ft;function Wt(){if(Ft)return Ke;Ft=1;var e=tt().Options;function u(i){e.call(this,i,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t;var a=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var n=0;n<a.length;n++)a[n]!=="expand"?this.brace_style="collapse":this.brace_style=a[n]}return u.prototype=new e,Ke.Options=u,Ke}var kt;function Du(){if(kt)return We;kt=1;var e=Wt().Options,u=et().Output,i=ut().InputScanner,t=rt().Directives,a=new t(/\/\*/,/\*\//),n=/\r\n|[\r\n]/,c=/\r\n|[\r\n]/g,o=/\s/,l=/(?:\s|\n)+/g,D=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,d=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function g(E,q){this._source_text=E||"",this._options=new e(q),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return g.prototype.eatString=function(E){var q="";for(this._ch=this._input.next();this._ch;){if(q+=this._ch,this._ch==="\\")q+=this._input.next();else if(E.indexOf(this._ch)!==-1||this._ch===`
|
|
37
|
+
`)break;this._ch=this._input.next()}return q},g.prototype.eatWhitespace=function(E){for(var q=o.test(this._input.peek()),S=0;o.test(this._input.peek());)this._ch=this._input.next(),E&&this._ch===`
|
|
38
|
+
`&&(S===0||S<this._options.max_preserve_newlines)&&(S++,this._output.add_new_line(!0));return q},g.prototype.foundNestedPseudoClass=function(){for(var E=0,q=1,S=this._input.peek(q);S;){if(S==="{")return!0;if(S==="(")E+=1;else if(S===")"){if(E===0)return!1;E-=1}else if(S===";"||S==="}")return!1;q++,S=this._input.peek(q)}return!1},g.prototype.print_string=function(E){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(E)},g.prototype.preserveSingleSpace=function(E){E&&(this._output.space_before_token=!0)},g.prototype.indent=function(){this._indentLevel++},g.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},g.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var E=this._source_text,q=this._options.eol;q==="auto"&&(q=`
|
|
39
|
+
`,E&&n.test(E||"")&&(q=E.match(n)[0])),E=E.replace(c,`
|
|
40
|
+
`);var S=E.match(/^[\t ]*/)[0];this._output=new u(this._options,S),this._input=new i(E),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var P=0,_=!1,s=!1,h=!1,F=!1,x=!1,O=this._ch,m=!1,v,f,C;v=this._input.read(l),f=v!=="",C=O,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),O=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var r=this._input.read(D),b=a.get_directives(r);b&&b.ignore==="start"&&(r+=a.readIgnored(this._input)),this.print_string(r),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(d)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(f),this.print_string(this._ch);var A=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);A.match(/[ :]$/)&&(A=this.eatString(": ").replace(/\s+$/,""),this.print_string(A),this._output.space_before_token=!0),P===0&&A.indexOf(":")!==-1&&(s=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(f),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var w=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);w.match(/[ :]$/)&&(w=this.eatString(": ").replace(/\s+$/,""),this.print_string(w),this._output.space_before_token=!0),P===0&&w.indexOf(":")!==-1?(s=!0,this.indent()):w in this.NESTED_AT_RULE?(this._nestedLevel+=1,w in this.CONDITIONAL_GROUP_RULE&&(h=!0)):P===0&&!s&&(F=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(f),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")s&&(s=!1,this.outdent()),F=!1,h?(h=!1,_=this._indentLevel>=this._nestedLevel):_=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&_&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(C==="("?this._output.space_before_token=!1:C!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),C==="{"&&this._output.trim(!0),s&&(this.outdent(),s=!1),this.print_string(this._ch),_=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var R=0;R<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;R++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[R])){m=!0;break}(_||h)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!F&&P===0?(this.print_string(":"),s||(s=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var L=C==='"'||C==="'";this.preserveSingleSpace(L||f),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")m=!1,P===0?(s&&(this.outdent(),s=!1),F=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),P++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),P&&(P--,this.outdent()));else{var j=!1;this._input.lookBack("with")&&(j=!0),this.preserveSingleSpace(f||j),this.print_string(this._ch),s&&C==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),x=!0):(this.eatWhitespace(),P++,this.indent())}else if(this._ch===")")P&&(P--,this.outdent()),x&&this._input.peek()===";"&&this._options.selector_separator_newline&&(x=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!s||x)&&P===0&&!F?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!s&&P===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&o.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(f),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),o.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var H=C==='"'||C==="'";this.preserveSingleSpace(H||f),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
41
|
+
`&&m&&this._output.add_new_line()}var Q=this._output.get_code(q);return Q},We.Beautifier=g,We}var Ot;function Au(){if(Ot)return Ee.exports;Ot=1;var e=Du().Beautifier,u=Wt().Options;function i(t,a){var n=new e(t,a);return n.beautify()}return Ee.exports=i,Ee.exports.defaultOptions=function(){return new u},Ee.exports}var ye={exports:{}},Xe={},Je={},Rt;function Kt(){if(Rt)return Je;Rt=1;var e=tt().Options;function u(i){e.call(this,i,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return u.prototype=new e,Je.Options=u,Je}var xe={},qt;function St(){if(qt)return xe;qt=1;var e=Ce().Tokenizer,u=Ce().TOKEN,i=rt().Directives,t=Ht().TemplatablePattern,a=Oe().Pattern,n={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:u.START,RAW:u.RAW,EOF:u.EOF},c=new i(/<\!--/,/-->/),o=function(l,D){e.call(this,l,D),this._current_tag_name="";var d=new t(this._input).read_options(this._options),g=new a(this._input);if(this.__patterns={word:d.until(/[\n\r\t <]/),word_control_flow_close_excluded:d.until(/[\n\r\t <}]/),single_quote:d.until_after(/'/),double_quote:d.until_after(/"/),attribute:d.until(/[\n\r\t =>]|\/>/),element_name:d.until(/[\n\r\t >\/]/),angular_control_flow_start:g.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:g.starting_with(/{{!--/).until_after(/--}}/),handlebars:g.starting_with(/{{/).until_after(/}}/),handlebars_open:g.until(/[\n\r\t }]/),handlebars_raw_close:g.until(/}}/),comment:g.starting_with(/<!--/).until_after(/-->/),cdata:g.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:g.starting_with(/<!\[/).until_after(/]>/),processing:g.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var E=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=g.matching(E).until_after(E)}};return o.prototype=new e,o.prototype._is_comment=function(l){return!1},o.prototype._is_opening=function(l){return l.type===n.TAG_OPEN||l.type===n.CONTROL_FLOW_OPEN},o.prototype._is_closing=function(l,D){return l.type===n.TAG_CLOSE&&D&&((l.text===">"||l.text==="/>")&&D.text[0]==="<"||l.text==="}}"&&D.text[0]==="{"&&D.text[1]==="{")||l.type===n.CONTROL_FLOW_CLOSE&&l.text==="}"&&D.text.endsWith("{")},o.prototype._reset=function(){this._current_tag_name=""},o.prototype._get_next_token=function(l,D){var d=null;this._readWhitespace();var g=this._input.peek();return g===null?this._create_token(n.EOF,""):(d=d||this._read_open_handlebars(g,D),d=d||this._read_attribute(g,l,D),d=d||this._read_close(g,D),d=d||this._read_script_and_style(g,l),d=d||this._read_control_flows(g,D),d=d||this._read_raw_content(g,l,D),d=d||this._read_content_word(g,D),d=d||this._read_comment_or_cdata(g),d=d||this._read_processing(g),d=d||this._read_open(g,D),d=d||this._create_token(n.UNKNOWN,this._input.next()),d)},o.prototype._read_comment_or_cdata=function(l){var D=null,d=null,g=null;if(l==="<"){var E=this._input.peek(1);E==="!"&&(d=this.__patterns.comment.read(),d?(g=c.get_directives(d),g&&g.ignore==="start"&&(d+=c.readIgnored(this._input))):d=this.__patterns.cdata.read()),d&&(D=this._create_token(n.COMMENT,d),D.directives=g)}return D},o.prototype._read_processing=function(l){var D=null,d=null,g=null;if(l==="<"){var E=this._input.peek(1);(E==="!"||E==="?")&&(d=this.__patterns.conditional_comment.read(),d=d||this.__patterns.processing.read()),d&&(D=this._create_token(n.COMMENT,d),D.directives=g)}return D},o.prototype._read_open=function(l,D){var d=null,g=null;return(!D||D.type===n.CONTROL_FLOW_OPEN)&&l==="<"&&(d=this._input.next(),this._input.peek()==="/"&&(d+=this._input.next()),d+=this.__patterns.element_name.read(),g=this._create_token(n.TAG_OPEN,d)),g},o.prototype._read_open_handlebars=function(l,D){var d=null,g=null;return(!D||D.type===n.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&l==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(d=this.__patterns.handlebars_comment.read(),d=d||this.__patterns.handlebars.read(),g=this._create_token(n.COMMENT,d)):(d=this.__patterns.handlebars_open.read(),g=this._create_token(n.TAG_OPEN,d))),g},o.prototype._read_control_flows=function(l,D){var d="",g=null;if(!this._options.templating.includes("angular"))return g;if(l==="@"){if(d=this.__patterns.angular_control_flow_start.read(),d==="")return g;for(var E=d.endsWith("(")?1:0,q=0;!(d.endsWith("{")&&E===q);){var S=this._input.next();if(S===null)break;S==="("?E++:S===")"&&q++,d+=S}g=this._create_token(n.CONTROL_FLOW_OPEN,d)}else l==="}"&&D&&D.type===n.CONTROL_FLOW_OPEN&&(d=this._input.next(),g=this._create_token(n.CONTROL_FLOW_CLOSE,d));return g},o.prototype._read_close=function(l,D){var d=null,g=null;return D&&D.type===n.TAG_OPEN&&(D.text[0]==="<"&&(l===">"||l==="/"&&this._input.peek(1)===">")?(d=this._input.next(),l==="/"&&(d+=this._input.next()),g=this._create_token(n.TAG_CLOSE,d)):D.text[0]==="{"&&l==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),g=this._create_token(n.TAG_CLOSE,"}}"))),g},o.prototype._read_attribute=function(l,D,d){var g=null,E="";if(d&&d.text[0]==="<")if(l==="=")g=this._create_token(n.EQUALS,this._input.next());else if(l==='"'||l==="'"){var q=this._input.next();l==='"'?q+=this.__patterns.double_quote.read():q+=this.__patterns.single_quote.read(),g=this._create_token(n.VALUE,q)}else E=this.__patterns.attribute.read(),E&&(D.type===n.EQUALS?g=this._create_token(n.VALUE,E):g=this._create_token(n.ATTRIBUTE,E));return g},o.prototype._is_content_unformatted=function(l){return this._options.void_elements.indexOf(l)===-1&&(this._options.content_unformatted.indexOf(l)!==-1||this._options.unformatted.indexOf(l)!==-1)},o.prototype._read_raw_content=function(l,D,d){var g="";if(d&&d.text[0]==="{")g=this.__patterns.handlebars_raw_close.read();else if(D.type===n.TAG_CLOSE&&D.opened.text[0]==="<"&&D.text[0]!=="/"){var E=D.opened.text.substr(1).toLowerCase();this._is_content_unformatted(E)&&(g=this._input.readUntil(new RegExp("</"+E+"[\\n\\r\\t ]*?>","ig")))}return g?this._create_token(n.TEXT,g):null},o.prototype._read_script_and_style=function(l,D){if(D.type===n.TAG_CLOSE&&D.opened.text[0]==="<"&&D.text[0]!=="/"){var d=D.opened.text.substr(1).toLowerCase();if(d==="script"||d==="style"){var g=this._read_comment_or_cdata(l);if(g)return g.type=n.TEXT,g;var E=this._input.readUntil(new RegExp("</"+d+"[\\n\\r\\t ]*?>","ig"));if(E)return this._create_token(n.TEXT,E)}}return null},o.prototype._read_content_word=function(l,D){var d="";return this._options.unformatted_content_delimiter&&l===this._options.unformatted_content_delimiter[0]&&(d=this.__patterns.unformatted_content_delimiter.read()),d||(d=D&&D.type===n.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),d?this._create_token(n.TEXT,d):null},xe.Tokenizer=o,xe.TOKEN=n,xe}var Nt;function vu(){if(Nt)return Xe;Nt=1;var e=Kt().Options,u=et().Output,i=St().Tokenizer,t=St().TOKEN,a=/\r\n|[\r\n]/,n=/\r\n|[\r\n]/g,c=function(_,s){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=_.max_preserve_newlines,this.preserve_newlines=_.preserve_newlines,this._output=new u(_,s)};c.prototype.current_line_has_match=function(_){return this._output.current_line.has_match(_)},c.prototype.set_space_before_token=function(_,s){this._output.space_before_token=_,this._output.non_breaking_space=s},c.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},c.prototype.add_raw_token=function(_){this._output.add_raw_token(_)},c.prototype.print_preserved_newlines=function(_){var s=0;_.type!==t.TEXT&&_.previous.type!==t.TEXT&&(s=_.newlines?1:0),this.preserve_newlines&&(s=_.newlines<this.max_preserve_newlines+1?_.newlines:this.max_preserve_newlines+1);for(var h=0;h<s;h++)this.print_newline(h>0);return s!==0},c.prototype.traverse_whitespace=function(_){return _.whitespace_before||_.newlines?(this.print_preserved_newlines(_)||(this._output.space_before_token=!0),!0):!1},c.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},c.prototype.print_newline=function(_){this._output.add_new_line(_)},c.prototype.print_token=function(_){_.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(_.text))},c.prototype.indent=function(){this.indent_level++},c.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},c.prototype.get_full_indent=function(_){return _=this.indent_level+(_||0),_<1?"":this._output.get_indent_string(_)};var o=function(_){for(var s=null,h=_.next;h.type!==t.EOF&&_.closed!==h;){if(h.type===t.ATTRIBUTE&&h.text==="type"){h.next&&h.next.type===t.EQUALS&&h.next.next&&h.next.next.type===t.VALUE&&(s=h.next.next.text);break}h=h.next}return s},l=function(_,s){var h=null,F=null;return s.closed?(_==="script"?h="text/javascript":_==="style"&&(h="text/css"),h=o(s)||h,h.search("text/css")>-1?F="css":h.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?F="javascript":h.search(/(text|application|dojo)\/(x-)?(html)/)>-1?F="html":h.search(/test\/null/)>-1&&(F="null"),F):null};function D(_,s){return s.indexOf(_)!==-1}function d(_,s,h){this.parent=_||null,this.tag=s?s.tag_name:"",this.indent_level=h||0,this.parser_token=s||null}function g(_){this._printer=_,this._current_frame=null}g.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},g.prototype.record_tag=function(_){var s=new d(this._current_frame,_,this._printer.indent_level);this._current_frame=s},g.prototype._try_pop_frame=function(_){var s=null;return _&&(s=_.parser_token,this._printer.indent_level=_.indent_level,this._current_frame=_.parent),s},g.prototype._get_frame=function(_,s){for(var h=this._current_frame;h&&_.indexOf(h.tag)===-1;){if(s&&s.indexOf(h.tag)!==-1){h=null;break}h=h.parent}return h},g.prototype.try_pop=function(_,s){var h=this._get_frame([_],s);return this._try_pop_frame(h)},g.prototype.indent_to_tag=function(_){var s=this._get_frame(_);s&&(this._printer.indent_level=s.indent_level)};function E(_,s,h,F){this._source_text=_||"",s=s||{},this._js_beautify=h,this._css_beautify=F,this._tag_stack=null;var x=new e(s,"html");this._options=x,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}E.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var _=this._source_text,s=this._options.eol;this._options.eol==="auto"&&(s=`
|
|
42
|
+
`,_&&a.test(_)&&(s=_.match(a)[0])),_=_.replace(n,`
|
|
43
|
+
`);var h=_.match(/^[\t ]*/)[0],F={text:"",type:""},x=new q(this._options),O=new c(this._options,h),m=new i(_,this._options).tokenize();this._tag_stack=new g(O);for(var v=null,f=m.next();f.type!==t.EOF;)f.type===t.TAG_OPEN||f.type===t.COMMENT?(v=this._handle_tag_open(O,f,x,F,m),x=v):f.type===t.ATTRIBUTE||f.type===t.EQUALS||f.type===t.VALUE||f.type===t.TEXT&&!x.tag_complete?v=this._handle_inside_tag(O,f,x,F):f.type===t.TAG_CLOSE?v=this._handle_tag_close(O,f,x):f.type===t.TEXT?v=this._handle_text(O,f,x):f.type===t.CONTROL_FLOW_OPEN?v=this._handle_control_flow_open(O,f):f.type===t.CONTROL_FLOW_CLOSE?v=this._handle_control_flow_close(O,f):O.add_raw_token(f),F=v,f=m.next();var C=O._output.get_code(s);return C},E.prototype._handle_control_flow_open=function(_,s){var h={text:s.text,type:s.type};return _.set_space_before_token(s.newlines||s.whitespace_before!=="",!0),s.newlines?_.print_preserved_newlines(s):_.set_space_before_token(s.newlines||s.whitespace_before!=="",!0),_.print_token(s),_.indent(),h},E.prototype._handle_control_flow_close=function(_,s){var h={text:s.text,type:s.type};return _.deindent(),s.newlines?_.print_preserved_newlines(s):_.set_space_before_token(s.newlines||s.whitespace_before!=="",!0),_.print_token(s),h},E.prototype._handle_tag_close=function(_,s,h){var F={text:s.text,type:s.type};return _.alignment_size=0,h.tag_complete=!0,_.set_space_before_token(s.newlines||s.whitespace_before!=="",!0),h.is_unformatted?_.add_raw_token(s):(h.tag_start_char==="<"&&(_.set_space_before_token(s.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&h.has_wrapped_attrs&&_.print_newline(!1)),_.print_token(s)),h.indent_content&&!(h.is_unformatted||h.is_content_unformatted)&&(_.indent(),h.indent_content=!1),!h.is_inline_element&&!(h.is_unformatted||h.is_content_unformatted)&&_.set_wrap_point(),F},E.prototype._handle_inside_tag=function(_,s,h,F){var x=h.has_wrapped_attrs,O={text:s.text,type:s.type};return _.set_space_before_token(s.newlines||s.whitespace_before!=="",!0),h.is_unformatted?_.add_raw_token(s):h.tag_start_char==="{"&&s.type===t.TEXT?_.print_preserved_newlines(s)?(s.newlines=0,_.add_raw_token(s)):_.print_token(s):(s.type===t.ATTRIBUTE?_.set_space_before_token(!0):(s.type===t.EQUALS||s.type===t.VALUE&&s.previous.type===t.EQUALS)&&_.set_space_before_token(!1),s.type===t.ATTRIBUTE&&h.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(_.traverse_whitespace(s),x=x||s.newlines!==0),this._is_wrap_attributes_force&&h.attr_count>=this._options.wrap_attributes_min_attrs&&(F.type!==t.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(_.print_newline(!1),x=!0)),_.print_token(s),x=x||_.previous_token_wrapped(),h.has_wrapped_attrs=x),O},E.prototype._handle_text=function(_,s,h){var F={text:s.text,type:"TK_CONTENT"};return h.custom_beautifier_name?this._print_custom_beatifier_text(_,s,h):h.is_unformatted||h.is_content_unformatted?_.add_raw_token(s):(_.traverse_whitespace(s),_.print_token(s)),F},E.prototype._print_custom_beatifier_text=function(_,s,h){var F=this;if(s.text!==""){var x=s.text,O,m=1,v="",f="";h.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?O=this._js_beautify:h.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?O=this._css_beautify:h.custom_beautifier_name==="html"&&(O=function(R,L){var j=new E(R,L,F._js_beautify,F._css_beautify);return j.beautify()}),this._options.indent_scripts==="keep"?m=0:this._options.indent_scripts==="separate"&&(m=-_.indent_level);var C=_.get_full_indent(m);if(x=x.replace(/\n[ \t]*$/,""),h.custom_beautifier_name!=="html"&&x[0]==="<"&&x.match(/^(<!--|<!\[CDATA\[)/)){var r=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(x);if(!r){_.add_raw_token(s);return}v=C+r[1]+`
|
|
44
|
+
`,x=r[4],r[5]&&(f=C+r[5]),x=x.replace(/\n[ \t]*$/,""),(r[2]||r[3].indexOf(`
|
|
45
|
+
`)!==-1)&&(r=r[3].match(/[ \t]+$/),r&&(s.whitespace_before=r[0]))}if(x)if(O){var b=function(){this.eol=`
|
|
46
|
+
`};b.prototype=this._options.raw_options;var A=new b;x=O(C+x,A)}else{var w=s.whitespace_before;w&&(x=x.replace(new RegExp(`
|
|
47
|
+
(`+w+")?","g"),`
|
|
48
|
+
`)),x=C+x.replace(/\n/g,`
|
|
49
|
+
`+C)}v&&(x?x=v+x+`
|
|
50
|
+
`+f:x=v+f),_.print_newline(!1),x&&(s.text=x,s.whitespace_before="",s.newlines=0,_.add_raw_token(s),_.print_newline(!0))}},E.prototype._handle_tag_open=function(_,s,h,F,x){var O=this._get_tag_open_token(s);if((h.is_unformatted||h.is_content_unformatted)&&!h.is_empty_element&&s.type===t.TAG_OPEN&&!O.is_start_tag?(_.add_raw_token(s),O.start_tag_token=this._tag_stack.try_pop(O.tag_name)):(_.traverse_whitespace(s),this._set_tag_position(_,s,O,h,F),O.is_inline_element||_.set_wrap_point(),_.print_token(s)),O.is_start_tag&&this._is_wrap_attributes_force){var m=0,v;do v=x.peek(m),v.type===t.ATTRIBUTE&&(O.attr_count+=1),m+=1;while(v.type!==t.EOF&&v.type!==t.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(O.alignment_size=s.text.length+1),!O.tag_complete&&!O.is_unformatted&&(_.alignment_size=O.alignment_size),O};var q=function(_,s,h){if(this.parent=s||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!h)this.tag_complete=!0;else{var F;this.tag_start_char=h.text[0],this.text=h.text,this.tag_start_char==="<"?(F=h.text.match(/^<([^\s>]*)/),this.tag_check=F?F[1]:""):(F=h.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=F?F[1]:"",(h.text.startsWith("{{#>")||h.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&h.next!==null?this.tag_check=h.next.text.split(" ")[0]:this.tag_check=h.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),h.type===t.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||h.closed&&h.closed.text==="/>";var x=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(x=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!_.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(x)))}};E.prototype._get_tag_open_token=function(_){var s=new q(this._options,this._tag_stack.get_parser_token(),_);return s.alignment_size=this._options.wrap_attributes_indent_size,s.is_end_tag=s.is_end_tag||D(s.tag_check,this._options.void_elements),s.is_empty_element=s.tag_complete||s.is_start_tag&&s.is_end_tag,s.is_unformatted=!s.tag_complete&&D(s.tag_check,this._options.unformatted),s.is_content_unformatted=!s.is_empty_element&&D(s.tag_check,this._options.content_unformatted),s.is_inline_element=D(s.tag_name,this._options.inline)||this._options.inline_custom_elements&&s.tag_name.includes("-")||s.tag_start_char==="{",s},E.prototype._set_tag_position=function(_,s,h,F,x){if(h.is_empty_element||(h.is_end_tag?h.start_tag_token=this._tag_stack.try_pop(h.tag_name):(this._do_optional_end_element(h)&&(h.is_inline_element||_.print_newline(!1)),this._tag_stack.record_tag(h),(h.tag_name==="script"||h.tag_name==="style")&&!(h.is_unformatted||h.is_content_unformatted)&&(h.custom_beautifier_name=l(h.tag_check,s)))),D(h.tag_check,this._options.extra_liners)&&(_.print_newline(!1),_._output.just_added_blankline()||_.print_newline(!0)),h.is_empty_element){if(h.tag_start_char==="{"&&h.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),h.indent_content=!0;var O=_.current_line_has_match(/{{#if/);O||_.print_newline(!1)}h.tag_name==="!--"&&x.type===t.TAG_CLOSE&&F.is_end_tag&&h.text.indexOf(`
|
|
51
|
+
`)===-1||(h.is_inline_element||h.is_unformatted||_.print_newline(!1),this._calcluate_parent_multiline(_,h))}else if(h.is_end_tag){var m=!1;m=h.start_tag_token&&h.start_tag_token.multiline_content,m=m||!h.is_inline_element&&!(F.is_inline_element||F.is_unformatted)&&!(x.type===t.TAG_CLOSE&&h.start_tag_token===F)&&x.type!=="TK_CONTENT",(h.is_content_unformatted||h.is_unformatted)&&(m=!1),m&&_.print_newline(!1)}else h.indent_content=!h.custom_beautifier_name,h.tag_start_char==="<"&&(h.tag_name==="html"?h.indent_content=this._options.indent_inner_html:h.tag_name==="head"?h.indent_content=this._options.indent_head_inner_html:h.tag_name==="body"&&(h.indent_content=this._options.indent_body_inner_html)),!(h.is_inline_element||h.is_unformatted)&&(x.type!=="TK_CONTENT"||h.is_content_unformatted)&&_.print_newline(!1),this._calcluate_parent_multiline(_,h)},E.prototype._calcluate_parent_multiline=function(_,s){s.parent&&_._output.just_added_newline()&&!((s.is_inline_element||s.is_unformatted)&&s.parent.is_inline_element)&&(s.parent.multiline_content=!0)};var S=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],P=["a","audio","del","ins","map","noscript","video"];return E.prototype._do_optional_end_element=function(_){var s=null;if(!(_.is_empty_element||!_.is_start_tag||!_.parent)){if(_.tag_name==="body")s=s||this._tag_stack.try_pop("head");else if(_.tag_name==="li")s=s||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(_.tag_name==="dd"||_.tag_name==="dt")s=s||this._tag_stack.try_pop("dt",["dl"]),s=s||this._tag_stack.try_pop("dd",["dl"]);else if(_.parent.tag_name==="p"&&S.indexOf(_.tag_name)!==-1){var h=_.parent.parent;(!h||P.indexOf(h.tag_name)===-1)&&(s=s||this._tag_stack.try_pop("p"))}else _.tag_name==="rp"||_.tag_name==="rt"?(s=s||this._tag_stack.try_pop("rt",["ruby","rtc"]),s=s||this._tag_stack.try_pop("rp",["ruby","rtc"])):_.tag_name==="optgroup"?s=s||this._tag_stack.try_pop("optgroup",["select"]):_.tag_name==="option"?s=s||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):_.tag_name==="colgroup"?s=s||this._tag_stack.try_pop("caption",["table"]):_.tag_name==="thead"?(s=s||this._tag_stack.try_pop("caption",["table"]),s=s||this._tag_stack.try_pop("colgroup",["table"])):_.tag_name==="tbody"||_.tag_name==="tfoot"?(s=s||this._tag_stack.try_pop("caption",["table"]),s=s||this._tag_stack.try_pop("colgroup",["table"]),s=s||this._tag_stack.try_pop("thead",["table"]),s=s||this._tag_stack.try_pop("tbody",["table"])):_.tag_name==="tr"?(s=s||this._tag_stack.try_pop("caption",["table"]),s=s||this._tag_stack.try_pop("colgroup",["table"]),s=s||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(_.tag_name==="th"||_.tag_name==="td")&&(s=s||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),s=s||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return _.parent=this._tag_stack.get_parser_token(),s}},Xe.Beautifier=E,Xe}var Lt;function Eu(){if(Lt)return ye.exports;Lt=1;var e=vu().Beautifier,u=Kt().Options;function i(t,a,n,c){var o=new e(t,a,n,c);return o.beautify()}return ye.exports=i,ye.exports.defaultOptions=function(){return new u},ye.exports}var Pt;function yu(){if(Pt)return ne;Pt=1;var e=bu(),u=Au(),i=Eu();function t(a,n,c,o){return c=c||e,o=o||u,i(a,n,c,o)}return t.defaultOptions=i.defaultOptions,ne.js=e,ne.css=u,ne.html=t,ne}var It;function xu(){return It||(It=1,(function(e){function u(i,t,a){var n=function(c,o){return i.js_beautify(c,o)};return n.js=i.js_beautify,n.css=t.css_beautify,n.html=a.html_beautify,n.js_beautify=i.js_beautify,n.css_beautify=t.css_beautify,n.html_beautify=a.html_beautify,n}(function(i){var t=yu();t.js_beautify=t.js,t.css_beautify=t.css,t.html_beautify=t.html,i.exports=u(t,t,t)})(e)})(Ne)),Ne.exports}var Cu=xu(),le={exports:{}};/*! https://mths.be/he v1.2.0 by @mathias | MIT license */var wu=le.exports,Ut;function Bu(){return Ut||(Ut=1,(function(e,u){(function(i){var t=u,a=e&&e.exports==t&&e,n=typeof ht=="object"&&ht;(n.global===n||n.window===n)&&(i=n);var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,D=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,d={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf",ℬ:"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf",ℭ:"Cfr","𝒞":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH","ⅇ":"ee",ℯ:"escr","𝔢":"efr","𝕖":"eopf",ℰ:"Escr","𝔈":"Efr","𝔼":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","𝔥":"hfr",ℎ:"planckh","𝒽":"hscr","𝕙":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr",ķ:"kcedil",Ķ:"Kcedil","𝔩":"lfr","𝓁":"lscr",ℓ:"ell","𝕝":"lopf",ℒ:"Lscr","𝔏":"Lfr","𝕃":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf",ℳ:"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr",ℕ:"Nopf","𝒩":"Nscr","𝔑":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","𝕠":"oopf","𝔬":"ofr",ℴ:"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf",ℙ:"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr",ℚ:"Qopf",ĸ:"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf",ℨ:"Zfr",ℤ:"Zopf","𝒵":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi","ϵ":"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},g=/["&'<>`]/g,E={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},q=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,S=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,P=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,_={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
52
|
+
`,nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},s={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},h={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},F=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],x=String.fromCharCode,O={},m=O.hasOwnProperty,v=function(T,N){return m.call(T,N)},f=function(T,N){for(var U=-1,W=T.length;++U<W;)if(T[U]==N)return!0;return!1},C=function(T,N){if(!T)return N;var U={},W;for(W in N)U[W]=v(T,W)?T[W]:N[W];return U},r=function(T,N){var U="";return T>=55296&&T<=57343||T>1114111?(N&&w("character reference outside the permissible Unicode range"),"�"):v(h,T)?(N&&w("disallowed character reference"),h[T]):(N&&f(F,T)&&w("disallowed character reference"),T>65535&&(T-=65536,U+=x(T>>>10&1023|55296),T=56320|T&1023),U+=x(T),U)},b=function(T){return"&#x"+T.toString(16).toUpperCase()+";"},A=function(T){return"&#"+T+";"},w=function(T){throw Error("Parse error: "+T)},R=function(T,N){N=C(N,R.options);var U=N.strict;U&&S.test(T)&&w("forbidden code point");var W=N.encodeEverything,Y=N.useNamedReferences,se=N.allowUnsafeSymbols,he=N.decimal?A:b,te=function($){return he($.charCodeAt(0))};return W?(T=T.replace(o,function($){return Y&&v(d,$)?"&"+d[$]+";":te($)}),Y&&(T=T.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),Y&&(T=T.replace(D,function($){return"&"+d[$]+";"}))):Y?(se||(T=T.replace(g,function($){return"&"+d[$]+";"})),T=T.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒"),T=T.replace(D,function($){return"&"+d[$]+";"})):se||(T=T.replace(g,te)),T.replace(c,function($){var fe=$.charCodeAt(0),qe=$.charCodeAt(1),lt=(fe-55296)*1024+qe-56320+65536;return he(lt)}).replace(l,te)};R.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var L=function(T,N){N=C(N,L.options);var U=N.strict;return U&&q.test(T)&&w("malformed character reference"),T.replace(P,function(W,Y,se,he,te,$,fe,qe,lt){var de,ge,ct,_t,me,be;return Y?(me=Y,_[me]):se?(me=se,be=he,be&&N.isAttributeValue?(U&&be=="="&&w("`&` did not start a character reference"),W):(U&&w("named character reference was not terminated by a semicolon"),s[me]+(be||""))):te?(ct=te,ge=$,U&&!ge&&w("character reference was not terminated by a semicolon"),de=parseInt(ct,10),r(de,U)):fe?(_t=fe,ge=qe,U&&!ge&&w("character reference was not terminated by a semicolon"),de=parseInt(_t,16),r(de,U)):(U&&w("named character reference was not terminated by a semicolon"),W)})};L.options={isAttributeValue:!1,strict:!1};var j=function(T){return T.replace(g,function(N){return E[N]})},H={version:"1.2.0",encode:R,decode:L,escape:j,unescape:L};if(t&&!t.nodeType)if(a)a.exports=H;else for(var Q in H)v(H,Q)&&(t[Q]=H[Q]);else i.he=H})(wu)})(le,le.exports)),le.exports}var Tu=Bu();const Xt=y.createContext({}),Fu=e=>y.createElement(Xt.Provider,{value:e},e.children);function ku(e){const{data:u,beautify:i}=e,t=K.getBlockByType(u.type);if(!t)throw new Error(`Block ${u.type} not found`);const a=Tu.unescape(jt.renderToStaticMarkup(y.createElement(Fu,{dataSource:e.dataSource,mode:e.mode,context:e.context},t.render(e))));return i?Cu.html(a,{indent_size:2}):a}const Jt=()=>y.useContext(Xt),re=e=>{var o,l,D;const{data:u}=e,{mode:i,context:t,dataSource:a}=Jt();if((o=u==null?void 0:u.data)!=null&&o.hidden)return null;const n=K.getBlockByType(u==null?void 0:u.type);if(!n)return console.warn(`Block type "${u==null?void 0:u.type}" not found in BlockManager`),null;const c=z(V({},u),{data:z(V({},(u==null?void 0:u.data)||{}),{value:((l=u==null?void 0:u.data)==null?void 0:l.value)||{},hidden:((D=u==null?void 0:u.data)==null?void 0:D.hidden)||!1}),attributes:(u==null?void 0:u.attributes)||{},children:Array.isArray(u==null?void 0:u.children)?u.children:[]});try{return y.createElement(y.Fragment,null,n.render(z(V({},e),{data:c,mode:i,context:t,dataSource:a})))}catch(d){return console.error(`Error rendering block "${u==null?void 0:u.type}":`,d),y.createElement(y.Fragment,null,`<!-- Error rendering block ${u==null?void 0:u.type}: ${d instanceof Error?d.message:String(d)} -->`)}};function G(e){const{params:u,params:{data:i,idx:t,children:a,mode:n},tag:c,children:o}=e,l=i.children.length===0&&fu(u);let D=o||a;if((!D||Array.isArray(D)&&D.length===0)&&i.children.length===0&&(D=l),n==="testing"&&c==="mj-image"){let d=i.attributes.src;if(d===""||/{{([\s\S]+?)}}/g.test(d)||/\*\|([^\|\*]+)\|\*/g.test(d)){const g=B.omit(u,"data.attributes.src");return y.createElement(y.Fragment,null,`<${c} ${ke(g)} src="${X("IMAGE_59")}">`,`</${c}>`)}}return y.createElement(y.Fragment,null,`<${c} ${ke(u)}>`,D||i.children.map((d,g)=>y.createElement(re,z(V({key:g},u),{idx:t?Re(t,g):null,data:d}))),`</${c}>`)}const Qt={get name(){return I("Wrapper")},type:p.WRAPPER,create:e=>{const u={type:p.WRAPPER,data:{value:{}},attributes:{padding:"20px 0px 20px 0px",border:"none",direction:"ltr","text-align":"center"},children:[]};return B.merge(u,e)},validParentType:[p.PAGE],render(e){return y.createElement(G,{params:e,tag:"mj-wrapper"})}};function Ou(e){const u=e.data.value;return`
|
|
53
|
+
<mj-html-attributes>
|
|
54
|
+
${["content-background-color","text-color","font-family","font-size","line-height","font-weight","user-style","responsive"].filter(t=>u[t]!==void 0).map(t=>{const a=t,n=B.isObject(u[a]),c=n?Object.keys(u[a]).map(o=>{const l=u[a][o];return`${o}="${B.isString(l)?l.replace(/"/gm,""):l}"`}).join(" "):`${t}="${u[a]}"`;return`<mj-html-attribute class="easy-email" multiple-attributes="${n}" attribute-name="${t}" ${c}></mj-html-attribute>`}).join(`
|
|
55
|
+
`)}
|
|
56
|
+
|
|
57
|
+
</mj-html-attributes>
|
|
58
|
+
`}class we{static setLocaleData(u){this.localeData=u}static translate(u,i){const t=B.get(this.localeData,u,u);if(!i)return t;const a=t.split("***");return a.splice(1,0,i),y.createElement(y.Fragment,null,a.map((n,c)=>y.createElement(y.Fragment,{key:c},n)))}}Z(we,"localeData",{});const I=we.translate.bind(we),Ru={get name(){return I("Page")},type:p.PAGE,create:e=>{const u={type:p.PAGE,data:{value:{breakpoint:"480px",headAttributes:"","font-size":"14px","font-weight":"400","line-height":"1.7",headStyles:[],fonts:[],responsive:!0,"font-family":"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans','Helvetica Neue', sans-serif","text-color":"#000000"}},attributes:{"background-color":"#efeeea",width:"600px"},children:[Qt.create()]};return B.merge(u,e)},validParentType:[],render(e){var D,d;const{data:u}=e,i=Ou(u),t=u.data.value,a=t.breakpoint?`<mj-breakpoint width="${u.data.value.breakpoint}" />`:"",n=t.responsive?"":`<mj-raw>
|
|
59
|
+
<meta name="viewport" />
|
|
60
|
+
</mj-raw>
|
|
61
|
+
<mj-style inline="inline">.mjml-body { width: ${u.attributes.width||"600px"}; margin: 0px auto; }</mj-style>`,c=((D=t.headStyles)==null?void 0:D.map(g=>`<mj-style ${g.inline?'inline="inline"':""}>${g.content}</mj-style>`).join(`
|
|
62
|
+
`))||"",o=t["user-style"]?`<mj-style ${t["user-style"].inline?'inline="inline"':""}>${t["user-style"].content}</mj-style>`:"",l=t.extraHeadContent?`<mj-raw>${t.extraHeadContent}</mj-raw>`:"";return y.createElement(y.Fragment,null,`
|
|
63
|
+
<mjml>
|
|
64
|
+
<mj-head>
|
|
65
|
+
${i}
|
|
66
|
+
${n}
|
|
67
|
+
${c}
|
|
68
|
+
${o}
|
|
69
|
+
${a}
|
|
70
|
+
${l}
|
|
71
|
+
${(d=t.fonts)==null?void 0:d.filter(Boolean).map(g=>`<mj-font name="${g.name}" href="${g.href}" />`)}
|
|
72
|
+
<mj-attributes>
|
|
73
|
+
${t.headAttributes}
|
|
74
|
+
${t["font-family"]?`<mj-all font-family="${t["font-family"].replace(/"/gm,"")}" />`:""}
|
|
75
|
+
${t["font-size"]?`<mj-text font-size="${t["font-size"]}" />`:""}
|
|
76
|
+
${t["text-color"]?`<mj-text color="${t["text-color"]}" />`:""}
|
|
77
|
+
${t["line-height"]?`<mj-text line-height="${t["line-height"]}" />`:""}
|
|
78
|
+
${t["font-weight"]?`<mj-text font-weight="${t["font-weight"]}" />`:""}
|
|
79
|
+
${t["content-background-color"]?`<mj-wrapper background-color="${t["content-background-color"]}" />
|
|
80
|
+
<mj-section background-color="${t["content-background-color"]}" />
|
|
81
|
+
`:""}
|
|
82
|
+
|
|
83
|
+
</mj-attributes>
|
|
84
|
+
</mj-head>
|
|
85
|
+
<mj-body ${ke(e)}>`,u.children.map((g,E)=>y.createElement(re,z(V({},e),{idx:Re(st(),E),key:E,data:g}))),"</mj-body></mjml > ")}},qu={get name(){return I("Section")},type:p.SECTION,create:e=>{const u={type:p.SECTION,data:{value:{noWrap:!1}},attributes:{padding:"20px 0px 20px 0px","background-repeat":"repeat","background-size":"auto","background-position":"top center",border:"none",direction:"ltr","text-align":"center"},children:[]};return B.merge(u,e)},validParentType:[p.PAGE,p.WRAPPER],render(e){return y.createElement(G,{params:e,tag:"mj-section"})}},Su={get name(){return I("Column")},type:p.COLUMN,create:e=>{const u={type:p.COLUMN,data:{value:{}},attributes:{padding:"0px 0px 0px 0px",border:"none","vertical-align":"top"},children:[]};return B.merge(u,e)},validParentType:[p.SECTION,p.GROUP],render(e){return y.createElement(G,{params:e,tag:"mj-column"})}},Nu={get name(){return I("Text")},type:p.TEXT,create:e=>{const u={type:p.TEXT,data:{value:{content:I("Make it easy for everyone to compose emails!")}},attributes:{padding:"10px 25px 10px 25px",align:"left"},children:[]};return B.merge(u,e)},validParentType:[p.COLUMN,p.HERO],render(e){const{data:u}=e;return y.createElement(G,{params:e,tag:"mj-text"},u.data.value.content)}},Lu={get name(){return I("Image")},type:p.IMAGE,create:e=>{const u={type:p.IMAGE,data:{value:{}},attributes:{align:"center",height:"auto",padding:"10px 25px 10px 25px",src:""},children:[]};return B.merge(u,e)},validParentType:[p.COLUMN,p.HERO],render(e){return y.createElement(G,{params:e,tag:"mj-image"})}},Pu={get name(){return I("Group")},type:p.GROUP,create:e=>{const u={type:p.GROUP,data:{value:{}},attributes:{"vertical-align":"top",direction:"ltr"},children:[]};return B.merge(u,e)},validParentType:[p.SECTION],render(e){return y.createElement(G,{params:e,tag:"mj-group"})}},Iu={get name(){return I("Button")},type:p.BUTTON,create:e=>{const u={type:p.BUTTON,data:{value:{content:"Button"}},attributes:{align:"center","background-color":"#414141",color:"#ffffff","font-weight":"normal","border-radius":"3px",padding:"10px 25px 10px 25px","inner-padding":"10px 25px 10px 25px","line-height":"120%",target:"_blank","vertical-align":"middle",border:"none","text-align":"center",href:"#"},children:[]};return B.merge(u,e)},validParentType:[p.COLUMN,p.HERO],render(e){const{data:u}=e;return y.createElement(G,{params:e,tag:"mj-button"},u.data.value.content)}},Uu={get name(){return I("Divider")},type:p.DIVIDER,create:e=>{const u={type:p.DIVIDER,data:{value:{}},attributes:{align:"center","border-width":"1px","border-style":"solid","border-color":"#C9CCCF",padding:"10px 0px 10px 0px"},children:[]};return B.merge(u,e)},validParentType:[p.COLUMN,p.HERO],render(e){return y.createElement(G,{params:e,tag:"mj-divider"})}},ju={get name(){return I("Spacer")},type:p.SPACER,create:e=>{const u={type:p.SPACER,data:{value:{}},attributes:{height:"20px"},children:[]};return B.merge(u,e)},validParentType:[p.COLUMN,p.HERO],render(e){return y.createElement(G,{params:e,tag:"mj-spacer"})}};function ae(e,u){return B.mergeWith(e,u,(i,t)=>B.isArray(t)?t:void 0)}const Vu={get name(){return I("Carousel")},type:p.CAROUSEL,create:e=>{const u={type:p.CAROUSEL,data:{value:{images:[{src:X("IMAGE_15"),target:"_blank"},{src:X("IMAGE_16"),target:"_blank"},{src:X("IMAGE_17"),target:"_blank"}]}},attributes:{align:"center","left-icon":"https://i.imgur.com/xTh3hln.png","right-icon":"https://i.imgur.com/os7o9kz.png","icon-width":"44px",thumbnails:"visible"},children:[]};return ae(u,e)},validParentType:[p.COLUMN],render(e){const{data:u}=e,i=u.data.value.images.map(t=>`
|
|
86
|
+
<mj-carousel-image ${Object.keys(t).filter(n=>n!=="content"&&t[n]!=="").map(n=>`${n}="${t[n]}"`).join(" ")} />
|
|
87
|
+
`).join(`
|
|
88
|
+
`);return y.createElement(G,{params:e,tag:"mj-carousel"},i)}},Mu={get name(){return I("Hero")},type:p.HERO,create:e=>{const u={type:p.HERO,data:{value:{}},attributes:{"background-color":"#ffffff","background-position":"center center",mode:"fluid-height",padding:"100px 0px 100px 0px","vertical-align":"top","background-url":X("IMAGE_31")},children:[{type:"text",data:{value:{content:"We Serve Healthy & Delicious Foods"}},attributes:{padding:"10px 25px 10px 25px",align:"center",color:"#ffffff","font-size":"45px","line-height":"45px"},children:[]},{type:"text",data:{value:{content:"A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.<br>"}},attributes:{align:"center","background-color":"#414141",color:"#ffffff","font-weight":"normal","border-radius":"3px",padding:"10px 25px 10px 25px","inner-padding":"10px 25px 10px 25px","line-height":"1.5",target:"_blank","vertical-align":"middle",border:"none","text-align":"center",href:"#","font-size":"14px"},children:[]},{type:"button",data:{value:{content:"Get Your Order Here!"}},attributes:{align:"center","background-color":"#f3a333",color:"#ffffff","font-size":"13px","font-weight":"normal","border-radius":"30px",padding:"10px 25px 10px 25px","inner-padding":"10px 25px 10px 25px","line-height":"120%",target:"_blank","vertical-align":"middle",border:"none","text-align":"center",href:"#"},children:[]}]};return ae(u,e)},validParentType:[p.PAGE,p.WRAPPER],render(e){return y.createElement(G,{params:e,tag:"mj-hero"})}},Gu={get name(){return I("Navbar")},type:p.NAVBAR,create:e=>{const u={type:p.NAVBAR,data:{value:{links:[{href:"/gettings-started-onboard",content:"Getting started",color:"#1890ff","font-size":"13px",target:"_blank",padding:"15px 10px"},{href:"/try-it-live",content:"Try it live",color:"#1890ff","font-size":"13px",target:"_blank",padding:"15px 10px"},{href:"/templates",content:"Templates",color:"#1890ff","font-size":"13px",target:"_blank",padding:"15px 10px"},{href:"/components",content:"Components",color:"#1890ff","font-size":"13px",target:"_blank",padding:"15px 10px"}]}},attributes:{align:"center"},children:[]};return ae(u,e)},validParentType:[p.COLUMN,p.HERO],render(e){const{data:u}=e,i=u.data.value.links.map((t,a)=>`
|
|
89
|
+
<mj-navbar-link ${Object.keys(t).filter(c=>c!=="content"&&t[c]!=="").map(c=>`${c}="${t[c]}"`).join(" ")}>${t.content}</mj-navbar-link>
|
|
90
|
+
`).join(`
|
|
91
|
+
`);return y.createElement(G,{params:e,tag:"mj-navbar"},i)}},zu={get name(){return I("Social")},type:p.SOCIAL,create:e=>{const u={type:p.SOCIAL,data:{value:{elements:[{href:"#",target:"_blank",src:X("IMAGE_02"),content:"Facebook"},{href:"#",target:"_blank",src:X("IMAGE_03"),content:"Google"},{href:"",target:"_blank",src:X("IMAGE_04"),content:"Twitter"}]}},attributes:{align:"center",color:"#333333",mode:"horizontal","font-size":"13px","font-weight":"normal","border-radius":"3px",padding:"10px 25px 10px 25px","inner-padding":"4px 4px 4px 4px","line-height":"22px","text-padding":"4px 4px 4px 0px","icon-padding":"0px","icon-size":"20px"},children:[]};return ae(u,e)},validParentType:[p.COLUMN],render(e){const{data:u}=e,i=u.data.value.elements.map(t=>{var n;return`
|
|
92
|
+
<mj-social-element ${Object.keys(t).filter(c=>c!=="content"&&t[c]!=="").map(c=>`${c}="${t[c]}"`).join(" ")}>${(n=t.content)!=null?n:""}</mj-social-element>
|
|
93
|
+
`}).join(`
|
|
94
|
+
`);return y.createElement(G,{params:e,tag:"mj-social"},i)}},$u={get name(){return I("Raw")},type:p.RAW,create:e=>{const u={type:p.RAW,data:{value:{content:"<% if (user) { %>"}},attributes:{},children:[]};return B.merge(u,e)},validParentType:[p.PAGE,p.WRAPPER,p.SECTION,p.GROUP,p.COLUMN,p.HERO],render(e){return y.createElement(G,{params:e,tag:"mj-raw"},e.data.data.value.content)}},Hu={get name(){return I("Template")},type:p.TEMPLATE,create:e=>{const u={type:p.TEMPLATE,data:{value:{idx:""}},attributes:{},children:[]};return B.merge(u,e)},validParentType:[],render(e){const{data:u}=e;return y.createElement(y.Fragment,null,`
|
|
95
|
+
${u.children.map(i=>y.createElement(re,z(V({},e),{data:i})))}
|
|
96
|
+
`)}},Qe={get name(){return I("Accordion element")},type:p.ACCORDION_ELEMENT,create:e=>{const u={type:p.ACCORDION_ELEMENT,data:{value:{}},attributes:{"icon-align":"middle","icon-height":"32px","icon-width":"32px","icon-position":"right"},children:[]};return B.merge(u,e)},validParentType:[p.ACCORDION],render(e){return y.createElement(G,{params:e,tag:"mj-accordion-element"})}},Ye={get name(){return I("Accordion title")},type:p.ACCORDION_TITLE,create:e=>{const u={type:p.ACCORDION_TITLE,data:{value:{content:"Why use an accordion?"}},attributes:{"font-size":"13px",padding:"16px 16px 16px 16px"},children:[]};return B.merge(u,e)},validParentType:[p.ACCORDION],render(e){return y.createElement(G,{params:e,tag:"mj-accordion-title"},e.data.data.value.content)}},Ze={get name(){return I("Accordion text")},type:p.ACCORDION_TEXT,create:e=>{const u={type:p.ACCORDION_TEXT,data:{value:{content:"Because emails with a lot of content are most of the time a very bad experience on mobile, mj-accordion comes handy when you want to deliver a lot of information in a concise way"}},attributes:{"font-size":"13px",padding:"16px 16px 16px 16px","line-height":"1"},children:[]};return B.merge(u,e)},validParentType:[p.ACCORDION],render(e){return y.createElement(G,{params:e,tag:"mj-accordion-text"},e.data.data.value.content)}},Wu={get name(){return I("Accordion")},type:p.ACCORDION,validParentType:[p.COLUMN],create:e=>{const u={type:p.ACCORDION,data:{value:{}},attributes:{"icon-height":"32px","icon-width":"32px","icon-align":"middle","icon-position":"right","icon-unwrapped-url":X("IMAGE_09"),"icon-wrapped-url":X("IMAGE_10"),padding:"10px 25px 10px 25px",border:"1px solid #d9d9d9"},children:[Qe.create({children:[Ye.create({data:{value:{content:"Why use an accordion?"}}}),Ze.create({data:{value:{content:"Because emails with a lot of content are most of the time a very bad experience on mobile, mj-accordion comes handy when you want to deliver a lot of information in a concise way."}}})]}),Qe.create({children:[Ye.create({data:{value:{content:"How it works"}}}),Ze.create({data:{value:{content:"Content is stacked into tabs and users can expand them at will. If responsive styles are not supported (mostly on desktop clients), tabs are then expanded and your content is readable at once."}}})]})]};return ae(u,e)},render(e){return y.createElement(G,{params:e,tag:"mj-accordion"})}},Ku={get name(){return I("Table")},type:p.TABLE,create:e=>{const u={type:p.TABLE,data:{value:{content:""}},attributes:{},children:[]};return B.merge(u,e)},validParentType:[p.COLUMN],render(e){const{data:u}=e;return y.createElement(G,{params:e,tag:"mj-table"},u.data.value.content)}},it={[p.PAGE]:Ru,[p.SECTION]:qu,[p.COLUMN]:Su,[p.TEXT]:Nu,[p.IMAGE]:Lu,[p.GROUP]:Pu,[p.BUTTON]:Iu,[p.DIVIDER]:Uu,[p.WRAPPER]:Qt,[p.SPACER]:ju,[p.RAW]:$u,[p.CAROUSEL]:Vu,[p.HERO]:Mu,[p.NAVBAR]:Gu,[p.SOCIAL]:zu,[p.TEMPLATE]:Hu,[p.ACCORDION]:Wu,[p.ACCORDION_ELEMENT]:Qe,[p.ACCORDION_TITLE]:Ye,[p.ACCORDION_TEXT]:Ze,[p.TABLE]:Ku},at=Mt;function Yt(e){const u=Object.values(it).find(i=>i.type===e.baseType);if(!u)throw new Error(`Can not find ${e.baseType}`);return at({get name(){return u.name},type:e.type,validParentType:e.validParentType,create:i=>{const t=z(V({},u.create()),{type:e.type});return B.merge(t,i)},render:i=>{const{data:t,idx:a,mode:n,context:c,dataSource:o}=i,{iteration:l,condition:D}=t.data.value,d=(E,q)=>e.getContent({index:q,data:t,idx:E,mode:n,context:c,dataSource:o});let g=d(a,0);return n==="testing"?y.createElement(y.Fragment,null,y.createElement(y.Fragment,{key:"children"},g),new Array(((l==null?void 0:l.mockQuantity)||1)-1).fill(!0).map((E,q)=>y.createElement(y.Fragment,{key:q},d(a,q+1)))):(D&&D.enabled&&(g=Fe.generateTagTemplate("condition")(D,g)),l&&l.enabled&&(g=Fe.generateTagTemplate("iteration")(l,g)),g)}})}var Be=(e=>(e.TRUTHY="truthy",e.FALSY="falsy",e.EQUAL="==",e.NOT_EQUAL="!=",e.GREATER=">",e.GREATER_OR_EQUAL=">=",e.LESS="<",e.LESS_OR_EQUAL="<=",e))(Be||{}),Zt=(e=>(e.AND="and",e.OR="or",e))(Zt||{});function M({idx:e,value:u,type:i,attributes:t,children:a}){const{mode:n}=Jt(),c=K.getBlockByType(i);if(!c)throw new Error(`Can no find ${i}`);const o=y.useMemo(()=>typeof a=="string"?u?(B.set(u,"content",a),u):{content:a}:u,[a,u]);return y.createElement(y.Fragment,null,c.render({idx:e,mode:n,data:{type:c.type,data:{value:o},attributes:t,children:[]},children:a}))}function Xu(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.PAGE},e.children)}function eu(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.SECTION},e.children)}function tu(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.COLUMN},e.children)}function Ju(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.TEXT},e.children)}function Qu(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.IMAGE},e.children)}function Yu(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.GROUP},e.children)}function Zu(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.BUTTON},e.children)}function er(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.DIVIDER},e.children)}function tr(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.WRAPPER},e.children)}function ur(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.SPACER},e.children)}function _e(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.RAW},e.children)}function rr(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.ACCORDION},e.children)}function ir(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.ACCORDION_ELEMENT},e.children)}function ar(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.ACCORDION_TITLE},e.children)}function sr(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.ACCORDION_TEXT},e.children)}function nr(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.CAROUSEL},e.children)}function or(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.HERO},e.children)}function lr(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.NAVBAR},e.children)}function cr(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.SOCIAL},e.children)}function _r(e){return y.createElement(M,{attributes:B.omit(e,["data","children","value"]),value:e.value,type:p.TABLE},e.children)}function pr(e){return e.children}const hr=Object.freeze(Object.defineProperty({__proto__:null,Accordion:rr,AccordionElement:ir,AccordionText:sr,AccordionTitle:ar,BlockRenderer:re,Button:Zu,Carousel:nr,Column:tu,Divider:er,Group:Yu,Hero:or,Image:Qu,MjmlBlock:M,Navbar:lr,Page:Xu,Raw:_e,Section:eu,Social:cr,Spacer:ur,Table:_r,Template:pr,Text:Ju,Wrapper:tr},Symbol.toStringTag,{value:"Module"}));function ee(...e){return e.filter(u=>typeof u=="string").join(" ")}function uu(e,u){let i=-1;const t=K.getAutoCompletePath(e,u);return t?t.length+1:i}function st(){return"content"}function Re(e,u){return`${e}.children.[${u}]`}function nt(e){return`node-idx-${e}`}function Te(e){return`node-type-${e}`}function fr(e){var u;return(u=Array.from(e).find(i=>i.includes("node-idx-")))==null?void 0:u.replace("node-idx-","")}function dr(e){var u;return(u=Array.from(B.isString(e)?e.split(" "):e).find(i=>i.includes("node-type-")))==null?void 0:u.replace("node-type-","")}const ru=e=>{var u;return Number((u=/\.\[(\d+)\]$/.exec(e))==null?void 0:u[1])||0},ie=e=>{var u;if(e!==st())return(u=/(.*)\.children\.\[\d+\]$/.exec(e))==null?void 0:u[1]},gr=(e,u)=>B.get(e,u),iu=(e,u)=>B.get(e,ie(u)||""),mr=(e,u)=>e.replace(/\[(\d+)\]$/,(i,t)=>Number(t)+u<0?"[0]":`[${Number(t)+u}]`),br=(e,u,i)=>{if(!u)return null;let t=ie(u);for(;t;){const a=B.get(e,t);if(a&&a.type===i)return a;t=ie(u)}return null},Dr=(e,u,i)=>{let t=u;const a=K.getBlockByType(i);if(!a)return null;for(;t;){const n=B.get(e,t);if(uu(a.type,n.type)>0)return{parent:n,parentIdx:t};t=ie(t)}return null},Ar=(e,u,i)=>{let t="",a=u;for(;a;){const n=B.get(e,a);if(n&&n.type===i)return{insertIndex:t?ru(t):n.children.length-1,parentIdx:a,parent:n};t=a,a=ie(a)}return null},vr=e=>K.getBlocks().filter(u=>u.validParentType.includes(e));function ot(e,u){return ee("email-block",e&&nt(e),Te(u))}function J(e){return Yt(z(V({},e),{validParentType:[p.PAGE,p.WRAPPER,p.COLUMN,p.GROUP,p.HERO,k.WRAPPER,k.COLUMN,k.GROUP,k.HERO],getContent:u=>{const{data:i,idx:t,mode:a,context:n,index:c}=u,o=a==="testing"?ee(c===0&&t&&ot(t,i.type)):"",l=z(V({},i),{type:e.baseType,attributes:z(V({},i.attributes),{"css-class":ee(i.attributes["css-class"],o)})}),D=K.getBlockByType(l.type);if(!D)throw new Error(`Can not find ${l.type}`);const d=D==null?void 0:D.render(z(V({},u),{data:l,idx:t})),g=iu({content:n},t);return g&&(g.type===p.PAGE||g.type===p.WRAPPER||g.type===k.WRAPPER)?y.createElement(eu,{padding:"0px","text-align":"left"},y.createElement(tu,null,d)):d}}))}function pe(e){return Yt(z(V({},e),{getContent:u=>{const{data:i,idx:t,mode:a,index:n}=u,{iteration:c}=i.data.value,o=z(V({},i),{type:e.baseType});i.type===k.COLUMN&&(c!=null&&c.enabled)&&(i.attributes.width=i.attributes.width||"100%");const l=a==="testing"?ee(n===0&&t&&ot(t,i.type)):"";return y.createElement(re,{idx:null,data:z(V({},o),{attributes:z(V({},o.attributes),{"css-class":ee(i.attributes["css-class"],l)})})},o.children.map((D,d)=>y.createElement(re,z(V({key:d},u),{data:D,idx:t?Re(t,d):null}))))}}))}function Er(e){return at({get name(){return I("Table")},type:e.type,validParentType:[p.COLUMN],create:u=>{const i={type:e.type,data:{value:{tableSource:[[{content:"header1"},{content:"header2"},{content:"header3"}],[{content:"body1-1"},{content:"body1-2"},{content:"body1-3"}],[{content:"body2-1"},{content:"body2-2"},{content:"body2-3"}]]}},attributes:{cellBorderColor:"#000000",cellPadding:"8px","text-align":"center"},children:[]};return B.merge(i,u)},render:u=>{const{data:i}=u,{cellPadding:t,cellBorderColor:a}=i.attributes,n=i.attributes["text-align"],c=i.attributes["font-style"],o=i.data.value.tableSource.map((l,D)=>{const d=[];t&&d.push(`padding: ${t}`),a&&d.push(`border: 1px solid ${a}`);const g=l.map(E=>`<td rowspan="${E.rowSpan||1}" colspan="${E.colSpan||1}" style="${d.join(";")}; background-color:${E.backgroundColor};">${E.content}</td>`);return`<tr style="text-align:${n};font-style:${c};">${g.join(`
|
|
97
|
+
`)}</tr>`}).join(`
|
|
98
|
+
`);return y.createElement(G,{params:u,tag:"mj-table"},o)}})}const yr=J({type:k.TEXT,baseType:p.TEXT}),xr=J({type:k.BUTTON,baseType:p.BUTTON}),Cr=J({type:k.IMAGE,baseType:p.IMAGE}),wr=J({type:k.DIVIDER,baseType:p.DIVIDER}),Br=J({type:k.SPACER,baseType:p.SPACER}),Tr=J({type:k.NAVBAR,baseType:p.NAVBAR}),Fr=J({type:k.ACCORDION,baseType:p.ACCORDION}),kr=J({type:k.CAROUSEL,baseType:p.CAROUSEL}),Or=J({type:k.SOCIAL,baseType:p.SOCIAL}),Rr=Er({type:k.TABLE,baseType:p.TABLE}),qr=pe({type:k.WRAPPER,baseType:p.WRAPPER,validParentType:[p.PAGE]}),Sr=pe({type:k.SECTION,baseType:p.SECTION,validParentType:[p.PAGE,p.WRAPPER,k.WRAPPER]}),Nr=pe({type:k.GROUP,baseType:p.GROUP,validParentType:[p.SECTION,k.SECTION]}),Lr=pe({type:k.COLUMN,baseType:p.COLUMN,validParentType:[p.SECTION,k.SECTION,p.GROUP,k.GROUP]}),Pr=pe({type:k.HERO,baseType:p.HERO,validParentType:[p.WRAPPER,k.WRAPPER,p.PAGE]}),au={[k.TEXT]:yr,[k.BUTTON]:xr,[k.IMAGE]:Cr,[k.DIVIDER]:wr,[k.SPACER]:Br,[k.NAVBAR]:Tr,[k.ACCORDION]:Fr,[k.CAROUSEL]:kr,[k.SOCIAL]:Or,[k.TABLE]:Rr,[k.WRAPPER]:qr,[k.SECTION]:Sr,[k.GROUP]:Nr,[k.COLUMN]:Lr,[k.HERO]:Pr};class K{static setAutoCompletePath(){const u={},i=(t,a,n)=>{const c=this.getBlockByType(t);if(!c)throw new Error(`Can you register ${t} block`);const o=[...n,t];return c.validParentType.length===0&&a.push(o),c.validParentType.map(l=>i(l,a,o))};return Object.values(this.blocksMap).forEach(t=>{u[t.type]=[],i(t.type,u[t.type],[])}),u}static getBlocks(){return Object.values(this.blocksMap)}static registerBlocks(u){this.blocksMap=V(V({},this.blocksMap),u),this.autoCompletePath=this.setAutoCompletePath()}static getBlockByType(u){return this.blocksMap[u]}static getBlocksByType(u){return u.map(i=>Object.values(this.blocksMap).find(a=>a.type===i))}static getAutoCompleteFullPath(){return Object.keys(this.autoCompletePath).length===0&&(this.autoCompletePath=this.setAutoCompletePath()),this.autoCompletePath}static getAutoCompletePath(u,i){const t=this.getBlockByType(u);if(!t)throw new Error(`Can you register ${u} block`);if(t.validParentType.includes(i))return[];const a=this.getAutoCompleteFullPath()[u].find(c=>c.filter((o,l)=>l!==0).includes(i));if(!a)return null;const n=a.findIndex(c=>c===i);return a.slice(1,n)}}Z(K,"blocksMap",V(V({},it),au)),Z(K,"autoCompletePath",{});function Ir(e){try{if(e.attributes&&e.children&&e.data&&e.type&&K.getBlockByType(e.type))return!0}catch(u){}return!1}function Ur(e){return JSON.parse(B.unescape(jt.renderToStaticMarkup(e)))}function jr(e,u){const i=K.getBlockByType(e);if(i)try{const t=i.create(u);return t.data||(t.data={value:{}}),t.data.value||(t.data.value={}),t.attributes||(t.attributes={}),Array.isArray(t.children)||(t.children=[]),t}catch(t){throw console.error(`Error creating block ${e}:`,t),new Error(`Failed to create block \`${e}\`: ${t instanceof Error?t.message:String(t)}`)}throw new Error(`No match \`${e}\` block`)}function Vr(e,u){return y.createElement(y.Fragment,null,y.createElement(_e,null,`
|
|
99
|
+
<!-- htmlmin:ignore -->
|
|
100
|
+
{% for ${e.itemName} in ${e.dataSource} ${e.limit?`limit:${e.limit}`:""} %}
|
|
101
|
+
<!-- htmlmin:ignore -->
|
|
102
|
+
`),u,y.createElement(_e,null," <!-- htmlmin:ignore -->{% endfor %} <!-- htmlmin:ignore -->"))}function Mr(e,u){const{symbol:i,groups:t}=e,a=D=>D.operator===Be.TRUTHY?D.left:D.operator===Be.FALSY?`${D.left} == nil or ${D.left} == false`:D.left+" "+D.operator+" "+(B.isNumber(D.right)?D.right:`"${D.right}"`),n=_u.v4(),c=t.map((D,d)=>`con_${d}_${n}`),o=t.map((D,d)=>`{% assign ${c[d]} = ${D.groups.map(a).join(` ${D.symbol} `)} %}`).join(`
|
|
103
|
+
`),l=c.join(` ${i} `);return y.createElement(y.Fragment,null,y.createElement(_e,null,`
|
|
104
|
+
<!-- htmlmin:ignore -->
|
|
105
|
+
${o}
|
|
106
|
+
{% if ${l} %}
|
|
107
|
+
<!-- htmlmin:ignore -->
|
|
108
|
+
`),u,y.createElement(_e,null,`
|
|
109
|
+
<!-- htmlmin:ignore -->
|
|
110
|
+
{% endif %}
|
|
111
|
+
<!-- htmlmin:ignore -->
|
|
112
|
+
`))}class Fe{static setTag(u){this.tags[u.name]=u.templateGenerateFn}static generateTagTemplate(u){return this.tags[u]}}Z(Fe,"tags",{iteration:Vr,condition:Mr});function Gr(e){return Object.values(k).includes(e)}function ke(e){const{data:u,idx:i}=e,t=e.mode==="testing",a=V({},u.attributes),n=t?e.keepClassName:!1;t&&i&&(a["css-class"]=ee(a["css-class"],Vt,nt(i),Te(u.type))),n&&(a["css-class"]=ee(a["css-class"],Te(u.type)));let c="";for(let o in a){const D=a[o];typeof D=="boolean"?c+=`${o}="${D.toString()}" `:B.isString(D)&&D&&(c+=`${o}="${D.replace(/"/gm,"")}" `)}return c}exports.AdvancedType=k;exports.BasicType=p;exports.BlockManager=K;exports.EMAIL_BLOCK_CLASS_NAME=Vt;exports.I18nManager=we;exports.ImageManager=ce;exports.JsonToMjml=ku;exports.MERGE_TAG_CLASS_NAME=pu;exports.Operator=Be;exports.OperatorSymbol=Zt;exports.TemplateEngineManager=Fe;exports.advancedBlocks=au;exports.ancestorOf=uu;exports.components=hr;exports.createBlock=Mt;exports.createBlockDataByType=jr;exports.createCustomBlock=at;exports.getAdapterAttributesString=ke;exports.getChildIdx=Re;exports.getIndexByIdx=ru;exports.getNodeIdxClassName=nt;exports.getNodeIdxFromClassName=fr;exports.getNodeTypeClassName=Te;exports.getNodeTypeFromClassName=dr;exports.getPageIdx=st;exports.getParenRelativeByType=Ar;exports.getParentByIdx=iu;exports.getParentByType=br;exports.getParentIdx=ie;exports.getPreviewClassName=ot;exports.getSameParent=Dr;exports.getSiblingIdx=mr;exports.getValidChildBlocks=vr;exports.getValueByIdx=gr;exports.isAdvancedBlock=Gr;exports.isValidBlockData=Ir;exports.mergeBlock=ae;exports.parseReactBlockToBlockData=Ur;exports.standardBlocks=it;exports.t=I;
|
|
113
|
+
//# sourceMappingURL=index.cjs.js.map
|