trix_embed 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f7abc64715dcc1e575675138a5cf792a89a4951e27161c32862b89059ca7029
4
- data.tar.gz: 9b806cc265a65c0392b4425b7ce66b2ce59423d46c66f890b50a2b6b48d29892
3
+ metadata.gz: 58e4027f5d92ef6c1bdc76a747cbc2e009cde8c2c3ae216f71ea0c923833ac28
4
+ data.tar.gz: ed7cf7cf36f578b86b6932074ad5eb5c6a26f05fd7e2430aabd5b4e6addad8ff
5
5
  SHA512:
6
- metadata.gz: 7e5ae0dd08c075dba23b21d02b5a6c5f061358dd47e80960227f4c6844e7b20a68ecdda319592d0c5c4eda347abb40e5ea6e460010aee4dadfee4b176be6f3b5
7
- data.tar.gz: ea1fe438ce1aea670dd812fd1ed39c8fce315a3f7087c2be0608d31db9d139a415431e39e2756a1c30985f69ae4cf2ac1534928d6ed0ca9c16b9eb142faaabc4
6
+ metadata.gz: 577cd6a7524581232bb8c5220fe7e9af303d4bd1e8d8911a5dc87e50d4afc8365bb258c0d21720dfec798fd3ca64141e86c38cd120a23865bd3ceca14b2d090d
7
+ data.tar.gz: f893d6260bfaf39c99bd08408f939df248272ee53ec1076cd33dde744be882eaec533cadb216b4a13dcbf9730fff2f10ef6a1a6a01bf5a67895fe879077a6c89
data/README.md CHANGED
@@ -153,13 +153,12 @@ bin/dev
153
153
  ## Releasing
154
154
 
155
155
  1. Run `yarn` and `bundle` to pick up the latest
156
- 1. Bump version numbers at `lib/trix_embed/version.rb` and `package.json` _(make sure they match)_. Pre-release versions use `.preN`
156
+ 1. Bump version number at `lib/trix_embed/version.rb`. Pre-release versions use `.preN`
157
+ 1. Bump version number at `package.json` _(make sure it matches)_. Pre-release versions use `-preN`
157
158
  1. Run `yarn build` - *builds both the Ruby gem and the NPM package*
158
159
  1. Commit and push changes to GitHub
159
160
  1. Run `rake release`
