@limetech/lime-elements 40.6.3 → 40.7.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/CHANGELOG.md +9 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-file-viewer.cjs.entry.js +71 -30
- package/dist/cjs/limel-markdown.cjs.entry.js +2 -2
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-tab-bar.cjs.entry.js +37 -14
- package/dist/cjs/limel-tab-panel.cjs.entry.js +7 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{markdown-exporter-C-UW43FF.js → markdown-exporter-VtX_2D1d.js} +40 -11
- package/dist/cjs/{markdown-parser-ssDij8_l.js → markdown-parser-BYtTHL4W.js} +11 -3
- package/dist/collection/components/tab-bar/tab-bar.css +79 -27
- package/dist/collection/components/tab-bar/tab-bar.js +60 -15
- package/dist/collection/components/tab-panel/tab-panel.css +9 -0
- package/dist/collection/components/tab-panel/tab-panel.js +27 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-file-viewer.entry.js +71 -30
- package/dist/esm/limel-markdown.entry.js +2 -2
- package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
- package/dist/esm/limel-tab-bar.entry.js +37 -14
- package/dist/esm/limel-tab-panel.entry.js +7 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{markdown-exporter-DblYRMhY.js → markdown-exporter-tb8ft8Gq.js} +40 -11
- package/dist/esm/{markdown-parser-CAPDx7i8.js → markdown-parser-DFP65EFu.js} +11 -3
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-14a28a08.entry.js +1 -0
- package/dist/lime-elements/p-1740cb87.entry.js +1 -0
- package/dist/lime-elements/{p-22fd1c87.entry.js → p-21ab902a.entry.js} +1 -1
- package/dist/lime-elements/{p-05038bbb.entry.js → p-91a572c8.entry.js} +1 -1
- package/dist/lime-elements/p-Bgn2bikC.js +1 -0
- package/dist/lime-elements/p-C0wwdPYT.js +7 -0
- package/dist/lime-elements/p-aa897903.entry.js +1 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +17 -4
- package/dist/types/components/tab-panel/tab-panel.d.ts +6 -0
- package/dist/types/components.d.ts +48 -10
- package/package.json +4 -4
- package/dist/lime-elements/p-2e33d2a4.entry.js +0 -1
- package/dist/lime-elements/p-Bvyt2bmV.js +0 -1
- package/dist/lime-elements/p-I0PrvthC.js +0 -7
- package/dist/lime-elements/p-a550ba18.entry.js +0 -1
- package/dist/lime-elements/p-b35a912c.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as r,F as i,a as s}from"./p-BU9IJqli.js";import{t as o}from"./p-B3YP9GOq.js";import{d as a,u as n,r as l,a as c,v as u,b as h}from"./p-_UXAljNc.js";import{I as f}from"./p-N9vxZMhe.js";import"./p-ChagAaNf.js";import"./p-B85MJLTf.js";function p(e,t){const r=e||t;return r&&{pdf:"pdf",jpg:"image",jpeg:"image",heic:"image",bmp:"image",png:"image",gif:"image",svg:"image",svgz:"image",ep:"image",eps:"image",avi:"video",flv:"video",h264:"video",mov:"video",mp4:"video",mwv:"video",mkv:"video",mp3:"audio",wav:"audio",wma:"audio",ogg:"audio",txt:"text",json:"text",html:"text",xml:"text",eml:"email",doc:"office",docx:"office",odt:"office",dot:"office",dotx:"office",docm:"office",dotm:"office",pot:"office",ppt:"office",pptx:"office",odp:"office",potx:"office",potm:"office",pps:"office",ppsx:"office",ppsm:"office",pptm:"office",ppam:"office",pages:"office",xls:"office",xlsx:"office",xlsm:"office",xlsb:"office",ods:"office",csv:"office",numbers:"office"}[r.split(".").pop().toLowerCase()]||"unknown"}class d{constructor(e){this.requestFullscreen=()=>{this.enter&&this.enter()},this.exitFullscreen=()=>{this.exit&&this.exit.bind(window.document)()},this.toggle=()=>{const e=window.document;e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?this.exitFullscreen():this.requestFullscreen()},this.enter=e.requestFullscreen||e.msRequestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullscreen,this.enter&&(this.enter=this.enter.bind(e));const t=window.document;this.exit=t.exitFullscreen||t.msExitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen}isSupported(){return!!this.enter}}const m=new TextEncoder,g=new Uint8Array(256);for(let e=0;e<64;e++)g["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e)]=e;function b(e){let t=e.length;for(;t>0&&"="===e.charAt(t-1);)t--;t%4==1&&t--;const r=t%4,i=3*Math.floor(t/4)+(r?r-1:0),s=new ArrayBuffer(i),o=new Uint8Array(s);let a=0;for(let r=0;r<t;r+=4){let t=g[e.charCodeAt(r)],s=g[e.charCodeAt(r+1)],n=g[e.charCodeAt(r+2)],l=g[e.charCodeAt(r+3)];o[a++]=t<<2|s>>4,a<i&&(o[a++]=(15&s)<<4|n>>2),a<i&&(o[a++]=(3&n)<<6|63&l)}return s}const w=new Map([["iso88598i","iso-8859-8"],["iso88598e","iso-8859-8"],["shiftjis","shift_jis"],["windows31j","shift_jis"],["mskanji","shift_jis"],["eucjp","euc-jp"],["iso2022jp","iso-2022-jp"],["iso2022jp1","iso-2022-jp"],["iso2022jp2","iso-2022-jp"],["junet","iso-2022-jp"],["euckr","euc-kr"],["uhc","euc-kr"],["tis620","windows-874"]]),v=new Map([["932","shift_jis"],["936","gbk"],["949","euc-kr"],["950","big5"],["874","windows-874"],["51932","euc-jp"],["50220","iso-2022-jp"],["50221","iso-2022-jp"],["50222","iso-2022-jp"]]),y=/^(?:cp|windows|ms|ibm)(\d+)$/,x=new Set(["unicode-1-1-utf-8 unicode11utf8 unicode20utf8 utf-8 utf8 x-unicode20utf8","866 cp866 csibm866 ibm866","csisolatin2 iso-8859-2 iso-ir-101 iso8859-2 iso88592 iso_8859-2 iso_8859-2:1987 l2 latin2","csisolatin3 iso-8859-3 iso-ir-109 iso8859-3 iso88593 iso_8859-3 iso_8859-3:1988 l3 latin3","csisolatin4 iso-8859-4 iso-ir-110 iso8859-4 iso88594 iso_8859-4 iso_8859-4:1988 l4 latin4","csisolatincyrillic cyrillic iso-8859-5 iso-ir-144 iso8859-5 iso88595 iso_8859-5 iso_8859-5:1988","arabic asmo-708 csiso88596e csiso88596i csisolatinarabic ecma-114 iso-8859-6 iso-8859-6-e","iso-8859-6-i iso-ir-127 iso8859-6 iso88596 iso_8859-6 iso_8859-6:1987","csisolatingreek ecma-118 elot_928 greek greek8 iso-8859-7 iso-ir-126 iso8859-7 iso88597 iso_8859-7","iso_8859-7:1987 sun_eu_greek","csiso88598e csisolatinhebrew hebrew iso-8859-8 iso-8859-8-e iso-ir-138 iso8859-8 iso88598 iso_8859-8","iso_8859-8:1988 visual","csiso88598i iso-8859-8-i logical","csisolatin6 iso-8859-10 iso-ir-157 iso8859-10 iso885910 l6 latin6","iso-8859-13 iso8859-13 iso885913","iso-8859-14 iso8859-14 iso885914","csisolatin9 iso-8859-15 iso8859-15 iso885915 iso_8859-15 l9","iso-8859-16","cskoi8r koi koi8 koi8-r koi8_r","koi8-ru koi8-u","csmacintosh mac macintosh x-mac-roman","dos-874 iso-8859-11 iso8859-11 iso885911 tis-620 windows-874","cp1250 windows-1250 x-cp1250","cp1251 windows-1251 x-cp1251","ansi_x3.4-1968 ascii cp1252 cp819 csisolatin1 ibm819 iso-8859-1 iso-ir-100 iso8859-1 iso88591","iso_8859-1 iso_8859-1:1987 l1 latin1 us-ascii windows-1252 x-cp1252","cp1253 windows-1253 x-cp1253","cp1254 csisolatin5 iso-8859-9 iso-ir-148 iso8859-9 iso88599 iso_8859-9 iso_8859-9:1989 l5 latin5","windows-1254 x-cp1254","cp1255 windows-1255 x-cp1255","cp1256 windows-1256 x-cp1256","cp1257 windows-1257 x-cp1257","cp1258 windows-1258 x-cp1258","x-mac-cyrillic x-mac-ukrainian","chinese csgb2312 csiso58gb231280 gb2312 gb_2312 gb_2312-80 gbk iso-ir-58 x-gbk","gb18030","big5 big5-hkscs cn-big5 csbig5 x-x-big5","cseucpkdfmtjapanese euc-jp x-euc-jp","csiso2022jp iso-2022-jp","csshiftjis ms932 ms_kanji shift-jis shift_jis sjis windows-31j x-sjis","cseuckr csksc56011987 euc-kr iso-ir-149 korean ks_c_5601-1987 ks_c_5601-1989 ksc5601 ksc_5601","windows-949","csiso2022kr hz-gb-2312 iso-2022-cn iso-2022-cn-ext iso-2022-kr replacement","unicodefffe utf-16be","csunicode iso-10646-ucs-2 ucs-2 unicode unicodefeff utf-16 utf-16le","x-user-defined"].join(" ").split(" ")),q=new Map;function k(e){if(!x.has(e))return null;let t=q.get(e);if(void 0===t){t=null;try{t=new TextDecoder(e)}catch{}q.set(e,t)}return t}const E=new TextDecoder;function A(e){const t=k(e=(e||"utf8").trim().toLowerCase());if(t)return t;const r=function(e){return e.replace(/^(?:x-ms-|x-|cs)/,"").replace(/[\s._-]+/g,"")}(e),i=r.match(y);return k(i&&v.get(i[1])||w.get(r)||r)||k("windows-1252")||E}async function D(e){if("arrayBuffer"in e)return await e.arrayBuffer();const t=new FileReader;return new Promise(((r,i)=>{t.onload=()=>{r(t.result)},t.onerror=()=>{i(t.error)},t.readAsArrayBuffer(e)}))}function S(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-97+10:e>=65&&e<=70?e-65+10:-1}function L(e,t,r){let i,s=e.indexOf("*");if(s>=0&&(e=e.slice(0,s)),"Q"===(t=t.toUpperCase())){r=r.replace(/=\s+([0-9a-fA-F])/g,"=$1").replace(/[_\s]/g," ");let e=m.encode(r),t=[];for(let r=0,i=e.length;r<i;r++){let s=e[r];if(r<=i-2&&61===s){let i=S(e[r+1]),s=S(e[r+2]);if(i>=0&&s>=0){t.push(i<<4|s),r+=2;continue}}t.push(s)}i=new ArrayBuffer(t.length);let s=new DataView(i);for(let e=0,r=t.length;e<r;e++)s.setUint8(e,t[e])}else i="B"===t?b(r.replace(/[^a-zA-Z0-9\+\/=]+/g,"")):m.encode(r);return A(e).decode(i)}const T="=\\?([^?\\s]+)\\?([QqBb])\\?([^?]*)\\?=",j=new RegExp(T,"g"),N=/^[ \t\r\n]+$/,R=new RegExp(`^(?:${T}\\s*)+$`);function U(e,t){const r=e.encoding.toUpperCase();return e.charset===t.charset&&r===t.encoding.toUpperCase()&&("B"!==r||e.encodedText.length%4==0&&!/=$/.test(e.encodedText))}function B(e,t){let r="",i=null;for(let s=0;s<e.length;s++){const o=e[s];if(void 0===o.text)i&&t&&U(i,o)?i.encodedText+=o.encodedText:(i&&(r+=L(i.charset,i.encoding,i.encodedText)),i={charset:o.charset,encoding:o.encoding,encodedText:o.encodedText});else{const t=e[s+1];if(i&&t&&void 0===t.text&&N.test(o.text))continue;i&&(r+=L(i.charset,i.encoding,i.encodedText),i=null),r+=o.text}}return i&&(r+=L(i.charset,i.encoding,i.encodedText)),r}function C(e){const t=function(e){const t=[];j.lastIndex=0;let r,i=0;for(;r=j.exec(e);)r.index>i&&t.push({text:e.substring(i,r.index)}),t.push({charset:r[1],encoding:r[2],encodedText:r[3]}),i=r.index+r[0].length;return i<e.length&&t.push({text:e.substring(i)}),t}((e||"").toString()),r=B(t,!0);return r.indexOf("�")<0?r:B(t,!1)}function $(e,t){t=t||"utf-8";let r=[];for(let t=0;t<e.length;t++){let i=e.charAt(t);const s="%"===i?S(e.charCodeAt(t+1)):-1,o=s>=0?S(e.charCodeAt(t+2)):-1;if(o>=0)r.push(s<<4|o),t+=2;else if(i.charCodeAt(0)>126){const e=m.encode(i);for(let t=0;t<e.length;t++)r.push(e[t])}else r.push(i.charCodeAt(0))}const i=new ArrayBuffer(r.length),s=new DataView(i);for(let e=0,t=r.length;e<t;e++)s.setUint8(e,r[e]);return A(t).decode(i)}class V{constructor(){this.chunks=[]}update(e){this.chunks.push(e),this.chunks.push("\n")}finalize(){return D(new Blob(this.chunks,{type:"application/octet-stream"}))}}class z{constructor(e){this.decoder=(e=e||{}).decoder||new TextDecoder,this.maxChunkSize=102400,this.chunks=[],this.remainder=""}pushChunk(e){e.length&&this.chunks.push(b(e))}flushRemainder(){this.pushChunk(this.remainder),this.remainder=""}update(e){const t=this.decoder.decode(e).replace(/[^a-zA-Z0-9+/=]+/g,"").split(/=+/);for(let e=0;e<t.length;e++)this.remainder+=t[e],e<t.length-1&&this.flushRemainder();if(this.remainder.length>=this.maxChunkSize){const e=4*Math.floor(this.remainder.length/4);this.pushChunk(this.remainder.substring(0,e)),this.remainder=this.remainder.substring(e)}}finalize(){return this.flushRemainder(),D(new Blob(this.chunks,{type:"application/octet-stream"}))}}class I{constructor(){this.maxChunkSize=102400,this.buffer=new Uint8Array(this.maxChunkSize),this.bufferPos=0,this.chunks=[]}writeByte(e){this.bufferPos>=this.buffer.length&&this.flushBuffer(),this.buffer[this.bufferPos++]=e}writeBytes(e,t,r){for(;t<r;){this.bufferPos>=this.buffer.length&&this.flushBuffer();const i=Math.min(r-t,this.buffer.length-this.bufferPos);this.buffer.set(e.subarray(t,t+i),this.bufferPos),this.bufferPos+=i,t+=i}}flushBuffer(){this.bufferPos&&(this.chunks.push(this.buffer.slice(0,this.bufferPos)),this.bufferPos=0)}update(e){let t=e.length;const r=t>0&&61===e[t-1];r&&t--;let i=0;for(let r=0;r<t;r++){if(61!==e[r]||r+2>=t)continue;const s=S(e[r+1]),o=S(e[r+2]);s<0||o<0||(this.writeBytes(e,i,r),this.writeByte(s<<4|o),r+=2,i=r+1)}this.writeBytes(e,i,t),r||this.writeByte(10)}finalize(){return this.flushBuffer(),D(new Blob(this.chunks,{type:"application/octet-stream"}))}}const _=new TextDecoder("utf-8",{ignoreBOM:!0}),O=e=>32===e||9===e,G=e=>{let t=0,r=e.length;for(;t<r&&O(e.charCodeAt(t));)t++;for(;r>t&&O(e.charCodeAt(r-1));)r--;return e.slice(t,r)},H=new Set(["content-type","content-transfer-encoding","content-disposition","content-id","content-description"]);class M{constructor(e){if(this.options=e,this.postalMime=e.postalMime,this.childNodes=[],this.finalizedChildCount=0,e.parentNode){if(this.parentNode=e.parentNode,this.depth=this.parentNode.depth+1,this.depth>e.maxNestingDepth)throw new Error(`Maximum MIME nesting depth of ${e.maxNestingDepth} levels exceeded`);e.parentNode.childNodes.push(this)}else this.depth=0;this.state="header",this.headerLines=[];const t="digest"===(e.parentMultipartType||null)?"message/rfc822":"text/plain";this.contentType={value:t,parsed:{value:t,params:{}},multipart:!1},this.contentTransferEncoding={value:"8bit",encoding:""},this.contentDisposition={value:"",parsed:{value:"",params:{}}},this.headers=[],this.rawHeaderLines=[],this.contentDecoder=null,this.content=null}setupContentDecoder(e){this.contentDecoder=/base64/i.test(e)?new z:/quoted-printable/i.test(e)?new I:new V}async finalize(){if("finished"===this.state)return;"header"===this.state&&this.processHeaders();let e=this.postalMime.boundaries;for(let t=e.length-1;t>=0;t--)if(e[t].node===this){e.splice(t,1);break}await this.finalizeChildNodes(),this.content=this.contentDecoder?await this.contentDecoder.finalize():null,this.contentDecoder=null,this.state="finished"}async finalizeChildNodes(){for(;this.finalizedChildCount<this.childNodes.length;)await this.childNodes[this.finalizedChildCount++].finalize()}stripComments(e){let t="",r=0,i=!1,s=!1,o=-1,a=!1,n=!1;const l=e=>{t+=e,n=" "===e||"\t"===e};for(let c=0;c<e.length;c++){const u=e.charAt(c);if(i)0===r&&l(u),i=!1;else if("\\"!==u)if('"'!==u||0!==r){if(!s){if("("===u&&(!a||!t.length||n)){0===r&&(o=c),r++;continue}if(")"===u&&r>0){r--;continue}0===r&&("="===u?a=!0:";"===u&&(a=!1))}0===r&&l(u)}else s=!s,l(u);else i=!0,0===r&&l(u)}return 0===r||e.indexOf(";",o)<0?t:e}parseStructuredHeader(e){e=this.stripComments(e);let t,r={value:"",params:{}},i=!1,s="",o="value",a="",n=!1,l=!1,c=!1;const u=e=>{s.length&&(s+=a),a="",s+=e},h=()=>{const e=s;return s="",a="",n=!1,e},f=(e,t)=>{Object.prototype.hasOwnProperty.call(r.params,e)||(r.params[e]=t)},p=()=>{const e=h();!1===i?r.value=e:f(i,e)},d=()=>{const e=h().trim();e&&f(e.toLowerCase(),"")};for(let r=0,f=e.length;r<f;r++)switch(t=e.charAt(r),o){case"key":if("="===t){i=h().trim().toLowerCase(),o="value";break}if(";"===t){d();break}s+=t;break;case"value":if(c)u(t);else{if(l&&"\\"===t){c=!0;continue}l&&t===l?(l=!1,n=!0):l||'"'!==t?l||";"!==t?l||" "!==t&&"\t"!==t?n||u(t):a+=t:(p(),o="key"):(l=t,s.length&&(s+=a),a="")}c=!1}return"value"===o?p():d(),r.value&&(r.value=r.value.toLowerCase()),function(e){let t=new Map;Object.keys(e.params).forEach((r=>{let i=r.match(/\*((\d+)\*?)?$/);if(!i)return;let s=r.slice(0,i.index).toLowerCase(),o=Number(i[2])||0,a=t.get(s);a||(a={charset:null,values:[]},t.set(s,a));let n=e.params[r],l="*"===i[0].charAt(i[0].length-1);0===o&&l&&(i=n.match(/^([^']*)'[^']*'(.*)$/))&&(a.charset=i[1]||"utf-8",n=i[2]),a.values.push({nr:o,value:n,encoded:l}),delete e.params[r]})),t.forEach(((t,r)=>{let i="",s="";for(let e of t.values.sort(((e,t)=>e.nr-t.nr)))e.encoded?s+=e.value:(s&&(i+=$(s,t.charset),s=""),i+=e.value);s&&(i+=$(s,t.charset)),e.params[r]=i}))}(r),r}decodeFlowedText(e,t){const r=[];let i=0,s=0;const o=e.split(/\r?\n/);for(let e=0;e<o.length;e++){let a=o[e];if(" "===a.charAt(0)&&(a=a.slice(1)),e){const e=r.length?r[r.length-1]:"",o=3===s&&"-- "===r.slice(i).join("");e.endsWith(" ")&&!o?t&&(e.length>1?r[r.length-1]=e.slice(0,-1):r.pop(),s--):(r.push("\n"),i=r.length,s=0)}a&&(r.push(a),s+=a.length)}return r.join("")}getTextContent(){if(!this.content)return"";let e=A(this.contentType.parsed.params.charset).decode(this.content);return/^flowed$/i.test(this.contentType.parsed.params.format)&&(e=this.decodeFlowedText(e,/^yes$/i.test(this.contentType.parsed.params.delsp))),e}processHeaders(){let e=[];for(let t of this.headerLines)e.length&&/^[ \t]/.test(t)?e[e.length-1].push(t):e.push([t]);let t=new Set;for(let r of e){let e=r.join("\n"),i=e.indexOf(":"),s=G(i<0?e:e.slice(0,i));this.rawHeaderLines.push({key:s.toLowerCase(),line:e});let o=r.join("");i=o.indexOf(":");let a=G(i<0?o:o.slice(0,i)),n=i<0?"":G(o.slice(i+1).replace(/[\r\n]+/g," "));this.headers.push({key:a.toLowerCase(),originalKey:a,value:n});const l=a.toLowerCase();if(H.has(l)&&!t.has(l))switch(t.add(l),l){case"content-type":this.contentType.value=n;break;case"content-transfer-encoding":this.contentTransferEncoding.value=n;break;case"content-disposition":this.contentDisposition.value=n;break;case"content-id":this.contentId=n;break;case"content-description":this.contentDescription=n}}this.contentType.parsed=this.parseStructuredHeader(this.contentType.value),this.contentType.multipart=!!/^multipart\//i.test(this.contentType.parsed.value)&&this.contentType.parsed.value.slice(this.contentType.parsed.value.indexOf("/")+1),this.contentType.multipart&&this.contentType.parsed.params.boundary&&this.postalMime.boundaries.push({value:m.encode(this.contentType.parsed.params.boundary),node:this}),this.contentDisposition.parsed=this.parseStructuredHeader(this.contentDisposition.value),this.contentTransferEncoding.encoding=(this.stripComments(this.contentTransferEncoding.value).toLowerCase().match(/[\w-]+/)||[""])[0],this.setupContentDecoder(this.contentTransferEncoding.encoding)}feed(e){switch(this.state){case"header":if(!e.length)return this.state="body",void this.processHeaders();if(this.postalMime.headerSize+=e.length,this.postalMime.headerSize>this.options.maxHeadersSize)throw new Error(`Maximum header size of ${this.options.maxHeadersSize} bytes exceeded`);this.headerLines.push(_.decode(e));break;case"body":this.contentDecoder&&this.contentDecoder.update(e)}}}const P={"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":"\n","𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":"\t","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""};function F(e){return e.trim().replace(/[<>"'?&]/g,(e=>{let t=e.charCodeAt(0).toString(16);return t.length<2&&(t="0"+t),"&#x"+t.toUpperCase()+";"}))}const J=/[\n\r\u2028\u2029]/g;function Y(e,t){let r=1/0,i=null;return s=>((s<r||i&&s>i.index)&&(t.lastIndex=s,i=t.exec(e),r=s),i)}function Z(e,t,r){const i=e.lastIndexOf(">")+1;return e.slice(0,i).replace(t,r)+e.slice(i)}function Q(e,t,r,i){const s=[];let o=0,a=0;for(;;){t.lastIndex=a;const n=t.exec(e);if(!n)break;const l=n.index;r.lastIndex=l;const c=r.exec(e);if(c)s.push(e.slice(o,l),i(...c)),o=a=l+c[0].length;else{const t=e.indexOf(">",l);if(t<0)break;a=t+1}}return s.push(e.slice(o)),s.join("")}function K(e,t,r,i,s,o){const a=Y(e,/>/g),n=Y(e,i),l=Y(e,J),c=[];let u=0,h=0;for(;;){t.lastIndex=h;const i=t.exec(e);if(!i)break;const f=i.index;h=f+1;let p=f+i[0].length;if(r){const e=a(p);if(!e)break;p=e.index+1}const d=n(p);if(!d)break;const m=l(p);if(m&&m.index<d.index)continue;let g=d.index+d[0].length;if(s){const e=a(g);if(!e)break;g=e.index+1}c.push(e.slice(u,f),o),u=h=g}return c.push(e.slice(u)),c.join("")}function W(e,t){const r=e.search(J),i=Math.min(r<0?e.length:r,e.lastIndexOf(">"));let s,o=-1;for(t.lastIndex=0;(s=t.exec(e))&&s.index<i;)o=s.index;return o<0?e:e.slice(e.indexOf(">",o)+1)}function X(e,t){const r=function(e){return Math.max(e.lastIndexOf("\n"),e.lastIndexOf("\r"),e.lastIndexOf("\u2028"),e.lastIndexOf("\u2029"))}(e);t.lastIndex=r<0?0:e.lastIndexOf(">",r)+1;const i=t.exec(e);return i&&i.index<e.lastIndexOf(">")?e.slice(0,i.index):e}function ee(e){if("undefined"==typeof Intl)return e;const t=new Date(e);return isNaN(t.getTime())?e:new Intl.DateTimeFormat("default",{year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1}).format(t)}function te(e){let t=[],r=(e,i)=>{if(i&&t.push(", "),e.group){let i=";";t.push(`${e.name}:`),e.group.forEach(r),t.push(i)}else t.push(function(e){return(e.name?[e.name,`<${e.address}>`]:[e.address]).join(" ")}(e))};return e.forEach(r),t.join("")}function re(e){let t=[],r=(e,i)=>{if(i&&t.push('<span class="postal-email-address-separator">, </span>'),e.group){let i=`<span class="postal-email-address-group">${F(e.name)}:</span>`,s='<span class="postal-email-address-group">;</span>';t.push(i),e.group.forEach(r),t.push(s)}else t.push(function(e){return`<a href="mailto:${F(e.address)}" class="postal-email-address">${F(e.name||`<${e.address}>`)}</a>`}(e))};return e.forEach(r),t.join(" ")}const ie=/\s/,se=/^("(?:[^"\\]|\\[\s\S])*"@\S+)(?:\s+([\s\S]+))?$/,oe=/^[^@\s]+@[^@\s]+$/,ae=/^[^@\s]+@\S+$/,ne=/\s*\b[^@\s]+@[^\s]+\b\s*/y;function le(e){return 32===e||e>=9&&e<=13||160===e||5760===e||e>=8192&&e<=8202||8232===e||8233===e||8239===e||8287===e||12288===e||65279===e}function ce(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122||95===e}function ue(e,t){return ce(e.charCodeAt(t-1))!==ce(e.charCodeAt(t))}function he(e,t,r){for(let i=t;i<r;i++)if(64===e.charCodeAt(i))return i;return-1}function fe(e){const t=e.length;let r=0;for(;r<t;){for(;r<t&&le(e.charCodeAt(r));)r++;if(r>=t)break;const i=r;let s=r;for(;s<t&&!le(e.charCodeAt(s));)s++;let o=he(e,i,s);if(o>=0){let t=-1;for(let r=s;r>i;r--)if(ue(e,r)){t=r;break}let r=i;for(;t>=0&&o>=0;){if(o>r&&s>o+1&&t>o+1)for(let t=r;t<o;t++)if(ue(e,t)){if(t>i)return t;let r=i;for(;r>0&&le(e.charCodeAt(r-1));)r--;return r}r=o+1,o=he(e,r,s)}}r=s}return-1}function pe(e){const t=[];let r="",i="",s=0,o="",a="";for(let n=0,l=e.length;n<l;n++){const c=e.charAt(n);if(s)"\\"===c&&n<l-1?i+=e.charAt(++n):"("===c?(s++,i+=c):")"!==c||--s?i+=c:(t.push(i.trim()),i="","@"!==a&&"@"!==e.charAt(n+1)&&(r+=" ",a=" "));else{if(o){if("\\"===c&&'"'===o&&n<l-1){r+=c+e.charAt(++n),a=e.charAt(n);continue}c===o&&(o="")}else if('"'===c)o='"';else if("["===c)o="]";else if("("===c){s=1;continue}r+=c,a=c}}return s&&t.push(i.trim()),{address:r.trim(),comments:t.filter((e=>e))}}function de(e,t){let r,i,s=!1,o="text",a=[],n={address:[],comment:[],group:[],text:[],textWasQuoted:[]},l=!1;const c={address:"",comment:"",group:"",text:""};for(r=0,i=e.length;r<i;r++){let t=e[r],i=r?e[r-1]:null;if("operator"===t.type)switch(t.value){case"<":o="address",l=!1;break;case"(":o="comment",l=!1;break;case":":o="group",s=!0,l=!1;break;case'"':l=!l,o="text";break;default:o="text",l=!1}else if(t.value){const s=r>1?e[r-2]:null,a="operator"===i?.type&&'"'===i.value&&!!i.noBreak&&"operator"===s?.type&&'"'===s.value;"address"===o&&(t.value=t.value.replace(/^[^<]*<\s*/,"")),i&&i.noBreak&&n[o].length&&(")"!==i.value||"@"===c[o]||"@"===t.value.charAt(0))?(n[o][n[o].length-1]+=t.value,"text"===o&&l&&(n.textWasQuoted[n.textWasQuoted.length-1]=!0)):(n[o].push(t.value),"text"===o&&n.textWasQuoted.push(l||a)),c[o]=t.value.charAt(t.value.length-1)}}if(!n.text.length&&n.comment.length&&(n.text=n.comment,n.comment=[]),s){const e=n.text.join(" ");let r=[];n.group.length&&be(n.group.join(","),t+1).forEach((e=>{if(e.group)for(const t of e.group)r.push(t);else r.push(e)})),a.push({name:C(e),group:r})}else{const e=[],i=[];for(const t of n.address){if(t.indexOf("(")<0){i.push(t);continue}const r=pe(t);for(const t of r.comments)e.push(t);r.address&&i.push(r.address)}if(n.address=i,!n.address.length&&n.text.length){for(r=n.text.length-1;r>=0;r--)if(!n.textWasQuoted[r]&&oe.test(n.text[r])){n.address=n.text.splice(r,1),n.textWasQuoted.splice(r,1);break}if(!n.address.length)for(r=n.text.length-1;r>=0;r--)if(!n.textWasQuoted[r]){const e=n.text[r],t=fe(e);if(t>=0){ne.lastIndex=t;const i=ne.exec(e);if(i){n.address=[i[0].trim()],n.text[r]=(e.slice(0,t)+" "+e.slice(t+i[0].length)).trim();break}}n.text[r]=e.trim()}}!n.text.length&&n.comment.length&&(n.text=n.comment,n.comment=[]),n.address.length>1&&(n.text=n.text.concat(n.address.splice(1)));const s=!n.address.length&&n.textWasQuoted.some((e=>e));let o=n.text.join(" "),l=n.address.join(" ");if(!l&&(u=o.trim(),R.test(u))){const e=C(o);if(!s&&function(e){let t=-1,r=-1;for(let i=0;i<e.length;i++){const s=e.charAt(i);if("<"===s)t=i+1,r=-1;else if(">"===s){if(r>=0&&r<i-1)return!0;t=-1,r=-1}else"@"===s&&t>=0&&r<0&&i>t&&(r=i)}return!1}(e)){const r=be(e,t+1);if(r.length)return r}return[{address:"",name:e}]}s&&o.indexOf("@")>=0&&(l=function(e){const t=e.lastIndexOf("@");if(t<0)return e;const r=e.substring(0,t);return/^[^\s"(),:;<>@[\\\]]+$/.test(r)||/^"(?:[^"\\]|\\[\s\S])*"$/.test(r)?e:'"'+r.replace(/["\\]/g,"\\$&")+'"@'+e.substring(t+1)}(o),o=""),({address:l,text:o}=function(e,t){if(!ie.test(e))return{address:e,text:t};let r;const i=e.match(se);if(i){if(!i[2])return{address:e,text:t};e=i[1],r=[i[2]]}else{if(e.indexOf('"')>=0)return{address:e,text:t};const i=e.split(/\s+/);let s=i.findIndex((e=>oe.test(e)));if(s<0&&(s=i.findIndex((e=>ae.test(e)))),s<0)return{address:e,text:t};e=i.splice(s,1)[0],r=i}return{address:e,text:[t,...r].filter((e=>e)).join(" ")}}(l,o)),!o&&e.length&&(o=e.join(" "));const c=o||l||"",h={address:l||o||"",name:C(c)};h.address!==c&&h.address!==h.name||(h.address.match(/@/)?h.name="":h.address=""),a.push(h)}var u;return a}class me{constructor(e){this.str=(e||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=null,this.escaped=!1,this.inDomainLiteral=!1,this.afterAt=!1,this.list=[],this.operators={'"':'"',"(":")","<":">",",":"",":":";",";":""}}tokenize(){let e=[];for(let e=0,t=this.str.length;e<t;e++){let r=this.str.charAt(e),i=e<t-1?this.str.charAt(e+1):null;this.checkChar(r,i)}return this.list.forEach((t=>{t.value=(t.value||"").toString().trim(),t.value&&e.push(t)})),e}checkChar(e,t){if(this.escaped||this.operatorExpecting||(!this.inDomainLiteral&&"["===e&&this.afterAt?this.inDomainLiteral=!0:!this.inDomainLiteral||"]"!==e&&","!==e&&";"!==e||(this.inDomainLiteral=!1)),this.escaped);else{if(e===this.operatorExpecting)return this.node={type:"operator",value:e},t&&![" ","\t","\r","\n",",",";"].includes(t)&&(this.node.noBreak=!0),this.list.push(this.node),this.node=null,")"!==e&&(this.afterAt=!1),this.operatorExpecting="",void(this.escaped=!1);if(!(this.operatorExpecting||this.inDomainLiteral&&":"===e)&&e in this.operators)return this.node={type:"operator",value:e},this.list.push(this.node),this.node=null,"("!==e&&(this.afterAt=!1),this.operatorExpecting=this.operators[e],void(this.escaped=!1);if('"'===this.operatorExpecting&&"\\"===e)return void(this.escaped=!0)}this.node||(this.node={type:"text",value:""},this.list.push(this.node)),"\n"===e&&(e=" "),(e.charCodeAt(0)>=33||[" ","\t"].includes(e))&&(this.node.value+=e,this.operatorExpecting||" "===e||"\t"===e||(this.afterAt="@"===e)),this.escaped=!1}}const ge=50;function be(e,t){if(t>ge)return[];let r=new me(e).tokenize(),i=[],s=[];const o=[];r.forEach((e=>{"operator"!==e.type||","!==e.value&&";"!==e.value?s.push(e):(s.length&&i.push(s),s=[])})),s.length&&i.push(s);for(const e of i)for(const r of de(e,t))o.push(r);const a=[];for(let e=o.length-1;e>=0;e--){const t=o[e],r=a.length?a[a.length-1]:null;r&&""===t.address&&t.name&&!t.group&&r.address&&r.name?r.name=t.name+", "+r.name:a.push(t)}return a.reverse()}function we(e){return be(e,0)}function ve(e){let t="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(e),s=i.byteLength,o=s%3,a=s-o;let n,l,c,u,h;for(let e=0;e<a;e+=3)h=i[e]<<16|i[e+1]<<8|i[e+2],n=(16515072&h)>>18,l=(258048&h)>>12,c=(4032&h)>>6,u=63&h,t+=r[n]+r[l]+r[c]+r[u];return 1===o?(h=i[a],n=(252&h)>>2,l=(3&h)<<4,t+=r[n]+r[l]+"=="):2===o&&(h=i[a]<<8|i[a+1],n=(64512&h)>>10,l=(1008&h)>>4,c=(15&h)<<2,t+=r[n]+r[l]+r[c]+"="),t}function ye(e,t,r){return"subMessage"===e.type?"html"===t?function(e){let t=[];return e.from&&t.push(`<div class="postal-email-header-key">From</div><div class="postal-email-header-value">${re([e.from])}</div>`),e.subject&&t.push(`<div class="postal-email-header-key">Subject</div><div class="postal-email-header-value postal-email-header-subject">${F(e.subject)}</div>`),e.date&&t.push(`<div class="postal-email-header-key">Date</div><div class="postal-email-header-value postal-email-header-date" data-date="${F(e.date)}">${F(ee(e.date))}</div>`),e.to&&e.to.length&&t.push(`<div class="postal-email-header-key">To</div><div class="postal-email-header-value">${re(e.to)}</div>`),e.cc&&e.cc.length&&t.push(`<div class="postal-email-header-key">Cc</div><div class="postal-email-header-value">${re(e.cc)}</div>`),e.bcc&&e.bcc.length&&t.push(`<div class="postal-email-header-key">Bcc</div><div class="postal-email-header-value">${re(e.bcc)}</div>`),`<div class="postal-email-header">${t.length?'<div class="postal-email-header-row">':""}${t.join('</div>\n<div class="postal-email-header-row">')}${t.length?"</div>":""}</div>`}(e.value):function(e){let t=[];e.from&&t.push({key:"From",val:te([e.from])}),e.subject&&t.push({key:"Subject",val:e.subject}),e.date&&t.push({key:"Date",val:ee(e.date)}),e.to&&e.to.length&&t.push({key:"To",val:te(e.to)}),e.cc&&e.cc.length&&t.push({key:"Cc",val:te(e.cc)}),e.bcc&&e.bcc.length&&t.push({key:"Bcc",val:te(e.bcc)});let r=t.map((e=>e.key.length)).reduce(((e,t)=>t>e?t:e),0);const i=t.flatMap((e=>{let t=r-e.key.length,i=`${e.key}: ${" ".repeat(t)}`,s=`${" ".repeat(e.key.length+1)} ${" ".repeat(t)}`;return function(e,t){t=t||76;let r,i,s=0,o=(e=(e||"").toString()).length,a="";for(;s<o;){if(r=e.slice(s,s+t),r.length<t){a+=r;break}(i=r.match(/^[^\n\r]*(\r?\n|\r)/))?(r=i[0],a+=r,s+=r.length):((i=r.match(/(\s+)[^\s]*$/))&&i[0].length-(i[1]||"").length<r.length?r=r.slice(0,r.length-(i[0].length-(i[1]||"").length)):(i=e.slice(s+r.length).match(/^[^\s]+(\s*)/))&&(r+=i[0].slice(0,i[0].length-0)),a+=r,s+=r.length,s<o&&(a+="\r\n"))}return a}(e.val,80).split(/\r?\n/).map((e=>e.trim())).map(((e,t)=>`${t?s:i}${e}`))}));let s=i.map((e=>e.length)).reduce(((e,t)=>t>e?t:e),0),o="-".repeat(s);return`\n${o}\n${i.join("\n")}\n${o}\n`}(e.value):r?"html"===t?"<div>"+F(e.value).replace(/\n/g,"<br />")+"</div>":(i=Z(i=K(i=(i=e.value).replace(/\r?\n/g,""),/<!--/g,!1,/-->/g,!1," "),/<br\b[^>]*>/gi,"\n"),i=W(i=K(i=Z(i,/<\/?(p|div|table|tr|td|th)\b[^>]*>/gi,"\n\n"),/<script\b/gi,!0,/<\/script\b/gi,!0," "),/<body\b/gi),i=W(i,/<\/head\b/gi),i=X(i=W(i,/<!doctype\b/gi),/<\/body\b/gi),i=Z(i=Q(i=X(i,/<\/html\b/gi),/<a\b/gi,/<a\b[^>]*href\s*=\s*["']?([^\s"']+)[^>]*>/iy,((e,t)=>` (${t}) `)),/<\/?(span|em|i|strong|b|u|a)\b[^>]*>/gi,""),i=Z(i=Q(i,/<li\b/gi,/<li\b[^>]*>[\n\u0001\s]*/iy,(()=>"* ")),/<hr\b[^>]*>/g,"\n-------------\n"),function(e){return e.replace(/&(#\d+|#x[a-f0-9]+|[a-z]+\d*);?/gi,((e,t)=>{if("string"==typeof P[e])return P[e];if("#"!==t.charAt(0)||";"!==e.charAt(e.length-1))return e;let r;r="x"===t.charAt(1)?parseInt(t.slice(2),16):parseInt(t.slice(1),10);let i="";return r>=55296&&r<=57343||r>1114111?"�":(r>65535&&(r-=65536,i+=String.fromCharCode(r>>>10&1023|55296),r=56320|1023&r),i+=String.fromCharCode(r),i)}))}(i=(i=Z(i,/<[^>]*>/g," ")).replace(/\u0001/g,"\n").replace(/[ \t]+/g," ").replace(/^\s+$/gm,"").replace(/\n\n+/g,"\n\n").replace(/^\n+/,"\n").replace(/\n+$/,"\n"))):e.value;var i}function xe(e,t,r){if(null==e)return t;if("number"!=typeof e||!Number.isInteger(e)||e<0)throw new TypeError(`${r} must be a non-negative integer`);return e}class qe{static async parse(e,t){return new qe(t).parse(e)}constructor(e){this.options=e||{},this.mimeOptions={maxNestingDepth:xe(this.options.maxNestingDepth,256,"maxNestingDepth"),maxHeadersSize:xe(this.options.maxHeadersSize,2097152,"maxHeadersSize")},this.maxRfc822NestingDepth=xe(this.options.maxRfc822NestingDepth,10,"maxRfc822NestingDepth"),this.rfc822NestingDepth=0,this.root=this.currentNode=new M({postalMime:this,...this.mimeOptions}),this.boundaries=[],this.headerSize=0,this.textContent={},this.textMap=new Map,this.textTypes=new Set,this.attachments=[],this.forceRfc822Attachments=!1,this.attachmentEncoding=(this.options.attachmentEncoding||"").toString().replace(/[-_\s]/g,"").trim().toLowerCase()||"arraybuffer",this.started=!1}async finalize(){await this.root.finalize()}async processLine(e,t){let r=this.boundaries;if(r.length&&e.length>2&&45===e[0]&&45===e[1])for(let i=r.length-1;i>=0;i--){let s=r[i];if(e.length<s.value.length+2)continue;let o=!0;for(let t=0;t<s.value.length;t++)if(e[t+2]!==s.value[t]){o=!1;break}if(!o)continue;let a=s.value.length+2,n=!1;e.length>=s.value.length+4&&45===e[s.value.length+2]&&45===e[s.value.length+3]&&(n=!0,a=s.value.length+4);let l=!0;for(let t=a;t<e.length;t++)if(32!==e[t]&&9!==e[t]){l=!1;break}if(l)return n?(await s.node.finalize(),this.currentNode=s.node.parentNode||this.root):(await s.node.finalizeChildNodes(),this.currentNode=new M({postalMime:this,parentNode:s.node,parentMultipartType:s.node.contentType.multipart,...this.mimeOptions})),t?this.finalize():void 0}if(this.currentNode.feed(e),t)return this.finalize()}readLine(){let e=this.readPos,t=this.readPos;for(;this.readPos<this.av.length;){const r=this.av[this.readPos++];if(13!==r&&10!==r&&(t=this.readPos),10===r)return{bytes:new Uint8Array(this.buf,e,t-e),done:this.readPos>=this.av.length}}return{bytes:new Uint8Array(this.buf,e,t-e),done:this.readPos>=this.av.length}}addTextEntry(e,t,r){let i=this.textMap.get(e);i||(i={},this.textMap.set(e,i));const s=i[t]||[];i[t]=s,s.push(r),this.textTypes.add(t)}async collectNode(e,t,r){if(e.contentType.multipart)"alternative"===e.contentType.multipart?t=e:"related"===e.contentType.multipart&&(r=!0);else{const i=this.isInlineMessageRfc822(e),s=i&&this.rfc822NestingDepth>=this.maxRfc822NestingDepth;i&&!s?await this.collectSubMessage(e):this.isInlineTextNode(e)?this.addTextEntry(t||e,"text/html"===e.contentType.parsed.value?"html":"plain",{type:"text",value:e.getTextContent()}):e.content&&this.collectAttachment(e,e.content,r,s)}for(let i of e.childNodes)await this.collectNode(i,t,r)}async collectSubMessage(e){const t=new qe({...this.mimeOptions,maxRfc822NestingDepth:this.maxRfc822NestingDepth,attachmentEncoding:"arraybuffer"});t.rfc822NestingDepth=this.rfc822NestingDepth+1;const r=e.subMessage=await t.parse(e.content||new ArrayBuffer(0));!r.text&&r.html||this.addTextEntry(e,"plain",{type:"subMessage",value:r}),r.html&&this.addTextEntry(e,"html",{type:"subMessage",value:r}),t.textMap.forEach(((e,t)=>{this.textMap.set(t,e)}));for(let e of r.attachments)this.attachments.push(e)}collectAttachment(e,t,r,i){const s=e.contentDisposition.parsed.params.filename||e.contentType.parsed.params.name||null,o={filename:s?C(s):null,mimeType:e.contentType.parsed.value,disposition:e.contentDisposition.parsed.value||null};switch(r&&e.contentId&&!i&&(o.related=!0),i&&(o.rfc822DepthExceeded=!0),e.contentDescription&&(o.description=C(e.contentDescription)),e.contentId&&(o.contentId=e.contentId),e.contentType.parsed.value){case"text/calendar":case"application/ics":{e.contentType.parsed.params.method&&(o.method=e.contentType.parsed.params.method.toString().toUpperCase().trim());const t=e.getTextContent().replace(/\r?\n/g,"\n");let r=t.length;for(;r>0&&10===t.charCodeAt(r-1);)r--;o.content=m.encode(t.slice(0,r)+"\n");break}default:o.content=t}this.attachments.push(o)}renderTextContent(){const e={};this.textMap.forEach((t=>{this.textTypes.forEach((r=>{const i=e[r]||[];e[r]=i;const s=t[r],o=s||t["html"===r?"plain":"html"]||[];for(const e of o)i.push(ye(e,r,!s))}))})),Object.keys(e).forEach((t=>{this.textContent[t]=e[t].join("\n")}))}isInlineTextNode(e){if("attachment"===e.contentDisposition.parsed.value)return!1;switch(e.contentType.parsed.value){case"text/html":case"text/plain":return!0;default:return!1}}isInlineMessageRfc822(e){return!this.forceRfc822Attachments&&"message/rfc822"===e.contentType.parsed.value&&"inline"===(e.contentDisposition.parsed.value||(this.options.rfc822Attachments?"attachment":"inline"))}hasReportParts(){let e=!1,t=r=>{r.contentType.multipart||["message/delivery-status","message/feedback-report"].includes(r.contentType.parsed.value)&&(e=!0);for(let e of r.childNodes)t(e)};return t(this.root),e}async resolveStream(e){let t=0,r=[];const i=e.getReader();for(;;){const{done:e,value:s}=await i.read();if(e)break;r.push(s),t+=s.length}const s=new Uint8Array(t);let o=0;for(let e of r)s.set(e,o),o+=e.length;return s}async resolveInput(e){let t=e;var r;return(r=t)&&"function"==typeof r.getReader&&(t=await this.resolveStream(t)),t=t||new ArrayBuffer(0),"string"==typeof t&&(t=m.encode(t)),function(e){return e instanceof Blob||"[object Blob]"===Object.prototype.toString.call(e)}(t)&&(t=await D(t)),ArrayBuffer.isView(t)?t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength):t}buildMessage(){const e=this.root.headers,t={headers:e.map((e=>({key:e.key,originalKey:e.originalKey,value:e.value})))};for(const r of["from","sender"]){const i=e.find((e=>e.key===r));if(i&&i.value){const e=we(i.value);e&&e.length&&(t[r]=e[0])}}for(const[r,i]of[["delivered-to","deliveredTo"],["return-path","returnPath"]]){const s=e.find((e=>e.key===r));if(s&&s.value){const e=we(s.value);e&&e.length&&e[0].address&&(t[i]=e[0].address)}}for(const[r,i]of[["to","to"],["cc","cc"],["bcc","bcc"],["reply-to","replyTo"]]){const s=[];for(const t of e)if(t.key===r&&t.value)for(const e of we(t.value))s.push(e);s.length&&(t[i]=s)}for(const[r,i]of[["subject","subject"],["message-id","messageId"],["in-reply-to","inReplyTo"],["references","references"]]){const s=e.find((e=>e.key===r));s&&s.value&&(t[i]=C(s.value))}let r=e.find((e=>"date"===e.key));if(r){let e=new Date(r.value);t.date="Invalid Date"===e.toString()?r.value:e.toISOString()}return this.textContent.html&&(t.html=this.textContent.html),this.textContent.plain&&(t.text=this.textContent.plain),t.attachments=this.attachments,t.headerLines=this.root.rawHeaderLines.slice(),t}encodeAttachments(){switch(this.attachmentEncoding){case"arraybuffer":break;case"base64":for(let e of this.attachments)e.content&&"string"!=typeof e.content&&(e.content=ve(e.content),e.encoding="base64");break;case"utf8":{let e=new TextDecoder("utf8");for(let t of this.attachments)t.content&&"string"!=typeof t.content&&(t.content=e.decode(t.content),t.encoding="utf8");break}default:throw new Error("Unknown attachment encoding")}}async parse(e){if(this.started)throw new Error("Can not reuse parser, create a new PostalMime object");for(this.started=!0,this.buf=await this.resolveInput(e),this.av=new Uint8Array(this.buf),this.readPos=0;this.readPos<this.av.length;){const e=this.readLine();await this.processLine(e.bytes,e.done)}this.forceRfc822Attachments=Boolean(this.options.forceRfc822Attachments)||this.hasReportParts(),await this.collectNode(this.root,!1,!1),this.renderTextContent();const t=this.buildMessage();return this.encodeAttachments(),t}}var ke,Ee,Ae,De,Se,Le,Te;const je=new Set(["image/png","image/jpeg","image/jpg","image/gif","image/webp","image/bmp","image/x-icon","image/vnd.microsoft.icon"]);const Ne=null!==(Ee=null===(ke=a.protocols)||void 0===ke?void 0:ke.src)&&void 0!==Ee?Ee:[],Re=Object.assign(Object.assign({},a),{clobberPrefix:"",protocols:Object.assign(Object.assign({},a.protocols),{src:[...Ne,"data"]}),attributes:Object.assign(Object.assign({},a.attributes),{table:[...null!==(Ae=a.attributes.table)&&void 0!==Ae?Ae:[],"cellPadding","cellSpacing","border","dir","width","height"],font:["color","size","face"],meta:["charset","content","name"],colgroup:[...null!==(De=a.attributes.colgroup)&&void 0!==De?De:[],"span"],col:[...null!==(Se=a.attributes.col)&&void 0!==Se?Se:[],"width","span"],"*":[...null!==(Le=a.attributes["*"])&&void 0!==Le?Le:[],"style","className","id","dataRemoteSrc"]}),tagNames:[...null!==(Te=a.tagNames)&&void 0!==Te?Te:[],"html","head","body","title","meta","style","colgroup","col","center","font"]});function Ue(e){const t=[/behavior\s*:/gi,/expression\s*\(/gi,/-moz-binding\s*:/gi,/vbscript\s*:/gi,/javascript\s*:/gi];let r=e;for(const e of t)r=r.replaceAll(e,"");return r=r.replaceAll(/@import\s+(?:url\([^)]{0,2000}\)|[^;]{0,2000});?/gi,""),r=r.replaceAll(/url\(\s{0,50}(?:"([^"]{0,2000})"|'([^']{0,2000})'|([^"')\s]{1,2000}))\s{0,50}\)/gi,((e,t,r,i)=>{var s,o;return(e=>{const t=e.trim().toLowerCase();return!!(t.startsWith("data:")||t.startsWith("cid:")||t.startsWith("#"))||!t.startsWith("//")&&!/^[a-z][a-z0-9+.-]*:/i.test(t)})((null!==(o=null!==(s=null!=t?t:r)&&void 0!==s?s:i)&&void 0!==o?o:"").trim())?e:'url("")'})),r}async function Be(e){const t=await async function(e){try{const t=await fetch(e);if(!t.ok)throw new Error(`Failed to fetch email (${t.status} ${t.statusText})`);return await t.arrayBuffer()}catch(t){const r=t instanceof Error?t.message:String(t);throw new Error(`Failed to load email from ${e}: ${r}`,{cause:t})}}(e),r=await async function(e,t){try{return await qe.parse(t,{attachmentEncoding:"arraybuffer"})}catch(t){const r=t instanceof Error?t.message:String(t);throw new Error(`Failed to parse email from ${e}: ${r}`,{cause:t})}}(e,t),i={subject:r.subject||void 0,from:He(r.from),to:Ge(r.to),cc:Ge(r.cc),date:Ce(r,"date")||r.date||void 0},{attachments:s,cidUrlById:o}=function(e){const t=[],r=new Map,i=e.attachments||[];for(const e of i){const i=$e(e.contentId),o=Boolean(i)&&"attachment"!==e.disposition||e.related||"inline"===e.disposition,a=(s=e.content)instanceof ArrayBuffer?new Uint8Array(s):ArrayBuffer.isView(s)?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):void 0;if(!o){t.push({filename:e.filename||void 0,mimeType:e.mimeType||void 0,size:null==a?void 0:a.byteLength});continue}const n=Boolean(a);if(!i||!n){t.push({filename:e.filename||void 0,mimeType:e.mimeType||"application/octet-stream",size:null==a?void 0:a.byteLength});continue}const l=ze(e.mimeType,a,e.filename),c=Ve(a);r.set(i,`data:${l};base64,${c}`)}var s;return{attachments:t,cidUrlById:r}}(r);return s.length>0&&(i.attachments=s),await async function(e,t,r){const i=(t.html||"").trim();if(i){const t=function(e,t){return 0===t.size?e:e.replaceAll(/(src\s*=\s*["']?)cid:([^"'\s>]+)(["']?)/gi,((e,r,i,s)=>{const o=$e(function(e){try{return decodeURIComponent(e)}catch(t){return e}}(i)),a=t.get(o);return a?`${r}${a}${s}`:e}))}(i,r);e.bodyHtml=await async function(e){const t=await n().use(l).use(c,Re).use((()=>e=>{u(e,"element",(e=>{!function(e){var t;if((null==e?void 0:e.tagName)&&((null===(t=e.properties)||void 0===t?void 0:t.style)&&"string"==typeof e.properties.style&&(e.properties.style=Ue(e.properties.style)),"style"===e.tagName&&Array.isArray(e.children)))for(const t of e.children)"text"===(null==t?void 0:t.type)&&"string"==typeof t.value&&(t.value=Ue(t.value))}(e),function(e){var t;if(!(null==e?void 0:e.tagName)||"img"!==e.tagName)return;const r=null===(t=e.properties)||void 0===t?void 0:t.src;if("string"!=typeof r)return;const i=function(e){const t=e.trim();if(!t)return;if(!t.toLowerCase().startsWith("data:"))return;const r=function(e){var t;const r=/^data:([^;,]+)(?:;charset=[^;,]+)?(?:;base64)?,/i.exec(e);return(null===(t=null==r?void 0:r[1])||void 0===t?void 0:t.toLowerCase())||void 0}(t);return r&&je.has(r)?t:void 0}(r);if(i)return e.properties.src=i,void delete e.properties.dataRemoteSrc;const s=function(e){const t=e.trim(),r=t.toLowerCase();if(r.startsWith("http://")||r.startsWith("https://"))return t}(r);if(s)return e.properties.dataRemoteSrc=s,void delete e.properties.src;delete e.properties.src}(e)}))})).use(h).process(e);return t.toString()}(t)}else e.bodyText=(t.text||"").trim()||void 0}(i,r,o),i}function Ce(e,t){const r=(e.headers||[]).find((e=>e.key===t.toLowerCase()));return(null==r?void 0:r.value)||void 0}function $e(e){if(!e)return"";let t=e.trim();return t.toLowerCase().startsWith("cid:")&&(t=t.slice(4).trim()),t.startsWith("<")&&(t=t.slice(1)),t.endsWith(">")&&(t=t.slice(0,-1)),t.trim()}function Ve(e){if("function"==typeof btoa){let t="";for(const r of e)t+=String.fromCharCode(r);return btoa(t)}return Buffer.from(e).toString("base64")}function ze(e,t,r){const i="string"==typeof e?e.trim().toLowerCase():"",s=function(e){var t,r,i,s,o;return null!==(o=null!==(s=null!==(i=null!==(r=null!==(t=function(e){if(Ie(e,[137,80,78,71,13,10,26,10]))return"image/png"}(e))&&void 0!==t?t:function(e){if(Ie(e,[255,216,255]))return"image/jpeg"}(e))&&void 0!==r?r:function(e){const t=_e(e,0,6);if("GIF87a"===t||"GIF89a"===t)return"image/gif"}(e))&&void 0!==i?i:function(e){const t=_e(e,0,4),r=_e(e,8,12);if("RIFF"===t&&"WEBP"===r)return"image/webp"}(e))&&void 0!==s?s:function(e){if(Ie(e,[0,0,1,0]))return"image/x-icon"}(e))&&void 0!==o?o:function(e){if(e.length<5)return;const t=new TextDecoder("utf-8",{fatal:!1}).decode(e.slice(0,Math.min(e.length,256))).trimStart().toLowerCase();return t.startsWith("<svg")||t.startsWith("<?xml")&&t.includes("<svg")?"image/svg+xml":void 0}(e)}(t);if(i.startsWith("image/")){if(o=i,!(a=s)||o===a||"image/jpg"===o&&"image/jpeg"===a||"image/vnd.microsoft.icon"===o&&"image/x-icon"===a)return i;if(s)return s}var o,a;if(s)return s;const n=function(e){const t=null==e?void 0:e.trim().toLowerCase();if(!t||!t.includes("."))return;return{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",svg:"image/svg+xml",ico:"image/x-icon",bmp:"image/bmp"}[t.slice(t.lastIndexOf(".")+1)]}(r);return n||i||"application/octet-stream"}function Ie(e,t){return!(e.length<t.length)&&t.every(((t,r)=>e[r]===t))}function _e(e,t,r){return e.length<r?"":String.fromCodePoint(...e.slice(t,r))}function Oe(e){return"string"==typeof e&&e.length>0}function Ge(e){if(!e)return;const t=(Array.isArray(e)?e:[e]).map((e=>He(e))).filter(Oe);return t.length>0?t.join(", "):void 0}function He(e){if(!e)return;if(Array.isArray(e))return Ge(e);if(e.group&&Array.isArray(e.group)){const t=(e.name||"").trim(),r=e.group.map((e=>He(e))).filter(Oe).join(", ");return t&&r?`${t}: ${r}`:t||r||void 0}const t=(e.name||"").trim(),r=(e.address||"").trim();if(t&&r){const e=function(e){if(!e)return"";if(!e.includes(",")&&!e.includes('"'))return e;return`"${e.replaceAll("\\","\\\\").replaceAll('"',String.raw`\"`)}"`}(t);return`${e} <${r}>`}return t||r||void 0}const Me=class{constructor(s){e(this,s),this.action=t(this,"action",7),this.allowFullscreen=!1,this.allowOpenInNewTab=!1,this.allowDownload=!1,this.language="en",this.officeViewer="microsoft-office",this.isFullscreen=!1,this.loading=!0,this.fileUrl="",this.renderPdf=()=>[r("div",{class:"action-menu-for-pdf-files"},this.renderActionMenu()),r("iframe",{src:this.sanitizeUrl(this.fileUrl),loading:"lazy"})],this.renderImage=()=>{var e;return r(i,null,this.renderButtons(),r(f,{image:{src:this.sanitizeUrl(this.fileUrl),alt:null!==(e=this.alt)&&void 0!==e?e:"",referrerpolicy:"no-referrer"}}))},this.renderVideo=()=>r("video",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderAudio=()=>r("audio",{controls:!0},r("source",{src:this.sanitizeUrl(this.fileUrl)})),this.renderText=()=>{const e=[this.renderNoFileSupportMessage(!1)];return[this.renderButtons(),r("object",{data:this.sanitizeUrl(this.fileUrl),type:"text/plain"},e)]},this.renderEmail=()=>this.email?[this.renderButtons(),r("limel-email-viewer",{email:this.email,fallbackUrl:this.sanitizeUrl(this.fileUrl),language:this.language},r("div",{slot:"fallback"},this.renderNoFileSupportMessage(!1)))]:this.renderFileNotFoundMessage(),this.renderOffice=()=>[r("div",{class:"action-menu-for-office-files"},this.renderActionMenu()),r("iframe",{src:this.getOfficeViewerUrl()+encodeURIComponent(this.sanitizeUrl(this.fileUrl))+"&embedded=true",loading:"lazy"})],this.isOfficeFileAccessibleViaURL=()=>"office"===this.fileType&&!(this.fileUrl.startsWith("http://")||this.fileUrl.startsWith("https://")),this.getOfficeViewerUrl=()=>({"microsoft-office":"https://view.officeapps.live.com/op/embed.aspx?src=","google-drive":"https://docs.google.com/gview?url="}[this.officeViewer]),this.renderNoFileSupportMessage=(e=!0)=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.unsupported-filetype")),r("p",{style:{textAlign:"center",margin:"0 auto"}},this.getTranslation("file-viewer.message.try-other-options")),e&&this.renderDownloadButton()),this.renderFileNotFoundMessage=()=>r("div",{class:"no-support",role:"alert"},r("h1",null,"⚠️"),r("p",null,this.getTranslation("file-viewer.message.file-not-found"))),this.renderButtons=()=>r("div",{class:"buttons"},this.renderActionMenu(),this.renderToggleFullscreenButton(),this.renderDownloadButton(),this.renderOpenInNewTabButton()),this.renderToggleFullscreenButton=()=>{if(!this.allowFullscreen||!this.fullscreen.isSupported())return;const e=this.isFullscreen?"multiply":"fit_to_width",t=this.getTranslation(this.isFullscreen?"file-viewer.exit-fullscreen":"file-viewer.open-in-fullscreen");return[r("button",{class:"button--toggle-fullscreen",id:"tooltip-toggle-fullscreen",role:"button",onClick:this.handleToggleFullscreen},r("limel-icon",{name:e}),r("limel-tooltip",{label:t,elementId:"tooltip-toggle-fullscreen",openDirection:"left"}))]},this.renderDownloadButton=()=>{var e;if(this.allowDownload&&!this.isFullscreen)return r("a",{class:"button--download",id:"tooltip-download",role:"button",download:null!==(e=this.filename)&&void 0!==e?e:"",href:this.sanitizeUrl(this.fileUrl),target:"_blank"},r("limel-icon",{name:"download_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.download"),elementId:"tooltip-download",openDirection:"left"}))},this.renderOpenInNewTabButton=()=>{if(this.allowOpenInNewTab&&!this.isFullscreen)return r("a",{class:"button--new-tab",id:"tooltip-new-tab",role:"button",href:this.sanitizeUrl(this.fileUrl),target:"_blank",rel:"noopener noreferrer"},r("limel-icon",{name:"external_link"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.open-in-new-tab"),elementId:"tooltip-new-tab",openDirection:"left"}))},this.renderActionMenu=()=>{if(this.actions&&!this.isFullscreen)return r("limel-menu",{class:"action-menu",items:this.actions,onSelect:this.emitOnAction,"open-direction":"left"},r("button",{class:"button--action",id:"tooltip-more",role:"button",slot:"trigger"},r("limel-icon",{name:"menu_2"}),r("limel-tooltip",{label:this.getTranslation("file-viewer.more-actions"),elementId:"tooltip-more",openDirection:"left"})))},this.createURL=async e=>{this.revokePdfBlobUrl();const t={pdf:this.loadPdf,email:this.loadEmail}[e]||this.loadDefault;try{await t()}finally{this.loading=!1}},this.loadPdf=async()=>{const e=await fetch(this.url);if(!e.ok)throw new Error(`Failed to load PDF (${e.status} ${e.statusText})`);const t=await e.blob();this.fileUrl=URL.createObjectURL(t),this.pdfBlobUrl=this.fileUrl},this.loadEmail=async()=>{try{this.email=await Be(this.url),this.fileUrl=this.url}catch(e){this.email=void 0,this.fileUrl=""}},this.loadDefault=async()=>{this.fileUrl=this.url},this.handleToggleFullscreen=()=>{this.fullscreen.isSupported()&&(this.fullscreen.toggle(),this.isFullscreen=!this.isFullscreen)},this.emitOnAction=e=>{e.stopPropagation(),this.action.emit(e.detail)},this.fullscreen=new d(this.HostElement)}disconnectedCallback(){void 0!==this.revokeAnimationFrame&&cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=requestAnimationFrame((()=>{this.revokePdfBlobUrl(),this.revokeAnimationFrame=void 0}))}connectedCallback(){void 0!==this.revokeAnimationFrame&&(cancelAnimationFrame(this.revokeAnimationFrame),this.revokeAnimationFrame=void 0)}async componentWillLoad(){this.fileType=p(this.filename,this.url),await this.createURL(this.fileType)}render(){return this.isOfficeFileAccessibleViaURL?this.loading?r("limel-spinner",{size:"x-small",limeBranded:!1}):this.renderFileViewer():this.renderNoFileSupportMessage()}async watchUrl(e,t){e!==t&&(this.loading=!0,this.fileType=p(this.filename,this.fileUrl),await this.createURL(this.fileType))}renderFileViewer(){return({pdf:this.renderPdf,image:this.renderImage,video:this.renderVideo,audio:this.renderAudio,text:this.renderText,email:this.renderEmail,office:this.renderOffice}[this.fileType]||this.renderNoFileSupportMessage)()}revokePdfBlobUrl(){this.pdfBlobUrl&&(URL.revokeObjectURL(this.pdfBlobUrl),this.pdfBlobUrl=void 0)}sanitizeUrl(e){if(!(null==e?void 0:e.trim()))return"";try{const t=new URL(e,window.location.href);return["http:","https:","blob:"].includes(t.protocol)?t.href:""}catch(e){return""}}getTranslation(e){return o.get(e,this.language)}get HostElement(){return s(this)}static get watchers(){return{url:[{watchUrl:0}]}}};Me.style='@charset "UTF-8";.buttons{position:absolute;z-index:1;bottom:0.25rem;right:0.25rem;display:flex;flex-direction:column;gap:0.25rem}@media (pointer: coarse){.buttons{gap:0.5rem}}.no-support{display:flex;flex-direction:column;gap:0.5rem;align-items:center;border:1px dashed rgb(var(--contrast-600));border-radius:0.5rem;padding:1.25rem}.no-support h1,.no-support p{margin:0}[class^=button--]{all:unset;transition:color var(--limel-clickable-transition-speed, 0.4s) ease, background-color var(--limel-clickable-transition-speed, 0.4s) ease, box-shadow var(--limel-clickable-transform-speed, 0.4s) ease, transform var(--limel-clickable-transform-speed, 0.4s) var(--limel-clickable-transform-timing-function, ease);cursor:pointer;color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-normal)}[class^=button--]:hover,[class^=button--]:focus,[class^=button--]:focus-visible{will-change:color, background-color, box-shadow, transform}[class^=button--]:hover,[class^=button--]:focus-visible{transform:translate3d(0, -0.04rem, 0);color:var(--limel-theme-on-surface-color);background-color:var(--lime-elevated-surface-background-color);box-shadow:var(--button-shadow-hovered)}[class^=button--]:active{--limel-clickable-transform-timing-function:cubic-bezier( 0.83, -0.15, 0.49, 1.16 );transform:translate3d(0, 0.05rem, 0);box-shadow:var(--button-shadow-pressed)}[class^=button--]:hover,[class^=button--]:active{--limel-clickable-transition-speed:0.2s;--limel-clickable-transform-speed:0.16s}[class^=button--]:focus{outline:none}[class^=button--]:focus-visible{outline:none;box-shadow:var(--shadow-depth-8-focused)}[class^=button--]{display:flex;align-items:center;justify-content:center;border-radius:50%;width:var(--limel-file-viewer-size-of-buttons);height:var(--limel-file-viewer-size-of-buttons);background-color:rgba(var(--contrast-100), 0.8);backdrop-filter:blur(0.25rem);-webkit-backdrop-filter:blur(0.25rem)}[class^=button--] limel-icon{transition:color 0.2s ease;width:1.25rem;color:rgb(var(--contrast-1200))}[class^=button--]:hover limel-icon{color:rgb(var(--contrast-1400))}.action-menu-for-pdf-files,.action-menu-for-office-files{position:absolute;right:0.75rem}.action-menu-for-pdf-files{bottom:0.75rem}.action-menu-for-office-files{top:0.75rem}:host{--limel-file-viewer-size-of-buttons:2rem;isolation:isolate;position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%}*{box-sizing:border-box}img,video,audio,object,iframe{max-height:100%;max-width:100%;box-sizing:border-box}iframe{border:none;width:100%;height:100%;min-height:20rem}img{min-width:7rem;object-fit:contain}video{width:100%;height:auto}audio{width:100%}object{width:100%;height:100%}object[type="application/pdf"]{min-height:20rem}object[type="text/plain"]{border-radius:0.25rem;padding-right:var(--limel-file-viewer-size-of-buttons);overflow-y:auto}:host(:fullscreen){background-color:rgb(var(--color-gray-darker))}:host(:fullscreen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}:host(:-webkit-full-screen){background-color:rgb(var(--color-gray-darker))}:host(:-webkit-full-screen) object[type="text/plain"]{max-width:50rem;max-height:calc(100% - 2rem)}';export{Me as limel_file_viewer}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as r,a as o}from"./p-BU9IJqli.js";import{g as a,b as i}from"./p-CgNJbSP4.js";import{A as n,b as s,H as l,c,d as u,e as d}from"./p-DQ5DmW_Y.js";import{i as b}from"./p-COdirXg1.js";import{S as m,c as h}from"./p-B6-3WXAv.js";import{a as p,b as v,i as f,c as g}from"./p-pk5KIdKH.js";import"./p-CZ30nDJE.js";import"./p-DK0pjX-Y.js";import"./p-BJQylLSL.js";import"./p-oiMYqRQ0.js";import"./p-BYfPV0O4.js";import"./p-BcJ-TDVt.js";import"./p-DbBZn7JO.js";import"./p-B8VKuhvH.js";import"./p-B--C3qwe.js";import"./p-CK4jS9_E.js";import"./p-9W8bTt2G.js";var w=v((function(t,e){return f(t)?function(t,e){var r=-1,o=p,a=!0,i=t.length,n=[],s=e.length;if(!i)return n;e.length>=200&&(o=h,a=!1,e=new m(e));t:for(;++r<i;){var l=t[r],c=l;if(l=0!==l?l:0,a&&c==c){for(var u=s;u--;)if(e[u]===c)continue t;n.push(l)}else o(e,c,undefined)||n.push(l)}return n}(t,g(e,1,f)):[]}));const k={horizontal:new Map([[u,"previous"],[d,"next"],[l,"first"],[c,"last"]]),vertical:new Map([[n,"previous"],[s,"next"],[l,"first"],[c,"last"]])};function x(t,e){return t>=0&&t<e}function j(t,e){return r=>{var o;return!(null===(o=null==e?void 0:e.isDisabled)||void 0===o?void 0:o.call(e,t[r]))}}function y(t,e,r,o,a){for(let i=0;i<t;i+=1){const n=e+r*i;if(!o&&!x(n,t))break;const s=(n%t+t)%t;if(a(s))return s}return-1}const C={orientation:"horizontal",wrap:!0},z=class{constructor(r){t(this,r),this.changeTab=e(this,"changeTab",7),this.tabs=[],this.hasLoaded=!1,this.handleKeyDown=this.handleKeyDown.bind(this)}async connectedCallback(){this.hasLoaded&&(this.revealedTabId=void 0,await this.revealActiveTab("auto"))}componentDidLoad(){this.hasLoaded=!0,this.triggerIconColorWarning()}async componentDidRender(){await this.revealActiveTab(this.hasLoaded?void 0:"auto")}render(){const t=function(t,e){const r=t.length,o=j(t,C);return x(e,r)&&o(e)?e:y(r,0,1,!1,o)}(this.tabs,this.tabs.findIndex((t=>t.active)));return r("div",{key:"9998014061ef483531099bfe9b9b30904bb1090d",role:"tablist",onKeyDown:this.handleKeyDown},r("limel-scroller",{key:"e09578e9daaeef1a3d05b4f0258fdd40e97ec39b"},this.tabs.map(((e,r)=>this.renderTab(e,r,r===t)))))}tabsChanged(t=[],e=[]){const r=t.map((t=>t.id)),o=e.map((t=>t.id));b(r,o)||(this.revealedTabId=void 0)}getTabElements(){return[...this.host.shadowRoot.querySelectorAll('button[role="tab"]')]}async revealActiveTab(t){const e=this.tabs.findIndex((t=>t.active));if(-1===e)return void(this.revealedTabId=void 0);if(this.tabs[e].id===this.revealedTabId)return;this.revealedTabId=this.tabs[e].id;const r=this.getTabElements()[e],o=this.host.shadowRoot.querySelector("limel-scroller");r&&o&&!r.matches(":focus")&&(await o.componentOnReady(),await o.reveal(r,t))}handleKeyDown(t){if(!function(t){return!(t.altKey||t.ctrlKey||t.metaKey)&&k[C.orientation].has(t.key)}(t))return;t.preventDefault();const e=this.getTabElements().indexOf(t.target);this.activateTab(function(t,e,r,o){const a=k[o.orientation].get(e),i=t.length,n=j(t,o),s=y(i,0,1,!1,n);if(!a||-1===s)return-1;if("first"===a)return s;const l=y(i,i-1,-1,!1,n);if("last"===a)return l;if(!x(r,i))return"next"===a?s:l;const c="next"===a?1:-1,u=y(i,r+c,c,Boolean(o.wrap),n);return-1===u?r:u}(this.tabs,t.key,e,C))}activateTab(t){if(-1===t)return;if(this.getTabElements()[t].focus(),t===this.tabs.findIndex((t=>t.active)))return;const e=function(t,e){const r=t.findIndex((t=>!0===t.active)),o=[...t];return-1!==r&&(o[r]=Object.assign(Object.assign({},t[r]),{active:!1})),o[e]=Object.assign(Object.assign({},t[e]),{active:!0}),o}(this.tabs,t),r=w(e,this.tabs).sort(this.sortByInactive);for(const t of r)this.changeTab.emit(t);this.tabs=e}sortByInactive(t,e){return Number(t.active)-Number(e.active)}renderIcon(t){if(!t.icon)return;const e=a(t.icon),o=i(t.icon,t.iconColor),n={color:""};return o&&(n.color=o),r("limel-icon",{name:e,style:n,size:"small","aria-hidden":"true"})}renderTab(t,e,o){return r("button",{role:"tab","aria-selected":t.active?"true":"false",tabindex:o?0:-1,onClick:()=>this.activateTab(e)},r("span",{class:"content"},this.renderIcon(t),r("span",{class:"text"},t.text),t.badge?r("limel-badge",{label:t.badge}):""))}triggerIconColorWarning(){this.tabs.some((t=>t.iconColor))&&console.warn("The `iconColor` prop is deprecated now! Use the new `Icon` interface and instead of `iconColor: 'color-name'` write `icon {name: 'icon-name', color: 'color-name'}`.")}get host(){return o(this)}static get watchers(){return{tabs:[{tabsChanged:0}]}}};z.style="@charset \"UTF-8\";:host(limel-tab-bar){--limel-tab-background-color:var(--contrast-300);--limel-tab-border-radius:0.625rem;--limel-tab-content-inset:0.25rem;--limel-active-tab-background-color:var( --tab-panel-background-color, rgb(var(--contrast-100)) );--limel-active-tab-color:var( --lime-primary-color, var(--limel-theme-primary-color) );--limel-tab-active-outer-edge-curve-size:0.75rem;--limel-tab-separator-width:0.125rem;--limel-tab-separator-background-color:rgb(var(--contrast-600));isolation:isolate;display:block;position:relative}limel-scroller{--limel-scroller-fade-color:var(--limel-tab-background-color);--limel-scroller-content-padding:0.25rem var(--limel-tab-active-outer-edge-curve-size) 0;background-color:rgb(var(--limel-tab-background-color))}:host(.has-tabs-with-equal-width) button{flex:1 0 auto}button{appearance:none;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:inherit;position:relative;display:flex;box-sizing:border-box;border-radius:0;padding:var(--limel-tab-content-inset);min-width:2.5rem;background-color:transparent;flex:0 0 auto;height:2.5rem;outline:none;cursor:pointer;white-space:nowrap;font-size:var(--limel-theme-default-font-size)}button:not([aria-selected=true]):after{content:\"\";display:block;background-color:var(--limel-tab-separator-background-color);width:var(--limel-tab-separator-width);height:1rem;margin:auto;position:absolute;top:0;bottom:0;border-radius:1rem;right:calc(-1 * var(--limel-tab-separator-width))}button:not([aria-selected=true]):last-of-type:after{display:none}button limel-icon{transition:color 0.2s ease;color:rgb(var(--contrast-800));margin-left:-0.25rem}button span.text{transition:color 0.2s ease;line-height:1;color:var(--limel-theme-on-surface-color)}button:hover span.text{color:var(--limel-theme-text-primary-on-background-color)}button limel-badge{margin-right:-0.25rem;box-shadow:0 0 0 1px rgb(var(--contrast-600));pointer-events:none}button[aria-selected=true]{border-radius:var(--limel-tab-border-radius) var(--limel-tab-border-radius) 0 0;background-color:var(--limel-active-tab-background-color);z-index:2}button[aria-selected=true]:before,button[aria-selected=true]:after{content:\"\";display:block;width:var(--limel-tab-active-outer-edge-curve-size);height:var(--limel-tab-active-outer-edge-curve-size);position:absolute;bottom:0;background-color:var(--limel-active-tab-background-color);-webkit-mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20fill-rule='evenodd'%20stroke-linejoin='round'%20stroke-miterlimit='2'%20clip-rule='evenodd'%20viewBox='0%200%2050%2050'%3E%3Cdefs/%3E%3Cpath%20d='M0%200c0%2027.594%2022.406%2050%2050%2050H0V0z'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20fill-rule='evenodd'%20stroke-linejoin='round'%20stroke-miterlimit='2'%20clip-rule='evenodd'%20viewBox='0%200%2050%2050'%3E%3Cdefs/%3E%3Cpath%20d='M0%200c0%2027.594%2022.406%2050%2050%2050H0V0z'/%3E%3C/svg%3E\")}button[aria-selected=true]:before{left:calc(-1 * var(--limel-tab-active-outer-edge-curve-size));transform:rotateY(180deg)}button[aria-selected=true]:after{right:calc(-1 * var(--limel-tab-active-outer-edge-curve-size))}button[aria-selected=true] limel-icon{color:var(--limel-active-tab-color)}button[aria-selected=true] span.text{color:var(--limel-active-tab-color)}span.content{transition:box-shadow 0.2s ease;display:flex;flex-grow:1;align-items:center;justify-content:center;gap:0.375rem;padding:0 0.75rem;border-radius:calc(var(--limel-tab-border-radius) - var(--limel-tab-content-inset))}button:focus-visible span.content{transition-duration:0.3s;box-shadow:var(--shadow-depth-8-focused)}";export{z as limel_tab_bar}
|