@ckeditor/ckeditor5-ai 0.0.0-nightly-20240701.0 → 0.0.0-nightly-20240702.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/bg.js +1 -1
  8. package/dist/translations/bg.umd.js +1 -1
  9. package/dist/translations/bn.js +1 -1
  10. package/dist/translations/bn.umd.js +1 -1
  11. package/dist/translations/bs.js +1 -1
  12. package/dist/translations/bs.umd.js +1 -1
  13. package/dist/translations/ca.js +1 -1
  14. package/dist/translations/ca.umd.js +1 -1
  15. package/dist/translations/cs.js +1 -1
  16. package/dist/translations/cs.umd.js +1 -1
  17. package/dist/translations/da.js +1 -1
  18. package/dist/translations/da.umd.js +1 -1
  19. package/dist/translations/de-ch.js +1 -1
  20. package/dist/translations/de-ch.umd.js +1 -1
  21. package/dist/translations/de.js +1 -1
  22. package/dist/translations/de.umd.js +1 -1
  23. package/dist/translations/el.js +1 -1
  24. package/dist/translations/el.umd.js +1 -1
  25. package/dist/translations/en-au.js +1 -1
  26. package/dist/translations/en-au.umd.js +1 -1
  27. package/dist/translations/en.umd.js +1 -1
  28. package/dist/translations/es-co.js +1 -1
  29. package/dist/translations/es-co.umd.js +1 -1
  30. package/dist/translations/es.js +1 -1
  31. package/dist/translations/es.umd.js +1 -1
  32. package/dist/translations/et.js +1 -1
  33. package/dist/translations/et.umd.js +1 -1
  34. package/dist/translations/fa.js +1 -1
  35. package/dist/translations/fa.umd.js +1 -1
  36. package/dist/translations/fi.js +1 -1
  37. package/dist/translations/fi.umd.js +1 -1
  38. package/dist/translations/fr.js +1 -1
  39. package/dist/translations/fr.umd.js +1 -1
  40. package/dist/translations/gl.js +1 -1
  41. package/dist/translations/gl.umd.js +1 -1
  42. package/dist/translations/he.js +1 -1
  43. package/dist/translations/he.umd.js +1 -1
  44. package/dist/translations/hi.js +1 -1
  45. package/dist/translations/hi.umd.js +1 -1
  46. package/dist/translations/hr.js +1 -1
  47. package/dist/translations/hr.umd.js +1 -1
  48. package/dist/translations/hu.js +1 -1
  49. package/dist/translations/hu.umd.js +1 -1
  50. package/dist/translations/id.js +1 -1
  51. package/dist/translations/id.umd.js +1 -1
  52. package/dist/translations/it.js +1 -1
  53. package/dist/translations/it.umd.js +1 -1
  54. package/dist/translations/ja.js +1 -1
  55. package/dist/translations/ja.umd.js +1 -1
  56. package/dist/translations/jv.js +1 -1
  57. package/dist/translations/jv.umd.js +1 -1
  58. package/dist/translations/ko.js +1 -1
  59. package/dist/translations/ko.umd.js +1 -1
  60. package/dist/translations/lt.js +1 -1
  61. package/dist/translations/lt.umd.js +1 -1
  62. package/dist/translations/lv.js +1 -1
  63. package/dist/translations/lv.umd.js +1 -1
  64. package/dist/translations/ms.js +1 -1
  65. package/dist/translations/ms.umd.js +1 -1
  66. package/dist/translations/nl.js +1 -1
  67. package/dist/translations/nl.umd.js +1 -1
  68. package/dist/translations/no.js +1 -1
  69. package/dist/translations/no.umd.js +1 -1
  70. package/dist/translations/pl.js +1 -1
  71. package/dist/translations/pl.umd.js +1 -1
  72. package/dist/translations/pt-br.js +1 -1
  73. package/dist/translations/pt-br.umd.js +1 -1
  74. package/dist/translations/pt.js +1 -1
  75. package/dist/translations/pt.umd.js +1 -1
  76. package/dist/translations/ro.js +1 -1
  77. package/dist/translations/ro.umd.js +1 -1
  78. package/dist/translations/ru.js +1 -1
  79. package/dist/translations/ru.umd.js +1 -1
  80. package/dist/translations/sk.js +1 -1
  81. package/dist/translations/sk.umd.js +1 -1
  82. package/dist/translations/sr-latn.js +1 -1
  83. package/dist/translations/sr-latn.umd.js +1 -1
  84. package/dist/translations/sr.js +1 -1
  85. package/dist/translations/sr.umd.js +1 -1
  86. package/dist/translations/sv.js +1 -1
  87. package/dist/translations/sv.umd.js +1 -1
  88. package/dist/translations/th.js +1 -1
  89. package/dist/translations/th.umd.js +1 -1
  90. package/dist/translations/ti.js +1 -1
  91. package/dist/translations/ti.umd.js +1 -1
  92. package/dist/translations/tk.js +1 -1
  93. package/dist/translations/tk.umd.js +1 -1
  94. package/dist/translations/tr.js +1 -1
  95. package/dist/translations/tr.umd.js +1 -1
  96. package/dist/translations/ug.js +1 -1
  97. package/dist/translations/ug.umd.js +1 -1
  98. package/dist/translations/uk.js +1 -1
  99. package/dist/translations/uk.umd.js +1 -1
  100. package/dist/translations/ur.js +1 -1
  101. package/dist/translations/ur.umd.js +1 -1
  102. package/dist/translations/uz.js +1 -1
  103. package/dist/translations/uz.umd.js +1 -1
  104. package/dist/translations/vi.js +1 -1
  105. package/dist/translations/vi.umd.js +1 -1
  106. package/dist/translations/zh-cn.js +1 -1
  107. package/dist/translations/zh-cn.umd.js +1 -1
  108. package/dist/translations/zh.js +1 -1
  109. package/dist/translations/zh.umd.js +1 -1
  110. package/package.json +4 -4
  111. package/src/adapters/aiadapter.js +1 -1
  112. package/src/adapters/aitextadapter.js +1 -1
  113. package/src/adapters/awstextadapter.js +1 -1
  114. package/src/adapters/openaitextadapter.js +1 -1
  115. package/src/aiassistant.js +1 -1
  116. package/src/aiassistantediting.js +1 -1
  117. package/src/aiassistantui.js +1 -1
  118. package/src/index.js +1 -1
  119. package/src/ui/aiassistantcontroller.js +2 -2
  120. package/src/ui/dropdown/aicommandslistview.js +1 -1
  121. package/src/ui/dropdown/buttonlabelwithhighlightview.js +1 -1
  122. package/src/ui/dropdown/labelwithhighlightview.js +1 -1
  123. package/src/ui/form/aiformcontentarea.js +1 -1
  124. package/src/ui/form/aiformerrorview.js +1 -1
  125. package/src/ui/form/aiformpromptview.js +1 -1
  126. package/src/ui/form/aiformtoolbarview.js +1 -1
  127. package/src/ui/form/aiformview.js +1 -1
  128. package/src/ui/form/aihistorylistitemview.js +1 -1
  129. package/src/ui/form/aihistorylistview.js +1 -1
  130. package/src/ui/form/prompthistory.js +1 -1
  131. package/src/ui/showaiassistantcommand.js +1 -1
  132. package/src/utils/common-translations.js +1 -1
package/build/ai.js CHANGED
@@ -77,4 +77,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
77
77
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
78
78
  PERFORMANCE OF THIS SOFTWARE.
79
79
  ***************************************************************************** */