160
- 1. Run `yarn publish --new-version X.X.X --no-git-tag-version --access public`
161
- 1. Yarn will prompt you for the new version. Pre-release versions use `-preN`
162
- 1. Commit and push changes to GitHub
161
+ 1. Run `yarn publish --new-version X.X.X --no-git-tag-version --access public` _(use same version number)_
163
162
  1. Create a new release on GitHub ([here](https://github.com/hopsoft/trix_embed/releases)) and generate the changelog for the stable release for it
164
163
 
165
164
  ## License
@@ -1,5 +1,5 @@
1
1
  /*
2
- trix-embed 0.0.4 (MIT)
2
+ trix-embed 0.0.5 (MIT)
3
3
  Copyright © 2023 Nate Hopkins (hopsoft) <natehop@gmail.com>
4
4
  */
5
- const _0x12cdbf=_0x17dc;(function(_0x34bd8f,_0x5f33b){const _0xd015=_0x17dc,_0x4c67ba=_0x34bd8f();while(!![]){try{const _0x16602c=-parseInt(_0xd015(0x153))/0x1+parseInt(_0xd015(0x238))/0x2*(parseInt(_0xd015(0x215))/0x3)+parseInt(_0xd015(0x1ac))/0x4*(parseInt(_0xd015(0x11c))/0x5)+-parseInt(_0xd015(0x174))/0x6*(parseInt(_0xd015(0xfa))/0x7)+parseInt(_0xd015(0x1b7))/0x8*(-parseInt(_0xd015(0x1df))/0x9)+parseInt(_0xd015(0x1e1))/0xa+parseInt(_0xd015(0x1f6))/0xb*(parseInt(_0xd015(0x1e3))/0xc);if(_0x16602c===_0x5f33b)break;else _0x4c67ba['push'](_0x4c67ba['shift']());}catch(_0x544f77){_0x4c67ba['push'](_0x4c67ba['shift']());}}}(_0x4ab0,0x6a32c));var ge=Object[_0x12cdbf(0x212)],be=Object[_0x12cdbf(0x1fe)],ye=Object['getOwnPropertyDescriptors'],_=Object[_0x12cdbf(0x196)],xe=Object['prototype'][_0x12cdbf(0x131)],we=Object[_0x12cdbf(0x18e)][_0x12cdbf(0x100)],N=(_0x5b6837,_0x5052e3,_0x451882)=>_0x5052e3 in _0x5b6837?ge(_0x5b6837,_0x5052e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x451882}):_0x5b6837[_0x5052e3]=_0x451882,E=(_0x580a2f,_0x39ec3b)=>{const _0x40cefc=_0x12cdbf;for(var _0x52627f in _0x39ec3b||(_0x39ec3b={}))xe[_0x40cefc(0x14a)](_0x39ec3b,_0x52627f)&&N(_0x580a2f,_0x52627f,_0x39ec3b[_0x52627f]);if(_){for(var _0x52627f of _(_0x39ec3b))we[_0x40cefc(0x14a)](_0x39ec3b,_0x52627f)&&N(_0x580a2f,_0x52627f,_0x39ec3b[_0x52627f]);}return _0x580a2f;},L=(_0x3f34d7,_0x1463b3)=>be(_0x3f34d7,ye(_0x1463b3)),G=(_0x8740a8,_0x35696a,_0x51c078)=>(N(_0x8740a8,typeof _0x35696a!=_0x12cdbf(0x195)?_0x35696a+'':_0x35696a,_0x51c078),_0x51c078),X={'version':_0x12cdbf(0x1f9)},R={'name':_0x12cdbf(0x232),'length':0x100},ve=!0x0,Ee=[_0x12cdbf(0x178),_0x12cdbf(0x189)];async function Le(){const _0x2e3b2f=_0x12cdbf;let _0x2e0d9e=[_0x2e3b2f(0x178),_0x2e3b2f(0x189)];return await crypto['subtle'][_0x2e3b2f(0x1dd)](R,!0x0,_0x2e0d9e);}async function Te(_0x5d868f){const _0x57673c=_0x12cdbf;let _0x12cb5c=await crypto[_0x57673c(0x213)][_0x57673c(0x21a)](_0x57673c(0x169),_0x5d868f);return JSON[_0x57673c(0x234)](_0x12cb5c);}async function Q(_0x2a9ed6){const _0x3994bb=_0x12cdbf;let _0x53a9ad=JSON[_0x3994bb(0x13b)](_0x2a9ed6);return await crypto['subtle'][_0x3994bb(0x110)](_0x3994bb(0x169),_0x53a9ad,R,ve,Ee);}async function Se(_0x35df03,_0x27f7b0){const _0x3a42fd=_0x12cdbf;let _0x257316=new TextEncoder()[_0x3a42fd(0x17a)](String(_0x35df03)),_0x21662b=crypto[_0x3a42fd(0x1a1)](new Uint8Array(0xc)),_0x2d872b=await crypto[_0x3a42fd(0x213)][_0x3a42fd(0x178)](L(E({},R),{'iv':_0x21662b}),_0x27f7b0,_0x257316),_0x13da89={'ciphertext':btoa(String[_0x3a42fd(0x140)](...new Uint8Array(_0x2d872b))),'iv':btoa(String['fromCharCode'](..._0x21662b))};return btoa(JSON[_0x3a42fd(0x234)](_0x13da89));}async function ke(_0x269aa3,_0x39363a){const _0x507051=_0x12cdbf;let _0x5cbe07=JSON['parse'](atob(_0x269aa3)),_0xa26d28=new Uint8Array(atob(_0x5cbe07[_0x507051(0x1f2)])[_0x507051(0x18c)]('')[_0x507051(0x1e4)](_0x2cd71=>_0x2cd71[_0x507051(0xf9)](0x0))),_0x11ad61=new Uint8Array(atob(_0x5cbe07['iv'])[_0x507051(0x18c)]('')[_0x507051(0x1e4)](_0x55bd5e=>_0x55bd5e['charCodeAt'](0x0))),_0x2d328a=await crypto['subtle'][_0x507051(0x189)](L(E({},R),{'iv':_0x11ad61}),_0x39363a,_0xa26d28);return new TextDecoder()[_0x507051(0x122)](_0x2d328a);}async function T(){let _0x5d2d07=await Le(),_0x276e3c=await Te(_0x5d2d07);return btoa(_0x276e3c);}async function x(_0x54ff64,_0x12fa69=[]){const _0x3a689b=_0x12cdbf;let _0x131318=await Q(atob(_0x54ff64));return Promise[_0x3a689b(0x14b)](_0x12fa69[_0x3a689b(0x1e4)](_0x2109db=>Se(_0x2109db,_0x131318)));}async function Y(_0x4946b9,_0x4ef7a6=[]){const _0x26412e=_0x12cdbf;let _0x96e033=await Q(atob(_0x4946b9));return Promise[_0x26412e(0x14b)](_0x4ef7a6['map'](_0x408686=>ke(_0x408686,_0x96e033)));}async function Z(_0x1ea6b1=[]){const _0x23b39e=_0x12cdbf;let _0x43febf=await T(),_0x1cf157=await x(_0x43febf,_0x1ea6b1);return console['log'](_0x23b39e(0x11b)+_0x43febf+'\x22'),console[_0x23b39e(0x15f)](_0x23b39e(0x209)+JSON[_0x23b39e(0x234)](_0x1cf157)+'\x27'),{'key':_0x43febf,'encryptedValues':_0x1cf157};}var ee=_0x5910d4=>Math[_0x12cdbf(0x133)](Math[_0x12cdbf(0x1b5)]()*_0x5910d4),w=(_0xe7e72f,_0x6efeec=null)=>{const _0xf2fe11=_0x12cdbf;let _0x576d32=[..._0xe7e72f];_0x6efeec===_0xf2fe11(0x14b)&&(_0x6efeec=_0x576d32[_0xf2fe11(0x23c)]);let _0x7467c8=_0x576d32['length'],_0x3f45f6=[],_0x44c158=new Set();for(;_0x3f45f6[_0xf2fe11(0x23c)]<_0x6efeec;){let _0x55bf2d=ee(_0x7467c8);for(;_0x44c158['has'](_0x55bf2d);)_0x55bf2d=ee(_0x7467c8);_0x44c158[_0xf2fe11(0xf8)](_0x55bf2d),_0x3f45f6[_0xf2fe11(0x198)](_0x576d32[_0x55bf2d]);}return typeof _0x6efeec==_0xf2fe11(0x11a)?_0x3f45f6:_0x3f45f6[0x0];};function b(_0x56e429,_0x3b040f=_0x1b0745=>{}){const _0x568e4f=_0x12cdbf;try{let _0xb3cc2f=new URL(String(_0x56e429)['trim']());return _0xb3cc2f&&_0x3b040f&&_0x3b040f(_0xb3cc2f),_0xb3cc2f;}catch(_0x45df91){console[_0x568e4f(0x145)](_0x568e4f(0x1ad)+_0x56e429+'\x27]');}return null;}function te(_0xdd2e10,_0x2cc796=_0x48f570=>{}){const _0x2bf10b=_0x12cdbf;var _0x143cb7;let _0xfd0dcf=(_0x143cb7=b(_0xdd2e10))==null?void 0x0:_0x143cb7[_0x2bf10b(0x12f)];return _0xfd0dcf&&_0x2cc796&&_0x2cc796(_0xfd0dcf),_0xfd0dcf;}function C(_0x7697a9){const _0x8682f0=_0x12cdbf;return document['createTreeWalker'](_0x7697a9,NodeFilter[_0x8682f0(0x1dc)],_0x5e4d9d=>_0x5e4d9d['nodeValue']['match'](/http/gi)?NodeFilter[_0x8682f0(0x1c2)]:NodeFilter[_0x8682f0(0x115)]);}function Ae(_0x37f440){const _0x4d8b8e=_0x12cdbf;let _0x3ec98b=new Set(),_0x4f60c4=C(_0x37f440),_0x113b0e;for(;_0x113b0e=_0x4f60c4[_0x4d8b8e(0x216)]();)_0x113b0e[_0x4d8b8e(0x228)][_0x4d8b8e(0x18c)](/\s+/)['filter'](_0x105016=>_0x105016[_0x4d8b8e(0x161)]('http'))[_0x4d8b8e(0x229)](_0x4acb38=>b(_0x4acb38,_0x38f8cd=>_0x3ec98b[_0x4d8b8e(0xf8)](_0x38f8cd[_0x4d8b8e(0x1ee)])));return[..._0x3ec98b];}function U(_0x3b8a48){const _0x484ee2=_0x12cdbf;if(_0x3b8a48[_0x484ee2(0x1d5)]){let _0x316987=_0x3b8a48[_0x484ee2(0x1d5)]['trim']();if(_0x316987[_0x484ee2(0x23c)])return _0x316987;}if(_0x3b8a48[_0x484ee2(0x1ee)]){let _0x52579c=_0x3b8a48[_0x484ee2(0x1ee)]['trim']();if(_0x52579c[_0x484ee2(0x23c)])return _0x52579c;}return'';}function Re(_0x3c3f9e){const _0x52d9ee=_0x12cdbf;let _0xa4955f=new Set();return _0x3c3f9e[_0x52d9ee(0x1d5)]&&b(_0x3c3f9e[_0x52d9ee(0x1d5)],_0x38ab76=>_0xa4955f[_0x52d9ee(0xf8)](_0x38ab76[_0x52d9ee(0x1ee)])),_0x3c3f9e[_0x52d9ee(0x1ee)]&&b(_0x3c3f9e[_0x52d9ee(0x1ee)],_0x4345be=>_0xa4955f[_0x52d9ee(0xf8)](_0x4345be['href'])),_0x3c3f9e['querySelectorAll'](_0x52d9ee(0x109))['forEach'](_0x186631=>b(U(_0x186631),_0x301584=>_0xa4955f[_0x52d9ee(0xf8)](_0x301584[_0x52d9ee(0x1ee)]))),[..._0xa4955f];}function O(_0x4ec968,_0x41f7dd=[],_0x1e526e=[]){const _0x185edf=_0x12cdbf;let _0x38890a=te(_0x4ec968);return _0x1e526e[_0x185edf(0x1a9)]('*')||_0x1e526e[_0x185edf(0xfe)](_0x1fa016=>_0x38890a[_0x185edf(0x1d8)](_0x1fa016))?!0x1:!!(_0x41f7dd[_0x185edf(0xfe)](_0x450ee4=>_0x38890a['endsWith'](_0x450ee4))||_0x41f7dd[_0x185edf(0x1a9)]('*')&&(_0x38890a||_0x4ec968[_0x185edf(0x161)]('data:')||_0x4ec968['startsWith'](_0x185edf(0x221))||_0x4ec968[_0x185edf(0x161)](_0x185edf(0x16b))));}function re(_0x4a3735){const _0x36f3ea=_0x12cdbf;return[..._0x4a3735[_0x36f3ea(0x1be)]((_0x4bc6cc,_0x1836bb)=>(te(_0x1836bb,_0x5a972e=>_0x4bc6cc[_0x36f3ea(0xf8)](_0x5a972e)),_0x4bc6cc),new Set())];}function ie(_0x2ac3c8){let _0x4d434d=Re(_0x2ac3c8),_0x105c70=Ae(_0x2ac3c8);return[...new Set([..._0x4d434d,..._0x105c70])];}var ne={'attachment':'trix-embed/attachment'},se={'avif':_0x12cdbf(0x1a3),'bmp':'image/bmp','gif':_0x12cdbf(0x1ec),'heic':_0x12cdbf(0x1eb),'heif':'image/heif','ico':_0x12cdbf(0x1ed),'jp2':_0x12cdbf(0x15b),'jpeg':_0x12cdbf(0x1bb),'jpg':_0x12cdbf(0x1bb),'jxr':_0x12cdbf(0x11e),'png':'image/png','svg':'image/svg+xml','tif':'image/tiff','tiff':_0x12cdbf(0x1e7),'webp':'image/webp'},Ue=se,Me=[_0x12cdbf(0x15e),_0x12cdbf(0x1db),_0x12cdbf(0x21e),_0x12cdbf(0x1fc),'audio',_0x12cdbf(0x1d2),_0x12cdbf(0x1f4),_0x12cdbf(0x15a),_0x12cdbf(0x17b),_0x12cdbf(0x200),_0x12cdbf(0x19d),_0x12cdbf(0x193),_0x12cdbf(0x22b),_0x12cdbf(0x1e9),'link','object',_0x12cdbf(0x1ca),_0x12cdbf(0x10b),_0x12cdbf(0x18a),'use','video'],Ne=['audio','embed','iframe',_0x12cdbf(0x210),_0x12cdbf(0x233),_0x12cdbf(0x1ca),_0x12cdbf(0x10b),_0x12cdbf(0x18a),_0x12cdbf(0x118),_0x12cdbf(0x1cf),_0x12cdbf(0x101),_0x12cdbf(0x12c),_0x12cdbf(0x1e0),_0x12cdbf(0x186)],ae=_0x12cdbf(0x1b9),oe=_0x12cdbf(0x1f1),le=Me[_0x12cdbf(0x1b8)](Ne);function ce(_0x15f10f){const _0x4d121f=_0x12cdbf;return!!Object['values'](se)[_0x4d121f(0xfe)](_0x5155f5=>_0x5155f5===P(_0x15f10f));}function P(_0x2df8ed){const _0xc385b=_0x12cdbf;let _0xe14954;if(_0xe14954=b(_0x2df8ed),!_0xe14954)return null;let _0x212474=_0xe14954[_0xc385b(0x208)][_0xc385b(0x15d)]('.');if(!_0x212474)return null;let _0x94b9c3=_0xe14954[_0xc385b(0x208)][_0xc385b(0x219)](_0x212474+0x1);return Ue[_0x94b9c3];}var j,H,me=new Set(),Ce=ae+'[data-controller~=\x22trix-embed\x22]';function he(_0x1dc2cf){const _0x25a0df=_0x12cdbf;var _0x50ed6e;let {method:_0x455735,action:_0x45383f}=_0x1dc2cf||{};return _0x45383f=((_0x50ed6e=b(_0x45383f))==null?void 0x0:_0x50ed6e['pathname'])||_0x45383f,(_0x455735+':'+_0x45383f)[_0x25a0df(0x11d)]()['toLowerCase']();}function _0x17dc(_0x465c2b,_0x447cba){const _0x4ab083=_0x4ab0();return _0x17dc=function(_0x17dc3d,_0x1eb2ce){_0x17dc3d=_0x17dc3d-0xf8;let _0xbd6a07=_0x4ab083[_0x17dc3d];return _0xbd6a07;},_0x17dc(_0x465c2b,_0x447cba);}function ue(_0x1d766c,_0x1c4eea){const _0x4d98ba=_0x12cdbf;if(!_0x1d766c)return;let _0x437df4=he(_0x1d766c);me[_0x4d98ba(0xf8)]({'key':_0x437df4,'form':_0x1d766c,'input':_0x1c4eea});}function Oe(_0x6ac4a5){const _0x104578=_0x12cdbf;var _0x486c61;let _0x1f0168=he(_0x6ac4a5),_0x896732=[...me]['filter'](_0x385987=>_0x385987[_0x104578(0x1c4)]===_0x1f0168);if(!_0x896732[_0x104578(0x23c)])return!0x0;if(_0x6ac4a5[_0x104578(0x148)])return!0x1;if(_0x6ac4a5[_0x104578(0x179)](Ce))return!0x0;let _0xb3a374=new FormData(_0x6ac4a5),_0x54a4c8=((_0x486c61=b(_0x6ac4a5[_0x104578(0x223)]))==null?void 0x0:_0x486c61[_0x104578(0x1de)])||new URLSearchParams();return!_0x896732['map'](_0x5826d7=>_0x5826d7[_0x104578(0x233)])['map'](_0x53798d=>!(_0x53798d[_0x104578(0x16c)]&&(_0xb3a374[_0x104578(0x1ea)](_0x53798d[_0x104578(0x16c)])||_0x54a4c8[_0x104578(0x1ea)](_0x53798d[_0x104578(0x16c)]))||_0x53798d['id']&&(_0xb3a374[_0x104578(0x1ea)](_0x53798d['id'])||_0x54a4c8['has'](_0x53798d['id']))))['includes'](!0x1);}function de(_0x1ef7d1){const _0xa8b41c=_0x12cdbf;Oe(_0x1ef7d1[_0xa8b41c(0x20a)])||_0x1ef7d1['preventDefault']();}function F(_0x4f4cab){const _0x478824=_0x12cdbf;_0x4f4cab[_0x478824(0x17e)](_0x478824(0x124),de,!0x0),_0x4f4cab[_0x478824(0x19b)](_0x478824(0x124),de,!0x0);}function Pe(){const _0x26f7dc=_0x12cdbf;if(j)return;let _0x4fdd1a=Document[_0x26f7dc(0x18e)][_0x26f7dc(0x1f7)];j={'value':function(){const _0x5f558d=_0x26f7dc;let _0x57eefc=_0x4fdd1a['apply'](this,arguments);try{String(arguments[0x0])[_0x5f558d(0x1a6)]()===_0x5f558d(0x170)&&F(_0x57eefc);}catch(_0x3de65a){}return _0x57eefc;},'configurable':!0x1},Object[_0x26f7dc(0x212)](Document[_0x26f7dc(0x18e)],_0x26f7dc(0x1f7),j);}function D(_0x21f23c=0x0){const _0x537034=_0x12cdbf;if(!document[_0x537034(0x194)]&&_0x21f23c<0xa)return setTimeout(()=>D(_0x21f23c+0x1),0x32);H||(H=new MutationObserver(_0x5544aa=>_0x5544aa[_0x537034(0x229)](_0x3e4209=>_0x3e4209['addedNodes']['forEach'](_0x305e6a=>{_0x305e6a instanceof HTMLFormElement&&F(_0x305e6a);}))),H['observe'](document['body'],{'childList':!0x0,'subtree':!0x0}));}addEventListener(_0x12cdbf(0x1ae),()=>D()),Pe(),D(),document['querySelectorAll'](_0x12cdbf(0x1d7))[_0x12cdbf(0x229)](_0x13b127=>F(_0x13b127));function _0x4ab0(){const _0x34cff9=['searchParams','1149777VTtQqo','picture','8680720ERAnKK','toLowerCase','9012GIIpBV','map','read','[id]','image/tiff','www.embed.localhost','image','has','image/heic','image/gif','image/x-icon','href','big','rememberConfig','action-text-attachment','ciphertext','inputElement','embed','prohibited','15620AvRbnO','createElement','data-trix-embed-prohibited','0.0.4','firstElementChild','Content\x20includes\x20links\x20or\x20media\x20from\x20restricted\x20protocols\x20or\x20prohibited\x20hosts.','area','insertLineBreak','defineProperties','allowedHosts','feTile','formElement','extractLabelFromElement','size','tagName','toolbar','obfuscate','flat','pathname','data-trix-embed-hosts-value=\x27','target','alt','textContent','error','<br>','address','img','Prohibited\x20Link:','defineProperty','subtle','TrixEmbed','3vdMcbG','nextNode','setSelectedRange','warning','substring','exportKey','allowpaymentrequest','finally','insertAttachment','animateTransform','hostsValueDescriptors','sort','news:','link','action','Prohibited\x20Hosts','inline','https://example.com','createTemplateElement','nodeValue','forEach','loading','iframe','div','blockedHosts','[data-trix-action=\x22link\x22]','<li>Not\x20configured</li>','trix-embed','\x0a\x20\x20\x20\x20<div\x20data-trix-embed\x20data-trix-embed-warning>\x0a\x20\x20\x20\x20\x20\x20<h1>{{header}}</h1>\x0a\x20\x20\x20\x20\x20\x20<h3>{{subheader}}</h3>\x0a\x0a\x20\x20\x20\x20\x20\x20<h2>{{prohibited.header}}</h2>\x0a\x20\x20\x20\x20\x20\x20<ul>{{prohibited.hosts}}</ul>\x0a\x0a\x20\x20\x20\x20\x20\x20<h2>{{allowed.header}}</h2>\x0a\x20\x20\x20\x20\x20\x20<ul>{{allowed.hosts}}</ul>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20','AES-GCM','input','stringify','querySelectorAll','element','attachment','197092jCDOth','sanitizePastedElement','paste','xml:lang','length','http','Copy/Paste\x20Warning','Value','add','charCodeAt','32312lvFTBA','insertNewlines','replace','sub','find','previousElementSibling','propertyIsEnumerable','frameset','beforeunload','<li>','HostsValue','string','https://test.com','replaceAll','www.trix.test','[src],\x20[href]','(Embedded\x20Above)','source','trix.embed.test','allowedMediaHosts','embed.localhost','editor','importKey','blockquote','resolve','title','Prohibited\x20URL:','FILTER_SKIP','embedded','figcaption','video','renderEmbed','number','data-trix-embed-key-value=\x22','3105qRpyNl','trim','image/vnd.ms-photo','Prohibited\x20Media:','allowedLinkHosts','del','decode','ceil','submit','beforeFetchResponse','<a\x20href=\x27{{url}}\x27>{{label}}</a>','reservedDomains','default','referrerpolicy','template','</div>','object','dfn','securityHosts','host','kbd','hasOwnProperty','obscurityHosts','floor','trix.test','sup','sgid','\x0a\x20\x20\x20\x20<div\x20data-trix-embed>\x0a\x20\x20\x20\x20\x20\x20<img\x20src=\x27{{src}}\x27\x20loading=\x27lazy\x27></img>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20','data-trix-embed','connect','reconnect','parse','Allowed\x20Media:','removeItem','small','filesize','fromCharCode','controller','closest','data-trix-embed-warning','time','info','abbr','blockedMediaHosts','trixEmbedPasting','trix-paste','call','all','span','www.embed.local','data-trix-embed-paranoid-value','match','render','strong','getAttribute','793277JZVkhH','cite','disconnect','onBeforeUnload','innerHTML','figure','</li>','feDisplacementMap','image/jp2','replacement','lastIndexOf','animate','log','content','startsWith','then','join','guard','data-controller','ins','data-trix-embed-error','TemplateValue','jwk','protect','tel:','name','lang','catch','write','FORM','caption','www.embed.test','embed.test','804amQYjj','renderWarnings','allowfullscreen','All','encrypt','querySelector','encode','feImage','www.trix.localhost','Failed\x20to\x20get\x20\x27','removeEventListener','Unhandled\x20Exception!','pre','toolbarElement','trix-file-accept','onBeforeFetchResponse','generateStorageKey','replaceWith','use','forgetConfig','cloneNode','decrypt','track','trix.invalid','split','templates','prototype','embed.example','getElementById','preventDefault','paranoid','font-face-uri','body','symbol','getOwnPropertySymbols','renderError','push','sanitize','remove','addEventListener','store','filter','trix.localhost','embed.invalid','valueDescriptorMap','getRandomValues','sandbox','image/avif','[data-trix-button-group=\x22file-tools\x22]','previewable','toUpperCase','www.embed.example','<div>','includes','initializeTemplate','setAttribute','2092LKvzmA','Failed\x20to\x20parse\x20URL!\x20value=\x27','load','\x0a\x20\x20\x20\x20<div\x20data-trix-embed>\x0a\x20\x20\x20\x20\x20\x20<iframe\x20src=\x27{{src}}\x27\x20loading=\x27lazy\x27\x20referrerpolicy=\x27no-referrer\x27\x20scrolling=\x27no\x27></iframe>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20','removeAttribute','www.trix.invalid','presentation','data-trix-embed-','bind','random','insertHTML','32lMqWJk','concat','trix-editor','www.trix.example','image/jpeg','slice','data-blob-url-template','reduce','turbo:before-fetch-response','replacements','blockedLinkHosts','FILTER_ACCEPT','insert','key','height','code','initializeTempates','values','createAttachment','script','preventAttachments','setItem','reverse','onPaste','frame','filename','acronym','base','isArray','renderEmbeds','src','attributes','form','endsWith','register','www.trix.local','animateMotion','SHOW_TEXT','generateKey'];_0x4ab0=function(){return _0x34cff9;};return _0x4ab0();}var S=class{constructor(_0x5a8783){const _0x19d70f=_0x12cdbf;this[_0x19d70f(0x141)]=_0x5a8783;}[_0x12cdbf(0x1cb)](){const _0x1271de=_0x12cdbf;var _0x48c5ee,_0x338fa6,_0x3aab99,_0x44206c,_0x7b2c9;(_0x48c5ee=this[_0x1271de(0x10f)])==null||_0x48c5ee[_0x1271de(0x1b0)]('data-direct-upload-url'),(_0x338fa6=this[_0x1271de(0x10f)])==null||_0x338fa6['removeAttribute'](_0x1271de(0x1bd)),(_0x3aab99=this[_0x1271de(0x10f)])==null||_0x3aab99[_0x1271de(0x19b)](_0x1271de(0x182),_0x1f09b5=>_0x1f09b5[_0x1271de(0x191)](),!0x0),(_0x7b2c9=(_0x44206c=this[_0x1271de(0x205)])==null?void 0x0:_0x44206c[_0x1271de(0x179)](_0x1271de(0x1a4)))==null||_0x7b2c9['remove']();}async['preventLinks'](){const _0x3ff850=_0x12cdbf;var _0x53fd85,_0x5b3e6a;let _0x1c08b6=await this[_0x3ff850(0x141)][_0x3ff850(0x120)];!(await this[_0x3ff850(0x141)][_0x3ff850(0x1c1)])['length']&&_0x1c08b6[_0x3ff850(0x1a9)]('*')||(_0x5b3e6a=(_0x53fd85=this[_0x3ff850(0x205)])==null?void 0x0:_0x53fd85[_0x3ff850(0x179)](_0x3ff850(0x22e)))==null||_0x5b3e6a[_0x3ff850(0x19a)]();}[_0x12cdbf(0x16a)](_0x1659ee=0x0){const _0x2c0b5f=_0x12cdbf;if(!this[_0x2c0b5f(0x205)]&&_0x1659ee<0xa)return setTimeout(()=>this[_0x2c0b5f(0x16a)](_0x1659ee+0x1),0x19);this['preventAttachments'](),this['preventLinks'](),this[_0x2c0b5f(0x1d7)]&&ue(this[_0x2c0b5f(0x1d7)],this['input']);}get['editor'](){return this['controller']['element'];}get[_0x12cdbf(0x205)](){const _0x30a9f7=_0x12cdbf;return this[_0x30a9f7(0x141)][_0x30a9f7(0x181)];}get[_0x12cdbf(0x1d7)](){const _0x5a5981=_0x12cdbf;return this[_0x5a5981(0x141)][_0x5a5981(0x201)];}get[_0x12cdbf(0x233)](){const _0x42a1d7=_0x12cdbf;return this[_0x42a1d7(0x141)][_0x42a1d7(0x1f3)];}},k=class{constructor(_0x546bf3){const _0x288aab=_0x12cdbf;var _0x5aa9a1,_0x34f32a,_0xc70288;let _0x7f7ef7=[location[_0x288aab(0x208)],(_0x34f32a=b((_0x5aa9a1=_0x546bf3['formElement'])==null?void 0x0:_0x5aa9a1[_0x288aab(0x223)]))==null?void 0x0:_0x34f32a['pathname'],(_0xc70288=_0x546bf3[_0x288aab(0x236)][_0x288aab(0x142)](_0x288aab(0x1e6)))==null?void 0x0:_0xc70288['id']];this['controller']=_0x546bf3,this['identifier']=_0x7f7ef7[_0x288aab(0x19d)](_0x355494=>_0x355494&&_0x355494['length'])[_0x288aab(0x163)]('/')[_0x288aab(0xfc)](/\/{2,}/g,'/'),this[_0x288aab(0x1d2)]=this[_0x288aab(0x206)](this['identifier']);}['split'](_0x1acc36){const _0x409f30=_0x12cdbf;let _0x4c7e39=Math[_0x409f30(0x123)](_0x1acc36[_0x409f30(0x23c)]/0x2);return[_0x1acc36['slice'](0x0,_0x4c7e39),_0x1acc36[_0x409f30(0x1bc)](_0x4c7e39)];}[_0x12cdbf(0x206)](_0x1afa9c){const _0x1ef5a2=_0x12cdbf;var _0x1778ff;let _0x135f63=[..._0x1afa9c][_0x1ef5a2(0x1e4)](_0x3c99ed=>_0x3c99ed[_0x1ef5a2(0xf9)](0x0));return[(_0x1778ff=this[_0x1ef5a2(0x18c)](_0x135f63)[0x1])==null?void 0x0:_0x1778ff[_0x1ef5a2(0x1cd)](),_0x135f63[0x0]][_0x1ef5a2(0x207)]()[_0x1ef5a2(0x163)]('');}[_0x12cdbf(0x1e5)](_0x3eb52a){const _0x182ade=_0x12cdbf;return sessionStorage['getItem'](this[_0x182ade(0x184)](_0x3eb52a));}[_0x12cdbf(0x16f)](_0x2eca6b,_0x379b0b){const _0x61044f=_0x12cdbf;return sessionStorage[_0x61044f(0x1cc)](this[_0x61044f(0x184)](_0x2eca6b),_0x379b0b);}[_0x12cdbf(0x19a)](_0x236ae7){const _0x3ffaf1=_0x12cdbf;return sessionStorage[_0x3ffaf1(0x13d)](this[_0x3ffaf1(0x184)](_0x236ae7));}[_0x12cdbf(0x184)](_0x24ba11){const _0x5152ed=_0x12cdbf;let _0x38975a=[...this[_0x5152ed(0x206)](_0x24ba11)],[_0x3bd51c,_0x294c1d]=this[_0x5152ed(0x18c)](_0x38975a);return btoa(_0x3bd51c+'/'+this[_0x5152ed(0x1d2)]+'/'+_0x294c1d);}},V={'link':_0x12cdbf(0x126),'embedded':'\x0a\x20\x20\x20\x20<span>\x0a\x20\x20\x20\x20\x20\x20<strong>{{label}}</strong>\x0a\x20\x20\x20\x20\x20\x20<span>{{description}}</span>\x0a\x20\x20\x20\x20\x20\x20<del>{{url}}</del>\x0a\x20\x20\x20\x20</span>\x0a\x20\x20','prohibited':'\x0a\x20\x20\x20\x20<span>\x0a\x20\x20\x20\x20\x20\x20<strong>{{label}}</strong>\x0a\x20\x20\x20\x20\x20\x20<span>{{description}}</span>\x0a\x20\x20\x20\x20\x20\x20<del>{{url}}</del>\x0a\x20\x20\x20\x20</span>\x0a\x20\x20','error':'\x0a\x20\x20\x20\x20<div\x20data-trix-embed\x20data-trix-embed-error>\x0a\x20\x20\x20\x20\x20\x20<h1>{{header}}</h1>\x0a\x20\x20\x20\x20\x20\x20<pre><code>{{error.stack}}</code></pre>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20','iframe':_0x12cdbf(0x1af),'image':_0x12cdbf(0x137),'warning':_0x12cdbf(0x231)},je=[oe,'a',_0x12cdbf(0x146),_0x12cdbf(0x1d1),_0x12cdbf(0x20f),'b',_0x12cdbf(0x1ef),_0x12cdbf(0x111),'br',_0x12cdbf(0x154),_0x12cdbf(0x1c6),'dd',_0x12cdbf(0x121),_0x12cdbf(0x12d),_0x12cdbf(0x22c),'dl','dt','em',_0x12cdbf(0x117),_0x12cdbf(0x158),'h1','h2','h3','h4','h5','h6','hr','i',_0x12cdbf(0x22b),_0x12cdbf(0x210),_0x12cdbf(0x166),_0x12cdbf(0x130),'li','ol','p',_0x12cdbf(0x180),'samp',_0x12cdbf(0x13e),_0x12cdbf(0x14c),_0x12cdbf(0x151),_0x12cdbf(0xfd),_0x12cdbf(0x135),_0x12cdbf(0x144),'tt','ul','var'],He=['abbr','allow',_0x12cdbf(0x176),_0x12cdbf(0x21b),_0x12cdbf(0x20b),_0x12cdbf(0x171),_0x12cdbf(0x154),'content-type','credentialless','csp',_0x12cdbf(0x138),_0x12cdbf(0x167),_0x12cdbf(0x1f8),_0x12cdbf(0x143),'datetime',_0x12cdbf(0x1d0),_0x12cdbf(0x13f),_0x12cdbf(0x1c5),_0x12cdbf(0x1ee),_0x12cdbf(0x16d),_0x12cdbf(0x22a),_0x12cdbf(0x16c),_0x12cdbf(0x1b2),_0x12cdbf(0x1a5),_0x12cdbf(0x129),_0x12cdbf(0x1a2),_0x12cdbf(0x136),_0x12cdbf(0x1d5),'srcdoc',_0x12cdbf(0x113),'url','width',_0x12cdbf(0x23b)],A=class{constructor(_0x11989c){const _0x5f2d63=_0x12cdbf;this['controller']=_0x11989c,this[_0x5f2d63(0x1c7)]();}['sanitize'](_0x41395e){const _0x485ee7=_0x12cdbf;let _0x54378a=document[_0x485ee7(0x1f7)](_0x485ee7(0x12a));_0x54378a[_0x485ee7(0x157)]=_0x485ee7(0x1a8)+_0x41395e+_0x485ee7(0x12b);let _0x4e2a1f=_0x54378a[_0x485ee7(0x160)][_0x485ee7(0x1fa)];return[_0x4e2a1f][_0x485ee7(0x1b8)]([..._0x4e2a1f[_0x485ee7(0x235)]('*')])['forEach'](_0x583644=>{const _0x1177fe=_0x485ee7;je[_0x1177fe(0x1a9)](_0x583644[_0x1177fe(0x204)]['toLowerCase']())?[..._0x583644[_0x1177fe(0x1d6)]][_0x1177fe(0x229)](_0x5a970c=>{const _0x53c762=_0x1177fe;He[_0x53c762(0x1a9)](_0x5a970c['name'][_0x53c762(0x1e2)]())||_0x583644[_0x53c762(0x1b0)](_0x5a970c[_0x53c762(0x16c)]);}):_0x583644['remove']();}),_0x4e2a1f[_0x485ee7(0x157)];}[_0x12cdbf(0x1c7)](){this['templates']=V,Object['keys'](V)['forEach'](_0x3ec14a=>this['initializeTemplate'](_0x3ec14a));}[_0x12cdbf(0x1aa)](_0xe4078){const _0xc4654c=_0x12cdbf;var _0x271706,_0x287c11;let _0x2cbc14=_0xe4078+_0xc4654c(0x168),_0x44c57a=this[_0xc4654c(0x141)][_0x2cbc14],_0x25e3e2=_0x44c57a?(_0x287c11=(_0x271706=document['getElementById'](_0x44c57a))==null?void 0x0:_0x271706['innerHTML'])==null?void 0x0:_0x287c11[_0xc4654c(0x11d)]():null;return this[_0xc4654c(0x141)][_0x2cbc14]=null,_0x25e3e2&&(this[_0xc4654c(0x18d)][_0xe4078]=_0x25e3e2),this['templates'][_0xe4078];}[_0x12cdbf(0x150)](_0x8a1db,_0x1ce989={}){const _0x44a01a=_0x12cdbf;return this[_0x44a01a(0x18d)][_0x8a1db]['replace'](/{{(.*?)}}/g,(_0x36b412,_0x564917)=>_0x564917[_0x44a01a(0x18c)]('.')[_0x44a01a(0x1be)]((_0x5342d8,_0x44c44a)=>_0x5342d8[_0x44c44a],_0x1ce989));}[_0x12cdbf(0x119)](_0x5d91ac=_0x12cdbf(0x226)){const _0x45f30c=_0x12cdbf;let _0x1dd45a=ce(_0x5d91ac)?this[_0x45f30c(0x150)](_0x45f30c(0x1e9),{'src':_0x5d91ac}):this[_0x45f30c(0x150)](_0x45f30c(0x22b),{'src':_0x5d91ac});return this[_0x45f30c(0x199)](_0x1dd45a);}['renderEmbeds'](_0x457186=[_0x12cdbf(0x226),_0x12cdbf(0x106)]){const _0x1a7093=_0x12cdbf;if(_0x457186!=null&&_0x457186[_0x1a7093(0x23c)])return _0x457186[_0x1a7093(0x1e4)](_0x1adac8=>this['renderEmbed'](_0x1adac8));}[_0x12cdbf(0x175)](_0x24503f=[_0x12cdbf(0x226),_0x12cdbf(0x106)],_0x51db71=[],_0x39d4ec=[]){const _0x431ef9=_0x12cdbf;if(_0x24503f!=null&&_0x24503f[_0x431ef9(0x23c)])return _0x51db71=[..._0x51db71][_0x431ef9(0x220)](),_0x51db71[_0x431ef9(0x1a9)]('*')&&(_0x51db71=[_0x431ef9(0x177)]),_0x39d4ec=[...new Set([..._0x39d4ec,...re(_0x24503f)])][_0x431ef9(0x220)](),_0x39d4ec['includes']('*')&&(_0x39d4ec=['All']),this[_0x431ef9(0x150)](_0x431ef9(0x218),{'header':_0x431ef9(0x23e),'subheader':_0x431ef9(0x1fb),'prohibited':{'header':_0x431ef9(0x224),'hosts':_0x39d4ec['length']?_0x39d4ec[_0x431ef9(0x1e4)](_0x290e09=>_0x431ef9(0x103)+_0x290e09+_0x431ef9(0x159))[_0x431ef9(0x163)](''):_0x431ef9(0x22f)},'allowed':{'header':'Allowed\x20Hosts','hosts':_0x51db71[_0x431ef9(0x23c)]?_0x51db71[_0x431ef9(0x1e4)](_0x5749e7=>_0x431ef9(0x103)+_0x5749e7+_0x431ef9(0x159))[_0x431ef9(0x163)](''):_0x431ef9(0x22f)}});}['renderError'](_0x1e344b){const _0x1279e7=_0x12cdbf;return this[_0x1279e7(0x150)]('error',{'header':_0x1279e7(0x17f),'subheader':'Report\x20this\x20problem\x20to\x20a\x20software\x20engineer.','error':_0x1e344b});}};function pe(_0x2fdcde={'Controller':null,'Trix':null}){const _0x3a5699=_0x12cdbf;var _0x38fb47;let {Controller:_0x15e84d,Trix:_0x3c92f6}=_0x2fdcde;return _0x38fb47=class extends _0x15e84d{[_0x3a5699(0x139)](){const _0x496932=_0x3a5699;this['onPaste']=this[_0x496932(0x23a)][_0x496932(0x1b4)](this),this[_0x496932(0x236)][_0x496932(0x19b)]('trix-paste',this[_0x496932(0x1ce)],!0x0),this[_0x496932(0x183)]=this[_0x496932(0x125)][_0x496932(0x1b4)](this),addEventListener(_0x496932(0x1bf),this[_0x496932(0x183)],!0x0),this['onBeforeUnload']=this[_0x496932(0x187)][_0x496932(0x1b4)](this),addEventListener('beforeunload',this[_0x496932(0x156)],!0x0),this[_0x496932(0x19c)]=new k(this),this[_0x496932(0x164)]=new S(this),!this[_0x496932(0x1c4)]&&this[_0x496932(0x1f0)]()[_0x496932(0x162)](()=>{const _0x5a4e99=_0x496932;this[_0x5a4e99(0x192)]&&this[_0x5a4e99(0x164)][_0x5a4e99(0x16a)]();});}[_0x3a5699(0x13a)](){const _0xc75235=_0x3a5699;let _0x5e5937=this[_0xc75235(0x236)]['getAttribute'](_0xc75235(0x165))||'',_0x2e0adf=new Set(_0x5e5937[_0xc75235(0x18c)]('\x20'));_0x2e0adf[_0xc75235(0xf8)](_0xc75235(0x230)),this['element'][_0xc75235(0x1ab)](_0xc75235(0x165),[..._0x2e0adf][_0xc75235(0x163)]('\x20')[_0xc75235(0x11d)]());}[_0x3a5699(0x155)](){const _0x46f234=_0x3a5699;this[_0x46f234(0x236)]['removeEventListener'](_0x46f234(0x149),this[_0x46f234(0x1ce)],!0x0),removeEventListener('turbo:before-fetch-response',this[_0x46f234(0x183)],!0x0),removeEventListener(_0x46f234(0x102),this[_0x46f234(0x156)],!0x0),this['reconnect']();}[_0x3a5699(0x125)](_0xe99b20){const _0x22e0c1=_0x3a5699;try{_0xe99b20[_0x22e0c1(0x20a)]['querySelectorAll'](_0x22e0c1(0x1b9))[_0x22e0c1(0x1a9)](this['element'])&&this[_0x22e0c1(0x187)]();}catch(_0x197237){}}async['paste'](_0x5620e7){const _0x5a8302=_0x3a5699;this['formElement']&&(this[_0x5a8302(0x201)][_0x5a8302(0x148)]=!0x0);try{let {html:_0x5c09b3,string:_0x43856c,range:_0x15f76d}=_0x5620e7[_0x5a8302(0x23a)],_0x36b6fb=_0x5c09b3||_0x43856c||'',_0x4da7d6=this[_0x5a8302(0x227)](_0x36b6fb),_0x96b4cf=ie(_0x4da7d6);if(!_0x96b4cf[_0x5a8302(0x23c)])return;_0x5620e7[_0x5a8302(0x191)](),this[_0x5a8302(0x10f)][_0x5a8302(0x217)](_0x15f76d);let _0xbcfb92=new A(this);try{let _0x4f514f=await this[_0x5a8302(0x10d)],_0x3c7d42=await this[_0x5a8302(0x147)],_0x19411c=new Set(_0x96b4cf[_0x5a8302(0x19d)](_0x368938=>P(_0x368938)));[..._0x4da7d6['querySelectorAll']('iframe')][_0x5a8302(0x229)](_0x58df39=>_0x19411c[_0x5a8302(0xf8)](_0x58df39[_0x5a8302(0x1d5)])),_0x19411c=[..._0x19411c];let _0x586e7b=_0x19411c[_0x5a8302(0x19d)](_0x3d88c6=>O(_0x3d88c6,_0x4f514f,_0x3c7d42)),_0x59b30c=_0x19411c[_0x5a8302(0x19d)](_0x3586d4=>!_0x586e7b[_0x5a8302(0x1a9)](_0x3586d4)),_0x534f7e=await this[_0x5a8302(0x120)],_0x2359ef=await this[_0x5a8302(0x1c1)],_0x4e938c=_0x96b4cf['filter'](_0x3e0636=>!_0x19411c['includes'](_0x3e0636)),_0x192410=_0x4e938c['filter'](_0x19b8a2=>O(_0x19b8a2,_0x534f7e,_0x2359ef)),_0x274e93=_0x4e938c[_0x5a8302(0x19d)](_0x386149=>!_0x192410['includes'](_0x386149));if(_0x59b30c[_0x5a8302(0x23c)]||_0x274e93[_0x5a8302(0x23c)]){let _0x21f70c=[...new Set([..._0x59b30c,..._0x274e93])],_0x1612bc=[...new Set([..._0x4f514f,..._0x534f7e])][_0x5a8302(0x19d)](_0x366a14=>!this['reservedDomains'][_0x5a8302(0x1a9)](_0x366a14)),_0x4c69c3=[...new Set([..._0x3c7d42,..._0x2359ef])]['filter'](_0x45a169=>!this[_0x5a8302(0x127)][_0x5a8302(0x1a9)](_0x45a169));console[_0x5a8302(0x15f)](_0x5a8302(0x1ff),_0x1612bc),console[_0x5a8302(0x15f)](_0x5a8302(0x22d),_0x4c69c3),await this[_0x5a8302(0x1c3)](_0xbcfb92[_0x5a8302(0x175)](_0x21f70c,_0x1612bc,_0x4c69c3));}if(_0x586e7b[_0x5a8302(0x23c)]&&await this[_0x5a8302(0x1c3)](_0xbcfb92[_0x5a8302(0x1d4)](_0x586e7b)),_0x96b4cf[_0x5a8302(0x23c)]===0x1&&_0x586e7b[_0x5a8302(0x23c)]===0x1)return;let _0x488b3e=this[_0x5a8302(0x239)](_0x4da7d6,{'renderer':_0xbcfb92,'validMediaURLs':_0x586e7b,'validLinkURLs':_0x192410})['innerHTML'][_0x5a8302(0x11d)]();_0x488b3e[_0x5a8302(0x23c)]&&await this[_0x5a8302(0x1c3)](_0x488b3e,{'disposition':_0x5a8302(0x225)});}catch(_0x196b5b){this[_0x5a8302(0x1c3)](_0xbcfb92[_0x5a8302(0x197)](_0x196b5b));}}finally{this[_0x5a8302(0x201)]&&delete this['formElement'][_0x5a8302(0x148)];}}[_0x3a5699(0x227)](_0xca9736){const _0x2ae319=_0x3a5699;let _0xf2fee3=document[_0x2ae319(0x1f7)](_0x2ae319(0x12a));return _0xf2fee3[_0x2ae319(0x157)]=_0x2ae319(0x1a8)+_0xca9736['trim']()+'</div>',_0xf2fee3[_0x2ae319(0x160)][_0x2ae319(0x1fa)];}[_0x3a5699(0x202)](_0x25e100,_0x43222d={'default':null}){const _0x344d2d=_0x3a5699;let _0x2c3671=_0x25e100[_0x344d2d(0x113)];return _0x2c3671&&_0x2c3671[_0x344d2d(0x23c)]||(_0x2c3671=_0x25e100[_0x344d2d(0x20c)]['trim'](),_0x2c3671&&_0x2c3671['length'])?_0x2c3671:_0x43222d[_0x344d2d(0x128)];}['sanitizePastedElement'](_0x5cb9d0,_0x2adf68={'renderer':null,'validMediaURLs':[],'validLinkURLs':[]}){const _0x1eb8f1=_0x3a5699;let {renderer:_0x2601cd,validMediaURLs:_0x26e694,validLinkURLs:_0xab85e}=_0x2adf68;_0x5cb9d0=_0x5cb9d0[_0x1eb8f1(0x188)](!0x0);let _0x10bdec=C(_0x5cb9d0),_0x1378ea=[],_0x4ba3f0;for(;_0x4ba3f0=_0x10bdec[_0x1eb8f1(0x216)]();)_0x4ba3f0[_0x1eb8f1(0x1c0)]=_0x4ba3f0[_0x1eb8f1(0x1c0)]||new Set(),_0x1378ea[_0x1eb8f1(0x198)](_0x4ba3f0),_0x4ba3f0['nodeValue'][_0x1eb8f1(0x18c)](/\s+/)[_0x1eb8f1(0x19d)](_0x5ab6bf=>_0x5ab6bf[_0x1eb8f1(0x161)](_0x1eb8f1(0x23d)))[_0x1eb8f1(0x229)](_0x3f54a3=>{const _0x3e59bf=_0x1eb8f1;var _0x5a056a;let _0x2ee716=(_0x5a056a=b(_0x3f54a3))==null?void 0x0:_0x5a056a[_0x3e59bf(0x1ee)],_0x516f2f=_0xab85e[_0x3e59bf(0x1a9)](_0x2ee716)||_0xab85e[_0x3e59bf(0x1a9)](_0x2ee716)?_0x2601cd[_0x3e59bf(0x150)](_0x3e59bf(0x222),{'url':_0x2ee716,'label':_0x2ee716}):_0x2601cd[_0x3e59bf(0x150)](_0x3e59bf(0x1f5),{'url':_0x2ee716,'label':_0x3e59bf(0x114),'description':''});_0x4ba3f0['replacements'][_0x3e59bf(0xf8)]({'match':_0x3f54a3,'replacement':_0x516f2f});});return _0x1378ea[_0x1eb8f1(0x229)](_0x38846d=>{const _0x36470b=_0x1eb8f1;if(!_0x38846d[_0x36470b(0x1c0)][_0x36470b(0x203)])return;let _0x3c4b1f=_0x38846d[_0x36470b(0x228)];[..._0x38846d[_0x36470b(0x1c0)]][_0x36470b(0x220)]((_0x25c5b7,_0x3e527e)=>_0x3e527e[_0x36470b(0x14f)][_0x36470b(0x23c)]-_0x25c5b7[_0x36470b(0x14f)][_0x36470b(0x23c)])['forEach'](_0x256106=>_0x3c4b1f=_0x3c4b1f['replaceAll'](_0x256106[_0x36470b(0x14f)],_0x256106[_0x36470b(0x15c)])),_0x38846d[_0x36470b(0x185)](this[_0x36470b(0x227)](_0x3c4b1f));}),_0x5cb9d0[_0x1eb8f1(0x235)]('a')['forEach'](_0x173458=>{const _0xc168e3=_0x1eb8f1;let _0x3a8592=U(_0x173458),_0x2c04b3=this[_0xc168e3(0x202)](_0x173458,{'default':_0x3a8592}),_0x3f6faf=_0xab85e[_0xc168e3(0x1a9)](_0x3a8592)?_0x2601cd['render']('link',{'url':_0x3a8592,'label':_0x2c04b3}):_0x2601cd['render'](_0xc168e3(0x1f5),{'url':_0x3a8592,'label':_0xc168e3(0x211),'description':'('+_0x2c04b3+')'});_0x173458[_0xc168e3(0x185)](this[_0xc168e3(0x227)](_0x3f6faf));}),_0x5cb9d0[_0x1eb8f1(0x235)](le[_0x1eb8f1(0x163)](',\x20'))['forEach'](_0x34a936=>{const _0x1f8866=_0x1eb8f1;let _0x1bac09=U(_0x34a936),_0xb134a1=this['extractLabelFromElement'](_0x34a936,{'default':_0x1bac09}),_0x3cb5e7=_0x26e694['includes'](_0x1bac09)?_0x2601cd[_0x1f8866(0x150)](_0x1f8866(0x116),{'url':_0x1bac09,'label':_0x1f8866(0x13c),'description':_0x1f8866(0x10a)}):_0x2601cd[_0x1f8866(0x150)](_0x1f8866(0x1f5),{'url':_0x1bac09,'label':_0x1f8866(0x11f),'description':''});_0x34a936[_0x1f8866(0x185)](this[_0x1f8866(0x227)](_0x3cb5e7));}),_0x5cb9d0['innerHTML'][_0x1eb8f1(0x107)](/(\n|\r|\f|\v)+/g,_0x1eb8f1(0x20e)),_0x5cb9d0;}[_0x3a5699(0x1c9)](_0x370669){const _0x316120=_0x3a5699;return new _0x3c92f6['Attachment']({'content':_0x370669,'contentType':ne[_0x316120(0x237)]});}[_0x3a5699(0xfb)](_0x35720f=0x1,_0x48cb0d={'delay':0x1}){let {delay:_0x255324}=_0x48cb0d;return new Promise(_0x1e8260=>{setTimeout(()=>{const _0x54ba1b=_0x17dc;for(let _0x544825=0x0;_0x544825<_0x35720f;_0x544825++)this['editor'][_0x54ba1b(0x1fd)]();_0x1e8260();},_0x255324);});}[_0x3a5699(0x21d)](_0x57d975,_0x3c9363={'delay':0x1}){let {delay:_0x34ad95}=_0x3c9363;return new Promise(_0x301cd7=>{setTimeout(()=>{const _0x3acdfa=_0x17dc;this[_0x3acdfa(0x10f)][_0x3acdfa(0x21d)](this[_0x3acdfa(0x1c9)](_0x57d975)),this[_0x3acdfa(0xfb)](0x1,{'delay':_0x34ad95})['finally'](_0x301cd7);},_0x34ad95);});}['insertHTML'](_0x433c25,_0x17255e={'delay':0x1}){let {delay:_0x18fddc}=_0x17255e;return new Promise(_0x34b9eb=>{setTimeout(()=>{const _0x3297f0=_0x17dc;this[_0x3297f0(0x10f)][_0x3297f0(0x1b6)](_0x433c25),this[_0x3297f0(0xfb)](0x1,{'delay':_0x18fddc})[_0x3297f0(0x21c)](_0x34b9eb);},_0x18fddc);});}[_0x3a5699(0x1c3)](_0x4e6f81,_0x570fc1={'delay':0x1,'disposition':'attachment'}){const _0x26d8e3=_0x3a5699;let {delay:_0xbad883,disposition:_0x5877f8}=_0x570fc1;return _0x4e6f81!=null&&_0x4e6f81[_0x26d8e3(0x23c)]?new Promise(_0x1bb7ac=>{setTimeout(()=>{const _0x25f913=_0x17dc;if(typeof _0x4e6f81==_0x25f913(0x105))return _0x5877f8==='inline'?this[_0x25f913(0x1b6)](_0x4e6f81,{'delay':_0xbad883})[_0x25f913(0x16e)](_0x369156=>this[_0x25f913(0x197)](_0x369156))[_0x25f913(0x21c)](_0x1bb7ac):this[_0x25f913(0x21d)](_0x4e6f81,{'delay':_0xbad883})[_0x25f913(0x16e)](_0x4a7cea=>this[_0x25f913(0x197)](_0x4a7cea))[_0x25f913(0x21c)](_0x1bb7ac);if(Array[_0x25f913(0x1d3)](_0x4e6f81)){let _0x5da9df=_0x5877f8===_0x25f913(0x225)?_0x4e6f81[_0x25f913(0x1e4)](_0x4f0a5f=>this[_0x25f913(0x1b6)](_0x4f0a5f,{'delay':_0xbad883+0x1})):_0x4e6f81[_0x25f913(0x1e4)](_0x421eec=>this[_0x25f913(0x21d)](_0x421eec,{'delay':_0xbad883+0x1}));return Promise[_0x25f913(0x14b)](_0x5da9df)[_0x25f913(0x16e)](_0x54e167=>this[_0x25f913(0x197)](_0x54e167))[_0x25f913(0x21c)](_0x1bb7ac);}_0x1bb7ac();});}):Promise[_0x26d8e3(0x112)]();}get[_0x3a5699(0x10f)](){const _0x27e1ba=_0x3a5699;return this[_0x27e1ba(0x236)][_0x27e1ba(0x10f)];}get[_0x3a5699(0x181)](){const _0x5c9b51=_0x3a5699;let _0x5adbd8=this['element'][_0x5c9b51(0x152)](_0x5c9b51(0x205)),_0x5cffd6=_0x5adbd8?document[_0x5c9b51(0x190)](_0x5adbd8):null;if(!_0x5cffd6){let _0x34826b=this[_0x5c9b51(0x236)][_0x5c9b51(0xff)];_0x5cffd6=_0x34826b!=null&&_0x34826b[_0x5c9b51(0x204)]['match'](/trix-toolbar/i)?_0x34826b:null;}return _0x5cffd6;}get[_0x3a5699(0x201)](){const _0x341d4d=_0x3a5699;return this[_0x341d4d(0x236)][_0x341d4d(0x142)]('form');}get['inputElement'](){const _0x482b4e=_0x3a5699;var _0x1f3e4e;let _0x17ca0c=this[_0x482b4e(0x236)][_0x482b4e(0x152)](_0x482b4e(0x233));return _0x17ca0c?(_0x1f3e4e=this[_0x482b4e(0x201)])==null?void 0x0:_0x1f3e4e[_0x482b4e(0x179)]('#'+_0x17ca0c):null;}get[_0x3a5699(0x192)](){const _0x4abd5c=_0x3a5699;return!!this[_0x4abd5c(0x19c)][_0x4abd5c(0x1e5)]('paranoid');}get[_0x3a5699(0x1c4)](){const _0x46d293=_0x3a5699;try{return JSON[_0x46d293(0x13b)](this[_0x46d293(0x19c)][_0x46d293(0x1e5)](_0x46d293(0x1c4)))[0x2];}catch(_0x1c703b){return null;}}get['hostsValueDescriptors'](){const _0xd6583c=_0x3a5699;return Object[_0xd6583c(0x1c8)](this[_0xd6583c(0x1a0)])[_0xd6583c(0x19d)](_0x54651c=>_0x54651c['name']['endsWith'](_0xd6583c(0x104)));}get[_0x3a5699(0x127)](){const _0x31c4a3=_0x3a5699;return[_0x31c4a3(0x18f),_0x31c4a3(0x19f),'embed.local',_0x31c4a3(0x10e),_0x31c4a3(0x173),'trix.embed.example','trix.embed.invalid','trix.embed.local','trix.embed.localhost',_0x31c4a3(0x10c),'trix.example',_0x31c4a3(0x18b),'trix.local',_0x31c4a3(0x19e),_0x31c4a3(0x134),_0x31c4a3(0x1a7),'www.embed.invalid',_0x31c4a3(0x14d),_0x31c4a3(0x1e8),_0x31c4a3(0x172),_0x31c4a3(0x1ba),_0x31c4a3(0x1b1),_0x31c4a3(0x1da),_0x31c4a3(0x17c),_0x31c4a3(0x108)];}['rememberConfig'](){return new Promise(async _0x532651=>{const _0x483374=_0x17dc;let _0x48d16d,_0x2d535c=await T();_0x48d16d=await x(_0x2d535c,w(this[_0x483374(0x127)],0x3)),this[_0x483374(0x19c)]['write'](_0x483374(0x1c4),JSON[_0x483374(0x234)]([_0x48d16d[0x0],_0x48d16d[0x1],_0x2d535c,_0x48d16d[0x2]])),this['paranoidValue']!==!0x1&&(_0x48d16d=await x(_0x2d535c,w(this[_0x483374(0x127)],0x4)),this[_0x483374(0x19c)][_0x483374(0x16f)]('paranoid',JSON[_0x483374(0x234)](_0x48d16d))),this[_0x483374(0x236)][_0x483374(0x1b0)](_0x483374(0x14e)),this['hostsValueDescriptors'][_0x483374(0x229)](async _0x204b4d=>{const _0x494f5a=_0x483374;let {name:_0x4e3a1a}=_0x204b4d,_0x5d8851=_0x4e3a1a[_0x494f5a(0x1bc)](0x0,_0x4e3a1a[_0x494f5a(0x15d)](_0x494f5a(0x23f))),_0x150715=this[_0x4e3a1a];_0x150715['length']<0x4&&(_0x150715=_0x150715[_0x494f5a(0x1b8)](w(this[_0x494f5a(0x127)],0x4-_0x150715[_0x494f5a(0x23c)]))),this[_0x494f5a(0x19c)]['write'](_0x5d8851,JSON[_0x494f5a(0x234)](await x(_0x2d535c,_0x150715))),this['hasOwnProperty'](_0x5d8851)||Object[_0x494f5a(0x212)](this,_0x5d8851,{'get':async()=>{const _0x5e972c=_0x494f5a;try{return(await Y(this['key'],JSON[_0x5e972c(0x13b)](this[_0x5e972c(0x19c)]['read'](_0x5d8851))))['filter'](_0x203285=>!this[_0x5e972c(0x127)][_0x5e972c(0x1a9)](_0x203285));}catch(_0x6790c1){return console[_0x5e972c(0x20d)](_0x5e972c(0x17d)+_0x5d8851+'\x27!',_0x6790c1),[];}}}),this[_0x494f5a(0x236)][_0x494f5a(0x1b0)](_0x494f5a(0x1b3)+_0x204b4d[_0x494f5a(0x1c4)]);}),_0x48d16d=await x(_0x2d535c,w(this[_0x483374(0x127)],0x4)),this[_0x483374(0x19c)]['write']('securityHosts',_0x48d16d),_0x48d16d=await x(_0x2d535c,w(this[_0x483374(0x127)],0x4)),this[_0x483374(0x19c)]['write'](_0x483374(0x132),_0x48d16d),_0x532651();});}['forgetConfig'](){const _0x475077=_0x3a5699;var _0x469f06,_0x2b37d6,_0x33d9c7,_0x8f4ca9;try{(_0x469f06=this[_0x475077(0x19c)])==null||_0x469f06[_0x475077(0x19a)](_0x475077(0x1c4)),(_0x2b37d6=this[_0x475077(0x19c)])==null||_0x2b37d6[_0x475077(0x19a)]('paranoid'),this[_0x475077(0x21f)][_0x475077(0x229)](async _0x2c9219=>{const _0x2753ac=_0x475077;var _0x1e62f1;let {name:_0x102a7b}=_0x2c9219,_0x2de8ee=_0x102a7b['slice'](0x0,_0x102a7b['lastIndexOf']('Value'));(_0x1e62f1=this[_0x2753ac(0x19c)])==null||_0x1e62f1[_0x2753ac(0x19a)](_0x2de8ee);}),(_0x33d9c7=this[_0x475077(0x19c)])==null||_0x33d9c7[_0x475077(0x19a)](_0x475077(0x12e)),(_0x8f4ca9=this[_0x475077(0x19c)])==null||_0x8f4ca9[_0x475077(0x19a)](_0x475077(0x132));}catch(_0x5398a1){}}},G(_0x38fb47,'values',{'embeddedTemplate':String,'errorTemplate':String,'iframeTemplate':String,'imageTemplate':String,'linkTemplate':String,'prohibitedTemplate':String,'warningTemplate':String,'allowedLinkHosts':Array,'blockedLinkHosts':Array,'allowedMediaHosts':Array,'blockedMediaHosts':Array,'paranoid':{'type':Boolean,'default':!0x0}}),_0x38fb47;}var fe=!0x1,Fe={'application':null,'Controller':null,'Trix':null};function De(_0xd6d3f9=Fe){const _0x1289c8=_0x12cdbf;if(fe)return;let {application:_0xfd005e,Controller:_0x383c0f,Trix:_0x39ea74}=_0xd6d3f9;_0xfd005e[_0x1289c8(0x1d9)](_0x1289c8(0x230),pe({'Controller':_0x383c0f,'Trix':_0x39ea74})),fe=!0x0;}self[_0x12cdbf(0x214)]=L(E({},X),{'encryptValues':x,'generateKey':T,'generateKeyAndEncryptValues':Z,'initialize':De});var Tt=self['TrixEmbed'];export{Tt as default};
5
+ const _0x25ec03=_0x5b82;(function(_0x1653a9,_0x53037e){const _0x5e30e6=_0x5b82,_0xa0e205=_0x1653a9();while(!![]){try{const _0x387d76=-parseInt(_0x5e30e6(0x2c6))/0x1*(parseInt(_0x5e30e6(0x310))/0x2)+-parseInt(_0x5e30e6(0x2c4))/0x3*(-parseInt(_0x5e30e6(0x2fc))/0x4)+parseInt(_0x5e30e6(0x24a))/0x5*(parseInt(_0x5e30e6(0x27c))/0x6)+-parseInt(_0x5e30e6(0x289))/0x7*(-parseInt(_0x5e30e6(0x2b5))/0x8)+parseInt(_0x5e30e6(0x21c))/0x9*(parseInt(_0x5e30e6(0x2ce))/0xa)+parseInt(_0x5e30e6(0x276))/0xb*(-parseInt(_0x5e30e6(0x2ec))/0xc)+-parseInt(_0x5e30e6(0x2b6))/0xd*(parseInt(_0x5e30e6(0x248))/0xe);if(_0x387d76===_0x53037e)break;else _0xa0e205['push'](_0xa0e205['shift']());}catch(_0x125cc0){_0xa0e205['push'](_0xa0e205['shift']());}}}(_0x1733,0xb565e));var be=Object[_0x25ec03(0x2f4)],ye=Object[_0x25ec03(0x2e2)],xe=Object['getOwnPropertyDescriptors'],G=Object[_0x25ec03(0x2d1)],we=Object[_0x25ec03(0x293)]['hasOwnProperty'],ve=Object['prototype'][_0x25ec03(0x313)],N=(_0x45de01,_0x50186e,_0x3cbb86)=>_0x50186e in _0x45de01?be(_0x45de01,_0x50186e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cbb86}):_0x45de01[_0x50186e]=_0x3cbb86,v=(_0x4b073f,_0x852a77)=>{const _0x4e4714=_0x25ec03;for(var _0x565983 in _0x852a77||(_0x852a77={}))we[_0x4e4714(0x2bb)](_0x852a77,_0x565983)&&N(_0x4b073f,_0x565983,_0x852a77[_0x565983]);if(G){for(var _0x565983 of G(_0x852a77))ve[_0x4e4714(0x2bb)](_0x852a77,_0x565983)&&N(_0x4b073f,_0x565983,_0x852a77[_0x565983]);}return _0x4b073f;},E=(_0x2e5804,_0x39716b)=>ye(_0x2e5804,xe(_0x39716b)),X=(_0x6503d4,_0x2f90a1,_0x3e7d9e)=>(N(_0x6503d4,typeof _0x2f90a1!=_0x25ec03(0x2b7)?_0x2f90a1+'':_0x2f90a1,_0x3e7d9e),_0x3e7d9e),Q={'version':'0.0.5'},R={'name':_0x25ec03(0x1ec),'length':0x100},Ee=!0x0,Le=[_0x25ec03(0x22d),_0x25ec03(0x237)];async function Te(){const _0x42b65c=_0x25ec03;let _0x2d1232=[_0x42b65c(0x22d),'decrypt'];return await crypto[_0x42b65c(0x2fa)][_0x42b65c(0x2aa)](R,!0x0,_0x2d1232);}async function Se(_0x1ef85c){const _0x9f2068=_0x25ec03;let _0x11c225=await crypto[_0x9f2068(0x2fa)][_0x9f2068(0x228)](_0x9f2068(0x2a5),_0x1ef85c);return JSON['stringify'](_0x11c225);}async function Y(_0x21430f){const _0x5227a5=_0x25ec03;let _0x55318f=JSON[_0x5227a5(0x2eb)](_0x21430f);return await crypto[_0x5227a5(0x2fa)]['importKey'](_0x5227a5(0x2a5),_0x55318f,R,Ee,Le);}function _0x1733(){const _0x59757c=['HostsValue','target','294kjCahX','write','413iXLBUl','connect','var','www.embed.localhost','TemplateValue','cloneNode','sup','replaceWith','1063670bWoyAg','[data-controller~=\x22trix-embed\x22]','catch','getOwnPropertySymbols','decode','error','push','submit','substring','<a\x20href=\x27{{url}}\x27>{{label}}</a>','figcaption','data-trix-embed-paranoid-value','protect','referrerpolicy','startsWith','www.trix.localhost','tagName','searchParams','video','add','defineProperties','join','removeAttribute','renderError','warning','use','[id]','allowedLinkHostsValue','Prohibited\x20Link:','parse','108FFQWeg','reconnect','remove','controller','trix.localhost','trix.test','track','templates','defineProperty','frame','www.trix.test','\x0a\x20\x20\x20\x20<div\x20data-trix-embed>\x0a\x20\x20\x20\x20\x20\x20<iframe\x20src=\x27{{src}}\x27\x20loading=\x27lazy\x27\x20referrerpolicy=\x27no-referrer\x27\x20scrolling=\x27no\x27></iframe>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20','img','inputElement','subtle','keys','55372TUrDnU','name','info','embed','<li>','blockedHosts','isArray','reservedDomains','formElement','image/avif','https://test.com','previewable','data-trix-embed-warning','insertNewlines','read','www.trix.invalid','trim','textContent','trix-paste','data-trix-embed-prohibited','698XnMOjl','image/x-icon','all','propertyIsEnumerable','http','FILTER_ACCEPT','pre','charCodeAt','tel:','embed.test','has','image/gif','FORM','forgetConfig','prohibited','blockedLinkHosts','content','pathname','onBeforeFetchResponse','Content\x20includes\x20links\x20or\x20media\x20from\x20restricted\x20protocols\x20or\x20prohibited\x20hosts.','Prohibited\x20Media:','src','forEach','FILTER_SKIP','replacement','Copy/Paste\x20Warning','filter','cite','animate','image/jp2','action-text-attachment','data-trix-embed-error','bind','obscurityHosts','data-trix-embed','AES-GCM','base','loading','object','obfuscate','Prohibited\x20URL:','image/bmp','href','link','www.embed.test','finally','iframe','trix-embed/attachment','preventAttachments','samp','guard','[data-trix-button-group=\x22file-tools\x22]','querySelector','includes','load','createElement','sgid','news:','querySelectorAll','allowpaymentrequest','small','removeEventListener','del','(Embedded\x20Above)','image','[data-trix-action=\x22link\x22]','source','www.embed.local','values','form','Attachment','frameset','<li>Not\x20configured</li>','animateTransform','turbo:before-fetch-response','animateMotion','div','slice','trix-file-accept','toolbar','trix-embed','innerHTML','extractLabelFromElement','99ZPoyrt','string','</li>','sub','template','toLowerCase','register','trix.local','span','allowedMediaHosts','toolbarElement','trixEmbedPasting','exportKey','map','setSelectedRange','image/heif','find','encrypt','embed.example','body','trix.example','allowedLinkHosts','</div>','observe','firstElementChild','ceil','SHOW_TEXT','decrypt','setAttribute','action','Failed\x20to\x20get\x20\x27','image/heic','srcdoc','renderWarnings','kbd','font-face-uri','apply','code','image/tiff','input','All','setItem','audio','reverse','154MQyywr','element','3295kyPdtL','ciphertext','Value','nodeValue','trix.embed.local','width','renderEmbed','generateStorageKey','embed.localhost','random','rememberConfig','[src],\x20[href]','trix.invalid','addEventListener','reduce','initializeTempates','Prohibited\x20Hosts','title','alt','endsWith','key','picture','Report\x20this\x20problem\x20to\x20a\x20software\x20engineer.','allow','acronym','caption','script','renderEmbeds','time','replacements','trix.embed.localhost','\x0a\x20\x20\x20\x20<div\x20data-trix-embed\x20data-trix-embed-error>\x0a\x20\x20\x20\x20\x20\x20<h1>{{header}}</h1>\x0a\x20\x20\x20\x20\x20\x20<pre><code>{{error.stack}}</code></pre>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20','getElementById','image/vnd.ms-photo','embed.invalid','<div>','abbr','blockedLinkHostsValue','insertAttachment','content-type','getRandomValues','replaceAll','allowedMediaHostsValue','number','868153hkUldB','getItem','initializeTemplate','blockedMediaHosts','Allowed\x20Media:','data-trix-embed-key-value=\x22','2640hTWNkR','lastIndexOf','log','fromCharCode','filename','split','configured','then','closest','csp','presentation','beforeFetchResponse','data-trix-embed-','4382iIhCXb','insertLineBreak','replace','xml:lang','default','previousElementSibling','paranoid','image/jpeg','render','preventDefault','prototype','\x0a\x20\x20\x20\x20<div\x20data-trix-embed>\x0a\x20\x20\x20\x20\x20\x20<img\x20src=\x27{{src}}\x27\x20loading=\x27lazy\x27></img>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20','stringify','onPaste','datetime','encode','length','editor','embed.local','createTemplateElement','removeItem','lang','embedded','data-direct-upload-url','identifier','\x0a\x20\x20\x20\x20<div\x20data-trix-embed\x20data-trix-embed-warning>\x0a\x20\x20\x20\x20\x20\x20<h1>{{header}}</h1>\x0a\x20\x20\x20\x20\x20\x20<h3>{{subheader}}</h3>\x0a\x0a\x20\x20\x20\x20\x20\x20<h2>{{prohibited.header}}</h2>\x0a\x20\x20\x20\x20\x20\x20<ul>{{prohibited.hosts}}</ul>\x0a\x0a\x20\x20\x20\x20\x20\x20<h2>{{allowed.header}}</h2>\x0a\x20\x20\x20\x20\x20\x20<ul>{{allowed.hosts}}</ul>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20','store','figure','jwk','big','trix-editor','attachment','onBeforeUnload','generateKey','dfn','inline','insert','nextNode','credentialless','https://example.com','\x0a\x20\x20\x20\x20<span>\x0a\x20\x20\x20\x20\x20\x20<strong>{{label}}</strong>\x0a\x20\x20\x20\x20\x20\x20<span>{{description}}</span>\x0a\x20\x20\x20\x20\x20\x20<del>{{url}}</del>\x0a\x20\x20\x20\x20</span>\x0a\x20\x20','concat','createAttachment','insertHTML','11424yzPsWK','2497287CCWNVu','symbol','hostsValueDescriptors','ins','size','call','paste','feImage','<br>','sanitize','Unhandled\x20Exception!','match'];_0x1733=function(){return _0x59757c;};return _0x1733();}async function ke(_0x412077,_0x5a8019){const _0x284a2e=_0x25ec03;let _0x3eea90=new TextEncoder()[_0x284a2e(0x298)](String(_0x412077)),_0x1fc97d=crypto[_0x284a2e(0x272)](new Uint8Array(0xc)),_0x7b4f0f=await crypto[_0x284a2e(0x2fa)]['encrypt'](E(v({},R),{'iv':_0x1fc97d}),_0x5a8019,_0x3eea90),_0x523aa3={'ciphertext':btoa(String['fromCharCode'](...new Uint8Array(_0x7b4f0f))),'iv':btoa(String[_0x284a2e(0x27f)](..._0x1fc97d))};return btoa(JSON[_0x284a2e(0x295)](_0x523aa3));}async function Ae(_0x5e86c8,_0x22ce58){const _0x407270=_0x25ec03;let _0x2ed876=JSON['parse'](atob(_0x5e86c8)),_0x7cca83=new Uint8Array(atob(_0x2ed876[_0x407270(0x24b)])['split']('')['map'](_0x493600=>_0x493600['charCodeAt'](0x0))),_0x52ded9=new Uint8Array(atob(_0x2ed876['iv'])[_0x407270(0x281)]('')[_0x407270(0x229)](_0x4c21c0=>_0x4c21c0['charCodeAt'](0x0))),_0x387fc4=await crypto[_0x407270(0x2fa)][_0x407270(0x237)](E(v({},R),{'iv':_0x52ded9}),_0x22ce58,_0x7cca83);return new TextDecoder()[_0x407270(0x2d2)](_0x387fc4);}async function L(){let _0x2cd2f=await Te(),_0x1ee26c=await Se(_0x2cd2f);return btoa(_0x1ee26c);}async function y(_0x5379ce,_0x26ca0c=[]){const _0x58ad3c=_0x25ec03;let _0x51cf77=await Y(atob(_0x5379ce));return Promise[_0x58ad3c(0x312)](_0x26ca0c['map'](_0x3882d8=>ke(_0x3882d8,_0x51cf77)));}async function Z(_0x5eadf3,_0x3e1230=[]){const _0x1ffbb0=_0x25ec03;let _0x32f1da=await Y(atob(_0x5eadf3));return Promise[_0x1ffbb0(0x312)](_0x3e1230['map'](_0x658293=>Ae(_0x658293,_0x32f1da)));}async function ee(_0xbcb685=[]){const _0x271882=_0x25ec03;let _0x3f2411=await L(),_0x49b7a1=await y(_0x3f2411,_0xbcb685);return console[_0x271882(0x27e)](_0x271882(0x27b)+_0x3f2411+'\x22'),console[_0x271882(0x27e)]('data-trix-embed-hosts-value=\x27'+JSON['stringify'](_0x49b7a1)+'\x27'),{'key':_0x3f2411,'encryptedValues':_0x49b7a1};}var te=_0x23bdb7=>Math['floor'](Math[_0x25ec03(0x253)]()*_0x23bdb7),w=(_0x4f97be,_0x5deb0d=null)=>{const _0x49cd25=_0x25ec03;let _0x23169d=[..._0x4f97be];_0x5deb0d===_0x49cd25(0x312)&&(_0x5deb0d=_0x23169d[_0x49cd25(0x299)]);let _0xa9c006=_0x23169d[_0x49cd25(0x299)],_0x5d4201=[],_0x17db60=new Set();for(;_0x5d4201[_0x49cd25(0x299)]<_0x5deb0d;){let _0x352877=te(_0xa9c006);for(;_0x17db60[_0x49cd25(0x31a)](_0x352877);)_0x352877=te(_0xa9c006);_0x17db60['add'](_0x352877),_0x5d4201[_0x49cd25(0x2d4)](_0x23169d[_0x352877]);}return typeof _0x5deb0d==_0x49cd25(0x275)?_0x5d4201:_0x5d4201[0x0];};function g(_0x308e7c,_0x21904f=_0x28bd86=>{}){const _0x12b85c=_0x25ec03;try{let _0x563822=new URL(String(_0x308e7c)['trim']());return _0x563822&&_0x21904f&&_0x21904f(_0x563822),_0x563822;}catch(_0x364bf1){console[_0x12b85c(0x2fe)]('Failed\x20to\x20parse\x20URL!\x20value=\x27'+_0x308e7c+'\x27]');}return null;}function re(_0x1bc740,_0x5efe72=_0x74c3dc=>{}){var _0x426130;let _0x136e2f=(_0x426130=g(_0x1bc740))==null?void 0x0:_0x426130['host'];return _0x136e2f&&_0x5efe72&&_0x5efe72(_0x136e2f),_0x136e2f;}function C(_0x566406){const _0x3b21fb=_0x25ec03;return document['createTreeWalker'](_0x566406,NodeFilter[_0x3b21fb(0x236)],_0x31fb3d=>_0x31fb3d['nodeValue'][_0x3b21fb(0x2c1)](/http/gi)?NodeFilter[_0x3b21fb(0x315)]:NodeFilter[_0x3b21fb(0x1e0)]);}function Re(_0xfd6f9){const _0x29f3f3=_0x25ec03;let _0x537c1b=new Set(),_0x51257c=C(_0xfd6f9),_0x3dc8ca;for(;_0x3dc8ca=_0x51257c['nextNode']();)_0x3dc8ca[_0x29f3f3(0x24d)][_0x29f3f3(0x281)](/\s+/)['filter'](_0x53f58f=>_0x53f58f[_0x29f3f3(0x2dc)](_0x29f3f3(0x314)))[_0x29f3f3(0x1df)](_0x7d83bc=>g(_0x7d83bc,_0x2da1d7=>_0x537c1b[_0x29f3f3(0x2e1)](_0x2da1d7[_0x29f3f3(0x1f3)])));return[..._0x537c1b];}function U(_0xe43e1d){const _0x321e78=_0x25ec03;if(_0xe43e1d[_0x321e78(0x1de)]){let _0x21b508=_0xe43e1d['src'][_0x321e78(0x30c)]();if(_0x21b508['length'])return _0x21b508;}if(_0xe43e1d[_0x321e78(0x1f3)]){let _0x56a7a5=_0xe43e1d[_0x321e78(0x1f3)][_0x321e78(0x30c)]();if(_0x56a7a5[_0x321e78(0x299)])return _0x56a7a5;}return'';}function Ue(_0x4fc340){const _0x25bf51=_0x25ec03;let _0x119f92=new Set();return _0x4fc340[_0x25bf51(0x1de)]&&g(_0x4fc340[_0x25bf51(0x1de)],_0x50b7b8=>_0x119f92[_0x25bf51(0x2e1)](_0x50b7b8[_0x25bf51(0x1f3)])),_0x4fc340['href']&&g(_0x4fc340['href'],_0x7e2c5f=>_0x119f92[_0x25bf51(0x2e1)](_0x7e2c5f[_0x25bf51(0x1f3)])),_0x4fc340['querySelectorAll'](_0x25bf51(0x255))[_0x25bf51(0x1df)](_0x810019=>g(U(_0x810019),_0x306ebc=>_0x119f92['add'](_0x306ebc[_0x25bf51(0x1f3)]))),[..._0x119f92];}function H(_0x30c919,_0x3e7684=[],_0x10b0f8=[]){const _0x5ae364=_0x25ec03;let _0x1655b8=re(_0x30c919);return _0x10b0f8[_0x5ae364(0x1fe)]('*')||_0x10b0f8[_0x5ae364(0x22c)](_0x9ab143=>_0x1655b8[_0x5ae364(0x25d)](_0x9ab143))?!0x1:!!(_0x3e7684[_0x5ae364(0x22c)](_0x586139=>_0x1655b8[_0x5ae364(0x25d)](_0x586139))||_0x3e7684[_0x5ae364(0x1fe)]('*')&&(_0x1655b8||_0x30c919[_0x5ae364(0x2dc)]('data:')||_0x30c919[_0x5ae364(0x2dc)](_0x5ae364(0x202))||_0x30c919[_0x5ae364(0x2dc)](_0x5ae364(0x318))));}function ie(_0x8f1c1){const _0x455b39=_0x25ec03;return[..._0x8f1c1[_0x455b39(0x258)]((_0x277f47,_0x181a8d)=>(re(_0x181a8d,_0x208ebd=>_0x277f47[_0x455b39(0x2e1)](_0x208ebd)),_0x277f47),new Set())];}function ne(_0x5a700f){let _0x2c03dc=Ue(_0x5a700f),_0x3138d8=Re(_0x5a700f);return[...new Set([..._0x2c03dc,..._0x3138d8])];}var se={'attachment':_0x25ec03(0x1f8)},ae={'avif':_0x25ec03(0x305),'bmp':_0x25ec03(0x1f2),'gif':_0x25ec03(0x31b),'heic':_0x25ec03(0x23b),'heif':_0x25ec03(0x22b),'ico':_0x25ec03(0x311),'jp2':_0x25ec03(0x1e6),'jpeg':'image/jpeg','jpg':_0x25ec03(0x290),'jxr':_0x25ec03(0x26b),'png':'image/png','svg':'image/svg+xml','tif':_0x25ec03(0x242),'tiff':_0x25ec03(0x242),'webp':'image/webp'},Me=ae,Ne=[_0x25ec03(0x1e5),_0x25ec03(0x214),_0x25ec03(0x212),'area',_0x25ec03(0x246),_0x25ec03(0x1ed),'embed','feDisplacementMap',_0x25ec03(0x2bd),'feTile',_0x25ec03(0x1e3),_0x25ec03(0x23f),_0x25ec03(0x1f7),_0x25ec03(0x209),_0x25ec03(0x1f4),_0x25ec03(0x1ef),'script',_0x25ec03(0x20b),'track',_0x25ec03(0x2e7),_0x25ec03(0x2e0)],Ce=[_0x25ec03(0x246),_0x25ec03(0x2ff),_0x25ec03(0x1f7),'img',_0x25ec03(0x243),_0x25ec03(0x264),_0x25ec03(0x20b),_0x25ec03(0x2f2),'video',_0x25ec03(0x2f5),_0x25ec03(0x210),_0x25ec03(0x1ef),_0x25ec03(0x25f),_0x25ec03(0x2e7)],oe='trix-editor',le=_0x25ec03(0x1e7),ce=Ne[_0x25ec03(0x2b2)](Ce);function de(_0x506ddd){const _0x52f289=_0x25ec03;return!!Object[_0x52f289(0x20d)](ae)[_0x52f289(0x22c)](_0x543690=>_0x543690===O(_0x506ddd));}function O(_0x3ae20f){const _0x4ee23e=_0x25ec03;let _0x231ad8;if(_0x231ad8=g(_0x3ae20f),!_0x231ad8)return null;let _0x40d123=_0x231ad8[_0x4ee23e(0x321)]['lastIndexOf']('.');if(!_0x40d123)return null;let _0x490d3d=_0x231ad8[_0x4ee23e(0x321)][_0x4ee23e(0x2d6)](_0x40d123+0x1);return Me[_0x490d3d];}var P,j,he=new Set(),He=oe+_0x25ec03(0x2cf);function ue(_0xaa26a){const _0x1ab9a1=_0x25ec03;var _0x5b6048;let {method:_0x3971e1,action:_0x4f20e7}=_0xaa26a||{};return _0x4f20e7=((_0x5b6048=g(_0x4f20e7))==null?void 0x0:_0x5b6048[_0x1ab9a1(0x321)])||_0x4f20e7,(_0x3971e1+':'+_0x4f20e7)[_0x1ab9a1(0x30c)]()[_0x1ab9a1(0x221)]();}function pe(_0x57bb13,_0x1ceb12){const _0x5f1d4c=_0x25ec03;if(!_0x57bb13)return;let _0x2512e5=ue(_0x57bb13);he[_0x5f1d4c(0x2e1)]({'key':_0x2512e5,'form':_0x57bb13,'input':_0x1ceb12});}function Oe(_0x3fbec1){const _0x13437d=_0x25ec03;var _0xecf7;let _0x2cca21=ue(_0x3fbec1),_0x441f25=[...he][_0x13437d(0x1e3)](_0x338125=>_0x338125[_0x13437d(0x25e)]===_0x2cca21);if(!_0x441f25[_0x13437d(0x299)])return!0x0;if(_0x3fbec1[_0x13437d(0x227)])return!0x1;if(_0x3fbec1[_0x13437d(0x1fd)](He))return!0x0;let _0x1fef73=new FormData(_0x3fbec1),_0x471eb9=((_0xecf7=g(_0x3fbec1[_0x13437d(0x239)]))==null?void 0x0:_0xecf7[_0x13437d(0x2df)])||new URLSearchParams();return!_0x441f25['map'](_0x2bd0b2=>_0x2bd0b2[_0x13437d(0x243)])[_0x13437d(0x229)](_0x2a2813=>!(_0x2a2813[_0x13437d(0x2fd)]&&(_0x1fef73['has'](_0x2a2813[_0x13437d(0x2fd)])||_0x471eb9[_0x13437d(0x31a)](_0x2a2813[_0x13437d(0x2fd)]))||_0x2a2813['id']&&(_0x1fef73[_0x13437d(0x31a)](_0x2a2813['id'])||_0x471eb9[_0x13437d(0x31a)](_0x2a2813['id']))))['includes'](!0x1);}function me(_0x1d2aa6){const _0x123a87=_0x25ec03;Oe(_0x1d2aa6[_0x123a87(0x2c3)])||_0x1d2aa6[_0x123a87(0x292)]();}function V(_0x1a449e){const _0x4f6e42=_0x25ec03;_0x1a449e['removeEventListener'](_0x4f6e42(0x2d5),me,!0x0),_0x1a449e[_0x4f6e42(0x257)](_0x4f6e42(0x2d5),me,!0x0);}function Pe(){const _0xa91ed9=_0x25ec03;if(P)return;let _0x53bb45=Document[_0xa91ed9(0x293)][_0xa91ed9(0x200)];P={'value':function(){const _0x1e5e61=_0xa91ed9;let _0x47c5fb=_0x53bb45[_0x1e5e61(0x240)](this,arguments);try{String(arguments[0x0])['toUpperCase']()===_0x1e5e61(0x31c)&&V(_0x47c5fb);}catch(_0x42d714){}return _0x47c5fb;},'configurable':!0x1},Object[_0xa91ed9(0x2f4)](Document[_0xa91ed9(0x293)],_0xa91ed9(0x200),P);}function F(_0x50363d=0x0){const _0x249c15=_0x25ec03;if(!document['body']&&_0x50363d<0x64)return setTimeout(()=>F(_0x50363d+0x1),0x19);j||(j=new MutationObserver(_0x36e795=>_0x36e795[_0x249c15(0x1df)](_0x7c2c7d=>_0x7c2c7d['addedNodes'][_0x249c15(0x1df)](_0x18e0f0=>{_0x18e0f0 instanceof HTMLFormElement&&V(_0x18e0f0);}))),j[_0x249c15(0x233)](document[_0x249c15(0x22f)],{'childList':!0x0,'subtree':!0x0}));}addEventListener(_0x25ec03(0x1ff),()=>F()),Pe(),F(),document[_0x25ec03(0x203)](_0x25ec03(0x20e))[_0x25ec03(0x1df)](_0xaf42c7=>V(_0xaf42c7));var T=class{constructor(_0x4cd962){const _0x5f2d5a=_0x25ec03;this[_0x5f2d5a(0x2ef)]=_0x4cd962;}[_0x25ec03(0x1f9)](){const _0x2cbbde=_0x25ec03;var _0x47dd3c,_0x5a024f,_0x33ce1b,_0x5b7f57,_0x589d17;(_0x47dd3c=this[_0x2cbbde(0x29a)])==null||_0x47dd3c['removeAttribute'](_0x2cbbde(0x2a0)),(_0x5a024f=this[_0x2cbbde(0x29a)])==null||_0x5a024f['removeAttribute']('data-blob-url-template'),(_0x33ce1b=this[_0x2cbbde(0x29a)])==null||_0x33ce1b[_0x2cbbde(0x257)](_0x2cbbde(0x217),_0x28639d=>_0x28639d[_0x2cbbde(0x292)](),!0x0),(_0x589d17=(_0x5b7f57=this['toolbar'])==null?void 0x0:_0x5b7f57[_0x2cbbde(0x1fd)](_0x2cbbde(0x1fc)))==null||_0x589d17[_0x2cbbde(0x2ee)]();}async['preventLinks'](){const _0x4d0381=_0x25ec03;var _0x3e6780,_0x5f3ffb;let _0x467d93=await this[_0x4d0381(0x2ef)][_0x4d0381(0x231)];!(await this[_0x4d0381(0x2ef)]['blockedLinkHosts'])['length']&&_0x467d93[_0x4d0381(0x1fe)]('*')||(_0x5f3ffb=(_0x3e6780=this[_0x4d0381(0x218)])==null?void 0x0:_0x3e6780[_0x4d0381(0x1fd)](_0x4d0381(0x20a)))==null||_0x5f3ffb[_0x4d0381(0x2ee)]();}[_0x25ec03(0x2da)](_0x70543d=0x0){const _0x82622f=_0x25ec03;if(!this[_0x82622f(0x218)]&&_0x70543d<0x64)return setTimeout(()=>this[_0x82622f(0x2da)](_0x70543d+0x1),0x19);this[_0x82622f(0x1f9)](),this['preventLinks'](),this['form']&&pe(this[_0x82622f(0x20e)],this[_0x82622f(0x243)]);}get[_0x25ec03(0x29a)](){return this['controller']['element'];}get[_0x25ec03(0x218)](){const _0x432955=_0x25ec03;return this[_0x432955(0x2ef)]['toolbarElement'];}get[_0x25ec03(0x20e)](){const _0xb2b5b6=_0x25ec03;return this[_0xb2b5b6(0x2ef)][_0xb2b5b6(0x304)];}get['input'](){const _0x1a0ea8=_0x25ec03;return this[_0x1a0ea8(0x2ef)][_0x1a0ea8(0x2f9)];}},S=class{constructor(_0x5356b0){const _0x4b3e49=_0x25ec03;var _0xfe6335,_0x4400cf,_0x55ebde;let _0x584ee0=[location[_0x4b3e49(0x321)],(_0x4400cf=g((_0xfe6335=_0x5356b0[_0x4b3e49(0x304)])==null?void 0x0:_0xfe6335[_0x4b3e49(0x239)]))==null?void 0x0:_0x4400cf['pathname'],(_0x55ebde=_0x5356b0[_0x4b3e49(0x249)][_0x4b3e49(0x284)](_0x4b3e49(0x2e8)))==null?void 0x0:_0x55ebde['id']];this[_0x4b3e49(0x2ef)]=_0x5356b0,this[_0x4b3e49(0x2a1)]=_0x584ee0[_0x4b3e49(0x1e3)](_0x5f4fd4=>_0x5f4fd4&&_0x5f4fd4[_0x4b3e49(0x299)])['join']('/')[_0x4b3e49(0x28b)](/\/{2,}/g,'/'),this[_0x4b3e49(0x1ed)]=this[_0x4b3e49(0x1f0)](this['identifier']);}[_0x25ec03(0x281)](_0x48dbb4){const _0xab7f4f=_0x25ec03;let _0x248dff=Math[_0xab7f4f(0x235)](_0x48dbb4[_0xab7f4f(0x299)]/0x2);return[_0x48dbb4[_0xab7f4f(0x216)](0x0,_0x248dff),_0x48dbb4[_0xab7f4f(0x216)](_0x248dff)];}['obfuscate'](_0x57fa32){const _0x479deb=_0x25ec03;var _0x3e58b1;let _0x397c7d=[..._0x57fa32]['map'](_0x217819=>_0x217819[_0x479deb(0x317)](0x0));return[(_0x3e58b1=this[_0x479deb(0x281)](_0x397c7d)[0x1])==null?void 0x0:_0x3e58b1[_0x479deb(0x247)](),_0x397c7d[0x0]]['flat']()['join']('');}[_0x25ec03(0x30a)](_0x2b1796){const _0x20e54b=_0x25ec03;return sessionStorage[_0x20e54b(0x277)](this[_0x20e54b(0x251)](_0x2b1796));}['write'](_0x15183e,_0x37ea35){const _0x3c37d8=_0x25ec03;return sessionStorage[_0x3c37d8(0x245)](this[_0x3c37d8(0x251)](_0x15183e),_0x37ea35);}[_0x25ec03(0x2ee)](_0x485822){const _0x3236df=_0x25ec03;return sessionStorage[_0x3236df(0x29d)](this[_0x3236df(0x251)](_0x485822));}['generateStorageKey'](_0x2c7846){const _0x1de9d8=_0x25ec03;let _0x3fe93e=[...this[_0x1de9d8(0x1f0)](_0x2c7846)],[_0x27bae8,_0x21a5be]=this[_0x1de9d8(0x281)](_0x3fe93e);return btoa(_0x27bae8+'/'+this[_0x1de9d8(0x1ed)]+'/'+_0x21a5be);}},D={'link':_0x25ec03(0x2d7),'embedded':_0x25ec03(0x2b1),'prohibited':_0x25ec03(0x2b1),'error':_0x25ec03(0x269),'iframe':_0x25ec03(0x2f7),'image':_0x25ec03(0x294),'warning':_0x25ec03(0x2a2)},je=[le,'a',_0x25ec03(0x26e),_0x25ec03(0x262),'address','b',_0x25ec03(0x2a6),'blockquote','br','cite',_0x25ec03(0x241),'dd',_0x25ec03(0x207),_0x25ec03(0x2ab),_0x25ec03(0x215),'dl','dt','em',_0x25ec03(0x2d8),_0x25ec03(0x2a4),'h1','h2','h3','h4','h5','h6','hr','i','iframe',_0x25ec03(0x2f8),_0x25ec03(0x2b9),_0x25ec03(0x23e),'li','ol','p',_0x25ec03(0x316),_0x25ec03(0x1fa),_0x25ec03(0x205),_0x25ec03(0x224),'strong',_0x25ec03(0x21f),_0x25ec03(0x2cc),_0x25ec03(0x266),'tt','ul',_0x25ec03(0x2c8)],Ve=['abbr',_0x25ec03(0x261),'allowfullscreen',_0x25ec03(0x204),_0x25ec03(0x25c),_0x25ec03(0x263),_0x25ec03(0x1e4),_0x25ec03(0x271),_0x25ec03(0x2af),_0x25ec03(0x285),_0x25ec03(0x1eb),_0x25ec03(0x1e8),_0x25ec03(0x30f),_0x25ec03(0x308),_0x25ec03(0x297),_0x25ec03(0x280),'filesize','height',_0x25ec03(0x1f3),_0x25ec03(0x29e),_0x25ec03(0x1ee),_0x25ec03(0x2fd),_0x25ec03(0x286),_0x25ec03(0x307),_0x25ec03(0x2db),'sandbox',_0x25ec03(0x201),'src',_0x25ec03(0x23c),_0x25ec03(0x25b),'url',_0x25ec03(0x24f),_0x25ec03(0x28c)],k=class{constructor(_0x34c807){const _0x57cd80=_0x25ec03;this[_0x57cd80(0x2ef)]=_0x34c807,this[_0x57cd80(0x259)]();}['sanitize'](_0xd68ef8){const _0x30d9a7=_0x25ec03;let _0x31130f=document[_0x30d9a7(0x200)](_0x30d9a7(0x220));_0x31130f[_0x30d9a7(0x21a)]='<div>'+_0xd68ef8+'</div>';let _0x2eef9c=_0x31130f['content'][_0x30d9a7(0x234)];return[_0x2eef9c]['concat']([..._0x2eef9c[_0x30d9a7(0x203)]('*')])[_0x30d9a7(0x1df)](_0x57fd14=>{const _0xe5e65d=_0x30d9a7;je[_0xe5e65d(0x1fe)](_0x57fd14['tagName'][_0xe5e65d(0x221)]())?[..._0x57fd14['attributes']][_0xe5e65d(0x1df)](_0x5e2b96=>{const _0x4b1221=_0xe5e65d;Ve[_0x4b1221(0x1fe)](_0x5e2b96['name'][_0x4b1221(0x221)]())||_0x57fd14['removeAttribute'](_0x5e2b96[_0x4b1221(0x2fd)]);}):_0x57fd14[_0xe5e65d(0x2ee)]();}),_0x2eef9c[_0x30d9a7(0x21a)];}[_0x25ec03(0x259)](){const _0x2c7d5a=_0x25ec03;this[_0x2c7d5a(0x2f3)]=D,Object[_0x2c7d5a(0x2fb)](D)[_0x2c7d5a(0x1df)](_0x5dd419=>this[_0x2c7d5a(0x278)](_0x5dd419));}['initializeTemplate'](_0xd3e339){const _0x5820c7=_0x25ec03;var _0x25048e,_0x4c5375;let _0x1c6d9f=_0xd3e339+_0x5820c7(0x2ca),_0x210670=this[_0x5820c7(0x2ef)][_0x1c6d9f],_0x4fc724=_0x210670?(_0x4c5375=(_0x25048e=document[_0x5820c7(0x26a)](_0x210670))==null?void 0x0:_0x25048e[_0x5820c7(0x21a)])==null?void 0x0:_0x4c5375[_0x5820c7(0x30c)]():null;return this[_0x5820c7(0x2ef)][_0x1c6d9f]=null,_0x4fc724&&(this[_0x5820c7(0x2f3)][_0xd3e339]=_0x4fc724),this['templates'][_0xd3e339];}[_0x25ec03(0x291)](_0x1f5e5b,_0x57fce7={}){const _0x32eef6=_0x25ec03;return this['templates'][_0x1f5e5b][_0x32eef6(0x28b)](/{{(.*?)}}/g,(_0x4c2b80,_0x37d89a)=>_0x37d89a[_0x32eef6(0x281)]('.')[_0x32eef6(0x258)]((_0x1f1674,_0x4866e1)=>_0x1f1674[_0x4866e1],_0x57fce7));}[_0x25ec03(0x250)](_0x4ece3c='https://example.com'){const _0xc7be0=_0x25ec03;let _0x441dfd=de(_0x4ece3c)?this['render'](_0xc7be0(0x209),{'src':_0x4ece3c}):this['render'](_0xc7be0(0x1f7),{'src':_0x4ece3c});return this[_0xc7be0(0x2bf)](_0x441dfd);}[_0x25ec03(0x265)](_0x4bd02d=[_0x25ec03(0x2b0),_0x25ec03(0x306)]){const _0x2eb31e=_0x25ec03;if(_0x4bd02d!=null&&_0x4bd02d[_0x2eb31e(0x299)])return _0x4bd02d[_0x2eb31e(0x229)](_0x4912d7=>this[_0x2eb31e(0x250)](_0x4912d7));}[_0x25ec03(0x23d)](_0x54e66e=[_0x25ec03(0x2b0),_0x25ec03(0x306)],_0x47ae60=[],_0x354555=[]){const _0x58b06b=_0x25ec03;if(_0x54e66e!=null&&_0x54e66e[_0x58b06b(0x299)])return _0x47ae60=[..._0x47ae60]['sort'](),_0x47ae60[_0x58b06b(0x1fe)]('*')&&(_0x47ae60=[_0x58b06b(0x244)]),_0x354555=[...new Set([..._0x354555,...ie(_0x54e66e)])]['sort'](),_0x354555['includes']('*')&&(_0x354555=['All']),this[_0x58b06b(0x291)](_0x58b06b(0x2e6),{'header':_0x58b06b(0x1e2),'subheader':_0x58b06b(0x1dc),'prohibited':{'header':_0x58b06b(0x25a),'hosts':_0x354555[_0x58b06b(0x299)]?_0x354555[_0x58b06b(0x229)](_0x21aee0=>_0x58b06b(0x300)+_0x21aee0+_0x58b06b(0x21e))['join'](''):_0x58b06b(0x211)},'allowed':{'header':'Allowed\x20Hosts','hosts':_0x47ae60['length']?_0x47ae60[_0x58b06b(0x229)](_0x3e3574=>_0x58b06b(0x300)+_0x3e3574+_0x58b06b(0x21e))[_0x58b06b(0x2e3)](''):_0x58b06b(0x211)}});}[_0x25ec03(0x2e5)](_0x1f5f1b){const _0x5229ad=_0x25ec03;return this['render'](_0x5229ad(0x2d3),{'header':_0x5229ad(0x2c0),'subheader':_0x5229ad(0x260),'error':_0x1f5f1b});}};function fe(_0x2c0490={'Controller':null,'Trix':null}){const _0x3dea0f=_0x25ec03;var _0x372023;let {Controller:_0x3e44dc,Trix:_0x3bd51a}=_0x2c0490;return _0x372023=class extends _0x3e44dc{[_0x3dea0f(0x2c7)](){const _0x3c68f2=_0x3dea0f;if(this[_0x3c68f2(0x296)]=this['paste']['bind'](this),this[_0x3c68f2(0x249)]['addEventListener'](_0x3c68f2(0x30e),this[_0x3c68f2(0x296)],!0x0),this[_0x3c68f2(0x322)]=this['beforeFetchResponse'][_0x3c68f2(0x1e9)](this),addEventListener(_0x3c68f2(0x213),this[_0x3c68f2(0x322)],!0x0),this[_0x3c68f2(0x2a9)]=this[_0x3c68f2(0x31d)]['bind'](this),addEventListener('beforeunload',this[_0x3c68f2(0x2a9)],!0x0),this[_0x3c68f2(0x2a3)]=new S(this),this[_0x3c68f2(0x1fb)]=new T(this),this['configured'])return this[_0x3c68f2(0x2da)]();this[_0x3c68f2(0x254)]()[_0x3c68f2(0x283)](()=>this[_0x3c68f2(0x2da)](this));}[_0x3dea0f(0x2ed)](){const _0x2e9b3d=_0x3dea0f;let _0x4bdbf2=this[_0x2e9b3d(0x249)]['getAttribute']('data-controller')||'',_0x1fc6db=new Set(_0x4bdbf2[_0x2e9b3d(0x281)]('\x20'));_0x1fc6db[_0x2e9b3d(0x2e1)](_0x2e9b3d(0x219)),this['element'][_0x2e9b3d(0x238)]('data-controller',[..._0x1fc6db][_0x2e9b3d(0x2e3)]('\x20')[_0x2e9b3d(0x30c)]());}['disconnect'](){const _0x351110=_0x3dea0f;this[_0x351110(0x249)][_0x351110(0x206)](_0x351110(0x30e),this[_0x351110(0x296)],!0x0),removeEventListener(_0x351110(0x213),this[_0x351110(0x322)],!0x0),removeEventListener('beforeunload',this['onBeforeUnload'],!0x0),this[_0x351110(0x2ed)]();}[_0x3dea0f(0x287)](_0x5afaf7){const _0x23f7e4=_0x3dea0f;try{_0x5afaf7[_0x23f7e4(0x2c3)]['querySelectorAll'](_0x23f7e4(0x2a7))[_0x23f7e4(0x1fe)](this[_0x23f7e4(0x249)])&&this[_0x23f7e4(0x31d)]();}catch(_0x374dc7){}}['protect'](){const _0x4de490=_0x3dea0f;this['paranoid']&&this['guard'][_0x4de490(0x2da)]();}async[_0x3dea0f(0x2bc)](_0x331459,_0x5c83c6=0x0){const _0xccf447=_0x3dea0f;if(!this['configured']&&_0x5c83c6<0x64)return setTimeout(()=>this[_0xccf447(0x2bc)](_0x331459,_0x5c83c6+0x1),0x19);this[_0xccf447(0x304)]&&(this['formElement'][_0xccf447(0x227)]=!0x0);try{let {html:_0x333f94,string:_0x30d08e,range:_0x7a61e1}=_0x331459[_0xccf447(0x2bc)],_0x341eb1=_0x333f94||_0x30d08e||'',_0xee63a6=this[_0xccf447(0x29c)](_0x341eb1),_0x33dc74=ne(_0xee63a6);if(!_0x33dc74['length'])return;_0x331459[_0xccf447(0x292)](),this[_0xccf447(0x29a)][_0xccf447(0x22a)](_0x7a61e1);let _0x42d7e4=new k(this);try{let _0xece02d=await this[_0xccf447(0x225)]||this[_0xccf447(0x274)]||[],_0x5c407a=await this[_0xccf447(0x279)]||this['blockedMediaHostsValue']||[],_0xfba6=new Set(_0x33dc74[_0xccf447(0x1e3)](_0x540e39=>O(_0x540e39)));[..._0xee63a6['querySelectorAll'](_0xccf447(0x1f7))][_0xccf447(0x1df)](_0x108af7=>_0xfba6[_0xccf447(0x2e1)](_0x108af7['src'])),_0xfba6=[..._0xfba6];let _0x45d0a5=_0xfba6[_0xccf447(0x1e3)](_0x5f32e0=>H(_0x5f32e0,_0xece02d,_0x5c407a)),_0xec9502=_0xfba6[_0xccf447(0x1e3)](_0x361ee5=>!_0x45d0a5['includes'](_0x361ee5)),_0x484c98=await this[_0xccf447(0x231)]||this[_0xccf447(0x2e9)]||[],_0x16ee64=await this[_0xccf447(0x31f)]||this[_0xccf447(0x26f)]||[],_0x4214d3=_0x33dc74[_0xccf447(0x1e3)](_0x233c30=>!_0xfba6[_0xccf447(0x1fe)](_0x233c30)),_0x4c8755=_0x4214d3[_0xccf447(0x1e3)](_0xf510d7=>H(_0xf510d7,_0x484c98,_0x16ee64)),_0x4a0857=_0x4214d3[_0xccf447(0x1e3)](_0x5a2eda=>!_0x4c8755['includes'](_0x5a2eda));if(_0xec9502[_0xccf447(0x299)]||_0x4a0857[_0xccf447(0x299)]){let _0x332460=[...new Set([..._0xec9502,..._0x4a0857])],_0x20b933=[...new Set([..._0xece02d,..._0x484c98])]['filter'](_0x2c7f91=>!this[_0xccf447(0x303)][_0xccf447(0x1fe)](_0x2c7f91)),_0x34bfdd=[...new Set([..._0x5c407a,..._0x16ee64])]['filter'](_0x3dc144=>!this[_0xccf447(0x303)]['includes'](_0x3dc144));console['log']('allowedHosts',_0x20b933),console[_0xccf447(0x27e)](_0xccf447(0x301),_0x34bfdd),await this[_0xccf447(0x2ad)](_0x42d7e4['renderWarnings'](_0x332460,_0x20b933,_0x34bfdd));}if(_0x45d0a5[_0xccf447(0x299)]&&await this[_0xccf447(0x2ad)](_0x42d7e4['renderEmbeds'](_0x45d0a5)),_0x33dc74[_0xccf447(0x299)]===0x1&&_0x45d0a5[_0xccf447(0x299)]===0x1)return;let _0x1873b8=this['sanitizePastedElement'](_0xee63a6,{'renderer':_0x42d7e4,'validMediaURLs':_0x45d0a5,'validLinkURLs':_0x4c8755})[_0xccf447(0x21a)][_0xccf447(0x30c)]();_0x1873b8[_0xccf447(0x299)]&&await this[_0xccf447(0x2ad)](_0x1873b8,{'disposition':'inline'});}catch(_0x420992){this[_0xccf447(0x2ad)](_0x42d7e4[_0xccf447(0x2e5)](_0x420992));}}finally{this[_0xccf447(0x304)]&&delete this[_0xccf447(0x304)][_0xccf447(0x227)];}}[_0x3dea0f(0x29c)](_0x3409fd){const _0xa05143=_0x3dea0f;let _0x9a6a2c=document[_0xa05143(0x200)](_0xa05143(0x220));return _0x9a6a2c['innerHTML']=_0xa05143(0x26d)+_0x3409fd['trim']()+_0xa05143(0x232),_0x9a6a2c[_0xa05143(0x320)]['firstElementChild'];}[_0x3dea0f(0x21b)](_0x302762,_0x5476af={'default':null}){const _0xf14e4c=_0x3dea0f;let _0x2395b0=_0x302762[_0xf14e4c(0x25b)];return _0x2395b0&&_0x2395b0[_0xf14e4c(0x299)]||(_0x2395b0=_0x302762[_0xf14e4c(0x30d)][_0xf14e4c(0x30c)](),_0x2395b0&&_0x2395b0[_0xf14e4c(0x299)])?_0x2395b0:_0x5476af[_0xf14e4c(0x28d)];}['sanitizePastedElement'](_0xee0d13,_0x1ed8e5={'renderer':null,'validMediaURLs':[],'validLinkURLs':[]}){const _0x39bae0=_0x3dea0f;let {renderer:_0x50a416,validMediaURLs:_0x565a22,validLinkURLs:_0x3ed902}=_0x1ed8e5;_0xee0d13=_0xee0d13[_0x39bae0(0x2cb)](!0x0);let _0x14dc0a=C(_0xee0d13),_0x5ede3c=[],_0x14eb23;for(;_0x14eb23=_0x14dc0a[_0x39bae0(0x2ae)]();)_0x14eb23[_0x39bae0(0x267)]=_0x14eb23[_0x39bae0(0x267)]||new Set(),_0x5ede3c[_0x39bae0(0x2d4)](_0x14eb23),_0x14eb23['nodeValue'][_0x39bae0(0x281)](/\s+/)[_0x39bae0(0x1e3)](_0x2e9f6d=>_0x2e9f6d[_0x39bae0(0x2dc)]('http'))[_0x39bae0(0x1df)](_0x1db479=>{const _0x5cfbc4=_0x39bae0;var _0x4ca75d;let _0x4cdf82=(_0x4ca75d=g(_0x1db479))==null?void 0x0:_0x4ca75d[_0x5cfbc4(0x1f3)],_0x1fb743=_0x3ed902[_0x5cfbc4(0x1fe)](_0x4cdf82)||_0x3ed902[_0x5cfbc4(0x1fe)](_0x4cdf82)?_0x50a416[_0x5cfbc4(0x291)](_0x5cfbc4(0x1f4),{'url':_0x4cdf82,'label':_0x4cdf82}):_0x50a416[_0x5cfbc4(0x291)](_0x5cfbc4(0x31e),{'url':_0x4cdf82,'label':_0x5cfbc4(0x1f1),'description':''});_0x14eb23[_0x5cfbc4(0x267)][_0x5cfbc4(0x2e1)]({'match':_0x1db479,'replacement':_0x1fb743});});return _0x5ede3c[_0x39bae0(0x1df)](_0x474abf=>{const _0x3b8efe=_0x39bae0;if(!_0x474abf[_0x3b8efe(0x267)][_0x3b8efe(0x2ba)])return;let _0x5f16ea=_0x474abf[_0x3b8efe(0x24d)];[..._0x474abf[_0x3b8efe(0x267)]]['sort']((_0x203b5a,_0x2da644)=>_0x2da644[_0x3b8efe(0x2c1)][_0x3b8efe(0x299)]-_0x203b5a['match']['length'])['forEach'](_0x4cbde8=>_0x5f16ea=_0x5f16ea[_0x3b8efe(0x273)](_0x4cbde8[_0x3b8efe(0x2c1)],_0x4cbde8[_0x3b8efe(0x1e1)])),_0x474abf[_0x3b8efe(0x2cd)](this[_0x3b8efe(0x29c)](_0x5f16ea));}),_0xee0d13[_0x39bae0(0x203)]('a')[_0x39bae0(0x1df)](_0x5a6afb=>{const _0x310403=_0x39bae0;let _0x470075=U(_0x5a6afb),_0x56cb59=this[_0x310403(0x21b)](_0x5a6afb,{'default':_0x470075}),_0x43e25b=_0x3ed902[_0x310403(0x1fe)](_0x470075)?_0x50a416[_0x310403(0x291)](_0x310403(0x1f4),{'url':_0x470075,'label':_0x56cb59}):_0x50a416[_0x310403(0x291)]('prohibited',{'url':_0x470075,'label':_0x310403(0x2ea),'description':'('+_0x56cb59+')'});_0x5a6afb[_0x310403(0x2cd)](this[_0x310403(0x29c)](_0x43e25b));}),_0xee0d13[_0x39bae0(0x203)](ce[_0x39bae0(0x2e3)](',\x20'))[_0x39bae0(0x1df)](_0x3a5984=>{const _0x5d40ad=_0x39bae0;let _0x508974=U(_0x3a5984),_0x18bacc=this[_0x5d40ad(0x21b)](_0x3a5984,{'default':_0x508974}),_0x89ac13=_0x565a22[_0x5d40ad(0x1fe)](_0x508974)?_0x50a416[_0x5d40ad(0x291)](_0x5d40ad(0x29f),{'url':_0x508974,'label':_0x5d40ad(0x27a),'description':_0x5d40ad(0x208)}):_0x50a416['render'](_0x5d40ad(0x31e),{'url':_0x508974,'label':_0x5d40ad(0x1dd),'description':''});_0x3a5984[_0x5d40ad(0x2cd)](this[_0x5d40ad(0x29c)](_0x89ac13));}),_0xee0d13[_0x39bae0(0x21a)][_0x39bae0(0x273)](/(\n|\r|\f|\v)+/g,_0x39bae0(0x2be)),_0xee0d13;}['createAttachment'](_0x53df96){const _0x49889f=_0x3dea0f;return new _0x3bd51a[(_0x49889f(0x20f))]({'content':_0x53df96,'contentType':se[_0x49889f(0x2a8)]});}[_0x3dea0f(0x309)](_0x341aa5=0x1,_0x2a647e={'delay':0x1}){let {delay:_0x1e28d4}=_0x2a647e;return new Promise(_0x5ebf0d=>{setTimeout(()=>{const _0x3c10ff=_0x5b82;for(let _0x540308=0x0;_0x540308<_0x341aa5;_0x540308++)this[_0x3c10ff(0x29a)][_0x3c10ff(0x28a)]();_0x5ebf0d();},_0x1e28d4);});}['insertAttachment'](_0x133f9e,_0x2fd468={'delay':0x1}){let {delay:_0xc14965}=_0x2fd468;return new Promise(_0x2e3903=>{setTimeout(()=>{const _0x3f3672=_0x5b82;this[_0x3f3672(0x29a)][_0x3f3672(0x270)](this[_0x3f3672(0x2b3)](_0x133f9e)),this[_0x3f3672(0x309)](0x1,{'delay':_0xc14965})[_0x3f3672(0x1f6)](_0x2e3903);},_0xc14965);});}[_0x3dea0f(0x2b4)](_0x8e1a46,_0x428c39={'delay':0x1}){let {delay:_0x330dbe}=_0x428c39;return new Promise(_0x3e6491=>{setTimeout(()=>{const _0x48845b=_0x5b82;this[_0x48845b(0x29a)]['insertHTML'](_0x8e1a46),this[_0x48845b(0x309)](0x1,{'delay':_0x330dbe})[_0x48845b(0x1f6)](_0x3e6491);},_0x330dbe);});}[_0x3dea0f(0x2ad)](_0xc5e31f,_0x50e4fb={'delay':0x1,'disposition':_0x3dea0f(0x2a8)}){let {delay:_0x2cb1b6,disposition:_0xbec439}=_0x50e4fb;return _0xc5e31f!=null&&_0xc5e31f['length']?new Promise(_0x3bd69b=>{setTimeout(()=>{const _0x321367=_0x5b82;if(typeof _0xc5e31f==_0x321367(0x21d))return _0xbec439===_0x321367(0x2ac)?this[_0x321367(0x2b4)](_0xc5e31f,{'delay':_0x2cb1b6})[_0x321367(0x2d0)](_0x4d66f2=>this[_0x321367(0x2e5)](_0x4d66f2))[_0x321367(0x1f6)](_0x3bd69b):this[_0x321367(0x270)](_0xc5e31f,{'delay':_0x2cb1b6})['catch'](_0x174918=>this[_0x321367(0x2e5)](_0x174918))['finally'](_0x3bd69b);if(Array[_0x321367(0x302)](_0xc5e31f)){let _0x2b9db1=_0xbec439===_0x321367(0x2ac)?_0xc5e31f['map'](_0x559f4e=>this[_0x321367(0x2b4)](_0x559f4e,{'delay':_0x2cb1b6+0x1})):_0xc5e31f[_0x321367(0x229)](_0x21f9f6=>this[_0x321367(0x270)](_0x21f9f6,{'delay':_0x2cb1b6+0x1}));return Promise[_0x321367(0x312)](_0x2b9db1)[_0x321367(0x2d0)](_0x4135a1=>this[_0x321367(0x2e5)](_0x4135a1))[_0x321367(0x1f6)](_0x3bd69b);}_0x3bd69b();});}):Promise['resolve']();}get[_0x3dea0f(0x29a)](){const _0x1a5094=_0x3dea0f;return this[_0x1a5094(0x249)][_0x1a5094(0x29a)];}get[_0x3dea0f(0x226)](){const _0x989688=_0x3dea0f;let _0x891a1e=this[_0x989688(0x249)]['getAttribute'](_0x989688(0x218)),_0x59cb0a=_0x891a1e?document[_0x989688(0x26a)](_0x891a1e):null;if(!_0x59cb0a){let _0xb213b3=this['element'][_0x989688(0x28e)];_0x59cb0a=_0xb213b3!=null&&_0xb213b3[_0x989688(0x2de)][_0x989688(0x2c1)](/trix-toolbar/i)?_0xb213b3:null;}return _0x59cb0a;}get['formElement'](){const _0x1d7362=_0x3dea0f;return this[_0x1d7362(0x249)][_0x1d7362(0x284)](_0x1d7362(0x20e));}get[_0x3dea0f(0x2f9)](){const _0x4f2cb8=_0x3dea0f;var _0x11990e;let _0x127625=this[_0x4f2cb8(0x249)]['getAttribute'](_0x4f2cb8(0x243));return _0x127625?(_0x11990e=this[_0x4f2cb8(0x304)])==null?void 0x0:_0x11990e[_0x4f2cb8(0x1fd)]('#'+_0x127625):null;}get[_0x3dea0f(0x28f)](){const _0x30836e=_0x3dea0f;return!!this['store'][_0x30836e(0x30a)](_0x30836e(0x28f));}get[_0x3dea0f(0x25e)](){const _0x5878fb=_0x3dea0f;try{return JSON[_0x5878fb(0x2eb)](this[_0x5878fb(0x2a3)][_0x5878fb(0x30a)](_0x5878fb(0x25e)))[0x2];}catch(_0x1a69bd){return null;}}get[_0x3dea0f(0x282)](){const _0xd91c00=_0x3dea0f;try{return this['store'][_0xd91c00(0x30a)]('configured')==='true';}catch(_0x115d1b){return!0x1;}}get['hostsValueDescriptors'](){const _0x2b7917=_0x3dea0f;return Object[_0x2b7917(0x20d)](this['valueDescriptorMap'])[_0x2b7917(0x1e3)](_0x447270=>_0x447270[_0x2b7917(0x2fd)][_0x2b7917(0x25d)](_0x2b7917(0x2c2)));}get['reservedDomains'](){const _0x2dbe87=_0x3dea0f;return[_0x2dbe87(0x22e),_0x2dbe87(0x26c),_0x2dbe87(0x29b),_0x2dbe87(0x252),_0x2dbe87(0x319),'trix.embed.example','trix.embed.invalid',_0x2dbe87(0x24e),_0x2dbe87(0x268),'trix.embed.test',_0x2dbe87(0x230),_0x2dbe87(0x256),_0x2dbe87(0x223),_0x2dbe87(0x2f0),_0x2dbe87(0x2f1),'www.embed.example','www.embed.invalid',_0x2dbe87(0x20c),_0x2dbe87(0x2c9),_0x2dbe87(0x1f5),'www.trix.example',_0x2dbe87(0x30b),'www.trix.local',_0x2dbe87(0x2dd),_0x2dbe87(0x2f6)];}['rememberConfig'](){return new Promise(async _0x2ab40b=>{const _0x5743c=_0x5b82;let _0x251233,_0x5b462a=await L();_0x251233=await y(_0x5b462a,w(this[_0x5743c(0x303)],0x3)),this['store']['write'](_0x5743c(0x25e),JSON[_0x5743c(0x295)]([_0x251233[0x0],_0x251233[0x1],_0x5b462a,_0x251233[0x2]])),this['paranoidValue']!==!0x1&&(_0x251233=await y(_0x5b462a,w(this[_0x5743c(0x303)],0x4)),this['store']['write'](_0x5743c(0x28f),JSON[_0x5743c(0x295)](_0x251233))),this[_0x5743c(0x249)][_0x5743c(0x2e4)](_0x5743c(0x2d9)),this[_0x5743c(0x2b8)]['forEach'](async _0x154325=>{const _0x206595=_0x5743c;let {name:_0x26cc38}=_0x154325,_0x3d0ff1=_0x26cc38['slice'](0x0,_0x26cc38['lastIndexOf'](_0x206595(0x24c))),_0x1f22f5=this[_0x26cc38];_0x1f22f5['length']<0x4&&(_0x1f22f5=_0x1f22f5[_0x206595(0x2b2)](w(this[_0x206595(0x303)],0x4-_0x1f22f5[_0x206595(0x299)]))),this[_0x206595(0x2a3)][_0x206595(0x2c5)](_0x3d0ff1,JSON['stringify'](await y(_0x5b462a,_0x1f22f5))),this['hasOwnProperty'](_0x3d0ff1)||Object['defineProperty'](this,_0x3d0ff1,{'get':async()=>{const _0xf8aa5=_0x206595;try{return(await Z(this[_0xf8aa5(0x25e)],JSON['parse'](this[_0xf8aa5(0x2a3)][_0xf8aa5(0x30a)](_0x3d0ff1))))[_0xf8aa5(0x1e3)](_0x230251=>!this['reservedDomains']['includes'](_0x230251));}catch(_0xbd12e1){return console[_0xf8aa5(0x2d3)](_0xf8aa5(0x23a)+_0x3d0ff1+'\x27!',_0xbd12e1),[];}}}),this['element'][_0x206595(0x2e4)](_0x206595(0x288)+_0x154325[_0x206595(0x25e)]);}),_0x251233=await y(_0x5b462a,w(this[_0x5743c(0x303)],0x4)),this[_0x5743c(0x2a3)][_0x5743c(0x2c5)]('securityHosts',_0x251233),_0x251233=await y(_0x5b462a,w(this[_0x5743c(0x303)],0x4)),this[_0x5743c(0x2a3)][_0x5743c(0x2c5)](_0x5743c(0x1ea),_0x251233),this['store'][_0x5743c(0x2c5)]('configured',!0x0),_0x2ab40b();});}['forgetConfig'](){const _0x960f3b=_0x3dea0f;var _0x384b94,_0x5d980e,_0xd10ddc,_0xa87f35,_0x388fd4;try{(_0x384b94=this[_0x960f3b(0x2a3)])==null||_0x384b94[_0x960f3b(0x2ee)](_0x960f3b(0x25e)),(_0x5d980e=this[_0x960f3b(0x2a3)])==null||_0x5d980e[_0x960f3b(0x2ee)](_0x960f3b(0x28f)),this[_0x960f3b(0x2b8)]['forEach'](async _0x1f4b95=>{const _0x297e9f=_0x960f3b;var _0x4f3e88;let {name:_0x3a9970}=_0x1f4b95,_0x4d46bf=_0x3a9970[_0x297e9f(0x216)](0x0,_0x3a9970[_0x297e9f(0x27d)](_0x297e9f(0x24c)));(_0x4f3e88=this['store'])==null||_0x4f3e88[_0x297e9f(0x2ee)](_0x4d46bf);}),(_0xd10ddc=this[_0x960f3b(0x2a3)])==null||_0xd10ddc[_0x960f3b(0x2ee)]('securityHosts'),(_0xa87f35=this['store'])==null||_0xa87f35[_0x960f3b(0x2ee)]('obscurityHosts'),(_0x388fd4=this['store'])==null||_0x388fd4['remove'](_0x960f3b(0x282));}catch(_0x7f4986){}}},X(_0x372023,_0x3dea0f(0x20d),{'embeddedTemplate':String,'errorTemplate':String,'iframeTemplate':String,'imageTemplate':String,'linkTemplate':String,'prohibitedTemplate':String,'warningTemplate':String,'allowedLinkHosts':Array,'blockedLinkHosts':Array,'allowedMediaHosts':Array,'blockedMediaHosts':Array,'paranoid':{'type':Boolean,'default':!0x0}}),_0x372023;}var ge=!0x1,Fe={'application':null,'Controller':null,'Trix':null};function De(_0x548be0=Fe){const _0x23dcf3=_0x25ec03;if(ge)return;let {application:_0xf317bc,Controller:_0x4ef87a,Trix:_0x26f7ab}=_0x548be0;_0xf317bc[_0x23dcf3(0x222)](_0x23dcf3(0x219),fe({'Controller':_0x4ef87a,'Trix':_0x26f7ab})),ge=!0x0;}self['TrixEmbed']=E(v({},Q),{'encryptValues':y,'generateKey':L,'generateKeyAndEncryptValues':ee,'initialize':De});function _0x5b82(_0x30e371,_0x4bfe96){const _0x1733aa=_0x1733();return _0x5b82=function(_0x5b8249,_0xe57db7){_0x5b8249=_0x5b8249-0x1dc;let _0x29c4d0=_0x1733aa[_0x5b8249];return _0x29c4d0;},_0x5b82(_0x30e371,_0x4bfe96);}var St=self['TrixEmbed'];export{St as default};
@@ -1 +1 @@
1
- {"inputs":{"app/javascript/metadata.js":{"bytes":86,"imports":[],"format":"esm"},"app/javascript/encryption.js":{"bytes":4095,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"app/javascript/enumerable.js":{"bytes":517,"imports":[],"format":"esm"},"app/javascript/urls.js":{"bytes":3338,"imports":[],"format":"esm"},"app/javascript/media.js":{"bytes":3618,"imports":[{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"}],"format":"esm"},"app/javascript/forms.js":{"bytes":3377,"imports":[{"path":"app/javascript/media.js","kind":"import-statement","original":"./media"},{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"}],"format":"esm"},"app/javascript/guard.js":{"bytes":1211,"imports":[{"path":"app/javascript/forms.js","kind":"import-statement","original":"./forms"}],"format":"esm"},"app/javascript/store.js":{"bytes":1219,"imports":[{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"}],"format":"esm"},"app/javascript/templates.js":{"bytes":1235,"imports":[],"format":"esm"},"app/javascript/renderer.js":{"bytes":5087,"imports":[{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"},{"path":"app/javascript/media.js","kind":"import-statement","original":"./media"},{"path":"app/javascript/templates.js","kind":"import-statement","original":"./templates"}],"format":"esm"},"app/javascript/controller.js":{"bytes":16611,"imports":[{"path":"app/javascript/enumerable.js","kind":"import-statement","original":"./enumerable"},{"path":"app/javascript/encryption.js","kind":"import-statement","original":"./encryption"},{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"},{"path":"app/javascript/media.js","kind":"import-statement","original":"./media"},{"path":"app/javascript/guard.js","kind":"import-statement","original":"./guard"},{"path":"app/javascript/store.js","kind":"import-statement","original":"./store"},{"path":"app/javascript/renderer.js","kind":"import-statement","original":"./renderer"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"app/javascript/index.js":{"bytes":669,"imports":[{"path":"app/javascript/metadata.js","kind":"import-statement","original":"./metadata"},{"path":"app/javascript/encryption.js","kind":"import-statement","original":"./encryption"},{"path":"app/javascript/controller.js","kind":"import-statement","original":"./controller"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"app/assets/builds/trix-embed.js":{"imports":[],"exports":["default"],"entryPoint":"app/javascript/index.js","inputs":{"app/javascript/metadata.js":{"bytesInOutput":24},"app/javascript/encryption.js":{"bytesInOutput":1346},"app/javascript/enumerable.js":{"bytesInOutput":229},"app/javascript/urls.js":{"bytesInOutput":1203},"app/javascript/media.js":{"bytesInOutput":935},"app/javascript/forms.js":{"bytesInOutput":1352},"app/javascript/guard.js":{"bytesInOutput":1002},"app/javascript/store.js":{"bytesInOutput":835},"app/javascript/templates.js":{"bytesInOutput":969},"app/javascript/renderer.js":{"bytesInOutput":2505},"app/javascript/controller.js":{"bytesInOutput":7987},"app/javascript/index.js":{"bytesInOutput":311}},"bytes":19212}}}
1
+ {"inputs":{"app/javascript/metadata.js":{"bytes":86,"imports":[],"format":"esm"},"app/javascript/encryption.js":{"bytes":4095,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"app/javascript/enumerable.js":{"bytes":517,"imports":[],"format":"esm"},"app/javascript/urls.js":{"bytes":3338,"imports":[],"format":"esm"},"app/javascript/media.js":{"bytes":3618,"imports":[{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"}],"format":"esm"},"app/javascript/forms.js":{"bytes":3378,"imports":[{"path":"app/javascript/media.js","kind":"import-statement","original":"./media"},{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"}],"format":"esm"},"app/javascript/guard.js":{"bytes":1212,"imports":[{"path":"app/javascript/forms.js","kind":"import-statement","original":"./forms"}],"format":"esm"},"app/javascript/store.js":{"bytes":1219,"imports":[{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"}],"format":"esm"},"app/javascript/templates.js":{"bytes":1235,"imports":[],"format":"esm"},"app/javascript/renderer.js":{"bytes":5087,"imports":[{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"},{"path":"app/javascript/media.js","kind":"import-statement","original":"./media"},{"path":"app/javascript/templates.js","kind":"import-statement","original":"./templates"}],"format":"esm"},"app/javascript/controller.js":{"bytes":17141,"imports":[{"path":"app/javascript/enumerable.js","kind":"import-statement","original":"./enumerable"},{"path":"app/javascript/encryption.js","kind":"import-statement","original":"./encryption"},{"path":"app/javascript/urls.js","kind":"import-statement","original":"./urls"},{"path":"app/javascript/media.js","kind":"import-statement","original":"./media"},{"path":"app/javascript/guard.js","kind":"import-statement","original":"./guard"},{"path":"app/javascript/store.js","kind":"import-statement","original":"./store"},{"path":"app/javascript/renderer.js","kind":"import-statement","original":"./renderer"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"app/javascript/index.js":{"bytes":669,"imports":[{"path":"app/javascript/metadata.js","kind":"import-statement","original":"./metadata"},{"path":"app/javascript/encryption.js","kind":"import-statement","original":"./encryption"},{"path":"app/javascript/controller.js","kind":"import-statement","original":"./controller"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"app/assets/builds/trix-embed.js":{"imports":[],"exports":["default"],"entryPoint":"app/javascript/index.js","inputs":{"app/javascript/metadata.js":{"bytesInOutput":24},"app/javascript/encryption.js":{"bytesInOutput":1347},"app/javascript/enumerable.js":{"bytesInOutput":229},"app/javascript/urls.js":{"bytesInOutput":1203},"app/javascript/media.js":{"bytesInOutput":935},"app/javascript/forms.js":{"bytesInOutput":1353},"app/javascript/guard.js":{"bytesInOutput":1003},"app/javascript/store.js":{"bytesInOutput":835},"app/javascript/templates.js":{"bytesInOutput":969},"app/javascript/renderer.js":{"bytesInOutput":2505},"app/javascript/controller.js":{"bytesInOutput":8416},"app/javascript/index.js":{"bytesInOutput":312}},"bytes":19645}}}
@@ -48,11 +48,8 @@ export function getTrixEmbedControllerClass(options = { Controller: null, Trix:
48
48
  this.store = new Store(this)
49
49
  this.guard = new Guard(this)
50
50
 
51
- if (this.key) return // already configured
52
-
53
- this.rememberConfig().then(() => {
54
- if (this.paranoid) this.guard.protect()
55
- })
51
+ if (this.configured) return this.protect()
52
+ this.rememberConfig().then(() => this.protect(this))
56
53
  }
57
54
 
58
55
  reconnect() {
@@ -76,7 +73,12 @@ export function getTrixEmbedControllerClass(options = { Controller: null, Trix:
76
73
  } catch {}
77
74
  }
78
75
 
79
- async paste(event) {
76
+ protect() {
77
+ if (this.paranoid) this.guard.protect()
78
+ }
79
+
80
+ async paste(event, attempt = 0) {
81
+ if (!this.configured && attempt < 100) return setTimeout(() => this.paste(event, attempt + 1), 25)
80
82
  if (this.formElement) this.formElement.trixEmbedPasting = true
81
83
 
82
84
  try {
@@ -94,8 +96,8 @@ export function getTrixEmbedControllerClass(options = { Controller: null, Trix:
94
96
 
95
97
  try {
96
98
  // Media URLs (images, videos, audio etc.)
97
- const allowedMediaHosts = await this.allowedMediaHosts
98
- const blockedMediaHosts = await this.blockedMediaHosts
99
+ const allowedMediaHosts = (await this.allowedMediaHosts) || this.allowedMediaHostsValue || []
100
+ const blockedMediaHosts = (await this.blockedMediaHosts) || this.blockedMediaHostsValue || []
99
101
  let mediaURLs = new Set(pastedURLs.filter(url => getMediaType(url)))
100
102
  const iframes = [...pastedElement.querySelectorAll('iframe')]
101
103
  iframes.forEach(frame => mediaURLs.add(frame.src))
@@ -106,8 +108,8 @@ export function getTrixEmbedControllerClass(options = { Controller: null, Trix:
106
108
  const invalidMediaURLs = mediaURLs.filter(url => !validMediaURLs.includes(url))
107
109
 
108
110
  // Link URLs (non-media resources i.e. web pages etc.)
109
- const allowedLinkHosts = await this.allowedLinkHosts
110
- const blockedLinkHosts = await this.blockedLinkHosts
111
+ const allowedLinkHosts = (await this.allowedLinkHosts) || this.allowedLinkHostsValue || []
112
+ const blockedLinkHosts = (await this.blockedLinkHosts) || this.blockedLinkHostsValue || []
111
113
  const linkURLs = pastedURLs.filter(url => !mediaURLs.includes(url))
112
114
  const validLinkURLs = linkURLs.filter(url => validateURL(url, allowedLinkHosts, blockedLinkHosts))
113
115
  const invalidLinkURLs = linkURLs.filter(url => !validLinkURLs.includes(url))
@@ -332,6 +334,14 @@ export function getTrixEmbedControllerClass(options = { Controller: null, Trix:
332
334
  }
333
335
  }
334
336
 
337
+ get configured() {
338
+ try {
339
+ return this.store.read('configured') === 'true'
340
+ } catch {
341
+ return false
342
+ }
343
+ }
344
+
335
345
  get hostsValueDescriptors() {
336
346
  return Object.values(this.valueDescriptorMap).filter(descriptor =>
337
347
  descriptor.name.endsWith('HostsValue')
@@ -429,6 +439,7 @@ export function getTrixEmbedControllerClass(options = { Controller: null, Trix:
429
439
  fakes = await encryptValues(key, sample(this.reservedDomains, 4))
430
440
  this.store.write('obscurityHosts', fakes)
431
441
 
442
+ this.store.write('configured', true)
432
443
  resolve()
433
444
  })
434
445
  }
@@ -446,6 +457,7 @@ export function getTrixEmbedControllerClass(options = { Controller: null, Trix:
446
457
 
447
458
  this.store?.remove('securityHosts')
448
459
  this.store?.remove('obscurityHosts')
460
+ this.store?.remove('configured')
449
461
  } catch {}
450
462
  }
451
463
  }
@@ -91,7 +91,7 @@ function patch() {
91
91
  }
92
92
 
93
93
  function observe(attempt = 0) {
94
- if (!document.body && attempt < 10) return setTimeout(() => observe(attempt + 1), 50)
94
+ if (!document.body && attempt < 100) return setTimeout(() => observe(attempt + 1), 25)
95
95
 
96
96
  if (_observer) return
97
97
 
@@ -20,7 +20,7 @@ export default class Guard {
20
20
  }
21
21
 
22
22
  protect(attempt = 0) {
23
- if (!this.toolbar && attempt < 10) return setTimeout(() => this.protect(attempt + 1), 25)
23
+ if (!this.toolbar && attempt < 100) return setTimeout(() => this.protect(attempt + 1), 25)
24
24
 
25
25
  this.preventAttachments()
26
26
  this.preventLinks()
@@ -1,4 +1,4 @@
1
1
  // This file is auto-generated by bin/build.mjs
2
2
  export default {
3
- version: '0.0.4'
3
+ version: '0.0.5'
4
4
  }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TrixEmbed
4
- VERSION = "0.0.4"
4
+ VERSION = "0.0.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trix_embed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nate Hopkins (hopsoft)