@ckeditor/ckeditor5-ai 43.0.0 → 43.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ai.js +2 -2
- package/build/translations/af.js +1 -1
- package/build/translations/ar.js +1 -1
- package/build/translations/bg.js +1 -1
- package/build/translations/bn.js +1 -1
- package/build/translations/bs.js +1 -1
- package/build/translations/ca.js +1 -1
- package/build/translations/cs.js +1 -1
- package/build/translations/da.js +1 -1
- package/build/translations/de-ch.js +1 -1
- package/build/translations/de.js +1 -1
- package/build/translations/el.js +1 -1
- package/build/translations/en-au.js +1 -1
- package/build/translations/es-co.js +1 -1
- package/build/translations/es.js +1 -1
- package/build/translations/et.js +1 -1
- package/build/translations/fa.js +1 -1
- package/build/translations/fi.js +1 -1
- package/build/translations/fr.js +1 -1
- package/build/translations/gl.js +1 -1
- package/build/translations/he.js +1 -1
- package/build/translations/hi.js +1 -1
- package/build/translations/hr.js +1 -1
- package/build/translations/hu.js +1 -1
- package/build/translations/id.js +1 -1
- package/build/translations/it.js +1 -1
- package/build/translations/ja.js +1 -1
- package/build/translations/jv.js +1 -1
- package/build/translations/ko.js +1 -1
- package/build/translations/lt.js +1 -1
- package/build/translations/lv.js +1 -1
- package/build/translations/ms.js +1 -1
- package/build/translations/nl.js +1 -1
- package/build/translations/no.js +1 -1
- package/build/translations/pl.js +1 -1
- package/build/translations/pt-br.js +1 -1
- package/build/translations/pt.js +1 -1
- package/build/translations/ro.js +1 -1
- package/build/translations/ru.js +1 -1
- package/build/translations/sk.js +1 -1
- package/build/translations/sr-latn.js +1 -1
- package/build/translations/sr.js +1 -1
- package/build/translations/sv.js +1 -1
- package/build/translations/th.js +1 -1
- package/build/translations/ti.js +1 -1
- package/build/translations/tk.js +1 -1
- package/build/translations/tr.js +1 -1
- package/build/translations/ug.js +1 -1
- package/build/translations/uk.js +1 -1
- package/build/translations/ur.js +1 -1
- package/build/translations/uz.js +1 -1
- package/build/translations/vi.js +1 -1
- package/build/translations/zh-cn.js +1 -1
- package/build/translations/zh.js +1 -1
- package/dist/aiassistant.d.ts +8 -8
- package/dist/aiassistantediting.d.ts +1 -1
- package/dist/index-editor.css +1 -1
- package/dist/index.css +3 -3
- package/dist/index.js +2 -2
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/dist/ui/showaiassistantcommand.d.ts +2 -2
- package/lang/contexts.json +0 -5
- package/lang/translations/af.po +0 -20
- package/lang/translations/ar.po +0 -20
- package/lang/translations/bg.po +0 -20
- package/lang/translations/bn.po +0 -20
- package/lang/translations/bs.po +0 -20
- package/lang/translations/ca.po +0 -20
- package/lang/translations/cs.po +0 -20
- package/lang/translations/da.po +0 -20
- package/lang/translations/de-ch.po +0 -20
- package/lang/translations/de.po +0 -20
- package/lang/translations/el.po +0 -20
- package/lang/translations/en-au.po +0 -20
- package/lang/translations/en.po +0 -20
- package/lang/translations/es-co.po +0 -20
- package/lang/translations/es.po +0 -20
- package/lang/translations/et.po +0 -20
- package/lang/translations/fa.po +0 -20
- package/lang/translations/fi.po +0 -20
- package/lang/translations/fr.po +0 -20
- package/lang/translations/gl.po +6 -26
- package/lang/translations/he.po +0 -20
- package/lang/translations/hi.po +0 -20
- package/lang/translations/hr.po +0 -20
- package/lang/translations/hu.po +0 -20
- package/lang/translations/id.po +0 -20
- package/lang/translations/it.po +0 -20
- package/lang/translations/ja.po +0 -20
- package/lang/translations/jv.po +0 -20
- package/lang/translations/ko.po +0 -20
- package/lang/translations/lt.po +0 -20
- package/lang/translations/lv.po +0 -20
- package/lang/translations/ms.po +0 -20
- package/lang/translations/nl.po +0 -20
- package/lang/translations/no.po +0 -20
- package/lang/translations/pl.po +0 -20
- package/lang/translations/pt-br.po +0 -20
- package/lang/translations/pt.po +0 -20
- package/lang/translations/ro.po +0 -20
- package/lang/translations/ru.po +0 -20
- package/lang/translations/sk.po +0 -20
- package/lang/translations/sr-latn.po +0 -20
- package/lang/translations/sr.po +0 -20
- package/lang/translations/sv.po +0 -20
- package/lang/translations/th.po +0 -20
- package/lang/translations/ti.po +0 -20
- package/lang/translations/tk.po +0 -20
- package/lang/translations/tr.po +0 -20
- package/lang/translations/ug.po +0 -20
- package/lang/translations/uk.po +0 -20
- package/lang/translations/ur.po +0 -20
- package/lang/translations/uz.po +0 -20
- package/lang/translations/vi.po +0 -20
- package/lang/translations/zh-cn.po +0 -20
- package/lang/translations/zh.po +0 -20
- package/package.json +8 -8
- package/src/adapters/aiadapter.js +1 -1
- package/src/adapters/aitextadapter.js +1 -1
- package/src/adapters/awstextadapter.js +1 -1
- package/src/adapters/openaitextadapter.js +1 -1
- package/src/aiassistant.d.ts +8 -8
- package/src/aiassistant.js +1 -1
- package/src/aiassistantediting.d.ts +1 -1
- package/src/aiassistantediting.js +1 -1
- package/src/aiassistantui.js +1 -1
- package/src/index.js +1 -1
- package/src/ui/aiassistantcontroller.js +2 -2
- package/src/ui/form/aiformcontentarea.js +1 -1
- package/src/ui/form/aiformerrorview.js +1 -1
- package/src/ui/form/aiformpromptview.js +1 -1
- package/src/ui/form/aiformtoolbarview.js +1 -1
- package/src/ui/form/aiformview.js +1 -1
- package/src/ui/form/aihistorylistitemview.js +1 -1
- package/src/ui/form/aihistorylistview.js +1 -1
- package/src/ui/form/prompthistory.js +1 -1
- package/src/ui/showaiassistantcommand.d.ts +2 -2
- package/src/ui/showaiassistantcommand.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/ai.css +3 -3
- package/dist/ui/dropdown/aicommandslistview.d.ts +0 -37
- package/src/ui/dropdown/aicommandslistview.d.ts +0 -33
- package/src/ui/dropdown/aicommandslistview.js +0 -23
package/build/ai.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"
|
|
1
|
+
!function(e){const t=e.en=e.en||{};t.dictionary=Object.assign(t.dictionary||{},{"AI Assistant":"AI Assistant","AI Commands":"AI Commands","AI is writing":"AI is writing","AI is writing...":"AI is writing...",AI_ERROR_CONTEXT_LENGTH:"Selected content is too long",AI_ERROR_FAILED:"Failed to communicate with the AI service",AI_ERROR_GET_HEADERS:"Preparing request headers failed",AI_ERROR_GET_PARAMETERS:"Preparing request parameters failed",AI_ERROR_MODERATION:"Requested query does not pass moderation rules",AI_ERROR_UNSUPPORTED_MODEL:'The requested AI model ("%0") is not supported',AI_INSERT_CONTENT:"Insert",AI_REPLACE_CONTENT:"Replace",Arabic:"Arabic","Ask AI and your prompts will be listed here for you to use later.":"Ask AI and your prompts will be listed here for you to use later.","Ask AI to edit or generate":"Ask AI to edit or generate","Ask AI to improve generated text":"Ask AI to improve generated text",Business:"Business",Casual:"Casual","Change style":"Change style","Change tone":"Change tone",Confident:"Confident",Continue:"Continue",Copy:"Copy",Direct:"Direct","Edit or review":"Edit or review","Empty history":"Empty history",English:"English","Error during AI content generation: %0":"Error during AI content generation: %0",French:"French",Friendly:"Friendly","Generate from selection":"Generate from selection","Generated content: %0":"Generated content: %0",German:"German",Hindi:"Hindi",History:"History","Improve writing":"Improve writing","Insert below":"Insert below",Journalism:"Journalism",Legal:"Legal","Make longer":"Make longer","Make shorter":"Make shorter",Poetic:"Poetic",Portuguese:"Portuguese",Professional:"Professional","Prompt history":"Prompt history","Simplified Chinese":"Simplified Chinese","Simplify language":"Simplify language",Spanish:"Spanish",Stop:"Stop",Submit:"Submit",Summarize:"Summarize",Translate:"Translate","Try again":"Try again"})}(window.CKEDITOR_TRANSLATIONS||(window.CKEDITOR_TRANSLATIONS={})),
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var e={369:function(e){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}({17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=r(18),o=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var o=e.getVersionPrecision(t),i=e.getVersionPrecision(r),s=Math.max(o,i),a=0,c=e.map([t,r],(function(t){var r=s-e.getVersionPrecision(t),n=t+new Array(r+1).join(".0");return e.map(n.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(n&&(a=s-Math.min(o,i)),s-=1;s>=a;){if(c[0][s]>c[1][s])return 1;if(c[0][s]===c[1][s]){if(s===a)return 0;s-=1}else if(c[0][s]<c[1][s])return-1}},e.map=function(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r<e.length;r+=1)n.push(t(e[r]));return n},e.find=function(e,t){var r,n;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(r=0,n=e.length;r<n;r+=1){var o=e[r];if(t(o,r))return o}},e.assign=function(e){for(var t,r,n=e,o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[e].concat(i));var a=function(){var e=i[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach((function(t){n[t]=e[t]}))};for(t=0,r=i.length;t<r;t+=1)a();return e},e.getBrowserAlias=function(e){return n.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return n.BROWSER_MAP[e]||""},e}();t.default=o,e.exports=t.default},18:function(e,t,r){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(91))&&n.__esModule?n:{default:n},i=r(18);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function e(){}var t,r,n;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new o.default(e,t)},e.parse=function(e){return new o.default(e).getResult()},t=e,n=[{key:"BROWSER_MAP",get:function(){return i.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return i.ENGINE_MAP}},{key:"OS_MAP",get:function(){return i.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return i.PLATFORMS_MAP}}],(r=null)&&s(t.prototype,r),n&&s(t,n),e}();t.default=a,e.exports=t.default},91:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=c(r(92)),o=c(r(93)),i=c(r(94)),s=c(r(95)),a=c(r(17));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=a.default.find(n.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=a.default.find(o.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=a.default.find(i.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=a.default.find(s.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return a.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,r={},n=0,o={},i=0;if(Object.keys(e).forEach((function(t){var s=e[t];"string"==typeof s?(o[t]=s,i+=1):"object"==typeof s&&(r[t]=s,n+=1)})),n>0){var s=Object.keys(r),c=a.default.find(s,(function(e){return t.isOS(e)}));if(c){var u=this.satisfies(r[c]);if(void 0!==u)return u}var l=a.default.find(s,(function(e){return t.isPlatform(e)}));if(l){var d=this.satisfies(r[l]);if(void 0!==d)return d}}if(i>0){var g=Object.keys(o),h=a.default.find(g,(function(e){return t.isBrowser(e,!0)}));if(void 0!==h)return this.compareVersion(o[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),o=a.default.getBrowserTypeByAlias(n);return t&&o&&(n=o.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,o=this.getBrowserVersion();if("string"==typeof o)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(n=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(a.default.compareVersions(o,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=u,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},i=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=o.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=o.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=o.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=o.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=o.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=o.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=o.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=o.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=o.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=o.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=o.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=o.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=o.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=o.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=o.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=o.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=o.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=o.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=o.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=o.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=o.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=o.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=o.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=o.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=o.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=o.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:o.default.getFirstMatch(t,e),version:o.default.getSecondMatch(t,e)}}}];t.default=s,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},i=r(18),s=[{test:[/Roku\/DVP/],describe:function(e){var t=o.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:i.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=o.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=o.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=o.default.getWindowsVersionName(t);return{name:i.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:i.OS_MAP.iOS},r=o.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=o.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=o.default.getMacOSVersionName(t),n={name:i.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=o.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:i.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=o.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=o.default.getAndroidVersionName(t),n={name:i.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=o.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:i.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=o.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||o.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||o.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:i.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=o.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=o.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:i.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:i.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=o.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.PlayStation4,version:t}}}];t.default=s,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},i=r(18),s=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=o.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:i.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=o.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:i.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:i.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.tv}}}];t.default=s,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},i=r(18),s=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:i.ENGINE_MAP.Blink};var t=o.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:i.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:i.ENGINE_MAP.Trident},r=o.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:i.ENGINE_MAP.Presto},r=o.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:i.ENGINE_MAP.Gecko},r=o.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:i.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:i.ENGINE_MAP.WebKit},r=o.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=s,e.exports=t.default}})},142:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck.ck-aria-description{display:none}",""]);const i=o},507:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content pre>code.ck-suggestion-marker-formatBlock{box-shadow:-7px 0 0 0 #ededed,-10px 0 0 0 var(--ck-color-suggestion-marker-format-border);display:block}.ck-content pre>code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 #ededed,-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}",""]);const i=o},967:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const i=o},258:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image img{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image,.ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const i=o},906:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const i=o},938:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-comment-marker.ck-widget.ck-merge-field,.ck-content .ck-suggestion-marker.ck-widget.ck-merge-field{border-width:2px;border-left:none;border-right:none;padding-bottom:0;padding-top:0}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom-color:var(--ck-color-suggestion-marker-deletion-border);border-top-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field :not(.ck-merge-field__affix),.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-value,.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-warning{text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field{background-color:var(--ck-color-suggestion-marker-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-insertion-background-active)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field{background:var(--ck-color-comment-marker)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),.ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field){margin-right:-1px;padding-right:1px}",""]);const i=o},751:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const i=o},901:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-color-suggestion-widget-th-insertion-background:rgba(102,229,119,.12);--ck-color-suggestion-widget-th-insertion-background-active:rgba(37,218,61,.14);--ck-color-suggestion-widget-th-deletion-background:rgba(229,102,134,.14);--ck-color-suggestion-widget-th-deletion-background-active:rgba(196,33,74,.16)}.ck-content figure.table .ck-suggestion-marker-formatBlock{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.table{border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table{border-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .table th.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-th-insertion-background)}.ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active)}.ck-content .table th.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-th-deletion-background);text-decoration:none}.ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .table td.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);text-decoration:none}.ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-formatBlock,.ck-content .table td.ck-suggestion-marker-formatInline,.ck-content .table th.ck-suggestion-marker-formatBlock,.ck-content .table th.ck-suggestion-marker-formatInline{background-color:var(--ck-color-suggestion-widget-format-background);box-shadow:none}.ck-content .table td.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table td.ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatInline.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-format-background-active);box-shadow:none}",""]);const i=o},961:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-color-comment-box-border:#f2de02;--ck-color-suggestion-box-deletion-border:#d85a79;--ck-color-suggestion-box-insertion-border:#5ad86b;--ck-color-suggestion-box-format-border:#5ac1d8}.ck .ck-suggestion{border-top-left-radius:var(--ck-border-radius)}.ck .ck-suggestion:focus{background:var(--ck-color-button-default-hover-background);outline:none}.ck .ck-annotation{border-left:3px solid transparent}.ck .ck-suggestion--disabled-comments .ck-annotation{min-height:80px}.ck .ck-comment,.ck .ck-comment__input-container,.ck .ck-thread__comment-count,.ck .ck-thread__header{border-left:3px solid var(--ck-color-comment-box-border)}.ck .ck-suggestion-insertion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-replace .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-format .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-format-border)}.ck .ck-suggestion-wrapper{border-radius:0}.ck .ck-suggestion-wrapper.ck-rounded-corners,.ck-rounded-corners .ck .ck-suggestion-wrapper{border-radius:var(--ck-border-radius)}.ck .ck-suggestion-wrapper{overflow:hidden}.ck .ck-suggestion-wrapper:focus{box-shadow:0 0 0 4px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring)}.ck-balloon-panel:has(.ck-suggestion-wrapper:focus){border:var(--ck-focus-ring);box-shadow:var(--ck-drop-shadow),var(--ck-focus-outer-shadow);outline:none}.ck .ck-suggestion-type{font-weight:700}.ck .ck-suggestion-color{border-radius:14px;box-shadow:0 0 0 1px #454545;display:inline-block;height:14px;margin:0 5px;vertical-align:text-bottom;width:14px}.ck .ck-suggestion-insertion .ck-comment,.ck .ck-suggestion-insertion .ck-comment__input-container,.ck .ck-suggestion-insertion .ck-thread__comment-count,.ck .ck-suggestion-replace .ck-comment,.ck .ck-suggestion-replace .ck-comment__input-container,.ck .ck-suggestion-replace .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-comment,.ck .ck-suggestion-deletion .ck-comment__input-container,.ck .ck-suggestion-deletion .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-format .ck-comment,.ck .ck-suggestion-format .ck-comment__input-container,.ck .ck-suggestion-format .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-format-border)}",""]);const i=o},163:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,':root{--ck-color-suggestion-marker-insertion-border:rgba(30,174,49,.35);--ck-color-suggestion-marker-insertion-border-active:rgba(18,109,31,.5);--ck-color-suggestion-marker-insertion-background:rgba(102,229,119,.35);--ck-color-suggestion-marker-insertion-background-active:rgba(37,218,61,.5);--ck-color-suggestion-marker-deletion-border:rgba(174,30,66,.35);--ck-color-suggestion-marker-deletion-border-active:rgba(109,18,41,.5);--ck-color-suggestion-marker-deletion-background:rgba(229,102,134,.35);--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.5);--ck-color-suggestion-marker-deletion-stroke:rgba(87,15,33,.5);--ck-color-suggestion-marker-format-border:#99d7e6;--ck-color-suggestion-marker-format-border-active:#5cc0d6;--ck-color-suggestion-widget-insertion-background:rgba(102,229,119,.05);--ck-color-suggestion-widget-insertion-background-active:rgba(37,218,61,.07);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.05);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.07);--ck-color-suggestion-widget-format-background:rgba(10,160,194,.09);--ck-color-suggestion-widget-format-background-active:rgba(10,160,194,.16)}.ck-content .ck-suggestion-marker-insertion{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-insertion-border);text-decoration:none}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-merge:after{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);color:var(--ck-color-suggestion-marker-deletion-stroke);content:"¶";text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke)}.ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-split:after{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border);color:var(--ck-color-suggestion-marker-insertion-border);content:"¶"}.ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-formatInline{border-bottom:3px solid var(--ck-color-suggestion-marker-format-border);border-top:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatInline.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatBlock{background:none;border:0;box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 var(--ck-color-base-background),-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content ol .ck-suggestion-marker-formatBlock,.ck-content ul .ck-suggestion-marker-formatBlock{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}',""]);const i=o},332:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-user-colors--0:#6d78e8;--ck-user-colors--0-alpha:rgba(109,120,232,.15);--ck-user-colors--1:#007a6c;--ck-user-colors--1-alpha:rgba(0,122,108,.15);--ck-user-colors--2:#ba4545;--ck-user-colors--2-alpha:rgba(186,69,69,.15);--ck-user-colors--3:#5635b1;--ck-user-colors--3-alpha:rgba(86,53,177,.15);--ck-user-colors--4:#548a2e;--ck-user-colors--4-alpha:rgba(84,138,46,.15);--ck-user-colors--5:#c3185d;--ck-user-colors--5-alpha:rgba(195,24,93,.15);--ck-user-colors--6:#ea4343;--ck-user-colors--6-alpha:rgba(234,67,67,.15);--ck-user-colors--7:#0bc3d0;--ck-user-colors--7-alpha:rgba(11,195,208,.15);--ck-user-dot-size:6px}.ck .ck-user__color--0{color:var(--ck-user-colors--0)}.ck .ck-user__bg-color--0{background-color:var(--ck-user-colors--0)}.ck .ck-user__selection--0{background-color:var(--ck-user-colors--0-alpha)}.ck .ck-user__selection--0.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--0)}.ck .ck-user__marker--0,.ck .ck-user__marker--0 .ck-user__marker-dot,.ck .ck-user__marker--0 .ck-user__marker-dot::selection,.ck .ck-user__marker--0 .ck-user__marker-tooltip,.ck .ck-user__marker--0 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--0::selection{background-color:var(--ck-user-colors--0)}.ck .ck-user__marker--0 .ck-user__marker-line{border:1px solid var(--ck-user-colors--0)}.ck .ck-user__color--1{color:var(--ck-user-colors--1)}.ck .ck-user__bg-color--1{background-color:var(--ck-user-colors--1)}.ck .ck-user__selection--1{background-color:var(--ck-user-colors--1-alpha)}.ck .ck-user__selection--1.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--1)}.ck .ck-user__marker--1,.ck .ck-user__marker--1 .ck-user__marker-dot,.ck .ck-user__marker--1 .ck-user__marker-dot::selection,.ck .ck-user__marker--1 .ck-user__marker-tooltip,.ck .ck-user__marker--1 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--1::selection{background-color:var(--ck-user-colors--1)}.ck .ck-user__marker--1 .ck-user__marker-line{border:1px solid var(--ck-user-colors--1)}.ck .ck-user__color--2{color:var(--ck-user-colors--2)}.ck .ck-user__bg-color--2{background-color:var(--ck-user-colors--2)}.ck .ck-user__selection--2{background-color:var(--ck-user-colors--2-alpha)}.ck .ck-user__selection--2.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--2)}.ck .ck-user__marker--2,.ck .ck-user__marker--2 .ck-user__marker-dot,.ck .ck-user__marker--2 .ck-user__marker-dot::selection,.ck .ck-user__marker--2 .ck-user__marker-tooltip,.ck .ck-user__marker--2 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--2::selection{background-color:var(--ck-user-colors--2)}.ck .ck-user__marker--2 .ck-user__marker-line{border:1px solid var(--ck-user-colors--2)}.ck .ck-user__color--3{color:var(--ck-user-colors--3)}.ck .ck-user__bg-color--3{background-color:var(--ck-user-colors--3)}.ck .ck-user__selection--3{background-color:var(--ck-user-colors--3-alpha)}.ck .ck-user__selection--3.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--3)}.ck .ck-user__marker--3,.ck .ck-user__marker--3 .ck-user__marker-dot,.ck .ck-user__marker--3 .ck-user__marker-dot::selection,.ck .ck-user__marker--3 .ck-user__marker-tooltip,.ck .ck-user__marker--3 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--3::selection{background-color:var(--ck-user-colors--3)}.ck .ck-user__marker--3 .ck-user__marker-line{border:1px solid var(--ck-user-colors--3)}.ck .ck-user__color--4{color:var(--ck-user-colors--4)}.ck .ck-user__bg-color--4{background-color:var(--ck-user-colors--4)}.ck .ck-user__selection--4{background-color:var(--ck-user-colors--4-alpha)}.ck .ck-user__selection--4.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--4)}.ck .ck-user__marker--4,.ck .ck-user__marker--4 .ck-user__marker-dot,.ck .ck-user__marker--4 .ck-user__marker-dot::selection,.ck .ck-user__marker--4 .ck-user__marker-tooltip,.ck .ck-user__marker--4 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--4::selection{background-color:var(--ck-user-colors--4)}.ck .ck-user__marker--4 .ck-user__marker-line{border:1px solid var(--ck-user-colors--4)}.ck .ck-user__color--5{color:var(--ck-user-colors--5)}.ck .ck-user__bg-color--5{background-color:var(--ck-user-colors--5)}.ck .ck-user__selection--5{background-color:var(--ck-user-colors--5-alpha)}.ck .ck-user__selection--5.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--5)}.ck .ck-user__marker--5,.ck .ck-user__marker--5 .ck-user__marker-dot,.ck .ck-user__marker--5 .ck-user__marker-dot::selection,.ck .ck-user__marker--5 .ck-user__marker-tooltip,.ck .ck-user__marker--5 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--5::selection{background-color:var(--ck-user-colors--5)}.ck .ck-user__marker--5 .ck-user__marker-line{border:1px solid var(--ck-user-colors--5)}.ck .ck-user__color--6{color:var(--ck-user-colors--6)}.ck .ck-user__bg-color--6{background-color:var(--ck-user-colors--6)}.ck .ck-user__selection--6{background-color:var(--ck-user-colors--6-alpha)}.ck .ck-user__selection--6.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--6)}.ck .ck-user__marker--6,.ck .ck-user__marker--6 .ck-user__marker-dot,.ck .ck-user__marker--6 .ck-user__marker-dot::selection,.ck .ck-user__marker--6 .ck-user__marker-tooltip,.ck .ck-user__marker--6 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--6::selection{background-color:var(--ck-user-colors--6)}.ck .ck-user__marker--6 .ck-user__marker-line{border:1px solid var(--ck-user-colors--6)}.ck .ck-user__color--7{color:var(--ck-user-colors--7)}.ck .ck-user__bg-color--7{background-color:var(--ck-user-colors--7)}.ck .ck-user__selection--7{background-color:var(--ck-user-colors--7-alpha)}.ck .ck-user__selection--7.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--7)}.ck .ck-user__marker--7,.ck .ck-user__marker--7 .ck-user__marker-dot,.ck .ck-user__marker--7 .ck-user__marker-dot::selection,.ck .ck-user__marker--7 .ck-user__marker-tooltip,.ck .ck-user__marker--7 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--7::selection{background-color:var(--ck-user-colors--7)}.ck .ck-user__marker--7 .ck-user__marker-line{border:1px solid var(--ck-user-colors--7)}",""]);const i=o},533:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-user-avatar-size:40px;--ck-user-avatar-background:#3670ab;--ck-user-avatar-color:#fff;--ck-user-me-border-color:#fff}.ck.ck-user{align-items:center;background-color:var(--ck-user-avatar-background);border-radius:50%;box-sizing:border-box;display:flex;height:var(--ck-user-avatar-size);justify-content:center;line-height:100%;margin:2px;min-height:var(--ck-user-avatar-size);min-width:var(--ck-user-avatar-size);position:relative;width:var(--ck-user-avatar-size)}.ck.ck-user.ck-user_me{border:2px solid var(--ck-user-me-border-color);outline:2px solid var(--ck-user-avatar-background)}.ck.ck-user__name{color:var(--ck-user-avatar-color);cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-user__name.ck-user__name--hidden{display:none}.ck.ck-user__img{background-color:var(--ck-user-avatar-background);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:50%;display:none;height:100%;width:100%}.ck.ck-user__img.ck-user__anonymous{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23FFF' d='M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z'/%3E%3C/svg%3E\");display:block}.ck.ck-user__img.ck-user__anonymous+.ck-user__name{display:none}.ck.ck-user__img.ck-user__avatar{background-color:#fff;display:block}.ck.ck-user__img.ck-user__img--hidden{display:none}.ck.ck-user__notification{align-items:center;background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);border-radius:50%;box-sizing:content-box;display:flex;height:15px;justify-content:center;overflow:hidden;position:absolute;right:-7px;top:-8px;transform:translateZ(0);width:15px}.ck.ck-user__notification .ck-user__icon{background:var(--ck-color-base-background);color:var(--ck-color-annotation-info);height:19px;max-height:19px;max-width:19px;min-height:19px;min-width:19px;width:19px}",""]);const i=o},181:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-ai-dropdown-view-width:250px;--ck-ai-dropdown-view-list-max-height:250px}.ck.ck-ai-commands-search{width:var(--ck-ai-dropdown-view-width)}.ck.ck-ai-commands-search>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-ai-commands-search>.ck-labeled-field-view .ck-input{min-width:unset}.ck.ck-ai-commands-search>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-ai-commands-search>.ck-search__results>.ck-list{max-height:var(--ck-ai-dropdown-view-list-max-height);overflow:auto}",""]);const i=o},676:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-ai-form-view-width:600px;--ck-ai-form-content-height:175px;--ck-ai-form-content-background:#fafafa;--ck-ai-form-history-font-size:.9em;--ck-ai-form-error-background:var(--ck-color-light-red)}.ck .ck-ai-form{max-width:100%;width:var(--ck-ai-form-view-width)}@media screen and (max-width:600px){.ck .ck-ai-form{--ck-ai-form-view-width:100vw}}.ck .ck-ai-form .ck-ai-form-content{padding:var(--ck-spacing-large);width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-input{width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper{border:1px solid var(--ck-color-base-border);border-radius:2px;max-height:var(--ck-ai-form-content-height);overflow-y:auto;width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area{background-color:var(--ck-ai-form-content-background);display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area.ck-ai-form__content-area--processing{--ck-color-text:var(--ck-color-input-disabled-text);background-color:var(--ck-color-input-disabled-background)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{box-sizing:content-box;min-height:calc(var(--ck-line-height-base)*var(--ck-font-size-base));padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);white-space:normal;width:100%}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-right:0}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-left:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field>*{color:inherit;white-space:normal}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-left:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button-wrapper{display:flex;flex-direction:column-reverse;padding-left:2px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button{bottom:1px;min-height:unset;min-width:unset;padding:4px;position:sticky;right:1px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button svg{--ck-icon-size:16px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button.ck-ai-form__copy-button--copied{color:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__toolbar{border:none;margin-bottom:calc(var(--ck-spacing-medium)*2);margin-top:var(--ck-spacing-medium);padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader{align-items:center;display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader .ck-spinner{box-sizing:border-box}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete{display:flex;justify-content:space-between}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view{flex-grow:1}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-left:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-right:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{border-color:var(--ck-ai-form-submit-button-border-color);color:var(--ck-ai-form-submit-button-text-color)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit.ck-disabled{border-color:var(--ck-ai-form-submit-button-disabled-border-color)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{font-size:var(--ck-font-size-tiny);position:absolute}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{left:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{bottom:var(--ck-spacing-small);min-height:unset;min-width:unset;padding:4px;top:var(--ck-spacing-small)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-right:30px}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-left:30px}@media screen and (max-width:600px){.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{--ck-input-width:auto}}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>span{grid-area:1/1/2/2}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button{background:none;font-size:var(--ck-ai-form-history-font-size);grid-area:1/2/2/3;justify-self:start;margin:var(--ck-spacing-medium) 0 0;min-height:auto;padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label{line-height:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label:hover{text-decoration:underline}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list{grid-area:2/1/3/3}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list .ck-list__item .ck-button .ck-button__label{font-size:var(--ck-ai-form-history-font-size);line-height:var(--ck-line-height-base);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck .ck-ai-form .ck-ai-form__error{align-items:center;background-color:var(--ck-ai-form-error-background);border-radius:2px;color:var(--ck-color-base-text);display:flex;justify-content:center;margin-bottom:var(--ck-spacing-medium);padding:var(--ck-spacing-medium)}",""]);const i=o},379:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-ai-form-submit-button-text-color:var(--ck-color-text);--ck-ai-form-submit-button-border-color:transparent;--ck-ai-form-submit-button-disabled-border-color:transparent;--ck-ai-toolbar-button-hover-color:var(--ck-color-text);--ck-color-ai-selection:rgba(31,176,255,.3)}.ck-ai-assistant-ui_theme{--ck-color-button-default-hover-background:#f3ecff;--ck-color-button-default-active-background:#f3ecff;--ck-color-button-on-background:#f3ecff;--ck-color-button-on-hover-background:#e8dff7;--ck-color-button-on-active-background:#f3ecff;--ck-color-button-on-disabled-background:#f3ecff;--ck-color-button-on-color:#743ccd;--ck-color-button-action-background:#743ccd;--ck-color-button-action-hover-background:#6c34c9;--ck-color-button-action-active-background:#6c34c9;--ck-color-button-action-disabled-background:#ba9de6;--ck-color-list-button-hover-background:#f3ecff;--ck-ai-form-content-background:#f9f9f9;--ck-ai-form-submit-button-text-color:var(--ck-color-button-on-color);--ck-ai-form-submit-button-border-color:var(--ck-color-button-action-background);--ck-ai-form-submit-button-disabled-border-color:var(--ck-color-button-action-disabled-background);--ck-ai-toolbar-button-hover-color:var(--ck-color-button-on-color);--ck-color-ai-selection:#e2d6f5}.ck-ai-assistant-button:hover,.ck-ai-commands-dropdown>.ck-button:hover{color:var(--ck-ai-toolbar-button-hover-color)}.ck span.ck-fake-ai-selection{background:var(--ck-color-ai-selection)}.ck .ck-widget.ck-fake-ai-selection{outline-color:var(--ck-color-ai-selection)}.ck span.ck-fake-ai-selection-candidate{background:var(--ck-color-ai-selection)}.ck .ck-fake-ai-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}.ck.ck-content.ck-ai-form__content-field h2{font-size:1.3em}.ck.ck-content.ck-ai-form__content-field h3{font-size:1.2em}.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6{font-size:1.1em}.ck.ck-content.ck-ai-form__content-field h2,.ck.ck-content.ck-ai-form__content-field h3,.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6,.ck.ck-content.ck-ai-form__content-field ol,.ck.ck-content.ck-ai-form__content-field p,.ck.ck-content.ck-ai-form__content-field ul{line-height:1.7em;margin-block-end:.5em;margin-block-start:.5em}.ck.ck-content.ck-ai-form__content-field>:first-child{margin-top:0}.ck.ck-content.ck-ai-form__content-field>:last-child{margin-bottom:0}",""]);const i=o},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},673:(e,t,r)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),s=[];function a(e){for(var t=-1,r=0;r<s.length;r++)if(s[r].identifier===e){t=r;break}return t}function c(e,t){for(var r={},n=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=r[c]||0,l="".concat(c," ").concat(u);r[c]=u+1;var d=a(l),g={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(s[d].references++,s[d].updater(g)):s.push({identifier:l,updater:m(g,t),references:1}),n.push(l)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var l,d=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function g(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function h(e,t,r){var n=r.css,o=r.media,i=r.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f=null,p=0;function m(e,t){var r,n,o;if(t.singleton){var i=p++;r=f||(f=u(t)),n=g.bind(null,r,i,!1),o=g.bind(null,r,i,!0)}else r=u(t),n=h.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var o=a(r[n]);s[o].references--}for(var i=c(e,t),u=0;u<r.length;u++){var l=a(r[u]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}r=i}}}},331:(e,t,r)=>{e.exports=r(237)("./src/clipboard.js")},782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},783:(e,t,r)=>{e.exports=r(237)("./src/engine.js")},311:(e,t,r)=>{e.exports=r(237)("./src/ui.js")},584:(e,t,r)=>{e.exports=r(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var n={};(()=>{"use strict";r.r(n),r.d(n,{AIAdapter:()=>j,AIAssistant:()=>Lt,AIRequestError:()=>H,AITextAdapter:()=>Ft,AWSTextAdapter:()=>Vc,OpenAITextAdapter:()=>qt});var e=r(584),t=r(782),o=r(311);t.ContextPlugin;var i=r(673),s=r.n(i),a=r(332),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(a.A,c);a.A.locals;t.ContextPlugin;var u=r(533),l={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(u.A,l);u.A.locals;o.View;o.View;o.View;var d=r(961),g={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(d.A,g);d.A.locals;var h=r(163),f={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(h.A,f);h.A.locals;var p=r(142),m={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(p.A,m);p.A.locals;var k=r(258),b={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(k.A,b);k.A.locals;var v=r(967),y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(v.A,y);v.A.locals;var w=r(906),_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(w.A,_);w.A.locals;var S=r(938),x={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(S.A,x);S.A.locals;var A=r(751),E={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(A.A,E);A.A.locals;var I=r(901),R={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(I.A,R);I.A.locals;var T=r(507),M={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(T.A,M);T.A.locals;const P={paintRoller:'<svg viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3Z"/><path d="M16 3.25a1.5 1.5 0 0 1 1.5 1.5v1.7a2.25 2.25 0 0 1-1.932 2.226l-4.424.632a.75.75 0 0 0-.644.743V11a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1v-.95a2.25 2.25 0 0 1 1.932-2.226l4.424-.632A.75.75 0 0 0 16 6.449V3.25Z"/></svg>\n',robotPencil:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.61 2.66a1.406 1.406 0 1 0-1.407 0v.891H3.28a2.11 2.11 0 0 0-2.11 2.11v10.312a2.11 2.11 0 0 0 2.11 2.109h5.684l-.054-1.157.18-.25H3.28a.703.703 0 0 1-.703-.702V5.66c0-.389.315-.704.703-.704h11.25c.388 0 .703.315.703.704v2.484l.358-.497a2.492 2.492 0 0 1 1.048-.84V5.66a2.11 2.11 0 0 0-2.11-2.11H9.61v-.89Z"/><path d="M5.625 10.817c.518 0 .937-.63.937-1.407 0-.776-.42-1.406-.937-1.406-.518 0-.938.63-.938 1.406 0 .777.42 1.407.938 1.407Z"/><path d="M13.125 9.41c0 .777-.42 1.407-.938 1.407s-.937-.63-.937-1.407c0-.776.42-1.406.937-1.406.518 0 .938.63.938 1.406Z"/><path d="M.937 8.004A.937.937 0 0 0 0 8.942v1.875c0 .517.42.937.937.937v-3.75Z"/><path d="M6.128 12.51a.782.782 0 0 1 1.085.216c.272.408.907.707 1.693.707s1.421-.3 1.693-.707a.782.782 0 0 1 1.302.868c-.666 1-1.906 1.403-2.995 1.403-1.089 0-2.329-.404-2.995-1.403a.782.782 0 0 1 .217-1.085Z"/><path d="m16.987 8.91-.622.864 2.879 2.074.622-.864a.71.71 0 0 0-.161-.99l-1.728-1.245a.71.71 0 0 0-.99.161Z"/><path d="M11.635 19.951a.355.355 0 0 1-.449-.31l-.214-2.38 4.978-6.911 2.88 2.074-4.978 6.91-2.217.617Z"/></svg>',tableOfContents:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>\n',template:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 0H3a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM2.5 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V2Z"/><path clip-rule="evenodd" d="M13 0h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm0 1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-.5-.5h-5Z"/><path clip-rule="evenodd" d="M13 10h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Zm0 1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"/></svg>',caseChange:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.789 3 0 17h1.664l1.664-4.027h6.797l.227.548c.046-.172.112-.352.209-.545.217-.436.556-.609.898-.798L7.664 3H5.79Zm.938 1.758 2.777 6.715H3.949l2.778-6.715Z"/><path d="M15.956 7.5c-1.584-.02-3.226.824-3.843 2.882l1.495.106c.904-2.082 4.594-2.13 4.375.534-3.245 1.024-4.838.117-6.082 2.62-.208.418-.17 1.57.54 2.397.71.826 2.014 1.149 3.409.85 1.395-.299 2.24-1.386 2.24-1.386L18.205 17h1.493l-.059-1.72-.056-5.274C19.51 8.612 17.75 7.524 15.956 7.5Zm2.027 4.696s.641 2.453-1.528 3.27c-3.376 1.269-4.188-2.141-1.775-2.638 1.704-.352 1.873-.25 3.303-.632Z"/></svg>'},C=O;function O(e,t){const r=N();return(O=function(e,t){return r[e-=100]})(e,t)}function N(){const e=["getFirstRange","toModel","isCollapsed","processor","ai.useTheme","AIAssistantEditing","isContent","start","markerRange","length","ck-fake-ai-selection-candidate","removeMarker","createUIElement","push","canEditAt","ck-fake-ai-selection_collapsed","1483266uRFUbm","ck-fake-ai-selection","insertContentBelow","setSelection","conversion","386706yuOvHj","document","2018000nrEoOj","isAtEnd","22fOBMro","addMarker","addClass","getLastPosition","ck-ai-assistant-ui_theme","model","for","change","has","editor","createSelection","data","toView","pluginName","markerToElement","pop","selection","61789mAhdzQ","888QqdfxQ","hideFakeVisualSelection","editingDowncast","end","ai-ui-candidate","getLastMatchingPosition","39344899nnvNjk","getRange","createPositionAfter","getSelectedBlocks","insertContent","get","ai-ui","60vvORUL","from","showFakeVisualSelection","1122327MPklfn","createRange","markerToHighlight","markers","span","init","302357YjSaYr","schema","config","25USJSYb","updateMarker"];return(N=function(){return e})()}!function(e){const t=O,r=e();for(;;)try{if(860070===-parseInt(t(131))/1+parseInt(t(161))/2*(-parseInt(t(157))/3)+-parseInt(t(159))/4+parseInt(t(134))/5*(parseInt(t(152))/6)+parseInt(t(108))/7*(-parseInt(t(109))/8)+-parseInt(t(125))/9*(parseInt(t(122))/10)+parseInt(t(115))/11)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(N);const L=C(121),U=C(113);class $ extends t.Plugin{static get[C(104)](){return C(141)}[C(130)](){const e=C,{editor:t}=this,r=[e(153)];t[e(133)][e(120)](e(140))&&r[e(149)](e(165)),t[e(156)][e(167)](e(111))[e(127)]({model:L,view:{classes:r,priority:12}}),t[e(156)][e(167)](e(111))[e(105)]({model:L,view:(t,{writer:r})=>{const n=e;if(!t[n(144)][n(138)])return null;const o=r[n(148)](n(129));return r[n(163)]([n(153),n(151)],o),o}}),t[e(156)][e(167)](e(111))[e(127)]({model:U,view:{classes:[e(146)],priority:25}}),t[e(156)][e(167)](e(111))[e(105)]({model:U,view:(t,{writer:r})=>{const n=e;if(!t[n(144)][n(138)])return null;const o=r[n(148)](n(129));return r[n(163)]([n(146),n(151)],o),o}})}[C(124)](e){const t=C,r=this[t(100)][t(166)],n=e?U:L;r[t(168)]((e=>{const o=t,i=r[o(158)][o(107)][o(136)]();if(r[o(128)][o(169)](n))e[o(135)](n,{range:i});else if(i[o(143)][o(160)]){const t=i[o(143)][o(114)]((({item:e})=>!r[o(132)][o(142)](e)),{boundaries:i});e[o(162)](n,{usingOperation:!1,affectsData:!1,range:e[o(126)](t,i[o(112)])})}else e[o(162)](n,{usingOperation:!1,affectsData:!1,range:i})}))}[C(110)](e){const t=C,r=this[t(100)][t(166)],n=e?U:L;r[t(128)][t(169)](n)&&r[t(168)]((e=>{e[t(147)](n)}))}[C(119)](e,t){const r=C,n=t||this[r(100)][r(166)][r(128)][r(120)](L)[r(116)]();if(!this[r(100)][r(166)][r(150)](n))return;const o=this[r(100)][r(102)][r(139)][r(103)](e),i=this[r(100)][r(102)][r(137)](o);this[r(100)][r(166)][r(168)]((e=>{const t=r;this[t(110)]();const o=this[t(100)][t(166)][t(119)](i,n);o&&e[t(155)](o)}))}[C(154)](e){const t=C,{model:r}=this[t(100)],n=Array[t(123)](r[t(101)](this[t(100)][t(166)][t(128)][t(120)](L)[t(116)]())[t(118)]()),o=n[t(145)]?r[t(117)](n[t(106)]()):r[t(158)][t(107)][t(164)]();this[t(119)](e,o)}}var B=F;function F(e,t){var r=D();return(F=function(e,t){return r[e-=395]})(e,t)}function D(){var e=["19555110kFEteJ","AIRequestError","pluginName","1688056DhYnTD","81muVpmc","48sAtaBu","28kyReTU","2xWJdsC","118668rZPTIp","name","afterInit","474920DZXMld","5168436IvTqKG","324354oeSqhl","1836265HsSjmq","2684QhyEzF","AIAdapter","aiadapter-text-adapter-not-set","textAdapter"];return(D=function(){return e})()}!function(e){for(var t=F,r=e();;)try{if(999867===parseInt(t(397))/1*(-parseInt(t(409))/2)+parseInt(t(395))/3+-parseInt(t(407))/4*(parseInt(t(413))/5)+-parseInt(t(396))/6*(parseInt(t(408))/7)+-parseInt(t(405))/8*(parseInt(t(406))/9)+parseInt(t(402))/10+parseInt(t(398))/11*(parseInt(t(410))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(D);class j extends t.Plugin{static get[B(404)](){return B(399)}[B(412)](){var t=B;if(!this[t(401)])throw new e.CKEditorError(t(400),null)}}class H extends Error{constructor(e){var t=B;super(e),this[t(411)]=t(403)}}function q(e,t,r){const n=e.t;switch(t){case"Edit or review":return n("Edit or review");case"Improve writing":return n("Improve writing");case"Make shorter":return n("Make shorter");case"Make longer":return n("Make longer");case"Simplify language":return n("Simplify language");case"Generate from selection":return n("Generate from selection");case"Summarize":return n("Summarize");case"Continue":return n("Continue");case"Change tone":return n("Change tone");case"Professional":return n("Professional");case"Casual":return n("Casual");case"Direct":return n("Direct");case"Confident":return n("Confident");case"Friendly":return n("Friendly");case"Change style":return n("Change style");case"Business":return n("Business");case"Legal":return n("Legal");case"%0 commands found":return n("%0 commands found",r);case"Journalism":return n("Journalism");case"Poetic":return n("Poetic");case"Translate":return n("Translate");case"Translate to %0":return n("Translate to %0",r);case"English":return n("English");case"Spanish":return n("Spanish");case"German":return n("German");case"Portuguese":return n("Portuguese");case"French":return n("French");case"Simplified Chinese":return n("Simplified Chinese");case"Hindi":return n("Hindi");case"Arabic":return n("Arabic");case"AI Assistant":return n("AI Assistant");case"AI Commands":return n("AI Commands");case"Ask AI to edit or generate":return n("Ask AI to edit or generate");case"Ask AI to improve generated text":return n("Ask AI to improve generated text");case"Copy":return n("Copy");case"Submit":return n("Submit");case"Insert below":return n("Insert below");case"Try again":return n("Try again");case"Stop":return n("Stop");case"AI is writing...":return n("AI is writing...");case"AI is writing":return n("AI is writing");case"Generated content: %0":return n("Generated content: %0",r);case"Error during AI content generation: %0":return n("Error during AI content generation: %0",r);case"History":return n("History");case"Empty history":return n("Empty history");case"Ask AI and your prompts will be listed here for you to use later.":return n("Ask AI and your prompts will be listed here for you to use later.");case"Prompt history":return n("Prompt history");case"Search AI command":return n("Search AI command");case"No commands found":return n("No commands found");case"No commands available":return n("No commands available");case"Clear":return n("Clear");case"AI_REPLACE_CONTENT":return n({id:"AI_REPLACE_CONTENT",string:"Replace"});case"AI_INSERT_CONTENT":return n({id:"AI_INSERT_CONTENT",string:"Insert"});case"AI_ERROR_GET_HEADERS":return n({id:"AI_ERROR_GET_HEADERS",string:"Preparing request headers failed"});case"AI_ERROR_GET_PARAMETERS":return n({id:"AI_ERROR_GET_PARAMETERS",string:"Preparing request parameters failed"});case"AI_ERROR_UNSUPPORTED_MODEL":return n({id:"AI_ERROR_UNSUPPORTED_MODEL",string:'The requested AI model ("%0") is not supported'},r);case"AI_ERROR_CONTEXT_LENGTH":return n({id:"AI_ERROR_CONTEXT_LENGTH",string:"Selected content is too long"});case"AI_ERROR_MODERATION":return n({id:"AI_ERROR_MODERATION",string:"Requested query does not pass moderation rules"});case"AI_ERROR_FAILED":return n({id:"AI_ERROR_FAILED",string:"Failed to communicate with the AI service"});default:return t}}const V=W;function z(){const e=["24CjULTU","editor","custom","getRanges","refresh","29870ykJldo","change:isEnabled","includes","element","document","from","_hasContext","execute","length","requiresContent","set","concat","add","config","828cdfiPn","isCollapsed","get","name","selection","hasContent","getSelectedBlocks","5417209ZvYzHr","showUI","4SpnCgJ","change:_hasContext","reduce","commands","2273346gAYVtD","enabledCommandsIds","isEmpty","getItems","isEnabled","996927ONAxiX","ai.aiAssistant.disabledElements","466863LhyejR","1535090zQdlpO","getFirstRange","model","plugins","132IqABou","163656xkfmZd","_commandDefinitions"];return(z=function(){return e})()}function W(e,t){const r=z();return(W=function(e,t){return r[e-=291]})(e,t)}!function(e){const t=W,r=e();for(;;)try{if(658422===parseInt(t(330))/1+parseInt(t(319))/2*(parseInt(t(328))/3)+parseInt(t(336))/4+parseInt(t(296))/5*(-parseInt(t(310))/6)+-parseInt(t(317))/7+-parseInt(t(291))/8*(parseInt(t(323))/9)+parseInt(t(331))/10*(parseInt(t(335))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(z);class G extends t.Command{constructor(e,t){const r=W;super(e),this[r(337)]=t?t[r(321)](((e,t)=>e[r(307)](t[r(322)])),new Array):[],this[r(306)](r(324),[]),this.on(r(320),((e,t,n)=>{const o=r;this[o(327)]&&(this[o(324)]=Z(this[o(337)],n))})),this[r(306)](r(302),!1),this.on(r(297),((e,t,n)=>{const o=r;this[o(324)]=n?Z(this[o(337)],this[o(302)]):[]}))}[V(295)](){const e=V,t=this[e(292)][e(333)];this[e(302)]=function(t){const r=e,n=t[r(300)][r(314)];return n[r(311)]?0!==[...n[r(316)]()][r(304)]&&![...n[r(316)]()][0][r(325)]:!!t[r(315)](n[r(332)]())}(t);const r=t[e(300)][e(314)],n=this[e(292)][e(309)][e(312)](e(329));for(const t of r[e(294)]())for(const r of t[e(326)]())if(r.is(e(299))&&n[e(298)](r[e(313)]))return void(this[e(327)]=!1);this[e(327)]=!0}[V(303)](e="",t="",r=V(293)){const n=V;this[n(292)][n(334)][n(312)](It)[n(318)](e,t,r)}}function Z(e,t){const r=V,n=new Set;for(const o of e)(t||!1===o[r(305)])&&n[r(308)](o.id);return Array[r(301)](n)}var K=r(783);const Q=J;function J(e,t){const r=Y();return(J=function(e,t){return r[e-=146]})(e,t)}function Y(){const e=["isRendered","destroy","textAdapter","length","currentResponse","makeRequest","prompt","previousContext","_sanitizationContainer","createElement","listenTo","processor","remove","viewToDom","_sanitizeHTML","set","1681642LMFbQx","mainAction","innerHTML","previousLabel","updateView","handleError","substring","_normalizeResponseHeadings","message","rename","_isH1TagSupportEnabled","previousQuery","view","```html","name","previousActionId","setContentOf","reset","once","330IgxknQ","trim","body","stopListening","from","finally","2XsWLtj","```","stringify","toModel","document","abort","ELEMENT_NODE","_parseAndNormalizeContent","1816PSuVJM","value","startsWith","childNodes","finishProcessing","endsWith","render","_stripMarkdownSyntax","exec","domConverter","2992276fJfhlZ","2330lbkTjN","data","htmlProcessor","match","currentContext","reverse","initialContext","div","startProcessing","isProcessing","then","parseFromString","5973966ZpnnCp","serializeToString","catch","set:currentContext","custom","40797EInWOg","tryAgainEvent","submitPrompt","text/html","_handleQuery","<h1></h1>","toView","querySelector","_domParser","push","241105fgtazd","editing","475746PTpKQi","editor","stopProcessing","_xmlSerializer","16nRSyex","element","nodeType"];return(Y=function(){return e})()}!function(e){const t=J,r=e();for(;;)try{if(929048===parseInt(t(240))/1+parseInt(t(169))/2*(-parseInt(t(217))/3)+parseInt(t(221))/4*(-parseInt(t(215))/5)+-parseInt(t(200))/6+-parseInt(t(187))/7+parseInt(t(177))/8*(parseInt(t(205))/9)+-parseInt(t(188))/10*(parseInt(t(163))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Y);const X=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,"is");class ee extends((0,e.ObservableMixin)()){constructor(e,t,r){const n=J;super(),this[n(218)]=e,this[n(226)]=t,this[n(232)]=document[n(233)](n(195)),this[n(213)]=new DOMParser,this[n(220)]=new XMLSerializer,this[n(156)]=r,this[n(239)]({initialContext:"",currentContext:"",currentResponse:"",previousContext:void 0,previousQuery:void 0,previousLabel:void 0,isProcessing:!1}),this.on(n(203),((e,t,r)=>{const o=n;this[o(156)][o(178)]=this[o(238)](r)})),this[n(234)](this[n(156)],n(207),((e,t)=>{const r=n,o=this[r(192)]||this[r(194)];this[r(209)](t,o,r(204))})),this[n(234)](this[n(156)],n(206),(()=>{const e=n;this[e(156)][e(230)]=this[e(147)],this[e(209)](this[e(155)],this[e(231)],this[e(159)],this[e(147)])})),this[n(234)](this[n(156)],n(219),(()=>{this[n(219)]()}))}[Q(225)](){this[Q(166)]()}async[Q(148)]({actionId:e,query:t,htmlContent:r,label:n,mainActionLabel:o}){const i=Q;this[i(156)][i(230)]=n,this[i(156)][i(241)]=o,this[i(194)]=r,t&&(this[i(156)][i(224)]?this[i(209)](t,r,e,n):this[i(156)][i(162)](i(183),(()=>{this[i(209)](t,r,e,n)})))}[Q(219)](){const e=Q;this[e(197)]&&(this[e(197)]=!1,this[e(156)][e(181)](),this[e(226)][e(174)]())}[Q(161)](){const e=Q;this[e(194)]="",this[e(192)]="",this[e(228)]="",this[e(231)]="",this[e(155)]="",this[e(147)]="",this[e(159)]=void 0,this[e(156)][e(161)](),this[e(219)]()}async[Q(209)](e,t,r,n){const o=Q;return this[o(197)]=!0,this[o(156)][o(196)](),this[o(231)]=t,this[o(155)]=e,this[o(147)]=n||e,this[o(159)]=r,new Promise((n=>{const i=o;this[i(226)][i(229)]({query:e,context:t,onData:e=>{const t=i;this[t(228)]=e,this[t(192)]=this[t(176)](this[t(228)])},actionId:r})[i(198)]((()=>{const e=i;!this[e(192)]&&this[e(228)]&&(this[e(192)]=this[e(176)](this[e(228)],!0))}))[i(202)]((e=>{const t=i;e instanceof H?this[t(156)][t(149)](e[t(152)]):this[t(156)][t(149)](),n()}))[i(168)]((()=>{this[i(219)](),n()}))}))}[Q(176)](e,t=!1){const r=Q,n=X[r(185)](e);e=n?e[r(150)](n[1][r(227)]):e[r(227)]<100&&!t?"":this[r(184)](e);const o=this[r(213)][r(199)](e,r(208));if(n){const e=Array[r(167)](o[r(165)][r(180)]);e[r(193)]();for(const t of e){if(t[r(223)]==Node[r(175)])break;t[r(236)]()}}const i=this[r(218)][r(189)][r(235)][r(211)](this[r(220)][r(201)](o[r(165)]));return this[r(154)]()||this[r(151)](i),this[r(218)][r(189)][r(171)](this[r(218)][r(189)][r(172)](i))}[Q(151)](e){const t=Q,r=new K.UpcastWriter(this[t(218)][t(216)][t(156)][t(173)]),n=new K.Matcher({name:/^h[1-5]$/}),o=[];let i=!1;for(const r of e)r.is(t(222))&&n[t(191)](r)&&(o[t(214)](r),"h1"==r[t(158)]&&(i=!0));if(i)for(const e of o)r[t(153)]("h"+(parseInt(e[t(158)][1])+1),e)}[Q(154)](){const e=Q,{data:t,editing:r}=this[e(218)],n=t[e(190)][e(211)](e(210)),o=t[e(211)](t[e(172)](n));return!!r[e(156)][e(186)][e(237)](o)[e(212)]("h1")}[Q(238)](e){const t=Q;return this[t(218)][t(216)][t(156)][t(186)][t(160)](this[t(232)],e),this[t(232)][t(146)]}[Q(184)](e){const t=Q,r=e[t(164)]();return r[t(179)](t(157))?r[t(182)](t(170))?r[t(150)](7,r[t(227)]-3):r[t(150)](7):e}}const te=re;function re(e,t){const r=ie();return(re=function(e,t){return r[e-=164]})(e,t)}!function(e){const t=re,r=e();for(;;)try{if(958339===parseInt(t(184))/1+parseInt(t(177))/2*(-parseInt(t(187))/3)+-parseInt(t(183))/4*(-parseInt(t(171))/5)+-parseInt(t(169))/6+parseInt(t(194))/7*(-parseInt(t(170))/8)+parseInt(t(191))/9*(parseInt(t(167))/10)+parseInt(t(186))/11*(parseInt(t(189))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ie);const ne={REPLACE:te(168),INSERT:te(188)};class oe extends o.ToolbarView{constructor(e){const t=te;super(e),this[t(179)](t(166),!1),this[t(179)](t(174),ne[t(201)]),this[t(180)]=this[t(196)]("",t(175)),this[t(180)][t(192)](t(165)).to(this,t(174),(r=>q(e,t(190)+r[t(193)]()+t(202)))),this[t(182)]=this[t(196)](q(e,t(164))),this[t(173)]=this[t(196)](q(e,t(198))),this[t(176)]=this[t(196)](q(e,t(172)));const r=this[t(181)];this[t(199)]({attributes:{class:[t(185),r.if(t(166),t(178),(e=>!e))]}}),this[t(200)][t(195)]([this[t(180)],this[t(182)],this[t(173)],this[t(176)]])}[te(196)](e,t){const r=te,n=new o.ButtonView(this[r(197)]);return n[r(179)]({label:e,class:t||"",isVisible:!0,withText:!0}),n}}function ie(){const e=["toUpperCase","35sQKiXL","addMany","_createButton","locale","Try again","extendTemplate","items","REPLACE","_CONTENT","Insert below","label","isVisible","10PxqgSq","replace","5506380iDqCgY","2093032hFfuBC","74870gxNwnq","Stop","tryAgainButton","mainAction","ck-button-action","stopButton","8bynORx","ck-hidden","set","replaceButton","bindTemplate","insertButton","52gLCmTp","905751aZCuuc","ck-ai-form__toolbar","22154ZCRpAg","686373vHfcHi","insert","8952EwqJiR","AI_","13468689HrkczS","bind"];return(ie=function(){return e})()}const se='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 2.801a.7.7 0 0 0-.7.7v11.5a.8.8 0 0 1-1.6 0v-11.5a2.3 2.3 0 0 1 2.3-2.3h6.5a.8.8 0 0 1 0 1.6H5Zm.7 3.7a2.3 2.3 0 0 1 2.3-2.3h7a2.3 2.3 0 0 1 2.3 2.3v10a2.3 2.3 0 0 1-2.3 2.3H8a2.3 2.3 0 0 1-2.3-2.3v-10Zm2.3-.7a.7.7 0 0 0-.7.7v10a.7.7 0 0 0 .7.7h7a.7.7 0 0 0 .7-.7v-10a.7.7 0 0 0-.7-.7H8Z"/></svg>',ae=ce;function ce(e,t){const r=ue();return(ce=function(e,t){return r[e-=374]})(e,t)}function ue(){const e=["addRange","position","element","ck-reset_all-excluded","getSelection","setStartAfter","isProcessing","ck-ai-form__content-area-wrapper","listenTo","ck-content","ck-ai-form__content-area","scrollTo","setTemplate","48301MamNnA","contentFieldView","focus","removeAllRanges","text/html","ck-ai-form__loader","setContent","set","scrollHeight","loaderView","5354172JgxFgX","change:isProcessing","ck-hidden","text/plain","_copyHTMLToClipboard","appendChild","clipboard","copyButtonView","24TMSZev","change:value","AI is writing...","absolute","render","smooth","<span>[</span>",".ck-ai-form__loader","createElement","ck-ai-form__copy-button","body","setEndBefore","5092968MOigaB","1300yjyUfW","div","152446yDTNbf","write","querySelector","mousedown","isVisible","left","ClipboardItem","ck-ai-form__content-field","349016OGfeOv","createRange","firstElementChild","194785mSQsmX","style","_createLoader","copy","class","-9999px","ck-ai-form__content-area--processing","6906FrKVPQ","ck-ai-form__copy-button-wrapper","remove","Copy","execCommand","appendLoader","9rKKUOU","1630kJcnYR","_createCopyButton","bindTemplate","check","value","locale","<span>]</span>","lastElementChild","bind","icon"," ck-ai-form__copy-button--copied","textContent","wheel","isEnabled","execute","innerHTML"];return(ue=function(){return e})()}!function(e){const t=ce,r=e();for(;;)try{if(779010===-parseInt(t(403))/1+-parseInt(t(400))/2*(parseInt(t(377))/3)+parseInt(t(456))/4+parseInt(t(390))/5*(-parseInt(t(410))/6)+-parseInt(t(392))/7+-parseInt(t(389))/8*(-parseInt(t(416))/9)+parseInt(t(417))/10*(parseInt(t(446))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ue);class le extends o.View{constructor(e,t=""){const r=ce;super(e),this[r(453)]({value:null,isVisible:!1,isProcessing:!1});const n=this[r(419)];this[r(447)]=new de(e,t),this[r(376)]=this[r(418)](),this[r(445)]({tag:r(391),attributes:{class:["ck",r(440),n.if(r(396),r(458),(e=>!e))],tabindex:"-1"},children:[{tag:r(391),attributes:{class:["ck",r(443),n.if(r(439),r(409))]},children:[this[r(447)],{tag:r(391),attributes:{class:["ck",r(411)]},children:[this[r(376)]]}]}]})}[ae(381)](){const e=ae;super[e(381)](),this[e(421)]&&this[e(447)][e(452)](this[e(421)]);let t=!1;this.on(e(378),((r,n,o)=>{const i=e,s=!this[i(447)][i(435)][i(394)](i(384));this[i(447)][i(452)](o),this[i(439)]&&s&&!t&&this[i(435)][i(444)]({top:this[i(435)][i(454)],behavior:i(382)})})),this.on(e(457),((r,n,o)=>{const i=e;t=!1,o?(this[i(421)]=null,this[i(447)][i(415)]()):this[i(421)]||this[i(447)][i(452)]("")})),this[e(441)](this[e(435)],e(429),(()=>{t=!0})),this[e(441)](this[e(435)],e(395),(()=>{t=!0}))}[ae(448)](){const e=ae;this[e(435)][e(448)]()}[ae(418)](){const e=ae,r=this[e(422)],n=new o.ButtonView(this[e(422)]),i=e(386);return n[e(453)]({label:q(r,e(413)),icon:se,class:i,tooltip:!0}),n[e(425)](e(396)).to(this,e(421),(e=>!!e)),n[e(425)](e(430)).to(this,e(439),(e=>!e)),n.on(e(431),(()=>{const r=e;this[r(460)](this[r(447)][r(435)]),n[r(426)]=t.icons[r(420)],n[r(407)]=i+r(427),this[r(448)](),setTimeout((()=>{const e=r;n[e(426)]=se,n[e(407)]=i}),1e3)})),n}[ae(460)](t){const r=ae,{window:n,document:o}=e.global;if(n[r(398)]){const{Blob:e,ClipboardItem:o}=n,i=[new o({"text/html":new e([t[r(432)]],{type:r(450)}),"text/plain":new e([t[r(428)]||""],{type:r(459)})})];navigator[r(375)][r(393)](i)}else{const e=o[r(385)](r(391));e[r(404)][r(434)]=r(380),e[r(404)][r(397)]=r(408),e[r(432)]=r(383)+t[r(432)]+r(423),o[r(387)][r(374)](e);const i=o[r(401)]();i[r(438)](e[r(402)]),i[r(388)](e[r(424)]);const s=n[r(437)]();s[r(449)](),s[r(433)](i),o[r(414)](r(406)),e[r(412)]()}}}class de extends o.View{constructor(e,t=""){const r=ae;super(e),this[r(455)]=this[r(405)](),this[r(445)]({tag:r(391),attributes:{class:["ck",r(442),t,r(436),r(399)]}})}[ae(452)](e){const t=ae;this[t(435)][t(432)]=e}[ae(415)](){const e=ae;this[e(435)][e(374)](this[e(455)][e(435)])}[ae(405)](){const e=ae,t=new o.View,r=this[e(422)],n=new o.SpinnerView;return n[e(396)]=!0,t[e(445)]({tag:e(391),attributes:{class:["ck",e(451)]},children:[n,{text:q(r,e(379))}]}),t[e(381)](),t}}function ge(){const e=["4610PJpZcT","114XTtOQB","232874ANnUaO","155ARjFUS","ck-ai-form__error","content","text","12076fmUrmd","646305knAPJC","962024PXwvWR","setTemplate","12897pnEuqM","set","bindTemplate","56532tsGBwj","div","107023rMdtUy"];return(ge=function(){return e})()}function he(e,t){const r=ge();return(he=function(e,t){return r[e-=159]})(e,t)}!function(e){const t=he,r=e();for(;;)try{if(187928===-parseInt(t(174))/1+parseInt(t(162))/2+-parseInt(t(168))/3+-parseInt(t(167))/4*(-parseInt(t(163))/5)+parseInt(t(161))/6*(-parseInt(t(159))/7)+-parseInt(t(169))/8+parseInt(t(171))/9*(parseInt(t(160))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ge);class fe extends o.View{constructor(e,t=""){const r=he;super(e);const n=new o.IconView,i=this[r(173)];this[r(172)](r(166),t),n[r(165)]='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.9 4.385a1.2 1.2 0 0 0-.44.44h.002l-5.284 9.15a1.2 1.2 0 0 0 1.04 1.8h10.564a1.2 1.2 0 0 0 1.04-1.8l-5.282-9.15a1.2 1.2 0 0 0-1.64-.44Zm.05 8.363a.301.301 0 0 1 .115-.023h.9a.301.301 0 0 1 .3.3v.9a.3.3 0 0 1-.3.3h-.9a.3.3 0 0 1-.3-.3v-.9a.3.3 0 0 1 .185-.277Zm-.185-4.723a.3.3 0 0 1 .3-.3h.9a.3.3 0 0 1 .3.3v3.4a.3.3 0 0 1-.3.3h-.9a.301.301 0 0 1-.3-.3v-3.4Z"/></svg>\n',this[r(170)]({tag:r(175),attributes:{class:["ck",r(164)]},children:[n,{text:i.to(r(166))}]})}}const pe=me;function me(e,t){const r=ke();return(me=function(e,t){return r[e-=338]})(e,t)}function ke(){const e=["style","_createSubmitButton","focusFirst","filteredView","ck-ai-form__toggle-history","set","Submit","fieldWrapperChildren","add","6579568xmBsIc","24006EQUUMF","update","focus","15gFBxDR","rtl","uiLanguageDirection","196nmaUmN","left","73mvATWu","render","24898yLQorX","isEnabled","fire","value","keystrokes","requestAnimationFrame","history","execute","focusLast","_createShowHistoryButton","4688870lVbmet","137925QMKnVU","History","enter","window","isEmpty","resultsView","showHistoryButtonView","locale","children","maxRows","submitButtonView","focusCycler","isVisible","excludeScrollbarsAndBorders","focusableChildren","bind","ck-ai-form__submit","right","minRows","width","384244qLlgpm","1736205ufdDnX","element","fieldView","target","queryView","isOn","submit"];return(ke=function(){return e})()}!function(e){const t=me,r=e();for(;;)try{if(581065===parseInt(t(340))/1*(parseInt(t(342))/2)+parseInt(t(374))/3+parseInt(t(373))/4*(parseInt(t(394))/5)+-parseInt(t(391))/6*(-parseInt(t(338))/7)+-parseInt(t(390))/8+-parseInt(t(353))/9+-parseInt(t(352))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ke);class be extends o.AutocompleteView{constructor(e,t){const r=me;super(e,t),this[r(378)][r(376)][r(371)]=1,this[r(378)][r(376)][r(362)]=3,this[r(363)]=this[r(382)](),this[r(359)]=this[r(351)](),this[r(367)][r(389)](this[r(359)],1),this[r(367)][r(389)](this[r(363)])}[pe(341)](){const e=pe;super[e(341)](),this[e(378)][e(388)][e(389)](this[e(359)]),this[e(361)][e(389)](this[e(363)]),this[e(346)][e(386)](e(355),((t,r)=>{const n=e;t[n(377)]==this[n(378)][n(376)][n(375)]&&(this[n(380)](),r())}))}[pe(382)](){const e=pe,t=new o.ButtonView(this[e(360)]),r=this[e(360)];return t[e(386)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.875 4.419a.75.75 0 0 0-1.5 0v7.25H6.818l2.33-1.955a.75.75 0 0 0-.963-1.15l-3.792 3.182a.75.75 0 0 0-.17.945c.046.11.118.208.21.284l3.788 3.18a.75.75 0 1 0 .965-1.149l-2.19-1.837h7.629c.69 0 1.25-.56 1.25-1.25v-7.5Z"/></svg>',label:q(r,e(387)),isVisible:!0,tooltip:!0,class:e(369)}),t.on(e(349),(()=>{this[e(380)]()})),t[e(368)](e(343)).to(this[e(378)][e(376)],e(357),this,e(343),((e,t)=>!e&&t)),t}[pe(351)](){const r=pe,n=new o.ButtonView(this[r(360)]),i=this[r(358)],s=this[r(360)];n[r(386)]({label:q(s,r(354)),withText:!1,icon:t.icons[r(348)],tooltip:!0,tooltipPosition:"sw",class:r(385)}),n[r(368)](r(379)).to(i,r(365)),n[r(368)](r(343)).to(this,r(343)),n.on(r(349),(()=>{const e=r;i[e(365)]=!i[e(365)],i[e(365)]?this[e(384)][e(393)]():this[e(393)]()}));const a=()=>{const t=r;e.global[t(356)][t(347)]((()=>{const r=t;if((0,e.isVisible)(this[r(375)])){const t=new e.Rect(this[r(378)][r(376)][r(375)]),o=t[r(372)],i=r(395)===s[r(396)]?r(339):r(370);t[r(366)](),n[r(375)][r(381)][i]=o-t[r(372)]+1+"px"}}))};return this[r(378)][r(376)].on(r(392),a),this.on(r(341),a),n}[pe(380)](){const e=pe,t=this[e(378)][e(376)][e(375)][e(345)];this[e(344)](e(380),t)}[pe(393)](e){const t=pe;-1===e?this[t(364)][t(350)]():this[t(364)][t(383)]()}}const ve=we;function ye(){const e=["historyGroupView","fire","252119WkfuzY","38466TlmUbt","1227436BrkTnN","clearHistory","label","99463kczVbO","add","children","_createClearHistoryButton","Prompt history","set","3416368mPCRxf","execute","items","clearHistoryButton","Clear","258VqFcuD","8169705bQGFuQ","locale","filter","58bxYqwI","39260HvRPrV","length","delegate"];return(ye=function(){return e})()}function we(e,t){const r=ye();return(we=function(e,t){return r[e-=127]})(e,t)}!function(e){const t=we,r=e();for(;;)try{if(297724===-parseInt(t(133))/1+-parseInt(t(127))/2*(-parseInt(t(134))/3)+parseInt(t(135))/4+-parseInt(t(128))/5*(-parseInt(t(149))/6)+parseInt(t(138))/7+parseInt(t(144))/8+-parseInt(t(150))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ye);class _e extends o.ListView{constructor(e){const t=we;super(e),this[t(147)]=this[t(141)](),this[t(131)]=new o.ListItemGroupView,this[t(131)][t(140)][t(139)](this[t(147)],1),this[t(131)][t(137)]=q(e,t(142)),this[t(131)][t(146)][t(130)](t(145)).to(this),this[t(146)][t(139)](this[t(131)])}[ve(152)](){const e=ve;let t=0;for(const r of this[e(146)])t+=r[e(146)][e(129)];return{resultsCount:t,totalItemsCount:t}}[ve(141)](){const e=ve,t=this[e(151)],r=new o.ButtonView(this[e(151)]);return r[e(143)]({label:"("+q(t,e(148))+")",withText:!0}),r.on(e(145),(()=>this[e(132)](e(136)))),r}}const Se="object"==typeof global&&global&&global.Object===Object&&global;var xe="object"==typeof self&&self&&self.Object===Object&&self;const Ae=(Se||xe||Function("return this")()).Symbol;const Ee=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o};const Ie=Array.isArray;var Re=Object.prototype,Te=Re.hasOwnProperty,Me=Re.toString,Pe=Ae?Ae.toStringTag:void 0;const Ce=function(e){var t=Te.call(e,Pe),r=e[Pe];try{e[Pe]=void 0;var n=!0}catch(e){}var o=Me.call(e);return n&&(t?e[Pe]=r:delete e[Pe]),o};var Oe=Object.prototype.toString;const Ne=function(e){return Oe.call(e)};var Le=Ae?Ae.toStringTag:void 0;const Ue=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Le&&Le in Object(e)?Ce(e):Ne(e)};const $e=function(e){return null!=e&&"object"==typeof e};const Be=function(e){return"symbol"==typeof e||$e(e)&&"[object Symbol]"==Ue(e)};var Fe=Ae?Ae.prototype:void 0,De=Fe?Fe.toString:void 0;const je=function e(t){if("string"==typeof t)return t;if(Ie(t))return Ee(t,e)+"";if(Be(t))return De?De.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};const He=function(e){return null==e?"":je(e)};const qe=function(e){return function(t){return null==e?void 0:e[t]}};const Ve=qe({"&":"&","<":"<",">":">",""":'"',"'":"'"});var ze=/&(?:amp|lt|gt|quot|#39);/g,We=RegExp(ze.source);const Ge=function(e){return(e=He(e))&&We.test(e)?e.replace(ze,Ve):e};function Ze(e,t){const r=Ke();return(Ze=function(e,t){return r[e-=243]})(e,t)}function Ke(){const e=["2386624uILOMm","prompt","fire","6pTzAvT","children","125853sSrpZT","3055544fuLPWU","1214973nbQNmj","add","set","locale","10777872xXnlvC","execute","1888685WVZBZB","2903094oPtMUA"];return(Ke=function(){return e})()}!function(e){const t=Ze,r=e();for(;;)try{if(722447===-parseInt(t(252))/1+parseInt(t(245))/2+parseInt(t(244))/3+parseInt(t(251))/4+parseInt(t(243))/5*(parseInt(t(248))/6)+-parseInt(t(250))/7+-parseInt(t(256))/8)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ke);class Qe extends o.ListItemView{constructor(e){const t=Ze;super();const r=new o.ButtonLabelWithHighlightView,n=new o.ButtonView(this[t(255)],r);this[t(249)][t(253)](n),n[t(254)]({label:e[t(246)],withText:!0}),n.on(t(257),(()=>{const r=t;this[r(247)](r(257),{value:Ge(e[r(246)])})}))}}const Je=Xe;function Ye(){const e=["parse","189075TQNGbn","7745360yTIgmm","5iQhrIk","toLowerCase","_loadFromSessionStorage","2704tAXlyF","length","trim","341370euQyyw","_saveToSessionStorage","190032bwzdtD","CKEditor/AIFormView/PromptHistory","last","360384YnSZdE","add","setItem","prompt","7721howVHt","10vdSfwB","630153hFhYXh","remove","stringify","getItem","addMany","map"];return(Ye=function(){return e})()}function Xe(e,t){const r=Ye();return(Xe=function(e,t){return r[e-=143]})(e,t)}!function(e){const t=Xe,r=e();for(;;)try{if(213157===parseInt(t(161))/1+parseInt(t(166))/2*(parseInt(t(148))/3)+-parseInt(t(158))/4+-parseInt(t(150))/5*(-parseInt(t(156))/6)+-parseInt(t(165))/7*(-parseInt(t(153))/8)+-parseInt(t(167))/9+-parseInt(t(149))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ye);const et=Je(159);class tt extends e.Collection{constructor(){const e=Je;super(),this[e(152)](),this.on(e(162),((t,r)=>{const n=e,o=rt(r[n(164)]);for(const e of this)if(e!=r&&rt(e[n(164)])===o){this[n(168)](e);break}this[n(154)]>20&&this[n(168)](this[n(160)]),this[n(157)]()})),this.on(e(168),(()=>{this[e(157)]()}))}[Je(152)](){const e=Je,t=sessionStorage[e(144)](et)||"[]";this[e(145)](JSON[e(147)](t))}[Je(157)](){const e=Je;sessionStorage[e(163)](et,JSON[e(143)](this[e(146)]((e=>e))))}}function rt(e){const t=Je;return e[t(151)]()[t(155)]()}const nt=qe({"&":"&","<":"<",">":">",'"':""","'":"'"});var ot=/[&<>"']/g,it=RegExp(ot.source);const st=function(e){return(e=He(e))&&it.test(e)?e.replace(ot,nt):e},at=ut;function ct(){const e=["promptView","isProcessing","500012tNhWZu","isEnabled","AI_ERROR_FAILED","focusLast","startProcessing","170252jrpOjr","isVisible","focusCycler","render","shift + tab","ck-ai-form","add","mainAction","fieldView","focus","errorView","search","insertContentBelow","focusTracker","delegate","contentArea","chain","value","Ask AI to edit or generate","isError","historyGroupView","reset","submitPrompt","2288wUqwSQ","_promptHistory","insertButton","bindTo","1125gQNUDW","REPLACE","_createPromptView","Empty history","clear","finishProcessing","high","replaceButton","stopProcessing","ck-hidden","Ask AI and your prompts will be listed here for you to use later.","tryAgainButton","14568OzFPfL","_createToolbar","bind","replaceContent","label","items","fire","Ask AI to improve generated text","clearHistory","_createHistoryView","handleError","550416wawCFO","stopButton","_focusables","keystrokes","setTemplate","14wMSmsf","focusFirst","locale","queryView","div","88DHSlZt","tab","text","submit","copyButtonView","toolbar","405240wyrFwV","listenTo","570icFExH","trim","execute","element","set","6081kImlNN","prompt","ck-ai-form-content","tryAgainEvent","bindTemplate","createCollection"];return(ct=function(){return e})()}function ut(e,t){const r=ct();return(ut=function(e,t){return r[e-=278]})(e,t)}!function(e){const t=ut,r=e();for(;;)try{if(172217===-parseInt(t(279))/1+parseInt(t(360))/2+-parseInt(t(352))/3*(parseInt(t(339))/4)+parseInt(t(345))/5+parseInt(t(329))/6*(-parseInt(t(334))/7)+-parseInt(t(318))/8*(-parseInt(t(306))/9)+-parseInt(t(347))/10*(-parseInt(t(302))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ct);class lt extends o.View{constructor(t,r,n=""){const i=ut;super(t),this[i(351)](i(361),!0),this[i(351)](i(359),!1),this[i(351)](i(353),""),this[i(351)](i(296),""),this[i(351)](i(298),!1),this[i(351)](i(286),ne[i(307)]),this[i(303)]=new tt,this[i(289)]=new fe(t),this[i(294)]=new le(t,n),this[i(294)][i(320)](i(359)).to(this),this[i(294)][i(320)](i(296)).to(this),this[i(344)]=this[i(319)](),this[i(344)][i(320)](i(286)).to(this),this[i(358)]=this[i(308)](),this[i(292)]=new e.FocusTracker,this[i(332)]=new e.KeystrokeHandler,this[i(331)]=this[i(357)]([this[i(294)],this[i(294)][i(343)],this[i(344)],this[i(358)]]),this[i(281)]=new o.FocusCycler({focusables:this[i(331)],focusTracker:this[i(292)],keystrokeHandler:this[i(332)],actions:{focusPrevious:i(283),focusNext:i(340)}}),this[i(281)][i(295)](this[i(358)][i(281)]),this[i(358)][i(337)][i(287)][i(320)](i(296)).to(this,i(353));const s=this[i(356)];this[i(333)]({tag:i(338),attributes:{class:["ck",i(284),r],tabindex:"-1"},children:[{tag:i(338),attributes:{class:["ck",i(354)]},children:[{tag:i(338),attributes:{class:[s.if(i(298),i(315),(e=>!e))]},children:[this[i(289)]]},this[i(294)],this[i(344)],this[i(358)]]}]})}[at(282)](){const e=at;super[e(282)](),this[e(292)][e(285)](this[e(294)][e(350)]),this[e(292)][e(285)](this[e(294)][e(343)][e(350)]),this[e(292)][e(285)](this[e(344)][e(350)]),this[e(292)][e(285)](this[e(358)][e(350)]),this[e(332)][e(346)](this[e(350)])}[at(288)](e=1){const t=at;-1===e?this[t(281)][t(363)]():this[t(281)][t(335)]()}[at(300)](){const e=at;this[e(353)]="",this[e(296)]="",this[e(298)]=!1,this[e(358)][e(300)](),this[e(294)][e(280)]=!1,this[e(344)][e(280)]=!1}[at(308)](){const e=at,t=this[e(336)],r=new be(t,{queryView:{label:q(t,e(297)),creator:o.createLabeledTextarea,showIcon:!1,showResetButton:!1},infoView:{text:{noSearchableItems:{primary:q(t,e(309)),secondary:q(t,e(316))}}},filteredView:this[e(327)](),queryMinChars:1/0,resetOnBlur:!1});return r[e(320)](e(361)).to(this,e(361),this,e(359),((e,t)=>e&&!t)),this[e(346)](r,e(342),((t,r)=>{const n=e;this[n(353)]=r;const o=st(r);this[n(324)](n(301),o),r[n(348)]()&&this[n(303)][n(285)]({prompt:o},0)}),{priority:e(312)}),r}[at(327)](){const e=at,t=new _e(this[e(336)]);return t[e(299)][e(323)][e(305)](this[e(303)]).as(Qe),t.on(e(326),(()=>{const t=e;this[t(303)][t(310)](),this[t(358)][t(290)](""),this[t(358)][t(288)]()})),t}[at(319)](){const e=at,t=new oe(this[e(336)]);return t[e(313)][e(320)](e(361)).to(this,e(361),this,e(359),this,e(296),((e,t,r)=>e&&!t&&!!r)),t[e(313)][e(293)](e(349)).to(this,e(321)),t[e(304)][e(320)](e(361)).to(this,e(361),this,e(359),this,e(296),((e,t,r)=>e&&!t&&!!r)),t[e(304)][e(293)](e(349)).to(this,e(291)),t[e(317)][e(320)](e(361)).to(this,e(361),this,e(359),((e,t)=>e&&!t)),t[e(317)][e(293)](e(349)).to(this,e(355)),t[e(330)][e(320)](e(361)).to(this,e(359)),t[e(330)][e(293)](e(349)).to(this,e(314)),t}[at(278)](){const e=at;this[e(296)]="",this[e(298)]=!1,this[e(359)]=!0,this[e(294)][e(280)]=!0,this[e(344)][e(280)]=!0,this[e(294)][e(288)]()}[at(311)](){const e=at,t=this[e(336)];this[e(359)]=!1,this[e(353)]="",this[e(358)][e(300)](),this[e(296)]&&(this[e(358)][e(337)][e(322)]=q(t,e(325)))}[at(328)](e){const t=at,r=this[t(336)];this[t(311)](),this[t(298)]=!0,this[t(289)][t(341)]=e||q(r,t(362)),this[t(296)]||(this[t(294)][t(280)]=!1)}}function dt(){const e=["1220952WyQzQO","filter","49385vhVyGs","18347qVEURo","children","2688viJEId","change:enabledCommandsIds","set","enabledCommandsIds","items","isEnabled","46sQzZGS","commandDefinition","get","31116zkPScd","listbox","1666336GxUXiT","381282BwfVXc","45jzATNa","15413180qhMfiT","12111xUTxIQ","20zKqBjK","includes","role"];return(dt=function(){return e})()}const gt=ht;function ht(e,t){const r=dt();return(ht=function(e,t){return r[e-=315]})(e,t)}!function(e){const t=ht,r=e();for(;;)try{if(783390===-parseInt(t(338))/1*(-parseInt(t(323))/2)+-parseInt(t(329))/3+parseInt(t(336))/4*(parseInt(t(333))/5)+-parseInt(t(317))/6*(parseInt(t(315))/7)+parseInt(t(328))/8*(parseInt(t(330))/9)+parseInt(t(331))/10+-parseInt(t(332))/11*(parseInt(t(326))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(dt);class ft extends o.ListView{constructor(e){const t=ht;super(e),this[t(335)]=t(327),this[t(319)](t(320),[]),this.on(t(318),(()=>{const e=t;for(const t of this[e(321)])if(t instanceof o.ListItemGroupView)for(const r of t[e(321)])if(r instanceof Tt){const t=r[e(316)][e(325)](0);this[e(320)][e(334)](r[e(324)].id)?t[e(322)]=!0:t[e(322)]=!1}}))}[gt(337)](e){const t=gt;return(0,o.filterGroupAndItemNames)(e,this[t(321)])}}const pt='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.346 9.422a.151.151 0 0 1 .284 0l.548 1.484a.152.152 0 0 0 .09.089l1.483.549a.151.151 0 0 1 0 .284l-1.483.548a.151.151 0 0 0-.09.09l-.548 1.483a.152.152 0 0 1-.142.1.151.151 0 0 1-.142-.1l-.549-1.483a.15.15 0 0 0-.09-.09l-1.483-.548a.15.15 0 0 1 0-.284l1.484-.549a.152.152 0 0 0 .089-.09l.549-1.483Z"/><path d="M16.306 1.742a.151.151 0 0 1 .284 0l.549 1.483a.15.15 0 0 0 .089.09l1.483.548a.151.151 0 0 1 .072.229.151.151 0 0 1-.072.055l-1.483.549a.15.15 0 0 0-.09.09l-.548 1.482a.151.151 0 0 1-.284 0l-.549-1.483a.15.15 0 0 0-.09-.09l-1.483-.548a.151.151 0 0 1 0-.284l1.484-.549a.152.152 0 0 0 .09-.089l.548-1.483Z"/><path d="M7.665 1.742a.151.151 0 0 1 .284 0l.549 1.483a.151.151 0 0 0 .09.09l1.482.548a.151.151 0 0 1 .072.229.151.151 0 0 1-.072.055l-1.483.549a.151.151 0 0 0-.09.09L7.95 6.267a.151.151 0 0 1-.284 0l-.549-1.483a.151.151 0 0 0-.089-.09l-1.483-.548a.151.151 0 0 1 0-.284l1.483-.549a.151.151 0 0 0 .09-.089l.548-1.483-.001.001Z"/><path d="M14.72 7.946a.848.848 0 0 0 .25-.591.824.824 0 0 0-.241-.588l-1.943-1.938a.812.812 0 0 0-.588-.241.838.838 0 0 0-.591.25l-1.545 1.539 3.115 3.115 1.542-1.546h.001Z"/><path clip-rule="evenodd" d="M1.19 15.636a.96.96 0 0 1 .281-.679l7.835-7.834 3.121 3.12-7.834 7.835a.959.959 0 0 1-1.358 0l-1.764-1.764a.96.96 0 0 1-.28-.678Zm9.22-5.391-1.121-1.12-6.479 6.478 1.121 1.121 6.479-6.479Z"/></svg>';var mt=r(379),kt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(mt.A,kt);mt.A.locals;var bt=r(181),vt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(bt.A,vt);bt.A.locals;var yt=r(676),wt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(yt.A,wt);yt.A.locals;var _t=r(331);const St=xt;function xt(e,t){const r=At();return(xt=function(e,t){return r[e-=457]})(e,t)}function At(){const e=["isNaN","locale","updatePosition","_dialog","set","_uiCssClasses","from","showUI","EDITOR_TOP_SIDE","queryView","text","showAIAssistant","AI Commands","update","contentArea","commandDefinition","205JYHCUu","robotPencil","</p>","menuitemcheckbox","No commands available","order","tableOfContents","isFlat","then","replaceContent","commands","wasMoved","buttonView","ariaLiveAnnouncer","requires","change","push","init","82ifLbyg","schema","insertContentBelow","announce","getRanges","<p>","map","change:isProcessing","trim","AI Assistant","rawHtml","ai.useTheme"," ck-ai-assistant-ui_theme","text/html","show","polite","editor","execute","menuBar:aiAssistant","promptView","copy","children","length","ck-ai-assistant-button ","fieldView","_createAIAssistantUIButton","showFakeVisualSelection","focus","panelView","AIAssistantUI","523197FgDOPs","requiresContent","bind","sort","change:isError","label","context","AI is writing","isEnabled","_forceMarkersCopy","Generated content: %0","forbiddenHandler","fromCharCode","hideFakeVisualSelection","addMany","replace","ck-ai-assistant-ui","27JrMzST","getData","reset","aiAssistant","splice","errorView","resultsCount","items","media","document","add","model","get","getEarlierVisibleRevision","REPLACE","pluginName","selection","_formView","command:","currentContext","10866xnwLLL","afterInit","getSelectedBlocks","ai-commands-config-order-collision","%0 commands found","ai.aiAssistant.disabledElements","define","3969544NpjRAF","editing","option","delegate","search","change:isOpen","_aiAssistantController","componentFactory","hide","config","comment","_aiAdapter","enabledCommandsIds","plugins","aiCommands","prompt","INSERT","setSelection","textAdapter","1187018ByiLIz","listenTo","DataTransfer","ai.aiAssistant.contentAreaCssClass","11705730aVnbnS","view","_initAriaAiStatusChangeAnnouncements","getRevision","80934dVZLCp","menuBar:aiCommands","change:value","isOn","ck-ai-commands-search","156424sREuDK","ck-ai-commands-dropdown ","custom","_initView","insertContent","Search AI command","Error during AI content generation: %0","updateView","No commands found","join","getSelectedElement","isCollapsed","getLimitElement","ai.aiAssistant.commands","fire","query","hideUI"];return(At=function(){return e})()}!function(e){const t=xt,r=e();for(;;)try{if(448422===-parseInt(t(523))/1*(-parseInt(t(590))/2)+-parseInt(t(570))/3*(-parseInt(t(472))/4)+-parseInt(t(505))/5*(-parseInt(t(467))/6)+-parseInt(t(459))/7+parseInt(t(597))/8+-parseInt(t(553))/9+-parseInt(t(463))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(At);const Et=globalThis[St(461)];class It extends t.Plugin{static get[St(585)](){return St(552)}static get[St(519)](){return[_t.ClipboardMarkersUtils,$,j,o.Dialog]}constructor(e){const t=St;super(e),this[t(494)]="",e[t(606)][t(596)](t(595),[t(578),t(533),t(511)]),e[t(606)][t(596)](t(462),""),e[t(606)][t(596)](t(534),!0),this[t(494)]=t(569)+(e[t(606)][t(582)](t(534))?t(535):"")}[St(522)](){const t=St,{editor:r}=this;this[t(608)]=r[t(610)][t(582)](j),this[t(492)]=r[t(610)][t(582)](o.Dialog),this[t(587)]=null,r[t(515)][t(580)](t(500),new G(r,r[t(606)][t(582)](t(485))));const n=r[t(515)][t(582)](t(500)),i=r[t(610)][t(582)]($),s=(o,s,a,c)=>{const u=t,l=r[u(581)][u(579)][u(586)];if(c&&l[u(483)]){const t=(0,e.first)(l[u(592)]())||r[u(581)][u(524)][u(484)](l);r[u(581)][u(520)]((e=>{e[u(457)](t,"in")}))}i[u(549)](),n[u(540)](o,s,u(588)+a)};r.ui[t(604)][t(580)](t(611),(e=>{const n=t,a=(0,o.createDropdown)(e),c=Rt(r,s),u=new o.SearchTextView(e,{filteredView:c,queryView:{label:q(e,n(477))},class:n(471),infoView:{text:{notFound:{primary:q(e,n(480))},noSearchableItems:{primary:q(e,n(509))}}}});return u.on(n(601),((e,t)=>{const o=n;t[o(487)]&&t[o(487)][o(545)]&&r.ui[o(518)][o(526)](q(r[o(490)],o(594),t[o(576)]))})),a[n(493)]({class:n(473)+this[n(494)]}),a[n(555)](n(561)).to(c,n(609),(e=>e[n(545)]>0)),a[n(551)][n(544)][n(580)](u),a[n(517)][n(493)]({label:q(e,n(501)),icon:pt,tooltip:!0}),a.on(n(602),((e,t,r)=>{const o=n;r?(u[o(572)](),i[o(549)](!0)):i[o(566)](!0)})),a})),r.ui[t(604)][t(580)](t(468),(e=>{const n=t,i=new o.MenuBarMenuView(e),a=Rt(r,s);i[n(517)][n(493)]({label:q(e,n(501)),icon:pt}),i[n(555)](n(561)).to(a,n(609),(e=>e[n(545)]>0));const c=new o.MenuBarMenuListView(e);return Pt(r,r[n(606)][n(582)](n(485)))[n(529)]((({groupId:t,groupLabel:a,commands:u})=>{const l=n,d=new o.MenuBarMenuListItemView(e,i),g=new o.MenuBarMenuView(e),h=new o.MenuBarMenuListView(e),f=Pt(r,u)[l(529)]((t=>{const r=l,n=new o.MenuBarMenuListItemView(e,g),i=new o.MenuBarMenuListItemButtonView(e);return i[r(493)]({label:t[r(558)]}),i[r(600)](r(540)).to(g),i.on(r(540),(()=>{const e=r;s(t[e(612)],t[e(558)],t.id,void 0===t[e(554)]||t[e(554)])})),n[r(544)][r(580)](i),n}));g[l(517)][l(493)]({label:a||t}),g[l(600)](l(540)).to(i),h[l(577)][l(567)](f),g[l(551)][l(544)][l(580)](h),d[l(544)][l(580)](g),c[l(577)][l(580)](d)})),i[n(551)][n(544)][n(580)](c),i})),r.ui[t(604)][t(580)](t(573),(()=>{const e=t,r=this[e(548)](o.ButtonView);return r[e(493)]({tooltip:!0,class:e(546)+this[e(494)]}),r})),r.ui[t(604)][t(580)](t(541),(()=>{const e=t,r=this[e(548)](o.MenuBarMenuListItemButtonView);return r[e(493)]({role:e(508)}),r}))}[St(591)](){!function(e){function r(e){const t=xt;return e[t(529)]((e=>String[t(565)](e)))[t(481)]("")}(e=>{const n=xt;function o(e){return r([112,108,117,103,105,110,78,97,109,101])in e}const i=[1,85,78,115,198,255,50,112,83,87,161],s=[127,34,6,211,167,86,146,199,132,160,18];function a(e){return function(e,t){const n=function(e){const t=atob(e),[n,o]=t[r([115,112,108,105,116])](r([45]));try{if(atob(o))return atob(n)}catch(e){}return t}(e),o=Array[r([102,114,111,109])](function(e){const t=new Uint8Array(e[r([108,101,110,103,116,104])]);for(let n=0;n<e[r([108,101,110,103,116,104])];n++)t[n]=e[r([99,104,97,114,67,111,100,101,65,116])](n);return t}(n)),i=o[r([112,111,112])](),s=o[r([112,111,112])]();return function(e){let t="";for(const n of e)t+=String[r([102,114,111,109,67,104,97,114,67,111,100,101])](n);return t}(function(e,t,n){const o={};o[r([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},o[r([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],o[r([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],o[r([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],o[r([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],o[r([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],o[r([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],o[r([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],o[r([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],o[r([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],o[r([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const i=new Uint8Array(16);for(let e=15;e>=0;--e)i[e]=n%256,n=parseInt(n/256);let s=null,a=16;const c=new Uint8Array(t),u=[],l=[];!function(){const e=o[r([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][c[r([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)u[r([112,117,115,104])]([0,0,0,0]),l[r([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),n=c[r([108,101,110,103,116,104])]/4,i=d(c);let s;for(let t=0;t<n;t++)s=t>>2,u[s][t%4]=i[t],l[e-s][t%4]=i[t];let a,g=0,h=n;for(;h<t;){a=i[n-1],i[0]^=o[r([83])][a>>16&255]<<24^o[r([83])][a>>8&255]<<16^o[r([83])][255&a]<<8^o[r([83])][a>>24&255]^o[r([114,99,111,110])][g]<<24,g+=1;for(let e=1;e<n/2;e++)i[e]^=i[e-1];a=i[n/2-1],i[n/2]^=o[r([83])][255&a]^o[r([83])][a>>8&255]<<8^o[r([83])][a>>16&255]<<16^o[r([83])][a>>24&255]<<24;for(let e=n/2+1;e<n;e++)i[e]^=i[e-1];let s,c,d=0;for(;d<n&&h<t;)s=h>>2,c=h%4,u[s][c]=i[d],l[e-s][c]=i[d++],h++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)a=l[t][e],l[t][e]=o[r([85,49])][a>>24&255]^o[r([85,50])][a>>16&255]^o[r([85,51])][a>>8&255]^o[r([85,52])][255&a]}();for(let t=0;t<e[r([108,101,110,103,116,104])];t++)16===a&&(s=h(i),a=0,g(i)),e[t]^=s[a++];return e;function d(e){const t=[];for(let n=0;n<e[r([108,101,110,103,116,104])];n+=4)t[r([112,117,115,104])](e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]);return t}function g(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function h(e){const t=u[r([108,101,110,103,116,104])]-1,n=[0,0,0,0];let i=d(e);for(let e=0;e<4;e++)i[e]^=u[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)n[t]=o[r([84,49])][i[t]>>24&255]^o[r([84,50])][i[(t+1)%4]>>16&255]^o[r([84,51])][i[(t+2)%4]>>8&255]^o[r([84,52])][255&i[(t+3)%4]]^u[e][t];i=n[r([115,108,105,99,101])]()}const s=new Uint8Array(16);let a;for(let e=0;e<4;e++)a=u[t][e],s[4*e]=255&(o[r([83])][i[e]>>24&255]^a>>24),s[4*e+1]=255&(o[r([83])][i[(e+1)%4]>>16&255]^a>>16),s[4*e+2]=255&(o[r([83])][i[(e+2)%4]>>8&255]^a>>8),s[4*e+3]=255&(o[r([83])][255&i[(e+3)%4]]^a);return s}}(o,t,s+256*i))}(e,new Uint8Array([...i,29,221,175,90,231,133,239,240,75,180,...s]))}const c=function(){const e=[{[r([105,100])]:1,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([67,111,109,109,101,110,116,115]),[r([112,108,117,103,105,110,78,97,109,101])]:r([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([108,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([99,104,101,99,107,65,108,115,111])]:[{[r([105,100])]:2,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([84,114,97,99,107,32,67,104,97,110,103,101,115]),[r([112,108,117,103,105,110,78,97,109,101])]:r([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([108,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[r([111,112,116,105,111,110,115])]:{[r([97,105,119,115,103,105,99])]:!0,[r([97,105,116,99,100,103,105,108])]:!0,[r([97,105,114,118,105,105,108])]:!0}}],[r([111,112,116,105,111,110,115])]:{[r([97,105,119,115,103,105,99])]:!0,[r([97,105,116,99,100,103,105,108])]:!0,[r([97,105,114,118,105,105,108])]:!0}},{[r([105,100])]:3,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([80,97,103,105,110,97,116,105,111,110]),[r([112,108,117,103,105,110,78,97,109,101])]:r([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101])},{[r([105,100])]:4,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[r([112,108,117,103,105,110,78,97,109,101])]:r([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([108,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[r([111,112,116,105,111,110,115])]:{[r([97,105,119,115,103,105,99])]:!0,[r([97,105,116,99,100,103,105,108])]:!0,[r([97,105,114,118,105,105,108])]:!0}},{[r([105,100])]:5,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[r([112,108,117,103,105,110,78,97,109,101])]:r([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:6,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[r([112,108,117,103,105,110,78,97,109,101])]:r([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:7,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([83,108,97,115,104,32,67,111,109,109,97,110,100]),[r([112,108,117,103,105,110,78,97,109,101])]:r([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:8,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[r([112,108,117,103,105,110,78,97,109,101])]:r([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:9,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([84,101,109,112,108,97,116,101]),[r([112,108,117,103,105,110,78,97,109,101])]:r([84,101,109,112,108,97,116,101,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12,14]}},{[r([105,100])]:10,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([80,97,115,116,101,32,102,114,111,109,32,79,102,102,105,99,101,32,69,110,104,97,110,99,101,100]),[r([112,108,117,103,105,110,78,97,109,101])]:r([80,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,73,110,108,105,110,101,114]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([112,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:11,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([65,73,32,65,115,115,105,115,116,97,110,116]),[r([112,108,117,103,105,110,78,97,109,101])]:r([65,73,65,115,115,105,115,116,97,110,116,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([97,105,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101])},{[r([105,100])]:12,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([80,114,111,100,117,99,116,105,118,105,116,121,32,112,97,99,107])},{[r([105,100])]:13,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([67,97,115,101,32,67,104,97,110,103,101]),[r([112,108,117,103,105,110,78,97,109,101])]:r([67,97,115,101,67,104,97,110,103,101,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:14,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([68,114,117,112,97,108,32,112,97,99,107]),[r([102,111,114,98,105,100,100,101,110,72,97,110,100,108,101,114])]:r([102,111,114,98,105,100,100,101,110,72,97,110,100,108,101,114,70,111,114,68,114,117,112,97,108])},{[r([105,100])]:15,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([77,117,108,116,105,32,76,101,118,101,108,32,76,105,115,116]),[r([112,108,117,103,105,110,78,97,109,101])]:r([77,117,108,116,105,76,101,118,101,108,76,105,115,116,69,100,105,116,105,110,103]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([109,117,108,116,105,76,101,118,101,108,76,105,115,116,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101])},{[r([105,100])]:16,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([77,101,114,103,101,32,70,105,101,108,100,115]),[r([112,108,117,103,105,110,78,97,109,101])]:r([77,101,114,103,101,70,105,101,108,100,115,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([109,101,114,103,101,70,105,101,108,100,115,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}}];return function e(t){t[r([102,111,114,69,97,99,104])]((t=>{t[r([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[r([105,100])]-1,o(t)&&t[r([99,104,101,99,107,65,108,115,111])]&&e(t[r([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),u={[r([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){k(m(e,t),t)},[r([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){k(function(e,t){try{if(x(d,r([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const n=A(d,r([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[r([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(n)/2>e[r([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}return m(e,t)}catch(e){return b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}}(e,t),t)},[r([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const n=s[0]*i[1],o=s[0]*i[2],a=s[2]*i[2];function c(e,t){u(),b(t+r([84,114,105,97,108,76,105,109,105,116,58])+e),window[v()]=e===r([116,105,109,101])?n:o}function u(){const e=d;function t(){x(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(A(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[r([117,110,98,105,110,100])](r([105,115,69,110,97,98,108,101,100])),A(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[r([105,115,69,110,97,98,108,101,100])]=!1,A(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[r([117,112,100,97,116,101])]=_,A(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[r([115,97,118,101,82,101,118,105,115,105,111,110])]=_,e[r([109,111,100,101,108])][r([99,104,97,110,103,101])]=_,e[r([109,111,100,101,108])][r([101,110,113,117,101,117,101,67,104,97,110,103,101])]=_,e[r([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](r([109,111,100,101,108]))),x(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(A(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([117,110,98,105,110,100])](r([105,115,69,110,97,98,108,101,100])),A(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([105,115,69,110,97,98,108,101,100])]=!1,A(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([99,111,109,112,97,114,101])]=_,A(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([95,103,101,116,68,105,102,102])]=_)}e[r([115,116,97,116,101])]==r([114,101,97,100,121])?t():e[r([111,110,99,101])](r([114,101,97,100,121]),(()=>{const n=xt;if(x(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),x(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const o=A(e,r([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),i=o[n(466)](0),s=o[n(583)](i[r([105,100])]);A(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([99,111,109,112,97,114,101])](i[r([105,100])],s?s[r([105,100])]:null,1)[n(513)]((()=>t()))}}))}x(d,r([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&A(d,r([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[r([115,116,97,116,101])]==r([99,111,110,110,101,99,116,101,100])&&(window[v()]=a),function(e,t){if(e==t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))u();else if(e==t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108])){const e=function(){const e=xt;if(!x(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number[e(489)](Number(t))){if(window[t]===n)return r([116,105,109,101]);if(window[t]===o)return r([114,101,118,105,115,105,111,110,115])}return!1}();e&&c(e,t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const a=function(){let e=s[6]*i[8]*i[6];return x(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[r([115,101,116,84,105,109,101,111,117,116])]((()=>{c(r([116,105,109,101]),t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),a);const u=A(d,r([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[r([95,114,101,118,105,115,105,111,110,115])];u[r([108,101,110,103,116,104])]>=7?c(r([114,101,118,105,115,105,111,110,115]),t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):u.on(r([97,100,100]),(()=>{u[r([108,101,110,103,116,104])]>=7&&c(r([114,101,118,105,115,105,111,110,115]),t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){const e=xt;if(!x(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number[e(489)](Number(t))&&window[t]===a)return!0;return!1}()?b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([86,97,108,105,100])):m(e,t)}catch(e){return b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}}(e,t),t)}},l=e[r([99,111,110,115,116,114,117,99,116,111,114])][r([112,108,117,103,105,110,78,97,109,101])],d=r([99,111,110,116,101,120,116])in e?e[n(559)]:e[n(539)],g=r([52,48,52,56,49,54,49,52]),h=r([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),f=d[n(606)][n(582)](r([108,105,99,101,110,115,101,75,101,121])),p=c[r([102,105,108,116,101,114])](o)[r([102,105,110,100])]((e=>e[r([112,108,117,103,105,110,78,97,109,101])]===l));function m(e,t){try{return function(e){if(!x(d,e[r([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[r([111,112,116,105,111,110,115])]||{},n=t[r([97,105,119,115,103,105,99])]||!1,o=t[r([97,105,116,99,100,103,105,108])]||!1,i=t[r([97,105,114,118,105,105,108])]||!1;return!(!x(d,r([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||A(d,r([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[r([115,116,97,116,101])]!=r([99,111,110,110,101,99,116,101,100])||!n)||(!(!x(d,r([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||A(d,r([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[r([114,101,115,117,108,116])]!=r([101,110,100])||!o)||!(!x(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||A(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))[r([114,101,115,117,108,116])]!=r([101,110,100])||!i))}(t)?b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([86,97,108,105,100])):e&&function(e,t){const o=!!(e&t[r([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]),i=function(e,t){const o=(t[r([111,112,116,105,111,110,115])]||{})[r([102,103,105])]||null;return!!o&&c[r([102,105,108,116,101,114])]((e=>o[r([105,110,99,108,117,100,101,115])](e[r([105,100])])))[r([102,105,108,116,101,114])]((e=>!function(e){const t=n,o={[r([102,111,114,98,105,100,100,101,110,72,97,110,100,108,101,114,70,111,114,68,114,117,112,97,108])]:S};return!!e[t(564)]&&o[e[t(564)]]()}(e)))[r([115,111,109,101])]((t=>!!(e&t[r([112,101,114,109,105,115,115,105,111,110,77,97,115,107])])))}(e,t);return o||i}(e[r([97,108,108,111,119,101,100,80,108,117,103,105,110,115])],t)?e[r([105,115,73,110,116,101,114,110,97,108])]&&!window[r([111,112,101,110])][r([99,108,111,115,101,100])]||parseInt(g)/2>e[r([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100])):e[r([105,115,84,114,105,97,108])]?b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108])):b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([86,97,108,105,100])):b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}catch(e){return b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}}function k(e,n){if(d instanceof t.Context){const t=d;e==n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100])?y(t):e==n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108])&&window[r([115,101,116,84,105,109,101,111,117,116])]((()=>{y(t),b(n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),s[6]*i[8]*i[6]),t[r([101,100,105,116,111,114,115])][r([111,110])](r([97,100,100]),((t,o)=>{e!=n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100])&&e!=n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&e!=n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||w(o)}))}else{const t=d;e==n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100])?w(t):e==n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108])&&t[r([111,110])](r([114,101,97,100,121]),(()=>{let e=0;t[r([109,111,100,101,108])][r([111,110])](r([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((o,i)=>{i[0][r([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504===e&&(w(t),b(n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),o[r([111,102,102])]())}),{priority:r([104,105,103,104,101,115,116])})}))}}function b(e){const t=v();return d[t]=e,e}function v(){const e=String(window[r([112,101,114,102,111,114,109,97,110,99,101])][r([110,111,119])]())[r([114,101,112,108,97,99,101])](r([46]),"");let t="";for(let n=0;n<e[r([108,101,110,103,116,104])];n+=2){let o=parseInt(e[r([115,117,98,115,116,114,105,110,103])](n,n+2));o>=h[r([108,101,110,103,116,104])]&&(o-=h[r([108,101,110,103,116,104])]),t+=h[o]}return t}function y(e){for(const t of e[r([101,100,105,116,111,114,115])])w(t);A(e,r([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[r([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),A(e,r([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[r([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=_}function w(e){function t(){e[r([109,111,100,101,108])][r([99,104,97,110,103,101])]=_,e[r([109,111,100,101,108])][r([101,110,113,117,101,117,101,67,104,97,110,103,101])]=_,e[r([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](r([109,111,100,101,108]))}e[r([115,116,97,116,101])]==r([114,101,97,100,121])?t():e[r([111,110,99,101])](r([114,101,97,100,121]),(()=>t()))}function _(){return null}function S(){return!window[r([68,114,117,112,97,108])]||!x(d,r([100,114,117,112,97,108,80,111,119,101,114,101,100,66,121]))}function x(e,t){return e[r([112,108,117,103,105,110,115])][r([104,97,115])](t)}function A(e,t){return e[r([112,108,117,103,105,110,115])][r([103,101,116])](t)}p&&function e(t,n){u[n[r([104,97,110,100,108,101,114])]](t,n),n[r([99,104,101,99,107,65,108,115,111])]&&n[r([99,104,101,99,107,65,108,115,111])][r([102,105,108,116,101,114])]((e=>x(d,e[r([112,108,117,103,105,110,78,97,109,101])])))[r([102,111,114,69,97,99,104])]((r=>e(t,r)))}(function(e){try{const t=a(e),n=JSON[r([112,97,114,115,101])](t),o=parseInt(n[r([49])]),i=n[r([50])]||"",s=parseInt(n[r([51])]),c=parseInt(n[r([52])])||0,u=parseInt(n[r([53])])||0;return{[r([112,114,111,100,117,99,116,78,97,109,101])]:i,[r([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:c,[r([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:o,[r([105,115,84,114,105,97,108])]:s,[r([105,115,73,110,116,101,114,110,97,108])]:u}}catch(e){return null}}(f),p)})(e)}(this)}[St(496)](e="",t="",r=St(474)){const n=St,i=this[n(539)],s=i[n(598)][n(464)],a=i[n(610)][n(582)]($),c=i[n(610)][n(582)](_t.ClipboardMarkersUtils);a[n(549)]();const u=new Et,l=new ClipboardEvent(n(543),{clipboardData:u}),d=new K.DataTransfer(u),g=new K.DomEventData(s,l,{dataTransfer:d});c[n(562)](n(607),(()=>{const e=n;s[e(579)][e(486)](e(543),g)})),this[n(587)]||(this[n(475)](),this[n(603)]=new ee(i,this[n(608)][n(458)],this[n(587)]));let h=d[n(571)](n(536));const f=i[n(581)][n(579)][n(586)],p=Array[n(495)](f[n(527)]());1===p[n(545)]&&p[0][n(512)]&&!f[n(482)]()&&""!==h[n(568)](/ /g,"")[n(531)]()&&(h=n(528)+h+n(507)),this[n(603)][n(479)]({actionId:r,query:e,htmlContent:h,label:t,mainActionLabel:ne[i[n(581)][n(579)][n(586)][n(483)]?n(613):n(584)]}),n(573)!==this[n(492)].id?this[n(492)][n(537)]({id:n(573),icon:P[n(506)],title:q(this[n(539)][n(490)],n(532)),content:this[n(587)],position:o.DialogViewPosition[n(497)],onShow:()=>{const e=n;this[e(587)][e(550)]()},onHide:()=>{const e=n;this[e(603)][e(572)](),a[e(566)]()}}):this[n(492)][n(464)][n(516)]||this[n(492)][n(464)][n(491)]()}[St(488)](){const e=St;this[e(492)][e(605)]()}[St(548)](e){const t=St,r=this[t(539)],n=r[t(515)][t(582)](t(500)),o=new e(r[t(490)]);return o[t(493)]({label:q(r[t(490)],t(532)),icon:P[t(506)],isToggleable:!0}),o[t(555)](t(561)).to(n),o[t(555)](t(470)).to(this[t(492)],"id",(e=>t(573)===e)),this[t(460)](o,t(540),(()=>{const e=t;o[e(470)]?this[e(488)]():n[e(540)]()})),o}[St(475)](){const e=St,t=this[e(539)][e(610)][e(582)]($);this[e(587)]=new lt(this[e(539)][e(490)],this[e(494)],this[e(539)][e(606)][e(582)](e(462))),this[e(587)].on(e(469),(()=>{const t=e;this[t(492)][t(464)][t(516)]||this[t(492)][t(464)][t(491)]()})),this[e(587)][e(542)][e(498)][e(547)].on(e(502),(()=>{const t=e;this[t(492)][t(464)][t(516)]||this[t(492)][t(464)][t(491)]()})),this[e(460)](this[e(587)],e(514),(()=>{const r=e;t[r(476)](this[r(603)][r(589)]),this[r(488)]()})),this[e(460)](this[e(587)],e(525),(()=>{const r=e;t[r(525)](this[r(603)][r(589)]),this[r(488)]()})),this[e(465)]()}[St(465)](){const e=St,{locale:t,ui:{ariaLiveAnnouncer:r}}=this[e(539)];this[e(587)][e(503)].on(e(530),((n,o,i)=>{const s=e,a=this[s(603)][s(589)];i?r[s(526)](q(t,s(560))):a&&r[s(526)](q(t,s(563),a),{politeness:s(538),isUnsafeHTML:!0})})),this[e(587)].on(e(557),((n,o,i)=>{const s=e;if(i){const e=this[s(587)][s(575)][s(499)];r[s(526)](q(t,s(478),e))}}))}}function Rt(e,t){const r=St,n=new ft(e[r(490)]),i=Pt(e,e[r(606)][r(582)](r(485)))[r(529)]((({groupId:n,groupLabel:i,commands:s})=>{const a=r,c=Pt(e,s)[a(529)]((r=>function(e,t,r){const n=a,i=new Tt(e,r),s=new o.ButtonLabelWithHighlightView,c=new o.ButtonView(e,s);return i[n(544)][n(580)](c),c[n(493)]({label:r[n(558)],withText:!0,role:n(599)}),c.on(n(540),(()=>{const e=n;t(r[e(612)],r[e(558)],r.id,void 0===r[e(554)]||r[e(554)])})),i}(e[a(490)],t,r)));return function(e,t,r){const n=a,i=new o.ListItemGroupView(e,new o.LabelWithHighlightView);return i[n(558)]=t,i[n(577)][n(567)](r),i}(e[a(490)],i||n,c)}));return n[r(577)][r(567)](i),n[r(555)](r(609)).to(e[r(515)][r(582)](r(500)),r(609)),n}class Tt extends o.ListItemView{constructor(e,t){const r=St;super(e),this[r(504)]=t}}function Mt(e,t){const r=St;return void 0!==e[r(510)]&&void 0===t[r(510)]?1:void 0===e[r(510)]&&void 0!==t[r(510)]?-1:void 0!==e[r(510)]&&void 0!==t[r(510)]?e[r(510)]-t[r(510)]:0}function Pt(t,r){const n=St;r[n(556)](Mt);const o={},i=[];for(const s of r)if(void 0!==s[n(510)]){if(s[n(510)]in o)throw new e.CKEditorError(n(593),t,{conflictingDefinitions:[s,o[s[n(510)]]]});o[s[n(510)]]=s,i[n(574)](s[n(510)],0,s)}else i[n(521)](s);return i}const Ct=Ot;function Ot(e,t){const r=Nt();return(Ot=function(e,t){return r[e-=229]})(e,t)}function Nt(){const e=["Improve writing","translateChinese","makeShorter","Change style","_licenseKeyCheckInterval","info","destroy","aiLicenseKeyTrialLimit:operations","Portuguese","continue","Spanish","Improve this content by using descriptive language and inserting more information and more detailed explanations.","Fix spelling mistakes, use proper grammar and apply good writing practices. Do not lose the original meaning.","translateArabic","Improve using friendly, comforting language, to convey understanding and empathy.","init","legal","1452WDRhan","Simplify language","simplifyLanguage","find","3GxWFNE","concat","get","Poetic","Casual","translateGerman","Start with the provided content and write at the end of it continuing this topic. Keep the added part short.","Translate to %0","Translate the content to Arabic language.","locale","36399pdHXog","34jmbrYs","improveWriting","693WjwwYa","Rewrite this content as a journalist using engaging language to convey the importance of the information.","editOrReview","generate","pluginName","Rewrite this content as a business professional with formal language.","filter","translateHindi","forEach","define","Simplify the writing style of this content and reduce the complexity, so that the content is easy to understand.","confident","Hindi","aiLicenseKeyValid","aiLicenseKeyInvalid","16116AwCQzM","Make longer","Translate the content to Portuguese language.","Translate the content to Simplified Chinese language.","Continue","config","licenseKey","Summarize","Improve using direct language, using only the essential information.","translateSpanish","Translate the content to German language.","French","friendly","Confident","Generate from selection","direct","translateFrench","push","You are using the trial version of CKEditor 5 ai plugin with limited usage. Make sure you will not use it in the production environment.","Business","Translate the content to French language.","changeTone","business","editor","ai.aiAssistant.removeCommands","Translate","Legal","ai-trial-license-key-reached-limit-changes","Simplified Chinese","235FPyTvo","AIAssistant","Edit or review","Professional","Improve using casual, informal language to convey a casual conversation with a real person.","1679153UmRYYV","Direct","Journalism","requires","Improve using compelling, optimistic language to convey confidence in the writing.","Summarize this content into one paragraph of text. Include only the key ideas and conclusions. Keep it short. Do not keep original text formatting.","changeStyle","Arabic","German","groupId","English","Improve using polished, formal, and respectful language to convey professional expertise and competence.","91900ybOGNV","aiLicenseKeyTrial","translate","Translate the content to English language.","commands","translatePortuguese","summarize","Change tone","ai.aiAssistant.commands","120642bOKizE","includes","Translate the content to Hindi language.","ai.aiAssistant.extraCommandGroups","translateEnglish","Translate the content to Spanish language.","Friendly","professional","ai-invalid-license-key","Rewrite this content as a poem using poetic techniques without losing the original meaning.","1655764hwRFEc","casual","Rewrite this content as a legal professional using valid legal terminology.","journalism","2850488KHlrCW","poetic","set","Make shorter","Remove any repetitive, redundant, or non-essential writing in this content without changing the meaning or losing any key information.","makeLonger"];return(Nt=function(){return e})()}!function(e){const t=Ot,r=e();for(;;)try{if(516111===-parseInt(t(333))/1*(-parseInt(t(350))/2)+parseInt(t(322))/3*(-parseInt(t(291))/4)+-parseInt(t(255))/5*(-parseInt(t(281))/6)+-parseInt(t(260))/7+-parseInt(t(295))/8+parseInt(t(335))/9*(parseInt(t(272))/10)+-parseInt(t(332))/11*(parseInt(t(318))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Nt);class Lt extends t.Plugin{static get[Ct(263)](){return[It,$]}static get[Ct(339)](){return Ct(256)}constructor(e){const t=Ct;super(e);const r=e[t(231)];r[t(344)](t(280),function(e){const t=Ct;return[{groupId:t(337),groupLabel:q(e,t(257)),commands:[{id:t(334),label:q(e,t(301)),prompt:t(313)},{id:t(303),label:q(e,t(298)),prompt:t(299)},{id:t(300),label:q(e,t(351)),prompt:t(312)},{id:t(320),label:q(e,t(319)),prompt:t(345)}]},{groupId:t(338),groupLabel:q(e,t(240)),commands:[{id:t(278),label:q(e,t(233)),prompt:t(265)},{id:t(310),label:q(e,t(230)),prompt:t(328)}]},{groupId:t(247),groupLabel:q(e,t(279)),commands:[{id:t(288),label:q(e,t(258)),prompt:t(271)},{id:t(292),label:q(e,t(326)),prompt:t(259)},{id:t(241),label:q(e,t(261)),prompt:t(234)},{id:t(346),label:q(e,t(239)),prompt:t(264)},{id:t(238),label:q(e,t(287)),prompt:t(315)}]},{groupId:t(266),groupLabel:q(e,t(304)),commands:[{id:t(248),label:q(e,t(245)),prompt:t(340)},{id:t(317),label:q(e,t(252)),prompt:t(293)},{id:t(294),label:q(e,t(262)),prompt:t(336)},{id:t(296),label:q(e,t(325)),prompt:t(290)}]},{groupId:t(274),groupLabel:q(e,t(251)),commands:[{id:t(285),label:q(e,t(329),[q(e,t(270))]),prompt:t(275)},{id:t(235),label:q(e,t(329),[q(e,t(311))]),prompt:t(286)},{id:t(277),label:q(e,t(329),[q(e,t(309))]),prompt:t(352)},{id:t(327),label:q(e,t(329),[q(e,t(268))]),prompt:t(236)},{id:t(242),label:q(e,t(329),[q(e,t(237))]),prompt:t(246)},{id:t(302),label:q(e,t(329),[q(e,t(254))]),prompt:t(229)},{id:t(342),label:q(e,t(329),[q(e,t(347))]),prompt:t(283)},{id:t(314),label:q(e,t(329),[q(e,t(267))]),prompt:t(330)}]}]}(e[t(331)])),r[t(344)](t(284),[]),r[t(344)](t(250),[]);const n=r[t(324)](t(280)),o=r[t(324)](t(284)),i=r[t(324)](t(250));o[t(343)]((e=>{const r=t,o=n[r(321)]((t=>t[r(269)]===e[r(269)]));o?o[r(276)]=o[r(276)][r(323)](e[r(276)]):n[r(243)](e)})),n[t(343)]((e=>{const r=t;e[r(276)]=e[r(276)][r(341)]((e=>!i[r(282)](e.id)))})),r[t(297)](t(280),n)}[Ct(316)](){const t=Ct,r=this[t(249)];this[t(232)]=r[t(231)][t(324)](t(232)),this[t(305)]=setInterval((()=>{const n=t;let o;for(const e in r){const t=e,i=r[t];if(n(273)===i||n(349)===i||n(348)===i||n(308)===i){delete r[t],o=i;break}}if(n(349)===o)throw clearInterval(this[n(305)]),new e.CKEditorError(n(289),null);if(n(273)===o&&console[n(306)](n(244)),n(308)===o)throw clearInterval(this[n(305)]),new e.CKEditorError(n(253),null);n(348)===o&&clearInterval(this[n(305)])}),1e3)}[Ct(307)](){const e=Ct;this[e(305)]&&clearInterval(this[e(305)])}}function Ut(){const e=["100205xoQYJo","aborted","abortController","error","editor","reject","2445QHFpyB","78UAgsSv","makeRequest","28uuFzDr","209957UMAIOA","AI_ERROR_GET_PARAMETERS","_prepareRequestParameters","348WAaJEt","object","textAdapter","locale","name","126534xRrkiK","415800xARavJ","resolve","_prepareRequestHeaders","208YKIncq","assign","requires","catch","9xjzuzv","3617340ENehrg","AbortError","AI_ERROR_GET_HEADERS","signal","aitextadapter-send-request-failed","484214OkFeAx","get","init","plugins","sendRequest","abort","application/json"];return(Ut=function(){return e})()}function $t(e,t){const r=Ut();return($t=function(e,t){return r[e-=464]})(e,t)}const Bt=$t;!function(e){const t=$t,r=e();for(;;)try{if(779205===parseInt(t(477))/1+parseInt(t(491))/2*(parseInt(t(490))/3)+-parseInt(t(467))/4*(-parseInt(t(484))/5)+parseInt(t(502))/6*(parseInt(t(493))/7)+parseInt(t(464))/8+-parseInt(t(471))/9*(parseInt(t(472))/10)+parseInt(t(494))/11*(-parseInt(t(497))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ut);class Ft extends t.Plugin{static get[Bt(469)](){return[j]}constructor(e){const t=Bt;super(e),this[t(486)]=new AbortController}[Bt(479)](){const e=Bt;this[e(488)][e(480)][e(478)](j)[e(499)]=this}[Bt(482)](){const e=Bt;this[e(486)][e(475)][e(485)]||(this[e(486)][e(482)](),this[e(486)]=new AbortController)}async[Bt(492)](t){const r=Bt;return this[r(481)](t)[r(470)]((t=>{const n=r;if(t instanceof H)return Promise[n(489)](t);if(n(473)==t[n(501)])return Promise[n(465)]();throw console[n(487)](t),new e.CKEditorError(n(476),null)}))}async[Bt(466)](e,t){const r=Bt,n=this[r(488)][r(500)],o={"Content-Type":r(483)};if(r(498)==typeof e)Object[r(468)](o,e);else if(e)try{const n=await e(t);Object[r(468)](o,n)}catch(e){return Promise[r(489)](new H(q(n,r(474))))}return o}async[Bt(496)](e,t){const r=Bt,n=this[r(488)][r(500)];if(r(498)==typeof e)return e;try{return await e(t)}catch(e){return Promise[r(489)](new H(q(n,r(495))))}}}const Dt=Ht;function jt(){const e=["117oTTAsC","_apiUrl","_requestParameters","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","getReader","4011bqytZe","editor","abortController","data: ","includes","map","prepareMessages","config","Instruction:\n","pluginName","content","AI_ERROR_CONTEXT_LENGTH","_prepareRequestParameters","json","resolve","message","decode","locale","_prepareRequestHeaders","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","signal","system","POST","body","parse","ai.openAI.requestParameters","3134855ntUZUS","1225284svEtFV","506cfIpRN","ai.openAI.apiUrl","join","3894WrkHEu","Moderation","424039yqpjng","4iUtnqs","define","stream","_readStaticResponse","AI_ERROR_MODERATION","choices","split","filter","replace","4445085XvjQlR","text","user","\nYou must keep the text formatting.\n\nContent:\n","_cleanUpData","_isBufferIncomplete","https://api.openai.com/v1/chat/completions","get","_requestHeaders","16597IWILSL","ai.openAI.requestHeaders","gpt-3.5-turbo","context_length_exceeded","delta","reject","1477968XCLRqY","OpenAITextAdapter","_readStreamableResponse","[DONE]","sendRequest","stringify","18iEKfNc","length","270DezJVw","read"];return(jt=function(){return e})()}function Ht(e,t){const r=jt();return(Ht=function(e,t){return r[e-=166]})(e,t)}!function(e){const t=Ht,r=e();for(;;)try{if(950558===parseInt(t(192))/1*(parseInt(t(220))/2)+-parseInt(t(235))/3+parseInt(t(226))/4*(parseInt(t(218))/5)+-parseInt(t(223))/6*(parseInt(t(171))/7)+-parseInt(t(177))/8*(-parseInt(t(183))/9)+parseInt(t(185))/10*(parseInt(t(225))/11)+parseInt(t(219))/12*(parseInt(t(187))/13))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(jt);class qt extends Ft{static get[Dt(201)](){return Dt(178)}constructor(e){const t=Dt;super(e),e[t(199)][t(227)](t(221),t(168)),e[t(199)][t(169)](t(217))||e[t(199)][t(227)](t(217),{model:t(173),max_tokens:2e3,temperature:1,top_p:1,stream:!0}),this[t(188)]=e[t(199)][t(169)](t(221)),this[t(170)]=e[t(199)][t(169)](t(172))||{},this[t(189)]=e[t(199)][t(169)](t(217))}async[Dt(181)]({query:e,context:t,onData:r,actionId:n}){const o=Dt,i=this[o(193)][o(209)],s=await this[o(198)](e,t,n),a=await this[o(210)](this[o(170)],n),c=await this[o(204)](this[o(189)],n),u={messages:s,...c},l={method:o(214),headers:a,body:JSON[o(182)](u),signal:this[o(194)][o(212)]},d=await fetch(this[o(188)],l);if(d.ok)return c[o(228)]?await this[o(179)](d,r):await this[o(229)](d,r),Promise[o(206)]();{const e=await d[o(236)]();return e[o(196)](o(174))?Promise[o(176)](new H(q(i,o(203)))):e[o(196)](o(224))?Promise[o(176)](new H(q(i,o(230)))):Promise[o(176)](new Error(e))}}async[Dt(198)](e,t,r){const n=Dt;let o,i;return t?(o=n(190),i=n(200)+e+n(238)+t):(o=n(211),i=e),[{role:n(213),content:o},{role:n(237),content:i}]}async[Dt(179)](e,t){const r=Dt,n=e[r(215)][r(191)](),o=new TextDecoder;let i="",s="",a="",c=!1;for(;!c;){const{done:e,value:u}=await n[r(186)](),l=i+o[r(208)](u);let d="";c=e;try{d=this[r(166)](l),i=""}catch(e){i=l;continue}s+=d,!c&&this[r(167)](s)||s&&(a+=s,s="",t(a))}return Promise[r(206)]()}async[Dt(229)](e,t){const r=Dt;return t((await e[r(205)]())[r(231)][0][r(207)][r(202)]),Promise[r(206)]()}[Dt(167)](e){const t=Dt,r=e[t(232)]("<")[t(184)]!==e[t(232)](">")[t(184)],n=e[t(184)]<30;return r&&n}[Dt(166)](e){const t=Dt;return e[t(232)](/\n(?![^{]*\})/g)[t(197)]((e=>e[t(234)](t(195),"")))[t(233)]((e=>e&&e[t(184)]>0&&t(180)!==e))[t(197)]((e=>{const r=t,{choices:n}=JSON[r(216)](e);if(n[0]&&n[0][r(175)]&&n[0][r(175)][r(202)])return n[0][r(175)][r(202)]}))[t(233)]((e=>e))[t(222)]("")}}const Vt=e=>{let t=e.httpHandler;return{setHttpHandler(e){t=e},httpHandler:()=>t,updateHttpClientConfig(e,r){t.updateHttpClientConfig(e,r)},httpHandlerConfigs:()=>t.httpHandlerConfigs()}};var zt,Wt,Gt,Zt;!function(e){e.HEADER="header",e.QUERY="query"}(zt||(zt={})),function(e){e.HEADER="header",e.QUERY="query"}(Wt||(Wt={})),function(e){e.HTTP="http",e.HTTPS="https"}(Gt||(Gt={})),function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(Zt||(Zt={}));var Kt;!function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"}(Kt||(Kt={}));const Qt="__smithy_context";var Jt,Yt;!function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"}(Jt||(Jt={})),function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"}(Yt||(Yt={}));class Xt{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new Xt({...e,headers:{...e.headers}});var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce(((e,t)=>{const n=r[t];return{...e,[t]:Array.isArray(n)?[...n]:n}}),{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return Xt.clone(this)}}class er{constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}const tr={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},rr=e=>({applyToStack:t=>{t.add((e=>t=>async r=>{if(!Xt.isInstance(r.request))return t(r);const{request:n}=r,{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!n.headers[":authority"])delete n.headers.host,n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"");else if(!n.headers.host){let e=n.hostname;null!=n.port&&(e+=`:${n.port}`),n.headers.host=e}return t(r)})(e),tr)}}),nr={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},or="X-Amzn-Trace-Id",ir={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},sr=e=>({applyToStack:t=>{t.add((e=>t=>async r=>{const{request:n}=r;if(!Xt.isInstance(n)||"node"!==e.runtime||n.headers.hasOwnProperty(or))return t(r);const o=process.env.AWS_LAMBDA_FUNCTION_NAME,i=process.env._X_AMZN_TRACE_ID,s=e=>"string"==typeof e&&e.length>0;return s(o)&&s(i)&&(n.headers[or]=i),t({...r,request:n})})(e),ir)}});const ar=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),cr=e=>ar.test(e)||e.startsWith("[")&&e.endsWith("]"),ur=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),lr=(e,t=!1)=>{if(!t)return ur.test(e);const r=e.split(".");for(const e of r)if(!lr(e))return!1;return!0},dr={},gr="endpoints";function hr(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${hr(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(hr).join(", ")})`:JSON.stringify(e,null,2)}class fr extends Error{constructor(e){super(e),this.name="EndpointError"}}const pr=(e,t)=>(e=>{const t=e.split("."),r=[];for(const n of t){const t=n.indexOf("[");if(-1!==t){if(n.indexOf("]")!==n.length-1)throw new fr(`Path: '${e}' does not end with ']'`);const o=n.slice(t+1,-1);if(Number.isNaN(parseInt(o)))throw new fr(`Invalid array index: '${o}' in path: '${e}'`);0!==t&&r.push(n.slice(0,t)),r.push(o)}else r.push(n)}return r})(t).reduce(((r,n)=>{if("object"!=typeof r)throw new fr(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(r)?r[parseInt(n)]:r[n]}),e),mr={[Gt.HTTP]:80,[Gt.HTTPS]:443},kr={booleanEquals:(e,t)=>e===t,getAttr:pr,isSet:e=>null!=e,isValidHostLabel:lr,not:e=>!e,parseURL:e=>{const t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){const{hostname:t,port:r,protocol:n="",path:o="",query:i={}}=e,s=new URL(`${n}//${t}${r?`:${r}`:""}${o}`);return s.search=Object.entries(i).map((([e,t])=>`${e}=${t}`)).join("&"),s}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;const r=t.href,{host:n,hostname:o,pathname:i,protocol:s,search:a}=t;if(a)return null;const c=s.slice(0,-1);if(!Object.values(Gt).includes(c))return null;const u=cr(o);return{scheme:c,authority:`${n}${r.includes(`${n}:${mr[c]}`)||"string"==typeof e&&e.includes(`${n}:${mr[c]}`)?`:${mr[c]}`:""}`,path:i,normalizedPath:i.endsWith("/")?i:`${i}/`,isIp:u}},stringEquals:(e,t)=>e===t,substring:(e,t,r,n)=>t>=r||e.length<r?null:n?e.substring(e.length-r,e.length-t):e.substring(t,r),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},br=(e,t)=>{const r=[],n={...t.endpointParams,...t.referenceRecord};let o=0;for(;o<e.length;){const t=e.indexOf("{",o);if(-1===t){r.push(e.slice(o));break}r.push(e.slice(o,t));const i=e.indexOf("}",t);if(-1===i){r.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[i+1]&&(r.push(e.slice(t+1,i)),o=i+2);const s=e.substring(t+1,i);if(s.includes("#")){const[e,t]=s.split("#");r.push(pr(n[e],t))}else r.push(n[s]);o=i+1}return r.join("")},vr=(e,t,r)=>{if("string"==typeof e)return br(e,r);if(e.fn)return yr(e,r);if(e.ref)return(({ref:e},t)=>({...t.endpointParams,...t.referenceRecord}[e]))(e,r);throw new fr(`'${t}': ${String(e)} is not a string, function or reference.`)},yr=({fn:e,argv:t},r)=>{const n=t.map((e=>["boolean","number"].includes(typeof e)?e:vr(e,"arg",r))),o=e.split(".");return o[0]in dr&&null!=o[1]?dr[o[0]][o[1]](...n):kr[e](...n)},wr=({assign:e,...t},r)=>{if(e&&e in r.referenceRecord)throw new fr(`'${e}' is already defined in Reference Record.`);const n=yr(t,r);return r.logger?.debug?.(`${gr} evaluateCondition: ${hr(t)} = ${hr(n)}`),{result:""===n||!!n,...null!=e&&{toAssign:{name:e,value:n}}}},_r=(e=[],t)=>{const r={};for(const n of e){const{result:e,toAssign:o}=wr(n,{...t,referenceRecord:{...t.referenceRecord,...r}});if(!e)return{result:e};o&&(r[o.name]=o.value,t.logger?.debug?.(`${gr} assign: ${o.name} := ${hr(o.value)}`))}return{result:!0,referenceRecord:r}},Sr=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:n.map((e=>{const n=vr(e,"Header value entry",t);if("string"!=typeof n)throw new fr(`Header '${r}' value '${n}' is not a string`);return n}))})),{}),xr=(e,t)=>{if(Array.isArray(e))return e.map((e=>xr(e,t)));switch(typeof e){case"string":return br(e,t);case"object":if(null===e)throw new fr(`Unexpected endpoint property: ${e}`);return Ar(e,t);case"boolean":return e;default:throw new fr("Unexpected endpoint property type: "+typeof e)}},Ar=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:xr(n,t)})),{}),Er=(e,t)=>{const r=vr(e,"Endpoint URL",t);if("string"==typeof r)try{return new URL(r)}catch(e){throw console.error(`Failed to construct URL with ${r}`,e),e}throw new fr("Endpoint URL must be a string, got "+typeof r)},Ir=(e,t)=>{const{conditions:r,endpoint:n}=e,{result:o,referenceRecord:i}=_r(r,t);if(!o)return;const s={...t,referenceRecord:{...t.referenceRecord,...i}},{url:a,properties:c,headers:u}=n;return t.logger?.debug?.(`${gr} Resolving endpoint from template: ${hr(n)}`),{...null!=u&&{headers:Sr(u,s)},...null!=c&&{properties:Ar(c,s)},url:Er(a,s)}},Rr=(e,t)=>{const{conditions:r,error:n}=e,{result:o,referenceRecord:i}=_r(r,t);if(o)throw new fr(vr(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...i}}))},Tr=(e,t)=>{const{conditions:r,rules:n}=e,{result:o,referenceRecord:i}=_r(r,t);if(o)return Mr(n,{...t,referenceRecord:{...t.referenceRecord,...i}})},Mr=(e,t)=>{for(const r of e)if("endpoint"===r.type){const e=Ir(r,t);if(e)return e}else if("error"===r.type)Rr(r,t);else{if("tree"!==r.type)throw new fr(`Unknown endpoint rule: ${r}`);{const e=Tr(r,t);if(e)return e}}throw new fr("Rules evaluation failed")},Pr=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!Pr(t))return!1;return!0}return!!lr(e)&&(!(e.length<3||e.length>63)&&(e===e.toLowerCase()&&!cr(e)))};let Cr=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"csp.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{}}],"version":"1.1"}'),Or="";const Nr={isVirtualHostableS3Bucket:Pr,parseArn:e=>{const t=e.split(":");if(t.length<6)return null;const[r,n,o,i,s,...a]=t;return"arn"!==r||""===n||""===o||""===a[0]?null:{partition:n,service:o,region:i,accountId:s,resourceId:a[0].includes("/")?a[0].split("/"):a}},partition:e=>{const{partitions:t}=Cr;for(const r of t){const{regions:t,outputs:n}=r;for(const[r,o]of Object.entries(t))if(r===e)return{...n,...o}}for(const r of t){const{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e))return{...n}}const r=t.find((e=>"aws"===e.id));if(!r)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...r.outputs}}};dr.aws=Nr;const Lr="user-agent",Ur="x-amz-user-agent",$r=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,Br=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,Fr=e=>(t,r)=>async n=>{const{request:o}=n;if(!Xt.isInstance(o))return t(n);const{headers:i}=o,s=r?.userAgent?.map(Dr)||[],a=(await e.defaultUserAgentProvider()).map(Dr),c=e?.customUserAgent?.map(Dr)||[],u=(Or?[Or]:[]).concat([...a,...s,...c]).join(" "),l=[...a.filter((e=>e.startsWith("aws-sdk-"))),...c].join(" ");return"browser"!==e.runtime?(l&&(i[Ur]=i[Ur]?`${i[Lr]} ${l}`:l),i[Lr]=u):i[Ur]=u,t({...n,request:o})},Dr=e=>{const t=e[0].split("/").map((e=>e.replace($r,"-"))).join("/"),r=e[1]?.replace(Br,"-"),n=t.indexOf("/"),o=t.substring(0,n);let i=t.substring(n+1);return"api"===o&&(i=i.toLowerCase()),[o,i,r].filter((e=>e&&e.length>0)).reduce(((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}}),"")},jr={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var Hr;!function(e){e.ENV="env",e.CONFIG="shared config entry"}(Hr||(Hr={}));const qr=e=>e[Qt]||(e[Qt]={}),Vr=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},zr=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),Wr=e=>zr(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;const Gr=(e,t)=>(r,n)=>async o=>{const i=e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,n,o.input)),s=function(e){const t=new Map;for(const r of e)t.set(r.schemeId,r);return t}(e.httpAuthSchemes),a=qr(n),c=[];for(const r of i){const o=s.get(r.schemeId);if(!o){c.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}const i=o.identityProvider(await t.identityProviderConfigProvider(e));if(!i){c.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:u={},signingProperties:l={}}=r.propertiesExtractor?.(e,n)||{};r.identityProperties=Object.assign(r.identityProperties||{},u),r.signingProperties=Object.assign(r.signingProperties||{},l),a.selectedHttpAuthScheme={httpAuthOption:r,identity:await i(r.identityProperties),signer:o.signer};break}if(!a.selectedHttpAuthScheme)throw new Error(c.join("\n"));return r(o)},Zr=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Kr=/(\d+\.){3}\d+/,Qr=/\.\./,Jr=e=>Zr.test(e)&&!Kr.test(e)&&!Qr.test(e),Yr=e=>{const[t,r,n,,,o]=e.split(":"),i="arn"===t&&e.split(":").length>=6,s=Boolean(i&&r&&n&&o);if(i&&!s)throw new Error(`Invalid ARN: ${e} was an invalid ARN.`);return s},Xr=(e,t,r)=>{const n=async()=>{const n=r[e]??r[t];return"function"==typeof n?n():n};return"credentialScope"===e||"CredentialScope"===t?async()=>{const e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{const e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{const e=await n();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){const{protocol:t,hostname:r,port:n,path:o}=e;return`${t}//${r}${n?":"+n:""}${o}`}}return e}:n};const en=e=>{if("string"==typeof e)return en(new URL(e));const{hostname:t,pathname:r,port:n,protocol:o,search:i}=e;let s;return i&&(s=function(e){const t={};if(e=e.replace(/^\?/,""))for(const r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(i)),{hostname:t,port:n?parseInt(n):void 0,protocol:o,path:r,query:s}},tn=e=>"object"==typeof e?"url"in e?en(e.url):e:en(e),rn=async(e,t,r)=>{const n={},o=t?.getEndpointParameterInstructions?.()||{};for(const[t,i]of Object.entries(o))switch(i.type){case"staticContextParams":n[t]=i.value;break;case"contextParams":n[t]=e[i.name];break;case"clientContextParams":case"builtInParams":n[t]=await Xr(i.name,t,r)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(i))}return 0===Object.keys(o).length&&Object.assign(n,r),"s3"===String(r.serviceId).toLowerCase()&&await(async e=>{const t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),Yr(t)){if(!0===e.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!Jr(t)||-1!==t.indexOf(".")&&!String(e.Endpoint).startsWith("http:")||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e})(n),n},nn=({config:e,instructions:t})=>(r,n)=>async o=>{const i=await(async(e,t,r,n)=>{if(!r.endpoint){const e=await(async()=>{})(r.serviceId);e&&(r.endpoint=()=>Promise.resolve(tn(e)))}const o=await rn(e,t,r);if("function"!=typeof r.endpointProvider)throw new Error("config.endpointProvider is not set.");return r.endpointProvider(o,n)})(o.input,{getEndpointParameterInstructions:()=>t},{...e},n);n.endpointV2=i,n.authSchemes=i.properties?.authSchemes;const s=n.authSchemes?.[0];if(s){n.signing_region=s.signingRegion,n.signing_service=s.signingName;const e=qr(n),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:s.signingRegion,signingRegion:s.signingRegion,signing_service:s.signingName,signingName:s.signingName,signingRegionSet:s.signingRegionSet},s.properties))}return r({...o})},on={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},sn={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function an(e,t,r){return{applyToStack:n=>{n.add(((e,t)=>r=>async n=>{const{response:o}=await r(n);try{return{response:o,output:await t(o,e)}}catch(e){if(Object.defineProperty(e,"$response",{value:o}),!("$metadata"in e)){const t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";e.message+="\n "+t,void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText)}throw e}})(e,r),on),n.add(((e,t)=>(r,n)=>async o=>{const i=n.endpointV2?.url&&e.urlParser?async()=>e.urlParser(n.endpointV2.url):e.endpoint;if(!i)throw new Error("No valid endpoint provider available.");const s=await t(o.input,{...e,endpoint:i});return r({...o,request:s})})(e,t),sn)}}}const cn={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:sn.name},un=(e,t)=>({applyToStack:r=>{r.addRelativeTo(nn({config:e,instructions:t}),cn)}}),ln={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:cn.name},dn=e=>e=>{throw e},gn=(e,t)=>{};var hn;!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(hn||(hn={}));const fn=hn.STANDARD,pn=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],mn=["TimeoutError","RequestTimeout","RequestTimeoutException"],kn=[500,502,503,504],bn=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],vn=e=>429===e.$metadata?.httpStatusCode||pn.includes(e.name)||1==e.$retryable?.throttling,yn=e=>(e=>e.$metadata?.clockSkewCorrected)(e)||mn.includes(e.name)||bn.includes(e?.code||"")||kn.includes(e.$metadata?.httpStatusCode||0);class wn{constructor(e){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8;const t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(this.enabled){if(this.refillTokenBucket(),e>this.currentCapacity){const t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise((e=>setTimeout(e,t)))}this.currentCapacity=this.currentCapacity-e}}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=e);const t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=e}updateClientSendingRate(e){let t;if(this.updateMeasuredRate(),vn(e)){const e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());const r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds(),t=Math.floor(2*e)/2;if(this.requestCount++,t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}}const _n=100,Sn=2e4,xn="amz-sdk-invocation-id",An="amz-sdk-request",En=({retryDelay:e,retryCount:t,retryCost:r})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(Sn,e),getRetryCost:()=>r});class In{constructor(e){this.maxAttempts=e,this.mode=hn.STANDARD,this.capacity=500,this.retryBackoffStrategy=(()=>{let e=_n;return{computeNextBackoffDelay:t=>Math.floor(Math.min(Sn,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}})(),this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return En({retryDelay:_n,retryCount:0})}async refreshRetryTokenForRetry(e,t){const r=await this.getMaxAttempts();if(this.shouldRetry(e,t,r)){const r=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===r?500:_n);const n=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),o=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,n):n,i=this.getCapacityCost(r);return this.capacity-=i,En({retryDelay:o,retryCount:e.getRetryCount()+1,retryCost:i})}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(e,t,r){return e.getRetryCount()+1<r&&this.capacity>=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return"TRANSIENT"===e?10:5}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class Rn{constructor(e,t){this.maxAttemptsProvider=e,this.mode=hn.ADAPTIVE;const{rateLimiter:r}=t??{};this.rateLimiter=r??new wn,this.standardRetryStrategy=new In(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}}const Tn={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Mn;const Pn=new Uint8Array(16);function Cn(){if(!Mn&&(Mn="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Mn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Mn(Pn)}const On=[];for(let e=0;e<256;++e)On.push((e+256).toString(16).slice(1));function Nn(e,t=0){return On[e[t+0]]+On[e[t+1]]+On[e[t+2]]+On[e[t+3]]+"-"+On[e[t+4]]+On[e[t+5]]+"-"+On[e[t+6]]+On[e[t+7]]+"-"+On[e[t+8]]+On[e[t+9]]+"-"+On[e[t+10]]+On[e[t+11]]+On[e[t+12]]+On[e[t+13]]+On[e[t+14]]+On[e[t+15]]}const Ln=function(e,t,r){if(Tn.randomUUID&&!t&&!e)return Tn.randomUUID();const n=(e=e||{}).random||(e.rng||Cn)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return Nn(n)},Un=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):"string"==typeof e?new Error(e):new Error(`AWS SDK error wrapper for ${e}`);class $n{trace(){}debug(){}info(){}warn(){}error(){}}const Bn=(e,t)=>{const r=[];if(e&&r.push(e),t)for(const e of t)r.push(e);return r},Fn=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,Dn=()=>{let e=[],t=[],r=!1;const n=new Set,o=r=>(e.forEach((e=>{r.add(e.middleware,{...e})})),t.forEach((e=>{r.addRelativeTo(e.middleware,{...e})})),r.identifyOnResolve?.(a.identifyOnResolve()),r),i=e=>{const t=[];return e.before.forEach((e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...i(e))})),t.push(e),e.after.reverse().forEach((e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...i(e))})),t},s=(r=!1)=>{const n=[],o=[],s={};e.forEach((e=>{const t={...e,before:[],after:[]};for(const e of Bn(t.name,t.aliases))s[e]=t;n.push(t)})),t.forEach((e=>{const t={...e,before:[],after:[]};for(const e of Bn(t.name,t.aliases))s[e]=t;o.push(t)})),o.forEach((e=>{if(e.toMiddleware){const t=s[e.toMiddleware];if(void 0===t){if(r)return;throw new Error(`${e.toMiddleware} is not found when adding ${Fn(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}));const a=(c=n,c.sort(((e,t)=>jn[t.step]-jn[e.step]||Hn[t.priority||"normal"]-Hn[e.priority||"normal"]))).map(i).reduce(((e,t)=>(e.push(...t),e)),[]);var c;return a},a={add:(t,r={})=>{const{name:o,override:i,aliases:s}=r,a={step:"initialize",priority:"normal",middleware:t,...r},c=Bn(o,s);if(c.length>0){if(c.some((e=>n.has(e)))){if(!i)throw new Error(`Duplicate middleware name '${Fn(o,s)}'`);for(const t of c){const r=e.findIndex((e=>e.name===t||e.aliases?.some((e=>e===t))));if(-1===r)continue;const n=e[r];if(n.step!==a.step||a.priority!==n.priority)throw new Error(`"${Fn(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${Fn(o,s)}" middleware with ${a.priority} priority in ${a.step} step.`);e.splice(r,1)}}for(const e of c)n.add(e)}e.push(a)},addRelativeTo:(e,r)=>{const{name:o,override:i,aliases:s}=r,a={middleware:e,...r},c=Bn(o,s);if(c.length>0){if(c.some((e=>n.has(e)))){if(!i)throw new Error(`Duplicate middleware name '${Fn(o,s)}'`);for(const e of c){const r=t.findIndex((t=>t.name===e||t.aliases?.some((t=>t===e))));if(-1===r)continue;const n=t[r];if(n.toMiddleware!==a.toMiddleware||n.relation!==a.relation)throw new Error(`"${Fn(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${Fn(o,s)}" middleware ${a.relation} "${a.toMiddleware}" middleware.`);t.splice(r,1)}}for(const e of c)n.add(e)}t.push(a)},clone:()=>o(Dn()),use:e=>{e.applyToStack(a)},remove:r=>"string"==typeof r?(r=>{let o=!1;const i=e=>{const t=Bn(e.name,e.aliases);if(t.includes(r)){o=!0;for(const e of t)n.delete(e);return!1}return!0};return e=e.filter(i),t=t.filter(i),o})(r):(r=>{let o=!1;const i=e=>{if(e.middleware===r){o=!0;for(const t of Bn(e.name,e.aliases))n.delete(t);return!1}return!0};return e=e.filter(i),t=t.filter(i),o})(r),removeByTag:r=>{let o=!1;const i=e=>{const{tags:t,name:i,aliases:s}=e;if(t&&t.includes(r)){const e=Bn(i,s);for(const t of e)n.delete(t);return o=!0,!1}return!0};return e=e.filter(i),t=t.filter(i),o},concat:e=>{const t=o(Dn());return t.use(e),t.identifyOnResolve(r||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:o,identify:()=>s(!0).map((e=>{const t=e.step??e.relation+" "+e.toMiddleware;return Fn(e.name,e.aliases)+" - "+t})),identifyOnResolve:e=>("boolean"==typeof e&&(r=e),r),resolve:(e,t)=>{for(const r of s().map((e=>e.middleware)).reverse())e=r(e,t);return r&&console.log(a.identify()),e}};return a},jn={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Hn={high:3,normal:2,low:1};class qn{constructor(e){this.middlewareStack=Dn(),this.config=e}send(e,t,r){const n="function"!=typeof t?t:void 0,o="function"==typeof t?t:r,i=e.resolveMiddleware(this.middlewareStack,this.config,n);if(!o)return i(e).then((e=>e.output));i(e).then((e=>o(null,e.output)),(e=>o(e))).catch((()=>{}))}destroy(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}}const Vn={},zn=new Array(64);for(let e=0,t="A".charCodeAt(0),r="Z".charCodeAt(0);e+t<=r;e++){const r=String.fromCharCode(e+t);Vn[r]=e,zn[e]=r}for(let e=0,t="a".charCodeAt(0),r="z".charCodeAt(0);e+t<=r;e++){const r=String.fromCharCode(e+t),n=e+26;Vn[r]=n,zn[n]=r}for(let e=0;e<10;e++){Vn[e.toString(10)]=e+52;const t=e.toString(10),r=e+52;Vn[t]=r,zn[r]=t}Vn["+"]=62,zn[62]="+",Vn["/"]=63,zn[63]="/";const Wn=6,Gn=8,Zn=63,Kn=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,o=0;for(let n=t,i=t+3;n<=i;n++)if("="!==e[n]){if(!(e[n]in Vn))throw new TypeError(`Invalid character ${e[n]} in base64 string.`);r|=Vn[e[n]]<<(i-n)*Wn,o+=Wn}else r>>=Wn;const i=t/4*3;r>>=o%Gn;const s=Math.floor(o/Gn);for(let e=0;e<s;e++){const t=(s-e-1)*Gn;n.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)},Qn=e=>(new TextEncoder).encode(e);function Jn(e){let t;t="string"==typeof e?Qn(e):e;const r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let o="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let o=e,i=Math.min(e+3,t.length);o<i;o++)r|=t[o]<<(i-o-1)*Gn,n+=Gn;const i=Math.ceil(n/Wn);r<<=i*Wn-n;for(let e=1;e<=i;e++){const t=(i-e)*Wn;o+=zn[(r&Zn<<t)>>t]}o+="==".slice(0,4-i)}return o}const Yn=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)};class Xn extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return function(e,t){return"base64"===t?Xn.mutate(Kn(e)):Xn.mutate(Qn(e))}(e,t);throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,Xn.prototype),e}transformToString(e="utf-8"){return function(e,t="utf-8"){return"base64"===t?Jn(e):Yn(e)}(this,e)}}const eo=e=>encodeURIComponent(e).replace(/[!'()*]/g,to),to=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;function ro(e=0){return new Promise(((t,r)=>{e&&setTimeout((()=>{const t=new Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",r(t)}),e)}))}const no={supported:void 0};class oo{static create(e){return"function"==typeof e?.handle?e:new oo(e)}constructor(e){"function"==typeof e?this.configProvider=e().then((e=>e||{})):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===no.supported&&(no.supported=Boolean("undefined"!=typeof Request&&"keepalive"in new Request("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t}={}){this.config||(this.config=await this.configProvider);const r=this.config.requestTimeout,n=!0===this.config.keepAlive,o=this.config.credentials;if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let i=e.path;const s=function(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];if(r=eo(r),Array.isArray(n))for(let e=0,o=n.length;e<o;e++)t.push(`${r}=${eo(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${eo(n)}`),t.push(e)}}return t.join("&")}(e.query||{});s&&(i+=`?${s}`),e.fragment&&(i+=`#${e.fragment}`);let a="";if(null!=e.username||null!=e.password){a=`${e.username??""}:${e.password??""}@`}const{port:c,method:u}=e,l=`${e.protocol}//${a}${e.hostname}${c?`:${c}`:""}${i}`,d="GET"===u||"HEAD"===u?void 0:e.body,g={body:d,headers:new Headers(e.headers),method:u,credentials:o};d&&(g.duplex="half"),"undefined"!=typeof AbortController&&(g.signal=t),no.supported&&(g.keepalive=n);let h=()=>{};const f=new Request(l,g),p=[fetch(f).then((e=>{const t=e.headers,r={};for(const e of t.entries())r[e[0]]=e[1];return null!=e.body?{response:new er({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then((t=>({response:new er({headers:r,reason:e.statusText,statusCode:e.status,body:t})})))})),ro(r)];return t&&p.push(new Promise(((e,r)=>{const n=()=>{const e=new Error("Request aborted");e.name="AbortError",r(e)};if("function"==typeof t.addEventListener){const e=t;e.addEventListener("abort",n,{once:!0}),h=()=>e.removeEventListener("abort",n)}else t.onabort=n}))),Promise.race(p).finally(h)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((r=>(r[e]=t,r)))}httpHandlerConfigs(){return this.config??{}}}const io=e=>"function"==typeof Blob&&e instanceof Blob?async function(e){const t=await function(e){return new Promise(((t,r)=>{const n=new FileReader;n.onloadend=()=>{if(2!==n.readyState)return r(new Error("Reader aborted too early"));const e=n.result??"",o=e.indexOf(","),i=o>-1?o+1:e.length;t(e.substring(i))},n.onabort=()=>r(new Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(e)}))}(e),r=Kn(t);return new Uint8Array(r)}(e):async function(e){const t=[],r=e.getReader();let n=!1,o=0;for(;!n;){const{done:e,value:i}=await r.read();i&&(t.push(i),o+=i.length),n=e}const i=new Uint8Array(o);let s=0;for(const e of t)i.set(e,s),s+=e.length;return i}(e);const so={},ao={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),so[e]=t,ao[t]=e}function co(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const n=e.slice(r,r+2).toLowerCase();if(!(n in ao))throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`);t[r/2]=ao[n]}return t}function uo(e){let t="";for(let r=0;r<e.byteLength;r++)t+=so[e[r]];return t}const lo=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Xn.mutate(e);if(!e)return Xn.mutate(new Uint8Array);const r=t.streamCollector(e);return Xn.mutate(await r)};class go{constructor(){this.middlewareStack=Dn()}static classBuilder(){return new ho}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:o,commandName:i,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,smithyContext:c,additionalContext:u,CommandCtor:l}){for(const o of n.bind(this)(l,e,t,r))this.middlewareStack.use(o);const d=e.concat(this.middlewareStack),{logger:g}=t,h={logger:g,clientName:o,commandName:i,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,[Qt]:{commandInstance:this,...c},...u},{requestHandler:f}=t;return d.resolve((e=>f.handle(e.request,r||{})),h)}}class ho{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=e=>e,this._outputFilterSensitiveLog=e=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}build(){const e=this;let t;return t=class extends go{static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.serialize=e._serializer,this.deserialize=e._deserializer,this.input=t??{},e._init(this)}resolveMiddleware(r,n,o){return this.resolveMiddlewareWithContext(r,n,o,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog,outputFilterSensitiveLog:e._outputFilterSensitiveLog,smithyContext:e._smithyContext,additionalContext:e._additionalContext})}}}}const fo="***SensitiveInformation***",po=(Math.ceil(2**127*(2-2**-23)),e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}}),mo=e=>ko(e,32),ko=(e,t)=>{const r=po(e);if(void 0!==r&&bo(r,t)!==r)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return r},bo=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},vo=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return wo.warn(yo(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}},yo=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n"),wo={warn:console.warn};class _o extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,_o.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}const So=(e,t={})=>{Object.entries(t).filter((([,e])=>void 0!==e)).forEach((([t,r])=>{null!=e[t]&&""!==e[t]||(e[t]=r)}));const r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e},xo=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),Ao=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},Eo=e=>{const t=[];for(const r in Zt){const n=Zt[r];void 0!==e[n]&&t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}},Io=e=>{const t={};return e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()})),t},Ro=e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy:()=>t}},To=e=>{const t={};return t.retryStrategy=e.retryStrategy(),t},Mo=e=>({...Eo(e),...Ro(e)}),Po=function(){const e=Object.getPrototypeOf(this).constructor,t=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(t,e.prototype),t};Po.prototype=Object.create(String.prototype,{constructor:{value:Po,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(Po,String);function Co(e,t,r){let n,o,i;if(void 0===t&&void 0===r)n={},i=e;else{if(n=e,"function"==typeof t)return o=t,i=r,No(n,o,i);i=t}for(const e of Object.keys(i))Array.isArray(i[e])?Lo(n,null,i,e):n[e]=i[e];return n}const Oo=(e,t)=>{const r={};for(const n in t)Lo(r,e,t,n);return r},No=(e,t,r)=>Co(e,Object.entries(r).reduce(((e,[r,n])=>(Array.isArray(n)?e[r]=n:e[r]="function"==typeof n?[t,n()]:[t,n],e)),{})),Lo=(e,t,r,n)=>{if(null!==t){let o=r[n];"function"==typeof o&&(o=[,o]);const[i=Uo,s=$o,a=n]=o;return void(("function"==typeof i&&i(t[a])||"function"!=typeof i&&i)&&(e[n]=s(t[a])))}let[o,i]=r[n];if("function"==typeof i){let t;const r=void 0===o&&null!=(t=i()),s="function"==typeof o&&!!o(void 0)||"function"!=typeof o&&!!o;r?e[n]=t:s&&(e[n]=i())}else{const t=void 0===o&&null!=i,r="function"==typeof o&&!!o(i)||"function"!=typeof o&&!!o;(t||r)&&(e[n]=i)}},Uo=e=>null!=e,$o=e=>e;function Bo(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}const Fo=e=>e?.body instanceof ReadableStream,Do=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,jo=e=>{const t={error:e,errorType:Ho(e)},r=zo(e.$response);return r&&(t.retryAfterHint=r),t},Ho=e=>vn(e)?"THROTTLING":yn(e)?"TRANSIENT":(e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!yn(e)}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",qo={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},Vo=e=>({applyToStack:t=>{t.add((e=>(t,r)=>async n=>{let o=await e.retryStrategy();const i=await e.maxAttempts();if(!Do(o))return o?.mode&&(r.userAgent=[...r.userAgent||[],["cfg/retry-mode",o.mode]]),o.retry(t,n);{let e=await o.acquireInitialRetryToken(r.partition_id),s=new Error,a=0,c=0;const{request:u}=n,l=Xt.isInstance(u);for(l&&(u.headers[xn]=Ln());;)try{l&&(u.headers[An]=`attempt=${a+1}; max=${i}`);const{response:r,output:s}=await t(n);return o.recordSuccess(e),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,{response:r,output:s}}catch(t){const n=jo(t);if(s=Un(t),l&&Fo(u))throw(r.logger instanceof $n?console:r.logger)?.warn("An error was encountered in a non-retryable streaming request."),s;try{e=await o.refreshRetryTokenForRetry(e,n)}catch(e){throw s.$metadata||(s.$metadata={}),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,s}a=e.getRetryCount();const i=e.getRetryDelay();c+=i,await new Promise((e=>setTimeout(e,i)))}}})(e),qo)}}),zo=e=>{if(!er.isInstance(e))return;const t=Object.keys(e.headers).find((e=>"retry-after"===e.toLowerCase()));if(!t)return;const r=e.headers[t],n=Number(r);if(!Number.isNaN(n))return new Date(1e3*n);return new Date(r)},Wo={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:qo.name},Go=e=>({applyToStack:e=>{e.addRelativeTo(((e,t)=>async r=>{if(!Xt.isInstance(r.request))return e(r);const n=qr(t).selectedHttpAuthScheme;if(!n)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:o={}},identity:i,signer:s}=n,a=await e({...r,request:await s.sign(r.request,i,o)}).catch((s.errorHandler||dn)(o));return(s.successHandler||gn)(a.response,o),a}),Wo)}});class Zo{constructor(e){this.authSchemes=new Map;for(const[t,r]of Object.entries(e))void 0!==r&&this.authSchemes.set(t,r)}getIdentityProvider(e){return this.authSchemes.get(e)}}const Ko=(Qo=3e5,e=>Jo(e)&&e.expiration.getTime()-Date.now()<Qo);var Qo;const Jo=e=>void 0!==e.expiration,Yo=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t};function Xo(e,t){return new ei(e,t)}class ei{constructor(e,t){this.input=e,this.context=t,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:e,protocol:t="https",port:r,path:n}=await this.context.endpoint();this.path=n;for(const e of this.resolvePathStack)e(this.path);return new Xt({protocol:t,hostname:this.hostname||e,port:r,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(e){return this.hostname=e,this}bp(e){return this.resolvePathStack.push((t=>{this.path=`${t?.endsWith("/")?t.slice(0,-1):t||""}`+e})),this}p(e,t,r,n){return this.resolvePathStack.push((o=>{this.path=((e,t,r,n,o,i)=>{if(null==t||void 0===t[r])throw new Error("No value provided for input HTTP label: "+r+".");{const t=n();if(t.length<=0)throw new Error("Empty value provided for input HTTP label: "+r+".");e=e.replace(o,i?t.split("/").map((e=>Bo(e))).join("/"):Bo(t))}return e})(o,this.input,e,t,r,n)})),this}h(e){return this.headers=e,this}q(e){return this.query=e,this}b(e){return this.body=e,this}m(e){return this.method=e,this}}const ti="content-length";const ri={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},ni=e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{const n=t.request;if(Xt.isInstance(n)){const{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map((e=>e.toLowerCase())).indexOf(ti))try{const t=r(e);n.headers={...n.headers,[ti]:String(t)}}catch(e){}}return e({...t,request:n})}),ri)}}),oi=e=>"string"==typeof e?Qn(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),ii="X-Amz-Date",si="X-Amz-Signature",ai="X-Amz-Security-Token",ci="authorization",ui=ii.toLowerCase(),li=[ci,ui,"date"],di=si.toLowerCase(),gi="x-amz-content-sha256",hi=ai.toLowerCase(),fi={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},pi=/^proxy-/,mi=/^sec-/,ki="AWS4-HMAC-SHA256",bi="AWS4-HMAC-SHA256-PAYLOAD",vi="aws4_request",yi={},wi=[],_i=(e,t,r)=>`${e}/${t}/${r}/${vi}`,Si=(e,t,r)=>{const n=new e(t);return n.update(oi(r)),n.digest()},xi=({headers:e},t,r)=>{const n={};for(const o of Object.keys(e).sort()){if(null==e[o])continue;const i=o.toLowerCase();(i in fi||t?.has(i)||pi.test(i)||mi.test(i))&&(!r||r&&!r.has(i))||(n[i]=e[o].trim().replace(/\s+/g," "))}return n},Ai=async({headers:e,body:t},r)=>{for(const t of Object.keys(e))if(t.toLowerCase()===gi)return e[t];if(null==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||(n=t,"function"==typeof ArrayBuffer&&n instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(n))){const e=new r;return e.update(oi(t)),uo(await e.digest())}var n;return"UNSIGNED-PAYLOAD"};class Ei{format(e){const t=[];for(const r of Object.keys(e)){const n=Qn(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}const r=new Uint8Array(t.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":const n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":const o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6),o.setUint16(1,e.value.byteLength,!1);const i=new Uint8Array(o.buffer);return i.set(e.value,3),i;case"string":const s=Qn(e.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(s,3),c;case"timestamp":const u=new Uint8Array(9);return u[0]=8,u.set(Ti.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!Ri.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(co(e.value.replace(/\-/g,"")),1),l}}}var Ii;!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(Ii||(Ii={}));const Ri=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Ti{constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&Mi(t),new Ti(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&Mi(e),parseInt(uo(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Mi(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}const Pi=e=>{e=Xt.clone(e);for(const t of Object.keys(e.headers))li.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},Ci=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e;class Oi{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i=!0}){this.headerFormatter=new Ei,this.service=n,this.sha256=o,this.uriEscapePath=i,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=Vr(r),this.credentialProvider=Vr(t)}async presign(e,t={}){const{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:o,unhoistableHeaders:i,signableHeaders:s,signingRegion:a,signingService:c}=t,u=await this.credentialProvider();this.validateResolvedCredentials(u);const l=a??await this.regionProvider(),{longDate:d,shortDate:g}=Ni(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const h=_i(g,l,c??this.service),f=((e,t={})=>{const{headers:r,query:n={}}=Xt.clone(e);for(const e of Object.keys(r)){const o=e.toLowerCase();"x-amz-"!==o.slice(0,6)||t.unhoistableHeaders?.has(o)||(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}})(Pi(e),{unhoistableHeaders:i});u.sessionToken&&(f.query[ai]=u.sessionToken),f.query["X-Amz-Algorithm"]=ki,f.query["X-Amz-Credential"]=`${u.accessKeyId}/${h}`,f.query[ii]=d,f.query["X-Amz-Expires"]=n.toString(10);const p=xi(f,o,s);return f.query["X-Amz-SignedHeaders"]=Li(p),f.query[si]=await this.getSignature(d,h,this.getSigningKey(u,l,g,c),this.createCanonicalRequest(f,p,await Ai(e,this.sha256))),f}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:o,signingService:i}){const s=o??await this.regionProvider(),{shortDate:a,longDate:c}=Ni(r),u=_i(a,s,i??this.service),l=await Ai({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);const g=uo(await d.digest()),h=[bi,c,u,n,g,l].join("\n");return this.signString(h,{signingDate:r,signingRegion:s,signingService:i})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature}).then((t=>({message:e.message,signature:t})))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n}={}){const o=await this.credentialProvider();this.validateResolvedCredentials(o);const i=r??await this.regionProvider(),{shortDate:s}=Ni(t),a=new this.sha256(await this.getSigningKey(o,i,s,n));return a.update(oi(e)),uo(await a.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:o,signingService:i}={}){const s=await this.credentialProvider();this.validateResolvedCredentials(s);const a=o??await this.regionProvider(),c=Pi(e),{longDate:u,shortDate:l}=Ni(t),d=_i(l,a,i??this.service);c.headers[ui]=u,s.sessionToken&&(c.headers[hi]=s.sessionToken);const g=await Ai(c,this.sha256);!((e,t)=>{e=e.toLowerCase();for(const r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1})(gi,c.headers)&&this.applyChecksum&&(c.headers[gi]=g);const h=xi(c,n,r),f=await this.getSignature(u,d,this.getSigningKey(s,a,l,i),this.createCanonicalRequest(c,h,g));return c.headers[ci]=`${ki} Credential=${s.accessKeyId}/${d}, SignedHeaders=${Li(h)}, Signature=${f}`,c}createCanonicalRequest(e,t,r){const n=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${(({query:e={}})=>{const t=[],r={};for(const n of Object.keys(e).sort()){if(n.toLowerCase()===di)continue;t.push(n);const o=e[n];"string"==typeof o?r[n]=`${eo(n)}=${eo(o)}`:Array.isArray(o)&&(r[n]=o.slice(0).reduce(((e,t)=>e.concat([`${eo(n)}=${eo(t)}`])),[]).sort().join("&"))}return t.map((e=>r[e])).filter((e=>e)).join("&")})(e)}\n${n.map((e=>`${e}:${t[e]}`)).join("\n")}\n\n${n.join(";")}\n${r}`}async createStringToSign(e,t,r){const n=new this.sha256;n.update(oi(r));const o=await n.digest();return`${ki}\n${e}\n${t}\n${uo(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const r of e.split("/"))0!==r?.length&&"."!==r&&(".."===r?t.pop():t.push(r));const r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return eo(r).replace(/%2F/g,"/")}return e}async getSignature(e,t,r,n){const o=await this.createStringToSign(e,t,n),i=new this.sha256(await r);return i.update(oi(o)),uo(await i.digest())}getSigningKey(e,t,r,n){return(async(e,t,r,n,o)=>{const i=`${r}:${n}:${o}:${uo(await Si(e,t.secretAccessKey,t.accessKeyId))}:${t.sessionToken}`;if(i in yi)return yi[i];for(wi.push(i);wi.length>50;)delete yi[wi.shift()];let s=`AWS4${t.secretAccessKey}`;for(const t of[r,n,o,vi])s=await Si(e,s,t);return yi[i]=s})(this.sha256,e,r,t,n||this.service)}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw new Error("Resolved credential object is not valid")}}const Ni=e=>{const t=(r=e,Ci(r).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var r;return{longDate:t,shortDate:t.slice(0,8)}},Li=e=>Object.keys(e).sort().join(";"),Ui=e=>{let t;e.credentials&&(t=((e,t,r)=>{if(void 0===e)return;const n="function"!=typeof e?async()=>Promise.resolve(e):e;let o,i,s,a=!1;const c=async e=>{i||(i=n(e));try{o=await i,s=!0,a=!1}finally{i=void 0}return o};return void 0===t?async e=>(s&&!e?.forceRefresh||(o=await c(e)),o):async e=>(s&&!e?.forceRefresh||(o=await c(e)),a?o:r(o)?t(o)?(await c(e),o):o:(a=!0,o))})(e.credentials,Ko,Jo)),t||(t=e.credentialDefaultProvider?Yo(e.credentialDefaultProvider(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw new Error("`credentials` is missing")});const{signingEscapePath:r=!0,systemClockOffset:n=e.systemClockOffset||0,sha256:o}=e;let i;return i=e.signer?Yo(e.signer):e.regionInfoProvider?()=>Yo(e.region)().then((async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t])).then((([n,i])=>{const{signingRegion:s,signingService:a}=n;e.signingRegion=e.signingRegion||s||i,e.signingName=e.signingName||a||e.serviceId;const c={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:r};return new(e.signerConstructor||Oi)(c)})):async n=>{const i=(n=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await Yo(e.region)(),properties:{}},n)).signingRegion,s=n.signingName;e.signingRegion=e.signingRegion||i,e.signingName=e.signingName||s||e.serviceId;const a={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:r};return new(e.signerConstructor||Oi)(a)},{...e,systemClockOffset:n,signingEscapePath:r,credentials:t,signer:i}},$i=async(e,t,r)=>({operation:qr(t).operation,region:await Vr(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const Bi=e=>{const t=[];return e.operation,t.push(function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"bedrock",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}(e)),t},Fi={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Di="3.621.0";var ji="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:e=>(new TextEncoder).encode(e);function Hi(e){return e instanceof Uint8Array?e:"string"==typeof e?ji(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function qi(e){return"string"==typeof e?0===e.length:0===e.byteLength}var Vi={name:"SHA-256"},zi={name:"HMAC",hash:Vi},Wi=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);const Gi={};function Zi(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:Gi}var Ki=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!qi(e)){var t=Hi(e),r=new Uint8Array(this.toHash.byteLength+t.byteLength);r.set(this.toHash,0),r.set(t,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then((function(t){return Zi().crypto.subtle.sign(zi,t,e.toHash).then((function(e){return new Uint8Array(e)}))})):qi(this.toHash)?Promise.resolve(Wi):Promise.resolve().then((function(){return Zi().crypto.subtle.digest(Vi,e.toHash)})).then((function(e){return Promise.resolve(new Uint8Array(e))}))},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise((function(t,r){Zi().crypto.subtle.importKey("raw",Hi(e.secret),zi,!1,["sign"]).then(t,r)})),this.key.catch((function(){})))},e}();function Qi(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))}function Ji(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){s.label=a[1];break}if(6===a[0]&&s.label<o[1]){s.label=o[1],o=a;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(a);break}o[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}Object.create;function Yi(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;"function"==typeof SuppressedError&&SuppressedError;var Xi=64,es=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),ts=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],rs=Math.pow(2,53)-1,ns=function(){function e(){this.state=Int32Array.from(ts),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>rs)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===Xi&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%Xi>=56){for(var n=this.bufferLength;n<Xi;n++)t.setUint8(n,0);this.hashBuffer(),this.bufferLength=0}for(n=this.bufferLength;n<56;n++)t.setUint8(n,0);t.setUint32(56,Math.floor(e/4294967296),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}var o=new Uint8Array(32);for(n=0;n<8;n++)o[4*n]=this.state[n]>>>24&255,o[4*n+1]=this.state[n]>>>16&255,o[4*n+2]=this.state[n]>>>8&255,o[4*n+3]=this.state[n]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],o=t[2],i=t[3],s=t[4],a=t[5],c=t[6],u=t[7],l=0;l<Xi;l++){if(l<16)this.temp[l]=(255&e[4*l])<<24|(255&e[4*l+1])<<16|(255&e[4*l+2])<<8|255&e[4*l+3];else{var d=this.temp[l-2],g=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,h=((d=this.temp[l-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(g+this.temp[l-7]|0)+(h+this.temp[l-16]|0)}var f=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&a^~s&c)|0)+(u+(es[l]+this.temp[l]|0)|0)|0,p=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&o^n&o)|0;u=c,c=a,a=s,s=i+f|0,i=o,o=n,n=r,r=f+p|0}t[0]+=r,t[1]+=n,t[2]+=o,t[3]+=i,t[4]+=s,t[5]+=a,t[6]+=c,t[7]+=u},e}(),os=function(){function e(e){this.secret=e,this.hash=new ns,this.reset()}return e.prototype.update=function(e){if(!qi(e)&&!this.error)try{this.hash.update(Hi(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return Qi(this,void 0,void 0,(function(){return Ji(this,(function(e){return[2,this.digestSync()]}))}))},e.prototype.reset=function(){if(this.hash=new ns,this.secret){this.outer=new ns;var e=function(e){var t=Hi(e);if(t.byteLength>Xi){var r=new ns;r.update(t),t=r.digest()}var n=new Uint8Array(Xi);return n.set(t),n}(this.secret),t=new Uint8Array(Xi);t.set(e);for(var r=0;r<Xi;r++)e[r]^=54,t[r]^=92;this.hash.update(e),this.outer.update(t);for(r=0;r<e.byteLength;r++)e[r]=0}},e}();var is=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function ss(e){return e&&is.every((function(t){return"function"==typeof e[t]}))}var as=function(){function e(e){!function(e){return!(!function(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}(e)||"object"!=typeof e.crypto.subtle)&&ss(e.crypto.subtle)}(Zi())?this.hash=new os(e):this.hash=new Ki(e)}return e.prototype.update=function(e,t){this.hash.update(Hi(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}(),cs=r(369),us=r.n(cs);const ls=({serviceId:e,clientVersion:t})=>async()=>{const r="undefined"!=typeof window&&window?.navigator?.userAgent?us().parse(window.navigator.userAgent):void 0,n=[["aws-sdk-js",t],["ua","2.0"],[`os/${r?.os?.name||"other"}`,r?.os?.version],["lang/js"],["md/browser",`${r?.browser?.name??"unknown"}_${r?.browser?.version??"unknown"}`]];return e&&n.push([`api/${e}`,t]),n};!function(){function e(){this.crc32=new gs}e.prototype.update=function(e){qi(e)||this.crc32.update(Hi(e))},e.prototype.digest=function(){return Qi(this,void 0,void 0,(function(){return Ji(this,(function(e){return[2,(t=this.crc32.digest(),new Uint8Array([(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))];var t}))}))},e.prototype.reset=function(){this.crc32=new gs}}();var ds,gs=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,r;try{for(var n=Yi(e),o=n.next();!o.done;o=n.next()){var i=o.value;this.checksum=this.checksum>>>8^hs[255&(this.checksum^i)]}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(4294967295^this.checksum)>>>0},e}(),hs=function(e){if(!Uint32Array.from){for(var t=new Uint32Array(e.length),r=0;r<e.length;)t[r]=e[r],r+=1;return t}return Uint32Array.from(e)}([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);class fs{constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&ps(t),new fs(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&ps(e),parseInt(uo(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function ps(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class ms{constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){const t=[];for(const r of Object.keys(e)){const n=this.fromUtf8(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}const r=new Uint8Array(t.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":const n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":const o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6),o.setUint16(1,e.value.byteLength,!1);const i=new Uint8Array(o.buffer);return i.set(e.value,3),i;case"string":const s=this.fromUtf8(e.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(s,3),c;case"timestamp":const u=new Uint8Array(9);return u[0]=8,u.set(fs.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!Es.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(co(e.value.replace(/\-/g,"")),1),l}}parse(e){const t={};let r=0;for(;r<e.byteLength;){const n=e.getUint8(r++),o=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,n));switch(r+=n,e.getUint8(r++)){case 0:t[o]={type:ks,value:!0};break;case 1:t[o]={type:ks,value:!1};break;case 2:t[o]={type:bs,value:e.getInt8(r++)};break;case 3:t[o]={type:vs,value:e.getInt16(r,!1)},r+=2;break;case 4:t[o]={type:ys,value:e.getInt32(r,!1)},r+=4;break;case 5:t[o]={type:ws,value:new fs(new Uint8Array(e.buffer,e.byteOffset+r,8))},r+=8;break;case 6:const n=e.getUint16(r,!1);r+=2,t[o]={type:_s,value:new Uint8Array(e.buffer,e.byteOffset+r,n)},r+=n;break;case 7:const i=e.getUint16(r,!1);r+=2,t[o]={type:Ss,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,i))},r+=i;break;case 8:t[o]={type:xs,value:new Date(new fs(new Uint8Array(e.buffer,e.byteOffset+r,8)).valueOf())},r+=8;break;case 9:const s=new Uint8Array(e.buffer,e.byteOffset+r,16);r+=16,t[o]={type:As,value:`${uo(s.subarray(0,4))}-${uo(s.subarray(4,6))}-${uo(s.subarray(6,8))}-${uo(s.subarray(8,10))}-${uo(s.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return t}}!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(ds||(ds={}));const ks="boolean",bs="byte",vs="short",ys="integer",ws="long",_s="binary",Ss="string",xs="timestamp",As="uuid",Es=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Is{constructor(e,t){this.headerMarshaller=new ms(e,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(e){this.messageBuffer.push(this.decode(e))}endOfStream(){this.isEndOfStream=!0}getMessage(){const e=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage:()=>e,isEndOfStream:()=>t}}getAvailableMessages(){const e=this.messageBuffer;this.messageBuffer=[];const t=this.isEndOfStream;return{getMessages:()=>e,isEndOfStream:()=>t}}encode({headers:e,body:t}){const r=this.headerMarshaller.format(e),n=r.byteLength+t.byteLength+16,o=new Uint8Array(n),i=new DataView(o.buffer,o.byteOffset,o.byteLength),s=new gs;return i.setUint32(0,n,!1),i.setUint32(4,r.byteLength,!1),i.setUint32(8,s.update(o.subarray(0,8)).digest(),!1),o.set(r,12),o.set(t,r.byteLength+12),i.setUint32(n-4,s.update(o.subarray(8,n-4)).digest(),!1),o}decode(e){const{headers:t,body:r}=function({byteLength:e,byteOffset:t,buffer:r}){if(e<16)throw new Error("Provided message too short to accommodate event stream message overhead");const n=new DataView(r,t,e),o=n.getUint32(0,!1);if(e!==o)throw new Error("Reported message length does not match received message length");const i=n.getUint32(4,!1),s=n.getUint32(8,!1),a=n.getUint32(e-4,!1),c=(new gs).update(new Uint8Array(r,t,8));if(s!==c.digest())throw new Error(`The prelude checksum specified in the message (${s}) does not match the calculated CRC32 checksum (${c.digest()})`);if(c.update(new Uint8Array(r,t+8,e-12)),a!==c.digest())throw new Error(`The message checksum (${c.digest()}) did not match the expected value of ${a}`);return{headers:new DataView(r,t+8+4,i),body:new Uint8Array(r,t+8+4+i,o-i-16)}}(e);return{headers:this.headerMarshaller.parse(t),body:r}}formatHeaders(e){return this.headerMarshaller.format(e)}}class Rs{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.inputStream){const t=this.options.decoder.decode(e);yield t}}}class Ts{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.messageStream){const t=this.options.encoder.encode(e);yield t}this.options.includeEndFrame&&(yield new Uint8Array(0))}}class Ms{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.messageStream){const t=await this.options.deserializer(e);void 0!==t&&(yield t)}}}class Ps{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.inputStream){const t=this.options.serializer(e);yield t}}}function Cs(e,t){return async function(r){const{value:n}=r.headers[":message-type"];if("error"===n){const e=new Error(r.headers[":error-message"].value||"UnknownError");throw e.name=r.headers[":error-code"].value,e}if("exception"===n){const n=r.headers[":exception-type"].value,o={[n]:r},i=await e(o);if(i.$unknown){const e=new Error(t(r.body));throw e.name=n,e}throw i[n]}if("event"===n){const t={[r.headers[":event-type"].value]:r},n=await e(t);if(n.$unknown)return;return n}throw Error(`Unrecognizable event type: ${r.headers[":event-type"].value}`)}}class Os{constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new Is(e,t),this.utfEncoder=e}deserialize(e,t){const r=function(e){let t=0,r=0,n=null,o=null;const i=e=>{if("number"!=typeof e)throw new Error("Attempted to allocate an event message where size was not a number: "+e);t=e,r=4,n=new Uint8Array(e),new DataView(n.buffer).setUint32(0,e,!1)};return{[Symbol.asyncIterator]:async function*(){const s=e[Symbol.asyncIterator]();for(;;){const{value:e,done:a}=await s.next();if(a){if(!t)return;if(t!==r)throw new Error("Truncated event message received.");return void(yield n)}const c=e.length;let u=0;for(;u<c;){if(!n){const t=c-u;o||(o=new Uint8Array(4));const n=Math.min(4-r,t);if(o.set(e.slice(u,u+n),r),r+=n,u+=n,r<4)break;i(new DataView(o.buffer).getUint32(0,!1)),o=null}const s=Math.min(t-r,c-u);n.set(e.slice(u,u+s),r),r+=s,u+=s,t&&t===r&&(yield n,n=null,t=0,r=0)}}}}}(e);return new Ms({messageStream:new Rs({inputStream:r,decoder:this.eventStreamCodec}),deserializer:Cs(t,this.utfEncoder)})}serialize(e,t){return new Ts({messageStream:new Ps({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class Ns{constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new Os({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){const r=Ls(e)?(n=e,{[Symbol.asyncIterator]:async function*(){const e=n.getReader();try{for(;;){const{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}}):e;var n;return this.universalMarshaller.deserialize(r,t)}serialize(e,t){const r=this.universalMarshaller.serialize(e,t);return"function"==typeof ReadableStream?(e=>{const t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){const{done:r,value:n}=await t.next();if(r)return e.close();e.enqueue(n)}})})(r):r}}const Ls=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,Us=e=>new Ns(e),$s="function"==typeof TextEncoder?new TextEncoder:null,Bs=e=>{if("string"==typeof e){if($s)return $s.encode(e).byteLength;let t=e.length;for(let r=t-1;r>=0;r--){const n=e.charCodeAt(r);n>127&&n<=2047?t++:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&r--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw new Error(`Body Length computation failed for ${e}`)},Fs=e=>new Date(Date.now()+e),Ds=e=>er.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,js=(e,t)=>{const r=Date.parse(e);return((e,t)=>Math.abs(Fs(t).getTime()-e)>=3e5)(r,t)?r-Date.now():t},Hs=(e,t)=>{if(!t)throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t};class qs{async sign(e,t,r){if(!Xt.isInstance(e))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:n,signer:o,signingRegion:i,signingName:s}=await(async e=>{const t=Hs("context",e.context),r=Hs("config",e.config),n=t.endpointV2?.properties?.authSchemes?.[0],o=Hs("signer",r.signer),i=await o(n),s=e?.signingRegion,a=e?.signingName;return{config:r,signer:i,signingRegion:s,signingName:a}})(r);return await o.sign(e,{signingDate:Fs(n.systemClockOffset),signingRegion:i,signingService:s})}errorHandler(e){return t=>{const r=t.ServerTime??Ds(t.$response);if(r){const n=Hs("config",e.config),o=n.systemClockOffset;n.systemClockOffset=js(r,n.systemClockOffset);n.systemClockOffset!==o&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){const r=Ds(e);if(r){const e=Hs("config",t.config);e.systemClockOffset=js(r,e.systemClockOffset)}}}const Vs="required",zs="fn",Ws="argv",Gs="ref",Zs=!0,Ks="isSet",Qs="booleanEquals",Js="error",Ys="endpoint",Xs="tree",ea="PartitionResult",ta={[Vs]:!1,type:"String"},ra={[Vs]:!0,default:!1,type:"Boolean"},na={[Gs]:"Endpoint"},oa={[zs]:Qs,[Ws]:[{[Gs]:"UseFIPS"},!0]},ia={[zs]:Qs,[Ws]:[{[Gs]:"UseDualStack"},!0]},sa={},aa={[zs]:"getAttr",[Ws]:[{[Gs]:ea},"supportsFIPS"]},ca={[zs]:Qs,[Ws]:[!0,{[zs]:"getAttr",[Ws]:[{[Gs]:ea},"supportsDualStack"]}]},ua=[oa],la=[ia],da=[{[Gs]:"Region"}],ga={version:"1.0",parameters:{Region:ta,UseDualStack:ra,UseFIPS:ra,Endpoint:ta},rules:[{conditions:[{[zs]:Ks,[Ws]:[na]}],rules:[{conditions:ua,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Js},{rules:[{conditions:la,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Js},{endpoint:{url:na,properties:sa,headers:sa},type:Ys}],type:Xs}],type:Xs},{rules:[{conditions:[{[zs]:Ks,[Ws]:da}],rules:[{conditions:[{[zs]:"aws.partition",[Ws]:da,assign:ea}],rules:[{conditions:[oa,ia],rules:[{conditions:[{[zs]:Qs,[Ws]:[Zs,aa]},ca],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:sa,headers:sa},type:Ys}],type:Xs}],type:Xs},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Js}],type:Xs},{conditions:ua,rules:[{conditions:[{[zs]:Qs,[Ws]:[aa,Zs]}],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:sa,headers:sa},type:Ys}],type:Xs}],type:Xs},{error:"FIPS is enabled but this partition does not support FIPS",type:Js}],type:Xs},{conditions:la,rules:[{conditions:[ca],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:sa,headers:sa},type:Ys}],type:Xs}],type:Xs},{error:"DualStack is enabled but this partition does not support DualStack",type:Js}],type:Xs},{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:sa,headers:sa},type:Ys}],type:Xs}],type:Xs}],type:Xs},{error:"Invalid Configuration: Missing Region",type:Js}],type:Xs}]},ha=(e,t={})=>((e,t)=>{const{endpointParams:r,logger:n}=t,{parameters:o,rules:i}=e;t.logger?.debug?.(`${gr} Initial EndpointParams: ${hr(r)}`);const s=Object.entries(o).filter((([,e])=>null!=e.default)).map((([e,t])=>[e,t.default]));if(s.length>0)for(const[e,t]of s)r[e]=r[e]??t;const a=Object.entries(o).filter((([,e])=>e.required)).map((([e])=>e));for(const e of a)if(null==r[e])throw new fr(`Missing required parameter: '${e}'`);const c=Mr(i,{endpointParams:r,logger:n,referenceRecord:{}});if(t.endpointParams?.Endpoint)try{const e=new URL(t.endpointParams.Endpoint),{protocol:r,port:n}=e;c.url.protocol=r,c.url.port=n}catch(e){}return t.logger?.debug?.(`${gr} Resolved endpoint: ${hr(c)}`),c})(ga,{endpointParams:e,logger:t.logger});dr.aws=Nr;Error;const fa=["in-region","cross-region","mobile","standard","legacy"],pa=()=>{const e="undefined"!=typeof window&&window?.navigator?.userAgent?us().parse(window.navigator.userAgent):void 0,t=e?.platform?.type;return"tablet"===t||"mobile"===t},ma=e=>{const t=(({defaultsMode:e}={})=>((e,t,r)=>{let n,o,i,s=!1;const a=async()=>{o||(o=e());try{n=await o,i=!0,s=!1}finally{o=void 0}return n};return void 0===t?async e=>(i&&!e?.forceRefresh||(n=await a()),n):async e=>(i&&!e?.forceRefresh||(n=await a()),s?n:r&&!r(n)?(s=!0,n):t(n)?(await a(),n):n)})((async()=>{const t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve(pa()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${fa.join(", ")}, got ${t}`)}})))(e),r=()=>t().then(Ao),n=(e=>({apiVersion:"2023-09-30",base64Decoder:e?.base64Decoder??Kn,base64Encoder:e?.base64Encoder??Jn,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??ha,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Bi,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new qs}],logger:e?.logger??new $n,serviceId:e?.serviceId??"Bedrock Runtime",urlParser:e?.urlParser??en,utf8Decoder:e?.utf8Decoder??Qn,utf8Encoder:e?.utf8Encoder??Yn}))(e);return{...n,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Bs,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??ls({serviceId:n.serviceId,clientVersion:Di}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??Us,maxAttempts:e?.maxAttempts??3,region:e?.region??(o="Region is missing",()=>Promise.reject(o)),requestHandler:oo.create(e?.requestHandler??r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||fn),sha256:e?.sha256??as,streamCollector:e?.streamCollector??io,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(false))};var o},ka=e=>{let t=async()=>{if(void 0===e.region)throw new Error("Region is missing from runtimeConfig");const t=e.region;return"string"==typeof t?t:t()};return{setRegion(e){t=e},region:()=>t}},ba=e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider,n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));-1===r?t.push(e):t.splice(r,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider:()=>r,setCredentials(e){n=e},credentials:()=>n}},va=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});class ya extends qn{constructor(...[e]){const t=(e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"bedrock"}))(ma(e||{})),r=(e=>{const{region:t,useFipsEndpoint:r}=e;if(!t)throw new Error("Region is missing");return{...e,region:async()=>{if("string"==typeof t)return Wr(t);const e=await t();return Wr(e)},useFipsEndpoint:async()=>{const e="string"==typeof t?t:await t();return!!zr(e)||("function"!=typeof r?Promise.resolve(!!r):r())}}})(t),n=(e=>{const t=e.tls??!0,{endpoint:r}=e,n=null!=r?async()=>tn(await Vr(r)()):void 0,o=!!r;return{...e,endpoint:n,tls:t,isCustomEndpoint:o,useDualstackEndpoint:Vr(e.useDualstackEndpoint??!1),useFipsEndpoint:Vr(e.useFipsEndpoint??!1)}})(r);var o;const i=(e=>({...e,eventStreamMarshaller:e.eventStreamSerdeProvider(e)}))((e=>{const{retryStrategy:t}=e,r=Vr(e.maxAttempts??3);return{...e,maxAttempts:r,retryStrategy:async()=>t||(await Vr(e.retryMode)()===hn.ADAPTIVE?new Rn(r):new In(r))}})((o=n,{...o,customUserAgent:"string"==typeof o.customUserAgent?[[o.customUserAgent]]:o.customUserAgent})));const s=((e,t)=>{const r={...ka(e),...Mo(e),...Vt(e),...ba(e)};return t.forEach((e=>e.configure(r))),{...e,...(i=r,{region:i.region()}),...(o=r,{...Io(o),...To(o)}),...(n=r,{httpHandler:n.httpHandler()}),...va(r)};var n,o,i})({...Ui(i)},e?.extensions||[]);super(s),this.config=s,this.middlewareStack.use(rr(this.config)),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add(((e,t)=>async r=>{try{const n=await e(r),{clientName:o,commandName:i,logger:s,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:u}=a,l=c??t.inputFilterSensitiveLog,d=u??t.outputFilterSensitiveLog,{$metadata:g,...h}=n.output;return s?.info?.({clientName:o,commandName:i,input:l(r.input),output:d(h),metadata:g}),n}catch(e){const{clientName:n,commandName:o,logger:i,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:a}=s,c=a??t.inputFilterSensitiveLog;throw i?.error?.({clientName:n,commandName:o,input:c(r.input),error:e,metadata:e.$metadata}),e}}),nr)}})),this.middlewareStack.use(sr(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add(Fr(e),jr)}}))(this.config)),this.middlewareStack.use(Vo(this.config)),this.middlewareStack.use(ni(this.config)),this.middlewareStack.use(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(Gr(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),ln)}}))(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()})),this.middlewareStack.use(Go(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return $i}getIdentityProviderConfigProvider(){return async e=>new Zo({"aws.auth#sigv4":e.credentials})}}class wa extends _o{constructor(e){super(e),Object.setPrototypeOf(this,wa.prototype)}}class _a extends wa{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e}),this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,_a.prototype)}}var Sa;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):t._(e.$unknown[0],e.$unknown[1])}(Sa||(Sa={}));class xa extends wa{constructor(e){super({name:"InternalServerException",$fault:"server",...e}),this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,xa.prototype)}}class Aa extends wa{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,Aa.prototype)}}class Ea extends wa{constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e}),this.name="ServiceQuotaExceededException",this.$fault="client",Object.setPrototypeOf(this,Ea.prototype)}}class Ia extends wa{constructor(e){super({name:"ThrottlingException",$fault:"client",...e}),this.name="ThrottlingException",this.$fault="client",Object.setPrototypeOf(this,Ia.prototype)}}class Ra extends wa{constructor(e){super({name:"ValidationException",$fault:"client",...e}),this.name="ValidationException",this.$fault="client",Object.setPrototypeOf(this,Ra.prototype)}}var Ta;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):t._(e.$unknown[0],e.$unknown[1])}(Ta||(Ta={}));var Ma;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):t._(e.$unknown[0],e.$unknown[1])}(Ma||(Ma={}));var Pa,Ca;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):t._(e.$unknown[0],e.$unknown[1])}(Pa||(Pa={})),function(e){e.visit=(e,t)=>void 0!==e.json?t.json(e.json):void 0!==e.text?t.text(e.text):void 0!==e.image?t.image(e.image):void 0!==e.document?t.document(e.document):t._(e.$unknown[0],e.$unknown[1])}(Ca||(Ca={}));var Oa;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.image?t.image(e.image):void 0!==e.document?t.document(e.document):void 0!==e.toolUse?t.toolUse(e.toolUse):void 0!==e.toolResult?t.toolResult(e.toolResult):void 0!==e.guardContent?t.guardContent(e.guardContent):t._(e.$unknown[0],e.$unknown[1])}(Oa||(Oa={}));var Na,La,Ua,$a,Ba;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.guardContent?t.guardContent(e.guardContent):t._(e.$unknown[0],e.$unknown[1])}(Na||(Na={})),function(e){e.visit=(e,t)=>void 0!==e.auto?t.auto(e.auto):void 0!==e.any?t.any(e.any):void 0!==e.tool?t.tool(e.tool):t._(e.$unknown[0],e.$unknown[1])}(La||(La={})),function(e){e.visit=(e,t)=>void 0!==e.json?t.json(e.json):t._(e.$unknown[0],e.$unknown[1])}(Ua||(Ua={})),function(e){e.visit=(e,t)=>void 0!==e.toolSpec?t.toolSpec(e.toolSpec):t._(e.$unknown[0],e.$unknown[1])}($a||($a={})),function(e){e.visit=(e,t)=>void 0!==e.message?t.message(e.message):t._(e.$unknown[0],e.$unknown[1])}(Ba||(Ba={}));class Fa extends wa{constructor(e){super({name:"ModelErrorException",$fault:"client",...e}),this.name="ModelErrorException",this.$fault="client",Object.setPrototypeOf(this,Fa.prototype),this.originalStatusCode=e.originalStatusCode,this.resourceName=e.resourceName}}class Da extends wa{constructor(e){super({name:"ModelNotReadyException",$fault:"client",...e}),this.name="ModelNotReadyException",this.$fault="client",Object.setPrototypeOf(this,Da.prototype)}}class ja extends wa{constructor(e){super({name:"ModelTimeoutException",$fault:"client",...e}),this.name="ModelTimeoutException",this.$fault="client",Object.setPrototypeOf(this,ja.prototype)}}class Ha extends wa{constructor(e){super({name:"ServiceUnavailableException",$fault:"server",...e}),this.name="ServiceUnavailableException",this.$fault="server",Object.setPrototypeOf(this,Ha.prototype)}}var qa,Va,za;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.toolUse?t.toolUse(e.toolUse):t._(e.$unknown[0],e.$unknown[1])}(qa||(qa={})),function(e){e.visit=(e,t)=>void 0!==e.toolUse?t.toolUse(e.toolUse):t._(e.$unknown[0],e.$unknown[1])}(Va||(Va={}));class Wa extends wa{constructor(e){super({name:"ModelStreamErrorException",$fault:"client",...e}),this.name="ModelStreamErrorException",this.$fault="client",Object.setPrototypeOf(this,Wa.prototype),this.originalStatusCode=e.originalStatusCode,this.originalMessage=e.originalMessage}}!function(e){e.visit=(e,t)=>void 0!==e.messageStart?t.messageStart(e.messageStart):void 0!==e.contentBlockStart?t.contentBlockStart(e.contentBlockStart):void 0!==e.contentBlockDelta?t.contentBlockDelta(e.contentBlockDelta):void 0!==e.contentBlockStop?t.contentBlockStop(e.contentBlockStop):void 0!==e.messageStop?t.messageStop(e.messageStop):void 0!==e.metadata?t.metadata(e.metadata):void 0!==e.internalServerException?t.internalServerException(e.internalServerException):void 0!==e.modelStreamErrorException?t.modelStreamErrorException(e.modelStreamErrorException):void 0!==e.validationException?t.validationException(e.validationException):void 0!==e.throttlingException?t.throttlingException(e.throttlingException):void 0!==e.serviceUnavailableException?t.serviceUnavailableException(e.serviceUnavailableException):t._(e.$unknown[0],e.$unknown[1])}(za||(za={}));var Ga;!function(e){e.visit=(e,t)=>void 0!==e.chunk?t.chunk(e.chunk):void 0!==e.internalServerException?t.internalServerException(e.internalServerException):void 0!==e.modelStreamErrorException?t.modelStreamErrorException(e.modelStreamErrorException):void 0!==e.validationException?t.validationException(e.validationException):void 0!==e.throttlingException?t.throttlingException(e.throttlingException):void 0!==e.modelTimeoutException?t.modelTimeoutException(e.modelTimeoutException):void 0!==e.serviceUnavailableException?t.serviceUnavailableException(e.serviceUnavailableException):t._(e.$unknown[0],e.$unknown[1])}(Ga||(Ga={}));const Za=e=>({...e,...e.body&&{body:fo}}),Ka=e=>({...e,...e.body&&{body:fo}}),Qa=e=>({...e,...e.body&&{body:fo}}),Ja=e=>({...e,...e.body&&{body:"STREAMING_CONTENT"}}),Ya=(e,t)=>((e,t)=>lo(e,t).then((e=>t.utf8Encoder(e))))(e,t).then((e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw"SyntaxError"===t?.name&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}})),Xa=async(e,t)=>{const r=await Ya(e,t);return r.message=r.message??r.Message,r},ec=async(e,t)=>{const r=Xo(e,t),n=Co({},Rc,{[Pc]:e[Mc]||"application/octet-stream",[Tc]:e[Tc],[Fc]:e[Nc],[$c]:e[Cc],[Bc]:e[Oc]});let o;return r.bp("/model/{modelId}/invoke"),r.p("modelId",(()=>e.modelId),"{modelId}",!1),void 0!==e.body&&(o=e.body),r.m("POST").h(n).b(o),r.build()},tc=async(e,t)=>{const r=Xo(e,t),n=Co({},Rc,{[Pc]:e[Mc]||"application/octet-stream",[Lc]:e[Tc],[Fc]:e[Nc],[$c]:e[Cc],[Bc]:e[Oc]});let o;return r.bp("/model/{modelId}/invoke-with-response-stream"),r.p("modelId",(()=>e.modelId),"{modelId}",!1),void 0!==e.body&&(o=e.body),r.m("POST").h(n).b(o),r.build()},rc=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return oc(e,t);const r=Co({$metadata:Ic(e),[Mc]:[,e.headers[Pc]]}),n=await lo(e.body,t);return r.body=n,r},nc=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return oc(e,t);const r=Co({$metadata:Ic(e),[Mc]:[,e.headers[Uc]]}),n=e.body;return r.body=bc(n,t),r},oc=async(e,t)=>{const r={...e,body:await Xa(e.body,t)},n=((e,t)=>{const r=e=>{let t=e;return"number"==typeof t&&(t=t.toString()),t.indexOf(",")>=0&&(t=t.split(",")[0]),t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},n=(o=e.headers,i="x-amzn-errortype",Object.keys(o).find((e=>e.toLowerCase()===i.toLowerCase())));var o,i;return void 0!==n?r(e.headers[n]):void 0!==t.code?r(t.code):void 0!==t.__type?r(t.__type):void 0})(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await ac(r,t);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await cc(r,t);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await hc(r,t);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await fc(r,t);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await mc(r,t);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await kc(r,t);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await uc(r,t);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await lc(r,t);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await gc(r,t);case"ServiceUnavailableException":case"com.amazonaws.bedrockruntime#ServiceUnavailableException":throw await pc(r,t);case"ModelStreamErrorException":case"com.amazonaws.bedrockruntime#ModelStreamErrorException":throw await dc(r,t);default:const o=r.body;return ic({output:e,parsedBody:o,errorCode:n})}},ic=(sc=wa,({output:e,parsedBody:t,errorCode:r})=>{(({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{const o=xo(e),i=o.httpStatusCode?o.httpStatusCode+"":void 0,s=new r({name:t?.code||t?.Code||n||i||"UnknownError",$fault:"client",$metadata:o});throw So(s,t)})({output:e,parsedBody:t,exceptionCtor:sc,errorCode:r})});var sc;const ac=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new _a({$metadata:Ic(e),...r});return So(i,e.body)},cc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new xa({$metadata:Ic(e),...r});return So(i,e.body)},uc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo,originalStatusCode:mo,resourceName:vo});Object.assign(r,o);const i=new Fa({$metadata:Ic(e),...r});return So(i,e.body)},lc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new Da({$metadata:Ic(e),...r});return So(i,e.body)},dc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo,originalMessage:vo,originalStatusCode:mo});Object.assign(r,o);const i=new Wa({$metadata:Ic(e),...r});return So(i,e.body)},gc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new ja({$metadata:Ic(e),...r});return So(i,e.body)},hc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new Aa({$metadata:Ic(e),...r});return So(i,e.body)},fc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new Ea({$metadata:Ic(e),...r});return So(i,e.body)},pc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new Ha({$metadata:Ic(e),...r});return So(i,e.body)},mc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new Ia({$metadata:Ic(e),...r});return So(i,e.body)},kc=async(e,t)=>{const r=Co({}),n=e.body,o=Oo(n,{message:vo});Object.assign(r,o);const i=new Ra({$metadata:Ic(e),...r});return So(i,e.body)},bc=(e,t)=>t.eventStreamMarshaller.deserialize(e,(async r=>null!=r.chunk?{chunk:await _c(r.chunk,t)}:null!=r.internalServerException?{internalServerException:await vc(r.internalServerException,t)}:null!=r.modelStreamErrorException?{modelStreamErrorException:await yc(r.modelStreamErrorException,t)}:null!=r.validationException?{validationException:await Ac(r.validationException,t)}:null!=r.throttlingException?{throttlingException:await xc(r.throttlingException,t)}:null!=r.modelTimeoutException?{modelTimeoutException:await wc(r.modelTimeoutException,t)}:null!=r.serviceUnavailableException?{serviceUnavailableException:await Sc(r.serviceUnavailableException,t)}:{$unknown:e})),vc=async(e,t)=>{const r={...e,body:await Ya(e.body,t)};return cc(r,t)},yc=async(e,t)=>{const r={...e,body:await Ya(e.body,t)};return dc(r,t)},wc=async(e,t)=>{const r={...e,body:await Ya(e.body,t)};return gc(r,t)},_c=async(e,t)=>{const r={},n=await Ya(e.body,t);return Object.assign(r,Ec(n,t)),r},Sc=async(e,t)=>{const r={...e,body:await Ya(e.body,t)};return pc(r,t)},xc=async(e,t)=>{const r={...e,body:await Ya(e.body,t)};return mc(r,t)},Ac=async(e,t)=>{const r={...e,body:await Ya(e.body,t)};return kc(r,t)},Ec=(e,t)=>Oo(e,{bytes:t.base64Decoder}),Ic=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),Rc=e=>!(null==e||""===e||Object.getOwnPropertyNames(e).includes("length")&&0==e.length||Object.getOwnPropertyNames(e).includes("size")&&0==e.size),Tc="accept",Mc="contentType",Pc="content-type",Cc="guardrailIdentifier",Oc="guardrailVersion",Nc="trace",Lc="x-amzn-bedrock-accept",Uc="x-amzn-bedrock-content-type",$c="x-amzn-bedrock-guardrailidentifier",Bc="x-amzn-bedrock-guardrailversion",Fc="x-amzn-bedrock-trace";class Dc extends(go.classBuilder().ep({...Fi}).m((function(e,t,r,n){return[an(r,this.serialize,this.deserialize),un(r,e.getEndpointParameterInstructions())]})).s("AmazonBedrockFrontendService","InvokeModelWithResponseStream",{eventStream:{output:!0}}).n("BedrockRuntimeClient","InvokeModelWithResponseStreamCommand").f(Qa,Ja).ser(tc).de(nc).build()){}class jc extends(go.classBuilder().ep({...Fi}).m((function(e,t,r,n){return[an(r,this.serialize,this.deserialize),un(r,e.getEndpointParameterInstructions())]})).s("AmazonBedrockFrontendService","InvokeModel",{}).n("BedrockRuntimeClient","InvokeModelCommand").f(Za,Ka).ser(ec).de(rc).build()){}const Hc=qc;function qc(e,t){const r=zc();return(qc=function(e,t){return r[e-=453]})(e,t)}!function(e){const t=qc,r=e();for(;;)try{if(369060===parseInt(t(454))/1+-parseInt(t(513))/2+parseInt(t(503))/3*(parseInt(t(528))/4)+-parseInt(t(502))/5*(-parseInt(t(507))/6)+parseInt(t(506))/7+parseInt(t(464))/8+-parseInt(t(511))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(zc);class Vc extends Ft{static get[Hc(463)](){return Hc(467)}constructor(e){const t=Hc;super(e),e[t(492)][t(531)](t(458))||e[t(492)][t(524)](t(458),{model:t(487),max_tokens_to_sample:2e3,temperature:1,top_p:1,top_k:250,anthropic_version:t(519),stream:!0}),this[t(526)]=e[t(492)][t(531)](t(504)),this[t(488)]=e[t(492)][t(531)](t(516)),this[t(493)]=e[t(492)][t(531)](t(457)),this[t(533)]=e[t(492)][t(531)](t(458))}async[Hc(510)]({query:e,context:t,onData:r,actionId:n}){const o=Hc,{model:i,stream:s,...a}=await this[o(500)](this[o(533)],n),c={prompt:await this[o(509)](e,t,i,n),...a};this[o(526)]?await this[o(483)](c,i,s,r,n):await this[o(468)](c,i,s,r)}async[Hc(509)](e,t,r,n){const o=Hc;let i,s;return t?(i=o(479),s=o(532)+e+o(491)+t):(i=o(517),s=e),o(473)==this[o(482)](r)?o(474)+i+o(472)+s+o(476):o(495)+i+"\n"+s+o(508)}[Hc(482)](e){const t=Hc;if(/^anthropic\.claude/[t(525)](e))return t(462);if(/^ai21\.j2/[t(525)](e))return t(469);if(/^cohere\.command/[t(525)](e))return t(459);if(/^meta\.llama/[t(525)](e))return t(473);throw new H(q(this[t(529)][t(461)],t(521),e))}async[Hc(483)](e,t,r,n,o){const i=Hc,s={method:i(489),headers:await this[i(480)](this[i(493)],o),body:JSON[i(460)]({...e,model:t,stream:r}),signal:this[i(497)][i(475)]},a=await fetch(this[i(526)],s);r?await this[i(490)](a,t,n):await this[i(481)](a,t,n)}async[Hc(468)](e,t,r,n){const o=Hc,i=new ya(this[o(488)]),s={body:JSON[o(460)](e),contentType:o(498),accept:o(498),modelId:t};let a;if(r){const e=new Dc(s);a=await i[o(456)](e,{abortSignal:this[o(497)][o(475)]}),await this[o(485)](a,t,n)}else{const e=new jc(s);a=await i[o(456)](e,{abortSignal:this[o(497)][o(475)]}),await this[o(481)](a,t,n)}}async[Hc(485)](e,t,r){const n=Hc,o=e[n(515)],i=new TextDecoder(n(530));let s="";for await(const e of o)if(e[n(523)]){const o=i[n(466)](e[n(523)][n(505)]),a=JSON[n(499)](o);s+=this[n(453)](a,t),r(s)}return Promise[n(496)]()}async[Hc(490)](e,t,r){const n=Hc,o=e[n(515)],i=new TextDecoder(n(530)),s=o[n(520)]();let a="",c="",u=!1;for(;!u;){const{done:e,value:o}=await s[n(501)]();if(u=e,u)break;const l=(a+i[n(466)](o))[n(518)]("\n")[n(470)]((e=>{const t=n;try{return a="",JSON[t(499)](e)}catch(t){return a=e,null}}))[n(534)]((e=>null!==e));l[n(512)]&&(c+=l[n(470)]((e=>this[n(453)](e,t)))[n(522)](""),r(c))}return Promise[n(496)]()}async[Hc(481)](e,t,r){const n=Hc;let o;return o=e instanceof Response?await e[n(527)]():JSON[n(499)](Buffer[n(465)](e[n(515)])[n(471)](n(494))),r(this[n(453)](o,t)),Promise[n(496)]()}[Hc(453)](e,t){const r=Hc;switch(this[r(482)](t)){case r(462):return e[r(477)];case r(469):return e[r(514)][0][r(486)][r(484)];case r(459):return e[r(455)][0][r(484)];case r(473):return e[r(478)]}}}function zc(){const e=["415024csydoI","generations","send","ai.aws.requestHeaders","ai.aws.requestParameters","cohere.command","stringify","locale","anthropic.claude","pluginName","1308680wmHfng","from","decode","AWSTextAdapter","_processAWSRequest","ai21.j2","map","toString","\n<</SYS>>\n[INST]\n","meta.llama","<<SYS>>\n","signal","\n[/INST]","completion","generation","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","_prepareRequestHeaders","_readStaticResponse","getModelFamily","_processProxyRequest","text","_readAsyncIterableResponse","data","anthropic.claude-v2","_bedrockClientConfig","POST","_readStreamableResponse","\nYou must keep the text formatting.\n\nContent:\n","config","_requestHeaders","utf8","Human:\n","resolve","abortController","application/json","parse","_prepareRequestParameters","read","5mJJSUe","921867sdGPJz","ai.aws.apiUrl","bytes","1469986LudStn","2459292DOqiWN","\n\nAssistant:","preparePrompt","sendRequest","6553152ihydrQ","length","1431758wdTlBe","completions","body","ai.aws.bedrockClientConfig","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","split","bedrock-2023-05-31","getReader","AI_ERROR_UNSUPPORTED_MODEL","join","chunk","define","test","_apiUrl","json","8NUuiyX","editor","utf-8","get","Instruction:\n","_requestParameters","filter","_getGeneratedText"];return(zc=function(){return e})()}function Wc(){var e=["24GtZlEO","4952630tdrtGp","9TIYogW","1174406GUadaT","60779WJSxhd","161288ISBREw","112395KgTeaf","5118792UZptok","90oPsMNo","3488471OEWvCh"];return(Wc=function(){return e})()}function Gc(e,t){var r=Wc();return(Gc=function(e,t){return r[e-=404]})(e,t)}!function(e){for(var t=Gc,r=e();;)try{if(341988===parseInt(t(409))/1+parseInt(t(408))/2+-parseInt(t(405))/3*(parseInt(t(410))/4)+-parseInt(t(411))/5*(parseInt(t(413))/6)+parseInt(t(404))/7+-parseInt(t(412))/8+parseInt(t(407))/9*(parseInt(t(406))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Wc)})(),(window.CKEditor5=window.CKEditor5||{}).ai=n})();
|
|
5
|
+
*/(()=>{var e={369:function(e){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}({17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=r(18),o=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var o=e.getVersionPrecision(t),i=e.getVersionPrecision(r),s=Math.max(o,i),a=0,c=e.map([t,r],(function(t){var r=s-e.getVersionPrecision(t),n=t+new Array(r+1).join(".0");return e.map(n.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(n&&(a=s-Math.min(o,i)),s-=1;s>=a;){if(c[0][s]>c[1][s])return 1;if(c[0][s]===c[1][s]){if(s===a)return 0;s-=1}else if(c[0][s]<c[1][s])return-1}},e.map=function(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r<e.length;r+=1)n.push(t(e[r]));return n},e.find=function(e,t){var r,n;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(r=0,n=e.length;r<n;r+=1){var o=e[r];if(t(o,r))return o}},e.assign=function(e){for(var t,r,n=e,o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[e].concat(i));var a=function(){var e=i[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach((function(t){n[t]=e[t]}))};for(t=0,r=i.length;t<r;t+=1)a();return e},e.getBrowserAlias=function(e){return n.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return n.BROWSER_MAP[e]||""},e}();t.default=o,e.exports=t.default},18:function(e,t,r){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(91))&&n.__esModule?n:{default:n},i=r(18);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function e(){}var t,r,n;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new o.default(e,t)},e.parse=function(e){return new o.default(e).getResult()},t=e,n=[{key:"BROWSER_MAP",get:function(){return i.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return i.ENGINE_MAP}},{key:"OS_MAP",get:function(){return i.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return i.PLATFORMS_MAP}}],(r=null)&&s(t.prototype,r),n&&s(t,n),e}();t.default=a,e.exports=t.default},91:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=c(r(92)),o=c(r(93)),i=c(r(94)),s=c(r(95)),a=c(r(17));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=a.default.find(n.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=a.default.find(o.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=a.default.find(i.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=a.default.find(s.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return a.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,r={},n=0,o={},i=0;if(Object.keys(e).forEach((function(t){var s=e[t];"string"==typeof s?(o[t]=s,i+=1):"object"==typeof s&&(r[t]=s,n+=1)})),n>0){var s=Object.keys(r),c=a.default.find(s,(function(e){return t.isOS(e)}));if(c){var u=this.satisfies(r[c]);if(void 0!==u)return u}var l=a.default.find(s,(function(e){return t.isPlatform(e)}));if(l){var d=this.satisfies(r[l]);if(void 0!==d)return d}}if(i>0){var g=Object.keys(o),h=a.default.find(g,(function(e){return t.isBrowser(e,!0)}));if(void 0!==h)return this.compareVersion(o[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),o=a.default.getBrowserTypeByAlias(n);return t&&o&&(n=o.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,o=this.getBrowserVersion();if("string"==typeof o)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(n=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(a.default.compareVersions(o,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=u,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},i=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=o.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=o.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=o.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=o.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=o.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=o.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=o.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=o.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=o.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=o.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=o.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=o.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=o.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=o.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=o.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=o.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=o.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=o.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=o.default.getFirstMatch(i,e)||o.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=o.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=o.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=o.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=o.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=o.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=o.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=o.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=o.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=o.default.getFirstMatch(i,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:o.default.getFirstMatch(t,e),version:o.default.getSecondMatch(t,e)}}}];t.default=s,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},i=r(18),s=[{test:[/Roku\/DVP/],describe:function(e){var t=o.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:i.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=o.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=o.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=o.default.getWindowsVersionName(t);return{name:i.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:i.OS_MAP.iOS},r=o.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=o.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=o.default.getMacOSVersionName(t),n={name:i.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=o.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:i.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=o.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=o.default.getAndroidVersionName(t),n={name:i.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=o.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:i.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=o.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||o.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||o.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:i.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=o.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=o.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:i.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:i.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=o.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:i.OS_MAP.PlayStation4,version:t}}}];t.default=s,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},i=r(18),s=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=o.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:i.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:i.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=o.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:i.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:i.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:i.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:i.PLATFORMS_MAP.tv}}}];t.default=s,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},i=r(18),s=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:i.ENGINE_MAP.Blink};var t=o.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:i.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:i.ENGINE_MAP.Trident},r=o.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:i.ENGINE_MAP.Presto},r=o.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:i.ENGINE_MAP.Gecko},r=o.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:i.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:i.ENGINE_MAP.WebKit},r=o.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=s,e.exports=t.default}})},142:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck.ck-aria-description{display:none}",""]);const i=o},507:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content pre>code.ck-suggestion-marker-formatBlock{box-shadow:-7px 0 0 0 #ededed,-10px 0 0 0 var(--ck-color-suggestion-marker-format-border);display:block}.ck-content pre>code.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 #ededed,-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}",""]);const i=o},967:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-horizontal-line.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const i=o},258:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.image>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image img{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-deletion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image,.ck-content .ck-suggestion-marker-insertion.ck-widget.image figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-insertion.ck-widget.image.ck-suggestion-marker--active figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const i=o},906:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.media .ck-media__wrapper{opacity:.6}.ck-content .ck-suggestion-marker-deletion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.media.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const i=o},938:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-comment-marker.ck-widget.ck-merge-field,.ck-content .ck-suggestion-marker.ck-widget.ck-merge-field{border-width:2px;border-left:none;border-right:none;padding-bottom:0;padding-top:0}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom-color:var(--ck-color-suggestion-marker-deletion-border);border-top-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field :not(.ck-merge-field__affix),.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-value,.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-merge-field_with-warning{text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field{background-color:var(--ck-color-suggestion-marker-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-merge-field.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-marker-insertion-background-active)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field{background:var(--ck-color-comment-marker)}.ck-content .ck-comment-marker.ck-widget.ck-merge-field.ck-comment-marker--active{background:var(--ck-color-comment-marker-active)}.ck-content span.ck-comment-marker:has(+.ck-comment-marker.ck-widget.ck-merge-field),.ck-content span.ck-suggestion-marker:has(+.ck-suggestion-marker.ck-widget.ck-merge-field){margin-right:-1px;padding-right:1px}",""]);const i=o},751:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,".ck-content .ck-suggestion-marker-deletion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.ck-widget.page-break.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}",""]);const i=o},901:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-color-suggestion-widget-th-insertion-background:rgba(102,229,119,.12);--ck-color-suggestion-widget-th-insertion-background-active:rgba(37,218,61,.14);--ck-color-suggestion-widget-th-deletion-background:rgba(229,102,134,.14);--ck-color-suggestion-widget-th-deletion-background-active:rgba(196,33,74,.16)}.ck-content figure.table .ck-suggestion-marker-formatBlock{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content figure.table .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-3px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background);border:none}.ck-content .ck-widget.table>figcaption.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.table{border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background);border-color:var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table{border-color:var(--ck-color-suggestion-marker-deletion-border)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background)}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background);border-color:var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>figcaption{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>th,.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>thead>tr>th{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active.table>table>tbody>tr>td{background-color:var(--ck-color-suggestion-widget-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .table th.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-th-insertion-background)}.ck-content .table th.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-insertion-background-active)}.ck-content .table th.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-th-deletion-background);text-decoration:none}.ck-content .table th.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-th-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-insertion{background-color:var(--ck-color-suggestion-widget-insertion-background)}.ck-content .table td.ck-suggestion-marker-insertion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-insertion-background-active)}.ck-content .table td.ck-suggestion-marker-deletion{background-color:var(--ck-color-suggestion-widget-deletion-background);text-decoration:none}.ck-content .table td.ck-suggestion-marker-deletion.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-deletion-background-active)}.ck-content .table td.ck-suggestion-marker-formatBlock,.ck-content .table td.ck-suggestion-marker-formatInline,.ck-content .table th.ck-suggestion-marker-formatBlock,.ck-content .table th.ck-suggestion-marker-formatInline{background-color:var(--ck-color-suggestion-widget-format-background);box-shadow:none}.ck-content .table td.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table td.ck-suggestion-marker-formatInline.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content .table th.ck-suggestion-marker-formatInline.ck-suggestion-marker--active{background-color:var(--ck-color-suggestion-widget-format-background-active);box-shadow:none}",""]);const i=o},961:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-color-comment-box-border:#f2de02;--ck-color-suggestion-box-deletion-border:#d85a79;--ck-color-suggestion-box-insertion-border:#5ad86b;--ck-color-suggestion-box-format-border:#5ac1d8}.ck .ck-suggestion{border-top-left-radius:var(--ck-border-radius)}.ck .ck-suggestion:focus{background:var(--ck-color-button-default-hover-background);outline:none}.ck .ck-annotation{border-left:3px solid transparent}.ck .ck-suggestion--disabled-comments .ck-annotation{min-height:80px}.ck .ck-comment,.ck .ck-comment__input-container,.ck .ck-thread__comment-count,.ck .ck-thread__header{border-left:3px solid var(--ck-color-comment-box-border)}.ck .ck-suggestion-insertion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-replace .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-format .ck-suggestion{border-left-color:var(--ck-color-suggestion-box-format-border)}.ck .ck-suggestion-wrapper{border-radius:0}.ck .ck-suggestion-wrapper.ck-rounded-corners,.ck-rounded-corners .ck .ck-suggestion-wrapper{border-radius:var(--ck-border-radius)}.ck .ck-suggestion-wrapper{overflow:hidden}.ck .ck-suggestion-wrapper:focus{box-shadow:0 0 0 4px var(--ck-color-focus-outer-shadow);outline:var(--ck-focus-ring)}.ck-balloon-panel:has(.ck-suggestion-wrapper:focus){border:var(--ck-focus-ring);box-shadow:var(--ck-drop-shadow),var(--ck-focus-outer-shadow);outline:none}.ck .ck-suggestion-type{font-weight:700}.ck .ck-suggestion-color{border-radius:14px;box-shadow:0 0 0 1px #454545;display:inline-block;height:14px;margin:0 5px;vertical-align:text-bottom;width:14px}.ck .ck-suggestion-insertion .ck-comment,.ck .ck-suggestion-insertion .ck-comment__input-container,.ck .ck-suggestion-insertion .ck-thread__comment-count,.ck .ck-suggestion-replace .ck-comment,.ck .ck-suggestion-replace .ck-comment__input-container,.ck .ck-suggestion-replace .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-suggestion-deletion .ck-comment,.ck .ck-suggestion-deletion .ck-comment__input-container,.ck .ck-suggestion-deletion .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-suggestion-format .ck-comment,.ck .ck-suggestion-format .ck-comment__input-container,.ck .ck-suggestion-format .ck-thread__comment-count{border-left-color:var(--ck-color-suggestion-box-format-border)}",""]);const i=o},163:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,':root{--ck-color-suggestion-marker-insertion-border:rgba(30,174,49,.35);--ck-color-suggestion-marker-insertion-border-active:rgba(18,109,31,.5);--ck-color-suggestion-marker-insertion-background:rgba(102,229,119,.35);--ck-color-suggestion-marker-insertion-background-active:rgba(37,218,61,.5);--ck-color-suggestion-marker-deletion-border:rgba(174,30,66,.35);--ck-color-suggestion-marker-deletion-border-active:rgba(109,18,41,.5);--ck-color-suggestion-marker-deletion-background:rgba(229,102,134,.35);--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.5);--ck-color-suggestion-marker-deletion-stroke:rgba(87,15,33,.5);--ck-color-suggestion-marker-format-border:#99d7e6;--ck-color-suggestion-marker-format-border-active:#5cc0d6;--ck-color-suggestion-widget-insertion-background:rgba(102,229,119,.05);--ck-color-suggestion-widget-insertion-background-active:rgba(37,218,61,.07);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.05);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.07);--ck-color-suggestion-widget-format-background:rgba(10,160,194,.09);--ck-color-suggestion-widget-format-background-active:rgba(10,160,194,.16)}.ck-content .ck-suggestion-marker-insertion{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck-content .ck-suggestion-marker-insertion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-insertion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-insertion-border);text-decoration:none}.ck-content .ck-suggestion-marker-insertion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-deletion{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke);text-decoration-thickness:3px}.ck-content .ck-suggestion-marker-deletion.ck-suggestion-marker--active{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-deletion.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-deletion-border);text-decoration:none}.ck-content .ck-suggestion-marker-deletion.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-merge:after{background:var(--ck-color-suggestion-marker-deletion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-deletion-border);border-top:3px solid var(--ck-color-suggestion-marker-deletion-border);color:var(--ck-color-suggestion-marker-deletion-stroke);content:"¶";text-decoration:line-through;text-decoration-color:var(--ck-color-suggestion-marker-deletion-stroke)}.ck-content .ck-suggestion-marker-merge.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-deletion-background-active);border-color:var(--ck-color-suggestion-marker-deletion-border-active)}.ck-content .ck-suggestion-marker-split:after{background:var(--ck-color-suggestion-marker-insertion-background);border-bottom:3px solid var(--ck-color-suggestion-marker-insertion-border);border-top:3px solid var(--ck-color-suggestion-marker-insertion-border);color:var(--ck-color-suggestion-marker-insertion-border);content:"¶"}.ck-content .ck-suggestion-marker-split.ck-suggestion-marker--active:after{background:var(--ck-color-suggestion-marker-insertion-background-active);border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck-content .ck-suggestion-marker-formatInline{border-bottom:3px solid var(--ck-color-suggestion-marker-format-border);border-top:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatInline.ck-widget{background:none;border:3px solid var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatInline.ck-widget.ck-suggestion-marker--active{border-color:var(--ck-color-suggestion-marker-format-border-active)}.ck-content .ck-suggestion-marker-formatBlock{background:none;border:0;box-shadow:-7px 0 0 0 var(--ck-color-base-background),-10px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-5px 0 0 0 var(--ck-color-base-background),-8px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}.ck-content ol .ck-suggestion-marker-formatBlock,.ck-content ul .ck-suggestion-marker-formatBlock{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border)}.ck-content ol .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active,.ck-content ul .ck-suggestion-marker-formatBlock.ck-suggestion-marker--active{box-shadow:-2px 0 0 0 var(--ck-color-base-background),-5px 0 0 0 var(--ck-color-suggestion-marker-format-border-active)}',""]);const i=o},332:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-user-colors--0:#6d78e8;--ck-user-colors--0-alpha:rgba(109,120,232,.15);--ck-user-colors--1:#007a6c;--ck-user-colors--1-alpha:rgba(0,122,108,.15);--ck-user-colors--2:#ba4545;--ck-user-colors--2-alpha:rgba(186,69,69,.15);--ck-user-colors--3:#5635b1;--ck-user-colors--3-alpha:rgba(86,53,177,.15);--ck-user-colors--4:#548a2e;--ck-user-colors--4-alpha:rgba(84,138,46,.15);--ck-user-colors--5:#c3185d;--ck-user-colors--5-alpha:rgba(195,24,93,.15);--ck-user-colors--6:#ea4343;--ck-user-colors--6-alpha:rgba(234,67,67,.15);--ck-user-colors--7:#0bc3d0;--ck-user-colors--7-alpha:rgba(11,195,208,.15);--ck-user-dot-size:6px}.ck .ck-user__color--0{color:var(--ck-user-colors--0)}.ck .ck-user__bg-color--0{background-color:var(--ck-user-colors--0)}.ck .ck-user__selection--0{background-color:var(--ck-user-colors--0-alpha)}.ck .ck-user__selection--0.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--0)}.ck .ck-user__marker--0,.ck .ck-user__marker--0 .ck-user__marker-dot,.ck .ck-user__marker--0 .ck-user__marker-dot::selection,.ck .ck-user__marker--0 .ck-user__marker-tooltip,.ck .ck-user__marker--0 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--0::selection{background-color:var(--ck-user-colors--0)}.ck .ck-user__marker--0 .ck-user__marker-line{border:1px solid var(--ck-user-colors--0)}.ck .ck-user__color--1{color:var(--ck-user-colors--1)}.ck .ck-user__bg-color--1{background-color:var(--ck-user-colors--1)}.ck .ck-user__selection--1{background-color:var(--ck-user-colors--1-alpha)}.ck .ck-user__selection--1.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--1)}.ck .ck-user__marker--1,.ck .ck-user__marker--1 .ck-user__marker-dot,.ck .ck-user__marker--1 .ck-user__marker-dot::selection,.ck .ck-user__marker--1 .ck-user__marker-tooltip,.ck .ck-user__marker--1 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--1::selection{background-color:var(--ck-user-colors--1)}.ck .ck-user__marker--1 .ck-user__marker-line{border:1px solid var(--ck-user-colors--1)}.ck .ck-user__color--2{color:var(--ck-user-colors--2)}.ck .ck-user__bg-color--2{background-color:var(--ck-user-colors--2)}.ck .ck-user__selection--2{background-color:var(--ck-user-colors--2-alpha)}.ck .ck-user__selection--2.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--2)}.ck .ck-user__marker--2,.ck .ck-user__marker--2 .ck-user__marker-dot,.ck .ck-user__marker--2 .ck-user__marker-dot::selection,.ck .ck-user__marker--2 .ck-user__marker-tooltip,.ck .ck-user__marker--2 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--2::selection{background-color:var(--ck-user-colors--2)}.ck .ck-user__marker--2 .ck-user__marker-line{border:1px solid var(--ck-user-colors--2)}.ck .ck-user__color--3{color:var(--ck-user-colors--3)}.ck .ck-user__bg-color--3{background-color:var(--ck-user-colors--3)}.ck .ck-user__selection--3{background-color:var(--ck-user-colors--3-alpha)}.ck .ck-user__selection--3.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--3)}.ck .ck-user__marker--3,.ck .ck-user__marker--3 .ck-user__marker-dot,.ck .ck-user__marker--3 .ck-user__marker-dot::selection,.ck .ck-user__marker--3 .ck-user__marker-tooltip,.ck .ck-user__marker--3 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--3::selection{background-color:var(--ck-user-colors--3)}.ck .ck-user__marker--3 .ck-user__marker-line{border:1px solid var(--ck-user-colors--3)}.ck .ck-user__color--4{color:var(--ck-user-colors--4)}.ck .ck-user__bg-color--4{background-color:var(--ck-user-colors--4)}.ck .ck-user__selection--4{background-color:var(--ck-user-colors--4-alpha)}.ck .ck-user__selection--4.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--4)}.ck .ck-user__marker--4,.ck .ck-user__marker--4 .ck-user__marker-dot,.ck .ck-user__marker--4 .ck-user__marker-dot::selection,.ck .ck-user__marker--4 .ck-user__marker-tooltip,.ck .ck-user__marker--4 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--4::selection{background-color:var(--ck-user-colors--4)}.ck .ck-user__marker--4 .ck-user__marker-line{border:1px solid var(--ck-user-colors--4)}.ck .ck-user__color--5{color:var(--ck-user-colors--5)}.ck .ck-user__bg-color--5{background-color:var(--ck-user-colors--5)}.ck .ck-user__selection--5{background-color:var(--ck-user-colors--5-alpha)}.ck .ck-user__selection--5.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--5)}.ck .ck-user__marker--5,.ck .ck-user__marker--5 .ck-user__marker-dot,.ck .ck-user__marker--5 .ck-user__marker-dot::selection,.ck .ck-user__marker--5 .ck-user__marker-tooltip,.ck .ck-user__marker--5 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--5::selection{background-color:var(--ck-user-colors--5)}.ck .ck-user__marker--5 .ck-user__marker-line{border:1px solid var(--ck-user-colors--5)}.ck .ck-user__color--6{color:var(--ck-user-colors--6)}.ck .ck-user__bg-color--6{background-color:var(--ck-user-colors--6)}.ck .ck-user__selection--6{background-color:var(--ck-user-colors--6-alpha)}.ck .ck-user__selection--6.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--6)}.ck .ck-user__marker--6,.ck .ck-user__marker--6 .ck-user__marker-dot,.ck .ck-user__marker--6 .ck-user__marker-dot::selection,.ck .ck-user__marker--6 .ck-user__marker-tooltip,.ck .ck-user__marker--6 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--6::selection{background-color:var(--ck-user-colors--6)}.ck .ck-user__marker--6 .ck-user__marker-line{border:1px solid var(--ck-user-colors--6)}.ck .ck-user__color--7{color:var(--ck-user-colors--7)}.ck .ck-user__bg-color--7{background-color:var(--ck-user-colors--7)}.ck .ck-user__selection--7{background-color:var(--ck-user-colors--7-alpha)}.ck .ck-user__selection--7.ck-widget{background-color:transparent;border:3px solid var(--ck-user-colors--7)}.ck .ck-user__marker--7,.ck .ck-user__marker--7 .ck-user__marker-dot,.ck .ck-user__marker--7 .ck-user__marker-dot::selection,.ck .ck-user__marker--7 .ck-user__marker-tooltip,.ck .ck-user__marker--7 .ck-user__marker-tooltip::selection,.ck .ck-user__marker--7::selection{background-color:var(--ck-user-colors--7)}.ck .ck-user__marker--7 .ck-user__marker-line{border:1px solid var(--ck-user-colors--7)}",""]);const i=o},533:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-user-avatar-size:40px;--ck-user-avatar-background:#3670ab;--ck-user-avatar-color:#fff;--ck-user-me-border-color:#fff}.ck.ck-user{align-items:center;background-color:var(--ck-user-avatar-background);border-radius:50%;box-sizing:border-box;display:flex;height:var(--ck-user-avatar-size);justify-content:center;line-height:100%;margin:2px;min-height:var(--ck-user-avatar-size);min-width:var(--ck-user-avatar-size);position:relative;width:var(--ck-user-avatar-size)}.ck.ck-user.ck-user_me{border:2px solid var(--ck-user-me-border-color);outline:2px solid var(--ck-user-avatar-background)}.ck.ck-user__name{color:var(--ck-user-avatar-color);cursor:default;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ck.ck-user__name.ck-user__name--hidden{display:none}.ck.ck-user__img{background-color:var(--ck-user-avatar-background);background-position:50%;background-repeat:no-repeat;background-size:cover;border:none;border-radius:50%;display:none;height:100%;width:100%}.ck.ck-user__img.ck-user__anonymous{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23FFF' d='M9.8 20H2c0-5.7 5-5.7 6-7l.2-.8c-1.6-.8-2.7-2.7-2.7-5 0-2.8 2-5.2 4.3-5.2S14 4.4 14 7.3c0 2.2-1 4-2.6 5l.2.6c1.2 1.3 6 1.4 6 7H9.8z'/%3E%3C/svg%3E\");display:block}.ck.ck-user__img.ck-user__anonymous+.ck-user__name{display:none}.ck.ck-user__img.ck-user__avatar{background-color:#fff;display:block}.ck.ck-user__img.ck-user__img--hidden{display:none}.ck.ck-user__notification{align-items:center;background:var(--ck-color-base-background);border:2px solid var(--ck-color-base-background);border-radius:50%;box-sizing:content-box;display:flex;height:15px;justify-content:center;overflow:hidden;position:absolute;right:-7px;top:-8px;transform:translateZ(0);width:15px}.ck.ck-user__notification .ck-user__icon{background:var(--ck-color-base-background);color:var(--ck-color-annotation-info);height:19px;max-height:19px;max-width:19px;min-height:19px;min-width:19px;width:19px}",""]);const i=o},181:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-ai-dropdown-view-width:250px;--ck-ai-dropdown-view-list-max-height:250px}.ck.ck-ai-commands-search{width:var(--ck-ai-dropdown-view-width)}.ck.ck-ai-commands-search>.ck-labeled-field-view{padding:var(--ck-spacing-large)}.ck.ck-ai-commands-search>.ck-labeled-field-view .ck-input{min-width:unset}.ck.ck-ai-commands-search>.ck-search__results{border-top:1px solid var(--ck-color-base-border)}.ck.ck-ai-commands-search>.ck-search__results>.ck-list{max-height:var(--ck-ai-dropdown-view-list-max-height);overflow:auto}",""]);const i=o},676:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-ai-form-view-width:600px;--ck-ai-form-content-height:175px;--ck-ai-form-content-background:#fafafa;--ck-ai-form-history-font-size:.9em;--ck-ai-form-error-background:var(--ck-color-light-red)}.ck .ck-ai-form{max-width:100%;width:var(--ck-ai-form-view-width)}@media screen and (max-width:600px){.ck .ck-ai-form{--ck-ai-form-view-width:100vw}}.ck .ck-ai-form .ck-ai-form-content{padding:var(--ck-spacing-large);width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-input{width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper{border:1px solid var(--ck-color-base-border);border-radius:2px;max-height:var(--ck-ai-form-content-height);overflow-y:auto;width:100%}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area-wrapper:focus{border:var(--ck-focus-ring);box-shadow:var(--ck-focus-outer-shadow),0 0;outline:none}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area{background-color:var(--ck-ai-form-content-background);display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area.ck-ai-form__content-area--processing{--ck-color-text:var(--ck-color-input-disabled-text);background-color:var(--ck-color-input-disabled-background)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{box-sizing:content-box;min-height:calc(var(--ck-line-height-base)*var(--ck-font-size-base));padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);white-space:normal;width:100%}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-right:0}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field{padding-left:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__content-field>*{color:inherit;white-space:normal}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-spinner-container{margin-left:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button-wrapper{display:flex;flex-direction:column-reverse;padding-left:2px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button{bottom:1px;min-height:unset;min-width:unset;padding:4px;position:sticky;right:1px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button svg{--ck-icon-size:16px}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__content-area .ck-ai-form__copy-button.ck-ai-form__copy-button--copied{color:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__toolbar{border:none;margin-bottom:calc(var(--ck-spacing-medium)*2);margin-top:var(--ck-spacing-medium);padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader{align-items:center;display:flex}.ck .ck-ai-form .ck-ai-form-content .ck-ai-form__loader .ck-spinner{box-sizing:border-box}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete{display:flex;justify-content:space-between}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view{flex-grow:1}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-left:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{margin-right:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit{border-color:var(--ck-ai-form-submit-button-border-color);color:var(--ck-ai-form-submit-button-text-color)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit.ck-disabled{border-color:var(--ck-ai-form-submit-button-disabled-border-color)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{font-size:var(--ck-font-size-tiny);position:absolute}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{right:var(--ck-spacing-medium)}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{left:var(--ck-spacing-medium)}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck-labeled-field-view .ck-ai-form__toggle-history{bottom:var(--ck-spacing-small);min-height:unset;min-width:unset;padding:4px;top:var(--ck-spacing-small)}[dir=ltr] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-right:30px}[dir=rtl] .ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{padding-left:30px}@media screen and (max-width:600px){.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-textarea{--ck-input-width:auto}}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto;grid-column-gap:0;grid-row-gap:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>span{grid-area:1/1/2/2}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button{background:none;font-size:var(--ck-ai-form-history-font-size);grid-area:1/2/2/3;justify-self:start;margin:var(--ck-spacing-medium) 0 0;min-height:auto;padding:0}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label{line-height:inherit}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-button .ck-button__label:hover{text-decoration:underline}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list{grid-area:2/1/3/3}.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete .ck-search__results .ck-list .ck-list__group>.ck-list .ck-list__item .ck-button .ck-button__label{font-size:var(--ck-ai-form-history-font-size);line-height:var(--ck-line-height-base);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ck .ck-ai-form .ck-ai-form__error{align-items:center;background-color:var(--ck-ai-form-error-background);border-radius:2px;color:var(--ck-color-base-text);display:flex;justify-content:center;margin-bottom:var(--ck-spacing-medium);padding:var(--ck-spacing-medium)}",""]);const i=o},379:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(433),o=r.n(n)()((function(e){return e[1]}));o.push([e.id,":root{--ck-ai-form-submit-button-text-color:var(--ck-color-text);--ck-ai-form-submit-button-border-color:transparent;--ck-ai-form-submit-button-disabled-border-color:transparent;--ck-ai-toolbar-button-hover-color:var(--ck-color-text);--ck-color-ai-selection:rgba(31,176,255,.3)}.ck-ai-assistant-ui_theme{--ck-color-button-default-hover-background:#f3ecff;--ck-color-button-default-active-background:#f3ecff;--ck-color-button-on-background:#f3ecff;--ck-color-button-on-hover-background:#f3ecff;--ck-color-button-on-active-background:#f3ecff;--ck-color-button-on-disabled-background:#f3ecff;--ck-color-button-on-color:#743ccd;--ck-color-button-action-background:#743ccd;--ck-color-button-action-hover-background:#6c34c9;--ck-color-button-action-active-background:#6c34c9;--ck-color-button-action-disabled-background:#ba9de6;--ck-color-list-button-hover-background:#f3ecff;--ck-ai-form-content-background:#f9f9f9;--ck-ai-form-submit-button-text-color:var(--ck-color-button-on-color);--ck-ai-form-submit-button-border-color:var(--ck-color-button-action-background);--ck-ai-form-submit-button-disabled-border-color:var(--ck-color-button-action-disabled-background);--ck-ai-toolbar-button-hover-color:var(--ck-color-button-on-color);--ck-color-ai-selection:#e2d6f5}.ck-ai-assistant-button:hover,.ck-ai-commands-dropdown>.ck-button:hover{color:var(--ck-ai-toolbar-button-hover-color)}.ck span.ck-fake-ai-selection{background:var(--ck-color-ai-selection)}.ck .ck-widget.ck-fake-ai-selection{outline-color:var(--ck-color-ai-selection)}.ck span.ck-fake-ai-selection-candidate{background:var(--ck-color-ai-selection)}.ck .ck-fake-ai-selection_collapsed{border-right:1px solid var(--ck-color-base-text);height:100%;margin-right:-1px;outline:1px solid hsla(0,0%,100%,.5)}.ck.ck-content.ck-ai-form__content-field h2{font-size:1.3em}.ck.ck-content.ck-ai-form__content-field h3{font-size:1.2em}.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6{font-size:1.1em}.ck.ck-content.ck-ai-form__content-field h2,.ck.ck-content.ck-ai-form__content-field h3,.ck.ck-content.ck-ai-form__content-field h4,.ck.ck-content.ck-ai-form__content-field h5,.ck.ck-content.ck-ai-form__content-field h6,.ck.ck-content.ck-ai-form__content-field ol,.ck.ck-content.ck-ai-form__content-field p,.ck.ck-content.ck-ai-form__content-field ul{line-height:1.7em;margin-block-end:.5em;margin-block-start:.5em}.ck.ck-content.ck-ai-form__content-field>:first-child{margin-top:0}.ck.ck-content.ck-ai-form__content-field>:last-child{margin-bottom:0}",""]);const i=o},433:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var s=this[i][0];null!=s&&(o[s]=!0)}for(var a=0;a<e.length;a++){var c=[].concat(e[a]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),t.push(c))}},t}},673:(e,t,r)=>{"use strict";var n,o=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},i=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),s=[];function a(e){for(var t=-1,r=0;r<s.length;r++)if(s[r].identifier===e){t=r;break}return t}function c(e,t){for(var r={},n=[],o=0;o<e.length;o++){var i=e[o],c=t.base?i[0]+t.base:i[0],u=r[c]||0,l="".concat(c," ").concat(u);r[c]=u+1;var d=a(l),g={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(s[d].references++,s[d].updater(g)):s.push({identifier:l,updater:m(g,t),references:1}),n.push(l)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var o=r.nc;o&&(n.nonce=o)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var s=i(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var l,d=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function g(e,t,r,n){var o=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(i,s[t]):e.appendChild(i)}}function h(e,t,r){var n=r.css,o=r.media,i=r.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var f=null,p=0;function m(e,t){var r,n,o;if(t.singleton){var i=p++;r=f||(f=u(t)),n=g.bind(null,r,i,!1),o=g.bind(null,r,i,!0)}else r=u(t),n=h.bind(null,r,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var r=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var o=a(r[n]);s[o].references--}for(var i=c(e,t),u=0;u<r.length;u++){var l=a(r[u]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}r=i}}}},331:(e,t,r)=>{e.exports=r(237)("./src/clipboard.js")},782:(e,t,r)=>{e.exports=r(237)("./src/core.js")},783:(e,t,r)=>{e.exports=r(237)("./src/engine.js")},311:(e,t,r)=>{e.exports=r(237)("./src/ui.js")},584:(e,t,r)=>{e.exports=r(237)("./src/utils.js")},237:e=>{"use strict";e.exports=CKEditor5.dll}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var n={};(()=>{"use strict";r.r(n),r.d(n,{AIAdapter:()=>F,AIAssistant:()=>It,AIRequestError:()=>D,AITextAdapter:()=>Tt,AWSTextAdapter:()=>Uc,OpenAITextAdapter:()=>$t});var e=r(584),t=r(782),o=r(311);t.ContextPlugin;var i=r(673),s=r.n(i),a=r(332),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(a.A,c);a.A.locals;t.ContextPlugin;var u=r(533),l={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(u.A,l);u.A.locals;o.View;o.View;o.View;var d=r(961),g={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(d.A,g);d.A.locals;var h=r(163),f={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(h.A,f);h.A.locals;var p=r(142),m={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(p.A,m);p.A.locals;var k=r(258),b={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(k.A,b);k.A.locals;var v=r(967),y={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(v.A,y);v.A.locals;var w=r(906),_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(w.A,_);w.A.locals;var S=r(938),A={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(S.A,A);S.A.locals;var x=r(751),E={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(x.A,E);x.A.locals;var I=r(901),R={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(I.A,R);I.A.locals;var M=r(507),P={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(M.A,P);M.A.locals;const T={paintRoller:'<svg viewBox="0 0 20 20" width="20" height="20" xmlns="http://www.w3.org/2000/svg"><path d="M3 3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V3Z"/><path d="M16 3.25a1.5 1.5 0 0 1 1.5 1.5v1.7a2.25 2.25 0 0 1-1.932 2.226l-4.424.632a.75.75 0 0 0-.644.743V11a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1v-5a1 1 0 0 1 1-1v-.95a2.25 2.25 0 0 1 1.932-2.226l4.424-.632A.75.75 0 0 0 16 6.449V3.25Z"/></svg>\n',robotPencil:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.61 2.66a1.406 1.406 0 1 0-1.407 0v.891H3.28a2.11 2.11 0 0 0-2.11 2.11v10.312a2.11 2.11 0 0 0 2.11 2.109h5.684l-.054-1.157.18-.25H3.28a.703.703 0 0 1-.703-.702V5.66c0-.389.315-.704.703-.704h11.25c.388 0 .703.315.703.704v2.484l.358-.497a2.492 2.492 0 0 1 1.048-.84V5.66a2.11 2.11 0 0 0-2.11-2.11H9.61v-.89Z"/><path d="M5.625 10.817c.518 0 .937-.63.937-1.407 0-.776-.42-1.406-.937-1.406-.518 0-.938.63-.938 1.406 0 .777.42 1.407.938 1.407Z"/><path d="M13.125 9.41c0 .777-.42 1.407-.938 1.407s-.937-.63-.937-1.407c0-.776.42-1.406.937-1.406.518 0 .938.63.938 1.406Z"/><path d="M.937 8.004A.937.937 0 0 0 0 8.942v1.875c0 .517.42.937.937.937v-3.75Z"/><path d="M6.128 12.51a.782.782 0 0 1 1.085.216c.272.408.907.707 1.693.707s1.421-.3 1.693-.707a.782.782 0 0 1 1.302.868c-.666 1-1.906 1.403-2.995 1.403-1.089 0-2.329-.404-2.995-1.403a.782.782 0 0 1 .217-1.085Z"/><path d="m16.987 8.91-.622.864 2.879 2.074.622-.864a.71.71 0 0 0-.161-.99l-1.728-1.245a.71.71 0 0 0-.99.161Z"/><path d="M11.635 19.951a.355.355 0 0 1-.449-.31l-.214-2.38 4.978-6.911 2.88 2.074-4.978 6.91-2.217.617Z"/></svg>',tableOfContents:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 19a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v8.022a6.47 6.47 0 0 0-1.5-.709V2a.5.5 0 0 0-.5-.5H3a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h6.313c.173.534.412 1.037.709 1.5H3Z"/><path d="M9.174 14a6.489 6.489 0 0 0-.155 1H6v-1h3.174Z"/><path d="M10.022 12c-.202.316-.378.65-.524 1H4v-1h6.022Z"/><path d="M12.034 10c-.448.283-.86.62-1.224 1H6v-1h6.034Z"/><path d="M12 4v1H4V4h8Z"/><path d="M14 7V6H6v1h8Z"/><path d="M15 9V8H7v1h8Z"/><path clip-rule="evenodd" d="M20 15.5a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0ZM15.5 13a.5.5 0 0 0-.5.5V15h-1.5a.5.5 0 0 0 0 1H15v1.5a.5.5 0 0 0 1 0V16h1.5a.5.5 0 0 0 0-1H16v-1.5a.5.5 0 0 0-.5-.5Z"/></svg>\n',template:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M8 0H3a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2ZM2.5 2a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5H3a.5.5 0 0 1-.5-.5V2Z"/><path clip-rule="evenodd" d="M13 0h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2Zm0 1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-.5-.5h-5Z"/><path clip-rule="evenodd" d="M13 10h5a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2Zm0 1.5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"/></svg>',caseChange:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.789 3 0 17h1.664l1.664-4.027h6.797l.227.548c.046-.172.112-.352.209-.545.217-.436.556-.609.898-.798L7.664 3H5.79Zm.938 1.758 2.777 6.715H3.949l2.778-6.715Z"/><path d="M15.956 7.5c-1.584-.02-3.226.824-3.843 2.882l1.495.106c.904-2.082 4.594-2.13 4.375.534-3.245 1.024-4.838.117-6.082 2.62-.208.418-.17 1.57.54 2.397.71.826 2.014 1.149 3.409.85 1.395-.299 2.24-1.386 2.24-1.386L18.205 17h1.493l-.059-1.72-.056-5.274C19.51 8.612 17.75 7.524 15.956 7.5Zm2.027 4.696s.641 2.453-1.528 3.27c-3.376 1.269-4.188-2.141-1.775-2.638 1.704-.352 1.873-.25 3.303-.632Z"/></svg>'};function C(){const e=["change","pop","for","createUIElement","model","addMarker","5641650CMwHUW","getFirstRange","createRange","config","canEditAt","153cNErak","getSelectedBlocks","markerToHighlight","markerToElement","length","346904WaMHkb","end","editor","ck-fake-ai-selection_collapsed","selection","insertContent","ck-fake-ai-selection","addClass","toView","span","setSelection","schema","from","init","push","375654PYpbwg","start","ai.useTheme","toModel","isAtEnd","data","insertContentBelow","document","AIAssistantEditing","pluginName","isContent","removeMarker","createPositionAfter","markers","6555498LosWcY","1690751FeTSKl","createSelection","isCollapsed","get","has","hideFakeVisualSelection","editingDowncast","ck-ai-assistant-ui_theme","208456qXmqbR","markerRange","updateMarker","conversion","getLastPosition","showFakeVisualSelection","processor","30XUHxns","getRange","7208110wEkuVg","ai-ui","getLastMatchingPosition"];return(C=function(){return e})()}const O=N;function N(e,t){const r=C();return(N=function(e,t){return r[e-=472]})(e,t)}!function(e){const t=N,r=e();for(;;)try{if(872782===-parseInt(t(508))/1+parseInt(t(493))/2+parseInt(t(523))/3*(parseInt(t(478))/4)+parseInt(t(534))/5+-parseInt(t(507))/6+parseInt(t(525))/7+-parseInt(t(516))/8*(-parseInt(t(473))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(C);const L=O(526);class $ extends t.Plugin{static get[O(502)](){return O(501)}[O(491)](){const e=O,{editor:t}=this,r=[e(484)];t[e(537)][e(511)](e(495))&&r[e(492)](e(515)),t[e(519)][e(530)](e(514))[e(475)]({model:L,view:{classes:r,priority:12}}),t[e(519)][e(530)](e(514))[e(476)]({model:L,view:(t,{writer:r})=>{const n=e;if(!t[n(517)][n(510)])return null;const o=r[n(531)](n(487));return r[n(485)]([n(484),n(481)],o),o}})}[O(521)](){const e=O,t=this[e(480)][e(532)];t[e(528)]((r=>{const n=e,o=t[n(500)][n(482)][n(535)]();if(t[n(506)][n(512)](L))r[n(518)](L,{range:o});else if(o[n(494)][n(497)]){const e=o[n(494)][n(527)]((({item:e})=>!t[n(489)][n(503)](e)),{boundaries:o});r[n(533)](L,{usingOperation:!1,affectsData:!1,range:r[n(536)](e,o[n(479)])})}else r[n(533)](L,{usingOperation:!1,affectsData:!1,range:o})}))}[O(513)](e){const t=O,r=this[t(480)][t(532)];r[t(506)][t(512)](L)&&r[t(528)]((e=>{e[t(504)](L)}))}[O(483)](e,t){const r=O,n=t||this[r(480)][r(532)][r(506)][r(511)](L)[r(524)]();if(!this[r(480)][r(532)][r(472)](n))return;const o=this[r(480)][r(498)][r(522)][r(486)](e),i=this[r(480)][r(498)][r(496)](o);this[r(480)][r(532)][r(528)]((e=>{const t=r;this[t(513)]();const o=this[t(480)][t(532)][t(483)](i,n);o&&e[t(488)](o)}))}[O(499)](e){const t=O,{model:r}=this[t(480)],n=Array[t(490)](r[t(509)](this[t(480)][t(532)][t(506)][t(511)](L)[t(524)]())[t(474)]()),o=n[t(477)]?r[t(505)](n[t(529)]()):r[t(500)][t(482)][t(520)]();this[t(483)](e,o)}}var B=U;function U(e,t){var r=j();return(U=function(e,t){return r[e-=395]})(e,t)}!function(e){for(var t=U,r=e();;)try{if(468539===parseInt(t(413))/1*(parseInt(t(409))/2)+-parseInt(t(411))/3*(parseInt(t(403))/4)+-parseInt(t(395))/5+-parseInt(t(410))/6*(-parseInt(t(404))/7)+-parseInt(t(400))/8*(parseInt(t(401))/9)+-parseInt(t(399))/10*(-parseInt(t(398))/11)+parseInt(t(406))/12*(parseInt(t(396))/13))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(j);class F extends t.Plugin{static get[B(397)](){return B(414)}[B(407)](){var t=B;if(!this[t(408)])throw new e.CKEditorError(t(405),null)}}class D extends Error{constructor(e){var t=B;super(e),this[t(412)]=t(402)}}function j(){var e=["2152974RvwHsP","186117FpmjNR","name","209571jWITTa","AIAdapter","4292875KwEmSq","2119OakBJT","pluginName","913781BAGDqK","10eBpoXM","8hSFTyR","1981305kUnifA","AIRequestError","56Ifxvrj","7rdaToU","aiadapter-text-adapter-not-set","83604EbERfG","afterInit","textAdapter","8mETAqf"];return(j=function(){return e})()}function H(e,t,r){const n=e.t;switch(t){case"Edit or review":return n("Edit or review");case"Improve writing":return n("Improve writing");case"Make shorter":return n("Make shorter");case"Make longer":return n("Make longer");case"Simplify language":return n("Simplify language");case"Generate from selection":return n("Generate from selection");case"Summarize":return n("Summarize");case"Continue":return n("Continue");case"Change tone":return n("Change tone");case"Professional":return n("Professional");case"Casual":return n("Casual");case"Direct":return n("Direct");case"Confident":return n("Confident");case"Friendly":return n("Friendly");case"Change style":return n("Change style");case"Business":return n("Business");case"Legal":return n("Legal");case"Journalism":return n("Journalism");case"Poetic":return n("Poetic");case"Translate":return n("Translate");case"English":return n("English");case"Spanish":return n("Spanish");case"German":return n("German");case"Portuguese":return n("Portuguese");case"French":return n("French");case"Simplified Chinese":return n("Simplified Chinese");case"Hindi":return n("Hindi");case"Arabic":return n("Arabic");case"AI Assistant":return n("AI Assistant");case"AI Commands":return n("AI Commands");case"Ask AI to edit or generate":return n("Ask AI to edit or generate");case"Ask AI to improve generated text":return n("Ask AI to improve generated text");case"Copy":return n("Copy");case"Submit":return n("Submit");case"Insert below":return n("Insert below");case"Try again":return n("Try again");case"Stop":return n("Stop");case"AI is writing...":return n("AI is writing...");case"AI is writing":return n("AI is writing");case"Generated content: %0":return n("Generated content: %0",r);case"Error during AI content generation: %0":return n("Error during AI content generation: %0",r);case"History":return n("History");case"Empty history":return n("Empty history");case"Ask AI and your prompts will be listed here for you to use later.":return n("Ask AI and your prompts will be listed here for you to use later.");case"Prompt history":return n("Prompt history");case"Clear":return n("Clear");case"AI_REPLACE_CONTENT":return n({id:"AI_REPLACE_CONTENT",string:"Replace"});case"AI_INSERT_CONTENT":return n({id:"AI_INSERT_CONTENT",string:"Insert"});case"AI_ERROR_GET_HEADERS":return n({id:"AI_ERROR_GET_HEADERS",string:"Preparing request headers failed"});case"AI_ERROR_GET_PARAMETERS":return n({id:"AI_ERROR_GET_PARAMETERS",string:"Preparing request parameters failed"});case"AI_ERROR_UNSUPPORTED_MODEL":return n({id:"AI_ERROR_UNSUPPORTED_MODEL",string:'The requested AI model ("%0") is not supported'},r);case"AI_ERROR_CONTEXT_LENGTH":return n({id:"AI_ERROR_CONTEXT_LENGTH",string:"Selected content is too long"});case"AI_ERROR_MODERATION":return n({id:"AI_ERROR_MODERATION",string:"Requested query does not pass moderation rules"});case"AI_ERROR_FAILED":return n({id:"AI_ERROR_FAILED",string:"Failed to communicate with the AI service"});default:return t}}function V(e,t){const r=W();return(V=function(e,t){return r[e-=466]})(e,t)}const q=V;!function(e){const t=V,r=e();for(;;)try{if(243427===parseInt(t(488))/1*(parseInt(t(504))/2)+-parseInt(t(498))/3*(parseInt(t(468))/4)+-parseInt(t(467))/5+-parseInt(t(501))/6*(-parseInt(t(497))/7)+parseInt(t(502))/8+parseInt(t(474))/9+-parseInt(t(509))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(W);class z extends t.Command{constructor(e,t){const r=V;super(e),this[r(483)]=t,this[r(499)](r(505),[]),this.on(r(485),((e,t,n)=>{const o=r;this[o(471)]&&(this[o(505)]=G(this[o(483)],n))})),this[r(499)](r(477),!1),this.on(r(476),((e,t,n)=>{const o=r;this[o(505)]=n?G(this[o(483)],this[o(477)]):[]}))}[q(495)](){const e=q,t=this[e(508)][e(486)];this[e(477)]=function(t){const r=e,n=t[r(473)][r(472)];return n[r(482)]?0!==[...n[r(491)]()][r(470)]&&![...n[r(491)]()][0][r(484)]:!!t[r(494)](n[r(469)]())}(t);const r=t[e(473)][e(472)],n=this[e(508)][e(496)][e(492)](e(490));for(const t of r[e(475)]())for(const r of t[e(481)]())if(r.is(e(503))&&n[e(493)](r[e(500)]))return void(this[e(471)]=!1);this[e(471)]=!0}[q(466)](e="",t="",r=q(489)){const n=q;this[n(508)][n(478)][n(492)](_t)[n(507)](e,t,r)}}function G(e,t){const r=q,n=new Set;for(const o of e[r(487)]())(t||!1===o[r(479)])&&n[r(480)](o.id);return Array[r(506)](n)}function W(){const e=["set","name","72264oXooVH","1668656YeoKiy","element","122776mjKheD","enabledCommandsIds","from","showUI","editor","4323630JjfMZo","execute","992255aDwuLE","484076HhvPEy","getFirstRange","length","isEnabled","selection","document","1607742UjaBgw","getRanges","change:isEnabled","_hasContext","plugins","requiresContent","add","getItems","isCollapsed","_commandDefinitions","isEmpty","change:_hasContext","model","values","5mbWxOB","custom","ai.aiAssistant.disabledElements","getSelectedBlocks","get","includes","hasContent","refresh","config","175qsldbZ","3vheWhU"];return(W=function(){return e})()}var Z=r(783);const K=J;function J(e,t){const r=X();return(J=function(e,t){return r[e-=113]})(e,t)}!function(e){const t=J,r=e();for(;;)try{if(294577===parseInt(t(184))/1*(parseInt(t(137))/2)+-parseInt(t(209))/3*(-parseInt(t(187))/4)+-parseInt(t(138))/5*(parseInt(t(208))/6)+parseInt(t(169))/7+-parseInt(t(149))/8+-parseInt(t(170))/9*(parseInt(t(160))/10)+-parseInt(t(156))/11*(parseInt(t(131))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(X);const Q=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,"is");class Y extends((0,e.ObservableMixin)()){constructor(e,t,r){const n=J;super(),this[n(159)]=e,this[n(134)]=t,this[n(167)]=document[n(145)](n(185)),this[n(158)]=new DOMParser,this[n(136)]=new XMLSerializer,this[n(144)]=r,this[n(114)]({initialContext:"",currentContext:"",currentResponse:"",previousContext:void 0,previousQuery:void 0,previousLabel:void 0,isProcessing:!1}),this.on(n(194),((e,t,r)=>{const o=n;this[o(144)][o(172)]=this[o(190)](r)})),this[n(201)](this[n(144)],n(175),((e,t)=>{const r=n,o=this[r(162)]||this[r(174)];this[r(140)](t,o,r(189))})),this[n(201)](this[n(144)],n(166),(()=>{const e=n;this[e(144)][e(122)]=this[e(124)],this[e(140)](this[e(126)],this[e(154)],this[e(186)],this[e(124)])})),this[n(201)](this[n(144)],n(127),(()=>{this[n(127)]()}))}[K(139)](){this[K(182)]()}async[K(157)]({actionId:e,query:t,htmlContent:r,label:n,mainActionLabel:o}){const i=K;this[i(144)][i(122)]=n,this[i(144)][i(188)]=o,this[i(174)]=r,t&&(this[i(144)][i(141)]?this[i(140)](t,r,e,n):this[i(144)][i(148)](i(115),(()=>{this[i(140)](t,r,e,n)})))}[K(127)](){const e=K;this[e(180)]&&(this[e(180)]=!1,this[e(144)][e(117)](),this[e(134)][e(178)]())}[K(121)](){const e=K;this[e(174)]="",this[e(162)]="",this[e(181)]="",this[e(154)]="",this[e(126)]="",this[e(124)]="",this[e(186)]=void 0,this[e(144)][e(121)](),this[e(127)]()}async[K(140)](e,t,r,n){const o=K;return this[o(180)]=!0,this[o(144)][o(195)](),this[o(154)]=t,this[o(126)]=e,this[o(124)]=n||e,this[o(186)]=r,new Promise((n=>{const i=o;this[i(134)][i(150)]({query:e,context:t,onData:e=>{const t=i;this[t(181)]=e,this[t(162)]=this[t(191)](this[t(181)])},actionId:r})[i(128)]((()=>{const e=i;!this[e(162)]&&this[e(181)]&&(this[e(162)]=this[e(191)](this[e(181)],!0))}))[i(179)]((e=>{const t=i;e instanceof D?this[t(144)][t(142)](e[t(205)]):this[t(144)][t(142)](),n()}))[i(168)]((()=>{this[i(127)](),n()}))}))}[K(191)](e,t=!1){const r=K,n=Q[r(152)](e);e=n?e[r(132)](n[1][r(165)]):e[r(165)]<100&&!t?"":this[r(120)](e);const o=this[r(158)][r(206)](e,r(199));if(n){const e=Array[r(147)](o[r(146)][r(133)]);e[r(129)]();for(const t of e){if(t[r(118)]==Node[r(192)])break;t[r(151)]()}}const i=this[r(159)][r(204)][r(173)][r(123)](this[r(136)][r(176)](o[r(146)]));return this[r(164)]()||this[r(155)](i),this[r(159)][r(204)][r(143)](this[r(159)][r(204)][r(196)](i))}[K(155)](e){const t=K,r=new Z.UpcastWriter(this[t(159)][t(198)][t(144)][t(153)]),n=new Z.Matcher({name:/^h[1-5]$/}),o=[];let i=!1;for(const r of e)r.is(t(202))&&n[t(171)](r)&&(o[t(113)](r),"h1"==r[t(183)]&&(i=!0));if(i)for(const e of o)r[t(116)]("h"+(parseInt(e[t(183)][1])+1),e)}[K(164)](){const e=K,{data:t,editing:r}=this[e(159)],n=t[e(119)][e(123)](e(203)),o=t[e(123)](t[e(196)](n));return!!r[e(144)][e(197)][e(161)](o)[e(177)]("h1")}[K(190)](e){const t=K;return this[t(159)][t(198)][t(144)][t(197)][t(125)](this[t(167)],e),this[t(167)][t(193)]}[K(120)](e){const t=K,r=e[t(200)]();return r[t(135)](t(163))?r[t(130)](t(207))?r[t(132)](7,r[t(165)]-3):r[t(132)](7):e}}function X(){const e=["viewToDom","currentContext","```html","_isH1TagSupportEnabled","length","tryAgainEvent","_sanitizationContainer","finally","3565079seMYqt","2086767QLdpyL","match","value","processor","initialContext","submitPrompt","serializeToString","querySelector","abort","catch","isProcessing","currentResponse","stopListening","name","1658nLcMto","div","previousActionId","968cBesYu","mainAction","custom","_sanitizeHTML","_parseAndNormalizeContent","ELEMENT_NODE","innerHTML","set:currentContext","startProcessing","toModel","domConverter","editing","text/html","trim","listenTo","element","<h1></h1>","data","message","parseFromString","```","46074SKLLzR","5061OXGevj","push","set","render","rename","finishProcessing","nodeType","htmlProcessor","_stripMarkdownSyntax","reset","prompt","toView","previousLabel","setContentOf","previousQuery","stopProcessing","then","reverse","endsWith","372jFexyR","substring","childNodes","textAdapter","startsWith","_xmlSerializer","662SNFPvq","185JrPsvZ","destroy","_handleQuery","isRendered","handleError","stringify","view","createElement","body","from","once","2577696pRLguf","makeRequest","remove","exec","document","previousContext","_normalizeResponseHeadings","36091OMYYEZ","updateView","_domParser","editor","20iPbEMK"];return(X=function(){return e})()}const ee=te;function te(e,t){const r=oe();return(te=function(e,t){return r[e-=316]})(e,t)}!function(e){const t=te,r=e();for(;;)try{if(238039===parseInt(t(343))/1*(-parseInt(t(323))/2)+-parseInt(t(349))/3+parseInt(t(339))/4*(parseInt(t(332))/5)+-parseInt(t(322))/6*(-parseInt(t(333))/7)+-parseInt(t(335))/8+parseInt(t(347))/9+parseInt(t(324))/10*(parseInt(t(320))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(oe);const re={REPLACE:ee(341),INSERT:ee(336)};class ne extends o.ToolbarView{constructor(e){const t=ee;super(e),this[t(353)](t(334),!1),this[t(353)](t(325),re[t(329)]),this[t(348)]=this[t(350)]("",t(319)),this[t(348)][t(318)](t(345)).to(this,t(325),(r=>H(e,t(342)+r[t(340)]()+t(316)))),this[t(351)]=this[t(350)](H(e,t(338))),this[t(328)]=this[t(350)](H(e,t(344))),this[t(327)]=this[t(350)](H(e,t(352)));const r=this[t(337)];this[t(326)]({attributes:{class:[t(317),r.if(t(334),t(331),(e=>!e))]}}),this[t(321)][t(330)]([this[t(348)],this[t(351)],this[t(328)],this[t(327)]])}[ee(350)](e,t){const r=ee,n=new o.ButtonView(this[r(346)]);return n[r(353)]({label:e,class:t||"",isVisible:!0,withText:!0}),n}}function oe(){const e=["2079815fOozxk","1917342GkZSXp","isVisible","3272944VqVAFO","insert","bindTemplate","Insert below","4XELaib","toUpperCase","replace","AI_","3361TpRDdK","Try again","label","locale","3355902ONkIfE","replaceButton","1386570lXusvE","_createButton","insertButton","Stop","set","_CONTENT","ck-ai-form__toolbar","bind","ck-button-action","22TlUiyz","items","6dJZQcn","52uJtlsd","669930sOgtQS","mainAction","extendTemplate","stopButton","tryAgainButton","REPLACE","addMany","ck-hidden"];return(oe=function(){return e})()}const ie='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5 2.801a.7.7 0 0 0-.7.7v11.5a.8.8 0 0 1-1.6 0v-11.5a2.3 2.3 0 0 1 2.3-2.3h6.5a.8.8 0 0 1 0 1.6H5Zm.7 3.7a2.3 2.3 0 0 1 2.3-2.3h7a2.3 2.3 0 0 1 2.3 2.3v10a2.3 2.3 0 0 1-2.3 2.3H8a2.3 2.3 0 0 1-2.3-2.3v-10Zm2.3-.7a.7.7 0 0 0-.7.7v10a.7.7 0 0 0 .7.7h7a.7.7 0 0 0 .7-.7v-10a.7.7 0 0 0-.7-.7H8Z"/></svg>',se=ae;function ae(e,t){const r=ue();return(ae=function(e,t){return r[e-=326]})(e,t)}!function(e){const t=ae,r=e();for(;;)try{if(127123===-parseInt(t(371))/1*(-parseInt(t(343))/2)+-parseInt(t(338))/3+-parseInt(t(331))/4*(-parseInt(t(387))/5)+-parseInt(t(329))/6+parseInt(t(332))/7+parseInt(t(402))/8+-parseInt(t(389))/9*(parseInt(t(335))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ue);class ce extends o.View{constructor(e,t=""){const r=ae;super(e),this[r(366)]({value:null,isVisible:!1,isProcessing:!1});const n=this[r(353)];this[r(390)]=new le(e,t),this[r(396)]=this[r(408)](),this[r(363)]({tag:r(345),attributes:{class:["ck",r(386),n.if(r(410),r(409),(e=>!e))],tabindex:"-1"},children:[{tag:r(345),attributes:{class:["ck",r(403),n.if(r(365),r(341))]},children:[this[r(390)],{tag:r(345),attributes:{class:["ck",r(391)]},children:[this[r(396)]]}]}]})}[se(339)](){const e=se;super[e(339)](),this[e(337)]&&this[e(390)][e(355)](this[e(337)]);let t=!1;this.on(e(349),((r,n,o)=>{const i=e,s=!this[i(390)][i(393)][i(388)](i(368));this[i(390)][i(355)](o),this[i(365)]&&s&&!t&&this[i(393)][i(381)]({top:this[i(393)][i(354)],behavior:i(356)})})),this.on(e(378),((r,n,o)=>{const i=e;t=!1,o?(this[i(337)]=null,this[i(390)][i(334)]()):this[i(337)]||this[i(390)][i(355)]("")})),this[e(342)](this[e(393)],e(401),(()=>{t=!0})),this[e(342)](this[e(393)],e(361),(()=>{t=!0}))}[se(404)](){const e=se;this[e(393)][e(404)]()}[se(408)](){const e=se,r=this[e(330)],n=new o.ButtonView(this[e(330)]),i=e(340);return n[e(366)]({label:H(r,e(392)),icon:ie,class:i,tooltip:!0}),n[e(350)](e(410)).to(this,e(337),(e=>!!e)),n[e(350)](e(374)).to(this,e(365),(e=>!e)),n.on(e(407),(()=>{const r=e;this[r(326)](this[r(390)][r(393)]),n[r(400)]=t.icons[r(348)],n[r(359)]=i+r(382),this[r(404)](),setTimeout((()=>{const e=r;n[e(400)]=ie,n[e(359)]=i}),1e3)})),n}[se(326)](t){const r=se,{window:n,document:o}=e.global;if(n[r(328)]){const{Blob:e,ClipboardItem:o}=n,i=[new o({"text/html":new e([t[r(336)]],{type:r(379)}),"text/plain":new e([t[r(367)]||""],{type:r(369)})})];navigator[r(347)][r(357)](i)}else{const e=o[r(398)](r(345));e[r(372)][r(405)]=r(385),e[r(372)][r(362)]=r(394),e[r(336)]=r(377)+t[r(336)]+r(352),o[r(411)][r(395)](e);const i=o[r(397)]();i[r(351)](e[r(375)]),i[r(364)](e[r(344)]);const s=n[r(327)]();s[r(376)](),s[r(399)](i),o[r(333)](r(360)),e[r(373)]()}}}function ue(){const e=["set","textContent",".ck-ai-form__loader","text/plain","ck-content","344xkpvOS","style","remove","isEnabled","firstElementChild","removeAllRanges","<span>[</span>","change:isProcessing","text/html","ck-ai-form__content-field","scrollTo"," ck-ai-form__copy-button--copied","_createLoader","AI is writing...","absolute","ck-ai-form__content-area-wrapper","5jynEog","querySelector","3931299ShSBYe","contentFieldView","ck-ai-form__copy-button-wrapper","Copy","element","-9999px","appendChild","copyButtonView","createRange","createElement","addRange","icon","wheel","1902736SJCWkz","ck-ai-form__content-area","focus","position","ck-reset_all-excluded","execute","_createCopyButton","ck-hidden","isVisible","body","_copyHTMLToClipboard","getSelection","ClipboardItem","262668PZhTMt","locale","204764GqnRJR","1511888WAZPsY","execCommand","appendLoader","10gnfHtL","innerHTML","value","200691sDbMzQ","render","ck-ai-form__copy-button","ck-ai-form__content-area--processing","listenTo","986zFtxjw","lastElementChild","div","ck-ai-form__loader","clipboard","check","change:value","bind","setStartAfter","<span>]</span>","bindTemplate","scrollHeight","setContent","smooth","write","loaderView","class","copy","mousedown","left","setTemplate","setEndBefore","isProcessing"];return(ue=function(){return e})()}class le extends o.View{constructor(e,t=""){const r=se;super(e),this[r(358)]=this[r(383)](),this[r(363)]({tag:r(345),attributes:{class:["ck",r(370),t,r(406),r(380)]}})}[se(355)](e){const t=se;this[t(393)][t(336)]=e}[se(334)](){const e=se;this[e(393)][e(395)](this[e(358)][e(393)])}[se(383)](){const e=se,t=new o.View,r=this[e(330)],n=new o.SpinnerView;return n[e(410)]=!0,t[e(363)]({tag:e(345),attributes:{class:["ck",e(346)]},children:[n,{text:H(r,e(384))}]}),t[e(339)](),t}}function de(e,t){const r=ge();return(de=function(e,t){return r[e-=294]})(e,t)}function ge(){const e=["1350877GCXtJD","401368ouNCyA","9704hTuaRb","setTemplate","ck-ai-form__error","set","bindTemplate","72JZdeph","19977564tBWowr","1115849QoGxlB","content","text","div","7218WzSjeM","3404649sklqkQ","10jsjVyL","55DvKNmI","2XoBuUW","458822Uybkij"];return(ge=function(){return e})()}!function(e){const t=de,r=e();for(;;)try{if(581294===-parseInt(t(308))/1+parseInt(t(297))/2*(-parseInt(t(294))/3)+-parseInt(t(300))/4*(-parseInt(t(296))/5)+parseInt(t(306))/6*(-parseInt(t(298))/7)+-parseInt(t(301))/8*(-parseInt(t(312))/9)+parseInt(t(295))/10*(-parseInt(t(299))/11)+parseInt(t(307))/12)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ge);class he extends o.View{constructor(e,t=""){const r=de;super(e);const n=new o.IconView,i=this[r(305)];this[r(304)](r(310),t),n[r(309)]='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path clip-rule="evenodd" d="M9.9 4.385a1.2 1.2 0 0 0-.44.44h.002l-5.284 9.15a1.2 1.2 0 0 0 1.04 1.8h10.564a1.2 1.2 0 0 0 1.04-1.8l-5.282-9.15a1.2 1.2 0 0 0-1.64-.44Zm.05 8.363a.301.301 0 0 1 .115-.023h.9a.301.301 0 0 1 .3.3v.9a.3.3 0 0 1-.3.3h-.9a.3.3 0 0 1-.3-.3v-.9a.3.3 0 0 1 .185-.277Zm-.185-4.723a.3.3 0 0 1 .3-.3h.9a.3.3 0 0 1 .3.3v3.4a.3.3 0 0 1-.3.3h-.9a.301.301 0 0 1-.3-.3v-3.4Z"/></svg>\n',this[r(302)]({tag:r(311),attributes:{class:["ck",r(303)]},children:[n,{text:i.to(r(310))}]})}}const fe=pe;function pe(e,t){const r=ke();return(pe=function(e,t){return r[e-=327]})(e,t)}!function(e){const t=pe,r=e();for(;;)try{if(766858===parseInt(t(362))/1*(parseInt(t(336))/2)+-parseInt(t(385))/3+parseInt(t(334))/4*(parseInt(t(386))/5)+parseInt(t(370))/6*(parseInt(t(335))/7)+-parseInt(t(338))/8*(-parseInt(t(365))/9)+-parseInt(t(387))/10*(-parseInt(t(374))/11)+-parseInt(t(340))/12*(parseInt(t(332))/13))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ke);class me extends o.AutocompleteView{constructor(e,t){const r=pe;super(e,t),this[r(329)][r(357)][r(361)]=1,this[r(329)][r(357)][r(350)]=3,this[r(384)]=this[r(327)](),this[r(331)]=this[r(366)](),this[r(371)][r(363)](this[r(331)],1),this[r(371)][r(363)](this[r(384)])}[fe(355)](){const e=fe;super[e(355)](),this[e(329)][e(342)][e(363)](this[e(331)]),this[e(381)][e(363)](this[e(384)]),this[e(360)][e(347)](e(372),((t,r)=>{const n=e;t[n(333)]==this[n(329)][n(357)][n(346)]&&(this[n(364)](),r())}))}[fe(327)](){const e=fe,t=new o.ButtonView(this[e(380)]),r=this[e(380)];return t[e(347)]({icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.875 4.419a.75.75 0 0 0-1.5 0v7.25H6.818l2.33-1.955a.75.75 0 0 0-.963-1.15l-3.792 3.182a.75.75 0 0 0-.17.945c.046.11.118.208.21.284l3.788 3.18a.75.75 0 1 0 .965-1.149l-2.19-1.837h7.629c.69 0 1.25-.56 1.25-1.25v-7.5Z"/></svg>',label:H(r,e(337)),isVisible:!0,tooltip:!0,class:e(369)}),t.on(e(378),(()=>{this[e(364)]()})),t[e(379)](e(353)).to(this[e(329)][e(357)],e(354),this,e(353),((e,t)=>!e&&t)),t}[fe(366)](){const r=fe,n=new o.ButtonView(this[r(380)]),i=this[r(358)],s=this[r(380)];n[r(347)]({label:H(s,r(348)),withText:!1,icon:t.icons[r(343)],tooltip:!0,tooltipPosition:"sw",class:r(375)}),n[r(379)](r(383)).to(i,r(359)),n[r(379)](r(353)).to(this,r(353)),n.on(r(378),(()=>{const e=r;i[e(359)]=!i[e(359)],i[e(359)]?this[e(341)][e(376)]():this[e(376)]()}));const a=()=>{const t=r;e.global[t(351)][t(328)]((()=>{const r=t;if((0,e.isVisible)(this[r(346)])){const t=new e.Rect(this[r(329)][r(357)][r(346)]),o=t[r(388)],i=r(367)===s[r(352)]?r(330):r(349);t[r(377)](),n[r(346)][r(345)][i]=o-t[r(388)]+1+"px"}}))};return this[r(329)][r(357)].on(r(344),a),this.on(r(355),a),n}[fe(364)](){const e=fe,t=this[e(329)][e(357)][e(346)][e(339)];this[e(382)](e(364),t)}[fe(376)](e){const t=fe;-1===e?this[t(368)][t(373)]():this[t(368)][t(356)]()}}function ke(){const e=["fire","isOn","submitButtonView","1841799FNwNtv","20tEKgUK","8306390uwpYts","width","_createSubmitButton","requestAnimationFrame","queryView","left","showHistoryButtonView","20610148yafNOh","target","201344LbQalf","180229nWzQVz","1905654bzNnJO","Submit","80232TZhsgD","value","12QHwfIG","filteredView","fieldWrapperChildren","history","update","style","element","set","History","right","maxRows","window","uiLanguageDirection","isEnabled","isEmpty","render","focusFirst","fieldView","resultsView","isVisible","keystrokes","minRows","1VrgsfF","add","submit","72IZrMYP","_createShowHistoryButton","rtl","focusCycler","ck-ai-form__submit","210PJSbCg","focusableChildren","enter","focusLast","11bKUuyA","ck-ai-form__toggle-history","focus","excludeScrollbarsAndBorders","execute","bind","locale","children"];return(ke=function(){return e})()}const be=ve;function ve(e,t){const r=ye();return(ve=function(e,t){return r[e-=171]})(e,t)}function ye(){const e=["27NbmtTa","fire","66UAFYhe","Prompt history","delegate","label","set","_createClearHistoryButton","2778088TSUFdH","498QhyTJv","locale","1866MRxogD","clearHistoryButton","1840692qREusd","execute","1406050VPGund","children","46048oViyAR","clearHistory","Clear","items","historyGroupView","365967MkVhRg","add","136495KTffEg","filter","length"];return(ye=function(){return e})()}!function(e){const t=ve,r=e();for(;;)try{if(246441===-parseInt(t(185))/1+parseInt(t(177))/2*(parseInt(t(179))/3)+parseInt(t(181))/4+parseInt(t(192))/5*(-parseInt(t(197))/6)+parseInt(t(190))/7+parseInt(t(176))/8+-parseInt(t(195))/9*(parseInt(t(183))/10))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(ye);class we extends o.ListView{constructor(e){const t=ve;super(e),this[t(180)]=this[t(175)](),this[t(189)]=new o.ListItemGroupView,this[t(189)][t(184)][t(191)](this[t(180)],1),this[t(189)][t(173)]=H(e,t(171)),this[t(189)][t(188)][t(172)](t(182)).to(this),this[t(188)][t(191)](this[t(189)])}[be(193)](){const e=be;let t=0;for(const r of this[e(188)])t+=r[e(188)][e(194)];return{resultsCount:t,totalItemsCount:t}}[be(175)](){const e=be,t=this[e(178)],r=new o.ButtonView(this[e(178)]);return r[e(174)]({label:"("+H(t,e(187))+")",withText:!0}),r.on(e(182),(()=>this[e(196)](e(186)))),r}}const _e="object"==typeof global&&global&&global.Object===Object&&global;var Se="object"==typeof self&&self&&self.Object===Object&&self;const Ae=(_e||Se||Function("return this")()).Symbol;const xe=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o};const Ee=Array.isArray;var Ie=Object.prototype,Re=Ie.hasOwnProperty,Me=Ie.toString,Pe=Ae?Ae.toStringTag:void 0;const Te=function(e){var t=Re.call(e,Pe),r=e[Pe];try{e[Pe]=void 0;var n=!0}catch(e){}var o=Me.call(e);return n&&(t?e[Pe]=r:delete e[Pe]),o};var Ce=Object.prototype.toString;const Oe=function(e){return Ce.call(e)};var Ne=Ae?Ae.toStringTag:void 0;const Le=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Ne&&Ne in Object(e)?Te(e):Oe(e)};const $e=function(e){return null!=e&&"object"==typeof e};const Be=function(e){return"symbol"==typeof e||$e(e)&&"[object Symbol]"==Le(e)};var Ue=Ae?Ae.prototype:void 0,Fe=Ue?Ue.toString:void 0;const De=function e(t){if("string"==typeof t)return t;if(Ee(t))return xe(t,e)+"";if(Be(t))return Fe?Fe.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};const je=function(e){return null==e?"":De(e)};const He=function(e){return function(t){return null==e?void 0:e[t]}};const Ve=He({"&":"&","<":"<",">":">",""":'"',"'":"'"});var qe=/&(?:amp|lt|gt|quot|#39);/g,ze=RegExp(qe.source);const Ge=function(e){return(e=je(e))&&ze.test(e)?e.replace(qe,Ve):e};function We(){const e=["321185rBluoZ","add","fire","634464oQZnVB","execute","5760008TsLOHl","84VfKYRP","6272406moefRJ","2FJmNrF","locale","13427630nFIXam","569127LlGSpA","783gWvXKS","prompt","set","children","17496nTbzao"];return(We=function(){return e})()}function Ze(e,t){const r=We();return(Ze=function(e,t){return r[e-=220]})(e,t)}!function(e){const t=Ze,r=e();for(;;)try{if(729003===parseInt(t(229))/1*(parseInt(t(224))/2)+-parseInt(t(232))/3+parseInt(t(226))/4+-parseInt(t(221))/5*(parseInt(t(227))/6)+parseInt(t(228))/7+-parseInt(t(220))/8*(-parseInt(t(233))/9)+-parseInt(t(231))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(We);class Ke extends o.ListItemView{constructor(e){const t=Ze;super();const r=new o.ButtonLabelView,n=new o.ButtonView(this[t(230)],r);this[t(236)][t(222)](n),n[t(235)]({label:e[t(234)],withText:!0}),n.on(t(225),(()=>{const r=t;this[r(223)](r(225),{value:Ge(e[r(234)])})}))}}const Je=et;!function(e){const t=et,r=e();for(;;)try{if(352035===parseInt(t(202))/1+-parseInt(t(194))/2*(-parseInt(t(207))/3)+-parseInt(t(203))/4+-parseInt(t(192))/5+parseInt(t(187))/6*(-parseInt(t(209))/7)+parseInt(t(199))/8*(parseInt(t(206))/9)+-parseInt(t(200))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(tt);const Qe=Je(193);class Ye extends e.Collection{constructor(){const e=Je;super(),this[e(189)](),this.on(e(201),((t,r)=>{const n=e,o=Xe(r[n(210)]);for(const e of this)if(e!=r&&Xe(e[n(210)])===o){this[n(197)](e);break}this[n(185)]>20&&this[n(197)](this[n(186)]),this[n(208)]()})),this.on(e(197),(()=>{this[e(208)]()}))}[Je(189)](){const e=Je,t=sessionStorage[e(191)](Qe)||"[]";this[e(195)](JSON[e(190)](t))}[Je(208)](){const e=Je;sessionStorage[e(198)](Qe,JSON[e(188)](this[e(196)]((e=>e))))}}function Xe(e){const t=Je;return e[t(205)]()[t(204)]()}function et(e,t){const r=tt();return(et=function(e,t){return r[e-=185]})(e,t)}function tt(){const e=["123BWqQSl","_saveToSessionStorage","35shDQXm","prompt","length","last","158622llFTEN","stringify","_loadFromSessionStorage","parse","getItem","2113905AMwruR","CKEditor/AIFormView/PromptHistory","12648rdVNgN","addMany","map","remove","setItem","24RQUGeC","3355860ezcQbT","add","549371HXIiHq","929124DTtnCK","trim","toLowerCase","1998639rUIypi"];return(tt=function(){return e})()}const rt=He({"&":"&","<":"<",">":">",'"':""","'":"'"});var nt=/[&<>"']/g,ot=RegExp(nt.source);const it=function(e){return(e=je(e))&&ot.test(e)?e.replace(nt,rt):e};function st(){const e=["render","1302348pfuNpb","startProcessing","div","10003ljfAWf","delegate","Ask AI and your prompts will be listed here for you to use later.","REPLACE","submitPrompt","trim","promptView","set","toolbar","label","add","focusLast","element","search","value","stopButton","high","42447MtakuG","fire","replaceButton","submit","8WXjGiJ","locale","tryAgainEvent","stopProcessing","errorView","text","keystrokes","1225829gxQduE","prompt","listenTo","797144LVjijv","Empty history","focus","50tBbJmp","chain","tryAgainButton","_promptHistory","ck-ai-form-content","finishProcessing","978120PmOjIn","AI_ERROR_FAILED","focusFirst","focusTracker","5hbPvgK","replaceContent","createCollection","execute","handleError","shift + tab","tab","isEnabled","copyButtonView","726978cgrSfN","ck-hidden","insertButton","clear","_createHistoryView","bindTemplate","isProcessing","bindTo","mainAction","queryView","Ask AI to edit or generate","items","ck-ai-form","contentArea","_createToolbar","isVisible","historyGroupView","reset","setTemplate","fieldView","_focusables","clearHistory","Ask AI to improve generated text","insertContentBelow","focusCycler","isError","bind","_createPromptView","1072VaIIaP"];return(st=function(){return e})()}const at=ct;function ct(e,t){const r=st();return(ct=function(e,t){return r[e-=307]})(e,t)}!function(e){const t=ct,r=e();for(;;)try{if(172857===parseInt(t(348))/1*(parseInt(t(352))/2)+parseInt(t(384))/3+-parseInt(t(362))/4+parseInt(t(375))/5*(parseInt(t(328))/6)+-parseInt(t(331))/7*(-parseInt(t(326))/8)+parseInt(t(371))/9+parseInt(t(365))/10*(-parseInt(t(359))/11))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(st);class ut extends o.View{constructor(t,r,n=""){const i=ct;super(t),this[i(338)](i(382),!0),this[i(338)](i(390),!1),this[i(338)](i(360),""),this[i(338)](i(345),""),this[i(338)](i(323),!1),this[i(338)](i(392),re[i(334)]),this[i(368)]=new Ye,this[i(356)]=new he(t),this[i(311)]=new ce(t,n),this[i(311)][i(324)](i(390)).to(this),this[i(311)][i(324)](i(345)).to(this),this[i(339)]=this[i(312)](),this[i(339)][i(324)](i(392)).to(this),this[i(337)]=this[i(325)](),this[i(374)]=new e.FocusTracker,this[i(358)]=new e.KeystrokeHandler,this[i(318)]=this[i(377)]([this[i(311)],this[i(311)][i(383)],this[i(339)],this[i(337)]]),this[i(322)]=new o.FocusCycler({focusables:this[i(318)],focusTracker:this[i(374)],keystrokeHandler:this[i(358)],actions:{focusPrevious:i(380),focusNext:i(381)}}),this[i(322)][i(366)](this[i(337)][i(322)]),this[i(337)][i(307)][i(317)][i(324)](i(345)).to(this,i(360));const s=this[i(389)];this[i(316)]({tag:i(330),attributes:{class:["ck",i(310),r],tabindex:"-1"},children:[{tag:i(330),attributes:{class:["ck",i(369)]},children:[{tag:i(330),attributes:{class:[s.if(i(323),i(385),(e=>!e))]},children:[this[i(356)]]},this[i(311)],this[i(339)],this[i(337)]]}]})}[at(327)](){const e=at;super[e(327)](),this[e(374)][e(341)](this[e(311)][e(343)]),this[e(374)][e(341)](this[e(311)][e(383)][e(343)]),this[e(374)][e(341)](this[e(339)][e(343)]),this[e(374)][e(341)](this[e(337)][e(343)]),this[e(358)][e(361)](this[e(343)])}[at(364)](e=1){const t=at;-1===e?this[t(322)][t(342)]():this[t(322)][t(373)]()}[at(315)](){const e=at;this[e(360)]="",this[e(345)]="",this[e(323)]=!1,this[e(337)][e(315)](),this[e(311)][e(313)]=!1,this[e(339)][e(313)]=!1}[at(325)](){const e=at,t=this[e(353)],r=new me(t,{queryView:{label:H(t,e(308)),creator:o.createLabeledTextarea,showIcon:!1,showResetButton:!1},infoView:{text:{noSearchableItems:{primary:H(t,e(363)),secondary:H(t,e(333))}}},filteredView:this[e(388)](),queryMinChars:1/0,resetOnBlur:!1});return r[e(324)](e(382)).to(this,e(382),this,e(390),((e,t)=>e&&!t)),this[e(361)](r,e(351),((t,r)=>{const n=e;this[n(360)]=r;const o=it(r);this[n(349)](n(335),o),r[n(336)]()&&this[n(368)][n(341)]({prompt:o},0)}),{priority:e(347)}),r}[at(388)](){const e=at,t=new we(this[e(353)]);return t[e(314)][e(309)][e(391)](this[e(368)]).as(Ke),t.on(e(319),(()=>{const t=e;this[t(368)][t(387)](),this[t(337)][t(344)](""),this[t(337)][t(364)]()})),t}[at(312)](){const e=at,t=new ne(this[e(353)]);return t[e(350)][e(324)](e(382)).to(this,e(382),this,e(390),this,e(345),((e,t,r)=>e&&!t&&!!r)),t[e(350)][e(332)](e(378)).to(this,e(376)),t[e(386)][e(324)](e(382)).to(this,e(382),this,e(390),this,e(345),((e,t,r)=>e&&!t&&!!r)),t[e(386)][e(332)](e(378)).to(this,e(321)),t[e(367)][e(324)](e(382)).to(this,e(382),this,e(390),((e,t)=>e&&!t)),t[e(367)][e(332)](e(378)).to(this,e(354)),t[e(346)][e(324)](e(382)).to(this,e(390)),t[e(346)][e(332)](e(378)).to(this,e(355)),t}[at(329)](){const e=at;this[e(345)]="",this[e(323)]=!1,this[e(390)]=!0,this[e(311)][e(313)]=!0,this[e(339)][e(313)]=!0,this[e(311)][e(364)]()}[at(370)](){const e=at,t=this[e(353)];this[e(390)]=!1,this[e(360)]="",this[e(337)][e(315)](),this[e(345)]&&(this[e(337)][e(307)][e(340)]=H(t,e(320)))}[at(379)](e){const t=at,r=this[t(353)];this[t(370)](),this[t(323)]=!0,this[t(356)][t(357)]=e||H(r,t(372)),this[t(345)]||(this[t(311)][t(313)]=!1)}}const lt='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.346 9.422a.151.151 0 0 1 .284 0l.548 1.484a.152.152 0 0 0 .09.089l1.483.549a.151.151 0 0 1 0 .284l-1.483.548a.151.151 0 0 0-.09.09l-.548 1.483a.152.152 0 0 1-.142.1.151.151 0 0 1-.142-.1l-.549-1.483a.15.15 0 0 0-.09-.09l-1.483-.548a.15.15 0 0 1 0-.284l1.484-.549a.152.152 0 0 0 .089-.09l.549-1.483Z"/><path d="M16.306 1.742a.151.151 0 0 1 .284 0l.549 1.483a.15.15 0 0 0 .089.09l1.483.548a.151.151 0 0 1 .072.229.151.151 0 0 1-.072.055l-1.483.549a.15.15 0 0 0-.09.09l-.548 1.482a.151.151 0 0 1-.284 0l-.549-1.483a.15.15 0 0 0-.09-.09l-1.483-.548a.151.151 0 0 1 0-.284l1.484-.549a.152.152 0 0 0 .09-.089l.548-1.483Z"/><path d="M7.665 1.742a.151.151 0 0 1 .284 0l.549 1.483a.151.151 0 0 0 .09.09l1.482.548a.151.151 0 0 1 .072.229.151.151 0 0 1-.072.055l-1.483.549a.151.151 0 0 0-.09.09L7.95 6.267a.151.151 0 0 1-.284 0l-.549-1.483a.151.151 0 0 0-.089-.09l-1.483-.548a.151.151 0 0 1 0-.284l1.483-.549a.151.151 0 0 0 .09-.089l.548-1.483-.001.001Z"/><path d="M14.72 7.946a.848.848 0 0 0 .25-.591.824.824 0 0 0-.241-.588l-1.943-1.938a.812.812 0 0 0-.588-.241.838.838 0 0 0-.591.25l-1.545 1.539 3.115 3.115 1.542-1.546h.001Z"/><path clip-rule="evenodd" d="M1.19 15.636a.96.96 0 0 1 .281-.679l7.835-7.834 3.121 3.12-7.834 7.835a.959.959 0 0 1-1.358 0l-1.764-1.764a.96.96 0 0 1-.28-.678Zm9.22-5.391-1.121-1.12-6.479 6.478 1.121 1.121 6.479-6.479Z"/></svg>';var dt=r(379),gt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(dt.A,gt);dt.A.locals;var ht=r(181),ft={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(ht.A,ft);ht.A.locals;var pt=r(676),mt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(pt.A,mt);pt.A.locals;var kt=r(331);const bt=vt;function vt(e,t){const r=yt();return(vt=function(e,t){return r[e-=256]})(e,t)}function yt(){const e=["<p>","set"," ck-ai-assistant-ui_theme","getEarlierVisibleRevision","execute","ai.aiAssistant.contentAreaCssClass","isNaN","_onExecute","isFlat","forbiddenHandler","context","wasMoved","ai.useTheme","media","EDITOR_TOP_SIDE","push","insertContent","promptView","menuView","groupId","pluginName","3136FasMCw","polite","config","editor","_commandDefinitions","focus","listenTo","join","buttons","fire","replace","editing","menuBar:aiAssistant","comment","isOn","values","from","ck-ai-assistant-button ","2897502AcifEk","map","rawHtml","panelView","enabledCommandsIds","items","document","init","sort","AI Assistant","source","children","getSelectedBlocks","change:isError","copy","afterInit","ai-commands-config-order-collision","1899jdHTTH","DataTransfer","prompt","order","menuBar:aiCommands","ai.aiAssistant.disabledElements","get","label","fieldView","change:isProcessing","addMany","model","view","_aiAdapter","includes","updateView","menuitemcheckbox","once","insertContentBelow","delegate","change:value","schema","_aiAssistantController","textAdapter","command:","contentArea","</p>","reset","AIAssistantUI","showFakeVisualSelection","selection","hideUI","requires","hide","locale","1794346HQhiZx","ck-ai-assistant-ui","Error during AI content generation: %0","change","render","commands","ck-ai-commands-dropdown ","queryView","showAIAssistant","showUI","aiAssistant","add","bind","_initAriaAiStatusChangeAnnouncements","2016405KzPGKY","getRanges","getData","tableOfContents","change:enabledCommandsIds","hideFakeVisualSelection","plugins","replaceContent","ai.aiAssistant.commands","update","isCollapsed","buttonView","AI is writing","splice","Generated content: %0","componentFactory","isEnabled","_uiCssClasses","INSERT","_dialog","4639182ZDFhxq","864939EZFCnP","_getResolvedCommandsDefinitions","_forceMarkersCopy","errorView","_createAIAssistantUIButton","then","REPLACE","custom","setSelection","_initView","trim","define","currentContext","menuPanelClass","show","AI Commands","robotPencil","16YVkZbv","_formView","fromCharCode","text/html","getSelectedElement","aiCommands","requiresContent","getLimitElement","announce","updatePosition","body","getRevision","groupLabel","4701690MdWYpA","text","length"];return(yt=function(){return e})()}!function(e){const t=vt,r=e();for(;;)try{if(911327===parseInt(t(293))/1+-parseInt(t(400))/2+parseInt(t(328))/3*(parseInt(t(345))/4)+-parseInt(t(307))/5+-parseInt(t(327))/6+parseInt(t(358))/7+parseInt(t(382))/8*(-parseInt(t(258))/9))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(yt);const wt=globalThis[bt(259)];class _t extends t.Plugin{static get[bt(381)](){return bt(286)}static get[bt(290)](){return[kt.ClipboardMarkersUtils,$,F,o.Dialog]}constructor(e){const t=bt;super(e),this[t(324)]="",e[t(384)][t(339)](t(263),[t(374),t(402),t(310)]),e[t(384)][t(339)](t(366),""),e[t(384)][t(339)](t(373),!0),this[t(324)]=t(294)+(e[t(384)][t(264)](t(373))?t(363):"")}[bt(407)](){const e=bt,{editor:t}=this;this[e(271)]=t[e(313)][e(264)](F),this[e(326)]=t[e(313)][e(264)](o.Dialog),this[e(346)]=null,this[e(386)]=this[e(329)]();const r=new z(t,Array[e(398)](this[e(386)][e(397)]()));t[e(298)][e(304)](e(301),r),t.ui[e(322)][e(304)](e(350),(n=>{const i=e,s=(0,o.createDropdown)(n);return s[i(362)]({class:i(299)+this[i(324)]}),s[i(318)][i(362)]({label:H(n,i(343)),icon:lt,tooltip:!0}),s.on(i(365),(e=>this[i(368)](e[i(410)].id))),(0,o.addMenuToDropdown)(s,t.ui[i(270)][i(355)],function(e){const t=i,r=e[t(384)][t(264)](t(315));return At(e,r)[t(401)]((r=>{const n=t,{groupId:o,groupLabel:i,commands:s}=r;return{id:o,menu:i||o,children:At(e,s)[n(401)]((e=>({id:e.id,label:e[n(265)]})))}}))}(t),{ariaLabel:H(n,i(343))}),s[i(379)][i(341)]=i(299)+this[i(324)],r.on(i(311),a),s[i(379)][i(275)](i(297),a),s;function a(){const e=i;s[e(323)]=r[e(404)][e(360)]>0;for(const t of s[e(379)][e(390)])t[e(323)]=r[e(404)][e(272)](t.id)}})),t.ui[e(322)][e(304)](e(262),(n=>{const i=e,s=new o.MenuBarMenuView(n);s[i(318)][i(362)]({label:H(n,i(343)),icon:lt}),s[i(305)](i(323)).to(r,i(404),(e=>e[i(360)]>0));const a=new o.MenuBarMenuListView(n);return At(t,t[i(384)][i(264)](i(315)))[i(401)]((({groupId:e,groupLabel:c,commands:u})=>{const l=i,d=new o.MenuBarMenuListItemView(n,s),g=new o.MenuBarMenuView(n),h=new o.MenuBarMenuListView(n),f=At(t,u)[l(401)]((e=>{const t=l,i=new o.MenuBarMenuListItemView(n,g),s=new o.MenuBarMenuListItemButtonView(n);return s[t(362)]({label:e[t(265)]}),s[t(277)](t(365)).to(g),s.on(t(365),(()=>this[t(368)](e.id))),s[t(305)](t(323)).to(r,t(404),(r=>r[t(272)](e.id))),i[t(411)][t(304)](s),i}));g[l(318)][l(362)]({label:c||e}),g[l(277)](l(365)).to(s),h[l(405)][l(268)](f),g[l(403)][l(411)][l(304)](h),d[l(411)][l(304)](g),a[l(405)][l(304)](d)})),s[i(403)][i(411)][i(304)](a),s})),t.ui[e(322)][e(304)](e(303),(()=>{const t=e,r=this[t(332)](o.ButtonView);return r[t(362)]({tooltip:!0,class:t(399)+this[t(324)]}),r})),t.ui[e(322)][e(304)](e(394),(()=>{const t=e,r=this[t(332)](o.MenuBarMenuListItemButtonView);return r[t(362)]({role:t(274)}),r}))}[bt(256)](){!function(e){function r(e){const t=vt;return e[t(401)]((e=>String[t(347)](e)))[t(389)]("")}(e=>{const n=vt;function o(e){return r([112,108,117,103,105,110,78,97,109,101])in e}const i=[1,85,78,115,198,255,50,112,83,87,161],s=[127,34,6,211,167,86,146,199,132,160,18];function a(e){return function(e,t){const n=function(e){const t=atob(e),[n,o]=t[r([115,112,108,105,116])](r([45]));try{if(atob(o))return atob(n)}catch(e){}return t}(e),o=Array[r([102,114,111,109])](function(e){const t=new Uint8Array(e[r([108,101,110,103,116,104])]);for(let n=0;n<e[r([108,101,110,103,116,104])];n++)t[n]=e[r([99,104,97,114,67,111,100,101,65,116])](n);return t}(n)),i=o[r([112,111,112])](),s=o[r([112,111,112])]();return function(e){let t="";for(const n of e)t+=String[r([102,114,111,109,67,104,97,114,67,111,100,101])](n);return t}(function(e,t,n){const o={};o[r([110,117,109,98,101,114,79,102,82,111,117,110,100,115])]={16:10,24:12,32:14},o[r([114,99,111,110])]=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],o[r([83])]=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],o[r([84,49])]=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],o[r([84,50])]=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],o[r([84,51])]=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],o[r([84,52])]=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],o[r([85,49])]=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],o[r([85,50])]=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],o[r([85,51])]=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],o[r([85,52])]=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];const i=new Uint8Array(16);for(let e=15;e>=0;--e)i[e]=n%256,n=parseInt(n/256);let s=null,a=16;const c=new Uint8Array(t),u=[],l=[];!function(){const e=o[r([110,117,109,98,101,114,79,102,82,111,117,110,100,115])][c[r([108,101,110,103,116,104])]];for(let t=0;t<=e;t++)u[r([112,117,115,104])]([0,0,0,0]),l[r([112,117,115,104])]([0,0,0,0]);const t=4*(e+1),n=c[r([108,101,110,103,116,104])]/4,i=d(c);let s;for(let t=0;t<n;t++)s=t>>2,u[s][t%4]=i[t],l[e-s][t%4]=i[t];let a,g=0,h=n;for(;h<t;){a=i[n-1],i[0]^=o[r([83])][a>>16&255]<<24^o[r([83])][a>>8&255]<<16^o[r([83])][255&a]<<8^o[r([83])][a>>24&255]^o[r([114,99,111,110])][g]<<24,g+=1;for(let e=1;e<n/2;e++)i[e]^=i[e-1];a=i[n/2-1],i[n/2]^=o[r([83])][255&a]^o[r([83])][a>>8&255]<<8^o[r([83])][a>>16&255]<<16^o[r([83])][a>>24&255]<<24;for(let e=n/2+1;e<n;e++)i[e]^=i[e-1];let s,c,d=0;for(;d<n&&h<t;)s=h>>2,c=h%4,u[s][c]=i[d],l[e-s][c]=i[d++],h++}for(let t=1;t<e;t++)for(let e=0;e<4;e++)a=l[t][e],l[t][e]=o[r([85,49])][a>>24&255]^o[r([85,50])][a>>16&255]^o[r([85,51])][a>>8&255]^o[r([85,52])][255&a]}();for(let t=0;t<e[r([108,101,110,103,116,104])];t++)16===a&&(s=h(i),a=0,g(i)),e[t]^=s[a++];return e;function d(e){const t=[];for(let n=0;n<e[r([108,101,110,103,116,104])];n+=4)t[r([112,117,115,104])](e[n]<<24|e[n+1]<<16|e[n+2]<<8|e[n+3]);return t}function g(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function h(e){const t=u[r([108,101,110,103,116,104])]-1,n=[0,0,0,0];let i=d(e);for(let e=0;e<4;e++)i[e]^=u[0][e];for(let e=1;e<t;e++){for(let t=0;t<4;t++)n[t]=o[r([84,49])][i[t]>>24&255]^o[r([84,50])][i[(t+1)%4]>>16&255]^o[r([84,51])][i[(t+2)%4]>>8&255]^o[r([84,52])][255&i[(t+3)%4]]^u[e][t];i=n[r([115,108,105,99,101])]()}const s=new Uint8Array(16);let a;for(let e=0;e<4;e++)a=u[t][e],s[4*e]=255&(o[r([83])][i[e]>>24&255]^a>>24),s[4*e+1]=255&(o[r([83])][i[(e+1)%4]>>16&255]^a>>16),s[4*e+2]=255&(o[r([83])][i[(e+2)%4]>>8&255]^a>>8),s[4*e+3]=255&(o[r([83])][255&i[(e+3)%4]]^a);return s}}(o,t,s+256*i))}(e,new Uint8Array([...i,29,221,175,90,231,133,239,240,75,180,...s]))}const c=function(){const e=[{[r([105,100])]:1,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([67,111,109,109,101,110,116,115]),[r([112,108,117,103,105,110,78,97,109,101])]:r([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([108,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([99,104,101,99,107,65,108,115,111])]:[{[r([105,100])]:2,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([84,114,97,99,107,32,67,104,97,110,103,101,115]),[r([112,108,117,103,105,110,78,97,109,101])]:r([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([108,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115]),[r([111,112,116,105,111,110,115])]:{[r([97,105,119,115,103,105,99])]:!0,[r([97,105,116,99,100,103,105,108])]:!0,[r([97,105,114,118,105,105,108])]:!0}}],[r([111,112,116,105,111,110,115])]:{[r([97,105,119,115,103,105,99])]:!0,[r([97,105,116,99,100,103,105,108])]:!0,[r([97,105,114,118,105,105,108])]:!0}},{[r([105,100])]:3,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([80,97,103,105,110,97,116,105,111,110]),[r([112,108,117,103,105,110,78,97,109,101])]:r([80,97,103,105,110,97,116,105,111,110,76,111,111,107,117,112]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([112,97,103,105,110,97,116,105,111,110,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101])},{[r([105,100])]:4,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([82,101,118,105,115,105,111,110,32,72,105,115,116,111,114,121]),[r([112,108,117,103,105,110,78,97,109,101])]:r([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([108,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121]),[r([111,112,116,105,111,110,115])]:{[r([97,105,119,115,103,105,99])]:!0,[r([97,105,116,99,100,103,105,108])]:!0,[r([97,105,114,118,105,105,108])]:!0}},{[r([105,100])]:5,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([68,111,99,117,109,101,110,116,32,79,117,116,108,105,110,101]),[r([112,108,117,103,105,110,78,97,109,101])]:r([68,111,99,117,109,101,110,116,79,117,116,108,105,110,101,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([100,111,99,117,109,101,110,116,79,117,116,108,105,110,101,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:6,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([70,111,114,109,97,116,32,80,97,105,110,116,101,114]),[r([112,108,117,103,105,110,78,97,109,101])]:r([70,111,114,109,97,116,80,97,105,110,116,101,114,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([102,111,114,109,97,116,80,97,105,110,116,101,114,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:7,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([83,108,97,115,104,32,67,111,109,109,97,110,100]),[r([112,108,117,103,105,110,78,97,109,101])]:r([83,108,97,115,104,67,111,109,109,97,110,100,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([115,108,97,115,104,67,111,109,109,97,110,100,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:8,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([84,97,98,108,101,32,111,102,32,67,111,110,116,101,110,116,115]),[r([112,108,117,103,105,110,78,97,109,101])]:r([84,97,98,108,101,79,102,67,111,110,116,101,110,116,115,69,100,105,116,105,110,103]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([116,97,98,108,101,79,102,67,111,110,116,101,110,116,115,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:9,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([84,101,109,112,108,97,116,101]),[r([112,108,117,103,105,110,78,97,109,101])]:r([84,101,109,112,108,97,116,101,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([116,101,109,112,108,97,116,101,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12,14]}},{[r([105,100])]:10,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([80,97,115,116,101,32,102,114,111,109,32,79,102,102,105,99,101,32,69,110,104,97,110,99,101,100]),[r([112,108,117,103,105,110,78,97,109,101])]:r([80,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,73,110,108,105,110,101,114]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([112,97,115,116,101,70,114,111,109,79,102,102,105,99,101,69,110,104,97,110,99,101,100,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:11,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([65,73,32,65,115,115,105,115,116,97,110,116]),[r([112,108,117,103,105,110,78,97,109,101])]:r([65,73,65,115,115,105,115,116,97,110,116,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([97,105,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101])},{[r([105,100])]:12,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([80,114,111,100,117,99,116,105,118,105,116,121,32,112,97,99,107])},{[r([105,100])]:13,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([67,97,115,101,32,67,104,97,110,103,101]),[r([112,108,117,103,105,110,78,97,109,101])]:r([67,97,115,101,67,104,97,110,103,101,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([99,97,115,101,67,104,97,110,103,101,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}},{[r([105,100])]:14,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([68,114,117,112,97,108,32,112,97,99,107]),[r([102,111,114,98,105,100,100,101,110,72,97,110,100,108,101,114])]:r([102,111,114,98,105,100,100,101,110,72,97,110,100,108,101,114,70,111,114,68,114,117,112,97,108])},{[r([105,100])]:15,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([77,117,108,116,105,32,76,101,118,101,108,32,76,105,115,116]),[r([112,108,117,103,105,110,78,97,109,101])]:r([77,117,108,116,105,76,101,118,101,108,76,105,115,116,69,100,105,116,105,110,103]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([109,117,108,116,105,76,101,118,101,108,76,105,115,116,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101])},{[r([105,100])]:16,[r([102,101,97,116,117,114,101,78,97,109,101])]:r([77,101,114,103,101,32,70,105,101,108,100,115]),[r([112,108,117,103,105,110,78,97,109,101])]:r([77,101,114,103,101,70,105,101,108,100,115,85,73]),[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]:r([109,101,114,103,101,70,105,101,108,100,115,76,105,99,101,110,115,101,75,101,121]),[r([104,97,110,100,108,101,114])]:r([99,104,101,99,107,76,105,99,101,110,115,101]),[r([111,112,116,105,111,110,115])]:{[r([102,103,105])]:[12]}}];return function e(t){t[r([102,111,114,69,97,99,104])]((t=>{t[r([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]=1<<t[r([105,100])]-1,o(t)&&t[r([99,104,101,99,107,65,108,115,111])]&&e(t[r([99,104,101,99,107,65,108,115,111])])}))}(e),e}(),u={[r([99,104,101,99,107,76,105,99,101,110,115,101])]:function(e,t){k(m(e,t),t)},[r([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,84,114,97,99,107,67,104,97,110,103,101,115])]:function(e,t){k(function(e,t){try{if(A(d,r([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))&&e){const n=x(d,r([84,114,97,99,107,67,104,97,110,103,101,115,69,100,105,116,105,110,103]))[r([95,101,120,101,99,117,116,101,83,117,103,103,101,115,116,105,111,110])];if(parseInt(n)/2>e[r([101,120,112,105,114,97,116,105,111,110,68,97,116,101])])return b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}return m(e,t)}catch(e){return b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}}(e,t),t)},[r([99,104,101,99,107,76,105,99,101,110,115,101,70,111,114,82,101,118,105,115,105,111,110,72,105,115,116,111,114,121])]:function(e,t){const n=s[0]*i[1],o=s[0]*i[2],a=s[2]*i[2];function c(e,t){u(),b(t+r([84,114,105,97,108,76,105,109,105,116,58])+e),window[v()]=e===r([116,105,109,101])?n:o}function u(){const e=d;function t(){A(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&(x(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[r([117,110,98,105,110,100])](r([105,115,69,110,97,98,108,101,100])),x(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[r([105,115,69,110,97,98,108,101,100])]=!1,x(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[r([117,112,100,97,116,101])]=_,x(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))[r([115,97,118,101,82,101,118,105,115,105,111,110])]=_,e[r([109,111,100,101,108])][r([99,104,97,110,103,101])]=_,e[r([109,111,100,101,108])][r([101,110,113,117,101,117,101,67,104,97,110,103,101])]=_,e[r([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](r([109,111,100,101,108]))),A(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(x(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([117,110,98,105,110,100])](r([105,115,69,110,97,98,108,101,100])),x(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([105,115,69,110,97,98,108,101,100])]=!1,x(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([99,111,109,112,97,114,101])]=_,x(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([95,103,101,116,68,105,102,102])]=_)}e[r([115,116,97,116,101])]==r([114,101,97,100,121])?t():e[r([111,110,99,101])](r([114,101,97,100,121]),(()=>{const n=vt;if(A(e,r([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))&&t(),A(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const o=x(e,r([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121])),i=o[n(356)](0),s=o[n(364)](i[r([105,100])]);x(e,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))[r([99,111,109,112,97,114,101])](i[r([105,100])],s?s[r([105,100])]:null,1)[n(333)]((()=>t()))}}))}A(d,r([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&x(d,r([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[r([115,116,97,116,101])]==r([99,111,110,110,101,99,116,101,100])&&(window[v()]=a),function(e,t){if(e==t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))u();else if(e==t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108])){const e=function(){const e=vt;if(!A(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number[e(367)](Number(t))){if(window[t]===n)return r([116,105,109,101]);if(window[t]===o)return r([114,101,118,105,115,105,111,110,115])}return!1}();e&&c(e,t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]);const a=function(){let e=s[6]*i[8]*i[6];return A(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&(e/=10),e}();window[r([115,101,116,84,105,109,101,111,117,116])]((()=>{c(r([116,105,109,101]),t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}),a);const u=x(d,r([82,101,118,105,115,105,111,110,115,82,101,112,111,115,105,116,111,114,121]))[r([95,114,101,118,105,115,105,111,110,115])];u[r([108,101,110,103,116,104])]>=7?c(r([114,101,118,105,115,105,111,110,115]),t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]):u.on(r([97,100,100]),(()=>{u[r([108,101,110,103,116,104])]>=7&&c(r([114,101,118,105,115,105,111,110,115]),t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])])}))}}(function(e,t){try{return function(){const e=vt;if(!A(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114])))return!1;for(const t in window)if(Number[e(367)](Number(t))&&window[t]===a)return!0;return!1}()?b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([86,97,108,105,100])):m(e,t)}catch(e){return b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}}(e,t),t)}},l=e[r([99,111,110,115,116,114,117,99,116,111,114])][r([112,108,117,103,105,110,78,97,109,101])],d=r([99,111,110,116,101,120,116])in e?e[n(371)]:e[n(385)],g=r([52,48,52,56,49,54,53,56]),h=r([65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57]),f=d[n(384)][n(264)](r([108,105,99,101,110,115,101,75,101,121])),p=c[r([102,105,108,116,101,114])](o)[r([102,105,110,100])]((e=>e[r([112,108,117,103,105,110,78,97,109,101])]===l));function m(e,t){try{return function(e){if(!A(d,e[r([112,108,117,103,105,110,78,97,109,101])]))return!0;const t=e[r([111,112,116,105,111,110,115])]||{},n=t[r([97,105,119,115,103,105,99])]||!1,o=t[r([97,105,116,99,100,103,105,108])]||!1,i=t[r([97,105,114,118,105,105,108])]||!1;return!(!A(d,r([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))||x(d,r([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[r([115,116,97,116,101])]!=r([99,111,110,110,101,99,116,101,100])||!n)||(!(!A(d,r([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))||x(d,r([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114]))[r([114,101,115,117,108,116])]!=r([101,110,100])||!o)||!(!A(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||x(d,r([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))[r([114,101,115,117,108,116])]!=r([101,110,100])||!i))}(t)?b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([86,97,108,105,100])):e&&function(e,t){const o=!!(e&t[r([112,101,114,109,105,115,115,105,111,110,77,97,115,107])]),i=function(e,t){const o=(t[r([111,112,116,105,111,110,115])]||{})[r([102,103,105])]||null;return!!o&&c[r([102,105,108,116,101,114])]((e=>o[r([105,110,99,108,117,100,101,115])](e[r([105,100])])))[r([102,105,108,116,101,114])]((e=>!function(e){const t=n,o={[r([102,111,114,98,105,100,100,101,110,72,97,110,100,108,101,114,70,111,114,68,114,117,112,97,108])]:S};return!!e[t(370)]&&o[e[t(370)]]()}(e)))[r([115,111,109,101])]((t=>!!(e&t[r([112,101,114,109,105,115,115,105,111,110,77,97,115,107])])))}(e,t);return o||i}(e[r([97,108,108,111,119,101,100,80,108,117,103,105,110,115])],t)?e[r([105,115,73,110,116,101,114,110,97,108])]&&!window[r([111,112,101,110])][r([99,108,111,115,101,100])]||parseInt(g)/2>e[r([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]?b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100])):e[r([105,115,84,114,105,97,108])]?b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108])):b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([86,97,108,105,100])):b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}catch(e){return b(t[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100]))}}function k(e,n){if(d instanceof t.Context){const t=d;e==n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100])?y(t):e==n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108])&&window[r([115,101,116,84,105,109,101,111,117,116])]((()=>{y(t),b(n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101]))}),s[6]*i[8]*i[6]),t[r([101,100,105,116,111,114,115])][r([111,110])](r([97,100,100]),((t,o)=>{e!=n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100])&&e!=n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108,76,105,109,105,116,58,116,105,109,101])&&e!=n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])||w(o)}))}else{const t=d;e==n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([73,110,118,97,108,105,100])?w(t):e==n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108])&&t[r([111,110])](r([114,101,97,100,121]),(()=>{let e=0;t[r([109,111,100,101,108])][r([111,110])](r([97,112,112,108,121,79,112,101,114,97,116,105,111,110]),((o,i)=>{i[0][r([105,115,68,111,99,117,109,101,110,116,79,112,101,114,97,116,105,111,110])]&&e++,504===e&&(w(t),b(n[r([108,105,99,101,110,115,101,83,116,97,116,117,115,80,114,101,102,105,120])]+r([84,114,105,97,108,76,105,109,105,116,58,111,112,101,114,97,116,105,111,110,115])),o[r([111,102,102])]())}),{priority:r([104,105,103,104,101,115,116])})}))}}function b(e){const t=v();return d[t]=e,e}function v(){const e=String(window[r([112,101,114,102,111,114,109,97,110,99,101])][r([110,111,119])]())[r([114,101,112,108,97,99,101])](r([46]),"");let t="";for(let n=0;n<e[r([108,101,110,103,116,104])];n+=2){let o=parseInt(e[r([115,117,98,115,116,114,105,110,103])](n,n+2));o>=h[r([108,101,110,103,116,104])]&&(o-=h[r([108,101,110,103,116,104])]),t+=h[o]}return t}function y(e){for(const t of e[r([101,100,105,116,111,114,115])])w(t);x(e,r([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[r([115,119,105,116,99,104,82,101,97,100,79,110,108,121])](!0),x(e,r([67,111,109,109,101,110,116,115,82,101,112,111,115,105,116,111,114,121]))[r([115,119,105,116,99,104,82,101,97,100,79,110,108,121])]=_}function w(e){function t(){e[r([109,111,100,101,108])][r([99,104,97,110,103,101])]=_,e[r([109,111,100,101,108])][r([101,110,113,117,101,117,101,67,104,97,110,103,101])]=_,e[r([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](r([109,111,100,101,108]))}e[r([115,116,97,116,101])]==r([114,101,97,100,121])?t():e[r([111,110,99,101])](r([114,101,97,100,121]),(()=>t()))}function _(){return null}function S(){return!window[r([68,114,117,112,97,108])]||!A(d,r([100,114,117,112,97,108,80,111,119,101,114,101,100,66,121]))}function A(e,t){return e[r([112,108,117,103,105,110,115])][r([104,97,115])](t)}function x(e,t){return e[r([112,108,117,103,105,110,115])][r([103,101,116])](t)}p&&function e(t,n){u[n[r([104,97,110,100,108,101,114])]](t,n),n[r([99,104,101,99,107,65,108,115,111])]&&n[r([99,104,101,99,107,65,108,115,111])][r([102,105,108,116,101,114])]((e=>A(d,e[r([112,108,117,103,105,110,78,97,109,101])])))[r([102,111,114,69,97,99,104])]((r=>e(t,r)))}(function(e){try{const t=a(e),n=JSON[r([112,97,114,115,101])](t),o=parseInt(n[r([49])]),i=n[r([50])]||"",s=parseInt(n[r([51])]),c=parseInt(n[r([52])])||0,u=parseInt(n[r([53])])||0;return{[r([112,114,111,100,117,99,116,78,97,109,101])]:i,[r([97,108,108,111,119,101,100,80,108,117,103,105,110,115])]:c,[r([101,120,112,105,114,97,116,105,111,110,68,97,116,101])]:o,[r([105,115,84,114,105,97,108])]:s,[r([105,115,73,110,116,101,114,110,97,108])]:u}}catch(e){return null}}(f),p)})(e)}(this)}[bt(302)](e="",t="",r=bt(335)){const n=bt,i=this[n(385)],s=i[n(393)][n(270)],a=i[n(313)][n(264)]($),c=i[n(313)][n(264)](kt.ClipboardMarkersUtils);a[n(287)]();const u=new wt,l=new ClipboardEvent(n(414),{clipboardData:u}),d=new Z.DataTransfer(u),g=new Z.DomEventData(s,l,{dataTransfer:d});c[n(330)](n(395),(()=>{const e=n;s[e(406)][e(391)](e(414),g)})),this[n(346)]||(this[n(337)](),this[n(280)]=new Y(i,this[n(271)][n(281)],this[n(346)]));let h=d[n(309)](n(348));const f=i[n(269)][n(406)][n(288)],p=Array[n(398)](f[n(308)]());1===p[n(360)]&&p[0][n(369)]&&!f[n(349)]()&&""!==h[n(392)](/ /g,"")[n(338)]()&&(h=n(361)+h+n(284)),this[n(280)][n(273)]({actionId:r,query:e,htmlContent:h,label:t,mainActionLabel:re[i[n(269)][n(406)][n(288)][n(317)]?n(325):n(334)]}),n(303)!==this[n(326)].id?this[n(326)][n(342)]({id:n(303),icon:T[n(344)],title:H(this[n(385)][n(292)],n(409)),content:this[n(346)],position:o.DialogViewPosition[n(375)],onShow:()=>{const e=n;this[e(346)][e(387)]()},onHide:()=>{const e=n;this[e(280)][e(285)](),a[e(312)]()}}):this[n(326)][n(270)][n(372)]||this[n(326)][n(270)][n(354)]()}[bt(289)](){const e=bt;this[e(326)][e(291)]()}[bt(329)](){const e=bt,t=new Map,r=this[e(385)][e(384)][e(264)](e(315));for(const n of r)for(const r of n[e(298)])t[e(362)](r.id,{...r,groupId:n[e(380)],groupLabel:n[e(357)]||n[e(380)]});return t}[bt(332)](e){const t=bt,r=this[t(385)],n=r[t(298)][t(264)](t(301)),o=new e(r[t(292)]);return o[t(362)]({label:H(r[t(292)],t(409)),icon:T[t(344)],isToggleable:!0}),o[t(305)](t(323)).to(n),o[t(305)](t(396)).to(this[t(326)],"id",(e=>t(303)===e)),this[t(388)](o,t(365),(()=>{const e=t;o[e(396)]?this[e(289)]():n[e(365)]()})),o}[bt(337)](){const e=bt,t=this[e(385)][e(313)][e(264)]($);this[e(346)]=new ut(this[e(385)][e(292)],this[e(324)],this[e(385)][e(384)][e(264)](e(366))),this[e(346)].on(e(278),(()=>{const t=e;this[t(326)][t(270)][t(372)]||this[t(326)][t(270)][t(354)]()})),this[e(346)][e(378)][e(300)][e(266)].on(e(316),(()=>{const t=e;this[t(326)][t(270)][t(372)]||this[t(326)][t(270)][t(354)]()})),this[e(388)](this[e(346)],e(314),(()=>{const r=e;t[r(377)](this[r(280)][r(340)]),this[r(289)]()})),this[e(388)](this[e(346)],e(276),(()=>{const r=e;t[r(276)](this[r(280)][r(340)]),this[r(289)]()})),this[e(306)]()}[bt(306)](){const e=bt,{locale:t,ui:{ariaLiveAnnouncer:r}}=this[e(385)];this[e(346)][e(283)].on(e(267),((n,o,i)=>{const s=e,a=this[s(280)][s(340)];i?r[s(353)](H(t,s(319))):a&&r[s(353)](H(t,s(321),a),{politeness:s(383),isUnsafeHTML:!0})})),this[e(346)].on(e(413),((n,o,i)=>{const s=e;if(i){const e=this[s(346)][s(331)][s(359)];r[s(353)](H(t,s(295),e))}}))}[bt(368)](t){const r=bt,n=this[r(386)][r(264)](t),o=this[r(385)],i=o[r(269)][r(406)][r(288)],s=o[r(298)][r(264)](r(301)),a=o[r(313)][r(264)]($);if(!1!==n[r(351)]&&i[r(317)]){const t=(0,e.first)(i[r(412)]())||o[r(269)][r(279)][r(352)](i);o[r(269)][r(296)]((e=>{e[r(336)](t,"in")}))}a[r(287)](),s[r(365)](n[r(260)],n[r(357)]+": "+n[r(265)],r(282)+t)}}function St(e,t){const r=bt;return void 0!==e[r(261)]&&void 0===t[r(261)]?1:void 0===e[r(261)]&&void 0!==t[r(261)]?-1:void 0!==e[r(261)]&&void 0!==t[r(261)]?e[r(261)]-t[r(261)]:0}function At(t,r){const n=bt;r[n(408)](St);const o={},i=[];for(const s of r)if(void 0!==s[n(261)]){if(s[n(261)]in o)throw new e.CKEditorError(n(257),t,{conflictingDefinitions:[s,o[s[n(261)]]]});o[s[n(261)]]=s,i[n(320)](s[n(261)],0,s)}else i[n(376)](s);return i}function xt(e,t){const r=Rt();return(xt=function(e,t){return r[e-=309]})(e,t)}const Et=xt;!function(e){const t=xt,r=e();for(;;)try{if(406234===parseInt(t(310))/1*(parseInt(t(402))/2)+parseInt(t(349))/3+-parseInt(t(419))/4*(parseInt(t(313))/5)+-parseInt(t(374))/6+-parseInt(t(401))/7+parseInt(t(311))/8+-parseInt(t(369))/9)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Rt);class It extends t.Plugin{static get[Et(324)](){return[_t,$]}static get[Et(348)](){return Et(393)}constructor(e){const t=Et;super(e);const r=e[t(423)];r[t(394)](t(355),function(e){const t=Et;return[{groupId:t(336),groupLabel:H(e,t(368)),commands:[{id:t(378),label:H(e,t(390)),prompt:t(354)},{id:t(387),label:H(e,t(376)),prompt:t(367)},{id:t(400),label:H(e,t(377)),prompt:t(330)},{id:t(325),label:H(e,t(407)),prompt:t(421)}]},{groupId:t(317),groupLabel:H(e,t(356)),commands:[{id:t(398),label:H(e,t(425)),prompt:t(397)},{id:t(327),label:H(e,t(404)),prompt:t(412)}]},{groupId:t(422),groupLabel:H(e,t(322)),commands:[{id:t(382),label:H(e,t(372)),prompt:t(318)},{id:t(360),label:H(e,t(346)),prompt:t(345)},{id:t(406),label:H(e,t(362)),prompt:t(340)},{id:t(344),label:H(e,t(326)),prompt:t(366)},{id:t(408),label:H(e,t(383)),prompt:t(332)}]},{groupId:t(395),groupLabel:H(e,t(361)),commands:[{id:t(396),label:H(e,t(411)),prompt:t(312)},{id:t(357),label:H(e,t(321)),prompt:t(314)},{id:t(343),label:H(e,t(414)),prompt:t(347)},{id:t(315),label:H(e,t(399)),prompt:t(380)}]},{groupId:t(329),groupLabel:H(e,t(364)),commands:[{id:t(424),label:H(e,t(342)),prompt:t(339)},{id:t(359),label:H(e,t(335)),prompt:t(351)},{id:t(385),label:H(e,t(370)),prompt:t(428)},{id:t(338),label:H(e,t(418)),prompt:t(328)},{id:t(363),label:H(e,t(365)),prompt:t(375)},{id:t(417),label:H(e,t(373)),prompt:t(371)},{id:t(427),label:H(e,t(323)),prompt:t(410)},{id:t(316),label:H(e,t(426)),prompt:t(358)}]}]}(e[t(381)])),r[t(394)](t(391),[]),r[t(394)](t(334),[]);const n=r[t(386)](t(355)),o=r[t(386)](t(391)),i=r[t(386)](t(334));o[t(415)]((e=>{const r=t,o=n[r(352)]((t=>t[r(405)]===e[r(405)]));o?o[r(319)]=o[r(319)][r(379)](e[r(319)]):n[r(409)](e)})),n[t(415)]((e=>{const r=t;e[r(319)]=e[r(319)][r(320)]((e=>!i[r(341)](e.id)))})),r[t(403)](t(355),n)}[Et(420)](){const t=Et,r=this[t(331)];this[t(389)]=r[t(423)][t(386)](t(389)),this[t(337)]=setInterval((()=>{const n=t;let o;for(const e in r){const t=e,i=r[t];if(n(384)===i||n(388)===i||n(333)===i||n(350)===i){delete r[t],o=i;break}}if(n(388)===o)throw clearInterval(this[n(337)]),new e.CKEditorError(n(416),null);if(n(384)===o&&console[n(353)](n(392)),n(350)===o)throw clearInterval(this[n(337)]),new e.CKEditorError(n(413),null);n(333)===o&&clearInterval(this[n(337)])}),1e3)}[Et(309)](){const e=Et;this[e(337)]&&clearInterval(this[e(337)])}}function Rt(){const e=["Edit or review","6198903uukPfY","Portuguese","Translate the content to Simplified Chinese language.","Professional","Simplified Chinese","3303750bZKDSv","Translate the content to French language.","Make shorter","Make longer","improveWriting","concat","Rewrite this content as a poem using poetic techniques without losing the original meaning.","locale","professional","Friendly","aiLicenseKeyTrial","translatePortuguese","get","makeShorter","aiLicenseKeyInvalid","licenseKey","Improve writing","ai.aiAssistant.extraCommandGroups","You are using the trial version of CKEditor 5 ai plugin with limited usage. Make sure you will not use it in the production environment.","AIAssistant","define","changeStyle","business","Summarize this content into one paragraph of text. Include only the key ideas and conclusions. Keep it short. Do not keep original text formatting.","summarize","Poetic","makeLonger","1821190eoRZMG","633076nLNEVr","set","Continue","groupId","direct","Simplify language","friendly","push","Translate the content to Hindi language.","Business","Start with the provided content and write at the end of it continuing this topic. Keep the added part short.","ai-trial-license-key-reached-limit-changes","Journalism","forEach","ai-invalid-license-key","translateChinese","German","4EIIJfl","init","Simplify the writing style of this content and reduce the complexity, so that the content is easy to understand.","changeTone","config","translateEnglish","Summarize","Arabic","translateHindi","Translate the content to Portuguese language.","destroy","2aTZOFJ","4608648vJlSaF","Rewrite this content as a business professional with formal language.","435170FOzuAk","Rewrite this content as a legal professional using valid legal terminology.","poetic","translateArabic","generate","Improve using polished, formal, and respectful language to convey professional expertise and competence.","commands","filter","Legal","Change tone","Hindi","requires","simplifyLanguage","Confident","continue","Translate the content to German language.","translate","Improve this content by using descriptive language and inserting more information and more detailed explanations.","editor","Improve using friendly, comforting language, to convey understanding and empathy.","aiLicenseKeyValid","ai.aiAssistant.removeCommands","Spanish","editOrReview","_licenseKeyCheckInterval","translateGerman","Translate the content to English language.","Improve using direct language, using only the essential information.","includes","English","journalism","confident","Improve using casual, informal language to convey a casual conversation with a real person.","Casual","Rewrite this content as a journalist using engaging language to convey the importance of the information.","pluginName","2351019sMWIUf","aiLicenseKeyTrialLimit:operations","Translate the content to Spanish language.","find","info","Fix spelling mistakes, use proper grammar and apply good writing practices. Do not lose the original meaning.","ai.aiAssistant.commands","Generate from selection","legal","Translate the content to Arabic language.","translateSpanish","casual","Change style","Direct","translateFrench","Translate","French","Improve using compelling, optimistic language to convey confidence in the writing.","Remove any repetitive, redundant, or non-essential writing in this content without changing the meaning or losing any key information."];return(Rt=function(){return e})()}function Mt(e,t){const r=Ct();return(Mt=function(e,t){return r[e-=144]})(e,t)}const Pt=Mt;!function(e){const t=Mt,r=e();for(;;)try{if(718730===-parseInt(t(152))/1*(parseInt(t(183))/2)+-parseInt(t(149))/3*(parseInt(t(147))/4)+parseInt(t(175))/5+parseInt(t(170))/6*(-parseInt(t(168))/7)+parseInt(t(153))/8*(-parseInt(t(166))/9)+parseInt(t(145))/10*(parseInt(t(158))/11)+parseInt(t(151))/12*(parseInt(t(159))/13))break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ct);class Tt extends t.Plugin{static get[Pt(155)](){return[F]}constructor(e){const t=Pt;super(e),this[t(176)]=new AbortController}[Pt(172)](){const e=Pt;this[e(150)][e(146)][e(174)](F)[e(163)]=this}[Pt(154)](){const e=Pt;this[e(176)][e(171)][e(178)]||(this[e(176)][e(154)](),this[e(176)]=new AbortController)}async[Pt(160)](t){const r=Pt;return this[r(148)](t)[r(144)]((t=>{const n=r;if(t instanceof D)return Promise[n(161)](t);if(n(182)==t[n(165)])return Promise[n(157)]();throw console[n(181)](t),new e.CKEditorError(n(179),null)}))}async[Pt(156)](e,t){const r=Pt,n=this[r(150)][r(177)],o={"Content-Type":r(164)};if(r(167)==typeof e)Object[r(173)](o,e);else if(e)try{const n=await e(t);Object[r(173)](o,n)}catch(e){return Promise[r(161)](new D(H(n,r(169))))}return o}async[Pt(162)](e,t){const r=Pt,n=this[r(150)][r(177)];if(r(167)==typeof e)return e;try{return await e(t)}catch(e){return Promise[r(161)](new D(H(n,r(180))))}}}function Ct(){const e=["_prepareRequestParameters","textAdapter","application/json","name","914877dGnIRZ","object","2779fBeYFi","AI_ERROR_GET_HEADERS","20700NeMzXo","signal","init","assign","get","6657050xCxedr","abortController","locale","aborted","aitextadapter-send-request-failed","AI_ERROR_GET_PARAMETERS","error","AbortError","24258ivAczj","catch","4598980YRwvOQ","plugins","285832pKJBrC","sendRequest","3cInKFB","editor","23551572ttipvl","56aPDxUk","72SNRZsV","abort","requires","_prepareRequestHeaders","resolve","11BzAWOh","13IcEqmT","makeRequest","reject"];return(Ct=function(){return e})()}function Ot(){const e=["Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","[DONE]","config","context_length_exceeded","pluginName","split","message","_prepareRequestHeaders","sendRequest","AI_ERROR_MODERATION","system","json","text","https://api.openai.com/v1/chat/completions","204RzNKiO","map","_isBufferIncomplete","reject","signal","resolve","_readStaticResponse","length","delta","3374640hnEDNg","user","body","AI_ERROR_CONTEXT_LENGTH","\nYou must keep the text formatting.\n\nContent:\n","getReader","includes","join","get","_prepareRequestParameters","replace","_cleanUpData","Moderation","content","gpt-3.5-turbo","29224920rCdGlI","filter","_requestParameters","abortController","160013lCjzqT","stream","45139AYVGxx","POST","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","read","locale","8ofsENi","572XHGURG","1973259yleGyz","ai.openAI.requestParameters","decode","parse","choices","ai.openAI.requestHeaders","24IwmxGa","OpenAITextAdapter","stringify","172730WJGfnt","editor","_readStreamableResponse","15012sAfCBy","Instruction:\n","1164JCeVoH","_requestHeaders","data: ","_apiUrl","define","prepareMessages","ai.openAI.apiUrl"];return(Ot=function(){return e})()}const Nt=Lt;function Lt(e,t){const r=Ot();return(Lt=function(e,t){return r[e-=195]})(e,t)}!function(e){const t=Lt,r=e();for(;;)try{if(772265===parseInt(t(264))/1*(-parseInt(t(205))/2)+-parseInt(t(213))/3*(parseInt(t(211))/4)+parseInt(t(243))/5+parseInt(t(234))/6*(parseInt(t(262))/7)+parseInt(t(197))/8*(-parseInt(t(199))/9)+parseInt(t(208))/10*(-parseInt(t(198))/11)+parseInt(t(258))/12)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Ot);class $t extends Tt{static get[Nt(224)](){return Nt(206)}constructor(e){const t=Nt;super(e),e[t(222)][t(217)](t(219),t(233)),e[t(222)][t(251)](t(200))||e[t(222)][t(217)](t(200),{model:t(257),max_tokens:2e3,temperature:1,top_p:1,stream:!0}),this[t(216)]=e[t(222)][t(251)](t(219)),this[t(214)]=e[t(222)][t(251)](t(204))||{},this[t(260)]=e[t(222)][t(251)](t(200))}async[Nt(228)]({query:e,context:t,onData:r,actionId:n}){const o=Nt,i=this[o(209)][o(196)],s=await this[o(218)](e,t,n),a=await this[o(227)](this[o(214)],n),c=await this[o(252)](this[o(260)],n),u={messages:s,...c},l={method:o(265),headers:a,body:JSON[o(207)](u),signal:this[o(261)][o(238)]},d=await fetch(this[o(216)],l);if(d.ok)return c[o(263)]?await this[o(210)](d,r):await this[o(240)](d,r),Promise[o(239)]();{const e=await d[o(232)]();return e[o(249)](o(223))?Promise[o(237)](new D(H(i,o(246)))):e[o(249)](o(255))?Promise[o(237)](new D(H(i,o(229)))):Promise[o(237)](new Error(e))}}async[Nt(218)](e,t,r){const n=Nt;let o,i;return t?(o=n(220),i=n(212)+e+n(247)+t):(o=n(266),i=e),[{role:n(230),content:o},{role:n(244),content:i}]}async[Nt(210)](e,t){const r=Nt,n=e[r(245)][r(248)](),o=new TextDecoder;let i="",s="",a="",c=!1;for(;!c;){const{done:e,value:u}=await n[r(195)](),l=i+o[r(201)](u);let d="";c=e;try{d=this[r(254)](l),i=""}catch(e){i=l;continue}s+=d,!c&&this[r(236)](s)||s&&(a+=s,s="",t(a))}return Promise[r(239)]()}async[Nt(240)](e,t){const r=Nt;return t((await e[r(231)]())[r(203)][0][r(226)][r(256)]),Promise[r(239)]()}[Nt(236)](e){const t=Nt,r=e[t(225)]("<")[t(241)]!==e[t(225)](">")[t(241)],n=e[t(241)]<30;return r&&n}[Nt(254)](e){const t=Nt;return e[t(225)](/\n(?![^{]*\})/g)[t(235)]((e=>e[t(253)](t(215),"")))[t(259)]((e=>e&&e[t(241)]>0&&t(221)!==e))[t(235)]((e=>{const r=t,{choices:n}=JSON[r(202)](e);if(n[0]&&n[0][r(242)]&&n[0][r(242)][r(256)])return n[0][r(242)][r(256)]}))[t(259)]((e=>e))[t(250)]("")}}const Bt=e=>{let t=e.httpHandler;return{setHttpHandler(e){t=e},httpHandler:()=>t,updateHttpClientConfig(e,r){t.updateHttpClientConfig(e,r)},httpHandlerConfigs:()=>t.httpHandlerConfigs()}};var Ut,Ft,Dt,jt;!function(e){e.HEADER="header",e.QUERY="query"}(Ut||(Ut={})),function(e){e.HEADER="header",e.QUERY="query"}(Ft||(Ft={})),function(e){e.HTTP="http",e.HTTPS="https"}(Dt||(Dt={})),function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(jt||(jt={}));var Ht;!function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"}(Ht||(Ht={}));const Vt="__smithy_context";var qt,zt;!function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"}(qt||(qt={})),function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"}(zt||(zt={}));class Gt{constructor(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.slice(-1)?`${e.protocol}:`:e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?`/${e.path}`:e.path:"/",this.username=e.username,this.password=e.password,this.fragment=e.fragment}static clone(e){const t=new Gt({...e,headers:{...e.headers}});var r;return t.query&&(t.query=(r=t.query,Object.keys(r).reduce(((e,t)=>{const n=r[t];return{...e,[t]:Array.isArray(n)?[...n]:n}}),{}))),t}static isInstance(e){if(!e)return!1;const t=e;return"method"in t&&"protocol"in t&&"hostname"in t&&"path"in t&&"object"==typeof t.query&&"object"==typeof t.headers}clone(){return Gt.clone(this)}}class Wt{constructor(e){this.statusCode=e.statusCode,this.reason=e.reason,this.headers=e.headers||{},this.body=e.body}static isInstance(e){if(!e)return!1;const t=e;return"number"==typeof t.statusCode&&"object"==typeof t.headers}}const Zt={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},Kt=e=>({applyToStack:t=>{t.add((e=>t=>async r=>{if(!Gt.isInstance(r.request))return t(r);const{request:n}=r,{handlerProtocol:o=""}=e.requestHandler.metadata||{};if(o.indexOf("h2")>=0&&!n.headers[":authority"])delete n.headers.host,n.headers[":authority"]=n.hostname+(n.port?":"+n.port:"");else if(!n.headers.host){let e=n.hostname;null!=n.port&&(e+=`:${n.port}`),n.headers.host=e}return t(r)})(e),Zt)}}),Jt={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},Qt="X-Amzn-Trace-Id",Yt={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},Xt=e=>({applyToStack:t=>{t.add((e=>t=>async r=>{const{request:n}=r;if(!Gt.isInstance(n)||"node"!==e.runtime||n.headers.hasOwnProperty(Qt))return t(r);const o=process.env.AWS_LAMBDA_FUNCTION_NAME,i=process.env._X_AMZN_TRACE_ID,s=e=>"string"==typeof e&&e.length>0;return s(o)&&s(i)&&(n.headers[Qt]=i),t({...r,request:n})})(e),Yt)}});const er=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),tr=e=>er.test(e)||e.startsWith("[")&&e.endsWith("]"),rr=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),nr=(e,t=!1)=>{if(!t)return rr.test(e);const r=e.split(".");for(const e of r)if(!nr(e))return!1;return!0},or={},ir="endpoints";function sr(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${sr(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(sr).join(", ")})`:JSON.stringify(e,null,2)}class ar extends Error{constructor(e){super(e),this.name="EndpointError"}}const cr=(e,t)=>(e=>{const t=e.split("."),r=[];for(const n of t){const t=n.indexOf("[");if(-1!==t){if(n.indexOf("]")!==n.length-1)throw new ar(`Path: '${e}' does not end with ']'`);const o=n.slice(t+1,-1);if(Number.isNaN(parseInt(o)))throw new ar(`Invalid array index: '${o}' in path: '${e}'`);0!==t&&r.push(n.slice(0,t)),r.push(o)}else r.push(n)}return r})(t).reduce(((r,n)=>{if("object"!=typeof r)throw new ar(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(r)?r[parseInt(n)]:r[n]}),e),ur={[Dt.HTTP]:80,[Dt.HTTPS]:443},lr={booleanEquals:(e,t)=>e===t,getAttr:cr,isSet:e=>null!=e,isValidHostLabel:nr,not:e=>!e,parseURL:e=>{const t=(()=>{try{if(e instanceof URL)return e;if("object"==typeof e&&"hostname"in e){const{hostname:t,port:r,protocol:n="",path:o="",query:i={}}=e,s=new URL(`${n}//${t}${r?`:${r}`:""}${o}`);return s.search=Object.entries(i).map((([e,t])=>`${e}=${t}`)).join("&"),s}return new URL(e)}catch(e){return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;const r=t.href,{host:n,hostname:o,pathname:i,protocol:s,search:a}=t;if(a)return null;const c=s.slice(0,-1);if(!Object.values(Dt).includes(c))return null;const u=tr(o);return{scheme:c,authority:`${n}${r.includes(`${n}:${ur[c]}`)||"string"==typeof e&&e.includes(`${n}:${ur[c]}`)?`:${ur[c]}`:""}`,path:i,normalizedPath:i.endsWith("/")?i:`${i}/`,isIp:u}},stringEquals:(e,t)=>e===t,substring:(e,t,r,n)=>t>=r||e.length<r?null:n?e.substring(e.length-r,e.length-t):e.substring(t,r),uriEncode:e=>encodeURIComponent(e).replace(/[!*'()]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`))},dr=(e,t)=>{const r=[],n={...t.endpointParams,...t.referenceRecord};let o=0;for(;o<e.length;){const t=e.indexOf("{",o);if(-1===t){r.push(e.slice(o));break}r.push(e.slice(o,t));const i=e.indexOf("}",t);if(-1===i){r.push(e.slice(t));break}"{"===e[t+1]&&"}"===e[i+1]&&(r.push(e.slice(t+1,i)),o=i+2);const s=e.substring(t+1,i);if(s.includes("#")){const[e,t]=s.split("#");r.push(cr(n[e],t))}else r.push(n[s]);o=i+1}return r.join("")},gr=(e,t,r)=>{if("string"==typeof e)return dr(e,r);if(e.fn)return hr(e,r);if(e.ref)return(({ref:e},t)=>({...t.endpointParams,...t.referenceRecord}[e]))(e,r);throw new ar(`'${t}': ${String(e)} is not a string, function or reference.`)},hr=({fn:e,argv:t},r)=>{const n=t.map((e=>["boolean","number"].includes(typeof e)?e:gr(e,"arg",r))),o=e.split(".");return o[0]in or&&null!=o[1]?or[o[0]][o[1]](...n):lr[e](...n)},fr=({assign:e,...t},r)=>{if(e&&e in r.referenceRecord)throw new ar(`'${e}' is already defined in Reference Record.`);const n=hr(t,r);return r.logger?.debug?.(`${ir} evaluateCondition: ${sr(t)} = ${sr(n)}`),{result:""===n||!!n,...null!=e&&{toAssign:{name:e,value:n}}}},pr=(e=[],t)=>{const r={};for(const n of e){const{result:e,toAssign:o}=fr(n,{...t,referenceRecord:{...t.referenceRecord,...r}});if(!e)return{result:e};o&&(r[o.name]=o.value,t.logger?.debug?.(`${ir} assign: ${o.name} := ${sr(o.value)}`))}return{result:!0,referenceRecord:r}},mr=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:n.map((e=>{const n=gr(e,"Header value entry",t);if("string"!=typeof n)throw new ar(`Header '${r}' value '${n}' is not a string`);return n}))})),{}),kr=(e,t)=>{if(Array.isArray(e))return e.map((e=>kr(e,t)));switch(typeof e){case"string":return dr(e,t);case"object":if(null===e)throw new ar(`Unexpected endpoint property: ${e}`);return br(e,t);case"boolean":return e;default:throw new ar("Unexpected endpoint property type: "+typeof e)}},br=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:kr(n,t)})),{}),vr=(e,t)=>{const r=gr(e,"Endpoint URL",t);if("string"==typeof r)try{return new URL(r)}catch(e){throw console.error(`Failed to construct URL with ${r}`,e),e}throw new ar("Endpoint URL must be a string, got "+typeof r)},yr=(e,t)=>{const{conditions:r,endpoint:n}=e,{result:o,referenceRecord:i}=pr(r,t);if(!o)return;const s={...t,referenceRecord:{...t.referenceRecord,...i}},{url:a,properties:c,headers:u}=n;return t.logger?.debug?.(`${ir} Resolving endpoint from template: ${sr(n)}`),{...null!=u&&{headers:mr(u,s)},...null!=c&&{properties:br(c,s)},url:vr(a,s)}},wr=(e,t)=>{const{conditions:r,error:n}=e,{result:o,referenceRecord:i}=pr(r,t);if(o)throw new ar(gr(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...i}}))},_r=(e,t)=>{const{conditions:r,rules:n}=e,{result:o,referenceRecord:i}=pr(r,t);if(o)return Sr(n,{...t,referenceRecord:{...t.referenceRecord,...i}})},Sr=(e,t)=>{for(const r of e)if("endpoint"===r.type){const e=yr(r,t);if(e)return e}else if("error"===r.type)wr(r,t);else{if("tree"!==r.type)throw new ar(`Unknown endpoint rule: ${r}`);{const e=_r(r,t);if(e)return e}}throw new ar("Rules evaluation failed")},Ar=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!Ar(t))return!1;return!0}return!!nr(e)&&(!(e.length<3||e.length>63)&&(e===e.toLowerCase()&&!tr(e)))};let xr=JSON.parse('{"partitions":[{"id":"aws","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-east-1","name":"aws","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^(us|eu|ap|sa|ca|me|af|il)\\\\-\\\\w+\\\\-\\\\d+$","regions":{"af-south-1":{"description":"Africa (Cape Town)"},"ap-east-1":{"description":"Asia Pacific (Hong Kong)"},"ap-northeast-1":{"description":"Asia Pacific (Tokyo)"},"ap-northeast-2":{"description":"Asia Pacific (Seoul)"},"ap-northeast-3":{"description":"Asia Pacific (Osaka)"},"ap-south-1":{"description":"Asia Pacific (Mumbai)"},"ap-south-2":{"description":"Asia Pacific (Hyderabad)"},"ap-southeast-1":{"description":"Asia Pacific (Singapore)"},"ap-southeast-2":{"description":"Asia Pacific (Sydney)"},"ap-southeast-3":{"description":"Asia Pacific (Jakarta)"},"ap-southeast-4":{"description":"Asia Pacific (Melbourne)"},"aws-global":{"description":"AWS Standard global region"},"ca-central-1":{"description":"Canada (Central)"},"ca-west-1":{"description":"Canada West (Calgary)"},"eu-central-1":{"description":"Europe (Frankfurt)"},"eu-central-2":{"description":"Europe (Zurich)"},"eu-north-1":{"description":"Europe (Stockholm)"},"eu-south-1":{"description":"Europe (Milan)"},"eu-south-2":{"description":"Europe (Spain)"},"eu-west-1":{"description":"Europe (Ireland)"},"eu-west-2":{"description":"Europe (London)"},"eu-west-3":{"description":"Europe (Paris)"},"il-central-1":{"description":"Israel (Tel Aviv)"},"me-central-1":{"description":"Middle East (UAE)"},"me-south-1":{"description":"Middle East (Bahrain)"},"sa-east-1":{"description":"South America (Sao Paulo)"},"us-east-1":{"description":"US East (N. Virginia)"},"us-east-2":{"description":"US East (Ohio)"},"us-west-1":{"description":"US West (N. California)"},"us-west-2":{"description":"US West (Oregon)"}}},{"id":"aws-cn","outputs":{"dnsSuffix":"amazonaws.com.cn","dualStackDnsSuffix":"api.amazonwebservices.com.cn","implicitGlobalRegion":"cn-northwest-1","name":"aws-cn","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^cn\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-cn-global":{"description":"AWS China global region"},"cn-north-1":{"description":"China (Beijing)"},"cn-northwest-1":{"description":"China (Ningxia)"}}},{"id":"aws-us-gov","outputs":{"dnsSuffix":"amazonaws.com","dualStackDnsSuffix":"api.aws","implicitGlobalRegion":"us-gov-west-1","name":"aws-us-gov","supportsDualStack":true,"supportsFIPS":true},"regionRegex":"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-us-gov-global":{"description":"AWS GovCloud (US) global region"},"us-gov-east-1":{"description":"AWS GovCloud (US-East)"},"us-gov-west-1":{"description":"AWS GovCloud (US-West)"}}},{"id":"aws-iso","outputs":{"dnsSuffix":"c2s.ic.gov","dualStackDnsSuffix":"c2s.ic.gov","implicitGlobalRegion":"us-iso-east-1","name":"aws-iso","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-global":{"description":"AWS ISO (US) global region"},"us-iso-east-1":{"description":"US ISO East"},"us-iso-west-1":{"description":"US ISO WEST"}}},{"id":"aws-iso-b","outputs":{"dnsSuffix":"sc2s.sgov.gov","dualStackDnsSuffix":"sc2s.sgov.gov","implicitGlobalRegion":"us-isob-east-1","name":"aws-iso-b","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$","regions":{"aws-iso-b-global":{"description":"AWS ISOB (US) global region"},"us-isob-east-1":{"description":"US ISOB East (Ohio)"}}},{"id":"aws-iso-e","outputs":{"dnsSuffix":"cloud.adc-e.uk","dualStackDnsSuffix":"cloud.adc-e.uk","implicitGlobalRegion":"eu-isoe-west-1","name":"aws-iso-e","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$","regions":{"eu-isoe-west-1":{"description":"EU ISOE West"}}},{"id":"aws-iso-f","outputs":{"dnsSuffix":"csp.hci.ic.gov","dualStackDnsSuffix":"csp.hci.ic.gov","implicitGlobalRegion":"us-isof-south-1","name":"aws-iso-f","supportsDualStack":false,"supportsFIPS":true},"regionRegex":"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$","regions":{}}],"version":"1.1"}'),Er="";const Ir={isVirtualHostableS3Bucket:Ar,parseArn:e=>{const t=e.split(":");if(t.length<6)return null;const[r,n,o,i,s,...a]=t;return"arn"!==r||""===n||""===o||""===a[0]?null:{partition:n,service:o,region:i,accountId:s,resourceId:a[0].includes("/")?a[0].split("/"):a}},partition:e=>{const{partitions:t}=xr;for(const r of t){const{regions:t,outputs:n}=r;for(const[r,o]of Object.entries(t))if(r===e)return{...n,...o}}for(const r of t){const{regionRegex:t,outputs:n}=r;if(new RegExp(t).test(e))return{...n}}const r=t.find((e=>"aws"===e.id));if(!r)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...r.outputs}}};or.aws=Ir;const Rr="user-agent",Mr="x-amz-user-agent",Pr=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,Tr=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,Cr=e=>(t,r)=>async n=>{const{request:o}=n;if(!Gt.isInstance(o))return t(n);const{headers:i}=o,s=r?.userAgent?.map(Or)||[],a=(await e.defaultUserAgentProvider()).map(Or),c=e?.customUserAgent?.map(Or)||[],u=(Er?[Er]:[]).concat([...a,...s,...c]).join(" "),l=[...a.filter((e=>e.startsWith("aws-sdk-"))),...c].join(" ");return"browser"!==e.runtime?(l&&(i[Mr]=i[Mr]?`${i[Rr]} ${l}`:l),i[Rr]=u):i[Mr]=u,t({...n,request:o})},Or=e=>{const t=e[0].split("/").map((e=>e.replace(Pr,"-"))).join("/"),r=e[1]?.replace(Tr,"-"),n=t.indexOf("/"),o=t.substring(0,n);let i=t.substring(n+1);return"api"===o&&(i=i.toLowerCase()),[o,i,r].filter((e=>e&&e.length>0)).reduce(((e,t,r)=>{switch(r){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}}),"")},Nr={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var Lr;!function(e){e.ENV="env",e.CONFIG="shared config entry"}(Lr||(Lr={}));const $r=e=>e[Vt]||(e[Vt]={}),Br=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},Ur=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),Fr=e=>Ur(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e;const Dr=(e,t)=>(r,n)=>async o=>{const i=e.httpAuthSchemeProvider(await t.httpAuthSchemeParametersProvider(e,n,o.input)),s=function(e){const t=new Map;for(const r of e)t.set(r.schemeId,r);return t}(e.httpAuthSchemes),a=$r(n),c=[];for(const r of i){const o=s.get(r.schemeId);if(!o){c.push(`HttpAuthScheme \`${r.schemeId}\` was not enabled for this service.`);continue}const i=o.identityProvider(await t.identityProviderConfigProvider(e));if(!i){c.push(`HttpAuthScheme \`${r.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:u={},signingProperties:l={}}=r.propertiesExtractor?.(e,n)||{};r.identityProperties=Object.assign(r.identityProperties||{},u),r.signingProperties=Object.assign(r.signingProperties||{},l),a.selectedHttpAuthScheme={httpAuthOption:r,identity:await i(r.identityProperties),signer:o.signer};break}if(!a.selectedHttpAuthScheme)throw new Error(c.join("\n"));return r(o)},jr=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Hr=/(\d+\.){3}\d+/,Vr=/\.\./,qr=e=>jr.test(e)&&!Hr.test(e)&&!Vr.test(e),zr=e=>{const[t,r,n,,,o]=e.split(":"),i="arn"===t&&e.split(":").length>=6,s=Boolean(i&&r&&n&&o);if(i&&!s)throw new Error(`Invalid ARN: ${e} was an invalid ARN.`);return s},Gr=(e,t,r)=>{const n=async()=>{const n=r[e]??r[t];return"function"==typeof n?n():n};return"credentialScope"===e||"CredentialScope"===t?async()=>{const e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.credentialScope??e?.CredentialScope}:"accountId"===e||"AccountId"===t?async()=>{const e="function"==typeof r.credentials?await r.credentials():r.credentials;return e?.accountId??e?.AccountId}:"endpoint"===e||"endpoint"===t?async()=>{const e=await n();if(e&&"object"==typeof e){if("url"in e)return e.url.href;if("hostname"in e){const{protocol:t,hostname:r,port:n,path:o}=e;return`${t}//${r}${n?":"+n:""}${o}`}}return e}:n};const Wr=e=>{if("string"==typeof e)return Wr(new URL(e));const{hostname:t,pathname:r,port:n,protocol:o,search:i}=e;let s;return i&&(s=function(e){const t={};if(e=e.replace(/^\?/,""))for(const r of e.split("&")){let[e,n=null]=r.split("=");e=decodeURIComponent(e),n&&(n=decodeURIComponent(n)),e in t?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n}return t}(i)),{hostname:t,port:n?parseInt(n):void 0,protocol:o,path:r,query:s}},Zr=e=>"object"==typeof e?"url"in e?Wr(e.url):e:Wr(e),Kr=async(e,t,r)=>{const n={},o=t?.getEndpointParameterInstructions?.()||{};for(const[t,i]of Object.entries(o))switch(i.type){case"staticContextParams":n[t]=i.value;break;case"contextParams":n[t]=e[i.name];break;case"clientContextParams":case"builtInParams":n[t]=await Gr(i.name,t,r)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(i))}return 0===Object.keys(o).length&&Object.assign(n,r),"s3"===String(r.serviceId).toLowerCase()&&await(async e=>{const t=e?.Bucket||"";if("string"==typeof e.Bucket&&(e.Bucket=t.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))),zr(t)){if(!0===e.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!qr(t)||-1!==t.indexOf(".")&&!String(e.Endpoint).startsWith("http:")||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e})(n),n},Jr=({config:e,instructions:t})=>(r,n)=>async o=>{const i=await(async(e,t,r,n)=>{if(!r.endpoint){const e=await(async()=>{})(r.serviceId);e&&(r.endpoint=()=>Promise.resolve(Zr(e)))}const o=await Kr(e,t,r);if("function"!=typeof r.endpointProvider)throw new Error("config.endpointProvider is not set.");return r.endpointProvider(o,n)})(o.input,{getEndpointParameterInstructions:()=>t},{...e},n);n.endpointV2=i,n.authSchemes=i.properties?.authSchemes;const s=n.authSchemes?.[0];if(s){n.signing_region=s.signingRegion,n.signing_service=s.signingName;const e=$r(n),t=e?.selectedHttpAuthScheme?.httpAuthOption;t&&(t.signingProperties=Object.assign(t.signingProperties||{},{signing_region:s.signingRegion,signingRegion:s.signingRegion,signing_service:s.signingName,signingName:s.signingName,signingRegionSet:s.signingRegionSet},s.properties))}return r({...o})},Qr={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},Yr={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Xr(e,t,r){return{applyToStack:n=>{n.add(((e,t)=>r=>async n=>{const{response:o}=await r(n);try{return{response:o,output:await t(o,e)}}catch(e){if(Object.defineProperty(e,"$response",{value:o}),!("$metadata"in e)){const t="Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.";e.message+="\n "+t,void 0!==e.$responseBodyText&&e.$response&&(e.$response.body=e.$responseBodyText)}throw e}})(e,r),Qr),n.add(((e,t)=>(r,n)=>async o=>{const i=n.endpointV2?.url&&e.urlParser?async()=>e.urlParser(n.endpointV2.url):e.endpoint;if(!i)throw new Error("No valid endpoint provider available.");const s=await t(o.input,{...e,endpoint:i});return r({...o,request:s})})(e,t),Yr)}}}const en={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:Yr.name},tn=(e,t)=>({applyToStack:r=>{r.addRelativeTo(Jr({config:e,instructions:t}),en)}}),rn={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:en.name},nn=e=>e=>{throw e},on=(e,t)=>{};var sn;!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(sn||(sn={}));const an=sn.STANDARD,cn=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],un=["TimeoutError","RequestTimeout","RequestTimeoutException"],ln=[500,502,503,504],dn=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],gn=e=>429===e.$metadata?.httpStatusCode||cn.includes(e.name)||1==e.$retryable?.throttling,hn=e=>(e=>e.$metadata?.clockSkewCorrected)(e)||un.includes(e.name)||dn.includes(e?.code||"")||ln.includes(e.$metadata?.httpStatusCode||0);class fn{constructor(e){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8;const t=this.getCurrentTimeInSeconds();this.lastThrottleTime=t,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1e3}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(e){if(this.enabled){if(this.refillTokenBucket(),e>this.currentCapacity){const t=(e-this.currentCapacity)/this.fillRate*1e3;await new Promise((e=>setTimeout(e,t)))}this.currentCapacity=this.currentCapacity-e}}refillTokenBucket(){const e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp)return void(this.lastTimestamp=e);const t=(e-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+t),this.lastTimestamp=e}updateClientSendingRate(e){let t;if(this.updateMeasuredRate(),gn(e)){const e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());const r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*Math.pow(e-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const e=this.getCurrentTimeInSeconds(),t=Math.floor(2*e)/2;if(this.requestCount++,t>this.lastTxRateBucket){const e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}}const pn=100,mn=2e4,kn="amz-sdk-invocation-id",bn="amz-sdk-request",vn=({retryDelay:e,retryCount:t,retryCost:r})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(mn,e),getRetryCost:()=>r});class yn{constructor(e){this.maxAttempts=e,this.mode=sn.STANDARD,this.capacity=500,this.retryBackoffStrategy=(()=>{let e=pn;return{computeNextBackoffDelay:t=>Math.floor(Math.min(mn,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}})(),this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return vn({retryDelay:pn,retryCount:0})}async refreshRetryTokenForRetry(e,t){const r=await this.getMaxAttempts();if(this.shouldRetry(e,t,r)){const r=t.errorType;this.retryBackoffStrategy.setDelayBase("THROTTLING"===r?500:pn);const n=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),o=t.retryAfterHint?Math.max(t.retryAfterHint.getTime()-Date.now()||0,n):n,i=this.getCapacityCost(r);return this.capacity-=i,vn({retryDelay:o,retryCount:e.getRetryCount()+1,retryCost:i})}throw new Error("No retry token available")}recordSuccess(e){this.capacity=Math.max(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(e){return console.warn("Max attempts provider could not resolve. Using default of 3"),3}}shouldRetry(e,t,r){return e.getRetryCount()+1<r&&this.capacity>=this.getCapacityCost(t.errorType)&&this.isRetryableError(t.errorType)}getCapacityCost(e){return"TRANSIENT"===e?10:5}isRetryableError(e){return"THROTTLING"===e||"TRANSIENT"===e}}class wn{constructor(e,t){this.maxAttemptsProvider=e,this.mode=sn.ADAPTIVE;const{rateLimiter:r}=t??{};this.rateLimiter=r??new fn,this.standardRetryStrategy=new yn(e)}async acquireInitialRetryToken(e){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(e)}async refreshRetryTokenForRetry(e,t){return this.rateLimiter.updateClientSendingRate(t),this.standardRetryStrategy.refreshRetryTokenForRetry(e,t)}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}}const _n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let Sn;const An=new Uint8Array(16);function xn(){if(!Sn&&(Sn="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Sn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Sn(An)}const En=[];for(let e=0;e<256;++e)En.push((e+256).toString(16).slice(1));function In(e,t=0){return En[e[t+0]]+En[e[t+1]]+En[e[t+2]]+En[e[t+3]]+"-"+En[e[t+4]]+En[e[t+5]]+"-"+En[e[t+6]]+En[e[t+7]]+"-"+En[e[t+8]]+En[e[t+9]]+"-"+En[e[t+10]]+En[e[t+11]]+En[e[t+12]]+En[e[t+13]]+En[e[t+14]]+En[e[t+15]]}const Rn=function(e,t,r){if(_n.randomUUID&&!t&&!e)return _n.randomUUID();const n=(e=e||{}).random||(e.rng||xn)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return In(n)},Mn=e=>e instanceof Error?e:e instanceof Object?Object.assign(new Error,e):"string"==typeof e?new Error(e):new Error(`AWS SDK error wrapper for ${e}`);class Pn{trace(){}debug(){}info(){}warn(){}error(){}}const Tn=(e,t)=>{const r=[];if(e&&r.push(e),t)for(const e of t)r.push(e);return r},Cn=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,On=()=>{let e=[],t=[],r=!1;const n=new Set,o=r=>(e.forEach((e=>{r.add(e.middleware,{...e})})),t.forEach((e=>{r.addRelativeTo(e.middleware,{...e})})),r.identifyOnResolve?.(a.identifyOnResolve()),r),i=e=>{const t=[];return e.before.forEach((e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...i(e))})),t.push(e),e.after.reverse().forEach((e=>{0===e.before.length&&0===e.after.length?t.push(e):t.push(...i(e))})),t},s=(r=!1)=>{const n=[],o=[],s={};e.forEach((e=>{const t={...e,before:[],after:[]};for(const e of Tn(t.name,t.aliases))s[e]=t;n.push(t)})),t.forEach((e=>{const t={...e,before:[],after:[]};for(const e of Tn(t.name,t.aliases))s[e]=t;o.push(t)})),o.forEach((e=>{if(e.toMiddleware){const t=s[e.toMiddleware];if(void 0===t){if(r)return;throw new Error(`${e.toMiddleware} is not found when adding ${Cn(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}"after"===e.relation&&t.after.push(e),"before"===e.relation&&t.before.push(e)}}));const a=(c=n,c.sort(((e,t)=>Nn[t.step]-Nn[e.step]||Ln[t.priority||"normal"]-Ln[e.priority||"normal"]))).map(i).reduce(((e,t)=>(e.push(...t),e)),[]);var c;return a},a={add:(t,r={})=>{const{name:o,override:i,aliases:s}=r,a={step:"initialize",priority:"normal",middleware:t,...r},c=Tn(o,s);if(c.length>0){if(c.some((e=>n.has(e)))){if(!i)throw new Error(`Duplicate middleware name '${Cn(o,s)}'`);for(const t of c){const r=e.findIndex((e=>e.name===t||e.aliases?.some((e=>e===t))));if(-1===r)continue;const n=e[r];if(n.step!==a.step||a.priority!==n.priority)throw new Error(`"${Cn(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${Cn(o,s)}" middleware with ${a.priority} priority in ${a.step} step.`);e.splice(r,1)}}for(const e of c)n.add(e)}e.push(a)},addRelativeTo:(e,r)=>{const{name:o,override:i,aliases:s}=r,a={middleware:e,...r},c=Tn(o,s);if(c.length>0){if(c.some((e=>n.has(e)))){if(!i)throw new Error(`Duplicate middleware name '${Cn(o,s)}'`);for(const e of c){const r=t.findIndex((t=>t.name===e||t.aliases?.some((t=>t===e))));if(-1===r)continue;const n=t[r];if(n.toMiddleware!==a.toMiddleware||n.relation!==a.relation)throw new Error(`"${Cn(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${Cn(o,s)}" middleware ${a.relation} "${a.toMiddleware}" middleware.`);t.splice(r,1)}}for(const e of c)n.add(e)}t.push(a)},clone:()=>o(On()),use:e=>{e.applyToStack(a)},remove:r=>"string"==typeof r?(r=>{let o=!1;const i=e=>{const t=Tn(e.name,e.aliases);if(t.includes(r)){o=!0;for(const e of t)n.delete(e);return!1}return!0};return e=e.filter(i),t=t.filter(i),o})(r):(r=>{let o=!1;const i=e=>{if(e.middleware===r){o=!0;for(const t of Tn(e.name,e.aliases))n.delete(t);return!1}return!0};return e=e.filter(i),t=t.filter(i),o})(r),removeByTag:r=>{let o=!1;const i=e=>{const{tags:t,name:i,aliases:s}=e;if(t&&t.includes(r)){const e=Tn(i,s);for(const t of e)n.delete(t);return o=!0,!1}return!0};return e=e.filter(i),t=t.filter(i),o},concat:e=>{const t=o(On());return t.use(e),t.identifyOnResolve(r||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:o,identify:()=>s(!0).map((e=>{const t=e.step??e.relation+" "+e.toMiddleware;return Cn(e.name,e.aliases)+" - "+t})),identifyOnResolve:e=>("boolean"==typeof e&&(r=e),r),resolve:(e,t)=>{for(const r of s().map((e=>e.middleware)).reverse())e=r(e,t);return r&&console.log(a.identify()),e}};return a},Nn={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Ln={high:3,normal:2,low:1};class $n{constructor(e){this.middlewareStack=On(),this.config=e}send(e,t,r){const n="function"!=typeof t?t:void 0,o="function"==typeof t?t:r,i=e.resolveMiddleware(this.middlewareStack,this.config,n);if(!o)return i(e).then((e=>e.output));i(e).then((e=>o(null,e.output)),(e=>o(e))).catch((()=>{}))}destroy(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()}}const Bn={},Un=new Array(64);for(let e=0,t="A".charCodeAt(0),r="Z".charCodeAt(0);e+t<=r;e++){const r=String.fromCharCode(e+t);Bn[r]=e,Un[e]=r}for(let e=0,t="a".charCodeAt(0),r="z".charCodeAt(0);e+t<=r;e++){const r=String.fromCharCode(e+t),n=e+26;Bn[r]=n,Un[n]=r}for(let e=0;e<10;e++){Bn[e.toString(10)]=e+52;const t=e.toString(10),r=e+52;Bn[t]=r,Un[r]=t}Bn["+"]=62,Un[62]="+",Bn["/"]=63,Un[63]="/";const Fn=6,Dn=8,jn=63,Hn=e=>{let t=e.length/4*3;"=="===e.slice(-2)?t-=2:"="===e.slice(-1)&&t--;const r=new ArrayBuffer(t),n=new DataView(r);for(let t=0;t<e.length;t+=4){let r=0,o=0;for(let n=t,i=t+3;n<=i;n++)if("="!==e[n]){if(!(e[n]in Bn))throw new TypeError(`Invalid character ${e[n]} in base64 string.`);r|=Bn[e[n]]<<(i-n)*Fn,o+=Fn}else r>>=Fn;const i=t/4*3;r>>=o%Dn;const s=Math.floor(o/Dn);for(let e=0;e<s;e++){const t=(s-e-1)*Dn;n.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)},Vn=e=>(new TextEncoder).encode(e);function qn(e){let t;t="string"==typeof e?Vn(e):e;const r="object"==typeof t&&"number"==typeof t.length,n="object"==typeof t&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength;if(!r&&!n)throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");let o="";for(let e=0;e<t.length;e+=3){let r=0,n=0;for(let o=e,i=Math.min(e+3,t.length);o<i;o++)r|=t[o]<<(i-o-1)*Dn,n+=Dn;const i=Math.ceil(n/Fn);r<<=i*Fn-n;for(let e=1;e<=i;e++){const t=(i-e)*Fn;o+=Un[(r&jn<<t)>>t]}o+="==".slice(0,4-i)}return o}const zn=e=>{if("string"==typeof e)return e;if("object"!=typeof e||"number"!=typeof e.byteOffset||"number"!=typeof e.byteLength)throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return new TextDecoder("utf-8").decode(e)};class Gn extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return function(e,t){return"base64"===t?Gn.mutate(Hn(e)):Gn.mutate(Vn(e))}(e,t);throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,Gn.prototype),e}transformToString(e="utf-8"){return function(e,t="utf-8"){return"base64"===t?qn(e):zn(e)}(this,e)}}const Wn=e=>encodeURIComponent(e).replace(/[!'()*]/g,Zn),Zn=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;function Kn(e=0){return new Promise(((t,r)=>{e&&setTimeout((()=>{const t=new Error(`Request did not complete within ${e} ms`);t.name="TimeoutError",r(t)}),e)}))}const Jn={supported:void 0};class Qn{static create(e){return"function"==typeof e?.handle?e:new Qn(e)}constructor(e){"function"==typeof e?this.configProvider=e().then((e=>e||{})):(this.config=e??{},this.configProvider=Promise.resolve(this.config)),void 0===Jn.supported&&(Jn.supported=Boolean("undefined"!=typeof Request&&"keepalive"in new Request("https://[::1]")))}destroy(){}async handle(e,{abortSignal:t}={}){this.config||(this.config=await this.configProvider);const r=this.config.requestTimeout,n=!0===this.config.keepAlive,o=this.config.credentials;if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let i=e.path;const s=function(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];if(r=Wn(r),Array.isArray(n))for(let e=0,o=n.length;e<o;e++)t.push(`${r}=${Wn(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${Wn(n)}`),t.push(e)}}return t.join("&")}(e.query||{});s&&(i+=`?${s}`),e.fragment&&(i+=`#${e.fragment}`);let a="";if(null!=e.username||null!=e.password){a=`${e.username??""}:${e.password??""}@`}const{port:c,method:u}=e,l=`${e.protocol}//${a}${e.hostname}${c?`:${c}`:""}${i}`,d="GET"===u||"HEAD"===u?void 0:e.body,g={body:d,headers:new Headers(e.headers),method:u,credentials:o};d&&(g.duplex="half"),"undefined"!=typeof AbortController&&(g.signal=t),Jn.supported&&(g.keepalive=n);let h=()=>{};const f=new Request(l,g),p=[fetch(f).then((e=>{const t=e.headers,r={};for(const e of t.entries())r[e[0]]=e[1];return null!=e.body?{response:new Wt({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then((t=>({response:new Wt({headers:r,reason:e.statusText,statusCode:e.status,body:t})})))})),Kn(r)];return t&&p.push(new Promise(((e,r)=>{const n=()=>{const e=new Error("Request aborted");e.name="AbortError",r(e)};if("function"==typeof t.addEventListener){const e=t;e.addEventListener("abort",n,{once:!0}),h=()=>e.removeEventListener("abort",n)}else t.onabort=n}))),Promise.race(p).finally(h)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((r=>(r[e]=t,r)))}httpHandlerConfigs(){return this.config??{}}}const Yn=e=>"function"==typeof Blob&&e instanceof Blob?async function(e){const t=await function(e){return new Promise(((t,r)=>{const n=new FileReader;n.onloadend=()=>{if(2!==n.readyState)return r(new Error("Reader aborted too early"));const e=n.result??"",o=e.indexOf(","),i=o>-1?o+1:e.length;t(e.substring(i))},n.onabort=()=>r(new Error("Read aborted")),n.onerror=()=>r(n.error),n.readAsDataURL(e)}))}(e),r=Hn(t);return new Uint8Array(r)}(e):async function(e){const t=[],r=e.getReader();let n=!1,o=0;for(;!n;){const{done:e,value:i}=await r.read();i&&(t.push(i),o+=i.length),n=e}const i=new Uint8Array(o);let s=0;for(const e of t)i.set(e,s),s+=e.length;return i}(e);const Xn={},eo={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),Xn[e]=t,eo[t]=e}function to(e){if(e.length%2!=0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let r=0;r<e.length;r+=2){const n=e.slice(r,r+2).toLowerCase();if(!(n in eo))throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`);t[r/2]=eo[n]}return t}function ro(e){let t="";for(let r=0;r<e.byteLength;r++)t+=Xn[e[r]];return t}const no=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Gn.mutate(e);if(!e)return Gn.mutate(new Uint8Array);const r=t.streamCollector(e);return Gn.mutate(await r)};class oo{constructor(){this.middlewareStack=On()}static classBuilder(){return new io}resolveMiddlewareWithContext(e,t,r,{middlewareFn:n,clientName:o,commandName:i,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,smithyContext:c,additionalContext:u,CommandCtor:l}){for(const o of n.bind(this)(l,e,t,r))this.middlewareStack.use(o);const d=e.concat(this.middlewareStack),{logger:g}=t,h={logger:g,clientName:o,commandName:i,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,[Vt]:{commandInstance:this,...c},...u},{requestHandler:f}=t;return d.resolve((e=>f.handle(e.request,r||{})),h)}}class io{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=e=>e,this._outputFilterSensitiveLog=e=>e,this._serializer=null,this._deserializer=null}init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,r={}){return this._smithyContext={service:e,operation:t,...r},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}build(){const e=this;let t;return t=class extends oo{static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.serialize=e._serializer,this.deserialize=e._deserializer,this.input=t??{},e._init(this)}resolveMiddleware(r,n,o){return this.resolveMiddlewareWithContext(r,n,o,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog,outputFilterSensitiveLog:e._outputFilterSensitiveLog,smithyContext:e._smithyContext,additionalContext:e._additionalContext})}}}}const so="***SensitiveInformation***",ao=(Math.ceil(2**127*(2-2**-23)),e=>{if(null!=e){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw new TypeError(`Expected integer, got ${typeof e}: ${e}`)}}),co=e=>uo(e,32),uo=(e,t)=>{const r=ao(e);if(void 0!==r&&lo(r,t)!==r)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return r},lo=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},go=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return fo.warn(ho(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}},ho=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n"),fo={warn:console.warn};class po extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,po.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}const mo=(e,t={})=>{Object.entries(t).filter((([,e])=>void 0!==e)).forEach((([t,r])=>{null!=e[t]&&""!==e[t]||(e[t]=r)}));const r=e.message||e.Message||"UnknownError";return e.message=r,delete e.Message,e},ko=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),bo=e=>{switch(e){case"standard":case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"mobile":return{retryMode:"standard",connectionTimeout:3e4};default:return{}}},vo=e=>{const t=[];for(const r in jt){const n=jt[r];void 0!==e[n]&&t.push({algorithmId:()=>n,checksumConstructor:()=>e[n]})}return{_checksumAlgorithms:t,addChecksumAlgorithm(e){this._checksumAlgorithms.push(e)},checksumAlgorithms(){return this._checksumAlgorithms}}},yo=e=>{const t={};return e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()})),t},wo=e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy:()=>t}},_o=e=>{const t={};return t.retryStrategy=e.retryStrategy(),t},So=e=>({...vo(e),...wo(e)}),Ao=function(){const e=Object.getPrototypeOf(this).constructor,t=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(t,e.prototype),t};Ao.prototype=Object.create(String.prototype,{constructor:{value:Ao,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(Ao,String);function xo(e,t,r){let n,o,i;if(void 0===t&&void 0===r)n={},i=e;else{if(n=e,"function"==typeof t)return o=t,i=r,Io(n,o,i);i=t}for(const e of Object.keys(i))Array.isArray(i[e])?Ro(n,null,i,e):n[e]=i[e];return n}const Eo=(e,t)=>{const r={};for(const n in t)Ro(r,e,t,n);return r},Io=(e,t,r)=>xo(e,Object.entries(r).reduce(((e,[r,n])=>(Array.isArray(n)?e[r]=n:e[r]="function"==typeof n?[t,n()]:[t,n],e)),{})),Ro=(e,t,r,n)=>{if(null!==t){let o=r[n];"function"==typeof o&&(o=[,o]);const[i=Mo,s=Po,a=n]=o;return void(("function"==typeof i&&i(t[a])||"function"!=typeof i&&i)&&(e[n]=s(t[a])))}let[o,i]=r[n];if("function"==typeof i){let t;const r=void 0===o&&null!=(t=i()),s="function"==typeof o&&!!o(void 0)||"function"!=typeof o&&!!o;r?e[n]=t:s&&(e[n]=i())}else{const t=void 0===o&&null!=i,r="function"==typeof o&&!!o(i)||"function"!=typeof o&&!!o;(t||r)&&(e[n]=i)}},Mo=e=>null!=e,Po=e=>e;function To(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}const Co=e=>e?.body instanceof ReadableStream,Oo=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,No=e=>{const t={error:e,errorType:Lo(e)},r=Uo(e.$response);return r&&(t.retryAfterHint=r),t},Lo=e=>gn(e)?"THROTTLING":hn(e)?"TRANSIENT":(e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!hn(e)}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",$o={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},Bo=e=>({applyToStack:t=>{t.add((e=>(t,r)=>async n=>{let o=await e.retryStrategy();const i=await e.maxAttempts();if(!Oo(o))return o?.mode&&(r.userAgent=[...r.userAgent||[],["cfg/retry-mode",o.mode]]),o.retry(t,n);{let e=await o.acquireInitialRetryToken(r.partition_id),s=new Error,a=0,c=0;const{request:u}=n,l=Gt.isInstance(u);for(l&&(u.headers[kn]=Rn());;)try{l&&(u.headers[bn]=`attempt=${a+1}; max=${i}`);const{response:r,output:s}=await t(n);return o.recordSuccess(e),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,{response:r,output:s}}catch(t){const n=No(t);if(s=Mn(t),l&&Co(u))throw(r.logger instanceof Pn?console:r.logger)?.warn("An error was encountered in a non-retryable streaming request."),s;try{e=await o.refreshRetryTokenForRetry(e,n)}catch(e){throw s.$metadata||(s.$metadata={}),s.$metadata.attempts=a+1,s.$metadata.totalRetryDelay=c,s}a=e.getRetryCount();const i=e.getRetryDelay();c+=i,await new Promise((e=>setTimeout(e,i)))}}})(e),$o)}}),Uo=e=>{if(!Wt.isInstance(e))return;const t=Object.keys(e.headers).find((e=>"retry-after"===e.toLowerCase()));if(!t)return;const r=e.headers[t],n=Number(r);if(!Number.isNaN(n))return new Date(1e3*n);return new Date(r)},Fo={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:$o.name},Do=e=>({applyToStack:e=>{e.addRelativeTo(((e,t)=>async r=>{if(!Gt.isInstance(r.request))return e(r);const n=$r(t).selectedHttpAuthScheme;if(!n)throw new Error("No HttpAuthScheme was selected: unable to sign request");const{httpAuthOption:{signingProperties:o={}},identity:i,signer:s}=n,a=await e({...r,request:await s.sign(r.request,i,o)}).catch((s.errorHandler||nn)(o));return(s.successHandler||on)(a.response,o),a}),Fo)}});class jo{constructor(e){this.authSchemes=new Map;for(const[t,r]of Object.entries(e))void 0!==r&&this.authSchemes.set(t,r)}getIdentityProvider(e){return this.authSchemes.get(e)}}const Ho=(Vo=3e5,e=>qo(e)&&e.expiration.getTime()-Date.now()<Vo);var Vo;const qo=e=>void 0!==e.expiration,zo=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t};function Go(e,t){return new Wo(e,t)}class Wo{constructor(e,t){this.input=e,this.context=t,this.query={},this.method="",this.headers={},this.path="",this.body=null,this.hostname="",this.resolvePathStack=[]}async build(){const{hostname:e,protocol:t="https",port:r,path:n}=await this.context.endpoint();this.path=n;for(const e of this.resolvePathStack)e(this.path);return new Gt({protocol:t,hostname:this.hostname||e,port:r,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(e){return this.hostname=e,this}bp(e){return this.resolvePathStack.push((t=>{this.path=`${t?.endsWith("/")?t.slice(0,-1):t||""}`+e})),this}p(e,t,r,n){return this.resolvePathStack.push((o=>{this.path=((e,t,r,n,o,i)=>{if(null==t||void 0===t[r])throw new Error("No value provided for input HTTP label: "+r+".");{const t=n();if(t.length<=0)throw new Error("Empty value provided for input HTTP label: "+r+".");e=e.replace(o,i?t.split("/").map((e=>To(e))).join("/"):To(t))}return e})(o,this.input,e,t,r,n)})),this}h(e){return this.headers=e,this}q(e){return this.query=e,this}b(e){return this.body=e,this}m(e){return this.method=e,this}}const Zo="content-length";const Ko={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},Jo=e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{const n=t.request;if(Gt.isInstance(n)){const{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map((e=>e.toLowerCase())).indexOf(Zo))try{const t=r(e);n.headers={...n.headers,[Zo]:String(t)}}catch(e){}}return e({...t,request:n})}),Ko)}}),Qo=e=>"string"==typeof e?Vn(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),Yo="X-Amz-Date",Xo="X-Amz-Signature",ei="X-Amz-Security-Token",ti="authorization",ri=Yo.toLowerCase(),ni=[ti,ri,"date"],oi=Xo.toLowerCase(),ii="x-amz-content-sha256",si=ei.toLowerCase(),ai={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},ci=/^proxy-/,ui=/^sec-/,li="AWS4-HMAC-SHA256",di="AWS4-HMAC-SHA256-PAYLOAD",gi="aws4_request",hi={},fi=[],pi=(e,t,r)=>`${e}/${t}/${r}/${gi}`,mi=(e,t,r)=>{const n=new e(t);return n.update(Qo(r)),n.digest()},ki=({headers:e},t,r)=>{const n={};for(const o of Object.keys(e).sort()){if(null==e[o])continue;const i=o.toLowerCase();(i in ai||t?.has(i)||ci.test(i)||ui.test(i))&&(!r||r&&!r.has(i))||(n[i]=e[o].trim().replace(/\s+/g," "))}return n},bi=async({headers:e,body:t},r)=>{for(const t of Object.keys(e))if(t.toLowerCase()===ii)return e[t];if(null==t)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";if("string"==typeof t||ArrayBuffer.isView(t)||(n=t,"function"==typeof ArrayBuffer&&n instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(n))){const e=new r;return e.update(Qo(t)),ro(await e.digest())}var n;return"UNSIGNED-PAYLOAD"};class vi{format(e){const t=[];for(const r of Object.keys(e)){const n=Vn(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}const r=new Uint8Array(t.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":const n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":const o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6),o.setUint16(1,e.value.byteLength,!1);const i=new Uint8Array(o.buffer);return i.set(e.value,3),i;case"string":const s=Vn(e.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(s,3),c;case"timestamp":const u=new Uint8Array(9);return u[0]=8,u.set(_i.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!wi.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(to(e.value.replace(/\-/g,"")),1),l}}}var yi;!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(yi||(yi={}));const wi=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class _i{constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&Si(t),new _i(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&Si(e),parseInt(ro(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Si(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}const Ai=e=>{e=Gt.clone(e);for(const t of Object.keys(e.headers))ni.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},xi=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e;class Ei{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i=!0}){this.headerFormatter=new vi,this.service=n,this.sha256=o,this.uriEscapePath=i,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=Br(r),this.credentialProvider=Br(t)}async presign(e,t={}){const{signingDate:r=new Date,expiresIn:n=3600,unsignableHeaders:o,unhoistableHeaders:i,signableHeaders:s,signingRegion:a,signingService:c}=t,u=await this.credentialProvider();this.validateResolvedCredentials(u);const l=a??await this.regionProvider(),{longDate:d,shortDate:g}=Ii(r);if(n>604800)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");const h=pi(g,l,c??this.service),f=((e,t={})=>{const{headers:r,query:n={}}=Gt.clone(e);for(const e of Object.keys(r)){const o=e.toLowerCase();"x-amz-"!==o.slice(0,6)||t.unhoistableHeaders?.has(o)||(n[e]=r[e],delete r[e])}return{...e,headers:r,query:n}})(Ai(e),{unhoistableHeaders:i});u.sessionToken&&(f.query[ei]=u.sessionToken),f.query["X-Amz-Algorithm"]=li,f.query["X-Amz-Credential"]=`${u.accessKeyId}/${h}`,f.query[Yo]=d,f.query["X-Amz-Expires"]=n.toString(10);const p=ki(f,o,s);return f.query["X-Amz-SignedHeaders"]=Ri(p),f.query[Xo]=await this.getSignature(d,h,this.getSigningKey(u,l,g,c),this.createCanonicalRequest(f,p,await bi(e,this.sha256))),f}async sign(e,t){return"string"==typeof e?this.signString(e,t):e.headers&&e.payload?this.signEvent(e,t):e.message?this.signMessage(e,t):this.signRequest(e,t)}async signEvent({headers:e,payload:t},{signingDate:r=new Date,priorSignature:n,signingRegion:o,signingService:i}){const s=o??await this.regionProvider(),{shortDate:a,longDate:c}=Ii(r),u=pi(a,s,i??this.service),l=await bi({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);const g=ro(await d.digest()),h=[di,c,u,n,g,l].join("\n");return this.signString(h,{signingDate:r,signingRegion:s,signingService:i})}async signMessage(e,{signingDate:t=new Date,signingRegion:r,signingService:n}){return this.signEvent({headers:this.headerFormatter.format(e.message.headers),payload:e.message.body},{signingDate:t,signingRegion:r,signingService:n,priorSignature:e.priorSignature}).then((t=>({message:e.message,signature:t})))}async signString(e,{signingDate:t=new Date,signingRegion:r,signingService:n}={}){const o=await this.credentialProvider();this.validateResolvedCredentials(o);const i=r??await this.regionProvider(),{shortDate:s}=Ii(t),a=new this.sha256(await this.getSigningKey(o,i,s,n));return a.update(Qo(e)),ro(await a.digest())}async signRequest(e,{signingDate:t=new Date,signableHeaders:r,unsignableHeaders:n,signingRegion:o,signingService:i}={}){const s=await this.credentialProvider();this.validateResolvedCredentials(s);const a=o??await this.regionProvider(),c=Ai(e),{longDate:u,shortDate:l}=Ii(t),d=pi(l,a,i??this.service);c.headers[ri]=u,s.sessionToken&&(c.headers[si]=s.sessionToken);const g=await bi(c,this.sha256);!((e,t)=>{e=e.toLowerCase();for(const r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1})(ii,c.headers)&&this.applyChecksum&&(c.headers[ii]=g);const h=ki(c,n,r),f=await this.getSignature(u,d,this.getSigningKey(s,a,l,i),this.createCanonicalRequest(c,h,g));return c.headers[ti]=`${li} Credential=${s.accessKeyId}/${d}, SignedHeaders=${Ri(h)}, Signature=${f}`,c}createCanonicalRequest(e,t,r){const n=Object.keys(t).sort();return`${e.method}\n${this.getCanonicalPath(e)}\n${(({query:e={}})=>{const t=[],r={};for(const n of Object.keys(e).sort()){if(n.toLowerCase()===oi)continue;t.push(n);const o=e[n];"string"==typeof o?r[n]=`${Wn(n)}=${Wn(o)}`:Array.isArray(o)&&(r[n]=o.slice(0).reduce(((e,t)=>e.concat([`${Wn(n)}=${Wn(t)}`])),[]).sort().join("&"))}return t.map((e=>r[e])).filter((e=>e)).join("&")})(e)}\n${n.map((e=>`${e}:${t[e]}`)).join("\n")}\n\n${n.join(";")}\n${r}`}async createStringToSign(e,t,r){const n=new this.sha256;n.update(Qo(r));const o=await n.digest();return`${li}\n${e}\n${t}\n${ro(o)}`}getCanonicalPath({path:e}){if(this.uriEscapePath){const t=[];for(const r of e.split("/"))0!==r?.length&&"."!==r&&(".."===r?t.pop():t.push(r));const r=`${e?.startsWith("/")?"/":""}${t.join("/")}${t.length>0&&e?.endsWith("/")?"/":""}`;return Wn(r).replace(/%2F/g,"/")}return e}async getSignature(e,t,r,n){const o=await this.createStringToSign(e,t,n),i=new this.sha256(await r);return i.update(Qo(o)),ro(await i.digest())}getSigningKey(e,t,r,n){return(async(e,t,r,n,o)=>{const i=`${r}:${n}:${o}:${ro(await mi(e,t.secretAccessKey,t.accessKeyId))}:${t.sessionToken}`;if(i in hi)return hi[i];for(fi.push(i);fi.length>50;)delete hi[fi.shift()];let s=`AWS4${t.secretAccessKey}`;for(const t of[r,n,o,gi])s=await mi(e,s,t);return hi[i]=s})(this.sha256,e,r,t,n||this.service)}validateResolvedCredentials(e){if("object"!=typeof e||"string"!=typeof e.accessKeyId||"string"!=typeof e.secretAccessKey)throw new Error("Resolved credential object is not valid")}}const Ii=e=>{const t=(r=e,xi(r).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var r;return{longDate:t,shortDate:t.slice(0,8)}},Ri=e=>Object.keys(e).sort().join(";"),Mi=e=>{let t;e.credentials&&(t=((e,t,r)=>{if(void 0===e)return;const n="function"!=typeof e?async()=>Promise.resolve(e):e;let o,i,s,a=!1;const c=async e=>{i||(i=n(e));try{o=await i,s=!0,a=!1}finally{i=void 0}return o};return void 0===t?async e=>(s&&!e?.forceRefresh||(o=await c(e)),o):async e=>(s&&!e?.forceRefresh||(o=await c(e)),a?o:r(o)?t(o)?(await c(e),o):o:(a=!0,o))})(e.credentials,Ho,qo)),t||(t=e.credentialDefaultProvider?zo(e.credentialDefaultProvider(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw new Error("`credentials` is missing")});const{signingEscapePath:r=!0,systemClockOffset:n=e.systemClockOffset||0,sha256:o}=e;let i;return i=e.signer?zo(e.signer):e.regionInfoProvider?()=>zo(e.region)().then((async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t])).then((([n,i])=>{const{signingRegion:s,signingService:a}=n;e.signingRegion=e.signingRegion||s||i,e.signingName=e.signingName||a||e.serviceId;const c={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:r};return new(e.signerConstructor||Ei)(c)})):async n=>{const i=(n=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await zo(e.region)(),properties:{}},n)).signingRegion,s=n.signingName;e.signingRegion=e.signingRegion||i,e.signingName=e.signingName||s||e.serviceId;const a={...e,credentials:t,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:r};return new(e.signerConstructor||Ei)(a)},{...e,systemClockOffset:n,signingEscapePath:r,credentials:t,signer:i}},Pi=async(e,t,r)=>({operation:$r(t).operation,region:await Br(e.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const Ti=e=>{const t=[];return e.operation,t.push(function(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"bedrock",region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}(e)),t},Ci={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},Oi="3.621.0";var Ni="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:e=>(new TextEncoder).encode(e);function Li(e){return e instanceof Uint8Array?e:"string"==typeof e?Ni(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function $i(e){return"string"==typeof e?0===e.length:0===e.byteLength}var Bi={name:"SHA-256"},Ui={name:"HMAC",hash:Bi},Fi=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85]);const Di={};function ji(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:Di}var Hi=function(){function e(e){this.toHash=new Uint8Array(0),this.secret=e,this.reset()}return e.prototype.update=function(e){if(!$i(e)){var t=Li(e),r=new Uint8Array(this.toHash.byteLength+t.byteLength);r.set(this.toHash,0),r.set(t,this.toHash.byteLength),this.toHash=r}},e.prototype.digest=function(){var e=this;return this.key?this.key.then((function(t){return ji().crypto.subtle.sign(Ui,t,e.toHash).then((function(e){return new Uint8Array(e)}))})):$i(this.toHash)?Promise.resolve(Fi):Promise.resolve().then((function(){return ji().crypto.subtle.digest(Bi,e.toHash)})).then((function(e){return Promise.resolve(new Uint8Array(e))}))},e.prototype.reset=function(){var e=this;this.toHash=new Uint8Array(0),this.secret&&void 0!==this.secret&&(this.key=new Promise((function(t,r){ji().crypto.subtle.importKey("raw",Li(e.secret),Ui,!1,["sign"]).then(t,r)})),this.key.catch((function(){})))},e}();function Vi(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))}function qi(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}Object.create;function zi(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}Object.create;"function"==typeof SuppressedError&&SuppressedError;var Gi=64,Wi=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Zi=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],Ki=Math.pow(2,53)-1,Ji=function(){function e(){this.state=Int32Array.from(Zi),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>Ki)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,this.bufferLength===Gi&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,t=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(t.setUint8(this.bufferLength++,128),r%Gi>=56){for(var n=this.bufferLength;n<Gi;n++)t.setUint8(n,0);this.hashBuffer(),this.bufferLength=0}for(n=this.bufferLength;n<56;n++)t.setUint8(n,0);t.setUint32(56,Math.floor(e/4294967296),!0),t.setUint32(60,e),this.hashBuffer(),this.finished=!0}var o=new Uint8Array(32);for(n=0;n<8;n++)o[4*n]=this.state[n]>>>24&255,o[4*n+1]=this.state[n]>>>16&255,o[4*n+2]=this.state[n]>>>8&255,o[4*n+3]=this.state[n]>>>0&255;return o},e.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,r=t[0],n=t[1],o=t[2],i=t[3],s=t[4],a=t[5],c=t[6],u=t[7],l=0;l<Gi;l++){if(l<16)this.temp[l]=(255&e[4*l])<<24|(255&e[4*l+1])<<16|(255&e[4*l+2])<<8|255&e[4*l+3];else{var d=this.temp[l-2],g=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,h=((d=this.temp[l-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(g+this.temp[l-7]|0)+(h+this.temp[l-16]|0)}var f=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&a^~s&c)|0)+(u+(Wi[l]+this.temp[l]|0)|0)|0,p=((r>>>2|r<<30)^(r>>>13|r<<19)^(r>>>22|r<<10))+(r&n^r&o^n&o)|0;u=c,c=a,a=s,s=i+f|0,i=o,o=n,n=r,r=f+p|0}t[0]+=r,t[1]+=n,t[2]+=o,t[3]+=i,t[4]+=s,t[5]+=a,t[6]+=c,t[7]+=u},e}(),Qi=function(){function e(e){this.secret=e,this.hash=new Ji,this.reset()}return e.prototype.update=function(e){if(!$i(e)&&!this.error)try{this.hash.update(Li(e))}catch(e){this.error=e}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return Vi(this,void 0,void 0,(function(){return qi(this,(function(e){return[2,this.digestSync()]}))}))},e.prototype.reset=function(){if(this.hash=new Ji,this.secret){this.outer=new Ji;var e=function(e){var t=Li(e);if(t.byteLength>Gi){var r=new Ji;r.update(t),t=r.digest()}var n=new Uint8Array(Gi);return n.set(t),n}(this.secret),t=new Uint8Array(Gi);t.set(e);for(var r=0;r<Gi;r++)e[r]^=54,t[r]^=92;this.hash.update(e),this.outer.update(t);for(r=0;r<e.byteLength;r++)e[r]=0}},e}();var Yi=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function Xi(e){return e&&Yi.every((function(t){return"function"==typeof e[t]}))}var es=function(){function e(e){!function(e){return!(!function(e){return"object"==typeof e&&"object"==typeof e.crypto&&"function"==typeof e.crypto.getRandomValues}(e)||"object"!=typeof e.crypto.subtle)&&Xi(e.crypto.subtle)}(ji())?this.hash=new Qi(e):this.hash=new Hi(e)}return e.prototype.update=function(e,t){this.hash.update(Li(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}(),ts=r(369),rs=r.n(ts);const ns=({serviceId:e,clientVersion:t})=>async()=>{const r="undefined"!=typeof window&&window?.navigator?.userAgent?rs().parse(window.navigator.userAgent):void 0,n=[["aws-sdk-js",t],["ua","2.0"],[`os/${r?.os?.name||"other"}`,r?.os?.version],["lang/js"],["md/browser",`${r?.browser?.name??"unknown"}_${r?.browser?.version??"unknown"}`]];return e&&n.push([`api/${e}`,t]),n};!function(){function e(){this.crc32=new is}e.prototype.update=function(e){$i(e)||this.crc32.update(Li(e))},e.prototype.digest=function(){return Vi(this,void 0,void 0,(function(){return qi(this,(function(e){return[2,(t=this.crc32.digest(),new Uint8Array([(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))];var t}))}))},e.prototype.reset=function(){this.crc32=new is}}();var os,is=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,r;try{for(var n=zi(e),o=n.next();!o.done;o=n.next()){var i=o.value;this.checksum=this.checksum>>>8^ss[255&(this.checksum^i)]}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(4294967295^this.checksum)>>>0},e}(),ss=function(e){if(!Uint32Array.from){for(var t=new Uint32Array(e.length),r=0;r<e.length;)t[r]=e[r],r+=1;return t}return Uint32Array.from(e)}([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);class as{constructor(e){if(this.bytes=e,8!==e.byteLength)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(`${e} is too large (or, if negative, too small) to represent as an Int64`);const t=new Uint8Array(8);for(let r=7,n=Math.abs(Math.round(e));r>-1&&n>0;r--,n/=256)t[r]=n;return e<0&&cs(t),new as(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&cs(e),parseInt(ro(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function cs(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class us{constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){const t=[];for(const r of Object.keys(e)){const n=this.fromUtf8(r);t.push(Uint8Array.from([n.byteLength]),n,this.formatHeaderValue(e[r]))}const r=new Uint8Array(t.reduce(((e,t)=>e+t.byteLength),0));let n=0;for(const e of t)r.set(e,n),n+=e.byteLength;return r}formatHeaderValue(e){switch(e.type){case"boolean":return Uint8Array.from([e.value?0:1]);case"byte":return Uint8Array.from([2,e.value]);case"short":const t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));return r.setUint8(0,4),r.setInt32(1,e.value,!1),new Uint8Array(r.buffer);case"long":const n=new Uint8Array(9);return n[0]=5,n.set(e.value.bytes,1),n;case"binary":const o=new DataView(new ArrayBuffer(3+e.value.byteLength));o.setUint8(0,6),o.setUint16(1,e.value.byteLength,!1);const i=new Uint8Array(o.buffer);return i.set(e.value,3),i;case"string":const s=this.fromUtf8(e.value),a=new DataView(new ArrayBuffer(3+s.byteLength));a.setUint8(0,7),a.setUint16(1,s.byteLength,!1);const c=new Uint8Array(a.buffer);return c.set(s,3),c;case"timestamp":const u=new Uint8Array(9);return u[0]=8,u.set(as.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!vs.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(to(e.value.replace(/\-/g,"")),1),l}}parse(e){const t={};let r=0;for(;r<e.byteLength;){const n=e.getUint8(r++),o=this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,n));switch(r+=n,e.getUint8(r++)){case 0:t[o]={type:ls,value:!0};break;case 1:t[o]={type:ls,value:!1};break;case 2:t[o]={type:ds,value:e.getInt8(r++)};break;case 3:t[o]={type:gs,value:e.getInt16(r,!1)},r+=2;break;case 4:t[o]={type:hs,value:e.getInt32(r,!1)},r+=4;break;case 5:t[o]={type:fs,value:new as(new Uint8Array(e.buffer,e.byteOffset+r,8))},r+=8;break;case 6:const n=e.getUint16(r,!1);r+=2,t[o]={type:ps,value:new Uint8Array(e.buffer,e.byteOffset+r,n)},r+=n;break;case 7:const i=e.getUint16(r,!1);r+=2,t[o]={type:ms,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,i))},r+=i;break;case 8:t[o]={type:ks,value:new Date(new as(new Uint8Array(e.buffer,e.byteOffset+r,8)).valueOf())},r+=8;break;case 9:const s=new Uint8Array(e.buffer,e.byteOffset+r,16);r+=16,t[o]={type:bs,value:`${ro(s.subarray(0,4))}-${ro(s.subarray(4,6))}-${ro(s.subarray(6,8))}-${ro(s.subarray(8,10))}-${ro(s.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return t}}!function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"}(os||(os={}));const ls="boolean",ds="byte",gs="short",hs="integer",fs="long",ps="binary",ms="string",ks="timestamp",bs="uuid",vs=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class ys{constructor(e,t){this.headerMarshaller=new us(e,t),this.messageBuffer=[],this.isEndOfStream=!1}feed(e){this.messageBuffer.push(this.decode(e))}endOfStream(){this.isEndOfStream=!0}getMessage(){const e=this.messageBuffer.pop(),t=this.isEndOfStream;return{getMessage:()=>e,isEndOfStream:()=>t}}getAvailableMessages(){const e=this.messageBuffer;this.messageBuffer=[];const t=this.isEndOfStream;return{getMessages:()=>e,isEndOfStream:()=>t}}encode({headers:e,body:t}){const r=this.headerMarshaller.format(e),n=r.byteLength+t.byteLength+16,o=new Uint8Array(n),i=new DataView(o.buffer,o.byteOffset,o.byteLength),s=new is;return i.setUint32(0,n,!1),i.setUint32(4,r.byteLength,!1),i.setUint32(8,s.update(o.subarray(0,8)).digest(),!1),o.set(r,12),o.set(t,r.byteLength+12),i.setUint32(n-4,s.update(o.subarray(8,n-4)).digest(),!1),o}decode(e){const{headers:t,body:r}=function({byteLength:e,byteOffset:t,buffer:r}){if(e<16)throw new Error("Provided message too short to accommodate event stream message overhead");const n=new DataView(r,t,e),o=n.getUint32(0,!1);if(e!==o)throw new Error("Reported message length does not match received message length");const i=n.getUint32(4,!1),s=n.getUint32(8,!1),a=n.getUint32(e-4,!1),c=(new is).update(new Uint8Array(r,t,8));if(s!==c.digest())throw new Error(`The prelude checksum specified in the message (${s}) does not match the calculated CRC32 checksum (${c.digest()})`);if(c.update(new Uint8Array(r,t+8,e-12)),a!==c.digest())throw new Error(`The message checksum (${c.digest()}) did not match the expected value of ${a}`);return{headers:new DataView(r,t+8+4,i),body:new Uint8Array(r,t+8+4+i,o-i-16)}}(e);return{headers:this.headerMarshaller.parse(t),body:r}}formatHeaders(e){return this.headerMarshaller.format(e)}}class ws{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.inputStream){const t=this.options.decoder.decode(e);yield t}}}class _s{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.messageStream){const t=this.options.encoder.encode(e);yield t}this.options.includeEndFrame&&(yield new Uint8Array(0))}}class Ss{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.messageStream){const t=await this.options.deserializer(e);void 0!==t&&(yield t)}}}class As{constructor(e){this.options=e}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(const e of this.options.inputStream){const t=this.options.serializer(e);yield t}}}function xs(e,t){return async function(r){const{value:n}=r.headers[":message-type"];if("error"===n){const e=new Error(r.headers[":error-message"].value||"UnknownError");throw e.name=r.headers[":error-code"].value,e}if("exception"===n){const n=r.headers[":exception-type"].value,o={[n]:r},i=await e(o);if(i.$unknown){const e=new Error(t(r.body));throw e.name=n,e}throw i[n]}if("event"===n){const t={[r.headers[":event-type"].value]:r},n=await e(t);if(n.$unknown)return;return n}throw Error(`Unrecognizable event type: ${r.headers[":event-type"].value}`)}}class Es{constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new ys(e,t),this.utfEncoder=e}deserialize(e,t){const r=function(e){let t=0,r=0,n=null,o=null;const i=e=>{if("number"!=typeof e)throw new Error("Attempted to allocate an event message where size was not a number: "+e);t=e,r=4,n=new Uint8Array(e),new DataView(n.buffer).setUint32(0,e,!1)};return{[Symbol.asyncIterator]:async function*(){const s=e[Symbol.asyncIterator]();for(;;){const{value:e,done:a}=await s.next();if(a){if(!t)return;if(t!==r)throw new Error("Truncated event message received.");return void(yield n)}const c=e.length;let u=0;for(;u<c;){if(!n){const t=c-u;o||(o=new Uint8Array(4));const n=Math.min(4-r,t);if(o.set(e.slice(u,u+n),r),r+=n,u+=n,r<4)break;i(new DataView(o.buffer).getUint32(0,!1)),o=null}const s=Math.min(t-r,c-u);n.set(e.slice(u,u+s),r),r+=s,u+=s,t&&t===r&&(yield n,n=null,t=0,r=0)}}}}}(e);return new Ss({messageStream:new ws({inputStream:r,decoder:this.eventStreamCodec}),deserializer:xs(t,this.utfEncoder)})}serialize(e,t){return new _s({messageStream:new As({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class Is{constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new Es({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){const r=Rs(e)?(n=e,{[Symbol.asyncIterator]:async function*(){const e=n.getReader();try{for(;;){const{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}}):e;var n;return this.universalMarshaller.deserialize(r,t)}serialize(e,t){const r=this.universalMarshaller.serialize(e,t);return"function"==typeof ReadableStream?(e=>{const t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){const{done:r,value:n}=await t.next();if(r)return e.close();e.enqueue(n)}})})(r):r}}const Rs=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,Ms=e=>new Is(e),Ps="function"==typeof TextEncoder?new TextEncoder:null,Ts=e=>{if("string"==typeof e){if(Ps)return Ps.encode(e).byteLength;let t=e.length;for(let r=t-1;r>=0;r--){const n=e.charCodeAt(r);n>127&&n<=2047?t++:n>2047&&n<=65535&&(t+=2),n>=56320&&n<=57343&&r--}return t}if("number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.size)return e.size;throw new Error(`Body Length computation failed for ${e}`)},Cs=e=>new Date(Date.now()+e),Os=e=>Wt.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,Ns=(e,t)=>{const r=Date.parse(e);return((e,t)=>Math.abs(Cs(t).getTime()-e)>=3e5)(r,t)?r-Date.now():t},Ls=(e,t)=>{if(!t)throw new Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t};class $s{async sign(e,t,r){if(!Gt.isInstance(e))throw new Error("The request is not an instance of `HttpRequest` and cannot be signed");const{config:n,signer:o,signingRegion:i,signingName:s}=await(async e=>{const t=Ls("context",e.context),r=Ls("config",e.config),n=t.endpointV2?.properties?.authSchemes?.[0],o=Ls("signer",r.signer),i=await o(n),s=e?.signingRegion,a=e?.signingName;return{config:r,signer:i,signingRegion:s,signingName:a}})(r);return await o.sign(e,{signingDate:Cs(n.systemClockOffset),signingRegion:i,signingService:s})}errorHandler(e){return t=>{const r=t.ServerTime??Os(t.$response);if(r){const n=Ls("config",e.config),o=n.systemClockOffset;n.systemClockOffset=Ns(r,n.systemClockOffset);n.systemClockOffset!==o&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){const r=Os(e);if(r){const e=Ls("config",t.config);e.systemClockOffset=Ns(r,e.systemClockOffset)}}}const Bs="required",Us="fn",Fs="argv",Ds="ref",js=!0,Hs="isSet",Vs="booleanEquals",qs="error",zs="endpoint",Gs="tree",Ws="PartitionResult",Zs={[Bs]:!1,type:"String"},Ks={[Bs]:!0,default:!1,type:"Boolean"},Js={[Ds]:"Endpoint"},Qs={[Us]:Vs,[Fs]:[{[Ds]:"UseFIPS"},!0]},Ys={[Us]:Vs,[Fs]:[{[Ds]:"UseDualStack"},!0]},Xs={},ea={[Us]:"getAttr",[Fs]:[{[Ds]:Ws},"supportsFIPS"]},ta={[Us]:Vs,[Fs]:[!0,{[Us]:"getAttr",[Fs]:[{[Ds]:Ws},"supportsDualStack"]}]},ra=[Qs],na=[Ys],oa=[{[Ds]:"Region"}],ia={version:"1.0",parameters:{Region:Zs,UseDualStack:Ks,UseFIPS:Ks,Endpoint:Zs},rules:[{conditions:[{[Us]:Hs,[Fs]:[Js]}],rules:[{conditions:ra,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:qs},{rules:[{conditions:na,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:qs},{endpoint:{url:Js,properties:Xs,headers:Xs},type:zs}],type:Gs}],type:Gs},{rules:[{conditions:[{[Us]:Hs,[Fs]:oa}],rules:[{conditions:[{[Us]:"aws.partition",[Fs]:oa,assign:Ws}],rules:[{conditions:[Qs,Ys],rules:[{conditions:[{[Us]:Vs,[Fs]:[js,ea]},ta],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Xs,headers:Xs},type:zs}],type:Gs}],type:Gs},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:qs}],type:Gs},{conditions:ra,rules:[{conditions:[{[Us]:Vs,[Fs]:[ea,js]}],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:Xs,headers:Xs},type:zs}],type:Gs}],type:Gs},{error:"FIPS is enabled but this partition does not support FIPS",type:qs}],type:Gs},{conditions:na,rules:[{conditions:[ta],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Xs,headers:Xs},type:zs}],type:Gs}],type:Gs},{error:"DualStack is enabled but this partition does not support DualStack",type:qs}],type:Gs},{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:Xs,headers:Xs},type:zs}],type:Gs}],type:Gs}],type:Gs},{error:"Invalid Configuration: Missing Region",type:qs}],type:Gs}]},sa=(e,t={})=>((e,t)=>{const{endpointParams:r,logger:n}=t,{parameters:o,rules:i}=e;t.logger?.debug?.(`${ir} Initial EndpointParams: ${sr(r)}`);const s=Object.entries(o).filter((([,e])=>null!=e.default)).map((([e,t])=>[e,t.default]));if(s.length>0)for(const[e,t]of s)r[e]=r[e]??t;const a=Object.entries(o).filter((([,e])=>e.required)).map((([e])=>e));for(const e of a)if(null==r[e])throw new ar(`Missing required parameter: '${e}'`);const c=Sr(i,{endpointParams:r,logger:n,referenceRecord:{}});if(t.endpointParams?.Endpoint)try{const e=new URL(t.endpointParams.Endpoint),{protocol:r,port:n}=e;c.url.protocol=r,c.url.port=n}catch(e){}return t.logger?.debug?.(`${ir} Resolved endpoint: ${sr(c)}`),c})(ia,{endpointParams:e,logger:t.logger});or.aws=Ir;Error;const aa=["in-region","cross-region","mobile","standard","legacy"],ca=()=>{const e="undefined"!=typeof window&&window?.navigator?.userAgent?rs().parse(window.navigator.userAgent):void 0,t=e?.platform?.type;return"tablet"===t||"mobile"===t},ua=e=>{const t=(({defaultsMode:e}={})=>((e,t,r)=>{let n,o,i,s=!1;const a=async()=>{o||(o=e());try{n=await o,i=!0,s=!1}finally{o=void 0}return n};return void 0===t?async e=>(i&&!e?.forceRefresh||(n=await a()),n):async e=>(i&&!e?.forceRefresh||(n=await a()),s?n:r&&!r(n)?(s=!0,n):t(n)?(await a(),n):n)})((async()=>{const t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve(ca()?"mobile":"standard");case"mobile":case"in-region":case"cross-region":case"standard":case"legacy":return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${aa.join(", ")}, got ${t}`)}})))(e),r=()=>t().then(bo),n=(e=>({apiVersion:"2023-09-30",base64Decoder:e?.base64Decoder??Hn,base64Encoder:e?.base64Encoder??qn,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??sa,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Ti,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:e=>e.getIdentityProvider("aws.auth#sigv4"),signer:new $s}],logger:e?.logger??new Pn,serviceId:e?.serviceId??"Bedrock Runtime",urlParser:e?.urlParser??Wr,utf8Decoder:e?.utf8Decoder??Vn,utf8Encoder:e?.utf8Encoder??zn}))(e);return{...n,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??Ts,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??ns({serviceId:n.serviceId,clientVersion:Oi}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??Ms,maxAttempts:e?.maxAttempts??3,region:e?.region??(o="Region is missing",()=>Promise.reject(o)),requestHandler:Qn.create(e?.requestHandler??r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||an),sha256:e?.sha256??es,streamCollector:e?.streamCollector??Yn,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(false))};var o},la=e=>{let t=async()=>{if(void 0===e.region)throw new Error("Region is missing from runtimeConfig");const t=e.region;return"string"==typeof t?t:t()};return{setRegion(e){t=e},region:()=>t}},da=e=>{const t=e.httpAuthSchemes;let r=e.httpAuthSchemeProvider,n=e.credentials;return{setHttpAuthScheme(e){const r=t.findIndex((t=>t.schemeId===e.schemeId));-1===r?t.push(e):t.splice(r,1,e)},httpAuthSchemes:()=>t,setHttpAuthSchemeProvider(e){r=e},httpAuthSchemeProvider:()=>r,setCredentials(e){n=e},credentials:()=>n}},ga=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()});class ha extends $n{constructor(...[e]){const t=(e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"bedrock"}))(ua(e||{})),r=(e=>{const{region:t,useFipsEndpoint:r}=e;if(!t)throw new Error("Region is missing");return{...e,region:async()=>{if("string"==typeof t)return Fr(t);const e=await t();return Fr(e)},useFipsEndpoint:async()=>{const e="string"==typeof t?t:await t();return!!Ur(e)||("function"!=typeof r?Promise.resolve(!!r):r())}}})(t),n=(e=>{const t=e.tls??!0,{endpoint:r}=e,n=null!=r?async()=>Zr(await Br(r)()):void 0,o=!!r;return{...e,endpoint:n,tls:t,isCustomEndpoint:o,useDualstackEndpoint:Br(e.useDualstackEndpoint??!1),useFipsEndpoint:Br(e.useFipsEndpoint??!1)}})(r);var o;const i=(e=>({...e,eventStreamMarshaller:e.eventStreamSerdeProvider(e)}))((e=>{const{retryStrategy:t}=e,r=Br(e.maxAttempts??3);return{...e,maxAttempts:r,retryStrategy:async()=>t||(await Br(e.retryMode)()===sn.ADAPTIVE?new wn(r):new yn(r))}})((o=n,{...o,customUserAgent:"string"==typeof o.customUserAgent?[[o.customUserAgent]]:o.customUserAgent})));const s=((e,t)=>{const r={...la(e),...So(e),...Bt(e),...da(e)};return t.forEach((e=>e.configure(r))),{...e,...(i=r,{region:i.region()}),...(o=r,{...yo(o),..._o(o)}),...(n=r,{httpHandler:n.httpHandler()}),...ga(r)};var n,o,i})({...Mi(i)},e?.extensions||[]);super(s),this.config=s,this.middlewareStack.use(Kt(this.config)),this.middlewareStack.use((this.config,{applyToStack:e=>{e.add(((e,t)=>async r=>{try{const n=await e(r),{clientName:o,commandName:i,logger:s,dynamoDbDocumentClientOptions:a={}}=t,{overrideInputFilterSensitiveLog:c,overrideOutputFilterSensitiveLog:u}=a,l=c??t.inputFilterSensitiveLog,d=u??t.outputFilterSensitiveLog,{$metadata:g,...h}=n.output;return s?.info?.({clientName:o,commandName:i,input:l(r.input),output:d(h),metadata:g}),n}catch(e){const{clientName:n,commandName:o,logger:i,dynamoDbDocumentClientOptions:s={}}=t,{overrideInputFilterSensitiveLog:a}=s,c=a??t.inputFilterSensitiveLog;throw i?.error?.({clientName:n,commandName:o,input:c(r.input),error:e,metadata:e.$metadata}),e}}),Jt)}})),this.middlewareStack.use(Xt(this.config)),this.middlewareStack.use((e=>({applyToStack:t=>{t.add(Cr(e),Nr)}}))(this.config)),this.middlewareStack.use(Bo(this.config)),this.middlewareStack.use(Jo(this.config)),this.middlewareStack.use(((e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r})=>({applyToStack:n=>{n.addRelativeTo(Dr(e,{httpAuthSchemeParametersProvider:t,identityProviderConfigProvider:r}),rn)}}))(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()})),this.middlewareStack.use(Do(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return Pi}getIdentityProviderConfigProvider(){return async e=>new jo({"aws.auth#sigv4":e.credentials})}}class fa extends po{constructor(e){super(e),Object.setPrototypeOf(this,fa.prototype)}}class pa extends fa{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e}),this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,pa.prototype)}}var ma;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):t._(e.$unknown[0],e.$unknown[1])}(ma||(ma={}));class ka extends fa{constructor(e){super({name:"InternalServerException",$fault:"server",...e}),this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,ka.prototype)}}class ba extends fa{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,ba.prototype)}}class va extends fa{constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e}),this.name="ServiceQuotaExceededException",this.$fault="client",Object.setPrototypeOf(this,va.prototype)}}class ya extends fa{constructor(e){super({name:"ThrottlingException",$fault:"client",...e}),this.name="ThrottlingException",this.$fault="client",Object.setPrototypeOf(this,ya.prototype)}}class wa extends fa{constructor(e){super({name:"ValidationException",$fault:"client",...e}),this.name="ValidationException",this.$fault="client",Object.setPrototypeOf(this,wa.prototype)}}var _a;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):t._(e.$unknown[0],e.$unknown[1])}(_a||(_a={}));var Sa;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):t._(e.$unknown[0],e.$unknown[1])}(Sa||(Sa={}));var Aa,xa;!function(e){e.visit=(e,t)=>void 0!==e.bytes?t.bytes(e.bytes):t._(e.$unknown[0],e.$unknown[1])}(Aa||(Aa={})),function(e){e.visit=(e,t)=>void 0!==e.json?t.json(e.json):void 0!==e.text?t.text(e.text):void 0!==e.image?t.image(e.image):void 0!==e.document?t.document(e.document):t._(e.$unknown[0],e.$unknown[1])}(xa||(xa={}));var Ea;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.image?t.image(e.image):void 0!==e.document?t.document(e.document):void 0!==e.toolUse?t.toolUse(e.toolUse):void 0!==e.toolResult?t.toolResult(e.toolResult):void 0!==e.guardContent?t.guardContent(e.guardContent):t._(e.$unknown[0],e.$unknown[1])}(Ea||(Ea={}));var Ia,Ra,Ma,Pa,Ta;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.guardContent?t.guardContent(e.guardContent):t._(e.$unknown[0],e.$unknown[1])}(Ia||(Ia={})),function(e){e.visit=(e,t)=>void 0!==e.auto?t.auto(e.auto):void 0!==e.any?t.any(e.any):void 0!==e.tool?t.tool(e.tool):t._(e.$unknown[0],e.$unknown[1])}(Ra||(Ra={})),function(e){e.visit=(e,t)=>void 0!==e.json?t.json(e.json):t._(e.$unknown[0],e.$unknown[1])}(Ma||(Ma={})),function(e){e.visit=(e,t)=>void 0!==e.toolSpec?t.toolSpec(e.toolSpec):t._(e.$unknown[0],e.$unknown[1])}(Pa||(Pa={})),function(e){e.visit=(e,t)=>void 0!==e.message?t.message(e.message):t._(e.$unknown[0],e.$unknown[1])}(Ta||(Ta={}));class Ca extends fa{constructor(e){super({name:"ModelErrorException",$fault:"client",...e}),this.name="ModelErrorException",this.$fault="client",Object.setPrototypeOf(this,Ca.prototype),this.originalStatusCode=e.originalStatusCode,this.resourceName=e.resourceName}}class Oa extends fa{constructor(e){super({name:"ModelNotReadyException",$fault:"client",...e}),this.name="ModelNotReadyException",this.$fault="client",Object.setPrototypeOf(this,Oa.prototype)}}class Na extends fa{constructor(e){super({name:"ModelTimeoutException",$fault:"client",...e}),this.name="ModelTimeoutException",this.$fault="client",Object.setPrototypeOf(this,Na.prototype)}}class La extends fa{constructor(e){super({name:"ServiceUnavailableException",$fault:"server",...e}),this.name="ServiceUnavailableException",this.$fault="server",Object.setPrototypeOf(this,La.prototype)}}var $a,Ba,Ua;!function(e){e.visit=(e,t)=>void 0!==e.text?t.text(e.text):void 0!==e.toolUse?t.toolUse(e.toolUse):t._(e.$unknown[0],e.$unknown[1])}($a||($a={})),function(e){e.visit=(e,t)=>void 0!==e.toolUse?t.toolUse(e.toolUse):t._(e.$unknown[0],e.$unknown[1])}(Ba||(Ba={}));class Fa extends fa{constructor(e){super({name:"ModelStreamErrorException",$fault:"client",...e}),this.name="ModelStreamErrorException",this.$fault="client",Object.setPrototypeOf(this,Fa.prototype),this.originalStatusCode=e.originalStatusCode,this.originalMessage=e.originalMessage}}!function(e){e.visit=(e,t)=>void 0!==e.messageStart?t.messageStart(e.messageStart):void 0!==e.contentBlockStart?t.contentBlockStart(e.contentBlockStart):void 0!==e.contentBlockDelta?t.contentBlockDelta(e.contentBlockDelta):void 0!==e.contentBlockStop?t.contentBlockStop(e.contentBlockStop):void 0!==e.messageStop?t.messageStop(e.messageStop):void 0!==e.metadata?t.metadata(e.metadata):void 0!==e.internalServerException?t.internalServerException(e.internalServerException):void 0!==e.modelStreamErrorException?t.modelStreamErrorException(e.modelStreamErrorException):void 0!==e.validationException?t.validationException(e.validationException):void 0!==e.throttlingException?t.throttlingException(e.throttlingException):void 0!==e.serviceUnavailableException?t.serviceUnavailableException(e.serviceUnavailableException):t._(e.$unknown[0],e.$unknown[1])}(Ua||(Ua={}));var Da;!function(e){e.visit=(e,t)=>void 0!==e.chunk?t.chunk(e.chunk):void 0!==e.internalServerException?t.internalServerException(e.internalServerException):void 0!==e.modelStreamErrorException?t.modelStreamErrorException(e.modelStreamErrorException):void 0!==e.validationException?t.validationException(e.validationException):void 0!==e.throttlingException?t.throttlingException(e.throttlingException):void 0!==e.modelTimeoutException?t.modelTimeoutException(e.modelTimeoutException):void 0!==e.serviceUnavailableException?t.serviceUnavailableException(e.serviceUnavailableException):t._(e.$unknown[0],e.$unknown[1])}(Da||(Da={}));const ja=e=>({...e,...e.body&&{body:so}}),Ha=e=>({...e,...e.body&&{body:so}}),Va=e=>({...e,...e.body&&{body:so}}),qa=e=>({...e,...e.body&&{body:"STREAMING_CONTENT"}}),za=(e,t)=>((e,t)=>no(e,t).then((e=>t.utf8Encoder(e))))(e,t).then((e=>{if(e.length)try{return JSON.parse(e)}catch(t){throw"SyntaxError"===t?.name&&Object.defineProperty(t,"$responseBodyText",{value:e}),t}return{}})),Ga=async(e,t)=>{const r=await za(e,t);return r.message=r.message??r.Message,r},Wa=async(e,t)=>{const r=Go(e,t),n=xo({},wc,{[Ac]:e[Sc]||"application/octet-stream",[_c]:e[_c],[Cc]:e[Ic],[Pc]:e[xc],[Tc]:e[Ec]});let o;return r.bp("/model/{modelId}/invoke"),r.p("modelId",(()=>e.modelId),"{modelId}",!1),void 0!==e.body&&(o=e.body),r.m("POST").h(n).b(o),r.build()},Za=async(e,t)=>{const r=Go(e,t),n=xo({},wc,{[Ac]:e[Sc]||"application/octet-stream",[Rc]:e[_c],[Cc]:e[Ic],[Pc]:e[xc],[Tc]:e[Ec]});let o;return r.bp("/model/{modelId}/invoke-with-response-stream"),r.p("modelId",(()=>e.modelId),"{modelId}",!1),void 0!==e.body&&(o=e.body),r.m("POST").h(n).b(o),r.build()},Ka=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return Qa(e,t);const r=xo({$metadata:yc(e),[Sc]:[,e.headers[Ac]]}),n=await no(e.body,t);return r.body=n,r},Ja=async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return Qa(e,t);const r=xo({$metadata:yc(e),[Sc]:[,e.headers[Mc]]}),n=e.body;return r.body=dc(n,t),r},Qa=async(e,t)=>{const r={...e,body:await Ga(e.body,t)},n=((e,t)=>{const r=e=>{let t=e;return"number"==typeof t&&(t=t.toString()),t.indexOf(",")>=0&&(t=t.split(",")[0]),t.indexOf(":")>=0&&(t=t.split(":")[0]),t.indexOf("#")>=0&&(t=t.split("#")[1]),t},n=(o=e.headers,i="x-amzn-errortype",Object.keys(o).find((e=>e.toLowerCase()===i.toLowerCase())));var o,i;return void 0!==n?r(e.headers[n]):void 0!==t.code?r(t.code):void 0!==t.__type?r(t.__type):void 0})(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await ec(r,t);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await tc(r,t);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await sc(r,t);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await ac(r,t);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await uc(r,t);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await lc(r,t);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await rc(r,t);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await nc(r,t);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await ic(r,t);case"ServiceUnavailableException":case"com.amazonaws.bedrockruntime#ServiceUnavailableException":throw await cc(r,t);case"ModelStreamErrorException":case"com.amazonaws.bedrockruntime#ModelStreamErrorException":throw await oc(r,t);default:const o=r.body;return Ya({output:e,parsedBody:o,errorCode:n})}},Ya=(Xa=fa,({output:e,parsedBody:t,errorCode:r})=>{(({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{const o=ko(e),i=o.httpStatusCode?o.httpStatusCode+"":void 0,s=new r({name:t?.code||t?.Code||n||i||"UnknownError",$fault:"client",$metadata:o});throw mo(s,t)})({output:e,parsedBody:t,exceptionCtor:Xa,errorCode:r})});var Xa;const ec=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new pa({$metadata:yc(e),...r});return mo(i,e.body)},tc=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new ka({$metadata:yc(e),...r});return mo(i,e.body)},rc=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go,originalStatusCode:co,resourceName:go});Object.assign(r,o);const i=new Ca({$metadata:yc(e),...r});return mo(i,e.body)},nc=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new Oa({$metadata:yc(e),...r});return mo(i,e.body)},oc=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go,originalMessage:go,originalStatusCode:co});Object.assign(r,o);const i=new Fa({$metadata:yc(e),...r});return mo(i,e.body)},ic=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new Na({$metadata:yc(e),...r});return mo(i,e.body)},sc=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new ba({$metadata:yc(e),...r});return mo(i,e.body)},ac=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new va({$metadata:yc(e),...r});return mo(i,e.body)},cc=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new La({$metadata:yc(e),...r});return mo(i,e.body)},uc=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new ya({$metadata:yc(e),...r});return mo(i,e.body)},lc=async(e,t)=>{const r=xo({}),n=e.body,o=Eo(n,{message:go});Object.assign(r,o);const i=new wa({$metadata:yc(e),...r});return mo(i,e.body)},dc=(e,t)=>t.eventStreamMarshaller.deserialize(e,(async r=>null!=r.chunk?{chunk:await pc(r.chunk,t)}:null!=r.internalServerException?{internalServerException:await gc(r.internalServerException,t)}:null!=r.modelStreamErrorException?{modelStreamErrorException:await hc(r.modelStreamErrorException,t)}:null!=r.validationException?{validationException:await bc(r.validationException,t)}:null!=r.throttlingException?{throttlingException:await kc(r.throttlingException,t)}:null!=r.modelTimeoutException?{modelTimeoutException:await fc(r.modelTimeoutException,t)}:null!=r.serviceUnavailableException?{serviceUnavailableException:await mc(r.serviceUnavailableException,t)}:{$unknown:e})),gc=async(e,t)=>{const r={...e,body:await za(e.body,t)};return tc(r,t)},hc=async(e,t)=>{const r={...e,body:await za(e.body,t)};return oc(r,t)},fc=async(e,t)=>{const r={...e,body:await za(e.body,t)};return ic(r,t)},pc=async(e,t)=>{const r={},n=await za(e.body,t);return Object.assign(r,vc(n,t)),r},mc=async(e,t)=>{const r={...e,body:await za(e.body,t)};return cc(r,t)},kc=async(e,t)=>{const r={...e,body:await za(e.body,t)};return uc(r,t)},bc=async(e,t)=>{const r={...e,body:await za(e.body,t)};return lc(r,t)},vc=(e,t)=>Eo(e,{bytes:t.base64Decoder}),yc=e=>({httpStatusCode:e.statusCode,requestId:e.headers["x-amzn-requestid"]??e.headers["x-amzn-request-id"]??e.headers["x-amz-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}),wc=e=>!(null==e||""===e||Object.getOwnPropertyNames(e).includes("length")&&0==e.length||Object.getOwnPropertyNames(e).includes("size")&&0==e.size),_c="accept",Sc="contentType",Ac="content-type",xc="guardrailIdentifier",Ec="guardrailVersion",Ic="trace",Rc="x-amzn-bedrock-accept",Mc="x-amzn-bedrock-content-type",Pc="x-amzn-bedrock-guardrailidentifier",Tc="x-amzn-bedrock-guardrailversion",Cc="x-amzn-bedrock-trace";class Oc extends(oo.classBuilder().ep({...Ci}).m((function(e,t,r,n){return[Xr(r,this.serialize,this.deserialize),tn(r,e.getEndpointParameterInstructions())]})).s("AmazonBedrockFrontendService","InvokeModelWithResponseStream",{eventStream:{output:!0}}).n("BedrockRuntimeClient","InvokeModelWithResponseStreamCommand").f(Va,qa).ser(Za).de(Ja).build()){}class Nc extends(oo.classBuilder().ep({...Ci}).m((function(e,t,r,n){return[Xr(r,this.serialize,this.deserialize),tn(r,e.getEndpointParameterInstructions())]})).s("AmazonBedrockFrontendService","InvokeModel",{}).n("BedrockRuntimeClient","InvokeModelCommand").f(ja,Ha).ser(Wa).de(Ka).build()){}const Lc=Bc;function $c(){const e=["generations","_readStreamableResponse","length","data","map","abortController","locale","_requestHeaders","bytes","sendRequest","config","anthropic.claude-v2","\n\nAssistant:","pluginName","1436032bKtfZk","completion","Your task is to execute the instruction using the provided HTML content. Follow the instruction closely. Your answer must be a properly formatted HTML code. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","test","utf-8","editor","cohere.command","Human:\n","POST","350389tPqmlr","completions","utf8","_processAWSRequest","Your task is to generate HTML content accordingly to the given instruction. Never include <img> tag in your response even if asked for. Your answer must be a well-structured and properly formatted HTML code. Answer only with the generated HTML content. Do not add any additional remarks or notes. Do not act like a chatbot or a real person.","7FtHltB","get","\nYou must keep the text formatting.\n\nContent:\n","chunk","<<SYS>>\n","ai.aws.requestHeaders","decode","getReader","parse","json","filter","from","_prepareRequestParameters","ai.aws.apiUrl","_prepareRequestHeaders","join","getModelFamily","anthropic.claude","preparePrompt","_apiUrl","bedrock-2023-05-31","_requestParameters","_readAsyncIterableResponse","application/json","body","AI_ERROR_UNSUPPORTED_MODEL","signal","_processProxyRequest","split","1489486nyLmdV","_getGeneratedText","4194492QLjhAW","resolve","generation","ai.aws.bedrockClientConfig","1731195ZeQnJi","_bedrockClientConfig","4760024WLjJKs","stringify","2462220XlukXI","AWSTextAdapter","text","\n<</SYS>>\n[INST]\n","read","ai21.j2","Instruction:\n","ai.aws.requestParameters","meta.llama","\n[/INST]","send","_readStaticResponse","define","toString"];return($c=function(){return e})()}function Bc(e,t){const r=$c();return(Bc=function(e,t){return r[e-=451]})(e,t)}!function(e){const t=Bc,r=e();for(;;)try{if(547424===parseInt(t(509))/1+parseInt(t(462))/2+-parseInt(t(468))/3+-parseInt(t(500))/4+parseInt(t(472))/5+-parseInt(t(464))/6+-parseInt(t(514))/7*(-parseInt(t(470))/8))break;r.push(r.shift())}catch(e){r.push(r.shift())}}($c);class Uc extends Tt{static get[Lc(499)](){return Lc(473)}constructor(e){const t=Lc;super(e),e[t(496)][t(515)](t(479))||e[t(496)][t(484)](t(479),{model:t(497),max_tokens_to_sample:2e3,temperature:1,top_p:1,top_k:250,anthropic_version:t(453),stream:!0}),this[t(452)]=e[t(496)][t(515)](t(527)),this[t(469)]=e[t(496)][t(515)](t(467)),this[t(493)]=e[t(496)][t(515)](t(519)),this[t(454)]=e[t(496)][t(515)](t(479))}async[Lc(495)]({query:e,context:t,onData:r,actionId:n}){const o=Lc,{model:i,stream:s,...a}=await this[o(526)](this[o(454)],n),c={prompt:await this[o(451)](e,t,i,n),...a};this[o(452)]?await this[o(460)](c,i,s,r,n):await this[o(512)](c,i,s,r)}async[Lc(451)](e,t,r,n){const o=Lc;let i,s;return t?(i=o(502),s=o(478)+e+o(516)+t):(i=o(513),s=e),o(480)==this[o(530)](r)?o(518)+i+o(475)+s+o(481):o(507)+i+"\n"+s+o(498)}[Lc(530)](e){const t=Lc;if(/^anthropic\.claude/[t(503)](e))return t(531);if(/^ai21\.j2/[t(503)](e))return t(477);if(/^cohere\.command/[t(503)](e))return t(506);if(/^meta\.llama/[t(503)](e))return t(480);throw new D(H(this[t(505)][t(492)],t(458),e))}async[Lc(460)](e,t,r,n,o){const i=Lc,s={method:i(508),headers:await this[i(528)](this[i(493)],o),body:JSON[i(471)]({...e,model:t,stream:r}),signal:this[i(491)][i(459)]},a=await fetch(this[i(452)],s);r?await this[i(487)](a,t,n):await this[i(483)](a,t,n)}async[Lc(512)](e,t,r,n){const o=Lc,i=new ha(this[o(469)]),s={body:JSON[o(471)](e),contentType:o(456),accept:o(456),modelId:t};let a;if(r){const e=new Oc(s);a=await i[o(482)](e,{abortSignal:this[o(491)][o(459)]}),await this[o(455)](a,t,n)}else{const e=new Nc(s);a=await i[o(482)](e,{abortSignal:this[o(491)][o(459)]}),await this[o(483)](a,t,n)}}async[Lc(455)](e,t,r){const n=Lc,o=e[n(457)],i=new TextDecoder(n(504));let s="";for await(const e of o)if(e[n(517)]){const o=i[n(520)](e[n(517)][n(494)]),a=JSON[n(522)](o);s+=this[n(463)](a,t),r(s)}return Promise[n(465)]()}async[Lc(487)](e,t,r){const n=Lc,o=e[n(457)],i=new TextDecoder(n(504)),s=o[n(521)]();let a="",c="",u=!1;for(;!u;){const{done:e,value:o}=await s[n(476)]();if(u=e,u)break;const l=(a+i[n(520)](o))[n(461)]("\n")[n(490)]((e=>{const t=n;try{return a="",JSON[t(522)](e)}catch(t){return a=e,null}}))[n(524)]((e=>null!==e));l[n(488)]&&(c+=l[n(490)]((e=>this[n(463)](e,t)))[n(529)](""),r(c))}return Promise[n(465)]()}async[Lc(483)](e,t,r){const n=Lc;let o;return o=e instanceof Response?await e[n(523)]():JSON[n(522)](Buffer[n(525)](e[n(457)])[n(485)](n(511))),r(this[n(463)](o,t)),Promise[n(465)]()}[Lc(463)](e,t){const r=Lc;switch(this[r(530)](t)){case r(531):return e[r(501)];case r(477):return e[r(510)][0][r(489)][r(474)];case r(506):return e[r(486)][0][r(474)];case r(480):return e[r(466)]}}}function Fc(e,t){var r=Dc();return(Fc=function(e,t){return r[e-=328]})(e,t)}function Dc(){var e=["3955536oJDMiQ","3608YcBFoi","5OFrbWV","1311590ulGtOW","3527985sVAIeO","2568oIsQfP","12411VrmyQg","5859763zlcfnt","351fPaVHc","3078798ksLuhX"];return(Dc=function(){return e})()}!function(e){for(var t=Fc,r=e();;)try{if(595899===parseInt(t(330))/1*(-parseInt(t(337))/2)+parseInt(t(336))/3+-parseInt(t(332))/4+-parseInt(t(334))/5*(-parseInt(t(331))/6)+parseInt(t(329))/7+parseInt(t(333))/8*(-parseInt(t(328))/9)+parseInt(t(335))/10)break;r.push(r.shift())}catch(e){r.push(r.shift())}}(Dc)})(),(window.CKEditor5=window.CKEditor5||{}).ai=n})();
|