80
- var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function a(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(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 d(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(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function f(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function p(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||(t[r]=e[r])}function h(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.")}function g(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function k(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)n[o]=i[s];return n}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function y(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{(r=o[e](t)).value instanceof b?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){a("next",e)}function u(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function v(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:b(e[n](t)),done:"return"===n}:o?o(t):t}:o}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function A(e){return e&&e.__esModule?e:{default:e}}function x(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function E(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}},857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var n=r(9381),o="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:n.fromUtf8;t.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"==typeof e?o(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}},7885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var n=r(857);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return n.convertToBuffer}});var o=r(4964);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return o.isEmptyData}});var i=r(4034);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return i.numToUint8}});var s=r(7911);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return s.uint32ArrayFrom}})},4964:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},4034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},7911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=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)}},277:(e,t,r)=>{"use strict";r.r(t),r.d(t,{locateWindow:()=>o});const n={};function o(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:n}},9381:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fromUtf8:()=>n,toUtf8:()=>o});const n=e=>"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):(e=>{const t=[];for(let r=0,n=e.length;r<n;r++){const n=e.charCodeAt(r);if(n<128)t.push(n);else if(n<2048)t.push(n>>6|192,63&n|128);else if(r+1<e.length&&55296==(64512&n)&&56320==(64512&e.charCodeAt(r+1))){const o=65536+((1023&n)<<10)+(1023&e.charCodeAt(++r));t.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else t.push(n>>12|224,n>>6&63|128,63&n|128)}return Uint8Array.from(t)})(e),o=e=>"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):(e=>{let t="";for(let r=0,n=e.length;r<n;r++){const n=e[r];if(n<128)t+=String.fromCharCode(n);else if(192<=n&&n<224){const o=e[++r];t+=String.fromCharCode((31&n)<<6|63&o)}else if(240<=n&&n<365){const o="%"+[n,e[++r],e[++r],e[++r]].map((e=>e.toString(16))).join("%");t+=decodeURIComponent(o)}else t+=String.fromCharCode((15&n)<<12|(63&e[++r])<<6|63&e[++r])}return t})(e)},5369: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 f=Object.keys(o),p=a.default.find(f,(function(e){return t.isBrowser(e,!0)}));if(void 0!==p)return this.compareVersion(o[p])}},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}})},5507:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},4967:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},4258:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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(8433),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},2751:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},3901:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},1961:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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-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{outline:0;overflow:hidden}.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},5163:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},2332:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},7533:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},7181:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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(8433),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},3379:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},8433: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}},4673:(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),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(s[d].references++,s[d].updater(f)):s.push({identifier:l,updater:m(f,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 f(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 p(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 h=null,g=0;function m(e,t){var r,n,o;if(t.singleton){var i=g++;r=h||(h=u(t)),n=f.bind(null,r,i,!1),o=f.bind(null,r,i,!0)}else r=u(t),n=p.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(9237)("./src/clipboard.js")},1782:(e,t,r)=>{e.exports=r(9237)("./src/core.js")},1783:(e,t,r)=>{e.exports=r(9237)("./src/engine.js")},8311:(e,t,r)=>{e.exports=r(9237)("./src/ui.js")},4584:(e,t,r)=>{e.exports=r(9237)("./src/utils.js")},9237: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:()=>B,AIAssistant:()=>Nt,AIRequestError:()=>F,AITextAdapter:()=>$t,AWSTextAdapter:()=>ja,OpenAITextAdapter:()=>zt});var e=r(4584),t=r(1782),o=r(8311);t.ContextPlugin;var i=r(4673),s=r.n(i),a=r(2332),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(a.A,c);a.A.locals;t.ContextPlugin;var u=r(7533),l={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(u.A,l);u.A.locals;o.View;o.View;var d=r(1961),f={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(d.A,f);d.A.locals;var p=r(5163),h={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(p.A,h);p.A.locals;var g=r(4258),m={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(g.A,m);g.A.locals;var k=r(4967),b={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(k.A,b);k.A.locals;var y=r(906),v={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(y.A,v);y.A.locals;var w=r(2751),_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(w.A,_);w.A.locals;var S=r(3901),A={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(S.A,A);S.A.locals;var x=r(5507),E={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(x.A,E);x.A.locals;const I={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 O(e,t){const r=T();return(O=function(e,t){return r[e-=179]})(e,t)}const R=O;function T(){const e=["243649zCJbiE","8VUSfLN","6066640ndSyeq","920OQpwCh","selection","insertContent","schema","getLastMatchingPosition","5694993jdiWir","ai-ui","isAtEnd","change","toModel","pop","createPositionAfter","getLastPosition","ck-fake-ai-selection_collapsed","span","length","showFakeVisualSelection","ai-ui-candidate","start","insertContentBelow","markerToHighlight","createSelection","pluginName","getSelectedBlocks","updateMarker","canEditAt","get","editor","ck-fake-ai-selection-candidate","data","toView","for","isContent","config","33CjWYtK","getRange","setSelection","markers","document","AIAssistantEditing","createRange","end","hideFakeVisualSelection","ck-fake-ai-selection","editingDowncast","push","542844ponZFS","removeMarker","model","2224SdBOdf","2495710oQFwCc","has","getFirstRange","conversion","ck-ai-assistant-ui_theme","init","ai.useTheme","markerToElement","addMarker","2008720skPeET","from","6EhlCbB","processor"];return(T=function(){return e})()}!function(e,t){const r=O,n=e();for(;;)try{if(644162===-parseInt(r(195))/1*(parseInt(r(244))/2)+parseInt(r(241))/3+-parseInt(r(188))/4+parseInt(r(179))/5*(-parseInt(r(190))/6)+parseInt(r(192))/7+parseInt(r(193))/8*(parseInt(r(200))/9)+parseInt(r(194))/10*(parseInt(r(229))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(T);const P=R(201),M=R(212);class C extends t.Plugin{static get[R(217)](){return R(234)}[R(184)](){const e=R,{editor:t}=this,r=[e(238)];t[e(228)][e(221)](e(185))&&r[e(240)](e(183)),t[e(182)][e(226)](e(239))[e(215)]({model:P,view:{classes:r,priority:12}}),t[e(182)][e(226)](e(239))[e(186)]({model:P,view:{name:e(209),classes:[e(238),e(208)],priority:12}}),t[e(182)][e(226)](e(239))[e(215)]({model:M,view:{classes:[e(223)],priority:25}}),t[e(182)][e(226)](e(239))[e(186)]({model:M,view:{name:e(209),classes:[e(223),e(208)],priority:25}})}[R(211)](e){const t=R,r=this[t(222)][t(243)],n=e?M:P;r[t(203)]((e=>{const o=t,i=r[o(233)][o(196)][o(181)]();if(r[o(232)][o(180)](n))e[o(219)](n,{range:i});else if(i[o(213)][o(202)]){const t=i[o(213)][o(199)]((({item:e})=>!r[o(198)][o(227)](e)),{boundaries:i});e[o(187)](n,{usingOperation:!1,affectsData:!1,range:e[o(235)](t,i[o(236)])})}else e[o(187)](n,{usingOperation:!1,affectsData:!1,range:i})}))}[R(237)](e){const t=R,r=this[t(222)][t(243)],n=e?M:P;r[t(232)][t(180)](n)&&r[t(203)]((e=>{e[t(242)](n)}))}[R(197)](e,t){const r=R,n=t||this[r(222)][r(243)][r(232)][r(221)](P)[r(230)]();if(!this[r(222)][r(243)][r(220)](n))return;const o=this[r(222)][r(224)][r(191)][r(225)](e),i=this[r(222)][r(224)][r(204)](o);this[r(222)][r(243)][r(203)]((e=>{const t=r;this[t(237)]();const o=this[t(222)][t(243)][t(197)](i,n);o&&e[t(231)](o)}))}[R(214)](e){const t=R,{model:r}=this[t(222)],n=Array[t(189)](r[t(216)](this[t(222)][t(243)][t(232)][t(221)](P)[t(230)]())[t(218)]()),o=n[t(210)]?r[t(206)](n[t(205)]()):r[t(233)][t(196)][t(207)]();this[t(197)](e,o)}}var L=j;function j(e,t){var r=N();return(j=function(e,t){return r[e-=338]})(e,t)}function N(){var e=["67144dSwlIP","1061109LCfOnt","AIAdapter","1974648nVbTjz","70tcYIrX","1771259PZKPck","pluginName","3GupEfL","afterInit","aiadapter-text-adapter-not-set","6LroHZk","name","313445qEZYtV","320884nVuRDB","textAdapter","203213iEbXbM","AIRequestError"];return(N=function(){return e})()}!function(e,t){for(var r=j,n=e();;)try{if(292109===-parseInt(r(341))/1+parseInt(r(339))/2*(-parseInt(r(350))/3)+-parseInt(r(346))/4+-parseInt(r(338))/5*(-parseInt(r(353))/6)+parseInt(r(348))/7+parseInt(r(343))/8+-parseInt(r(344))/9*(-parseInt(r(347))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(N);class B extends t.Plugin{static get[L(349)](){return L(345)}[L(351)](){var t=L;if(!this[t(340)])throw new e.CKEditorError(t(352),null)}}class F extends Error{constructor(e){var t=L;super(e),this[t(354)]=t(342)}}function D(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 U=V;!function(e,t){const r=V,n=e();for(;;)try{if(237187===parseInt(r(152))/1*(parseInt(r(151))/2)+parseInt(r(137))/3*(-parseInt(r(134))/4)+-parseInt(r(140))/5*(parseInt(r(123))/6)+parseInt(r(135))/7+parseInt(r(138))/8*(parseInt(r(141))/9)+-parseInt(r(133))/10+parseInt(r(158))/11*(-parseInt(r(139))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(q);class $ extends t.Command{constructor(e,t){const r=V;super(e),this[r(143)]=t?t[r(146)](((e,t)=>e[r(130)](t[r(157)])),new Array):[],this[r(112)](r(113),[]),this.on(r(124),((e,t,n)=>{const o=r;this[o(148)]&&(this[o(113)]=H(this[o(143)],n))})),this[r(112)](r(127),!1),this.on(r(111),((e,t,n)=>{const o=r;this[o(113)]=n?H(this[o(143)],this[o(127)]):[]}))}[U(156)](){const e=U,t=this[e(142)][e(155)];this[e(127)]=function(t){const r=e,n=t[r(125)][r(136)];return n[r(144)]?0!==[...n[r(154)]()][r(114)]&&![...n[r(154)]()][0][r(145)]:!!t[r(128)](n[r(131)]())}(t);const r=t[e(125)][e(136)],n=this[e(142)][e(129)][e(153)](e(150));for(const t of r[e(121)]())for(const r of t[e(120)]())if(r.is(e(132))&&n[e(149)](r[e(115)]))return void(this[e(148)]=!1);this[e(148)]=!0}[U(122)](e="",t="",r=U(117)){const n=U;this[n(142)][n(116)][n(153)](Rt)[n(118)](e,t,r)}}function H(e,t){const r=U,n=new Set;for(const o of e)(t||!1===o[r(119)])&&n[r(147)](o.id);return Array[r(126)](n)}function V(e,t){const r=q();return(V=function(e,t){return r[e-=111]})(e,t)}function q(){const e=["isEnabled","includes","ai.aiAssistant.disabledElements","10514qgDpah","30ZdbBFy","get","getSelectedBlocks","model","refresh","commands","129811jsbkRo","change:isEnabled","set","enabledCommandsIds","length","name","plugins","custom","showUI","requiresContent","getItems","getRanges","execute","24OLwPlm","change:_hasContext","document","from","_hasContext","hasContent","config","concat","getFirstRange","element","701520uteqgM","134452qlvIYB","2558066ORvheC","selection","3IfweRo","56FwvKND","156gFAXKG","126235YBJNCq","92835tAqaMR","editor","_commandDefinitions","isCollapsed","isEmpty","reduce","add"];return(q=function(){return e})()}var z=r(1783);const G=Z;function W(){const e=["previousActionId","1931812HYREfV","length","childNodes","3664577EWtfAq","push","rename","2394580YhgBLC","handleError","473402WpCOOt","text/html","serializeToString","view","_isH1TagSupportEnabled","custom","nodeType","destroy","createElement","currentContext","startsWith","innerHTML","ELEMENT_NODE","querySelector","editor","2gTRVis","_normalizeResponseHeadings","2841336lxiRHJ","_parseAndNormalizeContent","editing","value","_stripMarkdownSyntax","mainAction","data","tryAgainEvent","6AnTqyx","stopProcessing","domConverter","abort","remove","```html","setContentOf","5859984yAWcSn","htmlProcessor","message","body","```","stopListening","element","submitPrompt","toView","set","viewToDom","previousLabel","previousContext","_sanitizationContainer","prompt","then","_xmlSerializer","toModel","makeRequest","set:currentContext","currentResponse","match","processor","render","finally","once","name","isProcessing","exec","reset","_handleQuery","from","startProcessing","updateView","<h1></h1>","finishProcessing","1566696YlRSzM","previousQuery","substring","isRendered","reverse","catch","document","endsWith","_sanitizeHTML","initialContext","_domParser","div","parseFromString","listenTo","trim","textAdapter","stringify"];return(W=function(){return e})()}function Z(e,t){const r=W();return(Z=function(e,t){return r[e-=429]})(e,t)}!function(e,t){const r=Z,n=e();for(;;)try{if(385790===-parseInt(r(516))/1*(-parseInt(r(437))/2)+parseInt(r(490))/3+parseInt(r(508))/4+parseInt(r(514))/5+parseInt(r(447))/6*(-parseInt(r(511))/7)+-parseInt(r(454))/8+-parseInt(r(439))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(W);const K=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,"is");class Y extends((0,e.ObservableMixin)()){constructor(e,t,r){const n=Z;super(),this[n(436)]=e,this[n(505)]=t,this[n(467)]=document[n(430)](n(501)),this[n(500)]=new DOMParser,this[n(470)]=new XMLSerializer,this[n(519)]=r,this[n(463)]({initialContext:"",currentContext:"",currentResponse:"",previousContext:void 0,previousQuery:void 0,previousLabel:void 0,isProcessing:!1}),this.on(n(473),((e,t,r)=>{const o=n;this[o(519)][o(442)]=this[o(498)](r)})),this[n(503)](this[n(519)],n(461),((e,t)=>{const r=n,o=this[r(431)]||this[r(499)];this[r(484)](t,o,r(521))})),this[n(503)](this[n(519)],n(446),(()=>{const e=n;this[e(519)][e(468)]=this[e(465)],this[e(484)](this[e(491)],this[e(466)],this[e(507)],this[e(465)])})),this[n(503)](this[n(519)],n(448),(()=>{this[n(448)]()}))}[G(429)](){this[G(459)]()}async[G(487)]({actionId:e,query:t,htmlContent:r,label:n,mainActionLabel:o}){const i=G;this[i(519)][i(468)]=n,this[i(519)][i(444)]=o,this[i(499)]=r,t&&(this[i(519)][i(493)]?this[i(484)](t,r,e,n):this[i(519)][i(479)](i(477),(()=>{this[i(484)](t,r,e,n)})))}[G(448)](){const e=G;this[e(481)]&&(this[e(481)]=!1,this[e(519)][e(489)](),this[e(505)][e(450)]())}[G(483)](){const e=G;this[e(499)]="",this[e(431)]="",this[e(474)]="",this[e(466)]="",this[e(491)]="",this[e(465)]="",this[e(507)]=void 0,this[e(519)][e(483)](),this[e(448)]()}async[G(484)](e,t,r,n){const o=G;return this[o(481)]=!0,this[o(519)][o(486)](),this[o(466)]=t,this[o(491)]=e,this[o(465)]=n||e,this[o(507)]=r,new Promise((n=>{const i=o;this[i(505)][i(472)]({query:e,context:t,onData:e=>{const t=i;this[t(474)]=e,this[t(431)]=this[t(440)](this[t(474)])},actionId:r})[i(469)]((()=>{const e=i;!this[e(431)]&&this[e(474)]&&(this[e(431)]=this[e(440)](this[e(474)],!0))}))[i(495)]((e=>{const t=i;e instanceof F?this[t(519)][t(515)](e[t(456)]):this[t(519)][t(515)](),n()}))[i(478)]((()=>{this[i(448)](),n()}))}))}[G(440)](e,t=!1){const r=G,n=K[r(482)](e);e=n?e[r(492)](n[1][r(509)]):e[r(509)]<100&&!t?"":this[r(443)](e);const o=this[r(500)][r(502)](e,r(517));if(n){const e=Array[r(485)](o[r(457)][r(510)]);e[r(494)]();for(const t of e){if(t[r(522)]==Node[r(434)])break;t[r(451)]()}}const i=this[r(436)][r(445)][r(476)][r(462)](this[r(470)][r(518)](o[r(457)]));return this[r(520)]()||this[r(438)](i),this[r(436)][r(445)][r(506)](this[r(436)][r(445)][r(471)](i))}[G(438)](e){const t=G,r=new z.UpcastWriter(this[t(436)][t(441)][t(519)][t(496)]),n=new z.Matcher({name:/^h[1-5]$/}),o=[];let i=!1;for(const r of e)r.is(t(460))&&n[t(475)](r)&&(o[t(512)](r),"h1"==r[t(480)]&&(i=!0));if(i)for(const e of o)r[t(513)]("h"+(parseInt(e[t(480)][1])+1),e)}[G(520)](){const e=G,{data:t,editing:r}=this[e(436)],n=t[e(455)][e(462)](e(488)),o=t[e(462)](t[e(471)](n));return!!r[e(519)][e(449)][e(464)](o)[e(435)]("h1")}[G(498)](e){const t=G;return this[t(436)][t(441)][t(519)][t(449)][t(453)](this[t(467)],e),this[t(467)][t(433)]}[G(443)](e){const t=G,r=e[t(504)]();return r[t(432)](t(452))?r[t(497)](t(458))?r[t(492)](7,r[t(509)]-3):r[t(492)](7):e}}const Q=ee;function J(){const e=["stopButton","label","20320BJklhi","insert","_createButton","Insert below","bind","3149940LjxntM","items","set","Stop","isVisible","Try again","tryAgainButton","1050667ukvqzA","extendTemplate","toUpperCase","replace","277168skocfg","_CONTENT","ck-ai-form__toolbar","locale","insertButton","AI_","mainAction","9czRQEL","ck-button-action","bindTemplate","359721THaKBQ","182XVHZUp","209196lSnNTB","ck-hidden","replaceButton","2166SapjFT","374104Eoltqr","addMany","REPLACE"];return(J=function(){return e})()}!function(e,t){const r=ee,n=e();for(;;)try{if(866228===-parseInt(r(161))/1+parseInt(r(177))/2+-parseInt(r(172))/3*(parseInt(r(181))/4)+parseInt(r(186))/5*(parseInt(r(180))/6)+-parseInt(r(176))/7*(-parseInt(r(165))/8)+parseInt(r(175))/9+-parseInt(r(191))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(J);const X={REPLACE:Q(164),INSERT:Q(187)};function ee(e,t){const r=J();return(ee=function(e,t){return r[e-=159]})(e,t)}class te extends o.ToolbarView{constructor(e){const t=Q;super(e),this[t(193)](t(195),!1),this[t(193)](t(171),X[t(183)]),this[t(179)]=this[t(188)]("",t(173)),this[t(179)][t(190)](t(185)).to(this,t(171),(r=>D(e,t(170)+r[t(163)]()+t(166)))),this[t(169)]=this[t(188)](D(e,t(189))),this[t(160)]=this[t(188)](D(e,t(159))),this[t(184)]=this[t(188)](D(e,t(194)));const r=this[t(174)];this[t(162)]({attributes:{class:[t(167),r.if(t(195),t(178),(e=>!e))]}}),this[t(192)][t(182)]([this[t(179)],this[t(169)],this[t(160)],this[t(184)]])}[Q(188)](e,t){const r=Q,n=new o.ButtonView(this[r(168)]);return n[r(193)]({label:e,class:t||"",isVisible:!0,withText:!0}),n}}const re='<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>',ne=oe;function oe(e,t){const r=ae();return(oe=function(e,t){return r[e-=364]})(e,t)}!function(e,t){const r=oe,n=e();for(;;)try{if(638184===-parseInt(r(382))/1*(parseInt(r(369))/2)+parseInt(r(373))/3+-parseInt(r(431))/4*(parseInt(r(427))/5)+parseInt(r(445))/6*(parseInt(r(449))/7)+-parseInt(r(424))/8*(parseInt(r(451))/9)+parseInt(r(387))/10*(-parseInt(r(429))/11)+-parseInt(r(391))/12*(-parseInt(r(398))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(ae);class ie extends o.View{constructor(e,t=""){const r=oe;super(e),this[r(393)]({value:null,isVisible:!1,isProcessing:!1});const n=this[r(450)];this[r(439)]=new se(e,t),this[r(409)]=this[r(401)](),this[r(418)]({tag:r(408),attributes:{class:["ck",r(411),n.if(r(428),r(426),(e=>!e))],tabindex:"-1"},children:[{tag:r(408),attributes:{class:["ck",r(405),n.if(r(367),r(425))]},children:[this[r(439)],{tag:r(408),attributes:{class:["ck",r(435)]},children:[this[r(409)]]}]}]})}[ne(421)](){const e=ne;super[e(421)](),this[e(407)]&&this[e(439)][e(394)](this[e(407)]);let t=!1;this.on(e(371),((r,n,o)=>{const i=e,s=!this[i(439)][i(444)][i(415)](i(397));this[i(439)][i(394)](o),this[i(367)]&&s&&!t&&this[i(444)][i(376)]({top:this[i(444)][i(388)],behavior:i(379)})})),this.on(e(378),((r,n,o)=>{const i=e;t=!1,o?(this[i(407)]=null,this[i(439)][i(366)]()):this[i(407)]||this[i(439)][i(394)]("")})),this[e(372)](this[e(444)],e(412),(()=>{t=!0})),this[e(372)](this[e(444)],e(440),(()=>{t=!0}))}[ne(381)](){const e=ne;this[e(444)][e(381)]()}[ne(401)](){const e=ne,r=this[e(404)],n=new o.ButtonView(this[e(404)]),i=e(438);return n[e(393)]({label:D(r,e(448)),icon:re,class:i,tooltip:!0}),n[e(390)](e(428)).to(this,e(407),(e=>!!e)),n[e(390)](e(410)).to(this,e(367),(e=>!e)),n.on(e(389),(()=>{const r=e;this[r(446)](this[r(439)][r(444)]),n[r(375)]=t.icons[r(442)],n[r(370)]=i+r(368),this[r(381)](),setTimeout((()=>{const e=r;n[e(375)]=re,n[e(370)]=i}),1e3)})),n}[ne(446)](t){const r=ne,{window:n,document:o}=e.global;if(n[r(364)]){const{Blob:e,ClipboardItem:o}=n,i=[new o({"text/html":new e([t[r(420)]],{type:r(392)}),"text/plain":new e([t[r(385)]||""],{type:r(441)})})];navigator[r(399)][r(437)](i)}else{const e=o[r(383)](r(408));e[r(447)][r(403)]=r(434),e[r(447)][r(432)]=r(406),e[r(420)]=r(452)+t[r(420)]+r(430),o[r(374)][r(377)](e);const i=o[r(400)]();i[r(419)](e[r(395)]),i[r(416)](e[r(384)]);const s=n[r(423)]();s[r(396)](),s[r(433)](i),o[r(386)](r(402)),e[r(414)]()}}}class se extends o.View{constructor(e,t=""){const r=ne;super(e),this[r(436)]=this[r(417)](),this[r(418)]({tag:r(408),attributes:{class:["ck",r(422),t,r(365),r(380)]}})}[ne(394)](e){const t=ne;this[t(444)][t(420)]=e}[ne(366)](){const e=ne;this[e(444)][e(377)](this[e(436)][e(444)])}[ne(417)](){const e=ne,t=new o.View,r=this[e(404)],n=new o.SpinnerView;return n[e(428)]=!0,t[e(418)]({tag:e(408),attributes:{class:["ck",e(443)]},children:[n,{text:D(r,e(413))}]}),t[e(421)](),t}}function ae(){const e=["querySelector","setEndBefore","_createLoader","setTemplate","setStartAfter","innerHTML","render","ck-content","getSelection","8pwWeaZ","ck-ai-form__content-area--processing","ck-hidden","25VgpnaE","isVisible","473zciutF","<span>]</span>","863364nhJArr","left","addRange","absolute","ck-ai-form__copy-button-wrapper","loaderView","write","ck-ai-form__copy-button","contentFieldView","mousedown","text/plain","check","ck-ai-form__loader","element","48vKnEJS","_copyHTMLToClipboard","style","Copy","1295XRATSH","bindTemplate","1438326NOmMQc","<span>[</span>","ClipboardItem","ck-reset_all-excluded","appendLoader","isProcessing"," ck-ai-form__copy-button--copied","344870XiSqjw","class","change:value","listenTo","1278636sBqeov","body","icon","scrollTo","appendChild","change:isProcessing","smooth","ck-ai-form__content-field","focus","1xNUSBy","createElement","lastElementChild","textContent","execCommand","249030ITnLss","scrollHeight","execute","bind","32313300BQIcTQ","text/html","set","setContent","firstElementChild","removeAllRanges",".ck-ai-form__loader","13pgLUio","clipboard","createRange","_createCopyButton","copy","position","locale","ck-ai-form__content-area","-9999px","value","div","copyButtonView","isEnabled","ck-ai-form__content-area-wrapper","wheel","AI is writing...","remove"];return(ae=function(){return e})()}function ce(e,t){const r=ue();return(ce=function(e,t){return r[e-=492]})(e,t)}function ue(){const e=["2805796OglsTX","36840140DvZApW","5396820aEkaVO","bindTemplate","5ZKsDVt","ck-ai-form__error","content","1693662NekqgQ","14GoFFZO","1683960nbYsqf","5UzKDei","5554134nLnDVU","10286vwXsRo","div","set","setTemplate","text"];return(ue=function(){return e})()}!function(e,t){const r=ce,n=e();for(;;)try{if(454710===-parseInt(r(501))/1*(parseInt(r(492))/2)+-parseInt(r(504))/3+-parseInt(r(497))/4*(parseInt(r(507))/5)+-parseInt(r(499))/6+-parseInt(r(505))/7*(parseInt(r(506))/8)+-parseInt(r(508))/9+parseInt(r(498))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(ue);class le extends o.View{constructor(e,t=""){const r=ce;super(e);const n=new o.IconView,i=this[r(500)];this[r(494)](r(496),t),n[r(503)]='<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(495)]({tag:r(493),attributes:{class:["ck",r(502)]},children:[n,{text:i.to(r(496))}]})}}const de=fe;function fe(e,t){const r=pe();return(fe=function(e,t){return r[e-=158]})(e,t)}function pe(){const e=["set","217854pREXcJ","queryView","submit","maxRows","focus","1706208zqVvkp","isEmpty","304AfCwzY","value","excludeScrollbarsAndBorders","minRows","820608ILvBoD","fieldView","bind","history","children","uiLanguageDirection","style","requestAnimationFrame","focusCycler","element","focusFirst","582906AzPpxT","ck-ai-form__toggle-history","3820440giRKaK","add","isEnabled","target","showHistoryButtonView","render","fire","108IvglUa","filteredView","update","25971lRNWDh","660528qpcjcp","submitButtonView","focusableChildren","focusLast","right","_createShowHistoryButton","window","resultsView","isVisible","execute","locale","fieldWrapperChildren","Submit","width","isOn","left","rtl","_createSubmitButton","keystrokes","enter","ck-ai-form__submit","History"];return(pe=function(){return e})()}!function(e,t){const r=fe,n=e();for(;;)try{if(391220===-parseInt(r(198))/1+-parseInt(r(185))/2+parseInt(r(197))/3*(-parseInt(r(194))/4)+parseInt(r(187))/5+parseInt(r(174))/6+-parseInt(r(168))/7+parseInt(r(170))/8*(parseInt(r(163))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(pe);class he extends o.AutocompleteView{constructor(e,t){const r=fe;super(e,t),this[r(164)][r(175)][r(173)]=1,this[r(164)][r(175)][r(166)]=3,this[r(199)]=this[r(215)](),this[r(191)]=this[r(203)](),this[r(200)][r(188)](this[r(191)],1),this[r(200)][r(188)](this[r(199)])}[de(192)](){const e=de;super[e(192)](),this[e(164)][e(209)][e(188)](this[e(191)]),this[e(178)][e(188)](this[e(199)]),this[e(158)][e(162)](e(159),((t,r)=>{const n=e;t[n(190)]==this[n(164)][n(175)][n(183)]&&(this[n(165)](),r())}))}[de(215)](){const e=de,t=new o.ButtonView(this[e(208)]),r=this[e(208)];return t[e(162)]({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:D(r,e(210)),isVisible:!0,tooltip:!0,class:e(160)}),t.on(e(207),(()=>{this[e(165)]()})),t[e(176)](e(189)).to(this[e(164)][e(175)],e(169),this,e(189),((e,t)=>!e&&t)),t}[de(203)](){const r=de,n=new o.ButtonView(this[r(208)]),i=this[r(205)],s=this[r(208)];n[r(162)]({label:D(s,r(161)),withText:!1,icon:t.icons[r(177)],tooltip:!0,tooltipPosition:"sw",class:r(186)}),n[r(176)](r(212)).to(i,r(206)),n[r(176)](r(189)).to(this,r(189)),n.on(r(207),(()=>{const e=r;i[e(206)]=!i[e(206)],i[e(206)]?this[e(195)][e(167)]():this[e(167)]()}));const a=()=>{const t=r;e.global[t(204)][t(181)]((()=>{const r=t;if((0,e.isVisible)(this[r(183)])){const t=new e.Rect(this[r(164)][r(175)][r(183)]),o=t[r(211)],i=r(214)===s[r(179)]?r(213):r(202);t[r(172)](),n[r(183)][r(180)][i]=o-t[r(211)]+1+"px"}}))};return this[r(164)][r(175)].on(r(196),a),this.on(r(192),a),n}[de(165)](){const e=de,t=this[e(164)][e(175)][e(183)][e(171)];this[e(193)](e(165),t)}[de(167)](e){const t=de;-1===e?this[t(182)][t(201)]():this[t(182)][t(184)]()}}const ge=ke;!function(e,t){const r=ke,n=e();for(;;)try{if(409352===parseInt(r(507))/1*(parseInt(r(506))/2)+parseInt(r(496))/3*(parseInt(r(511))/4)+-parseInt(r(502))/5+-parseInt(r(517))/6+parseInt(r(518))/7*(parseInt(r(509))/8)+parseInt(r(522))/9+-parseInt(r(500))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(be);class me extends o.ListView{constructor(e){const t=ke;super(e),this[t(497)]=this[t(516)](),this[t(521)]=new o.ListItemGroupView,this[t(521)][t(512)][t(510)](this[t(497)],1),this[t(521)][t(498)]=D(e,t(513)),this[t(521)][t(519)][t(505)](t(504)).to(this),this[t(519)][t(510)](this[t(521)])}[ge(503)](){const e=ge;let t=0;for(const r of this[e(519)])t+=r[e(519)][e(514)];return{resultsCount:t,totalItemsCount:t}}[ge(516)](){const e=ge,t=this[e(508)],r=new o.ButtonView(this[e(508)]);return r[e(515)]({label:"("+D(t,e(501))+")",withText:!0}),r.on(e(504),(()=>this[e(520)](e(499)))),r}}function ke(e,t){const r=be();return(ke=function(e,t){return r[e-=496]})(e,t)}function be(){const e=["clearHistoryButton","label","clearHistory","1510NJnzXj","Clear","2600490lFbLOG","filter","execute","delegate","25706gFNMdv","59YfsAYZ","locale","360hLiDFV","add","28QXxLDc","children","Prompt history","length","set","_createClearHistoryButton","3271530QNiXxH","19299KLCaVL","items","fire","historyGroupView","3953358KrtLXs","65658nPKzAI"];return(be=function(){return e})()}function ye(e,t){const r=ve();return(ye=function(e,t){return r[e-=400]})(e,t)}function ve(){const e=["3183360NZoVBC","10297580QhCimk","set","24efhcEV","308019LJnBZH","1244aNqROq","4104310gdFMvc","style","483066reflVA","36805TWuxvr","292vPzoYp","ck-button__label","bindTemplate","606cgPsvq","extendTemplate"];return(ve=function(){return e})()}!function(e,t){const r=ye,n=e();for(;;)try{if(619082===-parseInt(r(404))/1*(-parseInt(r(414))/2)+parseInt(r(413))/3+parseInt(r(409))/4+parseInt(r(403))/5*(-parseInt(r(407))/6)+-parseInt(r(400))/7+parseInt(r(412))/8*(-parseInt(r(402))/9)+parseInt(r(410))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(ve);class we extends o.HighlightedTextView{constructor(){const e=ye;super(),this[e(411)]({style:void 0,text:void 0,id:void 0});const t=this[e(406)];this[e(408)]({attributes:{class:[e(405)],style:t.to(e(401)),id:t.to("id")}})}}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,Oe=Ie.hasOwnProperty,Re=Ie.toString,Te=Ae?Ae.toStringTag:void 0;const Pe=function(e){var t=Oe.call(e,Te),r=e[Te];try{e[Te]=void 0;var n=!0}catch(e){}var o=Re.call(e);return n&&(t?e[Te]=r:delete e[Te]),o};var Me=Object.prototype.toString;const Ce=function(e){return Me.call(e)};var Le=Ae?Ae.toStringTag:void 0;const je=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Le&&Le in Object(e)?Pe(e):Ce(e)};const Ne=function(e){return null!=e&&"object"==typeof e};const Be=function(e){return"symbol"==typeof e||Ne(e)&&"[object Symbol]"==je(e)};var Fe=Ae?Ae.prototype:void 0,De=Fe?Fe.toString:void 0;const Ue=function e(t){if("string"==typeof t)return t;if(Ee(t))return xe(t,e)+"";if(Be(t))return De?De.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};const $e=function(e){return null==e?"":Ue(e)};const He=function(e){return function(t){return null==e?void 0:e[t]}};const Ve=He({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var qe=/&(?:amp|lt|gt|quot|#39);/g,ze=RegExp(qe.source);const Ge=function(e){return(e=$e(e))&&ze.test(e)?e.replace(qe,Ve):e};function We(e,t){const r=Ze();return(We=function(e,t){return r[e-=278]})(e,t)}function Ze(){const e=["children","2116276OwOGBM","prompt","set","193025IiyXFf","1529985XQLTjk","72etQayv","add","817968JiZGQv","locale","3RKsZBS","1480164xqsQJa","execute","fire","3515748zdaXMC","197433wZBcIT"];return(Ze=function(){return e})()}!function(e,t){const r=We,n=e();for(;;)try{if(338882===parseInt(r(283))/1+parseInt(r(287))/2*(parseInt(r(289))/3)+-parseInt(r(280))/4+-parseInt(r(284))/5+parseInt(r(293))/6+-parseInt(r(290))/7+-parseInt(r(285))/8*(-parseInt(r(278))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Ze);class Ke extends o.ListItemView{constructor(e){const t=We;super();const r=new we,n=new o.ButtonView(this[t(288)],r);this[t(279)][t(286)](n),n[t(282)]({label:e[t(281)],withText:!0}),n.on(t(291),(()=>{const r=t;this[r(292)](r(291),{value:Ge(e[r(281)])})}))}}function Ye(e,t){const r=Qe();return(Ye=function(e,t){return r[e-=243]})(e,t)}function Qe(){const e=["add","parse","toLowerCase","15999510sQcgYF","795882ZadWdz","remove","length","4tFztMu","getItem","addMany","_loadFromSessionStorage","setItem","stringify","4ywNqNF","map","156526znUgfk","120zDZZUY","7130690fVTUZP","CKEditor/AIFormView/PromptHistory","6135792tIdHJi","546810ePFcXU","538632jQqgbi","prompt","last","trim","_saveToSessionStorage"];return(Qe=function(){return e})()}const Je=Ye;!function(e,t){const r=Ye,n=e();for(;;)try{if(549073===-parseInt(r(262))/1*(parseInt(r(244))/2)+parseInt(r(259))/3*(parseInt(r(268))/4)+-parseInt(r(249))/5+parseInt(r(248))/6+-parseInt(r(246))/7+-parseInt(r(245))/8*(parseInt(r(250))/9)+parseInt(r(258))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Qe);const Xe=Je(247);class et extends e.Collection{constructor(){const e=Je;super(),this[e(265)](),this.on(e(255),((t,r)=>{const n=e,o=tt(r[n(251)]);for(const e of this)if(e!=r&&tt(e[n(251)])===o){this[n(260)](e);break}this[n(261)]>20&&this[n(260)](this[n(252)]),this[n(254)]()})),this.on(e(260),(()=>{this[e(254)]()}))}[Je(265)](){const e=Je,t=sessionStorage[e(263)](Xe)||"[]";this[e(264)](JSON[e(256)](t))}[Je(254)](){const e=Je;sessionStorage[e(266)](Xe,JSON[e(267)](this[e(243)]((e=>e))))}}function tt(e){const t=Je;return e[t(257)]()[t(253)]()}const rt=He({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});var nt=/[&<>"']/g,ot=RegExp(nt.source);const it=function(e){return(e=$e(e))&&ot.test(e)?e.replace(nt,rt):e},st=ct;function at(){const e=["18602903VodRDu","listenTo","trim","text","ck-ai-form","stop","120eOpTZR","reset","fire","Ask AI and your prompts will be listed here for you to use later.","Empty history","render","10JXtqHH","bind","focusLast","isProcessing","insertContentBelow","execute","bindTemplate","handleError","REPLACE","value","replaceContent","2622YwCsAA","_createToolbar","_focusables","submit","focusCycler","_promptHistory","223608jFdTsY","focusNext","delegate","629198PRWioa","replaceButton","contentArea","focusPrevious","focus","toolbar","ck-hidden","copyButtonView","tryAgainEvent","fieldView","finishProcessing","Ask AI to edit or generate","label","isEnabled","clearHistory","isVisible","tab","1486XHhRJp","createCollection","set","stopProcessing","add","Ask AI to improve generated text","AI_ERROR_FAILED","prompt","13645VRyOHa","historyGroupView","mainAction","insertButton","search","items","high","173131QcMDJU","_createHistoryView","startProcessing","ck-ai-form-content","_createPromptView","element","focusFirst","setTemplate","forwardCycle","isError","clear","promptView","locale","stopButton","focusTracker","keystrokes","div","queryView","shift + tab","submitPrompt","5478183gZaWsf","errorView","tryAgainButton","bindTo","388CzlFpu","backwardCycle"];return(at=function(){return e})()}function ct(e,t){const r=at();return(ct=function(e,t){return r[e-=271]})(e,t)}!function(e,t){const r=ct,n=e();for(;;)try{if(463862===parseInt(r(272))/1+-parseInt(r(289))/2*(parseInt(r(353))/3)+-parseInt(r(328))/4*(parseInt(r(297))/5)+parseInt(r(359))/6+-parseInt(r(304))/7*(parseInt(r(336))/8)+-parseInt(r(324))/9+parseInt(r(342))/10*(parseInt(r(330))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(at);class ut extends o.View{constructor(t,r,n=""){const i=ct;super(t),this[i(291)](i(285),!0),this[i(291)](i(345),!1),this[i(291)](i(296),""),this[i(291)](i(351),""),this[i(291)](i(313),!1),this[i(291)](i(299),X[i(350)]),this[i(358)]=new et,this[i(325)]=new le(t),this[i(274)]=new ie(t,n),this[i(274)][i(343)](i(345)).to(this),this[i(274)][i(343)](i(351)).to(this),this[i(277)]=this[i(354)](),this[i(277)][i(343)](i(299)).to(this),this[i(315)]=this[i(308)](),this[i(318)]=new e.FocusTracker,this[i(319)]=new e.KeystrokeHandler,this[i(355)]=this[i(290)]([this[i(274)],this[i(274)][i(279)],this[i(277)],this[i(315)]]),this[i(357)]=new o.FocusCycler({focusables:this[i(355)],focusTracker:this[i(318)],keystrokeHandler:this[i(319)],actions:{focusPrevious:i(322),focusNext:i(288)}}),this[i(315)][i(357)].on(i(312),(e=>{const t=i;this[t(357)][t(360)](),e[t(335)]()})),this[i(315)][i(357)].on(i(329),(e=>{const t=i;this[t(357)][t(275)](),e[t(335)]()})),this[i(315)][i(321)][i(281)][i(343)](i(351)).to(this,i(296));const s=this[i(348)];this[i(311)]({tag:i(320),attributes:{class:["ck",i(334),r],tabindex:"-1"},children:[{tag:i(320),attributes:{class:["ck",i(307)]},children:[{tag:i(320),attributes:{class:[s.if(i(313),i(278),(e=>!e))]},children:[this[i(325)]]},this[i(274)],this[i(277)],this[i(315)]]}]})}[st(341)](){const e=st;super[e(341)](),this[e(318)][e(293)](this[e(274)][e(309)]),this[e(318)][e(293)](this[e(274)][e(279)][e(309)]),this[e(318)][e(293)](this[e(277)][e(309)]),this[e(318)][e(293)](this[e(315)][e(309)]),this[e(319)][e(331)](this[e(309)])}[st(276)](e=1){const t=st;-1===e?this[t(357)][t(344)]():this[t(357)][t(310)]()}[st(337)](){const e=st;this[e(296)]="",this[e(351)]="",this[e(313)]=!1,this[e(315)][e(337)](),this[e(274)][e(287)]=!1,this[e(277)][e(287)]=!1}[st(308)](){const e=st,t=this[e(316)],r=new he(t,{queryView:{label:D(t,e(283)),creator:o.createLabeledTextarea,showIcon:!1,showResetButton:!1},infoView:{text:{noSearchableItems:{primary:D(t,e(340)),secondary:D(t,e(339))}}},filteredView:this[e(305)](),queryMinChars:1/0,resetOnBlur:!1});return r[e(343)](e(285)).to(this,e(285),this,e(345),((e,t)=>e&&!t)),this[e(331)](r,e(356),((t,r)=>{const n=e;this[n(296)]=r;const o=it(r);this[n(338)](n(323),o),r[n(332)]()&&this[n(358)][n(293)]({prompt:o},0)}),{priority:e(303)}),r}[st(305)](){const e=st,t=new me(this[e(316)]);return t[e(298)][e(302)][e(327)](this[e(358)]).as(Ke),t.on(e(286),(()=>{const t=e;this[t(358)][t(314)](),this[t(315)][t(301)](""),this[t(315)][t(276)]()})),t}[st(354)](){const e=st,t=new te(this[e(316)]);return t[e(273)][e(343)](e(285)).to(this,e(285),this,e(345),this,e(351),((e,t,r)=>e&&!t&&!!r)),t[e(273)][e(271)](e(347)).to(this,e(352)),t[e(300)][e(343)](e(285)).to(this,e(285),this,e(345),this,e(351),((e,t,r)=>e&&!t&&!!r)),t[e(300)][e(271)](e(347)).to(this,e(346)),t[e(326)][e(343)](e(285)).to(this,e(285),this,e(345),((e,t)=>e&&!t)),t[e(326)][e(271)](e(347)).to(this,e(280)),t[e(317)][e(343)](e(285)).to(this,e(345)),t[e(317)][e(271)](e(347)).to(this,e(292)),t}[st(306)](){const e=st;this[e(351)]="",this[e(313)]=!1,this[e(345)]=!0,this[e(274)][e(287)]=!0,this[e(277)][e(287)]=!0,this[e(274)][e(276)]()}[st(282)](){const e=st,t=this[e(316)];this[e(345)]=!1,this[e(296)]="",this[e(315)][e(337)](),this[e(351)]&&(this[e(315)][e(321)][e(284)]=D(t,e(294)))}[st(349)](e){const t=st,r=this[t(316)];this[t(282)](),this[t(313)]=!0,this[t(325)][t(333)]=e||D(r,t(295)),this[t(351)]||(this[t(274)][t(287)]=!1)}}const lt=ft;function dt(){const e=["highlightText","32TnuPZD","items","isVisible","isEnabled","commandDefinition","4JTXwKs","label","7kUVPFE","listbox","role","enabledCommandsIds","match","filter","3397911NgreuR","first","6792350guUOfU","change:enabledCommandsIds","1968564tCWbqZ","includes","children","6138256LdyqKV","labelView","1327815hKncgL","349570ySQkcX","38526BCALfy","946qNuprF","get","set","length"];return(dt=function(){return e})()}function ft(e,t){const r=dt();return(ft=function(e,t){return r[e-=355]})(e,t)}!function(e,t){const r=ft,n=e();for(;;)try{if(687944===parseInt(r(367))/1*(parseInt(r(373))/2)+-parseInt(r(356))/3*(-parseInt(r(378))/4)+parseInt(r(358))/5+-parseInt(r(360))/6+-parseInt(r(380))/7*(-parseInt(r(363))/8)+parseInt(r(365))/9+parseInt(r(366))/10*(-parseInt(r(368))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(dt);class pt extends o.ListView{constructor(e){const t=ft;super(e),this[t(382)]=t(381),this[t(370)](t(383),[]),this.on(t(359),(()=>{const e=t;for(const t of this[e(374)])if(t instanceof o.ListItemGroupView)for(const r of t[e(374)])if(r instanceof Pt){const t=r[e(362)][e(369)](0);this[e(383)][e(361)](r[e(377)].id)?t[e(376)]=!0:t[e(376)]=!1}}))}[lt(355)](e){const t=lt;let r=0,n=0;for(const o of this[t(374)]){const i=o,s=i[t(374)],a=e&&!!i[t(379)][t(384)](e);i[t(364)][t(372)](a?e:null);for(const r of s){const n=r[t(362)][t(357)],o=n[t(364)];if(e){const i=!!n[t(379)][t(384)](e);o[t(372)](i?e:null),r[t(375)]=a||i}else r[t(375)]=!0,o[t(372)](null)}const c=s[t(355)]((e=>e[t(375)]))[t(371)];r+=i[t(374)][t(371)],n+=a?i[t(374)][t(371)]:c,i[t(375)]=a||!!c}return{resultsCount:n,totalItemsCount:r}}}function ht(){const e=["38KAMhGI","899291IYBkyc","942648rHeBFa","6928306IDCpjx","extendTemplate","103140WSzoQN","6061810bXxwhn","ck-editor__label_","8YTpNyP","ck-label","5618036yGPqzr","set","for","bindTemplate","217689tFuXyi"];return(ht=function(){return e})()}function gt(e,t){const r=ht();return(gt=function(e,t){return r[e-=500]})(e,t)}!function(e,t){const r=gt,n=e();for(;;)try{if(796523===parseInt(r(504))/1+parseInt(r(503))/2*(parseInt(r(502))/3)+-parseInt(r(513))/4+-parseInt(r(509))/5+parseInt(r(505))/6+parseInt(r(506))/7+-parseInt(r(511))/8*(parseInt(r(508))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(ht);class mt extends o.HighlightedTextView{constructor(){const t=gt;super(),this[t(514)](t(500),void 0);const r=this[t(501)];this.id=t(510)+(0,e.uid)(),this[t(507)]({attributes:{class:["ck",t(512)],id:this.id,for:r.to(t(500))}})}}const kt='<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 bt=r(3379),yt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(bt.A,yt);bt.A.locals;var vt=r(7181),wt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(vt.A,wt);vt.A.locals;var _t=r(676),St={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(_t.A,St);_t.A.locals;var At=r(331);const xt=It;function Et(){const e=["prompt","wasMoved","showAIAssistant","view","selection","model","_formView","aiCommands","document","fieldView","announce","isNaN","_createAIAssistantUIButton","query","element","trim","ck-ai-assistant-ui","ai.useTheme","textAdapter","AI Assistant","replace","isOn","length","1212330lOfsMR","11951933gXRVDu","editor","fromCharCode","<p>","config","command:","hideFakeVisualSelection","resultsCount","getRevision","requires","set","copy","change:isProcessing","ck-ai-assistant-button ","getSelectedElement","label","_initAriaAiStatusChangeAnnouncements","getEarlierVisibleRevision","media","No commands available","get","children","ai.aiAssistant.disabledElements","getSelectedBlocks","ai.aiAssistant.commands","text/html","then","change","listenTo","order","promptView","7875250dOSVuG","replaceContent","pluginName","map","errorView","change:isOpen","plugins","comment","fire","ai.aiAssistant.contentAreaCssClass","hide","change:value","showFakeVisualSelection","insertContentBelow","update","buttonView","delegate","change:isError","requiresContent","add","from","1023498lEmjMg","48DfIuJd","INSERT","Generated content: %0","ariaLiveAnnouncer","afterInit","locale","bind","EDITOR_TOP_SIDE","_dialog","enabledCommandsIds","menuBar:aiAssistant","reset","isFlat","push","init","isEnabled","No commands found","Search AI command","Error during AI content generation: %0","isCollapsed","showUI","items","commandDefinition","addMany","updatePosition","show","getData","getRanges","sort","focus","join","updateView","4mGqllh","option","rawHtml","custom","search","_aiAdapter","context","contentArea","robotPencil","getLimitElement","commands","ck-ai-commands-search","scrollTo","ck-ai-commands-dropdown ","9042966kFipPn","_aiAssistantController","DataTransfer","polite","forbiddenHandler","REPLACE","</p>","AI Commands","ai-commands-config-order-collision","currentContext","%0 commands found","menuitemcheckbox","editing","aiAssistant","schema","insertContent"," ck-ai-assistant-ui_theme","setSelection","_initView","hideUI","_forceMarkersCopy","panelView","execute","text","define","2829354VcLBOU","splice","_uiCssClasses","2612352qhelck","menuBar:aiCommands","componentFactory","AI is writing","tableOfContents","AIAssistantUI","queryView"];return(Et=function(){return e})()}function It(e,t){const r=Et();return(It=function(e,t){return r[e-=255]})(e,t)}!function(e,t){const r=It,n=e();for(;;)try{if(976729===-parseInt(r(295))/1+-parseInt(r(367))/2+parseInt(r(370))/3*(parseInt(r(328))/4)+-parseInt(r(274))/5+-parseInt(r(400))/6+-parseInt(r(401))/7+-parseInt(r(296))/8*(-parseInt(r(342))/9))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Et);const Ot=globalThis[xt(344)];class Rt extends t.Plugin{static get[xt(276)](){return xt(375)}static get[xt(410)](){return[At.ClipboardMarkersUtils,C,B,o.Dialog]}constructor(e){const t=xt;super(e),this[t(369)]="",e[t(405)][t(366)](t(265),[t(261),t(330),t(374)]),e[t(405)][t(366)](t(283),""),e[t(405)][t(366)](t(394),!0),this[t(369)]=t(393)+(e[t(405)][t(263)](t(394))?t(358):"")}[xt(310)](){const t=xt,{editor:r}=this;this[t(333)]=r[t(280)][t(263)](B),this[t(304)]=r[t(280)][t(263)](o.Dialog),this[t(383)]=null,r[t(338)][t(293)](t(379),new $(r,r[t(405)][t(263)](t(267))));const n=r[t(338)][t(263)](t(379)),i=r[t(280)][t(263)](C),s=(o,s,a,c)=>{const u=t,l=r[u(382)][u(385)][u(381)];if(c&&l[u(315)]){const t=(0,e.first)(l[u(266)]())||r[u(382)][u(356)][u(337)](l);r[u(382)][u(270)]((e=>{e[u(359)](t,"in")}))}i[u(286)](),n[u(364)](o,s,u(406)+a)};r.ui[t(372)][t(293)](t(384),(e=>{const n=t,a=(0,o.createDropdown)(e),c=Tt(r,s),u=new o.SearchTextView(e,{filteredView:c,queryView:{label:D(e,n(313))},class:n(339),infoView:{text:{notFound:{primary:D(e,n(312))},noSearchableItems:{primary:D(e,n(262))}}}});return u.on(n(332),((e,t)=>{const o=n;t[o(390)]&&t[o(390)][o(399)]&&r.ui[o(299)][o(387)](D(r[o(301)],o(352),t[o(408)]))})),a[n(411)]({class:n(341)+this[n(369)]}),a[n(302)](n(311)).to(c,n(305),(e=>e[n(399)]>0)),a[n(363)][n(264)][n(293)](u),a[n(289)][n(411)]({label:D(e,n(349)),icon:kt,tooltip:!0}),a.on(n(279),((e,t,r)=>{const o=n;r?(u[o(307)](),i[o(286)](!0),c[o(391)][o(340)](0,0)):i[o(407)](!0)})),a})),r.ui[t(372)][t(293)](t(371),(e=>{const n=t,i=new o.MenuBarMenuView(e),a=Tt(r,s);i[n(289)][n(411)]({label:D(e,n(349)),icon:kt}),i[n(302)](n(311)).to(a,n(305),(e=>e[n(399)]>0));const c=new o.MenuBarMenuListView(e);return Ct(r,r[n(405)][n(263)](n(267)))[n(277)]((({groupId:t,groupLabel:a,commands:u})=>{const l=n,d=new o.MenuBarMenuListItemView(e,i),f=new o.MenuBarMenuView(e),p=new o.MenuBarMenuListView(e),h=Ct(r,u)[l(277)]((t=>{const r=l,n=new o.MenuBarMenuListItemView(e,f),i=new o.MenuBarMenuListItemButtonView(e);return i[r(411)]({label:t[r(258)]}),i[r(290)](r(364)).to(f),i.on(r(364),(()=>{const e=r;s(t[e(377)],t[e(258)],t.id,void 0===t[e(292)]||t[e(292)])})),n[r(264)][r(293)](i),n}));f[l(289)][l(411)]({label:a||t}),f[l(290)](l(364)).to(i),p[l(317)][l(319)](h),f[l(363)][l(264)][l(293)](p),d[l(264)][l(293)](f),c[l(317)][l(293)](d)})),i[n(363)][n(264)][n(293)](c),i})),r.ui[t(372)][t(293)](t(355),(()=>{const e=t,r=this[e(389)](o.ButtonView);return r[e(411)]({tooltip:!0,class:e(256)+this[e(369)]}),r})),r.ui[t(372)][t(293)](t(306),(()=>{const e=t,r=this[e(389)](o.MenuBarMenuListItemButtonView);return r[e(411)]({role:e(353)}),r}))}[xt(300)](){!function(e){function r(e){const t=It;return e[t(277)]((e=>String[t(403)](e)))[t(326)]("")}(e=>{const n=It;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,f=0,p=n;for(;p<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])][f]<<24,f+=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&&p<t;)s=p>>2,c=p%4,u[s][c]=i[d],l[e-s][c]=i[d++],p++}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=p(i),a=0,f(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 f(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function p(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[y()]=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=It;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(409)](0),s=o[n(260)](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(269)]((()=>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[y()]=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=It;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(388)](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=It;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(388)](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(334)]:e[n(402)],f=r([52,48,52,56,49,52,48,50]),p=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]),h=d[n(405)][n(263)](r([108,105,99,101,110,115,101,75,101,121])),g=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(346)]&&o[e[t(346)]]()}(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(f)/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])?v(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])]((()=>{v(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=y();return d[t]=e,e}function y(){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>=p[r([108,101,110,103,116,104])]&&(o-=p[r([108,101,110,103,116,104])]),t+=p[o]}return t}function v(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)}g&&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}}(h),g)})(e)}(this)}[xt(316)](e="",t="",r=xt(331)){const n=xt,i=this[n(402)],s=i[n(354)][n(380)],a=i[n(280)][n(263)](C),c=i[n(280)][n(263)](At.ClipboardMarkersUtils);a[n(286)]();const u=new Ot,l=new ClipboardEvent(n(412),{clipboardData:u}),d=new z.DataTransfer(u),f=new z.DomEventData(s,l,{dataTransfer:d});c[n(362)](n(281),(()=>{const e=n;s[e(385)][e(282)](e(412),f)})),this[n(383)]||(this[n(360)](),this[n(343)]=new Y(i,this[n(333)][n(395)],this[n(383)]));let p=d[n(322)](n(268));const h=i[n(382)][n(385)][n(381)],g=Array[n(294)](h[n(323)]());1===g[n(399)]&&g[0][n(308)]&&!h[n(257)]()&&""!==p[n(397)](/&nbsp;/g,"")[n(392)]()&&(p=n(404)+p+n(348)),this[n(343)][n(327)]({actionId:r,query:e,htmlContent:p,label:t,mainActionLabel:X[i[n(382)][n(385)][n(381)][n(315)]?n(297):n(347)]}),n(355)!==this[n(304)].id?this[n(304)][n(321)]({id:n(355),icon:I[n(336)],title:D(this[n(402)][n(301)],n(396)),content:this[n(383)],position:o.DialogViewPosition[n(303)],onShow:()=>{const e=n;this[e(383)][e(325)]()},onHide:()=>{const e=n;this[e(343)][e(307)](),a[e(407)]()}}):this[n(304)][n(380)][n(378)]||this[n(304)][n(380)][n(320)]()}[xt(361)](){const e=xt;this[e(304)][e(284)]()}[xt(389)](e){const t=xt,r=this[t(402)],n=r[t(338)][t(263)](t(379)),o=new e(r[t(301)]);return o[t(411)]({label:D(r[t(301)],t(396)),icon:I[t(336)],isToggleable:!0}),o[t(302)](t(311)).to(n),o[t(302)](t(398)).to(this[t(304)],"id",(e=>t(355)===e)),this[t(271)](o,t(364),(()=>{const e=t;o[e(398)]?this[e(361)]():n[e(364)]()})),o}[xt(360)](){const e=xt,t=this[e(402)][e(280)][e(263)](C);this[e(383)]=new ut(this[e(402)][e(301)],this[e(369)],this[e(402)][e(405)][e(263)](e(283))),this[e(383)].on(e(285),(()=>{const t=e;this[t(304)][t(380)][t(378)]||this[t(304)][t(380)][t(320)]()})),this[e(383)][e(273)][e(376)][e(386)].on(e(288),(()=>{const t=e;this[t(304)][t(380)][t(378)]||this[t(304)][t(380)][t(320)]()})),this[e(271)](this[e(383)],e(275),(()=>{const r=e;t[r(357)](this[r(343)][r(351)]),this[r(361)]()})),this[e(271)](this[e(383)],e(287),(()=>{const r=e;t[r(287)](this[r(343)][r(351)]),this[r(361)]()})),this[e(259)]()}[xt(259)](){const e=xt,{locale:t,ui:{ariaLiveAnnouncer:r}}=this[e(402)];this[e(383)][e(335)].on(e(255),((n,o,i)=>{const s=e,a=this[s(343)][s(351)];i?r[s(387)](D(t,s(373))):a&&r[s(387)](D(t,s(298),a),{politeness:s(345),isUnsafeHTML:!0})})),this[e(383)].on(e(291),((n,o,i)=>{const s=e;if(i){const e=this[s(383)][s(278)][s(365)];r[s(387)](D(t,s(314),e))}}))}}function Tt(e,t){const r=xt,n=new pt(e[r(301)]),i=Ct(e,e[r(405)][r(263)](r(267)))[r(277)]((({groupId:n,groupLabel:i,commands:s})=>{const a=r,c=Ct(e,s)[a(277)]((r=>function(e,t,r){const n=a,i=new Pt(e,r),s=new we,c=new o.ButtonView(e,s);return i[n(264)][n(293)](c),c[n(411)]({label:r[n(258)],withText:!0,role:n(329)}),c.on(n(364),(()=>{const e=n;t(r[e(377)],r[e(258)],r.id,void 0===r[e(292)]||r[e(292)])})),i}(e[a(301)],t,r)));return function(e,t,r){const n=a,i=new o.ListItemGroupView(e,new mt);return i[n(258)]=t,i[n(317)][n(319)](r),i}(e[a(301)],i||n,c)}));return n[r(317)][r(319)](i),n[r(302)](r(305)).to(e[r(338)][r(263)](r(379)),r(305)),n}class Pt extends o.ListItemView{constructor(e,t){const r=xt;super(e),this[r(318)]=t}}function Mt(e,t){const r=xt;return void 0!==e[r(272)]&&void 0===t[r(272)]?1:void 0===e[r(272)]&&void 0!==t[r(272)]?-1:void 0!==e[r(272)]&&void 0!==t[r(272)]?e[r(272)]-t[r(272)]:0}function Ct(t,r){const n=xt;r[n(324)](Mt);const o={},i=[];for(const s of r)if(void 0!==s[n(272)]){if(s[n(272)]in o)throw new e.CKEditorError(n(350),t,{conflictingDefinitions:[s,o[s[n(272)]]]});o[s[n(272)]]=s,i[n(368)](s[n(272)],0,s)}else i[n(309)](s);return i}const Lt=jt;function jt(e,t){const r=Bt();return(jt=function(e,t){return r[e-=450]})(e,t)}!function(e,t){const r=jt,n=e();for(;;)try{if(663754===-parseInt(r(490))/1+parseInt(r(478))/2*(parseInt(r(516))/3)+parseInt(r(532))/4*(parseInt(r(538))/5)+parseInt(r(475))/6+parseInt(r(484))/7+parseInt(r(509))/8+-parseInt(r(569))/9*(parseInt(r(561))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Bt);class Nt extends t.Plugin{static get[Lt(487)](){return[Rt,C]}static get[Lt(463)](){return Lt(505)}constructor(e){const t=Lt;super(e);const r=e[t(521)];r[t(485)](t(529),function(e){const t=Lt;return[{groupId:t(570),groupLabel:D(e,t(496)),commands:[{id:t(528),label:D(e,t(465)),prompt:t(523)},{id:t(468),label:D(e,t(534)),prompt:t(530)},{id:t(511),label:D(e,t(571)),prompt:t(548)},{id:t(506),label:D(e,t(555)),prompt:t(457)}]},{groupId:t(558),groupLabel:D(e,t(467)),commands:[{id:t(464),label:D(e,t(526)),prompt:t(557)},{id:t(527),label:D(e,t(546)),prompt:t(501)}]},{groupId:t(461),groupLabel:D(e,t(541)),commands:[{id:t(549),label:D(e,t(494)),prompt:t(537)},{id:t(495),label:D(e,t(460)),prompt:t(533)},{id:t(469),label:D(e,t(476)),prompt:t(459)},{id:t(486),label:D(e,t(513)),prompt:t(563)},{id:t(492),label:D(e,t(452)),prompt:t(542)}]},{groupId:t(547),groupLabel:D(e,t(474)),commands:[{id:t(483),label:D(e,t(458)),prompt:t(550)},{id:t(559),label:D(e,t(566)),prompt:t(491)},{id:t(481),label:D(e,t(565)),prompt:t(471)},{id:t(556),label:D(e,t(451)),prompt:t(512)}]},{groupId:t(497),groupLabel:D(e,t(540)),commands:[{id:t(560),label:D(e,t(472),[D(e,t(473))]),prompt:t(514)},{id:t(454),label:D(e,t(472),[D(e,t(488))]),prompt:t(480)},{id:t(518),label:D(e,t(472),[D(e,t(499))]),prompt:t(551)},{id:t(507),label:D(e,t(472),[D(e,t(567))]),prompt:t(508)},{id:t(535),label:D(e,t(472),[D(e,t(520))]),prompt:t(515)},{id:t(489),label:D(e,t(472),[D(e,t(517))]),prompt:t(525)},{id:t(552),label:D(e,t(472),[D(e,t(536))]),prompt:t(522)},{id:t(564),label:D(e,t(472),[D(e,t(493))]),prompt:t(456)}]}]}(e[t(524)])),r[t(485)](t(554),[]),r[t(485)](t(462),[]);const n=r[t(543)](t(529)),o=r[t(543)](t(554)),i=r[t(543)](t(462));o[t(450)]((e=>{const r=t,o=n[r(498)]((t=>t[r(482)]===e[r(482)]));o?o[r(545)]=o[r(545)][r(544)](e[r(545)]):n[r(479)](e)})),n[t(450)]((e=>{const r=t;e[r(545)]=e[r(545)][r(500)]((e=>!i[r(453)](e.id)))})),r[t(504)](t(529),n)}[Lt(562)](){const t=Lt,r=this[t(510)];this[t(539)]=r[t(521)][t(543)](t(539)),this[t(519)]=setInterval((()=>{const n=t;let o;for(const e in r){const t=e,i=r[t];if(n(531)===i||n(553)===i||n(502)===i||n(470)===i){delete r[t],o=i;break}}if(n(553)===o)throw clearInterval(this[n(519)]),new e.CKEditorError(n(466),null);if(n(531)===o&&console[n(477)](n(503)),n(470)===o)throw clearInterval(this[n(519)]),new e.CKEditorError(n(568),null);n(502)===o&&clearInterval(this[n(519)])}),1e3)}[Lt(455)](){const e=Lt;this[e(519)]&&clearInterval(this[e(519)])}}function Bt(){const e=["Friendly","includes","translateSpanish","destroy","Translate the content to Arabic language.","Simplify the writing style of this content and reduce the complexity, so that the content is easy to understand.","Business","Improve using direct language, using only the essential information.","Casual","changeTone","ai.aiAssistant.removeCommands","pluginName","summarize","Improve writing","ai-invalid-license-key","Generate from selection","makeShorter","direct","aiLicenseKeyTrialLimit:operations","Rewrite this content as a journalist using engaging language to convey the importance of the information.","Translate to %0","English","Change style","1817136pIZLye","Direct","info","24MHvqKL","push","Translate the content to Spanish language.","journalism","groupId","business","5508888QCqbAr","define","confident","requires","Spanish","translateChinese","699596rXkQpA","Rewrite this content as a legal professional using valid legal terminology.","friendly","Arabic","Professional","casual","Edit or review","translate","find","Portuguese","filter","Start with the provided content and write at the end of it continuing this topic. Keep the added part short.","aiLicenseKeyValid","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.","set","AIAssistant","simplifyLanguage","translateGerman","Translate the content to German language.","134032DlEcAN","editor","makeLonger","Rewrite this content as a poem using poetic techniques without losing the original meaning.","Confident","Translate the content to English language.","Translate the content to French language.","231567aIHzZG","Simplified Chinese","translatePortuguese","_licenseKeyCheckInterval","French","config","Translate the content to Hindi language.","Fix spelling mistakes, use proper grammar and apply good writing practices. Do not lose the original meaning.","locale","Translate the content to Simplified Chinese language.","Summarize","continue","improveWriting","ai.aiAssistant.commands","Remove any repetitive, redundant, or non-essential writing in this content without changing the meaning or losing any key information.","aiLicenseKeyTrial","83164lvlyGY","Improve using casual, informal language to convey a casual conversation with a real person.","Make shorter","translateFrench","Hindi","Improve using polished, formal, and respectful language to convey professional expertise and competence.","10ICKOHv","licenseKey","Translate","Change tone","Improve using friendly, comforting language, to convey understanding and empathy.","get","concat","commands","Continue","changeStyle","Improve this content by using descriptive language and inserting more information and more detailed explanations.","professional","Rewrite this content as a business professional with formal language.","Translate the content to Portuguese language.","translateHindi","aiLicenseKeyInvalid","ai.aiAssistant.extraCommandGroups","Simplify language","poetic","Summarize this content into one paragraph of text. Include only the key ideas and conclusions. Keep it short. Do not keep original text formatting.","generate","legal","translateEnglish","20ZgOyOr","init","Improve using compelling, optimistic language to convey confidence in the writing.","translateArabic","Journalism","Legal","German","ai-trial-license-key-reached-limit-changes","3199923jRYZwd","editOrReview","Make longer","forEach","Poetic"];return(Bt=function(){return e})()}const Ft=Ut;function Dt(){const e=["abort","aitextadapter-send-request-failed","AbortError","AI_ERROR_GET_HEADERS","locale","sendRequest","assign","get","137121JxLsEh","30WBNNRH","422096NMpOoy","10918701vRphMi","8639533UusXLC","6136164LhQpQU","_prepareRequestParameters","name","AI_ERROR_GET_PARAMETERS","784928cHACLI","makeRequest","catch","requires","abortController","object","textAdapter","_prepareRequestHeaders","init","signal","reject","editor","plugins","error","resolve","8aoahtg","aborted","2208980vnLVrh","application/json"];return(Dt=function(){return e})()}function Ut(e,t){const r=Dt();return(Ut=function(e,t){return r[e-=131]})(e,t)}!function(e,t){const r=Ut,n=e();for(;;)try{if(642375===-parseInt(r(156))/1+parseInt(r(137))/2+-parseInt(r(147))/3+parseInt(r(149))/4*(-parseInt(r(148))/5)+parseInt(r(152))/6+-parseInt(r(151))/7*(parseInt(r(135))/8)+parseInt(r(150))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Dt);class $t extends t.Plugin{static get[Ft(159)](){return[B]}constructor(e){const t=Ft;super(e),this[t(160)]=new AbortController}[Ft(164)](){const e=Ft;this[e(131)][e(132)][e(146)](B)[e(162)]=this}[Ft(139)](){const e=Ft;this[e(160)][e(165)][e(136)]||(this[e(160)][e(139)](),this[e(160)]=new AbortController)}async[Ft(157)](t){const r=Ft;return this[r(144)](t)[r(158)]((t=>{const n=r;if(t instanceof F)return Promise[n(166)](t);if(n(141)==t[n(154)])return Promise[n(134)]();throw console[n(133)](t),new e.CKEditorError(n(140),null)}))}async[Ft(163)](e,t){const r=Ft,n=this[r(131)][r(143)],o={"Content-Type":r(138)};if(r(161)==typeof e)Object[r(145)](o,e);else if(e)try{const n=await e(t);Object[r(145)](o,n)}catch(e){return Promise[r(166)](new F(D(n,r(142))))}return o}async[Ft(153)](e,t){const r=Ft,n=this[r(131)][r(143)];if(r(161)==typeof e)return e;try{return await e(t)}catch(e){return Promise[r(166)](new F(D(n,r(155))))}}}const Ht=qt;function Vt(){const e=["OpenAITextAdapter","_readStaticResponse","gpt-3.5-turbo","3294164pCFHjV","1220BzCGrh","ai.openAI.requestHeaders","parse","stream","712217ZWQnAD","_requestHeaders","abortController","pluginName","context_length_exceeded","[DONE]","system","https://api.openai.com/v1/chat/completions","25218xVaAeU","420kYicSw","getReader","body","json","sendRequest","stringify","POST","text","7alndDj","user","_requestParameters","_prepareRequestParameters","decode","AI_ERROR_MODERATION","delta","4784024taLokJ","reject","split","includes","\nYou must keep the text formatting.\n\nContent:\n","resolve","5YexBcn","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.","replace","_readStreamableResponse","signal","3gzpzml","join","310973mqNIME","editor","ai.openAI.requestParameters","_prepareRequestHeaders","content","ai.openAI.apiUrl","AI_ERROR_CONTEXT_LENGTH","config","prepareMessages","_cleanUpData","define","choices","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.","_apiUrl","get","Instruction:\n","Moderation","message","locale","read","_isBufferIncomplete","data: ","1039138QfjtrX","4863750fuFDbn","length","filter","map"];return(Vt=function(){return e})()}function qt(e,t){const r=Vt();return(qt=function(e,t){return r[e-=422]})(e,t)}!function(e,t){const r=qt,n=e();for(;;)try{if(522674===parseInt(r(481))/1+parseInt(r(431))/2+-parseInt(r(479))/3*(parseInt(r(439))/4)+-parseInt(r(474))/5*(parseInt(r(432))/6)+-parseInt(r(461))/7*(parseInt(r(468))/8)+-parseInt(r(452))/9*(parseInt(r(440))/10)+-parseInt(r(444))/11*(-parseInt(r(453))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Vt);class zt extends $t{static get[Ht(447)](){return Ht(436)}constructor(e){const t=Ht;super(e),e[t(488)][t(491)](t(486),t(451)),e[t(488)][t(423)](t(483))||e[t(488)][t(491)](t(483),{model:t(438),max_tokens:2e3,temperature:1,top_p:1,stream:!0}),this[t(422)]=e[t(488)][t(423)](t(486)),this[t(445)]=e[t(488)][t(423)](t(441))||{},this[t(463)]=e[t(488)][t(423)](t(483))}async[Ht(457)]({query:e,context:t,onData:r,actionId:n}){const o=Ht,i=this[o(482)][o(427)],s=await this[o(489)](e,t,n),a=await this[o(484)](this[o(445)],n),c=await this[o(464)](this[o(463)],n),u={messages:s,...c},l={method:o(459),headers:a,body:JSON[o(458)](u),signal:this[o(446)][o(478)]},d=await fetch(this[o(422)],l);if(d.ok)return c[o(443)]?await this[o(477)](d,r):await this[o(437)](d,r),Promise[o(473)]();{const e=await d[o(460)]();return e[o(471)](o(448))?Promise[o(469)](new F(D(i,o(487)))):e[o(471)](o(425))?Promise[o(469)](new F(D(i,o(466)))):Promise[o(469)](new Error(e))}}async[Ht(489)](e,t,r){const n=Ht;let o,i;return t?(o=n(493),i=n(424)+e+n(472)+t):(o=n(475),i=e),[{role:n(450),content:o},{role:n(462),content:i}]}async[Ht(477)](e,t){const r=Ht,n=e[r(455)][r(454)](),o=new TextDecoder;let i="",s="",a="",c=!1;for(;!c;){const{done:e,value:u}=await n[r(428)](),l=i+o[r(465)](u);let d="";c=e;try{d=this[r(490)](l),i=""}catch(e){i=l;continue}s+=d,!c&&this[r(429)](s)||s&&(a+=s,s="",t(a))}return Promise[r(473)]()}async[Ht(437)](e,t){const r=Ht;return t((await e[r(456)]())[r(492)][0][r(426)][r(485)]),Promise[r(473)]()}[Ht(429)](e){const t=Ht,r=e[t(470)]("<")[t(433)]!==e[t(470)](">")[t(433)],n=e[t(433)]<30;return r&&n}[Ht(490)](e){const t=Ht;return e[t(470)](/\n(?![^{]*\})/g)[t(435)]((e=>e[t(476)](t(430),"")))[t(434)]((e=>e&&e[t(433)]>0&&t(449)!==e))[t(435)]((e=>{const r=t,{choices:n}=JSON[r(442)](e);if(n[0]&&n[0][r(467)]&&n[0][r(467)][r(485)])return n[0][r(467)][r(485)]}))[t(434)]((e=>e))[t(480)]("")}}const Gt=e=>{let t=e.httpHandler;return{setHttpHandler(e){t=e},httpHandler:()=>t,updateHttpClientConfig(e,r){t.updateHttpClientConfig(e,r)},httpHandlerConfigs:()=>t.httpHandlerConfigs()}};var Wt,Zt,Kt,Yt;!function(e){e.HEADER="header",e.QUERY="query"}(Wt||(Wt={})),function(e){e.HEADER="header",e.QUERY="query"}(Zt||(Zt={})),function(e){e.HTTP="http",e.HTTPS="https"}(Kt||(Kt={})),function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(Yt||(Yt={}));var Qt;!function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"}(Qt||(Qt={}));const Jt="__smithy_context";var Xt,er;!function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"}(Xt||(Xt={})),function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"}(er||(er={}));class tr{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 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(){const e=new tr({...this,headers:{...this.headers}});var t;return e.query&&(e.query=(t=e.query,Object.keys(t).reduce(((e,r)=>{const n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}}),{}))),e}}class rr{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 nr={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},or=e=>({applyToStack:t=>{t.add((e=>t=>async r=>{if(!tr.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),nr)}}),ir={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},sr="X-Amzn-Trace-Id",ar={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},cr=e=>({applyToStack:t=>{t.add((e=>t=>async r=>{const{request:n}=r;if(!tr.isInstance(n)||"node"!==e.runtime||n.headers.hasOwnProperty(sr))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[sr]=i),t({...r,request:n})})(e),ar)}});Error;const ur=(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)},lr={},dr={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),lr[e]=t,dr[t]=e}function fr(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 dr))throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`);t[r/2]=dr[n]}return t}function pr(e){let t="";for(let r=0;r<e.byteLength;r++)t+=lr[e[r]];return t}const hr=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},gr=e=>encodeURIComponent(e).replace(/[!'()*]/g,mr),mr=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,kr=e=>(new TextEncoder).encode(e),br=e=>"string"==typeof e?kr(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),yr="X-Amz-Date",vr="X-Amz-Signature",wr="X-Amz-Security-Token",_r="authorization",Sr=yr.toLowerCase(),Ar=[_r,Sr,"date"],xr=vr.toLowerCase(),Er="x-amz-content-sha256",Ir=wr.toLowerCase(),Or={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},Rr=/^proxy-/,Tr=/^sec-/,Pr="AWS4-HMAC-SHA256",Mr="AWS4-HMAC-SHA256-PAYLOAD",Cr="aws4_request",Lr={},jr=[],Nr=(e,t,r)=>`${e}/${t}/${r}/${Cr}`,Br=(e,t,r)=>{const n=new e(t);return n.update(br(r)),n.digest()},Fr=({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 Or||t?.has(i)||Rr.test(i)||Tr.test(i))&&(!r||r&&!r.has(i))||(n[i]=e[o].trim().replace(/\s+/g," "))}return n},Dr=async({headers:e,body:t},r)=>{for(const t of Object.keys(e))if(t.toLowerCase()===Er)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(br(t)),pr(await e.digest())}var n;return"UNSIGNED-PAYLOAD"};class Ur{format(e){const t=[];for(const r of Object.keys(e)){const n=kr(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=kr(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(Vr.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!Hr.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(fr(e.value.replace(/\-/g,"")),1),l}}}var $r;!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"}($r||($r={}));const Hr=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Vr{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&&qr(t),new Vr(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&qr(e),parseInt(pr(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function qr(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}const zr=({headers:e,query:t,...r})=>({...r,headers:{...e},query:t?Gr(t):void 0}),Gr=e=>Object.keys(e).reduce(((t,r)=>{const n=e[r];return{...t,[r]:Array.isArray(n)?[...n]:n}}),{}),Wr=e=>{e="function"==typeof e.clone?e.clone():zr(e);for(const t of Object.keys(e.headers))Ar.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},Zr=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e;class Kr{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i=!0}){this.headerFormatter=new Ur,this.service=n,this.sha256=o,this.uriEscapePath=i,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=hr(r),this.credentialProvider=hr(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:f}=Yr(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 p=Nr(f,l,c??this.service),h=((e,t={})=>{const{headers:r,query:n={}}="function"==typeof e.clone?e.clone():zr(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}})(Wr(e),{unhoistableHeaders:i});u.sessionToken&&(h.query[wr]=u.sessionToken),h.query["X-Amz-Algorithm"]=Pr,h.query["X-Amz-Credential"]=`${u.accessKeyId}/${p}`,h.query[yr]=d,h.query["X-Amz-Expires"]=n.toString(10);const g=Fr(h,o,s);return h.query["X-Amz-SignedHeaders"]=Qr(g),h.query[vr]=await this.getSignature(d,p,this.getSigningKey(u,l,f,c),this.createCanonicalRequest(h,g,await Dr(e,this.sha256))),h}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}=Yr(r),u=Nr(a,s,i??this.service),l=await Dr({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);const f=pr(await d.digest()),p=[Mr,c,u,n,f,l].join("\n");return this.signString(p,{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}=Yr(t),a=new this.sha256(await this.getSigningKey(o,i,s,n));return a.update(br(e)),pr(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=Wr(e),{longDate:u,shortDate:l}=Yr(t),d=Nr(l,a,i??this.service);c.headers[Sr]=u,s.sessionToken&&(c.headers[Ir]=s.sessionToken);const f=await Dr(c,this.sha256);!((e,t)=>{e=e.toLowerCase();for(const r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1})(Er,c.headers)&&this.applyChecksum&&(c.headers[Er]=f);const p=Fr(c,n,r),h=await this.getSignature(u,d,this.getSigningKey(s,a,l,i),this.createCanonicalRequest(c,p,f));return c.headers[_r]=`${Pr} Credential=${s.accessKeyId}/${d}, SignedHeaders=${Qr(p)}, Signature=${h}`,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()===xr)continue;t.push(n);const o=e[n];"string"==typeof o?r[n]=`${gr(n)}=${gr(o)}`:Array.isArray(o)&&(r[n]=o.slice(0).reduce(((e,t)=>e.concat([`${gr(n)}=${gr(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(br(r));const o=await n.digest();return`${Pr}\n${e}\n${t}\n${pr(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 gr(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(br(o)),pr(await i.digest())}getSigningKey(e,t,r,n){return(async(e,t,r,n,o)=>{const i=`${r}:${n}:${o}:${pr(await Br(e,t.secretAccessKey,t.accessKeyId))}:${t.sessionToken}`;if(i in Lr)return Lr[i];for(jr.push(i);jr.length>50;)delete Lr[jr.shift()];let s=`AWS4${t.secretAccessKey}`;for(const t of[r,n,o,Cr])s=await Br(e,s,t);return Lr[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 Yr=e=>{const t=(r=e,Zr(r).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var r;return{longDate:t,shortDate:t.slice(0,8)}},Qr=e=>Object.keys(e).sort().join(";"),Jr=e=>"function"==typeof e?ur(e,(e=>void 0!==e.expiration&&e.expiration.getTime()-Date.now()<3e5),(e=>void 0!==e.expiration)):hr(e),Xr=e=>new Date(Date.now()+e),en=(e,t)=>{const r=Date.parse(e);return((e,t)=>Math.abs(Xr(t).getTime()-e)>=3e5)(r,t)?r-Date.now():t},tn=e=>rr.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,rn={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0},nn=e=>({applyToStack:t=>{t.addRelativeTo((e=>(t,r)=>async function(n){if(!tr.isInstance(n.request))return t(n);const o=r.endpointV2?.properties?.authSchemes?.[0],i="sigv4a"===o?.name?o?.signingRegionSet?.join(","):void 0,s=await e.signer(o);let a;const c={signingDate:Xr(e.systemClockOffset),signingRegion:i||r.signing_region,signingService:r.signing_service};if(r.s3ExpressIdentity){const e=s;if(a=await e.signWithCredentials(n.request,r.s3ExpressIdentity,c),a.headers["X-Amz-Security-Token"]||a.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.")}else a=await s.sign(n.request,c);const u=await t({...n,request:a}).catch((t=>{const r=t.ServerTime??tn(t.$response);throw r&&(e.systemClockOffset=en(r,e.systemClockOffset)),t})),l=tn(u.response);return l&&(e.systemClockOffset=en(l,e.systemClockOffset)),u})(e),rn)}});const on=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}$"),sn=e=>on.test(e)||e.startsWith("[")&&e.endsWith("]"),an=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),cn=(e,t=!1)=>{if(!t)return an.test(e);const r=e.split(".");for(const e of r)if(!cn(e))return!1;return!0},un={},ln="endpoints";function dn(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${dn(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(dn).join(", ")})`:JSON.stringify(e,null,2)}class fn extends Error{constructor(e){super(e),this.name="EndpointError"}}const pn=(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 fn(`Path: '${e}' does not end with ']'`);const o=n.slice(t+1,-1);if(Number.isNaN(parseInt(o)))throw new fn(`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 fn(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(r)?r[parseInt(n)]:r[n]}),e),hn={[Kt.HTTP]:80,[Kt.HTTPS]:443},gn={booleanEquals:(e,t)=>e===t,getAttr:pn,isSet:e=>null!=e,isValidHostLabel:cn,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(Kt).includes(c))return null;const u=sn(o);return{scheme:c,authority:`${n}${r.includes(`${n}:${hn[c]}`)||"string"==typeof e&&e.includes(`${n}:${hn[c]}`)?`:${hn[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()}`))},mn=(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(pn(n[e],t))}else r.push(n[s]);o=i+1}return r.join("")},kn=(e,t,r)=>{if("string"==typeof e)return mn(e,r);if(e.fn)return bn(e,r);if(e.ref)return(({ref:e},t)=>({...t.endpointParams,...t.referenceRecord}[e]))(e,r);throw new fn(`'${t}': ${String(e)} is not a string, function or reference.`)},bn=({fn:e,argv:t},r)=>{const n=t.map((e=>["boolean","number"].includes(typeof e)?e:kn(e,"arg",r))),o=e.split(".");return o[0]in un&&null!=o[1]?un[o[0]][o[1]](...n):gn[e](...n)},yn=({assign:e,...t},r)=>{if(e&&e in r.referenceRecord)throw new fn(`'${e}' is already defined in Reference Record.`);const n=bn(t,r);return r.logger?.debug?.(ln,`evaluateCondition: ${dn(t)} = ${dn(n)}`),{result:""===n||!!n,...null!=e&&{toAssign:{name:e,value:n}}}},vn=(e=[],t)=>{const r={};for(const n of e){const{result:e,toAssign:o}=yn(n,{...t,referenceRecord:{...t.referenceRecord,...r}});if(!e)return{result:e};o&&(r[o.name]=o.value,t.logger?.debug?.(ln,`assign: ${o.name} := ${dn(o.value)}`))}return{result:!0,referenceRecord:r}},wn=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:n.map((e=>{const n=kn(e,"Header value entry",t);if("string"!=typeof n)throw new fn(`Header '${r}' value '${n}' is not a string`);return n}))})),{}),_n=(e,t)=>{if(Array.isArray(e))return e.map((e=>_n(e,t)));switch(typeof e){case"string":return mn(e,t);case"object":if(null===e)throw new fn(`Unexpected endpoint property: ${e}`);return Sn(e,t);case"boolean":return e;default:throw new fn("Unexpected endpoint property type: "+typeof e)}},Sn=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:_n(n,t)})),{}),An=(e,t)=>{const r=kn(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 fn("Endpoint URL must be a string, got "+typeof r)},xn=(e,t)=>{const{conditions:r,endpoint:n}=e,{result:o,referenceRecord:i}=vn(r,t);if(!o)return;const s={...t,referenceRecord:{...t.referenceRecord,...i}},{url:a,properties:c,headers:u}=n;return t.logger?.debug?.(ln,`Resolving endpoint from template: ${dn(n)}`),{...null!=u&&{headers:wn(u,s)},...null!=c&&{properties:Sn(c,s)},url:An(a,s)}},En=(e,t)=>{const{conditions:r,error:n}=e,{result:o,referenceRecord:i}=vn(r,t);if(o)throw new fn(kn(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...i}}))},In=(e,t)=>{const{conditions:r,rules:n}=e,{result:o,referenceRecord:i}=vn(r,t);if(o)return On(n,{...t,referenceRecord:{...t.referenceRecord,...i}})},On=(e,t)=>{for(const r of e)if("endpoint"===r.type){const e=xn(r,t);if(e)return e}else if("error"===r.type)En(r,t);else{if("tree"!==r.type)throw new fn(`Unknown endpoint rule: ${r}`);{const e=In(r,t);if(e)return e}}throw new fn("Rules evaluation failed")},Rn=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!Rn(t))return!1;return!0}return!!cn(e)&&(!(e.length<3||e.length>63)&&(e===e.toLowerCase()&&!sn(e)))};let Tn=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)"},"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":{}},{"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"}'),Pn="";const Mn={isVirtualHostableS3Bucket:Rn,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}=Tn;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}}};un.aws=Mn;const Cn="user-agent",Ln="x-amz-user-agent",jn=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,Nn=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,Bn=e=>(t,r)=>async n=>{const{request:o}=n;if(!tr.isInstance(o))return t(n);const{headers:i}=o,s=r?.userAgent?.map(Fn)||[],a=(await e.defaultUserAgentProvider()).map(Fn),c=e?.customUserAgent?.map(Fn)||[],u=(Pn?[Pn]:[]).concat([...a,...s,...c]).join(" "),l=[...a.filter((e=>e.startsWith("aws-sdk-"))),...c].join(" ");return"browser"!==e.runtime?(l&&(i[Ln]=i[Ln]?`${i[Cn]} ${l}`:l),i[Cn]=u):i[Ln]=u,t({...n,request:o})},Fn=e=>{const t=e[0].split("/").map((e=>e.replace(jn,"-"))).join("/"),r=e[1]?.replace(Nn,"-"),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}`}}),"")},Dn={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var Un;!function(e){e.ENV="env",e.CONFIG="shared config entry"}(Un||(Un={}));const $n=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),Hn=e=>$n(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e,Vn="content-length";const qn={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},zn=e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{const n=t.request;if(tr.isInstance(n)){const{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map((e=>e.toLowerCase())).indexOf(Vn))try{const t=r(e);n.headers={...n.headers,[Vn]:String(t)}}catch(e){}}return e({...t,request:n})}),qn)}}),Gn=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Wn=/(\d+\.){3}\d+/,Zn=/\.\./,Kn=e=>Gn.test(e)&&!Wn.test(e)&&!Zn.test(e),Yn=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},Qn=(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}:"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 Jn=e=>{if("string"==typeof e)return Jn(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}},Xn=e=>"object"==typeof e?"url"in e?Jn(e.url):e:Jn(e),eo=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 Qn(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("?"))),Yn(t)){if(!0===e.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!Kn(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},to=({config:e,instructions:t})=>(r,n)=>async o=>{const i=await(async(e,t,r,n)=>{if(!r.endpoint){const e=await(async e=>{})(r.serviceId);e&&(r.endpoint=()=>Promise.resolve(Xn(e)))}const o=await eo(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=(e=>e[Jt]||(e[Jt]={}))(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})},ro={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},no={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function oo(e,t,r){return{applyToStack:n=>{n.add(((e,t)=>(r,n)=>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),ro),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),no)}}}const io={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:no.name},so=(e,t)=>({applyToStack:r=>{r.addRelativeTo(to({config:e,instructions:t}),io)}});var ao;!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(ao||(ao={}));const co=ao.STANDARD,uo=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],lo=["TimeoutError","RequestTimeout","RequestTimeoutException"],fo=[500,502,503,504],po=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],ho=e=>429===e.$metadata?.httpStatusCode||uo.includes(e.name)||1==e.$retryable?.throttling,go=e=>(e=>e.$metadata?.clockSkewCorrected)(e)||lo.includes(e.name)||po.includes(e?.code||"")||fo.includes(e.$metadata?.httpStatusCode||0);class mo{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(),ho(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 ko=100,bo=2e4,yo="amz-sdk-invocation-id",vo="amz-sdk-request",wo=({retryDelay:e,retryCount:t,retryCost:r})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(bo,e),getRetryCost:()=>r});class _o{constructor(e){this.maxAttempts=e,this.mode=ao.STANDARD,this.capacity=500,this.retryBackoffStrategy=(()=>{let e=ko;return{computeNextBackoffDelay:t=>Math.floor(Math.min(bo,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}})(),this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return wo({retryDelay:ko,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:ko);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,wo({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 So{constructor(e,t){this.maxAttemptsProvider=e,this.mode=ao.ADAPTIVE;const{rateLimiter:r}=t??{};this.rateLimiter=r??new mo,this.standardRetryStrategy=new _o(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 Ao={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let xo;const Eo=new Uint8Array(16);function Io(){if(!xo&&(xo="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!xo))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xo(Eo)}const Oo=[];for(let e=0;e<256;++e)Oo.push((e+256).toString(16).slice(1));function Ro(e,t=0){return Oo[e[t+0]]+Oo[e[t+1]]+Oo[e[t+2]]+Oo[e[t+3]]+"-"+Oo[e[t+4]]+Oo[e[t+5]]+"-"+Oo[e[t+6]]+Oo[e[t+7]]+"-"+Oo[e[t+8]]+Oo[e[t+9]]+"-"+Oo[e[t+10]]+Oo[e[t+11]]+Oo[e[t+12]]+Oo[e[t+13]]+Oo[e[t+14]]+Oo[e[t+15]]}const To=function(e,t,r){if(Ao.randomUUID&&!t&&!e)return Ao.randomUUID();const n=(e=e||{}).random||(e.rng||Io)();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 Ro(n)},Po=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 Mo{trace(){}debug(){}info(){}warn(){}error(){}}const Co=(e,t)=>{const r=[];if(e&&r.push(e),t)for(const e of t)r.push(e);return r},Lo=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,jo=()=>{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 Co(t.name,t.aliases))s[e]=t;n.push(t)})),t.forEach((e=>{const t={...e,before:[],after:[]};for(const e of Co(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 ${Lo(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)=>No[t.step]-No[e.step]||Bo[t.priority||"normal"]-Bo[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=Co(o,s);if(c.length>0){if(c.some((e=>n.has(e)))){if(!i)throw new Error(`Duplicate middleware name '${Lo(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(`"${Lo(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${Lo(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=Co(o,s);if(c.length>0){if(c.some((e=>n.has(e)))){if(!i)throw new Error(`Duplicate middleware name '${Lo(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(`"${Lo(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${Lo(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(jo()),use:e=>{e.applyToStack(a)},remove:r=>"string"==typeof r?(r=>{let o=!1;const i=e=>{const t=Co(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 Co(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=Co(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(jo());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 Lo(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},No={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Bo={high:3,normal:2,low:1};class Fo{constructor(e){this.middlewareStack=jo(),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 Do={},Uo=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);Do[r]=e,Uo[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;Do[r]=n,Uo[n]=r}for(let e=0;e<10;e++){Do[e.toString(10)]=e+52;const t=e.toString(10),r=e+52;Do[t]=r,Uo[r]=t}Do["+"]=62,Uo[62]="+",Do["/"]=63,Uo[63]="/";const $o=6,Ho=8,Vo=63,qo=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 Do))throw new TypeError(`Invalid character ${e[n]} in base64 string.`);r|=Do[e[n]]<<(i-n)*$o,o+=$o}else r>>=$o;const i=t/4*3;r>>=o%Ho;const s=Math.floor(o/Ho);for(let e=0;e<s;e++){const t=(s-e-1)*Ho;n.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)};function zo(e){let t;t="string"==typeof e?kr(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)*Ho,n+=Ho;const i=Math.ceil(n/$o);r<<=i*$o-n;for(let e=1;e<=i;e++){const t=(i-e)*$o;o+=Uo[(r&Vo<<t)>>t]}o+="==".slice(0,4-i)}return o}const Go=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 Wo extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return function(e,t){return"base64"===t?Wo.mutate(qo(e)):Wo.mutate(kr(e))}(e,t);throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,Wo.prototype),e}transformToString(e="utf-8"){return function(e,t="utf-8"){return"base64"===t?zo(e):Go(e)}(this,e)}}function Zo(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 Ko=Boolean("undefined"!=typeof Request&&"keepalive"in new Request("https://[::1]"));class Yo{static create(e){return"function"==typeof e?.handle?e:new Yo(e)}constructor(e){"function"==typeof e?this.configProvider=e().then((e=>e||{})):(this.config=e??{},this.configProvider=Promise.resolve(this.config))}destroy(){}async handle(e,{abortSignal:t}={}){this.config||(this.config=await this.configProvider);const r=this.config.requestTimeout,n=!0===this.config.keepAlive;if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let o=e.path;const i=function(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];if(r=gr(r),Array.isArray(n))for(let e=0,o=n.length;e<o;e++)t.push(`${r}=${gr(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${gr(n)}`),t.push(e)}}return t.join("&")}(e.query||{});i&&(o+=`?${i}`),e.fragment&&(o+=`#${e.fragment}`);let s="";if(null!=e.username||null!=e.password){s=`${e.username??""}:${e.password??""}@`}const{port:a,method:c}=e,u=`${e.protocol}//${s}${e.hostname}${a?`:${a}`:""}${o}`,l={body:"GET"===c||"HEAD"===c?void 0:e.body,headers:new Headers(e.headers),method:c};"undefined"!=typeof AbortController&&(l.signal=t),Ko&&(l.keepalive=n);const d=new Request(u,l),f=[fetch(d).then((e=>{const t=e.headers,r={};for(const e of t.entries())r[e[0]]=e[1];return null!=e.body?{response:new rr({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then((t=>({response:new rr({headers:r,reason:e.statusText,statusCode:e.status,body:t})})))})),Zo(r)];return t&&f.push(new Promise(((e,r)=>{t.onabort=()=>{const e=new Error("Request aborted");e.name="AbortError",r(e)}}))),Promise.race(f)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((r=>(r[e]=t,r)))}httpHandlerConfigs(){return this.config??{}}}const Qo=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=qo(t);return new Uint8Array(r)}(e):async function(e){let t=new Uint8Array(0);const r=e.getReader();let n=!1;for(;!n;){const{done:e,value:o}=await r.read();if(o){const e=t;t=new Uint8Array(e.length+o.length),t.set(e),t.set(o,e.length)}n=e}return t}(e);const Jo=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Wo.mutate(e);if(!e)return Wo.mutate(new Uint8Array);const r=t.streamCollector(e);return Wo.mutate(await r)};class Xo{constructor(){this.middlewareStack=jo()}static classBuilder(){return new ei}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:f}=t,p={logger:f,clientName:o,commandName:i,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,[Jt]:{...c},...u},{requestHandler:h}=t;return d.resolve((e=>h.handle(e.request,r||{})),p)}}class ei{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 Xo{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 ti="***SensitiveInformation***",ri=(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}`)}}),ni=e=>oi(e,32),oi=(e,t)=>{const r=ri(e);if(void 0!==r&&ii(r,t)!==r)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return r},ii=(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]}},si=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return ci.warn(ai(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}},ai=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n"),ci={warn:console.warn};class ui extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,ui.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}const li=(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},di=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"]}),fi=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{}}},pi=e=>{const t=[];for(const r in Yt){const n=Yt[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}}},hi=e=>{const t={};return e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()})),t},gi=e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy:()=>t}},mi=e=>{const t={};return t.retryStrategy=e.retryStrategy(),t},ki=e=>({...pi(e),...gi(e)}),bi=function(){const e=Object.getPrototypeOf(this).constructor,t=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(t,e.prototype),t};bi.prototype=Object.create(String.prototype,{constructor:{value:bi,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(bi,String);function yi(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,wi(n,o,i);i=t}for(const e of Object.keys(i))Array.isArray(i[e])?_i(n,null,i,e):n[e]=i[e];return n}const vi=(e,t)=>{const r={};for(const n in t)_i(r,e,t,n);return r},wi=(e,t,r)=>yi(e,Object.entries(r).reduce(((e,[r,n])=>(Array.isArray(n)?e[r]=n:e[r]="function"==typeof n?[t,n()]:[t,n],e)),{})),_i=(e,t,r,n)=>{if(null!==t){let o=r[n];"function"==typeof o&&(o=[,o]);const[i=Si,s=Ai,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)}},Si=e=>null!=e,Ai=e=>e;function xi(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}const Ei=(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=>xi(e))).join("/"):xi(t))}return e},Ii=e=>e?.body instanceof ReadableStream,Oi=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,Ri=e=>{const t={error:e,errorType:Ti(e)},r=Ci(e.$response);return r&&(t.retryAfterHint=r),t},Ti=e=>ho(e)?"THROTTLING":go(e)?"TRANSIENT":(e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!go(e)}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",Pi={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},Mi=e=>({applyToStack:t=>{t.add((e=>(t,r)=>async n=>{let o=await e.retryStrategy();const i=await e.maxAttempts();if(!Oi(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=tr.isInstance(u);for(l&&(u.headers[yo]=To());;)try{l&&(u.headers[vo]=`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=Ri(t);if(s=Po(t),l&&Ii(u))throw(r.logger instanceof Mo?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),Pi)}}),Ci=e=>{if(!rr.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)},Li="3.470.0";var ji=r(2131),Ni=r(5369),Bi=r.n(Ni);const Fi=({serviceId:e,clientVersion:t})=>async()=>{const r="undefined"!=typeof window&&window?.navigator?.userAgent?Bi().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};var Di,Ui=r(3090);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&&Hi(t),new $i(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&Hi(e),parseInt(pr(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Hi(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class Vi{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($i.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!Xi.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(fr(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:qi,value:!0};break;case 1:t[o]={type:qi,value:!1};break;case 2:t[o]={type:zi,value:e.getInt8(r++)};break;case 3:t[o]={type:Gi,value:e.getInt16(r,!1)},r+=2;break;case 4:t[o]={type:Wi,value:e.getInt32(r,!1)},r+=4;break;case 5:t[o]={type:Zi,value:new $i(new Uint8Array(e.buffer,e.byteOffset+r,8))},r+=8;break;case 6:const n=e.getUint16(r,!1);r+=2,t[o]={type:Ki,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:Yi,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,i))},r+=i;break;case 8:t[o]={type:Qi,value:new Date(new $i(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:Ji,value:`${pr(s.subarray(0,4))}-${pr(s.subarray(4,6))}-${pr(s.subarray(6,8))}-${pr(s.subarray(8,10))}-${pr(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"}(Di||(Di={}));const qi="boolean",zi="byte",Gi="short",Wi="integer",Zi="long",Ki="binary",Yi="string",Qi="timestamp",Ji="uuid",Xi=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class es{constructor(e,t){this.headerMarshaller=new Vi(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 Ui.Crc32;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 Ui.Crc32).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 ts{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 rs{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 ns{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 os{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 is(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 ss{constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new es(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 ns({messageStream:new ts({inputStream:r,decoder:this.eventStreamCodec}),deserializer:is(t,this.utfEncoder)})}serialize(e,t){return new rs({messageStream:new os({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class as{constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new ss({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){const r=cs(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 cs=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,us=e=>new as(e),ls="function"==typeof TextEncoder?new TextEncoder:null,ds=e=>{if("string"==typeof e){if(ls)return ls.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="required",ps="fn",hs="argv",gs="ref",ms=!0,ks="isSet",bs="booleanEquals",ys="error",vs="endpoint",ws="tree",_s="PartitionResult",Ss={[fs]:!1,type:"String"},As={[fs]:!0,default:!1,type:"Boolean"},xs={[gs]:"Endpoint"},Es={[ps]:bs,[hs]:[{[gs]:"UseFIPS"},!0]},Is={[ps]:bs,[hs]:[{[gs]:"UseDualStack"},!0]},Os={},Rs={[ps]:"getAttr",[hs]:[{[gs]:_s},"supportsFIPS"]},Ts={[ps]:bs,[hs]:[!0,{[ps]:"getAttr",[hs]:[{[gs]:_s},"supportsDualStack"]}]},Ps=[Es],Ms=[Is],Cs=[{[gs]:"Region"}],Ls={version:"1.0",parameters:{Region:Ss,UseDualStack:As,UseFIPS:As,Endpoint:Ss},rules:[{conditions:[{[ps]:ks,[hs]:[xs]}],rules:[{conditions:Ps,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:ys},{rules:[{conditions:Ms,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:ys},{endpoint:{url:xs,properties:Os,headers:Os},type:vs}],type:ws}],type:ws},{rules:[{conditions:[{[ps]:ks,[hs]:Cs}],rules:[{conditions:[{[ps]:"aws.partition",[hs]:Cs,assign:_s}],rules:[{conditions:[Es,Is],rules:[{conditions:[{[ps]:bs,[hs]:[ms,Rs]},Ts],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Os,headers:Os},type:vs}],type:ws}],type:ws},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:ys}],type:ws},{conditions:Ps,rules:[{conditions:[{[ps]:bs,[hs]:[Rs,ms]}],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:Os,headers:Os},type:vs}],type:ws}],type:ws},{error:"FIPS is enabled but this partition does not support FIPS",type:ys}],type:ws},{conditions:Ms,rules:[{conditions:[Ts],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Os,headers:Os},type:vs}],type:ws}],type:ws},{error:"DualStack is enabled but this partition does not support DualStack",type:ys}],type:ws},{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:Os,headers:Os},type:vs}],type:ws}],type:ws}],type:ws},{error:"Invalid Configuration: Missing Region",type:ys}],type:ws}]},js=(e,t={})=>((e,t)=>{const{endpointParams:r,logger:n}=t,{parameters:o,rules:i}=e;t.logger?.debug?.(`${ln} Initial EndpointParams: ${dn(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 fn(`Missing required parameter: '${e}'`);const c=On(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?.(`${ln} Resolved endpoint: ${dn(c)}`),c})(Ls,{endpointParams:e,logger:t.logger}),Ns=["in-region","cross-region","mobile","standard","legacy"],Bs=()=>{const e="undefined"!=typeof window&&window?.navigator?.userAgent?Bi().parse(window.navigator.userAgent):void 0,t=e?.platform?.type;return"tablet"===t||"mobile"===t},Fs=e=>{const t=(({defaultsMode:e}={})=>ur((async()=>{const t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve(Bs()?"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 ${Ns.join(", ")}, got ${t}`)}})))(e),r=()=>t().then(fi),n=(e=>({apiVersion:"2023-09-30",base64Decoder:e?.base64Decoder??qo,base64Encoder:e?.base64Encoder??zo,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??js,extensions:e?.extensions??[],logger:e?.logger??new Mo,serviceId:e?.serviceId??"Bedrock Runtime",urlParser:e?.urlParser??Jn,utf8Decoder:e?.utf8Decoder??kr,utf8Encoder:e?.utf8Encoder??Go}))(e);return{...n,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??ds,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??Fi({serviceId:n.serviceId,clientVersion:Li}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??us,maxAttempts:e?.maxAttempts??3,region:e?.region??(o="Region is missing",()=>Promise.reject(o)),requestHandler:e?.requestHandler??new Yo(r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||co),sha256:e?.sha256??ji.Sha256,streamCollector:e?.streamCollector??Qo,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(false))};var o},Ds=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}};class Us extends Fo{constructor(...[e]){const t=(e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"bedrock"}))(Fs(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 Hn(t);const e=await t();return Hn(e)},useFipsEndpoint:async()=>{const e="string"==typeof t?t:await t();return!!$n(e)||("function"!=typeof r?Promise.resolve(!!r):r())}}})(t),n=(e=>{const t=e.tls??!0,{endpoint:r}=e,n=null!=r?async()=>Xn(await hr(r)()):void 0,o=!!r;return{...e,endpoint:n,tls:t,isCustomEndpoint:o,useDualstackEndpoint:hr(e.useDualstackEndpoint??!1),useFipsEndpoint:hr(e.useFipsEndpoint??!1)}})(r),o=(e=>{const{retryStrategy:t}=e,r=hr(e.maxAttempts??3);return{...e,maxAttempts:r,retryStrategy:async()=>t||(await hr(e.retryMode)()===ao.ADAPTIVE?new So(r):new _o(r))}})(n),i=(e=>{const t=e.credentials?Jr(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:r=!0,systemClockOffset:n=e.systemClockOffset||0,sha256:o}=e;let i;return i=e.signer?hr(e.signer):e.regionInfoProvider?()=>hr(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||Kr)(c)})):async n=>{const i=(n=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await hr(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||Kr)(a)},{...e,systemClockOffset:n,signingEscapePath:r,credentials:t,signer:i}})(o);var s;const a=((e,t)=>{const r={...Ds(e),...ki(e),...Gt(e)};return t.forEach((e=>e.configure(r))),{...e,...(i=r,{region:i.region()}),...(o=r,{...hi(o),...mi(o)}),...(n=r,{httpHandler:n.httpHandler()})};var n,o,i})((e=>({...e,eventStreamMarshaller:e.eventStreamSerdeProvider(e)}))((s=i,{...s,customUserAgent:"string"==typeof s.customUserAgent?[[s.customUserAgent]]:s.customUserAgent})),e?.extensions||[]);var c;super(a),this.config=a,this.middlewareStack.use(Mi(this.config)),this.middlewareStack.use(zn(this.config)),this.middlewareStack.use(or(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:f,...p}=n.output;return s?.info?.({clientName:o,commandName:i,input:l(r.input),output:d(p),metadata:f}),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}}),ir)}})),this.middlewareStack.use(cr(this.config)),this.middlewareStack.use(nn(this.config)),this.middlewareStack.use((c=this.config,{applyToStack:e=>{e.add(Bn(c),Dn)}}))}destroy(){super.destroy()}}class $s extends ui{constructor(e){super(e),Object.setPrototypeOf(this,$s.prototype)}}class Hs extends $s{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e}),this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,Hs.prototype)}}class Vs extends $s{constructor(e){super({name:"InternalServerException",$fault:"server",...e}),this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,Vs.prototype)}}class qs extends $s{constructor(e){super({name:"ModelErrorException",$fault:"client",...e}),this.name="ModelErrorException",this.$fault="client",Object.setPrototypeOf(this,qs.prototype),this.originalStatusCode=e.originalStatusCode,this.resourceName=e.resourceName}}class zs extends $s{constructor(e){super({name:"ModelNotReadyException",$fault:"client",...e}),this.name="ModelNotReadyException",this.$fault="client",Object.setPrototypeOf(this,zs.prototype)}}class Gs extends $s{constructor(e){super({name:"ModelTimeoutException",$fault:"client",...e}),this.name="ModelTimeoutException",this.$fault="client",Object.setPrototypeOf(this,Gs.prototype)}}class Ws extends $s{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,Ws.prototype)}}class Zs extends $s{constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e}),this.name="ServiceQuotaExceededException",this.$fault="client",Object.setPrototypeOf(this,Zs.prototype)}}class Ks extends $s{constructor(e){super({name:"ThrottlingException",$fault:"client",...e}),this.name="ThrottlingException",this.$fault="client",Object.setPrototypeOf(this,Ks.prototype)}}class Ys extends $s{constructor(e){super({name:"ValidationException",$fault:"client",...e}),this.name="ValidationException",this.$fault="client",Object.setPrototypeOf(this,Ys.prototype)}}class Qs extends $s{constructor(e){super({name:"ModelStreamErrorException",$fault:"client",...e}),this.name="ModelStreamErrorException",this.$fault="client",Object.setPrototypeOf(this,Qs.prototype),this.originalStatusCode=e.originalStatusCode,this.originalMessage=e.originalMessage}}var Js;!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):t._(e.$unknown[0],e.$unknown[1])}(Js||(Js={}));const Xs=e=>({...e,...e.body&&{body:ti}}),ea=e=>({...e,...e.body&&{body:ti}}),ta=e=>({...e,...e.body&&{body:ti}}),ra=e=>({...e,...e.body&&{body:"STREAMING_CONTENT"}}),na=async(e,t)=>{const r={...e,body:await Oa(e.body,t)},n=Ra(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await aa(r,t);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await ca(r,t);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await ua(r,t);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await la(r,t);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await fa(r,t);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await pa(r,t);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await ha(r,t);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await ga(r,t);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await ma(r,t);default:const o=r.body;return ia({output:e,parsedBody:o,errorCode:n})}},oa=async(e,t)=>{const r={...e,body:await Oa(e.body,t)},n=Ra(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await aa(r,t);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await ca(r,t);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await ua(r,t);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await la(r,t);case"ModelStreamErrorException":case"com.amazonaws.bedrockruntime#ModelStreamErrorException":throw await da(r,t);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await fa(r,t);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await pa(r,t);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await ha(r,t);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await ga(r,t);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await ma(r,t);default:const o=r.body;return ia({output:e,parsedBody:o,errorCode:n})}},ia=(sa=$s,({output:e,parsedBody:t,errorCode:r})=>{(({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{const o=di(e),i=o.httpStatusCode?o.httpStatusCode+"":void 0,s=new r({name:t?.code||t?.Code||n||i||"UnknownError",$fault:"client",$metadata:o});throw li(s,t)})({output:e,parsedBody:t,exceptionCtor:sa,errorCode:r})});var sa;const aa=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Hs({$metadata:xa(e),...r});return li(i,e.body)},ca=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Vs({$metadata:xa(e),...r});return li(i,e.body)},ua=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si,originalStatusCode:ni,resourceName:si});Object.assign(r,o);const i=new qs({$metadata:xa(e),...r});return li(i,e.body)},la=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new zs({$metadata:xa(e),...r});return li(i,e.body)},da=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si,originalMessage:si,originalStatusCode:ni});Object.assign(r,o);const i=new Qs({$metadata:xa(e),...r});return li(i,e.body)},fa=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Gs({$metadata:xa(e),...r});return li(i,e.body)},pa=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Ws({$metadata:xa(e),...r});return li(i,e.body)},ha=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Zs({$metadata:xa(e),...r});return li(i,e.body)},ga=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Ks({$metadata:xa(e),...r});return li(i,e.body)},ma=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Ys({$metadata:xa(e),...r});return li(i,e.body)},ka=(e,t)=>t.eventStreamMarshaller.deserialize(e,(async r=>null!=r.chunk?{chunk:await wa(r.chunk,t)}:null!=r.internalServerException?{internalServerException:await ba(r.internalServerException,t)}:null!=r.modelStreamErrorException?{modelStreamErrorException:await ya(r.modelStreamErrorException,t)}:null!=r.validationException?{validationException:await Sa(r.validationException,t)}:null!=r.throttlingException?{throttlingException:await _a(r.throttlingException,t)}:null!=r.modelTimeoutException?{modelTimeoutException:await va(r.modelTimeoutException,t)}:{$unknown:e})),ba=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return ca(r,t)},ya=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return da(r,t)},va=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return fa(r,t)},wa=async(e,t)=>{const r={},n=await Ia(e.body,t);return Object.assign(r,Aa(n,t)),r},_a=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return ga(r,t)},Sa=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return ma(r,t)},Aa=(e,t)=>vi(e,{bytes:t.base64Decoder}),xa=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"]}),Ea=e=>!(null==e||""===e||Object.getOwnPropertyNames(e).includes("length")&&0==e.length||Object.getOwnPropertyNames(e).includes("size")&&0==e.size),Ia=(e,t)=>((e,t)=>Jo(e,t).then((e=>t.utf8Encoder(e))))(e,t).then((e=>e.length?JSON.parse(e):{})),Oa=async(e,t)=>{const r=await Ia(e,t);return r.message=r.message??r.Message,r},Ra=(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};class Ta extends Xo{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(e){super(),this.input=e}resolveMiddleware(e,t,r){this.middlewareStack.use(oo(t,this.serialize,this.deserialize)),this.middlewareStack.use(so(t,Ta.getEndpointParameterInstructions()));const n=e.concat(this.middlewareStack),{logger:o}=t,i={logger:o,clientName:"BedrockRuntimeClient",commandName:"InvokeModelWithResponseStreamCommand",inputFilterSensitiveLog:ta,outputFilterSensitiveLog:ra,[Jt]:{service:"AmazonBedrockFrontendService",operation:"InvokeModelWithResponseStream"}},{requestHandler:s}=t;return n.resolve((e=>s.handle(e.request,r||{})),i)}serialize(e,t){return(async(e,t)=>{const{hostname:r,protocol:n="https",port:o,path:i}=await t.endpoint(),s=yi({},Ea,{"content-type":e.contentType||"application/octet-stream","x-amzn-bedrock-accept":e.accept});let a,c=`${i?.endsWith("/")?i.slice(0,-1):i||""}/model/{modelId}/invoke-with-response-stream`;return c=Ei(c,e,"modelId",(()=>e.modelId),"{modelId}",!1),void 0!==e.body&&(a=e.body),new tr({protocol:n,hostname:r,port:o,method:"POST",headers:s,path:c,body:a})})(e,t)}deserialize(e,t){return(async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return oa(e,t);const r=yi({$metadata:xa(e),contentType:[,e.headers["x-amzn-bedrock-content-type"]]}),n=e.body;return r.body=ka(n,t),r})(e,t)}}class Pa extends Xo{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(e){super(),this.input=e}resolveMiddleware(e,t,r){this.middlewareStack.use(oo(t,this.serialize,this.deserialize)),this.middlewareStack.use(so(t,Pa.getEndpointParameterInstructions()));const n=e.concat(this.middlewareStack),{logger:o}=t,i={logger:o,clientName:"BedrockRuntimeClient",commandName:"InvokeModelCommand",inputFilterSensitiveLog:Xs,outputFilterSensitiveLog:ea,[Jt]:{service:"AmazonBedrockFrontendService",operation:"InvokeModel"}},{requestHandler:s}=t;return n.resolve((e=>s.handle(e.request,r||{})),i)}serialize(e,t){return(async(e,t)=>{const{hostname:r,protocol:n="https",port:o,path:i}=await t.endpoint(),s=yi({},Ea,{"content-type":e.contentType||"application/octet-stream",accept:e.accept});let a,c=`${i?.endsWith("/")?i.slice(0,-1):i||""}/model/{modelId}/invoke`;return c=Ei(c,e,"modelId",(()=>e.modelId),"{modelId}",!1),void 0!==e.body&&(a=e.body),new tr({protocol:n,hostname:r,port:o,method:"POST",headers:s,path:c,body:a})})(e,t)}deserialize(e,t){return(async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return na(e,t);const r=yi({$metadata:xa(e),contentType:[,e.headers["content-type"]]}),n=await Jo(e.body,t);return r.body=n,r})(e,t)}}const Ma=La;function Ca(){const e=["_requestParameters","test","1531wHUeIR","getModelFamily","AWSTextAdapter","_requestHeaders","ai.aws.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.","toString","split","application/json","6725544xWiojh","abortController","POST","completions","utf-8","4178703gJeVtx","json","_processAWSRequest","text","6430812vDNqUq","data","generations","meta.llama","9JdONFD","cohere.command","329xKyZet","_bedrockClientConfig","ai21.j2","\n[/INST]","ai.aws.bedrockClientConfig","sendRequest","bedrock-2023-05-31","17200050LrqZeu","utf8","join","stringify","completion","editor","filter","Instruction:\n","read","ai.aws.apiUrl","bytes","_readAsyncIterableResponse","2803450SSqggh","ai.aws.requestHeaders","send","_apiUrl","_readStaticResponse","preparePrompt","Human:\n","anthropic.claude-v2","_getGeneratedText","\n\nAssistant:","decode","from","<<SYS>>\n","pluginName","signal","parse","generation","406izaYLQ","_prepareRequestParameters","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.","_prepareRequestHeaders","map","get","_readStreamableResponse","locale","config","define","_processProxyRequest","\nYou must keep the text formatting.\n\nContent:\n","body","81726oOoBvV","length","getReader","\n<</SYS>>\n[INST]\n","chunk","AI_ERROR_UNSUPPORTED_MODEL","resolve","anthropic.claude"];return(Ca=function(){return e})()}function La(e,t){const r=Ca();return(La=function(e,t){return r[e-=371]})(e,t)}!function(e,t){const r=La,n=e();for(;;)try{if(847160===-parseInt(r(421))/1*(-parseInt(r(398))/2)+-parseInt(r(435))/3+parseInt(r(439))/4+parseInt(r(381))/5+-parseInt(r(411))/6*(-parseInt(r(445))/7)+parseInt(r(430))/8+parseInt(r(443))/9*(-parseInt(r(452))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Ca);class ja extends $t{static get[Ma(394)](){return Ma(423)}constructor(e){const t=Ma;super(e),e[t(406)][t(403)](t(425))||e[t(406)][t(407)](t(425),{model:t(388),max_tokens_to_sample:2e3,temperature:1,top_p:1,top_k:250,anthropic_version:t(451),stream:!0}),this[t(384)]=e[t(406)][t(403)](t(378)),this[t(446)]=e[t(406)][t(403)](t(449)),this[t(424)]=e[t(406)][t(403)](t(382)),this[t(419)]=e[t(406)][t(403)](t(425))}async[Ma(450)]({query:e,context:t,onData:r,actionId:n}){const o=Ma,{model:i,stream:s,...a}=await this[o(399)](this[o(419)],n),c={prompt:await this[o(386)](e,t,i,n),...a};this[o(384)]?await this[o(408)](c,i,s,r,n):await this[o(437)](c,i,s,r)}async[Ma(386)](e,t,r,n){const o=Ma;let i,s;return t?(i=o(426),s=o(376)+e+o(409)+t):(i=o(400),s=e),o(442)==this[o(422)](r)?o(393)+i+o(414)+s+o(448):o(387)+i+"\n"+s+o(390)}[Ma(422)](e){const t=Ma;if(/^anthropic\.claude/[t(420)](e))return t(418);if(/^ai21\.j2/[t(420)](e))return t(447);if(/^cohere\.command/[t(420)](e))return t(444);if(/^meta\.llama/[t(420)](e))return t(442);throw new F(D(this[t(374)][t(405)],t(416),e))}async[Ma(408)](e,t,r,n,o){const i=Ma,s={method:i(432),headers:await this[i(401)](this[i(424)],o),body:JSON[i(372)]({...e,model:t,stream:r}),signal:this[i(431)][i(395)]},a=await fetch(this[i(384)],s);r?await this[i(404)](a,t,n):await this[i(385)](a,t,n)}async[Ma(437)](e,t,r,n){const o=Ma,i=new Us(this[o(446)]),s={body:JSON[o(372)](e),contentType:o(429),accept:o(429),modelId:t};let a;if(r){const e=new Ta(s);a=await i[o(383)](e,{abortSignal:this[o(431)][o(395)]}),await this[o(380)](a,t,n)}else{const e=new Pa(s);a=await i[o(383)](e,{abortSignal:this[o(431)][o(395)]}),await this[o(385)](a,t,n)}}async[Ma(380)](e,t,r){const n=Ma,o=e[n(410)],i=new TextDecoder(n(434));let s="";for await(const e of o)if(e[n(415)]){const o=i[n(391)](e[n(415)][n(379)]),a=JSON[n(396)](o);s+=this[n(389)](a,t),r(s)}return Promise[n(417)]()}async[Ma(404)](e,t,r){const n=Ma,o=e[n(410)],i=new TextDecoder(n(434)),s=o[n(413)]();let a="",c="",u=!1;for(;!u;){const{done:e,value:o}=await s[n(377)]();if(u=e,u)break;const l=(a+i[n(391)](o))[n(428)]("\n")[n(402)]((e=>{const t=n;try{return a="",JSON[t(396)](e)}catch(t){return a=e,null}}))[n(375)]((e=>null!==e));l[n(412)]&&(c+=l[n(402)]((e=>this[n(389)](e,t)))[n(371)](""),r(c))}return Promise[n(417)]()}async[Ma(385)](e,t,r){const n=Ma;let o;return o=e instanceof Response?await e[n(436)]():JSON[n(396)](Buffer[n(392)](e[n(410)])[n(427)](n(453))),r(this[n(389)](o,t)),Promise[n(417)]()}[Ma(389)](e,t){const r=Ma;switch(this[r(422)](t)){case r(418):return e[r(373)];case r(447):return e[r(433)][0][r(440)][r(438)];case r(444):return e[r(441)][0][r(438)];case r(442):return e[r(397)]}}}function Na(){var e=["1597040zATnCN","7789581EJGMaI","2504804UjTBGb","1396716OWaQTC","10GHmawZ","1utDxGS","3853465vBzenH","1382109YwIFTg","4638852Kexers"];return(Na=function(){return e})()}function Ba(e,t){var r=Na();return(Ba=function(e,t){return r[e-=205]})(e,t)}!function(e,t){for(var r=Ba,n=e();;)try{if(647565===parseInt(r(209))/1*(parseInt(r(206))/2)+-parseInt(r(211))/3+-parseInt(r(207))/4*(-parseInt(r(208))/5)+parseInt(r(212))/6+-parseInt(r(210))/7+-parseInt(r(213))/8+-parseInt(r(205))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Na)})(),(window.CKEditor5=window.CKEditor5||{}).ai=n})();
80
+ var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function a(e,t,r,n){var o,i=arguments.length,s=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,r,s):o(t,r))||s);return i>3&&s&&Object.defineProperty(t,r,s),s}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(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 d(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(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}function f(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}function p(e,t){for(var r in e)"default"===r||t.hasOwnProperty(r)||(t[r]=e[r])}function h(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.")}function g(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function k(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,o++)n[o]=i[s];return n}function b(e){return this instanceof b?(this.v=e,this):new b(e)}function y(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,o=r.apply(e,t||[]),i=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){o[e]&&(n[e]=function(t){return new Promise((function(r,n){i.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{(r=o[e](t)).value instanceof b?Promise.resolve(r.value.v).then(c,u):l(i[0][2],r)}catch(e){l(i[0][3],e)}var r}function c(e){a("next",e)}function u(e){a("throw",e)}function l(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function v(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:b(e[n](t)),done:"return"===n}:o?o(t):t}:o}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function A(e){return e&&e.__esModule?e:{default:e}}function x(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function E(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}},857:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertToBuffer=void 0;var n=r(9381),o="undefined"!=typeof Buffer&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:n.fromUtf8;t.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"==typeof e?o(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}},7885:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=t.numToUint8=t.isEmptyData=t.convertToBuffer=void 0;var n=r(857);Object.defineProperty(t,"convertToBuffer",{enumerable:!0,get:function(){return n.convertToBuffer}});var o=r(4964);Object.defineProperty(t,"isEmptyData",{enumerable:!0,get:function(){return o.isEmptyData}});var i=r(4034);Object.defineProperty(t,"numToUint8",{enumerable:!0,get:function(){return i.numToUint8}});var s=r(7911);Object.defineProperty(t,"uint32ArrayFrom",{enumerable:!0,get:function(){return s.uint32ArrayFrom}})},4964:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyData=void 0,t.isEmptyData=function(e){return"string"==typeof e?0===e.length:0===e.byteLength}},4034:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.numToUint8=void 0,t.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},7911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uint32ArrayFrom=void 0,t.uint32ArrayFrom=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)}},277:(e,t,r)=>{"use strict";r.r(t),r.d(t,{locateWindow:()=>o});const n={};function o(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:n}},9381:(e,t,r)=>{"use strict";r.r(t),r.d(t,{fromUtf8:()=>n,toUtf8:()=>o});const n=e=>"function"==typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):(e=>{const t=[];for(let r=0,n=e.length;r<n;r++){const n=e.charCodeAt(r);if(n<128)t.push(n);else if(n<2048)t.push(n>>6|192,63&n|128);else if(r+1<e.length&&55296==(64512&n)&&56320==(64512&e.charCodeAt(r+1))){const o=65536+((1023&n)<<10)+(1023&e.charCodeAt(++r));t.push(o>>18|240,o>>12&63|128,o>>6&63|128,63&o|128)}else t.push(n>>12|224,n>>6&63|128,63&n|128)}return Uint8Array.from(t)})(e),o=e=>"function"==typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):(e=>{let t="";for(let r=0,n=e.length;r<n;r++){const n=e[r];if(n<128)t+=String.fromCharCode(n);else if(192<=n&&n<224){const o=e[++r];t+=String.fromCharCode((31&n)<<6|63&o)}else if(240<=n&&n<365){const o="%"+[n,e[++r],e[++r],e[++r]].map((e=>e.toString(16))).join("%");t+=decodeURIComponent(o)}else t+=String.fromCharCode((15&n)<<12|(63&e[++r])<<6|63&e[++r])}return t})(e)},5369: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 f=Object.keys(o),p=a.default.find(f,(function(e){return t.isBrowser(e,!0)}));if(void 0!==p)return this.compareVersion(o[p])}},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}})},5507:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},4967:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},4258:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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(8433),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},2751:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},3901:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},1961:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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-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{outline:0;overflow:hidden}.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},5163:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},2332:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},7533:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},7181:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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(8433),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},3379:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(8433),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},8433: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}},4673:(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),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(s[d].references++,s[d].updater(f)):s.push({identifier:l,updater:m(f,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 f(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 p(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 h=null,g=0;function m(e,t){var r,n,o;if(t.singleton){var i=g++;r=h||(h=u(t)),n=f.bind(null,r,i,!1),o=f.bind(null,r,i,!0)}else r=u(t),n=p.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(9237)("./src/clipboard.js")},1782:(e,t,r)=>{e.exports=r(9237)("./src/core.js")},1783:(e,t,r)=>{e.exports=r(9237)("./src/engine.js")},8311:(e,t,r)=>{e.exports=r(9237)("./src/ui.js")},4584:(e,t,r)=>{e.exports=r(9237)("./src/utils.js")},9237: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:()=>N,AIAssistant:()=>Bt,AIRequestError:()=>F,AITextAdapter:()=>$t,AWSTextAdapter:()=>ja,OpenAITextAdapter:()=>zt});var e=r(4584),t=r(1782),o=r(8311);t.ContextPlugin;var i=r(4673),s=r.n(i),a=r(2332),c={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(a.A,c);a.A.locals;t.ContextPlugin;var u=r(7533),l={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(u.A,l);u.A.locals;o.View;o.View;var d=r(1961),f={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(d.A,f);d.A.locals;var p=r(5163),h={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(p.A,h);p.A.locals;var g=r(4258),m={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(g.A,m);g.A.locals;var k=r(4967),b={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(k.A,b);k.A.locals;var y=r(906),v={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(y.A,v);y.A.locals;var w=r(2751),_={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(w.A,_);w.A.locals;var S=r(3901),A={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(S.A,A);S.A.locals;var x=r(5507),E={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(x.A,E);x.A.locals;const I={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>'},R=O;function O(e,t){const r=P();return(O=function(e,t){return r[e-=447]})(e,t)}function P(){const e=["document","has","change","insertContentBelow","selection","insertContent","showFakeVisualSelection","ai.useTheme","start","ck-fake-ai-selection-candidate","updateMarker","length","getLastPosition","isContent","markerToHighlight","removeMarker","model","270wnVBEs","85925wpCQHQ","config","132wHIRCi","323523CsQpra","schema","push","getLastMatchingPosition","end","2594wLCJpo","data","canEditAt","2685980IrFYTt","processor","getFirstRange","AIAssistantEditing","from","ai-ui","getSelectedBlocks","ck-ai-assistant-ui_theme","125128aAgVCf","42aUejtd","span","1792135UuxdYZ","toView","conversion","get","pluginName","toModel","markers","ai-ui-candidate","isAtEnd","114411ANZkBR","createRange","editingDowncast","pop","ck-fake-ai-selection_collapsed","4dVUkfn","getRange","createPositionAfter","ck-fake-ai-selection","for","createSelection","249vIQYaS","editor","markerToElement","hideFakeVisualSelection","setSelection","addMarker","init"];return(P=function(){return e})()}!function(e,t){const r=O,n=e();for(;;)try{if(257653===parseInt(r(449))/1*(parseInt(r(482))/2)+-parseInt(r(477))/3+parseInt(r(510))/4*(-parseInt(r(496))/5)+-parseInt(r(494))/6*(-parseInt(r(474))/7)+-parseInt(r(493))/8*(-parseInt(r(473))/9)+-parseInt(r(485))/10+parseInt(r(505))/11*(parseInt(r(476))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(P);const T=R(490),M=R(503);class C extends t.Plugin{static get[R(500)](){return R(488)}[R(455)](){const e=R,{editor:t}=this,r=[e(513)];t[e(475)][e(499)](e(463))&&r[e(479)](e(492)),t[e(498)][e(447)](e(507))[e(470)]({model:T,view:{classes:r,priority:12}}),t[e(498)][e(447)](e(507))[e(451)]({model:T,view:{name:e(495),classes:[e(513),e(509)],priority:12}}),t[e(498)][e(447)](e(507))[e(470)]({model:M,view:{classes:[e(465)],priority:25}}),t[e(498)][e(447)](e(507))[e(451)]({model:M,view:{name:e(495),classes:[e(465),e(509)],priority:25}})}[R(462)](e){const t=R,r=this[t(450)][t(472)],n=e?M:T;r[t(458)]((e=>{const o=t,i=r[o(456)][o(460)][o(487)]();if(r[o(502)][o(457)](n))e[o(466)](n,{range:i});else if(i[o(464)][o(504)]){const t=i[o(464)][o(480)]((({item:e})=>!r[o(478)][o(469)](e)),{boundaries:i});e[o(454)](n,{usingOperation:!1,affectsData:!1,range:e[o(506)](t,i[o(481)])})}else e[o(454)](n,{usingOperation:!1,affectsData:!1,range:i})}))}[R(452)](e){const t=R,r=this[t(450)][t(472)],n=e?M:T;r[t(502)][t(457)](n)&&r[t(458)]((e=>{e[t(471)](n)}))}[R(461)](e,t){const r=R,n=t||this[r(450)][r(472)][r(502)][r(499)](T)[r(511)]();if(!this[r(450)][r(472)][r(484)](n))return;const o=this[r(450)][r(483)][r(486)][r(497)](e),i=this[r(450)][r(483)][r(501)](o);this[r(450)][r(472)][r(458)]((e=>{const t=r;this[t(452)]();const o=this[t(450)][t(472)][t(461)](i,n);o&&e[t(453)](o)}))}[R(459)](e){const t=R,{model:r}=this[t(450)],n=Array[t(489)](r[t(448)](this[t(450)][t(472)][t(502)][t(499)](T)[t(511)]())[t(491)]()),o=n[t(467)]?r[t(512)](n[t(508)]()):r[t(456)][t(460)][t(468)]();this[t(461)](e,o)}}var L=B;function j(){var e=["710280ygaqnT","AIAdapter","175682cEZISf","87072BBTtYH","textAdapter","pluginName","AIRequestError","328626AUvyFA","296331ZFKLJg","name","8705OTylsv","1970816RrCUDK","afterInit","aiadapter-text-adapter-not-set","186LbbUCT"];return(j=function(){return e})()}!function(e,t){for(var r=B,n=e();;)try{if(165751===-parseInt(r(405))/1+parseInt(r(400))/2+-parseInt(r(401))/3+parseInt(r(413))/4+parseInt(r(408))/5*(parseInt(r(412))/6)+-parseInt(r(406))/7+parseInt(r(409))/8)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(j);class N extends t.Plugin{static get[L(403)](){return L(399)}[L(410)](){var t=L;if(!this[t(402)])throw new e.CKEditorError(t(411),null)}}function B(e,t){var r=j();return(B=function(e,t){return r[e-=399]})(e,t)}class F extends Error{constructor(e){var t=L;super(e),this[t(407)]=t(404)}}function D(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 U=H;function $(){const e=["concat","getRanges","config","304RNwnmR","5667728gQjkeM","get","5561772bKWKZn","element","from","3505762UqwqDN","enabledCommandsIds","getFirstRange","refresh","document","isEnabled","showUI","isCollapsed","editor","selection","add","1120688AjTSzh","includes","ai.aiAssistant.disabledElements","107086XHUigv","getSelectedBlocks","change:_hasContext","plugins","reduce","_commandDefinitions","custom","name","execute","set","isEmpty","3mrzbkH","requiresContent","commands","7413375mrFZLu","41728370STysEP","getItems","model","9yMKulA","change:isEnabled","_hasContext","hasContent","length"];return($=function(){return e})()}function H(e,t){const r=$();return(H=function(e,t){return r[e-=111]})(e,t)}!function(e,t){const r=H,n=e();for(;;)try{if(887887===-parseInt(r(152))/1+parseInt(r(141))/2*(-parseInt(r(120))/3)+parseInt(r(136))/4+-parseInt(r(123))/5+-parseInt(r(138))/6+-parseInt(r(155))/7*(-parseInt(r(135))/8)+parseInt(r(127))/9*(parseInt(r(124))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}($);class V extends t.Command{constructor(e,t){const r=H;super(e),this[r(114)]=t?t[r(113)](((e,t)=>e[r(132)](t[r(122)])),new Array):[],this[r(118)](r(142),[]),this.on(r(111),((e,t,n)=>{const o=r;this[o(146)]&&(this[o(142)]=q(this[o(114)],n))})),this[r(118)](r(129),!1),this.on(r(128),((e,t,n)=>{const o=r;this[o(142)]=n?q(this[o(114)],this[o(129)]):[]}))}[U(144)](){const e=U,t=this[e(149)][e(126)];this[e(129)]=function(t){const r=e,n=t[r(145)][r(150)];return n[r(148)]?0!==[...n[r(156)]()][r(131)]&&![...n[r(156)]()][0][r(119)]:!!t[r(130)](n[r(143)]())}(t);const r=t[e(145)][e(150)],n=this[e(149)][e(134)][e(137)](e(154));for(const t of r[e(133)]())for(const r of t[e(125)]())if(r.is(e(139))&&n[e(153)](r[e(116)]))return void(this[e(146)]=!1);this[e(146)]=!0}[U(117)](e="",t="",r=U(115)){const n=U;this[n(149)][n(112)][n(137)](Ot)[n(147)](e,t,r)}}function q(e,t){const r=U,n=new Set;for(const o of e)(t||!1===o[r(121)])&&n[r(151)](o.id);return Array[r(140)](n)}var z=r(1783);const G=W;function W(e,t){const r=K();return(W=function(e,t){return r[e-=174]})(e,t)}!function(e,t){const r=W,n=e();for(;;)try{if(684578===parseInt(r(264))/1*(parseInt(r(219))/2)+parseInt(r(215))/3*(parseInt(r(258))/4)+-parseInt(r(269))/5*(-parseInt(r(268))/6)+-parseInt(r(228))/7*(-parseInt(r(235))/8)+-parseInt(r(266))/9+-parseInt(r(271))/10*(parseInt(r(198))/11)+-parseInt(r(178))/12*(parseInt(r(203))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(K);const Z=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,"is");function K(){const e=["remove","ELEMENT_NODE","viewToDom","document","previousActionId","startsWith","_sanitizationContainer","25428vCphib","rename","editing","reset","reverse","name","55868oZYaoz","div","5639436CQNCBC","innerHTML","18cPLhiA","1187545MKJWIp","substring","282650jLWtSj","tryAgainEvent","startProcessing","```html","data","36uPoawI","then","domConverter","_isH1TagSupportEnabled","prompt","text/html","value","stopProcessing","exec","endsWith","push","initialContext","currentResponse","set:currentContext","destroy","message","stringify","makeRequest","from","toView","176aQmryK","previousQuery","custom","stopListening","_parseAndNormalizeContent","6755671lmynqH","submitPrompt","catch","listenTo","_sanitizeHTML","previousContext","updateView","setContentOf","querySelector","_domParser","editor","body","558XPatGE","once","trim","view","46UeMqIx","_normalizeResponseHeadings","render","abort","currentContext","toModel","isProcessing","handleError","processor","210ubcAZJ","mainAction","_handleQuery","match","finally","createElement","textAdapter","38008NJPZLg","previousLabel","element","serializeToString","```","_xmlSerializer","htmlProcessor","_stripMarkdownSyntax","nodeType","childNodes","finishProcessing","parseFromString","set","length","<h1></h1>","isRendered"];return(K=function(){return e})()}class J extends((0,e.ObservableMixin)()){constructor(e,t,r){const n=W;super(),this[n(213)]=e,this[n(234)]=t,this[n(257)]=document[n(233)](n(265)),this[n(212)]=new DOMParser,this[n(240)]=new XMLSerializer,this[n(218)]=r,this[n(247)]({initialContext:"",currentContext:"",currentResponse:"",previousContext:void 0,previousQuery:void 0,previousLabel:void 0,isProcessing:!1}),this.on(n(191),((e,t,r)=>{const o=n;this[o(218)][o(184)]=this[o(207)](r)})),this[n(206)](this[n(218)],n(204),((e,t)=>{const r=n,o=this[r(223)]||this[r(189)];this[r(230)](t,o,r(200))})),this[n(206)](this[n(218)],n(174),(()=>{const e=n;this[e(218)][e(182)]=this[e(236)],this[e(230)](this[e(199)],this[e(208)],this[e(255)],this[e(236)])})),this[n(206)](this[n(218)],n(185),(()=>{this[n(185)]()}))}[G(192)](){this[G(201)]()}async[G(209)]({actionId:e,query:t,htmlContent:r,label:n,mainActionLabel:o}){const i=G;this[i(218)][i(182)]=n,this[i(218)][i(229)]=o,this[i(189)]=r,t&&(this[i(218)][i(250)]?this[i(230)](t,r,e,n):this[i(218)][i(216)](i(221),(()=>{this[i(230)](t,r,e,n)})))}[G(185)](){const e=G;this[e(225)]&&(this[e(225)]=!1,this[e(218)][e(245)](),this[e(234)][e(222)]())}[G(261)](){const e=G;this[e(189)]="",this[e(223)]="",this[e(190)]="",this[e(208)]="",this[e(199)]="",this[e(236)]="",this[e(255)]=void 0,this[e(218)][e(261)](),this[e(185)]()}async[G(230)](e,t,r,n){const o=G;return this[o(225)]=!0,this[o(218)][o(175)](),this[o(208)]=t,this[o(199)]=e,this[o(236)]=n||e,this[o(255)]=r,new Promise((n=>{const i=o;this[i(234)][i(195)]({query:e,context:t,onData:e=>{const t=i;this[t(190)]=e,this[t(223)]=this[t(202)](this[t(190)])},actionId:r})[i(179)]((()=>{const e=i;!this[e(223)]&&this[e(190)]&&(this[e(223)]=this[e(202)](this[e(190)],!0))}))[i(205)]((e=>{const t=i;e instanceof F?this[t(218)][t(226)](e[t(193)]):this[t(218)][t(226)](),n()}))[i(232)]((()=>{this[i(185)](),n()}))}))}[G(202)](e,t=!1){const r=G,n=Z[r(186)](e);e=n?e[r(270)](n[1][r(248)]):e[r(248)]<100&&!t?"":this[r(242)](e);const o=this[r(212)][r(246)](e,r(183));if(n){const e=Array[r(196)](o[r(214)][r(244)]);e[r(262)]();for(const t of e){if(t[r(243)]==Node[r(252)])break;t[r(251)]()}}const i=this[r(213)][r(177)][r(227)][r(197)](this[r(240)][r(238)](o[r(214)]));return this[r(181)]()||this[r(220)](i),this[r(213)][r(177)][r(194)](this[r(213)][r(177)][r(224)](i))}[G(220)](e){const t=G,r=new z.UpcastWriter(this[t(213)][t(260)][t(218)][t(254)]),n=new z.Matcher({name:/^h[1-5]$/}),o=[];let i=!1;for(const r of e)r.is(t(237))&&n[t(231)](r)&&(o[t(188)](r),"h1"==r[t(263)]&&(i=!0));if(i)for(const e of o)r[t(259)]("h"+(parseInt(e[t(263)][1])+1),e)}[G(181)](){const e=G,{data:t,editing:r}=this[e(213)],n=t[e(241)][e(197)](e(249)),o=t[e(197)](t[e(224)](n));return!!r[e(218)][e(180)][e(253)](o)[e(211)]("h1")}[G(207)](e){const t=G;return this[t(213)][t(260)][t(218)][t(180)][t(210)](this[t(257)],e),this[t(257)][t(267)]}[G(242)](e){const t=G,r=e[t(217)]();return r[t(256)](t(176))?r[t(187)](t(239))?r[t(270)](7,r[t(248)]-3):r[t(270)](7):e}}const Q=ee;function Y(){const e=["8529780sEtGiv","879QfvNYT","1122963YkREiZ","isVisible","ck-hidden","10JSCqii","Insert below","6mIeyVJ","Stop","insert","label","stopButton","_CONTENT","AI_","replaceButton","mainAction","locale","extendTemplate","ck-ai-form__toolbar","5843408EDXPns","bindTemplate","1120245kuhrxz","replace","set","1162DZefqP","bind","toUpperCase","11EZIrpk","ck-button-action","tryAgainButton","_createButton","items","Try again","insertButton","319552JKDFgL","REPLACE","18swMHDM","addMany","2718190hfsGBc"];return(Y=function(){return e})()}!function(e,t){const r=ee,n=e();for(;;)try{if(426612===parseInt(r(237))/1*(-parseInt(r(260))/2)+parseInt(r(238))/3+-parseInt(r(270))/4*(-parseInt(r(241))/5)+-parseInt(r(243))/6*(parseInt(r(257))/7)+parseInt(r(255))/8+parseInt(r(272))/9*(parseInt(r(235))/10)+-parseInt(r(263))/11*(parseInt(r(236))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Y);const X={REPLACE:Q(258),INSERT:Q(245)};function ee(e,t){const r=Y();return(ee=function(e,t){return r[e-=235]})(e,t)}class te extends o.ToolbarView{constructor(e){const t=Q;super(e),this[t(259)](t(239),!1),this[t(259)](t(251),X[t(271)]),this[t(250)]=this[t(266)]("",t(264)),this[t(250)][t(261)](t(246)).to(this,t(251),(r=>D(e,t(249)+r[t(262)]()+t(248)))),this[t(269)]=this[t(266)](D(e,t(242))),this[t(265)]=this[t(266)](D(e,t(268))),this[t(247)]=this[t(266)](D(e,t(244)));const r=this[t(256)];this[t(253)]({attributes:{class:[t(254),r.if(t(239),t(240),(e=>!e))]}}),this[t(267)][t(273)]([this[t(250)],this[t(269)],this[t(265)],this[t(247)]])}[Q(266)](e,t){const r=Q,n=new o.ButtonView(this[r(252)]);return n[r(259)]({label:e,class:t||"",isVisible:!0,withText:!0}),n}}const re='<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>',ne=oe;function oe(e,t){const r=ie();return(oe=function(e,t){return r[e-=157]})(e,t)}function ie(){const e=["606hvNPgU","ck-ai-form__content-field","ClipboardItem","bind","left","setStartAfter","-9999px","4642424YUiCJp","check","lastElementChild","setEndBefore","<span>]</span>","absolute",".ck-ai-form__loader","position","ck-ai-form__loader","ck-reset_all-excluded","ck-content","isEnabled"," ck-ai-form__copy-button--copied","element","ck-ai-form__copy-button-wrapper","class","change:value","ck-hidden","_createCopyButton","innerHTML","_copyHTMLToClipboard","isVisible","smooth","setTemplate","mousedown","loaderView","clipboard","text/plain","listenTo","remove","write","_createLoader","2494044airQxN","AI is writing...","firstElementChild","textContent","createElement","appendChild","createRange","style","ck-ai-form__content-area","div","ck-ai-form__copy-button","scrollTo","35855QmIbWp","addRange","change:isProcessing","8813210jvVhJZ","icon","copy","text/html","execCommand","ck-ai-form__content-area-wrapper","contentFieldView","render","focus","body","removeAllRanges","19986498HwbKrR","wheel","execute","ck-ai-form__content-area--processing","1aaiJHp","copyButtonView","Copy","3830667XcTKlU","bindTemplate","appendLoader","querySelector","isProcessing","getSelection","locale","value","863000uJtvbS","<span>[</span>","set","scrollHeight","setContent"];return(ie=function(){return e})()}!function(e,t){const r=oe,n=e();for(;;)try{if(845177===-parseInt(r(214))/1*(parseInt(r(184))/2)+parseInt(r(217))/3+parseInt(r(237))/4+-parseInt(r(196))/5*(-parseInt(r(230))/6)+parseInt(r(199))/7+-parseInt(r(225))/8+-parseInt(r(210))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(ie);class se extends o.View{constructor(e,t=""){const r=oe;super(e),this[r(227)]({value:null,isVisible:!1,isProcessing:!1});const n=this[r(218)];this[r(205)]=new ae(e,t),this[r(215)]=this[r(170)](),this[r(175)]({tag:r(193),attributes:{class:["ck",r(204),n.if(r(173),r(169),(e=>!e))],tabindex:"-1"},children:[{tag:r(193),attributes:{class:["ck",r(192),n.if(r(221),r(213))]},children:[this[r(205)],{tag:r(193),attributes:{class:["ck",r(166)]},children:[this[r(215)]]}]}]})}[ne(206)](){const e=ne;super[e(206)](),this[e(224)]&&this[e(205)][e(229)](this[e(224)]);let t=!1;this.on(e(168),((r,n,o)=>{const i=e,s=!this[i(205)][i(165)][i(220)](i(158));this[i(205)][i(229)](o),this[i(221)]&&s&&!t&&this[i(165)][i(195)]({top:this[i(165)][i(228)],behavior:i(174)})})),this.on(e(198),((r,n,o)=>{const i=e;t=!1,o?(this[i(224)]=null,this[i(205)][i(219)]()):this[i(224)]||this[i(205)][i(229)]("")})),this[e(180)](this[e(165)],e(211),(()=>{t=!0})),this[e(180)](this[e(165)],e(176),(()=>{t=!0}))}[ne(207)](){const e=ne;this[e(165)][e(207)]()}[ne(170)](){const e=ne,r=this[e(223)],n=new o.ButtonView(this[e(223)]),i=e(194);return n[e(227)]({label:D(r,e(216)),icon:re,class:i,tooltip:!0}),n[e(233)](e(173)).to(this,e(224),(e=>!!e)),n[e(233)](e(163)).to(this,e(221),(e=>!e)),n.on(e(212),(()=>{const r=e;this[r(172)](this[r(205)][r(165)]),n[r(200)]=t.icons[r(238)],n[r(167)]=i+r(164),this[r(207)](),setTimeout((()=>{const e=r;n[e(200)]=re,n[e(167)]=i}),1e3)})),n}[ne(172)](t){const r=ne,{window:n,document:o}=e.global;if(n[r(232)]){const{Blob:e,ClipboardItem:o}=n,i=[new o({"text/html":new e([t[r(171)]],{type:r(202)}),"text/plain":new e([t[r(187)]||""],{type:r(179)})})];navigator[r(178)][r(182)](i)}else{const e=o[r(188)](r(193));e[r(191)][r(159)]=r(157),e[r(191)][r(234)]=r(236),e[r(171)]=r(226)+t[r(171)]+r(241),o[r(208)][r(189)](e);const i=o[r(190)]();i[r(235)](e[r(186)]),i[r(240)](e[r(239)]);const s=n[r(222)]();s[r(209)](),s[r(197)](i),o[r(203)](r(201)),e[r(181)]()}}}class ae extends o.View{constructor(e,t=""){const r=ne;super(e),this[r(177)]=this[r(183)](),this[r(175)]({tag:r(193),attributes:{class:["ck",r(162),t,r(161),r(231)]}})}[ne(229)](e){const t=ne;this[t(165)][t(171)]=e}[ne(219)](){const e=ne;this[e(165)][e(189)](this[e(177)][e(165)])}[ne(183)](){const e=ne,t=new o.View,r=this[e(223)],n=new o.SpinnerView;return n[e(173)]=!0,t[e(175)]({tag:e(193),attributes:{class:["ck",e(160)]},children:[n,{text:D(r,e(185))}]}),t[e(206)](),t}}!function(e,t){const r=ue,n=e();for(;;)try{if(538166===parseInt(r(384))/1+-parseInt(r(381))/2+parseInt(r(390))/3+-parseInt(r(382))/4+parseInt(r(391))/5+-parseInt(r(388))/6+parseInt(r(389))/7)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(le);class ce extends o.View{constructor(e,t=""){const r=ue;super(e);const n=new o.IconView,i=this[r(380)];this[r(386)](r(385),t),n[r(393)]='<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(383)]({tag:r(387),attributes:{class:["ck",r(392)]},children:[n,{text:i.to(r(385))}]})}}function ue(e,t){const r=le();return(ue=function(e,t){return r[e-=380]})(e,t)}function le(){const e=["1106820Cjfkcd","895328TLjEtg","setTemplate","250770YbhHRB","text","set","div","3162036WlKrdn","3951311zVoCVL","467559GwMDIW","4356590DEHTTd","ck-ai-form__error","content","bindTemplate"];return(le=function(){return e})()}const de=pe;function fe(){const e=["5852693EAedOl","fieldWrapperChildren","bind","uiLanguageDirection","keystrokes","locale","2868bYTdll","rtl","focusFirst","focus","element","target","render","8605yyyxcN","focusableChildren","_createShowHistoryButton","children","213561dwGatf","focusCycler","window","showHistoryButtonView","823800aaxQvB","style","_createSubmitButton","set","history","width","requestAnimationFrame","enter","isVisible","submitButtonView","focusLast","1374976kScoSO","36392120fQkBxj","queryView","History","update","Submit","right","fieldView","maxRows","15FGYAoR","submit","excludeScrollbarsAndBorders","ck-ai-form__submit","add","left","filteredView","value","ck-ai-form__toggle-history","resultsView","isEnabled","fire","isOn","8JMfygy","minRows","execute","1146975uydCVp","isEmpty"];return(fe=function(){return e})()}function pe(e,t){const r=fe();return(pe=function(e,t){return r[e-=262]})(e,t)}!function(e,t){const r=pe,n=e();for(;;)try{if(785267===-parseInt(r(284))/1+-parseInt(r(318))/2+parseInt(r(268))/3*(-parseInt(r(307))/4)+-parseInt(r(299))/5*(-parseInt(r(292))/6)+-parseInt(r(286))/7+-parseInt(r(281))/8*(-parseInt(r(303))/9)+parseInt(r(319))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(fe);class he extends o.AutocompleteView{constructor(e,t){const r=pe;super(e,t),this[r(320)][r(266)][r(282)]=1,this[r(320)][r(266)][r(267)]=3,this[r(316)]=this[r(309)](),this[r(306)]=this[r(301)](),this[r(300)][r(272)](this[r(306)],1),this[r(300)][r(272)](this[r(316)])}[de(298)](){const e=de;super[e(298)](),this[e(320)][e(287)][e(272)](this[e(306)]),this[e(302)][e(272)](this[e(316)]),this[e(290)][e(310)](e(314),((t,r)=>{const n=e;t[n(297)]==this[n(320)][n(266)][n(296)]&&(this[n(269)](),r())}))}[de(309)](){const e=de,t=new o.ButtonView(this[e(291)]),r=this[e(291)];return t[e(310)]({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:D(r,e(264)),isVisible:!0,tooltip:!0,class:e(271)}),t.on(e(283),(()=>{this[e(269)]()})),t[e(288)](e(278)).to(this[e(320)][e(266)],e(285),this,e(278),((e,t)=>!e&&t)),t}[de(301)](){const r=de,n=new o.ButtonView(this[r(291)]),i=this[r(277)],s=this[r(291)];n[r(310)]({label:D(s,r(262)),withText:!1,icon:t.icons[r(311)],tooltip:!0,tooltipPosition:"sw",class:r(276)}),n[r(288)](r(280)).to(i,r(315)),n[r(288)](r(278)).to(this,r(278)),n.on(r(283),(()=>{const e=r;i[e(315)]=!i[e(315)],i[e(315)]?this[e(274)][e(295)]():this[e(295)]()}));const a=()=>{const t=r;e.global[t(305)][t(313)]((()=>{const r=t;if((0,e.isVisible)(this[r(296)])){const t=new e.Rect(this[r(320)][r(266)][r(296)]),o=t[r(312)],i=r(293)===s[r(289)]?r(273):r(265);t[r(270)](),n[r(296)][r(308)][i]=o-t[r(312)]+1+"px"}}))};return this[r(320)][r(266)].on(r(263),a),this.on(r(298),a),n}[de(269)](){const e=de,t=this[e(320)][e(266)][e(296)][e(275)];this[e(279)](e(269),t)}[de(295)](e){const t=de;-1===e?this[t(304)][t(317)]():this[t(304)][t(294)]()}}function ge(){const e=["_createClearHistoryButton","Clear","Prompt history","1584832qwWFsS","1063290jKbQQf","items","historyGroupView","add","clearHistoryButton","5OhdoBJ","execute","children","label","1OGZcHp","7199356ViBAtL","filter","set","7932800JISwkR","fire","delegate","2665557Qrkquh","locale","length","130scxWYU","11402405FSvGSn","2151531WVMMaT","clearHistory"];return(ge=function(){return e})()}const me=ke;function ke(e,t){const r=ge();return(ke=function(e,t){return r[e-=364]})(e,t)}!function(e,t){const r=ke,n=e();for(;;)try{if(943931===parseInt(r(374))/1*(-parseInt(r(364))/2)+parseInt(r(381))/3+parseInt(r(375))/4*(-parseInt(r(370))/5)+parseInt(r(365))/6+-parseInt(r(385))/7+parseInt(r(378))/8+-parseInt(r(386))/9*(-parseInt(r(384))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(ge);class be extends o.ListView{constructor(e){const t=ke;super(e),this[t(369)]=this[t(388)](),this[t(367)]=new o.ListItemGroupView,this[t(367)][t(372)][t(368)](this[t(369)],1),this[t(367)][t(373)]=D(e,t(390)),this[t(367)][t(366)][t(380)](t(371)).to(this),this[t(366)][t(368)](this[t(367)])}[me(376)](){const e=me;let t=0;for(const r of this[e(366)])t+=r[e(366)][e(383)];return{resultsCount:t,totalItemsCount:t}}[me(388)](){const e=me,t=this[e(382)],r=new o.ButtonView(this[e(382)]);return r[e(377)]({label:"("+D(t,e(389))+")",withText:!0}),r.on(e(371),(()=>this[e(379)](e(387)))),r}}function ye(e,t){const r=ve();return(ye=function(e,t){return r[e-=203]})(e,t)}function ve(){const e=["6260220qnacoa","11232856KJpKYu","578997MqCCnR","ck-button__label","set","extendTemplate","210VwIRty","4171fJSBHN","2056857UhUSNB","6ALrBsk","609MLipMo","style","27112ZtnMiI","156SFxvFx","bindTemplate","4789582mRpNPm"];return(ve=function(){return e})()}!function(e,t){const r=ye,n=e();for(;;)try{if(949699===-parseInt(r(216))/1*(-parseInt(r(206))/2)+-parseInt(r(203))/3*(parseInt(r(205))/4)+-parseInt(r(209))/5+parseInt(r(218))/6*(parseInt(r(208))/7)+parseInt(r(210))/8+-parseInt(r(211))/9*(-parseInt(r(215))/10)+-parseInt(r(217))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(ve);class we extends o.HighlightedTextView{constructor(){const e=ye;super(),this[e(213)]({style:void 0,text:void 0,id:void 0});const t=this[e(207)];this[e(214)]({attributes:{class:[e(212)],style:t.to(e(204)),id:t.to("id")}})}}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,Oe=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=Oe.call(e);return n&&(t?e[Pe]=r:delete e[Pe]),o};var Me=Object.prototype.toString;const Ce=function(e){return Me.call(e)};var Le=Ae?Ae.toStringTag:void 0;const je=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Le&&Le in Object(e)?Te(e):Ce(e)};const Ne=function(e){return null!=e&&"object"==typeof e};const Be=function(e){return"symbol"==typeof e||Ne(e)&&"[object Symbol]"==je(e)};var Fe=Ae?Ae.prototype:void 0,De=Fe?Fe.toString:void 0;const Ue=function e(t){if("string"==typeof t)return t;if(Ee(t))return xe(t,e)+"";if(Be(t))return De?De.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r};const $e=function(e){return null==e?"":Ue(e)};const He=function(e){return function(t){return null==e?void 0:e[t]}};const Ve=He({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var qe=/&(?:amp|lt|gt|quot|#39);/g,ze=RegExp(qe.source);const Ge=function(e){return(e=$e(e))&&ze.test(e)?e.replace(qe,Ve):e};function We(){const e=["execute","1683675MjBRne","649eBLTbp","1117917BzGXge","30dopaLF","7385210LGbvLQ","1257108IDhJzW","locale","4457148zeposq","children","153116GFbSfc","fire","261510ioqJFU","prompt","32KtRstl","add","set","2LDjYdS"];return(We=function(){return e})()}function Ze(e,t){const r=We();return(Ze=function(e,t){return r[e-=456]})(e,t)}!function(e,t){const r=Ze,n=e();for(;;)try{if(970908===-parseInt(r(459))/1+parseInt(r(457))/2*(-parseInt(r(464))/3)+-parseInt(r(468))/4*(-parseInt(r(462))/5)+parseInt(r(466))/6+parseInt(r(463))/7+parseInt(r(472))/8*(-parseInt(r(461))/9)+parseInt(r(470))/10*(parseInt(r(460))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(We);class Ke extends o.ListItemView{constructor(e){const t=Ze;super();const r=new we,n=new o.ButtonView(this[t(465)],r);this[t(467)][t(473)](n),n[t(456)]({label:e[t(471)],withText:!0}),n.on(t(458),(()=>{const r=t;this[r(469)](r(458),{value:Ge(e[r(471)])})}))}}function Je(){const e=["toLowerCase","setItem","807uaaBVg","956OEcYfx","last","length","stringify","trim","remove","5RdvPFJ","11msKAhq","prompt","add","7JFlJzY","43104dxiGwg","13eVzQLJ","_saveToSessionStorage","219756DSYjPj","457bmujhP","getItem","CKEditor/AIFormView/PromptHistory","addMany","156NPcSxo","_loadFromSessionStorage","1661598ZcHAtz","1348144ZzLqAD","325870gcOUDq","map","parse"];return(Je=function(){return e})()}const Qe=Ye;function Ye(e,t){const r=Je();return(Ye=function(e,t){return r[e-=199]})(e,t)}!function(e,t){const r=Ye,n=e();for(;;)try{if(102833===-parseInt(r(206))/1*(parseInt(r(210))/2)+parseInt(r(219))/3*(parseInt(r(220))/4)+parseInt(r(226))/5*(parseInt(r(202))/6)+parseInt(r(201))/7*(-parseInt(r(213))/8)+parseInt(r(212))/9+-parseInt(r(214))/10*(-parseInt(r(227))/11)+parseInt(r(205))/12*(parseInt(r(203))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Je);const Xe=Qe(208);class et extends e.Collection{constructor(){const e=Qe;super(),this[e(211)](),this.on(e(200),((t,r)=>{const n=e,o=tt(r[n(199)]);for(const e of this)if(e!=r&&tt(e[n(199)])===o){this[n(225)](e);break}this[n(222)]>20&&this[n(225)](this[n(221)]),this[n(204)]()})),this.on(e(225),(()=>{this[e(204)]()}))}[Qe(211)](){const e=Qe,t=sessionStorage[e(207)](Xe)||"[]";this[e(209)](JSON[e(216)](t))}[Qe(204)](){const e=Qe;sessionStorage[e(218)](Xe,JSON[e(223)](this[e(215)]((e=>e))))}}function tt(e){const t=Qe;return e[t(217)]()[t(224)]()}const rt=He({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});var nt=/[&<>"']/g,ot=RegExp(nt.source);const it=function(e){return(e=$e(e))&&ot.test(e)?e.replace(nt,rt):e},st=ct;function at(){const e=["focusFirst","trim","4355888qzAuWI","tryAgainEvent","ck-hidden","9YwRbsV","copyButtonView","div","insertButton","Ask AI to improve generated text","toolbar","isEnabled","bindTemplate","listenTo","tab","queryView","items","isProcessing","focusNext","stop","set","forwardCycle","prompt","promptView","_focusables","mainAction","text","handleError","isError","clearHistory","ck-ai-form","submit","contentArea","insertContentBelow","delegate","finishProcessing","label","_createHistoryView","REPLACE","stopButton","stopProcessing","errorView","1367232AtRdhO","locale","createCollection","1233851zfsENd","2FSmVcg","bind","5505542MwssOB","add","focus","AI_ERROR_FAILED","keystrokes","historyGroupView","shift + tab","bindTo","3448gMWPgg","value","3490PQGjvF","reset","backwardCycle","_createToolbar","focusPrevious","2536143eqksEJ","high","startProcessing","Ask AI to edit or generate","_promptHistory","setTemplate","Ask AI and your prompts will be listed here for you to use later.","clear","replaceButton","search","render","ck-ai-form-content","focusLast","element","_createPromptView","submitPrompt","fieldView","tryAgainButton","fire","focusCycler","Empty history","replaceContent","focusTracker","2886210xynRxi","execute","isVisible"];return(at=function(){return e})()}function ct(e,t){const r=at();return(ct=function(e,t){return r[e-=170]})(e,t)}!function(e,t){const r=ct,n=e();for(;;)try{if(857339===parseInt(r(209))/1*(-parseInt(r(210))/2)+parseInt(r(227))/3+parseInt(r(220))/4*(-parseInt(r(222))/5)+parseInt(r(206))/6+parseInt(r(212))/7+parseInt(r(255))/8*(parseInt(r(258))/9)+parseInt(r(250))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(at);class ut extends o.View{constructor(t,r,n=""){const i=ct;super(t),this[i(184)](i(175),!0),this[i(184)](i(181),!1),this[i(184)](i(186),""),this[i(184)](i(221),""),this[i(184)](i(192),!1),this[i(184)](i(189),X[i(202)]),this[i(231)]=new et,this[i(205)]=new ce(t),this[i(196)]=new se(t,n),this[i(196)][i(211)](i(181)).to(this),this[i(196)][i(211)](i(221)).to(this),this[i(174)]=this[i(225)](),this[i(174)][i(211)](i(189)).to(this),this[i(187)]=this[i(241)](),this[i(249)]=new e.FocusTracker,this[i(216)]=new e.KeystrokeHandler,this[i(188)]=this[i(208)]([this[i(196)],this[i(196)][i(170)],this[i(174)],this[i(187)]]),this[i(246)]=new o.FocusCycler({focusables:this[i(188)],focusTracker:this[i(249)],keystrokeHandler:this[i(216)],actions:{focusPrevious:i(218),focusNext:i(178)}}),this[i(187)][i(246)].on(i(185),(e=>{const t=i;this[t(246)][t(182)](),e[t(183)]()})),this[i(187)][i(246)].on(i(224),(e=>{const t=i;this[t(246)][t(226)](),e[t(183)]()})),this[i(187)][i(179)][i(243)][i(211)](i(221)).to(this,i(186));const s=this[i(176)];this[i(232)]({tag:i(171),attributes:{class:["ck",i(194),r],tabindex:"-1"},children:[{tag:i(171),attributes:{class:["ck",i(238)]},children:[{tag:i(171),attributes:{class:[s.if(i(192),i(257),(e=>!e))]},children:[this[i(205)]]},this[i(196)],this[i(174)],this[i(187)]]}]})}[st(237)](){const e=st;super[e(237)](),this[e(249)][e(213)](this[e(196)][e(240)]),this[e(249)][e(213)](this[e(196)][e(170)][e(240)]),this[e(249)][e(213)](this[e(174)][e(240)]),this[e(249)][e(213)](this[e(187)][e(240)]),this[e(216)][e(177)](this[e(240)])}[st(214)](e=1){const t=st;-1===e?this[t(246)][t(239)]():this[t(246)][t(253)]()}[st(223)](){const e=st;this[e(186)]="",this[e(221)]="",this[e(192)]=!1,this[e(187)][e(223)](),this[e(196)][e(252)]=!1,this[e(174)][e(252)]=!1}[st(241)](){const e=st,t=this[e(207)],r=new he(t,{queryView:{label:D(t,e(230)),creator:o.createLabeledTextarea,showIcon:!1,showResetButton:!1},infoView:{text:{noSearchableItems:{primary:D(t,e(247)),secondary:D(t,e(233))}}},filteredView:this[e(201)](),queryMinChars:1/0,resetOnBlur:!1});return r[e(211)](e(175)).to(this,e(175),this,e(181),((e,t)=>e&&!t)),this[e(177)](r,e(195),((t,r)=>{const n=e;this[n(186)]=r;const o=it(r);this[n(245)](n(242),o),r[n(254)]()&&this[n(231)][n(213)]({prompt:o},0)}),{priority:e(228)}),r}[st(201)](){const e=st,t=new be(this[e(207)]);return t[e(217)][e(180)][e(219)](this[e(231)]).as(Ke),t.on(e(193),(()=>{const t=e;this[t(231)][t(234)](),this[t(187)][t(236)](""),this[t(187)][t(214)]()})),t}[st(225)](){const e=st,t=new te(this[e(207)]);return t[e(235)][e(211)](e(175)).to(this,e(175),this,e(181),this,e(221),((e,t,r)=>e&&!t&&!!r)),t[e(235)][e(198)](e(251)).to(this,e(248)),t[e(172)][e(211)](e(175)).to(this,e(175),this,e(181),this,e(221),((e,t,r)=>e&&!t&&!!r)),t[e(172)][e(198)](e(251)).to(this,e(197)),t[e(244)][e(211)](e(175)).to(this,e(175),this,e(181),((e,t)=>e&&!t)),t[e(244)][e(198)](e(251)).to(this,e(256)),t[e(203)][e(211)](e(175)).to(this,e(181)),t[e(203)][e(198)](e(251)).to(this,e(204)),t}[st(229)](){const e=st;this[e(221)]="",this[e(192)]=!1,this[e(181)]=!0,this[e(196)][e(252)]=!0,this[e(174)][e(252)]=!0,this[e(196)][e(214)]()}[st(199)](){const e=st,t=this[e(207)];this[e(181)]=!1,this[e(186)]="",this[e(187)][e(223)](),this[e(221)]&&(this[e(187)][e(179)][e(200)]=D(t,e(173)))}[st(191)](e){const t=st,r=this[t(207)];this[t(199)](),this[t(192)]=!0,this[t(205)][t(190)]=e||D(r,t(215)),this[t(221)]||(this[t(196)][t(252)]=!1)}}function lt(){const e=["labelView","commandDefinition","filter","2298xfOmgD","9hMQYoM","319413oQMjxj","role","items","2303MzfdwJ","children","length","match","63TWdTyl","change:enabledCommandsIds","includes","4131314CFjVbR","set","highlightText","listbox","4JoKGqA","enabledCommandsIds","first","isVisible","label","get","508580LeZMrg","1457704DXQUJF","isEnabled","525920lzLonM","1268NonttU"];return(lt=function(){return e})()}const dt=ft;function ft(e,t){const r=lt();return(ft=function(e,t){return r[e-=208]})(e,t)}!function(e,t){const r=ft,n=e();for(;;)try{if(118629===-parseInt(r(222))/1*(parseInt(r(209))/2)+-parseInt(r(215))/3*(parseInt(r(229))/4)+-parseInt(r(208))/5+-parseInt(r(213))/6*(-parseInt(r(218))/7)+parseInt(r(236))/8*(-parseInt(r(214))/9)+parseInt(r(235))/10+parseInt(r(225))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(lt);class pt extends o.ListView{constructor(e){const t=ft;super(e),this[t(216)]=t(228),this[t(226)](t(230),[]),this.on(t(223),(()=>{const e=t;for(const t of this[e(217)])if(t instanceof o.ListItemGroupView)for(const r of t[e(217)])if(r instanceof Tt){const t=r[e(219)][e(234)](0);this[e(230)][e(224)](r[e(211)].id)?t[e(237)]=!0:t[e(237)]=!1}}))}[dt(212)](e){const t=dt;let r=0,n=0;for(const o of this[t(217)]){const i=o,s=i[t(217)],a=e&&!!i[t(233)][t(221)](e);i[t(210)][t(227)](a?e:null);for(const r of s){const n=r[t(219)][t(231)],o=n[t(210)];if(e){const i=!!n[t(233)][t(221)](e);o[t(227)](i?e:null),r[t(232)]=a||i}else r[t(232)]=!0,o[t(227)](null)}const c=s[t(212)]((e=>e[t(232)]))[t(220)];r+=i[t(217)][t(220)],n+=a?i[t(217)][t(220)]:c,i[t(232)]=a||!!c}return{resultsCount:n,totalItemsCount:r}}}function ht(e,t){const r=mt();return(ht=function(e,t){return r[e-=108]})(e,t)}!function(e,t){const r=ht,n=e();for(;;)try{if(671655===parseInt(r(111))/1*(parseInt(r(119))/2)+parseInt(r(122))/3*(-parseInt(r(113))/4)+parseInt(r(116))/5+-parseInt(r(123))/6+-parseInt(r(114))/7*(-parseInt(r(117))/8)+-parseInt(r(109))/9+parseInt(r(115))/10*(parseInt(r(108))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(mt);class gt extends o.HighlightedTextView{constructor(){const t=ht;super(),this[t(124)](t(118),void 0);const r=this[t(120)];this.id=t(121)+(0,e.uid)(),this[t(110)]({attributes:{class:["ck",t(112)],id:this.id,for:r.to(t(118))}})}}function mt(){const e=["12024450NZuAay","extendTemplate","2682cUGtLn","ck-label","1142884QfErnW","1295emsdxP","18269630ojgtvP","1435345PVGTyV","33016GALRfe","for","542iNnlZD","bindTemplate","ck-editor__label_","3FKexhW","7865538bwFlyg","set","11ZeGVGO"];return(mt=function(){return e})()}const kt='<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 bt=r(3379),yt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(bt.A,yt);bt.A.locals;var vt=r(7181),wt={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(vt.A,wt);vt.A.locals;var _t=r(676),St={injectType:"singletonStyleTag",attributes:{"data-cke":!0},insert:"head",singleton:!0};s()(_t.A,St);_t.A.locals;var At=r(331);const xt=It;function Et(){const e=["from","fire","rawHtml","sort","init","117sZFqln","robotPencil","_dialog","panelView","aiCommands","resultsCount","set","pluginName","media","getRanges","change","ariaLiveAnnouncer","schema","focus","No commands found","fromCharCode","isFlat","menuBar:aiAssistant","465wjgVYf","delegate","%0 commands found","locale","label","ck-ai-assistant-button ","buttonView","editor","push","ai.aiAssistant.contentAreaCssClass","insertContentBelow","AI Assistant","text/html","afterInit","AI Commands","textAdapter","_uiCssClasses","custom","forbiddenHandler","1950277DnaMBG","showFakeVisualSelection","1093587fVQxIg","DataTransfer","_aiAssistantController","hide","prompt","hideUI","updateView","join","command:","7273CpvYNo","execute","get"," ck-ai-assistant-ui_theme","isEnabled","<p>","reset","contentArea","wasMoved","queryView","commandDefinition","ai.useTheme","Error during AI content generation: %0","No commands available","aiAssistant","then","enabledCommandsIds","130488LiSUZR","copy","change:isProcessing","replaceContent","86WZjhGZ","componentFactory","config","search","_aiAdapter","isNaN","trim","scrollTo","AIAssistantUI","_createAIAssistantUIButton","ck-ai-commands-dropdown ","view","30KbeUrR","ck-ai-commands-search","replace","INSERT","items","isOn","length","menuBar:aiCommands","listenTo","showAIAssistant","requiresContent","7767xrXWze","114456mcDGBI","change:value","requires","_initView","Generated content: %0","getRevision","document","8PDDpqY","map","selection","order","query","_formView","errorView","setSelection","text","ai-commands-config-order-collision","fieldView","ai.aiAssistant.commands","710cUIjSq","announce","children","update","_initAriaAiStatusChangeAnnouncements","addMany","getData","polite","REPLACE","showUI","getSelectedElement","context","Search AI command","tableOfContents","getLimitElement","plugins","splice","option","getSelectedBlocks","2536NWyZAd","hideFakeVisualSelection","bind","element","AI is writing","comment","model","commands","currentContext","show","ai.aiAssistant.disabledElements","isCollapsed","getEarlierVisibleRevision","promptView","ck-ai-assistant-ui","EDITOR_TOP_SIDE","change:isError","_forceMarkersCopy","menuitemcheckbox","add","updatePosition","editing","insertContent","define","</p>","change:isOpen"];return(Et=function(){return e})()}function It(e,t){const r=Et();return(It=function(e,t){return r[e-=467]})(e,t)}!function(e,t){const r=It,n=e();for(;;)try{if(188038===-parseInt(r(506))/1*(-parseInt(r(527))/2)+parseInt(r(476))/3*(parseInt(r(589))/4)+parseInt(r(539))/5*(parseInt(r(523))/6)+-parseInt(r(495))/7*(parseInt(r(558))/8)+-parseInt(r(550))/9*(parseInt(r(570))/10)+-parseInt(r(497))/11+parseInt(r(551))/12*(parseInt(r(620))/13))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Et);const Rt=globalThis[xt(498)];class Ot extends t.Plugin{static get[xt(627)](){return xt(535)}static get[xt(553)](){return[At.ClipboardMarkersUtils,C,N,o.Dialog]}constructor(e){const t=xt;super(e),this[t(492)]="",e[t(529)][t(612)](t(599),[t(628),t(617),t(583)]),e[t(529)][t(612)](t(485),""),e[t(529)][t(612)](t(517),!0),this[t(492)]=t(603)+(e[t(529)][t(508)](t(517))?t(509):"")}[xt(619)](){const t=xt,{editor:r}=this;this[t(531)]=r[t(585)][t(508)](N),this[t(622)]=r[t(585)][t(508)](o.Dialog),this[t(563)]=null,r[t(596)][t(608)](t(548),new V(r,r[t(529)][t(508)](t(569))));const n=r[t(596)][t(508)](t(548)),i=r[t(585)][t(508)](C),s=(o,s,a,c)=>{const u=t,l=r[u(595)][u(557)][u(560)];if(c&&l[u(600)]){const t=(0,e.first)(l[u(588)]())||r[u(595)][u(470)][u(584)](l);r[u(595)][u(468)]((e=>{e[u(565)](t,"in")}))}i[u(496)](),n[u(507)](o,s,u(505)+a)};r.ui[t(528)][t(608)](t(624),(e=>{const n=t,a=(0,o.createDropdown)(e),c=Pt(r,s),u=new o.SearchTextView(e,{filteredView:c,queryView:{label:D(e,n(582))},class:n(540),infoView:{text:{notFound:{primary:D(e,n(472))},noSearchableItems:{primary:D(e,n(519))}}}});return u.on(n(530),((e,t)=>{const o=n;t[o(562)]&&t[o(562)][o(545)]&&r.ui[o(469)][o(571)](D(r[o(479)],o(478),t[o(625)]))})),a[n(626)]({class:n(537)+this[n(492)]}),a[n(591)](n(510)).to(c,n(522),(e=>e[n(545)]>0)),a[n(623)][n(572)][n(608)](u),a[n(482)][n(626)]({label:D(e,n(490)),icon:kt,tooltip:!0}),a.on(n(614),((e,t,r)=>{const o=n;r?(u[o(512)](),i[o(496)](!0),c[o(592)][o(534)](0,0)):i[o(590)](!0)})),a})),r.ui[t(528)][t(608)](t(546),(e=>{const n=t,i=new o.MenuBarMenuView(e),a=Pt(r,s);i[n(482)][n(626)]({label:D(e,n(490)),icon:kt}),i[n(591)](n(510)).to(a,n(522),(e=>e[n(545)]>0));const c=new o.MenuBarMenuListView(e);return Ct(r,r[n(529)][n(508)](n(569)))[n(559)]((({groupId:t,groupLabel:a,commands:u})=>{const l=n,d=new o.MenuBarMenuListItemView(e,i),f=new o.MenuBarMenuView(e),p=new o.MenuBarMenuListView(e),h=Ct(r,u)[l(559)]((t=>{const r=l,n=new o.MenuBarMenuListItemView(e,f),i=new o.MenuBarMenuListItemButtonView(e);return i[r(626)]({label:t[r(480)]}),i[r(477)](r(507)).to(f),i.on(r(507),(()=>{const e=r;s(t[e(501)],t[e(480)],t.id,void 0===t[e(549)]||t[e(549)])})),n[r(572)][r(608)](i),n}));f[l(482)][l(626)]({label:a||t}),f[l(477)](l(507)).to(i),p[l(543)][l(575)](h),f[l(623)][l(572)][l(608)](p),d[l(572)][l(608)](f),c[l(543)][l(608)](d)})),i[n(623)][n(572)][n(608)](c),i})),r.ui[t(528)][t(608)](t(520),(()=>{const e=t,r=this[e(536)](o.ButtonView);return r[e(626)]({tooltip:!0,class:e(481)+this[e(492)]}),r})),r.ui[t(528)][t(608)](t(475),(()=>{const e=t,r=this[e(536)](o.MenuBarMenuListItemButtonView);return r[e(626)]({role:e(607)}),r}))}[xt(489)](){!function(e){function r(e){const t=It;return e[t(559)]((e=>String[t(473)](e)))[t(504)]("")}(e=>{const n=It;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,f=0,p=n;for(;p<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])][f]<<24,f+=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&&p<t;)s=p>>2,c=p%4,u[s][c]=i[d],l[e-s][c]=i[d++],p++}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=p(i),a=0,f(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 f(e){for(let t=15;t>=0;t--){if(255!==e[t]){e[t]++;break}e[t]=0}}function p(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[y()]=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=It;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(556)](0),s=o[n(601)](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(521)]((()=>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[y()]=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=It;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(532)](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=It;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(532)](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(581)]:e[n(483)],f=r([52,48,52,56,49,52,48,52]),p=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]),h=d[n(529)][n(508)](r([108,105,99,101,110,115,101,75,101,121])),g=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(494)]&&o[e[t(494)]]()}(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(f)/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])?v(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])]((()=>{v(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=y();return d[t]=e,e}function y(){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>=p[r([108,101,110,103,116,104])]&&(o-=p[r([108,101,110,103,116,104])]),t+=p[o]}return t}function v(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)}g&&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}}(h),g)})(e)}(this)}[xt(579)](e="",t="",r=xt(493)){const n=xt,i=this[n(483)],s=i[n(610)][n(538)],a=i[n(585)][n(508)](C),c=i[n(585)][n(508)](At.ClipboardMarkersUtils);a[n(496)]();const u=new Rt,l=new ClipboardEvent(n(524),{clipboardData:u}),d=new z.DataTransfer(u),f=new z.DomEventData(s,l,{dataTransfer:d});c[n(606)](n(594),(()=>{const e=n;s[e(557)][e(616)](e(524),f)})),this[n(563)]||(this[n(554)](),this[n(499)]=new J(i,this[n(531)][n(491)],this[n(563)]));let p=d[n(576)](n(488));const h=i[n(595)][n(557)][n(560)],g=Array[n(615)](h[n(467)]());1===g[n(545)]&&g[0][n(474)]&&!h[n(580)]()&&""!==p[n(541)](/&nbsp;/g,"")[n(533)]()&&(p=n(511)+p+n(613)),this[n(499)][n(503)]({actionId:r,query:e,htmlContent:p,label:t,mainActionLabel:X[i[n(595)][n(557)][n(560)][n(600)]?n(542):n(578)]}),n(520)!==this[n(622)].id?this[n(622)][n(598)]({id:n(520),icon:I[n(621)],title:D(this[n(483)][n(479)],n(487)),content:this[n(563)],position:o.DialogViewPosition[n(604)],onShow:()=>{const e=n;this[e(563)][e(471)]()},onHide:()=>{const e=n;this[e(499)][e(512)](),a[e(590)]()}}):this[n(622)][n(538)][n(514)]||this[n(622)][n(538)][n(609)]()}[xt(502)](){const e=xt;this[e(622)][e(500)]()}[xt(536)](e){const t=xt,r=this[t(483)],n=r[t(596)][t(508)](t(548)),o=new e(r[t(479)]);return o[t(626)]({label:D(r[t(479)],t(487)),icon:I[t(621)],isToggleable:!0}),o[t(591)](t(510)).to(n),o[t(591)](t(544)).to(this[t(622)],"id",(e=>t(520)===e)),this[t(547)](o,t(507),(()=>{const e=t;o[e(544)]?this[e(502)]():n[e(507)]()})),o}[xt(554)](){const e=xt,t=this[e(483)][e(585)][e(508)](C);this[e(563)]=new ut(this[e(483)][e(479)],this[e(492)],this[e(483)][e(529)][e(508)](e(485))),this[e(563)].on(e(552),(()=>{const t=e;this[t(622)][t(538)][t(514)]||this[t(622)][t(538)][t(609)]()})),this[e(563)][e(602)][e(515)][e(568)].on(e(573),(()=>{const t=e;this[t(622)][t(538)][t(514)]||this[t(622)][t(538)][t(609)]()})),this[e(547)](this[e(563)],e(526),(()=>{const r=e;t[r(611)](this[r(499)][r(597)]),this[r(502)]()})),this[e(547)](this[e(563)],e(486),(()=>{const r=e;t[r(486)](this[r(499)][r(597)]),this[r(502)]()})),this[e(574)]()}[xt(574)](){const e=xt,{locale:t,ui:{ariaLiveAnnouncer:r}}=this[e(483)];this[e(563)][e(513)].on(e(525),((n,o,i)=>{const s=e,a=this[s(499)][s(597)];i?r[s(571)](D(t,s(593))):a&&r[s(571)](D(t,s(555),a),{politeness:s(577),isUnsafeHTML:!0})})),this[e(563)].on(e(605),((n,o,i)=>{const s=e;if(i){const e=this[s(563)][s(564)][s(566)];r[s(571)](D(t,s(518),e))}}))}}function Pt(e,t){const r=xt,n=new pt(e[r(479)]),i=Ct(e,e[r(529)][r(508)](r(569)))[r(559)]((({groupId:n,groupLabel:i,commands:s})=>{const a=r,c=Ct(e,s)[a(559)]((r=>function(e,t,r){const n=a,i=new Tt(e,r),s=new we,c=new o.ButtonView(e,s);return i[n(572)][n(608)](c),c[n(626)]({label:r[n(480)],withText:!0,role:n(587)}),c.on(n(507),(()=>{const e=n;t(r[e(501)],r[e(480)],r.id,void 0===r[e(549)]||r[e(549)])})),i}(e[a(479)],t,r)));return function(e,t,r){const n=a,i=new o.ListItemGroupView(e,new gt);return i[n(480)]=t,i[n(543)][n(575)](r),i}(e[a(479)],i||n,c)}));return n[r(543)][r(575)](i),n[r(591)](r(522)).to(e[r(596)][r(508)](r(548)),r(522)),n}class Tt extends o.ListItemView{constructor(e,t){const r=xt;super(e),this[r(516)]=t}}function Mt(e,t){const r=xt;return void 0!==e[r(561)]&&void 0===t[r(561)]?1:void 0===e[r(561)]&&void 0!==t[r(561)]?-1:void 0!==e[r(561)]&&void 0!==t[r(561)]?e[r(561)]-t[r(561)]:0}function Ct(t,r){const n=xt;r[n(618)](Mt);const o={},i=[];for(const s of r)if(void 0!==s[n(561)]){if(s[n(561)]in o)throw new e.CKEditorError(n(567),t,{conflictingDefinitions:[s,o[s[n(561)]]]});o[s[n(561)]]=s,i[n(586)](s[n(561)],0,s)}else i[n(484)](s);return i}const Lt=Nt;function jt(){const e=["groupId","summarize","editor","7LqrtJK","Confident","simplifyLanguage","Fix spelling mistakes, use proper grammar and apply good writing practices. Do not lose the original meaning.","Translate the content to Simplified Chinese language.","Simplified Chinese","German","Arabic","Legal","Translate","Improve using casual, informal language to convey a casual conversation with a real person.","Translate to %0","Journalism","business","push","Rewrite this content as a legal professional using valid legal terminology.","info","licenseKey","translateSpanish","Translate the content to Spanish language.","makeShorter","Generate from selection","define","friendly","Hindi","professional","set","generate","commands","2822610VdILLp","pluginName","ai.aiAssistant.extraCommandGroups","editOrReview","6984345ioaoaQ","Remove any repetitive, redundant, or non-essential writing in this content without changing the meaning or losing any key information.","4299892BEJACs","translateEnglish","journalism","aiLicenseKeyInvalid","Continue","Improve using friendly, comforting language, to convey understanding and empathy.","makeLonger","Friendly","config","Edit or review","17036802KrzyLb","translateArabic","ai-invalid-license-key","4993740AzZAjW","direct","Poetic","Portuguese","4567576WzQoFJ","Translate the content to Arabic language.","translateHindi","translateFrench","changeTone","translateChinese","Simplify language","Rewrite this content as a poem using poetic techniques without losing the original meaning.","confident","Spanish","Improve using compelling, optimistic language to convey confidence in the writing.","French","concat","_licenseKeyCheckInterval","Summarize this content into one paragraph of text. Include only the key ideas and conclusions. Keep it short. Do not keep original text formatting.","requires","Improve using polished, formal, and respectful language to convey professional expertise and competence.","English","init","Simplify the writing style of this content and reduce the complexity, so that the content is easy to understand.","22lvlFLu","continue","includes","get","improveWriting","ai.aiAssistant.removeCommands","poetic","ai-trial-license-key-reached-limit-changes","Start with the provided content and write at the end of it continuing this topic. Keep the added part short.","Change tone","forEach","Translate the content to German language.","locale","AIAssistant","Make longer","aiLicenseKeyValid","filter","Rewrite this content as a business professional with formal language.","translatePortuguese","Rewrite this content as a journalist using engaging language to convey the importance of the information.","73058VwgNNU","changeStyle","Direct","destroy","Improve using direct language, using only the essential information.","translate","Translate the content to French language.","casual","Business","Make shorter","Translate the content to English language.","Improve writing","translateGerman","Professional","aiLicenseKeyTrial","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.","ai.aiAssistant.commands","Change style","aiLicenseKeyTrialLimit:operations","Translate the content to Hindi language.","find","Summarize","Improve this content by using descriptive language and inserting more information and more detailed explanations.","Casual","legal","Translate the content to Portuguese language."];return(jt=function(){return e})()}function Nt(e,t){const r=jt();return(Nt=function(e,t){return r[e-=186]})(e,t)}!function(e,t){const r=Nt,n=e();for(;;)try{if(904301===-parseInt(r(198))/1*(-parseInt(r(218))/2)+parseInt(r(276))/3+-parseInt(r(282))/4+-parseInt(r(280))/5+-parseInt(r(295))/6+parseInt(r(247))/7*(parseInt(r(299))/8)+parseInt(r(292))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(jt);class Bt extends t.Plugin{static get[Lt(193)](){return[Ot,C]}static get[Lt(277)](){return Lt(211)}constructor(e){const t=Lt;super(e);const r=e[t(290)];r[t(269)](t(234),function(e){const t=Lt;return[{groupId:t(279),groupLabel:D(e,t(291)),commands:[{id:t(202),label:D(e,t(229)),prompt:t(250)},{id:t(267),label:D(e,t(227)),prompt:t(281)},{id:t(288),label:D(e,t(212)),prompt:t(240)},{id:t(249),label:D(e,t(305)),prompt:t(197)}]},{groupId:t(274),groupLabel:D(e,t(268)),commands:[{id:t(245),label:D(e,t(239)),prompt:t(192)},{id:t(199),label:D(e,t(286)),prompt:t(206)}]},{groupId:t(303),groupLabel:D(e,t(207)),commands:[{id:t(272),label:D(e,t(231)),prompt:t(194)},{id:t(225),label:D(e,t(241)),prompt:t(257)},{id:t(296),label:D(e,t(220)),prompt:t(222)},{id:t(186),label:D(e,t(248)),prompt:t(188)},{id:t(270),label:D(e,t(289)),prompt:t(287)}]},{groupId:t(219),groupLabel:D(e,t(235)),commands:[{id:t(260),label:D(e,t(226)),prompt:t(215)},{id:t(242),label:D(e,t(255)),prompt:t(262)},{id:t(284),label:D(e,t(259)),prompt:t(217)},{id:t(204),label:D(e,t(297)),prompt:t(306)}]},{groupId:t(223),groupLabel:D(e,t(256)),commands:[{id:t(283),label:D(e,t(258),[D(e,t(195))]),prompt:t(228)},{id:t(265),label:D(e,t(258),[D(e,t(187))]),prompt:t(266)},{id:t(216),label:D(e,t(258),[D(e,t(298))]),prompt:t(243)},{id:t(230),label:D(e,t(258),[D(e,t(253))]),prompt:t(209)},{id:t(302),label:D(e,t(258),[D(e,t(189))]),prompt:t(224)},{id:t(304),label:D(e,t(258),[D(e,t(252))]),prompt:t(251)},{id:t(301),label:D(e,t(258),[D(e,t(271))]),prompt:t(237)},{id:t(293),label:D(e,t(258),[D(e,t(254))]),prompt:t(300)}]}]}(e[t(210)])),r[t(269)](t(278),[]),r[t(269)](t(203),[]);const n=r[t(201)](t(234)),o=r[t(201)](t(278)),i=r[t(201)](t(203));o[t(208)]((e=>{const r=t,o=n[r(238)]((t=>t[r(244)]===e[r(244)]));o?o[r(275)]=o[r(275)][r(190)](e[r(275)]):n[r(261)](e)})),n[t(208)]((e=>{const r=t;e[r(275)]=e[r(275)][r(214)]((e=>!i[r(200)](e.id)))})),r[t(273)](t(234),n)}[Lt(196)](){const t=Lt,r=this[t(246)];this[t(264)]=r[t(290)][t(201)](t(264)),this[t(191)]=setInterval((()=>{const n=t;let o;for(const e in r){const t=e,i=r[t];if(n(232)===i||n(285)===i||n(213)===i||n(236)===i){delete r[t],o=i;break}}if(n(285)===o)throw clearInterval(this[n(191)]),new e.CKEditorError(n(294),null);if(n(232)===o&&console[n(263)](n(233)),n(236)===o)throw clearInterval(this[n(191)]),new e.CKEditorError(n(205),null);n(213)===o&&clearInterval(this[n(191)])}),1e3)}[Lt(221)](){const e=Lt;this[e(191)]&&clearInterval(this[e(191)])}}const Ft=Ut;function Dt(){const e=["textAdapter","aborted","object","editor","1384yBcbtf","2joPOLv","application/json","catch","16999873GNtnfx","signal","AbortError","locale","10SSolCl","AI_ERROR_GET_HEADERS","8xLNMDN","resolve","_prepareRequestParameters","_prepareRequestHeaders","AI_ERROR_GET_PARAMETERS","makeRequest","assign","abort","reject","name","3154305ooZHIg","1842996RNzNhr","plugins","requires","aitextadapter-send-request-failed","3850713BaiQzE","init","abortController","get","701429aBWxcB","error","10895aJQQwd","1597638HOQBrE","sendRequest"];return(Dt=function(){return e})()}function Ut(e,t){const r=Dt();return(Ut=function(e,t){return r[e-=412]})(e,t)}!function(e,t){const r=Ut,n=e();for(;;)try{if(389086===parseInt(r(441))/1*(parseInt(r(413))/2)+-parseInt(r(444))/3+-parseInt(r(412))/4*(parseInt(r(443))/5)+parseInt(r(433))/6+-parseInt(r(432))/7*(parseInt(r(422))/8)+parseInt(r(437))/9*(-parseInt(r(420))/10)+parseInt(r(416))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Dt);class $t extends t.Plugin{static get[Ft(435)](){return[N]}constructor(e){const t=Ft;super(e),this[t(439)]=new AbortController}[Ft(438)](){const e=Ft;this[e(449)][e(434)][e(440)](N)[e(446)]=this}[Ft(429)](){const e=Ft;this[e(439)][e(417)][e(447)]||(this[e(439)][e(429)](),this[e(439)]=new AbortController)}async[Ft(427)](t){const r=Ft;return this[r(445)](t)[r(415)]((t=>{const n=r;if(t instanceof F)return Promise[n(430)](t);if(n(418)==t[n(431)])return Promise[n(423)]();throw console[n(442)](t),new e.CKEditorError(n(436),null)}))}async[Ft(425)](e,t){const r=Ft,n=this[r(449)][r(419)],o={"Content-Type":r(414)};if(r(448)==typeof e)Object[r(428)](o,e);else if(e)try{const n=await e(t);Object[r(428)](o,n)}catch(e){return Promise[r(430)](new F(D(n,r(421))))}return o}async[Ft(424)](e,t){const r=Ft,n=this[r(449)][r(419)];if(r(448)==typeof e)return e;try{return await e(t)}catch(e){return Promise[r(430)](new F(D(n,r(426))))}}}function Ht(){const e=["stringify","body","system","sendRequest","13315XLmaCC","https://api.openai.com/v1/chat/completions","length","json","read","ai.openAI.requestParameters","delta","6gYgBiy","\nYou must keep the text formatting.\n\nContent:\n","signal","define","user","gpt-3.5-turbo","context_length_exceeded","AI_ERROR_CONTEXT_LENGTH","join","POST","choices","get","Instruction:\n","_prepareRequestParameters","1814518CzIBog","split","abortController","_readStaticResponse","includes","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.","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.","resolve","OpenAITextAdapter","filter","map","5352993hQMgID","reject","3982312XumuUH","message","AI_ERROR_MODERATION","12616227vVAlNL","locale","733788sTxdqV","editor","51015850rJSrcD","text","config","_requestParameters","_isBufferIncomplete","14CoIZwG","_cleanUpData","parse","_prepareRequestHeaders","_apiUrl","content","ai.openAI.apiUrl","stream","decode","[DONE]","getReader","Moderation","ai.openAI.requestHeaders","prepareMessages","_requestHeaders","pluginName","2NVEPLU","_readStreamableResponse","replace","data: "];return(Ht=function(){return e})()}function Vt(e,t){const r=Ht();return(Vt=function(e,t){return r[e-=150]})(e,t)}const qt=Vt;!function(e,t){const r=Vt,n=e();for(;;)try{if(915727===-parseInt(r(210))/1*(parseInt(r(181))/2)+-parseInt(r(151))/3+-parseInt(r(158))/4+-parseInt(r(189))/5*(-parseInt(r(196))/6)+parseInt(r(165))/7*(parseInt(r(153))/8)+-parseInt(r(156))/9+parseInt(r(160))/10)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Ht);class zt extends $t{static get[qt(180)](){return qt(218)}constructor(e){const t=qt;super(e),e[t(162)][t(199)](t(171),t(190)),e[t(162)][t(207)](t(194))||e[t(162)][t(199)](t(194),{model:t(201),max_tokens:2e3,temperature:1,top_p:1,stream:!0}),this[t(169)]=e[t(162)][t(207)](t(171)),this[t(179)]=e[t(162)][t(207)](t(177))||{},this[t(163)]=e[t(162)][t(207)](t(194))}async[qt(188)]({query:e,context:t,onData:r,actionId:n}){const o=qt,i=this[o(159)][o(157)],s=await this[o(178)](e,t,n),a=await this[o(168)](this[o(179)],n),c=await this[o(209)](this[o(163)],n),u={messages:s,...c},l={method:o(205),headers:a,body:JSON[o(185)](u),signal:this[o(212)][o(198)]},d=await fetch(this[o(169)],l);if(d.ok)return c[o(172)]?await this[o(182)](d,r):await this[o(213)](d,r),Promise[o(217)]();{const e=await d[o(161)]();return e[o(214)](o(202))?Promise[o(152)](new F(D(i,o(203)))):e[o(214)](o(176))?Promise[o(152)](new F(D(i,o(155)))):Promise[o(152)](new Error(e))}}async[qt(178)](e,t,r){const n=qt;let o,i;return t?(o=n(216),i=n(208)+e+n(197)+t):(o=n(215),i=e),[{role:n(187),content:o},{role:n(200),content:i}]}async[qt(182)](e,t){const r=qt,n=e[r(186)][r(175)](),o=new TextDecoder;let i="",s="",a="",c=!1;for(;!c;){const{done:e,value:u}=await n[r(193)](),l=i+o[r(173)](u);let d="";c=e;try{d=this[r(166)](l),i=""}catch(e){i=l;continue}s+=d,!c&&this[r(164)](s)||s&&(a+=s,s="",t(a))}return Promise[r(217)]()}async[qt(213)](e,t){const r=qt;return t((await e[r(192)]())[r(206)][0][r(154)][r(170)]),Promise[r(217)]()}[qt(164)](e){const t=qt,r=e[t(211)]("<")[t(191)]!==e[t(211)](">")[t(191)],n=e[t(191)]<30;return r&&n}[qt(166)](e){const t=qt;return e[t(211)](/\n(?![^{]*\})/g)[t(150)]((e=>e[t(183)](t(184),"")))[t(219)]((e=>e&&e[t(191)]>0&&t(174)!==e))[t(150)]((e=>{const r=t,{choices:n}=JSON[r(167)](e);if(n[0]&&n[0][r(195)]&&n[0][r(195)][r(170)])return n[0][r(195)][r(170)]}))[t(219)]((e=>e))[t(204)]("")}}const Gt=e=>{let t=e.httpHandler;return{setHttpHandler(e){t=e},httpHandler:()=>t,updateHttpClientConfig(e,r){t.updateHttpClientConfig(e,r)},httpHandlerConfigs:()=>t.httpHandlerConfigs()}};var Wt,Zt,Kt,Jt;!function(e){e.HEADER="header",e.QUERY="query"}(Wt||(Wt={})),function(e){e.HEADER="header",e.QUERY="query"}(Zt||(Zt={})),function(e){e.HTTP="http",e.HTTPS="https"}(Kt||(Kt={})),function(e){e.MD5="md5",e.CRC32="crc32",e.CRC32C="crc32c",e.SHA1="sha1",e.SHA256="sha256"}(Jt||(Jt={}));var Qt;!function(e){e[e.HEADER=0]="HEADER",e[e.TRAILER=1]="TRAILER"}(Qt||(Qt={}));const Yt="__smithy_context";var Xt,er;!function(e){e.PROFILE="profile",e.SSO_SESSION="sso-session",e.SERVICES="services"}(Xt||(Xt={})),function(e){e.HTTP_0_9="http/0.9",e.HTTP_1_0="http/1.0",e.TDS_8_0="tds/8.0"}(er||(er={}));class tr{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 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(){const e=new tr({...this,headers:{...this.headers}});var t;return e.query&&(e.query=(t=e.query,Object.keys(t).reduce(((e,r)=>{const n=t[r];return{...e,[r]:Array.isArray(n)?[...n]:n}}),{}))),e}}class rr{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 nr={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},or=e=>({applyToStack:t=>{t.add((e=>t=>async r=>{if(!tr.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),nr)}}),ir={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},sr="X-Amzn-Trace-Id",ar={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"},cr=e=>({applyToStack:t=>{t.add((e=>t=>async r=>{const{request:n}=r;if(!tr.isInstance(n)||"node"!==e.runtime||n.headers.hasOwnProperty(sr))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[sr]=i),t({...r,request:n})})(e),ar)}});Error;const ur=(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)},lr={},dr={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();1===t.length&&(t=`0${t}`),lr[e]=t,dr[t]=e}function fr(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 dr))throw new Error(`Cannot decode unrecognized sequence ${n} as hexadecimal`);t[r/2]=dr[n]}return t}function pr(e){let t="";for(let r=0;r<e.byteLength;r++)t+=lr[e[r]];return t}const hr=e=>{if("function"==typeof e)return e;const t=Promise.resolve(e);return()=>t},gr=e=>encodeURIComponent(e).replace(/[!'()*]/g,mr),mr=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`,kr=e=>(new TextEncoder).encode(e),br=e=>"string"==typeof e?kr(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),yr="X-Amz-Date",vr="X-Amz-Signature",wr="X-Amz-Security-Token",_r="authorization",Sr=yr.toLowerCase(),Ar=[_r,Sr,"date"],xr=vr.toLowerCase(),Er="x-amz-content-sha256",Ir=wr.toLowerCase(),Rr={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},Or=/^proxy-/,Pr=/^sec-/,Tr="AWS4-HMAC-SHA256",Mr="AWS4-HMAC-SHA256-PAYLOAD",Cr="aws4_request",Lr={},jr=[],Nr=(e,t,r)=>`${e}/${t}/${r}/${Cr}`,Br=(e,t,r)=>{const n=new e(t);return n.update(br(r)),n.digest()},Fr=({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 Rr||t?.has(i)||Or.test(i)||Pr.test(i))&&(!r||r&&!r.has(i))||(n[i]=e[o].trim().replace(/\s+/g," "))}return n},Dr=async({headers:e,body:t},r)=>{for(const t of Object.keys(e))if(t.toLowerCase()===Er)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(br(t)),pr(await e.digest())}var n;return"UNSIGNED-PAYLOAD"};class Ur{format(e){const t=[];for(const r of Object.keys(e)){const n=kr(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=kr(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(Vr.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!Hr.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(fr(e.value.replace(/\-/g,"")),1),l}}}var $r;!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"}($r||($r={}));const Hr=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Vr{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&&qr(t),new Vr(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&qr(e),parseInt(pr(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function qr(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}const zr=({headers:e,query:t,...r})=>({...r,headers:{...e},query:t?Gr(t):void 0}),Gr=e=>Object.keys(e).reduce(((t,r)=>{const n=e[r];return{...t,[r]:Array.isArray(n)?[...n]:n}}),{}),Wr=e=>{e="function"==typeof e.clone?e.clone():zr(e);for(const t of Object.keys(e.headers))Ar.indexOf(t.toLowerCase())>-1&&delete e.headers[t];return e},Zr=e=>"number"==typeof e?new Date(1e3*e):"string"==typeof e?Number(e)?new Date(1e3*Number(e)):new Date(e):e;class Kr{constructor({applyChecksum:e,credentials:t,region:r,service:n,sha256:o,uriEscapePath:i=!0}){this.headerFormatter=new Ur,this.service=n,this.sha256=o,this.uriEscapePath=i,this.applyChecksum="boolean"!=typeof e||e,this.regionProvider=hr(r),this.credentialProvider=hr(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:f}=Jr(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 p=Nr(f,l,c??this.service),h=((e,t={})=>{const{headers:r,query:n={}}="function"==typeof e.clone?e.clone():zr(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}})(Wr(e),{unhoistableHeaders:i});u.sessionToken&&(h.query[wr]=u.sessionToken),h.query["X-Amz-Algorithm"]=Tr,h.query["X-Amz-Credential"]=`${u.accessKeyId}/${p}`,h.query[yr]=d,h.query["X-Amz-Expires"]=n.toString(10);const g=Fr(h,o,s);return h.query["X-Amz-SignedHeaders"]=Qr(g),h.query[vr]=await this.getSignature(d,p,this.getSigningKey(u,l,f,c),this.createCanonicalRequest(h,g,await Dr(e,this.sha256))),h}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}=Jr(r),u=Nr(a,s,i??this.service),l=await Dr({headers:{},body:t},this.sha256),d=new this.sha256;d.update(e);const f=pr(await d.digest()),p=[Mr,c,u,n,f,l].join("\n");return this.signString(p,{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}=Jr(t),a=new this.sha256(await this.getSigningKey(o,i,s,n));return a.update(br(e)),pr(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=Wr(e),{longDate:u,shortDate:l}=Jr(t),d=Nr(l,a,i??this.service);c.headers[Sr]=u,s.sessionToken&&(c.headers[Ir]=s.sessionToken);const f=await Dr(c,this.sha256);!((e,t)=>{e=e.toLowerCase();for(const r of Object.keys(t))if(e===r.toLowerCase())return!0;return!1})(Er,c.headers)&&this.applyChecksum&&(c.headers[Er]=f);const p=Fr(c,n,r),h=await this.getSignature(u,d,this.getSigningKey(s,a,l,i),this.createCanonicalRequest(c,p,f));return c.headers[_r]=`${Tr} Credential=${s.accessKeyId}/${d}, SignedHeaders=${Qr(p)}, Signature=${h}`,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()===xr)continue;t.push(n);const o=e[n];"string"==typeof o?r[n]=`${gr(n)}=${gr(o)}`:Array.isArray(o)&&(r[n]=o.slice(0).reduce(((e,t)=>e.concat([`${gr(n)}=${gr(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(br(r));const o=await n.digest();return`${Tr}\n${e}\n${t}\n${pr(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 gr(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(br(o)),pr(await i.digest())}getSigningKey(e,t,r,n){return(async(e,t,r,n,o)=>{const i=`${r}:${n}:${o}:${pr(await Br(e,t.secretAccessKey,t.accessKeyId))}:${t.sessionToken}`;if(i in Lr)return Lr[i];for(jr.push(i);jr.length>50;)delete Lr[jr.shift()];let s=`AWS4${t.secretAccessKey}`;for(const t of[r,n,o,Cr])s=await Br(e,s,t);return Lr[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 Jr=e=>{const t=(r=e,Zr(r).toISOString().replace(/\.\d{3}Z$/,"Z")).replace(/[\-:]/g,"");var r;return{longDate:t,shortDate:t.slice(0,8)}},Qr=e=>Object.keys(e).sort().join(";"),Yr=e=>"function"==typeof e?ur(e,(e=>void 0!==e.expiration&&e.expiration.getTime()-Date.now()<3e5),(e=>void 0!==e.expiration)):hr(e),Xr=e=>new Date(Date.now()+e),en=(e,t)=>{const r=Date.parse(e);return((e,t)=>Math.abs(Xr(t).getTime()-e)>=3e5)(r,t)?r-Date.now():t},tn=e=>rr.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,rn={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0},nn=e=>({applyToStack:t=>{t.addRelativeTo((e=>(t,r)=>async function(n){if(!tr.isInstance(n.request))return t(n);const o=r.endpointV2?.properties?.authSchemes?.[0],i="sigv4a"===o?.name?o?.signingRegionSet?.join(","):void 0,s=await e.signer(o);let a;const c={signingDate:Xr(e.systemClockOffset),signingRegion:i||r.signing_region,signingService:r.signing_service};if(r.s3ExpressIdentity){const e=s;if(a=await e.signWithCredentials(n.request,r.s3ExpressIdentity,c),a.headers["X-Amz-Security-Token"]||a.headers["x-amz-security-token"])throw new Error("X-Amz-Security-Token must not be set for s3-express requests.")}else a=await s.sign(n.request,c);const u=await t({...n,request:a}).catch((t=>{const r=t.ServerTime??tn(t.$response);throw r&&(e.systemClockOffset=en(r,e.systemClockOffset)),t})),l=tn(u.response);return l&&(e.systemClockOffset=en(l,e.systemClockOffset)),u})(e),rn)}});const on=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}$"),sn=e=>on.test(e)||e.startsWith("[")&&e.endsWith("]"),an=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),cn=(e,t=!1)=>{if(!t)return an.test(e);const r=e.split(".");for(const e of r)if(!cn(e))return!1;return!0},un={},ln="endpoints";function dn(e){return"object"!=typeof e||null==e?e:"ref"in e?`$${dn(e.ref)}`:"fn"in e?`${e.fn}(${(e.argv||[]).map(dn).join(", ")})`:JSON.stringify(e,null,2)}class fn extends Error{constructor(e){super(e),this.name="EndpointError"}}const pn=(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 fn(`Path: '${e}' does not end with ']'`);const o=n.slice(t+1,-1);if(Number.isNaN(parseInt(o)))throw new fn(`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 fn(`Index '${n}' in '${t}' not found in '${JSON.stringify(e)}'`);return Array.isArray(r)?r[parseInt(n)]:r[n]}),e),hn={[Kt.HTTP]:80,[Kt.HTTPS]:443},gn={booleanEquals:(e,t)=>e===t,getAttr:pn,isSet:e=>null!=e,isValidHostLabel:cn,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(Kt).includes(c))return null;const u=sn(o);return{scheme:c,authority:`${n}${r.includes(`${n}:${hn[c]}`)||"string"==typeof e&&e.includes(`${n}:${hn[c]}`)?`:${hn[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()}`))},mn=(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(pn(n[e],t))}else r.push(n[s]);o=i+1}return r.join("")},kn=(e,t,r)=>{if("string"==typeof e)return mn(e,r);if(e.fn)return bn(e,r);if(e.ref)return(({ref:e},t)=>({...t.endpointParams,...t.referenceRecord}[e]))(e,r);throw new fn(`'${t}': ${String(e)} is not a string, function or reference.`)},bn=({fn:e,argv:t},r)=>{const n=t.map((e=>["boolean","number"].includes(typeof e)?e:kn(e,"arg",r))),o=e.split(".");return o[0]in un&&null!=o[1]?un[o[0]][o[1]](...n):gn[e](...n)},yn=({assign:e,...t},r)=>{if(e&&e in r.referenceRecord)throw new fn(`'${e}' is already defined in Reference Record.`);const n=bn(t,r);return r.logger?.debug?.(ln,`evaluateCondition: ${dn(t)} = ${dn(n)}`),{result:""===n||!!n,...null!=e&&{toAssign:{name:e,value:n}}}},vn=(e=[],t)=>{const r={};for(const n of e){const{result:e,toAssign:o}=yn(n,{...t,referenceRecord:{...t.referenceRecord,...r}});if(!e)return{result:e};o&&(r[o.name]=o.value,t.logger?.debug?.(ln,`assign: ${o.name} := ${dn(o.value)}`))}return{result:!0,referenceRecord:r}},wn=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:n.map((e=>{const n=kn(e,"Header value entry",t);if("string"!=typeof n)throw new fn(`Header '${r}' value '${n}' is not a string`);return n}))})),{}),_n=(e,t)=>{if(Array.isArray(e))return e.map((e=>_n(e,t)));switch(typeof e){case"string":return mn(e,t);case"object":if(null===e)throw new fn(`Unexpected endpoint property: ${e}`);return Sn(e,t);case"boolean":return e;default:throw new fn("Unexpected endpoint property type: "+typeof e)}},Sn=(e,t)=>Object.entries(e).reduce(((e,[r,n])=>({...e,[r]:_n(n,t)})),{}),An=(e,t)=>{const r=kn(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 fn("Endpoint URL must be a string, got "+typeof r)},xn=(e,t)=>{const{conditions:r,endpoint:n}=e,{result:o,referenceRecord:i}=vn(r,t);if(!o)return;const s={...t,referenceRecord:{...t.referenceRecord,...i}},{url:a,properties:c,headers:u}=n;return t.logger?.debug?.(ln,`Resolving endpoint from template: ${dn(n)}`),{...null!=u&&{headers:wn(u,s)},...null!=c&&{properties:Sn(c,s)},url:An(a,s)}},En=(e,t)=>{const{conditions:r,error:n}=e,{result:o,referenceRecord:i}=vn(r,t);if(o)throw new fn(kn(n,"Error",{...t,referenceRecord:{...t.referenceRecord,...i}}))},In=(e,t)=>{const{conditions:r,rules:n}=e,{result:o,referenceRecord:i}=vn(r,t);if(o)return Rn(n,{...t,referenceRecord:{...t.referenceRecord,...i}})},Rn=(e,t)=>{for(const r of e)if("endpoint"===r.type){const e=xn(r,t);if(e)return e}else if("error"===r.type)En(r,t);else{if("tree"!==r.type)throw new fn(`Unknown endpoint rule: ${r}`);{const e=In(r,t);if(e)return e}}throw new fn("Rules evaluation failed")},On=(e,t=!1)=>{if(t){for(const t of e.split("."))if(!On(t))return!1;return!0}return!!cn(e)&&(!(e.length<3||e.length>63)&&(e===e.toLowerCase()&&!sn(e)))};let Pn=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)"},"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":{}},{"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"}'),Tn="";const Mn={isVirtualHostableS3Bucket:On,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}=Pn;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}}};un.aws=Mn;const Cn="user-agent",Ln="x-amz-user-agent",jn=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,Nn=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g,Bn=e=>(t,r)=>async n=>{const{request:o}=n;if(!tr.isInstance(o))return t(n);const{headers:i}=o,s=r?.userAgent?.map(Fn)||[],a=(await e.defaultUserAgentProvider()).map(Fn),c=e?.customUserAgent?.map(Fn)||[],u=(Tn?[Tn]:[]).concat([...a,...s,...c]).join(" "),l=[...a.filter((e=>e.startsWith("aws-sdk-"))),...c].join(" ");return"browser"!==e.runtime?(l&&(i[Ln]=i[Ln]?`${i[Cn]} ${l}`:l),i[Cn]=u):i[Ln]=u,t({...n,request:o})},Fn=e=>{const t=e[0].split("/").map((e=>e.replace(jn,"-"))).join("/"),r=e[1]?.replace(Nn,"-"),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}`}}),"")},Dn={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var Un;!function(e){e.ENV="env",e.CONFIG="shared config entry"}(Un||(Un={}));const $n=e=>"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips")),Hn=e=>$n(e)?["fips-aws-global","aws-fips"].includes(e)?"us-east-1":e.replace(/fips-(dkr-|prod-)?|-fips/,""):e,Vn="content-length";const qn={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},zn=e=>({applyToStack:t=>{var r;t.add((r=e.bodyLengthChecker,e=>async t=>{const n=t.request;if(tr.isInstance(n)){const{body:e,headers:t}=n;if(e&&-1===Object.keys(t).map((e=>e.toLowerCase())).indexOf(Vn))try{const t=r(e);n.headers={...n.headers,[Vn]:String(t)}}catch(e){}}return e({...t,request:n})}),qn)}}),Gn=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Wn=/(\d+\.){3}\d+/,Zn=/\.\./,Kn=e=>Gn.test(e)&&!Wn.test(e)&&!Zn.test(e),Jn=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},Qn=(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}:"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 Yn=e=>{if("string"==typeof e)return Yn(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}},Xn=e=>"object"==typeof e?"url"in e?Yn(e.url):e:Yn(e),eo=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 Qn(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("?"))),Jn(t)){if(!0===e.ForcePathStyle)throw new Error("Path-style addressing cannot be used with ARN buckets")}else(!Kn(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},to=({config:e,instructions:t})=>(r,n)=>async o=>{const i=await(async(e,t,r,n)=>{if(!r.endpoint){const e=await(async e=>{})(r.serviceId);e&&(r.endpoint=()=>Promise.resolve(Xn(e)))}const o=await eo(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=(e=>e[Yt]||(e[Yt]={}))(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})},ro={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},no={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function oo(e,t,r){return{applyToStack:n=>{n.add(((e,t)=>(r,n)=>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),ro),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),no)}}}const io={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:no.name},so=(e,t)=>({applyToStack:r=>{r.addRelativeTo(to({config:e,instructions:t}),io)}});var ao;!function(e){e.STANDARD="standard",e.ADAPTIVE="adaptive"}(ao||(ao={}));const co=ao.STANDARD,uo=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],lo=["TimeoutError","RequestTimeout","RequestTimeoutException"],fo=[500,502,503,504],po=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],ho=e=>429===e.$metadata?.httpStatusCode||uo.includes(e.name)||1==e.$retryable?.throttling,go=e=>(e=>e.$metadata?.clockSkewCorrected)(e)||lo.includes(e.name)||po.includes(e?.code||"")||fo.includes(e.$metadata?.httpStatusCode||0);class mo{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(),ho(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 ko=100,bo=2e4,yo="amz-sdk-invocation-id",vo="amz-sdk-request",wo=({retryDelay:e,retryCount:t,retryCost:r})=>({getRetryCount:()=>t,getRetryDelay:()=>Math.min(bo,e),getRetryCost:()=>r});class _o{constructor(e){this.maxAttempts=e,this.mode=ao.STANDARD,this.capacity=500,this.retryBackoffStrategy=(()=>{let e=ko;return{computeNextBackoffDelay:t=>Math.floor(Math.min(bo,Math.random()*2**t*e)),setDelayBase:t=>{e=t}}})(),this.maxAttemptsProvider="function"==typeof e?e:async()=>e}async acquireInitialRetryToken(e){return wo({retryDelay:ko,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:ko);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,wo({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 So{constructor(e,t){this.maxAttemptsProvider=e,this.mode=ao.ADAPTIVE;const{rateLimiter:r}=t??{};this.rateLimiter=r??new mo,this.standardRetryStrategy=new _o(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 Ao={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let xo;const Eo=new Uint8Array(16);function Io(){if(!xo&&(xo="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!xo))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xo(Eo)}const Ro=[];for(let e=0;e<256;++e)Ro.push((e+256).toString(16).slice(1));function Oo(e,t=0){return Ro[e[t+0]]+Ro[e[t+1]]+Ro[e[t+2]]+Ro[e[t+3]]+"-"+Ro[e[t+4]]+Ro[e[t+5]]+"-"+Ro[e[t+6]]+Ro[e[t+7]]+"-"+Ro[e[t+8]]+Ro[e[t+9]]+"-"+Ro[e[t+10]]+Ro[e[t+11]]+Ro[e[t+12]]+Ro[e[t+13]]+Ro[e[t+14]]+Ro[e[t+15]]}const Po=function(e,t,r){if(Ao.randomUUID&&!t&&!e)return Ao.randomUUID();const n=(e=e||{}).random||(e.rng||Io)();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 Oo(n)},To=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 Mo{trace(){}debug(){}info(){}warn(){}error(){}}const Co=(e,t)=>{const r=[];if(e&&r.push(e),t)for(const e of t)r.push(e);return r},Lo=(e,t)=>`${e||"anonymous"}${t&&t.length>0?` (a.k.a. ${t.join(",")})`:""}`,jo=()=>{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 Co(t.name,t.aliases))s[e]=t;n.push(t)})),t.forEach((e=>{const t={...e,before:[],after:[]};for(const e of Co(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 ${Lo(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)=>No[t.step]-No[e.step]||Bo[t.priority||"normal"]-Bo[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=Co(o,s);if(c.length>0){if(c.some((e=>n.has(e)))){if(!i)throw new Error(`Duplicate middleware name '${Lo(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(`"${Lo(n.name,n.aliases)}" middleware with ${n.priority} priority in ${n.step} step cannot be overridden by "${Lo(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=Co(o,s);if(c.length>0){if(c.some((e=>n.has(e)))){if(!i)throw new Error(`Duplicate middleware name '${Lo(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(`"${Lo(n.name,n.aliases)}" middleware ${n.relation} "${n.toMiddleware}" middleware cannot be overridden by "${Lo(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(jo()),use:e=>{e.applyToStack(a)},remove:r=>"string"==typeof r?(r=>{let o=!1;const i=e=>{const t=Co(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 Co(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=Co(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(jo());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 Lo(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},No={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},Bo={high:3,normal:2,low:1};class Fo{constructor(e){this.middlewareStack=jo(),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 Do={},Uo=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);Do[r]=e,Uo[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;Do[r]=n,Uo[n]=r}for(let e=0;e<10;e++){Do[e.toString(10)]=e+52;const t=e.toString(10),r=e+52;Do[t]=r,Uo[r]=t}Do["+"]=62,Uo[62]="+",Do["/"]=63,Uo[63]="/";const $o=6,Ho=8,Vo=63,qo=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 Do))throw new TypeError(`Invalid character ${e[n]} in base64 string.`);r|=Do[e[n]]<<(i-n)*$o,o+=$o}else r>>=$o;const i=t/4*3;r>>=o%Ho;const s=Math.floor(o/Ho);for(let e=0;e<s;e++){const t=(s-e-1)*Ho;n.setUint8(i+e,(r&255<<t)>>t)}}return new Uint8Array(r)};function zo(e){let t;t="string"==typeof e?kr(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)*Ho,n+=Ho;const i=Math.ceil(n/$o);r<<=i*$o-n;for(let e=1;e<=i;e++){const t=(i-e)*$o;o+=Uo[(r&Vo<<t)>>t]}o+="==".slice(0,4-i)}return o}const Go=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 Wo extends Uint8Array{static fromString(e,t="utf-8"){if("string"==typeof e)return function(e,t){return"base64"===t?Wo.mutate(qo(e)):Wo.mutate(kr(e))}(e,t);throw new Error(`Unsupported conversion from ${typeof e} to Uint8ArrayBlobAdapter.`)}static mutate(e){return Object.setPrototypeOf(e,Wo.prototype),e}transformToString(e="utf-8"){return function(e,t="utf-8"){return"base64"===t?zo(e):Go(e)}(this,e)}}function Zo(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 Ko=Boolean("undefined"!=typeof Request&&"keepalive"in new Request("https://[::1]"));class Jo{static create(e){return"function"==typeof e?.handle?e:new Jo(e)}constructor(e){"function"==typeof e?this.configProvider=e().then((e=>e||{})):(this.config=e??{},this.configProvider=Promise.resolve(this.config))}destroy(){}async handle(e,{abortSignal:t}={}){this.config||(this.config=await this.configProvider);const r=this.config.requestTimeout,n=!0===this.config.keepAlive;if(t?.aborted){const e=new Error("Request aborted");return e.name="AbortError",Promise.reject(e)}let o=e.path;const i=function(e){const t=[];for(let r of Object.keys(e).sort()){const n=e[r];if(r=gr(r),Array.isArray(n))for(let e=0,o=n.length;e<o;e++)t.push(`${r}=${gr(n[e])}`);else{let e=r;(n||"string"==typeof n)&&(e+=`=${gr(n)}`),t.push(e)}}return t.join("&")}(e.query||{});i&&(o+=`?${i}`),e.fragment&&(o+=`#${e.fragment}`);let s="";if(null!=e.username||null!=e.password){s=`${e.username??""}:${e.password??""}@`}const{port:a,method:c}=e,u=`${e.protocol}//${s}${e.hostname}${a?`:${a}`:""}${o}`,l={body:"GET"===c||"HEAD"===c?void 0:e.body,headers:new Headers(e.headers),method:c};"undefined"!=typeof AbortController&&(l.signal=t),Ko&&(l.keepalive=n);const d=new Request(u,l),f=[fetch(d).then((e=>{const t=e.headers,r={};for(const e of t.entries())r[e[0]]=e[1];return null!=e.body?{response:new rr({headers:r,reason:e.statusText,statusCode:e.status,body:e.body})}:e.blob().then((t=>({response:new rr({headers:r,reason:e.statusText,statusCode:e.status,body:t})})))})),Zo(r)];return t&&f.push(new Promise(((e,r)=>{t.onabort=()=>{const e=new Error("Request aborted");e.name="AbortError",r(e)}}))),Promise.race(f)}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((r=>(r[e]=t,r)))}httpHandlerConfigs(){return this.config??{}}}const Qo=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=qo(t);return new Uint8Array(r)}(e):async function(e){let t=new Uint8Array(0);const r=e.getReader();let n=!1;for(;!n;){const{done:e,value:o}=await r.read();if(o){const e=t;t=new Uint8Array(e.length+o.length),t.set(e),t.set(o,e.length)}n=e}return t}(e);const Yo=async(e=new Uint8Array,t)=>{if(e instanceof Uint8Array)return Wo.mutate(e);if(!e)return Wo.mutate(new Uint8Array);const r=t.streamCollector(e);return Wo.mutate(await r)};class Xo{constructor(){this.middlewareStack=jo()}static classBuilder(){return new ei}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:f}=t,p={logger:f,clientName:o,commandName:i,inputFilterSensitiveLog:s,outputFilterSensitiveLog:a,[Yt]:{...c},...u},{requestHandler:h}=t;return d.resolve((e=>h.handle(e.request,r||{})),p)}}class ei{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 Xo{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 ti="***SensitiveInformation***",ri=(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}`)}}),ni=e=>oi(e,32),oi=(e,t)=>{const r=ri(e);if(void 0!==r&&ii(r,t)!==r)throw new TypeError(`Expected ${t}-bit integer, got ${e}`);return r},ii=(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]}},si=e=>{if(null!=e){if("string"==typeof e)return e;if(["boolean","number","bigint"].includes(typeof e))return ci.warn(ai(`Expected string, got ${typeof e}: ${e}`)),String(e);throw new TypeError(`Expected string, got ${typeof e}: ${e}`)}},ai=e=>String(new TypeError(e).stack||e).split("\n").slice(0,5).filter((e=>!e.includes("stackTraceWarning"))).join("\n"),ci={warn:console.warn};class ui extends Error{constructor(e){super(e.message),Object.setPrototypeOf(this,ui.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}}const li=(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},di=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"]}),fi=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{}}},pi=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}}},hi=e=>{const t={};return e.checksumAlgorithms().forEach((e=>{t[e.algorithmId()]=e.checksumConstructor()})),t},gi=e=>{let t=e.retryStrategy;return{setRetryStrategy(e){t=e},retryStrategy:()=>t}},mi=e=>{const t={};return t.retryStrategy=e.retryStrategy(),t},ki=e=>({...pi(e),...gi(e)}),bi=function(){const e=Object.getPrototypeOf(this).constructor,t=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(t,e.prototype),t};bi.prototype=Object.create(String.prototype,{constructor:{value:bi,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(bi,String);function yi(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,wi(n,o,i);i=t}for(const e of Object.keys(i))Array.isArray(i[e])?_i(n,null,i,e):n[e]=i[e];return n}const vi=(e,t)=>{const r={};for(const n in t)_i(r,e,t,n);return r},wi=(e,t,r)=>yi(e,Object.entries(r).reduce(((e,[r,n])=>(Array.isArray(n)?e[r]=n:e[r]="function"==typeof n?[t,n()]:[t,n],e)),{})),_i=(e,t,r,n)=>{if(null!==t){let o=r[n];"function"==typeof o&&(o=[,o]);const[i=Si,s=Ai,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)}},Si=e=>null!=e,Ai=e=>e;function xi(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}const Ei=(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=>xi(e))).join("/"):xi(t))}return e},Ii=e=>e?.body instanceof ReadableStream,Ri=e=>void 0!==e.acquireInitialRetryToken&&void 0!==e.refreshRetryTokenForRetry&&void 0!==e.recordSuccess,Oi=e=>{const t={error:e,errorType:Pi(e)},r=Ci(e.$response);return r&&(t.retryAfterHint=r),t},Pi=e=>ho(e)?"THROTTLING":go(e)?"TRANSIENT":(e=>{if(void 0!==e.$metadata?.httpStatusCode){const t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!go(e)}return!1})(e)?"SERVER_ERROR":"CLIENT_ERROR",Ti={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},Mi=e=>({applyToStack:t=>{t.add((e=>(t,r)=>async n=>{let o=await e.retryStrategy();const i=await e.maxAttempts();if(!Ri(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=tr.isInstance(u);for(l&&(u.headers[yo]=Po());;)try{l&&(u.headers[vo]=`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=Oi(t);if(s=To(t),l&&Ii(u))throw(r.logger instanceof Mo?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),Ti)}}),Ci=e=>{if(!rr.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)},Li="3.470.0";var ji=r(2131),Ni=r(5369),Bi=r.n(Ni);const Fi=({serviceId:e,clientVersion:t})=>async()=>{const r="undefined"!=typeof window&&window?.navigator?.userAgent?Bi().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};var Di,Ui=r(3090);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&&Hi(t),new $i(t)}valueOf(){const e=this.bytes.slice(0),t=128&e[0];return t&&Hi(e),parseInt(pr(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}}function Hi(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,0===e[t]);t--);}class Vi{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($i.fromNumber(e.value.valueOf()).bytes,1),u;case"uuid":if(!Xi.test(e.value))throw new Error(`Invalid UUID received: ${e.value}`);const l=new Uint8Array(17);return l[0]=9,l.set(fr(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:qi,value:!0};break;case 1:t[o]={type:qi,value:!1};break;case 2:t[o]={type:zi,value:e.getInt8(r++)};break;case 3:t[o]={type:Gi,value:e.getInt16(r,!1)},r+=2;break;case 4:t[o]={type:Wi,value:e.getInt32(r,!1)},r+=4;break;case 5:t[o]={type:Zi,value:new $i(new Uint8Array(e.buffer,e.byteOffset+r,8))},r+=8;break;case 6:const n=e.getUint16(r,!1);r+=2,t[o]={type:Ki,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:Ji,value:this.toUtf8(new Uint8Array(e.buffer,e.byteOffset+r,i))},r+=i;break;case 8:t[o]={type:Qi,value:new Date(new $i(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:Yi,value:`${pr(s.subarray(0,4))}-${pr(s.subarray(4,6))}-${pr(s.subarray(6,8))}-${pr(s.subarray(8,10))}-${pr(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"}(Di||(Di={}));const qi="boolean",zi="byte",Gi="short",Wi="integer",Zi="long",Ki="binary",Ji="string",Qi="timestamp",Yi="uuid",Xi=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class es{constructor(e,t){this.headerMarshaller=new Vi(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 Ui.Crc32;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 Ui.Crc32).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 ts{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 rs{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 ns{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 os{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 is(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 ss{constructor({utf8Encoder:e,utf8Decoder:t}){this.eventStreamCodec=new es(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 ns({messageStream:new ts({inputStream:r,decoder:this.eventStreamCodec}),deserializer:is(t,this.utfEncoder)})}serialize(e,t){return new rs({messageStream:new os({inputStream:e,serializer:t}),encoder:this.eventStreamCodec,includeEndFrame:!0})}}class as{constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new ss({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){const r=cs(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 cs=e=>"function"==typeof ReadableStream&&e instanceof ReadableStream,us=e=>new as(e),ls="function"==typeof TextEncoder?new TextEncoder:null,ds=e=>{if("string"==typeof e){if(ls)return ls.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="required",ps="fn",hs="argv",gs="ref",ms=!0,ks="isSet",bs="booleanEquals",ys="error",vs="endpoint",ws="tree",_s="PartitionResult",Ss={[fs]:!1,type:"String"},As={[fs]:!0,default:!1,type:"Boolean"},xs={[gs]:"Endpoint"},Es={[ps]:bs,[hs]:[{[gs]:"UseFIPS"},!0]},Is={[ps]:bs,[hs]:[{[gs]:"UseDualStack"},!0]},Rs={},Os={[ps]:"getAttr",[hs]:[{[gs]:_s},"supportsFIPS"]},Ps={[ps]:bs,[hs]:[!0,{[ps]:"getAttr",[hs]:[{[gs]:_s},"supportsDualStack"]}]},Ts=[Es],Ms=[Is],Cs=[{[gs]:"Region"}],Ls={version:"1.0",parameters:{Region:Ss,UseDualStack:As,UseFIPS:As,Endpoint:Ss},rules:[{conditions:[{[ps]:ks,[hs]:[xs]}],rules:[{conditions:Ts,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:ys},{rules:[{conditions:Ms,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:ys},{endpoint:{url:xs,properties:Rs,headers:Rs},type:vs}],type:ws}],type:ws},{rules:[{conditions:[{[ps]:ks,[hs]:Cs}],rules:[{conditions:[{[ps]:"aws.partition",[hs]:Cs,assign:_s}],rules:[{conditions:[Es,Is],rules:[{conditions:[{[ps]:bs,[hs]:[ms,Os]},Ps],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Rs,headers:Rs},type:vs}],type:ws}],type:ws},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:ys}],type:ws},{conditions:Ts,rules:[{conditions:[{[ps]:bs,[hs]:[Os,ms]}],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:Rs,headers:Rs},type:vs}],type:ws}],type:ws},{error:"FIPS is enabled but this partition does not support FIPS",type:ys}],type:ws},{conditions:Ms,rules:[{conditions:[Ps],rules:[{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:Rs,headers:Rs},type:vs}],type:ws}],type:ws},{error:"DualStack is enabled but this partition does not support DualStack",type:ys}],type:ws},{rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:Rs,headers:Rs},type:vs}],type:ws}],type:ws}],type:ws},{error:"Invalid Configuration: Missing Region",type:ys}],type:ws}]},js=(e,t={})=>((e,t)=>{const{endpointParams:r,logger:n}=t,{parameters:o,rules:i}=e;t.logger?.debug?.(`${ln} Initial EndpointParams: ${dn(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 fn(`Missing required parameter: '${e}'`);const c=Rn(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?.(`${ln} Resolved endpoint: ${dn(c)}`),c})(Ls,{endpointParams:e,logger:t.logger}),Ns=["in-region","cross-region","mobile","standard","legacy"],Bs=()=>{const e="undefined"!=typeof window&&window?.navigator?.userAgent?Bi().parse(window.navigator.userAgent):void 0,t=e?.platform?.type;return"tablet"===t||"mobile"===t},Fs=e=>{const t=(({defaultsMode:e}={})=>ur((async()=>{const t="function"==typeof e?await e():e;switch(t?.toLowerCase()){case"auto":return Promise.resolve(Bs()?"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 ${Ns.join(", ")}, got ${t}`)}})))(e),r=()=>t().then(fi),n=(e=>({apiVersion:"2023-09-30",base64Decoder:e?.base64Decoder??qo,base64Encoder:e?.base64Encoder??zo,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??js,extensions:e?.extensions??[],logger:e?.logger??new Mo,serviceId:e?.serviceId??"Bedrock Runtime",urlParser:e?.urlParser??Yn,utf8Decoder:e?.utf8Decoder??kr,utf8Encoder:e?.utf8Encoder??Go}))(e);return{...n,...e,runtime:"browser",defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??ds,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(new Error("Credential is missing"))),defaultUserAgentProvider:e?.defaultUserAgentProvider??Fi({serviceId:n.serviceId,clientVersion:Li}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??us,maxAttempts:e?.maxAttempts??3,region:e?.region??(o="Region is missing",()=>Promise.reject(o)),requestHandler:e?.requestHandler??new Jo(r),retryMode:e?.retryMode??(async()=>(await r()).retryMode||co),sha256:e?.sha256??ji.Sha256,streamCollector:e?.streamCollector??Qo,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(false)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(false))};var o},Ds=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}};class Us extends Fo{constructor(...[e]){const t=(e=>({...e,useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"bedrock"}))(Fs(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 Hn(t);const e=await t();return Hn(e)},useFipsEndpoint:async()=>{const e="string"==typeof t?t:await t();return!!$n(e)||("function"!=typeof r?Promise.resolve(!!r):r())}}})(t),n=(e=>{const t=e.tls??!0,{endpoint:r}=e,n=null!=r?async()=>Xn(await hr(r)()):void 0,o=!!r;return{...e,endpoint:n,tls:t,isCustomEndpoint:o,useDualstackEndpoint:hr(e.useDualstackEndpoint??!1),useFipsEndpoint:hr(e.useFipsEndpoint??!1)}})(r),o=(e=>{const{retryStrategy:t}=e,r=hr(e.maxAttempts??3);return{...e,maxAttempts:r,retryStrategy:async()=>t||(await hr(e.retryMode)()===ao.ADAPTIVE?new So(r):new _o(r))}})(n),i=(e=>{const t=e.credentials?Yr(e.credentials):e.credentialDefaultProvider(e),{signingEscapePath:r=!0,systemClockOffset:n=e.systemClockOffset||0,sha256:o}=e;let i;return i=e.signer?hr(e.signer):e.regionInfoProvider?()=>hr(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||Kr)(c)})):async n=>{const i=(n=Object.assign({},{name:"sigv4",signingName:e.signingName||e.defaultSigningName,signingRegion:await hr(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||Kr)(a)},{...e,systemClockOffset:n,signingEscapePath:r,credentials:t,signer:i}})(o);var s;const a=((e,t)=>{const r={...Ds(e),...ki(e),...Gt(e)};return t.forEach((e=>e.configure(r))),{...e,...(i=r,{region:i.region()}),...(o=r,{...hi(o),...mi(o)}),...(n=r,{httpHandler:n.httpHandler()})};var n,o,i})((e=>({...e,eventStreamMarshaller:e.eventStreamSerdeProvider(e)}))((s=i,{...s,customUserAgent:"string"==typeof s.customUserAgent?[[s.customUserAgent]]:s.customUserAgent})),e?.extensions||[]);var c;super(a),this.config=a,this.middlewareStack.use(Mi(this.config)),this.middlewareStack.use(zn(this.config)),this.middlewareStack.use(or(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:f,...p}=n.output;return s?.info?.({clientName:o,commandName:i,input:l(r.input),output:d(p),metadata:f}),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}}),ir)}})),this.middlewareStack.use(cr(this.config)),this.middlewareStack.use(nn(this.config)),this.middlewareStack.use((c=this.config,{applyToStack:e=>{e.add(Bn(c),Dn)}}))}destroy(){super.destroy()}}class $s extends ui{constructor(e){super(e),Object.setPrototypeOf(this,$s.prototype)}}class Hs extends $s{constructor(e){super({name:"AccessDeniedException",$fault:"client",...e}),this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,Hs.prototype)}}class Vs extends $s{constructor(e){super({name:"InternalServerException",$fault:"server",...e}),this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,Vs.prototype)}}class qs extends $s{constructor(e){super({name:"ModelErrorException",$fault:"client",...e}),this.name="ModelErrorException",this.$fault="client",Object.setPrototypeOf(this,qs.prototype),this.originalStatusCode=e.originalStatusCode,this.resourceName=e.resourceName}}class zs extends $s{constructor(e){super({name:"ModelNotReadyException",$fault:"client",...e}),this.name="ModelNotReadyException",this.$fault="client",Object.setPrototypeOf(this,zs.prototype)}}class Gs extends $s{constructor(e){super({name:"ModelTimeoutException",$fault:"client",...e}),this.name="ModelTimeoutException",this.$fault="client",Object.setPrototypeOf(this,Gs.prototype)}}class Ws extends $s{constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e}),this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,Ws.prototype)}}class Zs extends $s{constructor(e){super({name:"ServiceQuotaExceededException",$fault:"client",...e}),this.name="ServiceQuotaExceededException",this.$fault="client",Object.setPrototypeOf(this,Zs.prototype)}}class Ks extends $s{constructor(e){super({name:"ThrottlingException",$fault:"client",...e}),this.name="ThrottlingException",this.$fault="client",Object.setPrototypeOf(this,Ks.prototype)}}class Js extends $s{constructor(e){super({name:"ValidationException",$fault:"client",...e}),this.name="ValidationException",this.$fault="client",Object.setPrototypeOf(this,Js.prototype)}}class Qs extends $s{constructor(e){super({name:"ModelStreamErrorException",$fault:"client",...e}),this.name="ModelStreamErrorException",this.$fault="client",Object.setPrototypeOf(this,Qs.prototype),this.originalStatusCode=e.originalStatusCode,this.originalMessage=e.originalMessage}}var Ys;!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):t._(e.$unknown[0],e.$unknown[1])}(Ys||(Ys={}));const Xs=e=>({...e,...e.body&&{body:ti}}),ea=e=>({...e,...e.body&&{body:ti}}),ta=e=>({...e,...e.body&&{body:ti}}),ra=e=>({...e,...e.body&&{body:"STREAMING_CONTENT"}}),na=async(e,t)=>{const r={...e,body:await Ra(e.body,t)},n=Oa(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await aa(r,t);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await ca(r,t);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await ua(r,t);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await la(r,t);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await fa(r,t);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await pa(r,t);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await ha(r,t);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await ga(r,t);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await ma(r,t);default:const o=r.body;return ia({output:e,parsedBody:o,errorCode:n})}},oa=async(e,t)=>{const r={...e,body:await Ra(e.body,t)},n=Oa(e,r.body);switch(n){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await aa(r,t);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await ca(r,t);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await ua(r,t);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await la(r,t);case"ModelStreamErrorException":case"com.amazonaws.bedrockruntime#ModelStreamErrorException":throw await da(r,t);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await fa(r,t);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await pa(r,t);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await ha(r,t);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await ga(r,t);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await ma(r,t);default:const o=r.body;return ia({output:e,parsedBody:o,errorCode:n})}},ia=(sa=$s,({output:e,parsedBody:t,errorCode:r})=>{(({output:e,parsedBody:t,exceptionCtor:r,errorCode:n})=>{const o=di(e),i=o.httpStatusCode?o.httpStatusCode+"":void 0,s=new r({name:t?.code||t?.Code||n||i||"UnknownError",$fault:"client",$metadata:o});throw li(s,t)})({output:e,parsedBody:t,exceptionCtor:sa,errorCode:r})});var sa;const aa=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Hs({$metadata:xa(e),...r});return li(i,e.body)},ca=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Vs({$metadata:xa(e),...r});return li(i,e.body)},ua=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si,originalStatusCode:ni,resourceName:si});Object.assign(r,o);const i=new qs({$metadata:xa(e),...r});return li(i,e.body)},la=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new zs({$metadata:xa(e),...r});return li(i,e.body)},da=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si,originalMessage:si,originalStatusCode:ni});Object.assign(r,o);const i=new Qs({$metadata:xa(e),...r});return li(i,e.body)},fa=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Gs({$metadata:xa(e),...r});return li(i,e.body)},pa=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Ws({$metadata:xa(e),...r});return li(i,e.body)},ha=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Zs({$metadata:xa(e),...r});return li(i,e.body)},ga=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Ks({$metadata:xa(e),...r});return li(i,e.body)},ma=async(e,t)=>{const r=yi({}),n=e.body,o=vi(n,{message:si});Object.assign(r,o);const i=new Js({$metadata:xa(e),...r});return li(i,e.body)},ka=(e,t)=>t.eventStreamMarshaller.deserialize(e,(async r=>null!=r.chunk?{chunk:await wa(r.chunk,t)}:null!=r.internalServerException?{internalServerException:await ba(r.internalServerException,t)}:null!=r.modelStreamErrorException?{modelStreamErrorException:await ya(r.modelStreamErrorException,t)}:null!=r.validationException?{validationException:await Sa(r.validationException,t)}:null!=r.throttlingException?{throttlingException:await _a(r.throttlingException,t)}:null!=r.modelTimeoutException?{modelTimeoutException:await va(r.modelTimeoutException,t)}:{$unknown:e})),ba=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return ca(r,t)},ya=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return da(r,t)},va=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return fa(r,t)},wa=async(e,t)=>{const r={},n=await Ia(e.body,t);return Object.assign(r,Aa(n,t)),r},_a=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return ga(r,t)},Sa=async(e,t)=>{const r={...e,body:await Ia(e.body,t)};return ma(r,t)},Aa=(e,t)=>vi(e,{bytes:t.base64Decoder}),xa=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"]}),Ea=e=>!(null==e||""===e||Object.getOwnPropertyNames(e).includes("length")&&0==e.length||Object.getOwnPropertyNames(e).includes("size")&&0==e.size),Ia=(e,t)=>((e,t)=>Yo(e,t).then((e=>t.utf8Encoder(e))))(e,t).then((e=>e.length?JSON.parse(e):{})),Ra=async(e,t)=>{const r=await Ia(e,t);return r.message=r.message??r.Message,r},Oa=(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};class Pa extends Xo{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(e){super(),this.input=e}resolveMiddleware(e,t,r){this.middlewareStack.use(oo(t,this.serialize,this.deserialize)),this.middlewareStack.use(so(t,Pa.getEndpointParameterInstructions()));const n=e.concat(this.middlewareStack),{logger:o}=t,i={logger:o,clientName:"BedrockRuntimeClient",commandName:"InvokeModelWithResponseStreamCommand",inputFilterSensitiveLog:ta,outputFilterSensitiveLog:ra,[Yt]:{service:"AmazonBedrockFrontendService",operation:"InvokeModelWithResponseStream"}},{requestHandler:s}=t;return n.resolve((e=>s.handle(e.request,r||{})),i)}serialize(e,t){return(async(e,t)=>{const{hostname:r,protocol:n="https",port:o,path:i}=await t.endpoint(),s=yi({},Ea,{"content-type":e.contentType||"application/octet-stream","x-amzn-bedrock-accept":e.accept});let a,c=`${i?.endsWith("/")?i.slice(0,-1):i||""}/model/{modelId}/invoke-with-response-stream`;return c=Ei(c,e,"modelId",(()=>e.modelId),"{modelId}",!1),void 0!==e.body&&(a=e.body),new tr({protocol:n,hostname:r,port:o,method:"POST",headers:s,path:c,body:a})})(e,t)}deserialize(e,t){return(async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return oa(e,t);const r=yi({$metadata:xa(e),contentType:[,e.headers["x-amzn-bedrock-content-type"]]}),n=e.body;return r.body=ka(n,t),r})(e,t)}}class Ta extends Xo{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(e){super(),this.input=e}resolveMiddleware(e,t,r){this.middlewareStack.use(oo(t,this.serialize,this.deserialize)),this.middlewareStack.use(so(t,Ta.getEndpointParameterInstructions()));const n=e.concat(this.middlewareStack),{logger:o}=t,i={logger:o,clientName:"BedrockRuntimeClient",commandName:"InvokeModelCommand",inputFilterSensitiveLog:Xs,outputFilterSensitiveLog:ea,[Yt]:{service:"AmazonBedrockFrontendService",operation:"InvokeModel"}},{requestHandler:s}=t;return n.resolve((e=>s.handle(e.request,r||{})),i)}serialize(e,t){return(async(e,t)=>{const{hostname:r,protocol:n="https",port:o,path:i}=await t.endpoint(),s=yi({},Ea,{"content-type":e.contentType||"application/octet-stream",accept:e.accept});let a,c=`${i?.endsWith("/")?i.slice(0,-1):i||""}/model/{modelId}/invoke`;return c=Ei(c,e,"modelId",(()=>e.modelId),"{modelId}",!1),void 0!==e.body&&(a=e.body),new tr({protocol:n,hostname:r,port:o,method:"POST",headers:s,path:c,body:a})})(e,t)}deserialize(e,t){return(async(e,t)=>{if(200!==e.statusCode&&e.statusCode>=300)return na(e,t);const r=yi({$metadata:xa(e),contentType:[,e.headers["content-type"]]}),n=await Yo(e.body,t);return r.body=n,r})(e,t)}}function Ma(e,t){const r=La();return(Ma=function(e,t){return r[e-=267]})(e,t)}const Ca=Ma;function La(){const e=["abortController","_requestHeaders","read","POST","map","toString","text","_readAsyncIterableResponse","pluginName","_bedrockClientConfig","locale","join","Instruction:\n","3OqNCWU","anthropic.claude","ai.aws.requestHeaders","136305RUirww","from","split","config","send","sendRequest","generation","162546vXCBke","bedrock-2023-05-31","_readStaticResponse","\n<</SYS>>\n[INST]\n","_prepareRequestHeaders","_requestParameters","ai.aws.bedrockClientConfig","\nYou must keep the text formatting.\n\nContent:\n","AWSTextAdapter","145KsVQIO","application/json","preparePrompt","get","utf8","_processProxyRequest","anthropic.claude-v2","resolve","decode","_apiUrl","completion","ai.aws.apiUrl","utf-8","510622PmIVUg","getReader","\n\nAssistant:","test","json","\n[/INST]","135878KGwmyS","_processAWSRequest","signal","data","stringify","completions","Human:\n","_prepareRequestParameters","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.","filter","bytes","parse","define","<<SYS>>\n","chunk","ai.aws.requestParameters","1908288UqDTlp","3667158tTZRQm","3324984gfkiQo","meta.llama","body","length","editor","_getGeneratedText","generations","getModelFamily","cohere.command","ai21.j2","_readStreamableResponse","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.","AI_ERROR_UNSUPPORTED_MODEL"];return(La=function(){return e})()}!function(e,t){const r=Ma,n=e();for(;;)try{if(604971===-parseInt(r(287))/1+parseInt(r(322))/2*(parseInt(r(284))/3)+-parseInt(r(340))/4+-parseInt(r(303))/5*(-parseInt(r(294))/6)+parseInt(r(316))/7+parseInt(r(338))/8+parseInt(r(339))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}(La);class ja extends $t{static get[Ca(279)](){return Ca(302)}constructor(e){const t=Ca;super(e),e[t(290)][t(306)](t(337))||e[t(290)][t(334)](t(337),{model:t(309),max_tokens_to_sample:2e3,temperature:1,top_p:1,top_k:250,anthropic_version:t(295),stream:!0}),this[t(312)]=e[t(290)][t(306)](t(314)),this[t(280)]=e[t(290)][t(306)](t(300)),this[t(272)]=e[t(290)][t(306)](t(286)),this[t(299)]=e[t(290)][t(306)](t(337))}async[Ca(292)]({query:e,context:t,onData:r,actionId:n}){const o=Ca,{model:i,stream:s,...a}=await this[o(329)](this[o(299)],n),c={prompt:await this[o(305)](e,t,i,n),...a};this[o(312)]?await this[o(308)](c,i,s,r,n):await this[o(323)](c,i,s,r)}async[Ca(305)](e,t,r,n){const o=Ca;let i,s;return t?(i=o(330),s=o(283)+e+o(301)+t):(i=o(269),s=e),o(341)==this[o(347)](r)?o(335)+i+o(297)+s+o(321):o(328)+i+"\n"+s+o(318)}[Ca(347)](e){const t=Ca;if(/^anthropic\.claude/[t(319)](e))return t(285);if(/^ai21\.j2/[t(319)](e))return t(267);if(/^cohere\.command/[t(319)](e))return t(348);if(/^meta\.llama/[t(319)](e))return t(341);throw new F(D(this[t(344)][t(281)],t(270),e))}async[Ca(308)](e,t,r,n,o){const i=Ca,s={method:i(274),headers:await this[i(298)](this[i(272)],o),body:JSON[i(326)]({...e,model:t,stream:r}),signal:this[i(271)][i(324)]},a=await fetch(this[i(312)],s);r?await this[i(268)](a,t,n):await this[i(296)](a,t,n)}async[Ca(323)](e,t,r,n){const o=Ca,i=new Us(this[o(280)]),s={body:JSON[o(326)](e),contentType:o(304),accept:o(304),modelId:t};let a;if(r){const e=new Pa(s);a=await i[o(291)](e,{abortSignal:this[o(271)][o(324)]}),await this[o(278)](a,t,n)}else{const e=new Ta(s);a=await i[o(291)](e,{abortSignal:this[o(271)][o(324)]}),await this[o(296)](a,t,n)}}async[Ca(278)](e,t,r){const n=Ca,o=e[n(342)],i=new TextDecoder(n(315));let s="";for await(const e of o)if(e[n(336)]){const o=i[n(311)](e[n(336)][n(332)]),a=JSON[n(333)](o);s+=this[n(345)](a,t),r(s)}return Promise[n(310)]()}async[Ca(268)](e,t,r){const n=Ca,o=e[n(342)],i=new TextDecoder(n(315)),s=o[n(317)]();let a="",c="",u=!1;for(;!u;){const{done:e,value:o}=await s[n(273)]();if(u=e,u)break;const l=(a+i[n(311)](o))[n(289)]("\n")[n(275)]((e=>{const t=n;try{return a="",JSON[t(333)](e)}catch(t){return a=e,null}}))[n(331)]((e=>null!==e));l[n(343)]&&(c+=l[n(275)]((e=>this[n(345)](e,t)))[n(282)](""),r(c))}return Promise[n(310)]()}async[Ca(296)](e,t,r){const n=Ca;let o;return o=e instanceof Response?await e[n(320)]():JSON[n(333)](Buffer[n(288)](e[n(342)])[n(276)](n(307))),r(this[n(345)](o,t)),Promise[n(310)]()}[Ca(345)](e,t){const r=Ca;switch(this[r(347)](t)){case r(285):return e[r(313)];case r(267):return e[r(327)][0][r(325)][r(277)];case r(348):return e[r(346)][0][r(277)];case r(341):return e[r(293)]}}}function Na(){var e=["16072lqHhIL","55gzzHuw","4djteui","126uRqwIk","265170NeRISU","630710hSwGRN","1131303Guuvjp","95822jrMNfO","979797UfPSxs","1156OBFmDy","5045ItARvO"];return(Na=function(){return e})()}function Ba(e,t){var r=Na();return(Ba=function(e,t){return r[e-=368]})(e,t)}!function(e,t){for(var r=Ba,n=e();;)try{if(209207===parseInt(r(371))/1*(parseInt(r(376))/2)+-parseInt(r(375))/3+-parseInt(r(378))/4*(-parseInt(r(368))/5)+-parseInt(r(373))/6+-parseInt(r(377))/7+parseInt(r(369))/8*(-parseInt(r(372))/9)+-parseInt(r(374))/10*(-parseInt(r(370))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}(Na)})(),(window.CKEditor5=window.CKEditor5||{}).ai=n})();